:root {
  --ywy-ink: #211a12;
  --ywy-ink-soft: #473c30;
  --ywy-muted: #6f665b;
  --ywy-gold: #9b7536;
  --ywy-gold-dark: #68491f;
  --ywy-canvas: #f3eee5;
  --ywy-paper: #fffdf8;
  --ywy-paper-soft: #f7f0e4;
  --ywy-border: #d8ccba;
  --ywy-border-soft: #e9e0d3;
  --ywy-shadow: 0 16px 38px rgba(46, 34, 19, .09);
  --ywy-shadow-hover: 0 18px 34px rgba(46, 34, 19, .14);
  --ywy-radius: 10px;
  --ywy-transition: 200ms ease;
  --ywy-display: Georgia, "Times New Roman", "Yu Mincho", serif;
  --ywy-ui: system-ui, -apple-system, "Segoe UI", "Yu Gothic", sans-serif;
}

html { scroll-behavior: smooth; }

body.ywy-design-layer {
  background: var(--ywy-canvas);
  color: var(--ywy-ink-soft);
  font-family: var(--ywy-ui);
  -webkit-font-smoothing: antialiased;
}

body.ywy-design-layer a {
  text-decoration-color: rgba(155, 117, 54, .48);
  text-underline-offset: .16em;
}

body.ywy-design-layer :focus-visible {
  outline: 2px solid var(--ywy-gold) !important;
  outline-offset: 3px;
}

/* Global studio header. */
body.ywy-design-layer #header-container {
  background: var(--ywy-paper);
  box-shadow: 0 6px 22px rgba(38, 29, 18, .08);
}

body.ywy-design-layer #header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% -30%, rgba(196, 157, 90, .22), transparent 38%),
    linear-gradient(135deg, #24221e 0%, #373028 58%, #241f1a 100%);
  color: #fff9ec;
}

body.ywy-design-layer #header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ywy-gold), transparent);
  opacity: .85;
  pointer-events: none;
}

body.ywy-design-layer #header a,
body.ywy-design-layer #header .site-name-text,
body.ywy-design-layer #header .site-name-text a {
  color: #fff9ec !important;
  text-decoration: none;
}

body.ywy-design-layer #header .site-name-text {
  font-family: var(--ywy-display);
  font-weight: 500;
  letter-spacing: .025em;
}

body.ywy-design-layer #header .tagline {
  color: #d8c9b1;
  font-size: .74rem;
  letter-spacing: .04em;
}

/* Desktop navigation remains Cocoon-owned but gains YWY materials. */
body.ywy-design-layer #navi {
  border-bottom: 1px solid var(--ywy-border);
  background: rgba(255, 253, 248, .97);
  box-shadow: none;
}

body.ywy-design-layer #navi .navi-in > ul > li > a {
  position: relative;
  color: #3d3329;
  font-size: .76rem;
  font-weight: 720;
  letter-spacing: .025em;
  text-decoration: none;
  transition: color var(--ywy-transition), background-color var(--ywy-transition);
}

body.ywy-design-layer #navi .navi-in > ul > li > a::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 2px;
  background: var(--ywy-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ywy-transition);
}

body.ywy-design-layer #navi .navi-in > ul > li > a:hover,
body.ywy-design-layer #navi .navi-in > ul > li > a:focus-visible { color: var(--ywy-gold-dark); background: var(--ywy-paper-soft); }
body.ywy-design-layer #navi .navi-in > ul > li > a:hover::after,
body.ywy-design-layer #navi .navi-in > ul > li > a:focus-visible::after { transform: scaleX(1); }

/* Page canvas and paper surfaces. */
body.ywy-design-layer #content { padding-top: clamp(1.1rem, 2.4vw, 2rem); }

body.ywy-design-layer #main,
body.ywy-design-layer #sidebar {
  border: 1px solid rgba(216, 204, 186, .78);
  border-radius: var(--ywy-radius);
  background: var(--ywy-paper);
  box-shadow: var(--ywy-shadow);
}

body.ywy-design-layer #sidebar { padding: clamp(.9rem, 1.8vw, 1.25rem); }

/* Ordinary content typography. Project Mythos component headings are excluded. */
body.ywy-design-layer:not(.pm-entity-page) .article-header .entry-title,
body.ywy-design-layer:not(.pm-entity-page) article > .entry-title {
  color: var(--ywy-ink);
  font-family: var(--ywy-display);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.015em;
}

body.ywy-design-layer .article h2.wp-block-heading,
body.ywy-design-layer .entry-content h2.wp-block-heading {
  position: relative;
  margin: 2.45rem 0 1.15rem;
  padding: .72rem .9rem .7rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--ywy-border);
  border-left: 3px solid var(--ywy-gold);
  border-radius: 0;
  background: linear-gradient(90deg, var(--ywy-paper-soft), rgba(247, 240, 228, .2));
  box-shadow: none;
  color: var(--ywy-ink);
  font-family: var(--ywy-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.01em;
}

body.ywy-design-layer .article h2.wp-block-heading::before,
body.ywy-design-layer .article h2.wp-block-heading::after,
body.ywy-design-layer .entry-content h2.wp-block-heading::before,
body.ywy-design-layer .entry-content h2.wp-block-heading::after { content: none; }

body.ywy-design-layer .article h3.wp-block-heading,
body.ywy-design-layer .entry-content h3.wp-block-heading {
  margin-top: 1.9rem;
  padding: 0 0 .48rem;
  border: 0;
  border-bottom: 1px solid rgba(155, 117, 54, .32);
  background: transparent;
  color: var(--ywy-ink-soft);
  font-family: var(--ywy-display);
  font-size: 1.22rem;
  font-weight: 600;
}

body.ywy-design-layer .article p,
body.ywy-design-layer .entry-content p { line-height: 1.86; }

body.ywy-design-layer .article img:not(.emoji):not(.pm-entity-card__image),
body.ywy-design-layer .entry-content img:not(.emoji):not(.pm-entity-card__image) {
  border-radius: 6px;
}

body.ywy-design-layer .post-date,
body.ywy-design-layer .post-update,
body.ywy-design-layer .entry-categories,
body.ywy-design-layer .entry-tags,
body.ywy-design-layer .breadcrumb {
  color: var(--ywy-muted);
  font-size: .72rem;
}

/* Reusable cards in archives, related posts, widgets, and book lists. */
body.ywy-design-layer .entry-card-wrap,
body.ywy-design-layer .related-entry-card-wrap,
body.ywy-design-layer .new-entry-card-link,
body.ywy-design-layer .popular-entry-card-link,
body.ywy-design-layer .widget-entry-card-link,
body.ywy-design-layer .a-wrap[class*="card"] {
  border: 1px solid var(--ywy-border-soft);
  border-radius: 8px;
  background: #fff;
  color: var(--ywy-ink-soft);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(46, 34, 19, .045);
  transition: transform var(--ywy-transition), border-color var(--ywy-transition), box-shadow var(--ywy-transition);
}

body.ywy-design-layer .entry-card-wrap:hover,
body.ywy-design-layer .related-entry-card-wrap:hover,
body.ywy-design-layer .new-entry-card-link:hover,
body.ywy-design-layer .popular-entry-card-link:hover,
body.ywy-design-layer .widget-entry-card-link:hover {
  border-color: rgba(155, 117, 54, .58);
  box-shadow: var(--ywy-shadow-hover);
  transform: translateY(-2px);
}

body.ywy-design-layer .entry-card-title,
body.ywy-design-layer .related-entry-card-title,
body.ywy-design-layer .widget-entry-card-title,
body.ywy-design-layer .card-title {
  color: var(--ywy-ink);
  font-family: var(--ywy-display);
  font-weight: 600;
  line-height: 1.35;
}

body.ywy-design-layer .entry-card-snippet,
body.ywy-design-layer .related-entry-card-snippet,
body.ywy-design-layer .widget-entry-card-date { color: var(--ywy-muted); }

body.ywy-design-layer .entry-card-thumb,
body.ywy-design-layer .related-entry-card-thumb,
body.ywy-design-layer .widget-entry-card-thumb { overflow: hidden; border-radius: 6px; background: var(--ywy-paper-soft); }

body.ywy-design-layer .entry-card-thumb img,
body.ywy-design-layer .related-entry-card-thumb img,
body.ywy-design-layer .widget-entry-card-thumb img { transition: transform 300ms ease; }

body.ywy-design-layer a:hover .entry-card-thumb img,
body.ywy-design-layer a:hover .related-entry-card-thumb img,
body.ywy-design-layer a:hover .widget-entry-card-thumb img { transform: scale(1.018); }

/* Existing sidebar stays present; only its visual language changes. */
body.ywy-design-layer #sidebar .widget { margin-bottom: 1.55rem; }

body.ywy-design-layer #sidebar h2,
body.ywy-design-layer #sidebar h3,
body.ywy-design-layer #sidebar .widget-title {
  margin: 0 0 .8rem;
  padding: 0 0 .5rem;
  border: 0;
  border-bottom: 1px solid var(--ywy-border);
  background: transparent;
  color: var(--ywy-ink);
  font-family: var(--ywy-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
}

body.ywy-design-layer #sidebar h2::before,
body.ywy-design-layer #sidebar h2::after,
body.ywy-design-layer #sidebar h3::before,
body.ywy-design-layer #sidebar h3::after { content: none; }

body.ywy-design-layer .tagcloud a {
  border-color: var(--ywy-border) !important;
  border-radius: 999px;
  background: var(--ywy-paper-soft);
  color: #564635;
  transition: border-color var(--ywy-transition), color var(--ywy-transition), background var(--ywy-transition);
}

body.ywy-design-layer .tagcloud a:hover { border-color: var(--ywy-gold) !important; background: #fff9ee; color: var(--ywy-gold-dark); }

/* Controls and calls to action; brand-specific social colors remain intact. */
body.ywy-design-layer .wp-element-button,
body.ywy-design-layer .search-submit,
body.ywy-design-layer .more-link,
body.ywy-design-layer input[type="submit"] {
  border: 1px solid var(--ywy-ink);
  border-radius: 999px;
  background: var(--ywy-ink);
  color: #fff9ec;
  font-family: var(--ywy-ui);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .035em;
  transition: color var(--ywy-transition), background var(--ywy-transition), border-color var(--ywy-transition);
}

body.ywy-design-layer .wp-element-button:hover,
body.ywy-design-layer .search-submit:hover,
body.ywy-design-layer .more-link:hover,
body.ywy-design-layer input[type="submit"]:hover { border-color: var(--ywy-gold-dark); background: var(--ywy-gold-dark); color: #fff; }

body.ywy-design-layer input[type="text"],
body.ywy-design-layer input[type="search"],
body.ywy-design-layer input[type="email"],
body.ywy-design-layer textarea,
body.ywy-design-layer select {
  border: 1px solid var(--ywy-border);
  border-radius: 7px;
  background: #fff;
  color: var(--ywy-ink-soft);
}

/* Cocoon table of contents becomes a quiet reading aid. */
body.ywy-design-layer .toc {
  border: 1px solid var(--ywy-border);
  border-radius: 8px;
  background: var(--ywy-paper-soft);
  box-shadow: none;
}

body.ywy-design-layer .toc-title {
  color: var(--ywy-ink);
  font-family: var(--ywy-display);
  font-weight: 600;
}

body.ywy-design-layer .toc a { color: #544534; text-decoration: none; }
body.ywy-design-layer .toc a:hover { color: var(--ywy-gold-dark); }

/* Shared footer closes both ordinary and Project Mythos pages consistently. */
body.ywy-design-layer #footer {
  position: relative;
  border-top: 2px solid var(--ywy-gold);
  background: linear-gradient(135deg, #24221e, #342d25);
  color: #d9cebd;
}

body.ywy-design-layer #footer a { color: #f6ead4; text-decoration: none; }
body.ywy-design-layer #footer a:hover { color: #e2bd78; }
body.ywy-design-layer #footer .footer-bottom-logo .site-name-text { color: #fff9ec; font-family: var(--ywy-display); }

/* Project Mythos remains authoritative inside its own component boundaries. */
body.ywy-design-layer .pm-entry-components,
body.ywy-design-layer .pm-directory,
body.ywy-design-layer .pm-home-portal,
body.ywy-design-layer .pm-explorer-nav { font-family: inherit; }

@media (max-width: 1023px) {
  body.ywy-design-layer #main { border-radius: 8px; }
  body.ywy-design-layer #sidebar { box-shadow: none; }
}

@media (max-width: 834px) {
  body.ywy-design-layer #content { padding-top: 0; }
  body.ywy-design-layer #main {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.ywy-design-layer .article h2.wp-block-heading,
  body.ywy-design-layer .entry-content h2.wp-block-heading {
    margin-top: 2rem;
    padding: .66rem .72rem .64rem .8rem;
    font-size: clamp(1.28rem, 6vw, 1.62rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.ywy-design-layer *,
  body.ywy-design-layer *::before,
  body.ywy-design-layer *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 1.0.1 live review: compact, readable navigation cards. */
body.ywy-design-layer #sidebar .widget-entry-card-link {
  min-height: 106px;
  margin-bottom: .32rem;
  padding: .38rem .42rem;
}

body.ywy-design-layer #sidebar .widget-entry-card-thumb {
  width: 92px;
  height: 92px;
  margin: .16rem .55rem .3rem 0;
  aspect-ratio: 1;
}

body.ywy-design-layer #sidebar .widget-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ywy-design-layer #sidebar .widget-entry-card-content {
  min-height: 92px;
  margin-left: calc(92px + .55rem);
  padding: .3rem .5rem .32rem .2rem;
}

body.ywy-design-layer #sidebar .widget-entry-card-title,
body.ywy-design-layer #sidebar .new-entry-card-title,
body.ywy-design-layer #sidebar .popular-entry-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #342d26;
  font-family: var(--ywy-ui);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.ywy-design-layer #sidebar .widget-entry-card-date,
body.ywy-design-layer #sidebar .post-date,
body.ywy-design-layer #sidebar .post-update {
  margin-top: .22rem;
  font-size: .62rem;
  line-height: 1.35;
}

body.ywy-design-layer .related-entry-card-wrap {
  min-height: 150px;
  padding: .72rem;
}

body.ywy-design-layer .related-entry-card-thumb {
  width: 124px;
  height: 124px;
  margin: .18rem .7rem .38rem 0;
  aspect-ratio: 1;
}

body.ywy-design-layer .related-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ywy-design-layer .related-entry-card-content {
  min-height: 124px;
  margin-left: calc(124px + .7rem);
  padding: .3rem .68rem .66rem .25rem;
}

body.ywy-design-layer .related-entry-card-title {
  color: #342d26;
  font-family: var(--ywy-ui);
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: 0;
}

body.ywy-design-layer .related-entry-card-snippet {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .3rem;
  color: var(--ywy-muted);
  font-size: .8rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 540px) {
  body.ywy-design-layer .related-entry-card-wrap { min-height: 126px; padding: .58rem; }
  body.ywy-design-layer .related-entry-card-thumb { width: 96px; height: 96px; margin-right: .58rem; }
  body.ywy-design-layer .related-entry-card-content { min-height: 96px; margin-left: calc(96px + .58rem); padding: .2rem .35rem .35rem .15rem; }
  body.ywy-design-layer .related-entry-card-title { font-size: .82rem; line-height: 1.4; }
  body.ywy-design-layer .related-entry-card-snippet { font-size: .72rem; -webkit-line-clamp: 2; }
}

/* 1.0.2: homepage book and latest-article grids. */
body.ywy-design-layer.home .archive-card-3col > .new-entry-cards,
body.ywy-design-layer.home .top-card-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .82rem;
  align-items: stretch;
}

body.ywy-design-layer.home .archive-card-3col > .new-entry-cards > .new-entry-card-link,
body.ywy-design-layer.home .top-card-list > .new-entry-card-link {
  display: flex;
  width: auto !important;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: .34rem;
  float: none !important;
  flex-direction: column;
}

body.ywy-design-layer.home .archive-card-3col .new-entry-card,
body.ywy-design-layer.home .top-card-list .new-entry-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

body.ywy-design-layer.home .archive-card-3col .new-entry-card-thumb,
body.ywy-design-layer.home .top-card-list .new-entry-card-thumb {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  float: none !important;
  border-radius: 5px;
}

body.ywy-design-layer.home .archive-card-3col .new-entry-card-thumb img,
body.ywy-design-layer.home .top-card-list .new-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ywy-design-layer.home .archive-card-3col .new-entry-card-content,
body.ywy-design-layer.home .top-card-list .new-entry-card-content {
  display: flex;
  min-width: 0;
  min-height: 7.6rem;
  margin: 0;
  padding: .66rem .68rem .72rem;
  flex: 1;
  flex-direction: column;
}

body.ywy-design-layer.home .archive-card-3col .new-entry-card-title,
body.ywy-design-layer.home .top-card-list .new-entry-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #342d26;
  font-family: var(--ywy-ui);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.ywy-design-layer.home .archive-card-3col .widget-entry-card-date,
body.ywy-design-layer.home .top-card-list .widget-entry-card-date,
body.ywy-design-layer.home .archive-card-3col .post-date,
body.ywy-design-layer.home .archive-card-3col .post-update,
body.ywy-design-layer.home .top-card-list .post-date,
body.ywy-design-layer.home .top-card-list .post-update {
  margin-top: auto;
  padding-top: .48rem;
  color: #85796b;
  font-size: .6rem;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  body.ywy-design-layer.home .archive-card-3col > .new-entry-cards,
  body.ywy-design-layer.home .top-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.ywy-design-layer.home .archive-card-3col > .new-entry-cards,
  body.ywy-design-layer.home .top-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .64rem;
  }

  body.ywy-design-layer.home .archive-card-3col .new-entry-card-content,
  body.ywy-design-layer.home .top-card-list .new-entry-card-content {
    min-height: 7.25rem;
    padding: .58rem .56rem .64rem;
  }

  body.ywy-design-layer.home .archive-card-3col .new-entry-card-title,
  body.ywy-design-layer.home .top-card-list .new-entry-card-title {
    font-size: .74rem;
    line-height: 1.4;
  }
}

/* 1.0.4: align the main Blog archive with the shared compact card system. */
body.ywy-design-layer:is(.blog, .category, .tag) #list.list {
  display: grid !important;
  height: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .82rem;
  align-items: stretch;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list > .entry-card-wrap {
  position: static !important;
  display: flex;
  width: auto !important;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: .34rem;
  float: none !important;
  flex-direction: column;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-thumb {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  float: none !important;
  border-radius: 5px;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: .66rem .68rem .72rem;
  flex: 1;
  flex-direction: column;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #342d26;
  font-family: var(--ywy-ui);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-snippet,
body.ywy-design-layer:is(.blog, .category, .tag) #list .admin-pv { display: none; }

body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-meta,
body.ywy-design-layer:is(.blog, .category, .tag) #list .post-date,
body.ywy-design-layer:is(.blog, .category, .tag) #list .post-update {
  margin-top: auto;
  padding-top: .4rem;
  color: #85796b;
  font-size: .6rem;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  body.ywy-design-layer:is(.blog, .category, .tag) #list.list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.ywy-design-layer:is(.blog, .category, .tag) #list.list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .64rem;
  }
  body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-content { padding: .58rem .56rem .64rem; }
  body.ywy-design-layer:is(.blog, .category, .tag) #list .entry-card-title { font-size: .74rem; line-height: 1.4; }
}

/* 1.0.3: remove unused title reserve and reuse the grid for Artwork Collection. */
body.ywy-design-layer.home .archive-card-3col .new-entry-card-content,
body.ywy-design-layer.home .top-card-list .new-entry-card-content {
  min-height: 0;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col > .new-entry-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .82rem;
  align-items: stretch;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-link {
  display: flex;
  width: auto !important;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: .34rem;
  float: none !important;
  flex-direction: column;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-thumb {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  float: none !important;
  border-radius: 5px;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: .66rem .68rem .72rem;
  flex: 1;
  flex-direction: column;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #342d26;
  font-family: var(--ywy-ui);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .widget-entry-card-date,
body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .post-date,
body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .post-update {
  margin-top: auto;
  padding-top: .4rem;
  color: #85796b;
  font-size: .6rem;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col > .new-entry-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col > .new-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .64rem;
  }

  body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-content {
    padding: .58rem .56rem .64rem;
  }

  body.ywy-design-layer.single-post .entry-content > h2 + .archive-card-3col .new-entry-card-title {
    font-size: .74rem;
    line-height: 1.4;
  }
}
