body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.subpage-body .site-header {
  position: relative;
}

.subpage-hero {
  border-bottom: 1px solid var(--line);
  background: #f4efe5;
  color: var(--ink);
}

.subpage-hero::before {
  display: none;
}

.subpage-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 1.7rem 3rem;
  align-items: center;
  padding-block: 1.6rem 2.2rem;
}

.breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.subpage-hero .section-kicker {
  color: var(--gold);
}

.subpage-hero h1 {
  max-width: 620px;
  margin: 0.3rem 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.subpage-hero-copy > p:not(.section-kicker) {
  max-width: 580px;
  margin: 0.9rem 0 0;
  color: #4f4a42;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.subpage-cover {
  margin: 0;
}

.subpage-cover img {
  width: 100%;
  height: 285px;
  display: block;
  border-radius: 0.15rem;
  object-fit: cover;
}

.subpage-cover figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 830px);
  gap: 3.5rem;
  justify-content: center;
  align-items: start;
  padding-block: 3rem 4.5rem;
}

.article-sidebar {
  position: sticky;
  top: 1.25rem;
}

.article-toc {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0;
  border: 0;
  border-top: 3px solid var(--forest);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-toc strong {
  margin-bottom: 0.55rem;
  color: var(--wine-dark);
  font-family: var(--serif);
}

.article-toc a {
  padding: 0.47rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--wine);
}

.article-main .content-section {
  padding: 0;
}

.article-main .content-section > .container {
  width: 100%;
  max-width: none;
}

.article-main .content-section > .container > section:first-child h2 {
  margin-top: 0;
}

.article-main .content-section h2 {
  margin-top: 3.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.75rem, 3.2vw, 2.2rem);
}

.article-main .content-section h3 {
  font-size: 1.25rem;
}

.article-main .calendar-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-main .channel-block {
  padding: 0.9rem 0;
  border: 0;
  border-top: 2px solid var(--forest);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tv-show-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  margin: 1rem 0 2rem;
  padding: 1.25rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tv-show-image {
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 330px;
  object-fit: cover;
  border-radius: 0;
}

.tv-show-content p:first-child {
  margin-top: 0;
}

.coolstuff-ad img {
  max-width: 100%;
  height: auto;
}

body > .hero {
  min-height: 330px;
  display: grid;
  align-items: end;
  background-position: center 58%;
}

body > .hero::before {
  background: linear-gradient(90deg, rgba(17, 43, 36, 0.94), rgba(17, 43, 36, 0.55));
}

body > .hero .overlay {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
  text-align: left;
}

body > .hero h1 {
  max-width: 900px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

body > .hero p {
  margin: 0.8rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

body > .hero .hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
}

body > .hero .hero-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

body > .hero .hero-nav a:hover,
body > .hero .hero-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
}

main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.content-section {
  padding: 4.5rem 0;
  background: transparent;
}

.content-section > .container,
.container {
  width: min(920px, calc(100% - 2rem));
  max-width: 920px;
  margin-inline: auto;
  padding: 0;
}

.section-title,
.content-section h2,
.content-section h3,
.content-section h4 {
  color: var(--wine-dark);
  font-family: var(--serif);
  line-height: 1.2;
}

.section-title,
.content-section h2 {
  margin: 2.8rem 0 1.1rem;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.content-section header .section-title,
.content-section > .container > .section-title {
  margin-top: 0;
}

.content-section h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.35rem;
}

.content-section p,
.content-section li {
  color: #4f4a42;
  font-size: 1rem;
  line-height: 1.75;
}

.content-section .intro {
  color: #4a453e;
  font-size: 1.08rem;
  line-height: 1.75;
}

.calendar-overview,
.shop-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.channel-block,
.shop-item,
.article-card,
.tv-show-feature,
.faq-item,
.info-box,
.comparison-table {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(61, 46, 28, 0.055);
}

.channel-block,
.shop-item,
.faq-item,
.info-box {
  padding: 1.35rem;
}

.channel-block h3,
.shop-item h3,
.shop-item h4,
.faq-item h3 {
  margin-top: 0;
}

.shop-item img,
.tv-show-image,
.article-card img {
  border-radius: 0.4rem;
}

.shop-item .btn,
.content-section .btn,
.lego-buy-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.3rem;
  background: var(--wine);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.shop-item .btn:hover,
.content-section .btn:hover,
.lego-buy-btn:hover {
  background: var(--wine-dark);
}

.article-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.article-card-content {
  padding: 1.25rem;
}

.article-card-image {
  min-height: 140px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  font-size: 2rem;
}

.article-category {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 2rem 0;
}

.category-btn {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
}

.category-btn.active,
.category-btn:hover {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table,
.content-section table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.content-section th {
  padding: 0.85rem;
  background: var(--forest);
  color: #fff;
  text-align: left;
}

.comparison-table td,
.content-section td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.content-section a:not(.btn):not(.article-card):not(.shop-item a) {
  color: var(--wine);
  text-underline-offset: 0.18em;
}

body > .footer,
body > footer.footer {
  margin: 0;
  padding: 3.5rem 1rem 1.5rem;
  background: #151f1b;
  color: rgba(255, 255, 255, 0.76);
}

body > .footer .footer-content,
body > footer.footer .footer-content {
  width: min(1180px, 100%);
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

body > .footer h3,
body > footer.footer h3 {
  color: #efd492;
  font-family: var(--serif);
}

body > .footer a,
body > footer.footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 760px) {
  .subpage-hero {
    min-height: 0;
  }

  .subpage-hero h1 {
    font-size: 2.5rem;
  }

  .subpage-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .breadcrumbs {
    grid-column: auto;
  }

  .subpage-cover img {
    height: 220px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 2rem 3rem;
  }

  .article-sidebar {
    position: static;
  }

  .article-toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }

  .article-main .calendar-overview {
    grid-template-columns: 1fr;
  }

  body > .hero {
    min-height: 430px;
  }

  body > .hero .overlay {
    padding-block: 3rem 1.25rem;
  }

  body > .hero .hero-nav {
    align-items: stretch;
  }

  body > .hero .hero-nav a {
    width: 100%;
  }

  .content-section {
    padding-block: 3rem;
  }

  .calendar-overview,
  .shop-grid,
  .article-grid,
  body > .footer .footer-content,
  body > footer.footer .footer-content {
    grid-template-columns: 1fr;
  }

  .tv-show-feature {
    display: block;
    padding: 1.2rem;
  }

  .tv-show-image {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1rem;
  }
}
