/* GAMEDAY — layered broadcast poster, matchup feature, roster, schedule board. */

:root {
  --gd-rule: color-mix(in srgb, var(--text-color) 20%, transparent);
  --gd-wash: color-mix(in srgb, var(--primary-color) 13%, var(--bg-color));
    --gd-accent-ink: color-mix(in srgb, var(--primary-color) 65%, var(--text-color));
}

.show-page .navbar { border: 1px solid var(--gd-rule); box-shadow: 0 10px 0 color-mix(in srgb, var(--text-color) 10%, transparent); }
.show-page.nav-floating .header { padding-bottom: 16px; }
.navbar-nav .nav-link { letter-spacing: .11em; }

/* A layered broadcast poster: title owns the canvas, art floats over it. */
#header-hero { overflow: hidden; isolation: isolate; }
#header-hero::before { content: ""; position: absolute; width: clamp(560px, 70vw, 1040px); aspect-ratio: 1; right: clamp(-460px, -20vw, -180px); top: 48%; transform: translateY(-50%); border: clamp(36px, 6vw, 78px) solid color-mix(in srgb, var(--header-text-color) 13%, transparent); clip-path: circle(50%); }
#header-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 11%; height: 1px; background: color-mix(in srgb, var(--header-text-color) 38%, transparent); transform: rotate(-5deg); }
#header-hero .container { position: relative; z-index: 1; width: 100% !important; max-width: 1320px !important; padding-inline: clamp(30px, 5vw, 72px); }
#header-hero #header-content-wrapper > .row { display: block; position: relative; margin-inline: 0; }
#header-hero #c-text { width: 100%; max-width: none !important; padding: 0 !important; position: relative; z-index: 2; }
#homepage-header-title { max-width: 11ch; text-wrap: balance; }
#homepage-header-title .text-highlight { background: linear-gradient(var(--hero-heading-highlight-bg-color), var(--hero-heading-highlight-bg-color)) center calc(50% + .045em) / 100% 1em no-repeat; }
#homepage-header-description { width: min(42%, 520px); max-width: none; color: color-mix(in srgb, var(--header-text-color) 80%, transparent) !important; }
#header-hero #c-artwork { position: absolute; right: 1%; top: 12%; width: clamp(300px, 35vw, 470px); max-width: none !important; padding: 0 !important; z-index: 3; transform: rotate(4deg); }
#header-hero #c-artwork::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--header-text-color); z-index: -1; }
#header-hero #c-artwork img { width: 100% !important; transition: transform 340ms cubic-bezier(.2,.8,.2,1); }
#header-hero #c-artwork:hover img { transform: translate(-7px, -7px) rotate(-2deg); }
#header-hero #c-text .btn { border: 2px solid var(--header-text-color) !important; font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; transition: transform 180ms ease, box-shadow 180ms ease; }
#header-hero #c-text .btn:hover { transform: translateY(-4px); box-shadow: 0 7px 0 color-mix(in srgb, var(--header-text-color) 24%, transparent) !important; }

/* Featured episodes read as one clean three-card matchup board. */
#featured-episodes-section { border-bottom: 4px solid var(--text-color); }
#featured-episodes-section h2 { max-width: 22ch; margin-bottom: 42px; text-wrap: balance; }
#featured-episodes-section .col-12 > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-inline: 0; }
#featured-episodes-section .col-lg-7, #featured-episodes-section .col-lg-5 { display: contents; }
#featured-episodes-section .pp-card { height: 100%; min-height: 390px; margin: 0 !important; border: 2px solid var(--text-color) !important; overflow: hidden; }
#featured-episodes-section .pp-card-body { display: flex; flex-direction: column; }
#featured-episodes-section .pp-card-title, #featured-episodes-section .pp-card-description { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
#featured-episodes-section .pp-card-title { -webkit-line-clamp: 4; }
#featured-episodes-section .pp-card-description { -webkit-line-clamp: 5; }
#featured-episodes-section .pp-card-cta { margin-top: auto; }
#featured-episodes-section .col-lg-7 .pp-card { background: var(--primary-color) !important; color: var(--btn-text-color) !important; }
#featured-episodes-section .col-lg-7 .pp-card :is(.pp-card-date, .pp-card-description, .pp-card-title a) { color: var(--btn-text-color) !important; }
#featured-episodes-section .col-lg-7 .pp-card .btn { background: var(--btn-text-color) !important; color: var(--primary-color) !important; }

/* Hosts become a two-card roster before the episode schedule. */
#hosts-section { background: var(--primary-color) !important; color: var(--btn-text-color) !important; }
#hosts-section h2 { max-width: none; margin-bottom: 42px; color: var(--btn-text-color) !important; }
#hosts-section .col-lg-6 > .row { height: 100%; margin-inline: 0; padding: clamp(22px, 2.5vw, 32px); background: var(--bg-color); color: var(--text-color); border: 2px solid var(--text-color); align-items: center; }
#hosts-section .testimonial-content { padding-left: clamp(8px, 2vw, 22px); }

/* Compact two-column schedule board, unlike Field Guide's single reading index. */
#feed-section { border-bottom: 4px solid var(--text-color); background-image: linear-gradient(135deg, transparent 0 74%, var(--gd-wash) 74%); }
#recent-episodes-header { align-items: end; margin-bottom: clamp(32px, 5vw, 58px) !important; padding-bottom: 26px; border-bottom: 4px solid var(--text-color); }
#recent-episodes-header h2 { max-width: 10ch; margin: 0 !important; text-wrap: balance; }
#recent-episodes-header .col-4 a { display: inline-flex; padding: 10px 16px; border: 2px solid var(--text-color); color: var(--text-color) !important; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
#feed-section .pp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#feed-section .pp-card--small-list { margin: 0 !important; border: 2px solid var(--text-color) !important; }
#feed-section .pp-card--small-list:nth-child(4n + 1), #feed-section .pp-card--small-list:nth-child(4n + 4) { background: var(--primary-color) !important; color: var(--btn-text-color) !important; }
#feed-section .pp-card--small-list .pp-card-body { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
#feed-section .pp-card--small-list .pp-card-date { order: 1; letter-spacing: .1em; text-transform: uppercase; }
#feed-section .pp-card--small-list .pp-card-title { order: 2; font-size: clamp(1.7rem, 3vw, calc(var(--card-title-font-size) * 1.45)) !important; }
#feed-section .pp-card--small-list:nth-child(4n + 1) .pp-card-date, #feed-section .pp-card--small-list:nth-child(4n + 1) .pp-card-title a, #feed-section .pp-card--small-list:nth-child(4n + 4) .pp-card-date, #feed-section .pp-card--small-list:nth-child(4n + 4) .pp-card-title a { color: var(--btn-text-color) !important; }

/* Reviews are fan cards; blog posts look like a postgame magazine strip. */
#reviews-section { background-image: linear-gradient(var(--gd-wash), var(--gd-wash)); }
#reviews-section .swiper-slide .card { border: 2px solid var(--text-color) !important; }
#recent-blog-posts-section > .container > h2 { text-align: left !important; max-width: none; margin-bottom: 42px; text-wrap: balance; }
#recent-blog-posts-section .pp-card { overflow: hidden; }
#recent-blog-posts-section .btn-soft { color: var(--gd-accent-ink) !important; }

.post-content h1 { max-width: 16ch; font-size: min(var(--h1-font-size), 12vw) !important; text-wrap: balance; }
.section-wrapper > .section-title h2, .subpage-header h1 { text-wrap: balance; }
#footer.footer { border-top: 4px solid var(--text-color); }

@media (max-width: 991px) {
  #homepage-header-description { width: 55%; }
  #header-hero #c-artwork { width: 38vw; }
  #featured-episodes-section .col-12 > .row { grid-template-columns: 1fr; }
  #hosts-section .col-lg-6:nth-child(even) > .row { margin-top: 18px; }
}

@media (max-width: 767px) {
  #featured-episodes-section h2, #hosts-section h2, #recent-episodes-header h2, #reviews-section h2, #recent-blog-posts-section > .container > h2 { font-size: min(var(--h2-font-size), 13vw) !important; }
  #homepage-header-title { max-width: 10ch; }
  #homepage-header-description { width: 100%; }
  #header-hero #c-artwork { position: relative; right: auto; top: auto; width: min(82vw, 390px); margin-top: 52px; }
  #feed-section .pp-list { grid-template-columns: 1fr; }
}

@media (max-width: 575px) { #header-hero .container { padding-inline: 22px; } }

@media (prefers-reduced-motion: reduce) { #header-hero #c-artwork img, #feed-section .pp-card--small-list { transition: none; } }
