/* =============================================
   CSS Variables & Reset
   ============================================= */
:root {
    --color-bg: #1a1a1a;
    --color-bg-dark: #111111;
    --color-bg-lighter: #2a2a2a;
    --color-surface: #222222;
    --color-red: #8b1a1a;
    --color-red-bright: #a52222;
    --color-red-dark: #6b1010;
    --color-white: #ffffff;
    --color-gray-100: #f0f0f0;
    --color-gray-200: #cccccc;
    --color-gray-300: #999999;
    --color-gray-400: #666666;
    --color-gray-500: #444444;
    --color-text: #e8e8e8;
    --color-text-muted: #aaaaaa;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    --nav-height: 50px;
    --player-height: 40px;
    --content-max-width: 1200px;
    --content-padding: 40px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    touch-action: pan-x pan-y; /* allow scrolling, block pinch-zoom */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* =============================================
   Podcast Player
   ============================================= */
.podcast-player {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--player-height);
    background: var(--color-bg-dark);
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1001;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.player-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-200);
    font-size: 12px;
    transition: color var(--transition-fast);
    border-radius: 4px;
}

.player-btn:hover {
    color: var(--color-white);
}

#player-play {
    font-size: 14px;
}

.player-track {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-gray-500);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.player-progress {
    height: 100%;
    background: var(--color-red-bright);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.player-progress-handle {
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.player-progress-bar:hover .player-progress-handle {
    opacity: 1;
}

.player-episode-title {
    font-size: 11px;
    color: var(--color-gray-300);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.player-time {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--color-gray-300);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.player-time-separator {
    color: var(--color-gray-400);
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.player-volume-bar {
    width: 70px;
    height: 4px;
    background: var(--color-gray-500);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.player-volume-level {
    height: 100%;
    background: var(--color-red-bright);
    border-radius: 2px;
    width: 80%;
}

/* =============================================
   Main Navigation
   ============================================= */
.main-nav {
    background: var(--color-bg-dark);
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: 100%;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-200);
    padding: 4px 12px;
    border-radius: 5px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-item-btn:hover {
    color: var(--color-white);
}

.nav-item-btn:hover .nav-arrow {
    transform: translateY(2px);
}

.nav-arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.nav-item-btn.active {
    background: var(--color-red);
    color: var(--color-white);
}

.nav-item-btn.active .nav-arrow {
    display: none;
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-social a {
    color: var(--color-gray-300);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.nav-social a:hover {
    color: var(--color-white);
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 220px;
    height: 30px;
    background: var(--color-bg-lighter);
    border: 1px solid var(--color-gray-500);
    border-radius: 999px;
    padding: 0 34px 0 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.nav-search-input::placeholder {
    color: var(--color-gray-400);
}

.nav-search-input:focus {
    outline: none;
    border-color: var(--color-red);
    width: 280px;
}

.nav-search-btn {
    position: absolute;
    right: 2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
    font-size: 12px;
}

.nav-search-btn:hover {
    color: var(--color-white);
}

/* Search Results Dropdown */
.search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-gray-500);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 1010;
}

.search-results-dropdown.visible {
    display: block;
}

.search-result-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--color-bg-lighter);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.search-result-snippet {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.search-no-results {
    padding: 20px 16px;
    text-align: center;
    color: var(--color-gray-400);
    font-size: 13px;
}

.nav-calendar-link {
    color: var(--color-gray-300);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.nav-calendar-link:hover {
    color: var(--color-white);
}

/* Nav Dropdown Modal */
.nav-dropdown-modal {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: min(78vw, 1500px);
    background: var(--color-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border-top: 3px solid var(--color-red);
    z-index: 999;
}

.nav-dropdown-modal.visible {
    display: block;
}

.nav-dropdown-content {
    padding: 18px 20px 20px;
}

.nav-dropdown-panel ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-dropdown-panel {
    display: flex;
    gap: 0;
}

.nav-panel-left {
    flex: 1;
    min-width: 0;
}

.nav-panel-right {
    flex: 1;
    min-width: 0;
    border-left: 1px solid #eee;
    padding-left: 18px;
    margin-left: 18px;
    display: none;
}

.nav-panel-right.visible {
    display: block;
}

.nav-dropdown-panel a,
.nav-sub-parent {
    display: block;
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 600;
    color: #222;
    padding: 11px 14px;
    border-radius: 6px;
    transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
    text-align: left;
}

.nav-dropdown-panel a:hover,
.nav-sub-parent:hover {
    color: var(--color-red);
    background: #f5f5f5;
    box-shadow: inset 3px 0 0 var(--color-red);
}

.nav-sub-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.nav-sub-parent i {
    font-size: 12px;
    color: #bbb;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-sub-parent:hover i {
    color: var(--color-red);
    transform: translateX(2px);
}

.nav-sub-parent.active {
    color: var(--color-red);
    background: #f5f5f5;
    box-shadow: inset 3px 0 0 var(--color-red);
}

.nav-sub-parent.active i {
    color: var(--color-red);
}

.nav-children-header {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    padding: 6px 14px 10px;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--color-red);
}

.nav-children-group a {
    font-weight: 600;
    font-size: 16px;
    color: #444;
}

/* Mobile Actions (search trigger, calendar, hamburger) */
.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 14px;
}

.nav-mobile-search-trigger,
.nav-mobile-toggle {
    color: var(--color-gray-200);
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

/* Animated hamburger <-> X icon */
.hamburger-box {
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, background-color 0.2s ease;
}

.hamburger-inner {
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
}

.hamburger-inner::before {
    top: -7px;
}

.hamburger-inner::after {
    top: 7px;
}

/* Active state: morph the three bars into an X */
.nav-mobile-toggle.active {
    color: var(--color-white);
}

.nav-mobile-toggle.active .hamburger-inner {
    background-color: transparent;
}

.nav-mobile-toggle.active .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-mobile-toggle.active .hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-mobile-search-trigger:hover,
.nav-mobile-toggle:hover {
    color: var(--color-white);
}

.nav-mobile-calendar {
    color: var(--color-gray-200);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.nav-mobile-calendar:hover {
    color: var(--color-white);
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    transform: scaleX(0);
    transform-origin: right center;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
    z-index: 10;
}

.mobile-search-overlay.visible {
    transform: scaleX(1);
    opacity: 1;
}

.mobile-search-input {
    flex: 1;
    height: 34px;
    background: var(--color-bg-lighter);
    border: 1px solid var(--color-gray-500);
    border-radius: 4px;
    padding: 0 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
}

.mobile-search-input::placeholder {
    color: var(--color-gray-400);
}

.mobile-search-input:focus {
    outline: none;
    border-color: var(--color-red);
}

.mobile-search-submit,
.mobile-search-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-200);
    font-size: 14px;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.mobile-search-submit:hover,
.mobile-search-close:hover {
    color: var(--color-white);
}

.mobile-search-results {
    top: 100%;
    left: 12px;
    right: 12px;
    width: auto;
}

/* =============================================
   Mobile Navigation Overlay
   ============================================= */
.mobile-nav-overlay {
    position: fixed;
    /* Sits under the header so it slides in beneath it.
       JS sets the exact px (nav bottom) on open; this is the fallback. */
    top: calc(var(--player-height) + var(--nav-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 900; /* below the nav (z-index 1000) so the header stays on top */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--color-bg-dark);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%); /* off-screen right; slides left into view */
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.visible .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-btn {
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-200);
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-gray-500);
}

.mobile-nav-btn i {
    font-size: 12px;
    transition: transform var(--transition-base);
}

.mobile-nav-btn.expanded i {
    transform: rotate(180deg);
}

.mobile-nav-sub {
    display: none;
    padding: 4px 0 12px 16px;
}

.mobile-nav-sub.visible {
    display: block;
}

.mobile-nav-sub a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-gray-300);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-sub a:hover {
    color: var(--color-white);
}

.mobile-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sub-row a {
    flex: 1;
}

.mobile-sub-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    font-size: 10px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.mobile-sub-toggle.expanded {
    transform: rotate(180deg);
}

.mobile-sub-children {
    display: none;
    padding-left: 16px;
    border-left: 2px solid var(--color-red);
    margin-left: 4px;
    margin-bottom: 4px;
}

.mobile-sub-children.visible {
    display: block;
}

.mobile-sub-children a {
    font-size: 13px;
    color: var(--color-gray-400);
    padding: 6px 0;
}

.mobile-nav-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 0;
}

.mobile-nav-social a {
    color: var(--color-gray-300);
    font-size: 18px;
}

/* =============================================
   Banner Section
   ============================================= */
.banner-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--color-red-dark);
    aspect-ratio: 2560 / 600;
}

.banner-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Outgoing slide stays fully opaque beneath the incoming one while it
   fades in, so the red section background never shows through. */
.banner-slide.prev {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red-dark);
}

.banner-placeholder-text {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 56px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 8px;
}

/* =============================================
   News Section
   ============================================= */
.news-section {
    padding: 50px 0 30px;
    overflow: hidden;
}

.news-inner {
    width: 96%;
    max-width: 1900px;
    margin: 0 auto;
    position: relative;
}

.news-featured {
    display: flex;
    gap: 48px;
    /* center (not stretch): keeps the image at its natural 16:9 so it
       never letterboxes against the red backing, while short text
       blocks still sit vertically centered beside it */
    align-items: center;
}

/* Directional slide when cycling articles with the arrows.
   The incoming (real) block slides in while a clone of the outgoing
   article slides out the opposite side, for one seamless motion. */
.news-featured.slide-from-right {
    animation: newsSlideFromRight 0.5s ease;
}

.news-featured.slide-from-left {
    animation: newsSlideFromLeft 0.5s ease;
}

.news-featured-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.news-featured-clone.slide-out-left {
    animation: newsSlideOutLeft 0.5s ease forwards;
}

.news-featured-clone.slide-out-right {
    animation: newsSlideOutRight 0.5s ease forwards;
}

@keyframes newsSlideFromRight {
    from { transform: translateX(100vw); }
    to   { transform: translateX(0); }
}

@keyframes newsSlideFromLeft {
    from { transform: translateX(-100vw); }
    to   { transform: translateX(0); }
}

@keyframes newsSlideOutLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-100vw); }
}

@keyframes newsSlideOutRight {
    from { transform: translateX(0); }
    to   { transform: translateX(100vw); }
}

.news-featured-image {
    position: relative;
    flex: 0 0 45%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-red);
    /* Matches the news artwork dimensions (800x440) so standard
       images fill edge-to-edge with no letterboxing */
    aspect-ratio: 800 / 440;
}

/* Thin red strokes across the top and bottom edges of the image */
.news-featured-image::before,
.news-featured-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--color-red);
    z-index: 2;
}

.news-featured-image::before { top: 0; }
.news-featured-image::after { bottom: 0; }

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.news-featured-image:hover img {
    transform: scale(1.05);
}

.news-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

/* Logo placeholder, shown only when the article has no usable image */
.news-image-logo {
    display: none;
}

.news-image-placeholder .news-image-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.news-image-placeholder .news-image-logo img {
    max-width: 50%;
    max-height: 45%;
    object-fit: contain;
    opacity: 0.85;
}

.news-featured-content {
    flex: 1;
    min-width: 0;
    /* Center the text against the (taller) image and let the type
       scale with the viewport so wide screens don't read as empty */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: clamp(12px, 1.2vw, 22px);
}

.news-date {
    font-family: var(--font-body);
    font-size: clamp(13px, 0.9vw, 17px);
    font-weight: 600;
    color: var(--color-gray-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category {
    font-family: var(--font-body);
    font-size: clamp(12px, 0.8vw, 15px);
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-headline {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: clamp(16px, 1.4vw, 26px);
}

.news-excerpt {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.05vw, 20px);
    line-height: 1.7;
    max-width: 62ch;
    color: var(--color-text-muted);
    margin-bottom: clamp(24px, 1.6vw, 30px);
}

.news-read-more {
    font-family: var(--font-body);
    font-size: clamp(15px, 0.95vw, 18px);
    font-weight: 600;
    color: var(--color-gray-200);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.news-read-more:hover {
    color: var(--color-white);
}

.read-more-arrow {
    transition: transform var(--transition-fast);
    font-size: 18px;
}

.news-read-more:hover .read-more-arrow {
    transform: translateX(4px);
}

/* News Selector */
.news-selector-wrapper {
    position: relative;
    margin-top: 40px;
    padding: 0 40px;
}

.news-selector {
    overflow: hidden;
}

.news-selector-track {
    display: flex;
    gap: 0;
    transition: transform 0.4s ease;
}

.news-selector-item {
    flex: 0 0 25%;
    padding: 16px 16px;
    text-align: left;
    border-top: 3px solid var(--color-gray-500);
    transition: border-color var(--transition-fast);
    cursor: pointer;
}

.news-selector-item:hover {
    border-color: var(--color-gray-300);
}

.news-selector-item.active {
    border-color: var(--color-red);
}

.selector-headline {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-gray-300);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-selector-item.active .selector-headline {
    color: var(--color-white);
}

.news-selector-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.news-selector-arrow:hover {
    color: var(--color-white);
}

.news-selector-prev {
    left: 0;
}

.news-selector-next {
    right: 0;
}

/* =============================================
   Countdown Module
   ============================================= */
.countdown-section {
    padding: 40px 0;
}

.countdown-inner {
    width: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sponsor panel: a distinct full-height block so the sponsor reads
   as owning its side of the card, not tucked beside the digits */
.countdown-sponsor {
    flex: 0 0 38%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* extra bottom padding offsets the eyebrow's height so the LOGO
       (not the eyebrow+logo block) sits on the panel's midline */
    padding: 20px 30px 42px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-sponsor-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gray-400);
}

.countdown-sponsor a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.countdown-sponsor a:hover {
    transform: scale(1.04);
}

.countdown-sponsor img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.countdown-sponsor-fallback {
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-gray-400);
    padding: 10px;
}

.countdown-timer {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px 20px 20px;
    gap: 8px;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray-300);
}

.countdown-digits {
    display: flex;
    align-items: center;
    gap: 20px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    font-variant-numeric: tabular-nums;
}

.countdown-unit-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gray-400);
}

/* =============================================
   Plan Your Trip Module
   ============================================= */
.trip-section {
    padding: 40px 0;
    background: var(--color-white);
}

.trip-module {
    width: 94%;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 30px 30px 36px;
}

.trip-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 24px;
}

.trip-carousel-wrapper {
    position: relative;
}

.trip-carousel {
    overflow: hidden;
}

.trip-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.trip-card {
    flex: 0 0 calc(25% - 15px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-dark);
    text-decoration: none;
    cursor: pointer;
}

.trip-card-bg {
    position: absolute;
    inset: 0;
}

.trip-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trip-card:hover .trip-card-bg img {
    transform: scale(1.06);
}

/* Caption: centered on the card, same type as the module title, with
   a drop shadow so it stays readable over any background image */
.trip-card-caption {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
    padding: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.trip-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    transition: all var(--transition-fast);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.trip-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.trip-arrow-prev {
    left: 12px;
}

.trip-arrow-next {
    right: 12px;
}

.trip-static {
    overflow: visible;
}

.trip-static .trip-track {
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Videos Module
   ============================================= */
.videos-section {
    padding: 40px 0;
    background: var(--color-white);
}

.videos-inner {
    width: 88%;
    max-width: 1600px;
    margin: 0 auto;
}

.videos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.videos-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
}

.videos-playlist-selector {
    position: relative;
}

.playlist-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    background: var(--color-white);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--transition-fast);
}

.playlist-dropdown-btn i {
    font-size: 12px;
    color: #666;
}

.playlist-dropdown-btn:hover {
    border-color: #999;
}

.playlist-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 100%;
    background: var(--color-white);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 20;
    max-height: 300px;
    overflow-y: auto;
}

.playlist-dropdown-list.visible {
    display: block;
}

.playlist-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    padding: 10px 16px;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast);
    border-bottom: 1px solid #f0f0f0;
}

.playlist-dropdown-item:last-child {
    border-bottom: none;
}

.playlist-dropdown-item:hover {
    background: #f5f5f5;
}

.playlist-dropdown-item.active {
    color: var(--color-red);
    font-weight: 600;
}

.videos-carousel-wrapper {
    position: relative;
}

.videos-carousel {
    overflow: hidden;
}

.videos-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.videos-loading {
    font-family: var(--font-body);
    font-size: 14px;
    color: #999;
    padding: 60px 0;
    text-align: center;
    width: 100%;
}

.video-card {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg-dark);
    aspect-ratio: 16 / 9;
}

.video-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: background var(--transition-fast);
}

.video-card:hover .video-card-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-play-btn svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-fast);
}

.video-card:hover .video-play-btn svg {
    transform: scale(1.1);
}

.video-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    user-select: none;
    -webkit-user-select: none;
    line-height: 1.3;
}

.videos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    transition: all var(--transition-fast);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.videos-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.videos-arrow-prev {
    left: 12px;
}

.videos-arrow-next {
    right: 12px;
}

/* Video Player Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.video-modal.visible {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    transition: color var(--transition-fast);
    z-index: 2;
}

.video-modal-close:hover {
    color: var(--color-gray-300);
}

.video-modal-player {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   Blogs Module (Home Page)
   ============================================= */
.blogs-section {
    padding: 40px 0;
    background: var(--color-white);
}

.blogs-inner {
    width: 94%;
    max-width: 1500px;
    margin: 0 auto;
    background: #e8e8e8;
    border-radius: 16px;
    padding: 30px 30px 36px;
}

.blogs-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 24px;
    text-align: center
}

.blogs-carousel-wrapper {
    position: relative;
}

.blogs-carousel {
    overflow: hidden;
}

.blogs-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.blog-tile {
    flex: 0 0 calc(25% - 15px);
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-tile:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Zoom the content inside the fixed (rounded) frame, so the tile's border-radius
   is preserved and the tile never overflows/clips against the carousel. */
.blog-tile-content {
    transition: transform var(--transition-fast);
}

.blog-tile:hover .blog-tile-content {
    transform: scale(1.08);
}

.blog-tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
}

.blog-tile-logo {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
}

.blog-tile-title {
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    user-select: none;
    -webkit-user-select: none;
}

.blogs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    transition: all var(--transition-fast);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.blogs-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.blogs-arrow-prev {
    left: 12px;
}

.blogs-arrow-next {
    right: 12px;
}

/* =============================================
   Blog Listing Page
   ============================================= */
/* Shared light background for all secondary pages (everything but the home page).
   Sits on the in-<main> section so it works seamlessly with PJAX navigation. */
.blog-listing-section,
.blog-post-page,
.search-page,
.content-page,
.events-page,
.event-detail-page,
.performance-times-page,
.autograph-sessions-page,
.opening-ceremonies-page,
.cowboy-corral-page,
.entertainment-page,
.nightly-page,
.downtown-hoedown-page,
.podcast-page,
.blogs-landing-page,
.stay-loop-page,
.stay-your-way-page,
.articles-page,
.news-listing-page,
.news-article-page,
.sponsors-page,
.history-page,
.icons-page,
.faqs-page,
.galleries-page {
    background: #f5f5f5;
    min-height: 60vh;
}

.blog-listing-header {
    padding: 40px 20px;
    text-align: center;
}

.blog-listing-header-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.blog-listing-logo {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
}

.blog-listing-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
}

.blog-listing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-posts-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: #999;
}

.blog-post-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-card-image img {
    transform: scale(1.05);
}

.blog-post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blog-post-card-date {
    font-family: var(--font-body);
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    color: #111;
}

.blog-post-card-excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

.blog-post-card-read {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-red-bright);
    margin-top: 8px;
}

/* Pagination */
.blog-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.blog-pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.blog-pagination-btn:hover {
    border-color: #999;
    color: #111;
}

.blog-pagination-btn.active {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

/* =============================================
   Blog Post Page
   (background handled by the shared secondary-page rule above)
   ============================================= */
.blog-post-hero {
    width: 100%;
    height: 613px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-post-back {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-red-bright);
    text-decoration: none;
}

.blog-post-back:hover {
    text-decoration: underline;
}

.blog-post-date {
    font-family: var(--font-body);
    font-size: 13px;
    color: #999;
}

.blog-post-categories {
    display: flex;
    gap: 6px;
}

.blog-post-cat {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    background: #e8e8e8;
    padding: 3px 10px;
    border-radius: 4px;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 30px;
}

.blog-post-body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-post-body p {
    margin-bottom: 20px;
}

.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #111;
    margin: 32px 0 12px;
}

.blog-post-body h2 { font-size: 28px; }
.blog-post-body h3 { font-size: 22px; }
.blog-post-body h4 { font-size: 18px; }

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-post-body a {
    color: var(--color-red-bright);
    text-decoration: underline;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--color-red);
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #555;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.blog-post-body li {
    margin-bottom: 8px;
    list-style: disc;
}

.blog-post-body ol li {
    list-style: decimal;
}

.blog-post-body figure {
    margin: 24px 0;
}

.blog-post-body figcaption {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-top: 8px;
}

.blog-post-footer {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

.blog-post-back-bottom {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-red-bright);
    text-decoration: none;
}

.blog-post-back-bottom:hover {
    text-decoration: underline;
}

/* Error / 404 */
.blog-error {
    background: #f5f5f5;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-error-inner {
    text-align: center;
    padding: 60px 20px;
}

.blog-error-inner h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #111;
    margin-bottom: 12px;
}

.blog-error-inner p {
    font-family: var(--font-body);
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.blog-back-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-red-bright);
    text-decoration: none;
}

.blog-back-link:hover {
    text-decoration: underline;
}

/* Blog infinite scroll styles */

.blog-posts-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: #999;
}

.blog-load-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: blog-spin 0.6s linear infinite;
}

@keyframes blog-spin {
    to { transform: rotate(360deg); }
}

.blog-posts-end {
    text-align: center;
    padding: 30px 0;
    font-family: var(--font-body);
    font-size: 13px;
    color: #bbb;
}

.blogs-static {
    overflow: visible;
}

.blogs-static .blogs-track {
    justify-content: center;
}

/* =============================================
   Digital Magazines Module
   ============================================= */
.magazines-section {
    padding: 40px 0;
    background: var(--color-white);
}

.magazines-module {
    width: 94%;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 30px 30px 36px;
}

.magazines-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 24px;
}

.magazines-carousel-wrapper {
    position: relative;
}

.magazines-carousel {
    overflow: hidden;
}

.magazines-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.magazine-card {
    flex: 0 0 calc(25% - 15px);
    cursor: pointer;
}

.magazine-card-cover {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg-dark);
    transition: transform 0.4s ease;
}

.magazine-card:hover .magazine-card-cover {
    transform: scale(1.08);
}

.magazine-card-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.magazine-card-preview {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.magazine-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.magazine-card:hover .magazine-card-preview img {
    transform: scale(1.08);
}

.magazine-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.magazine-card:hover .magazine-card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.magazine-card-read {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    opacity: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.magazine-card:hover .magazine-card-read {
    opacity: 1;
}

.magazine-card-caption {
    font-family: var(--font-heading);
    font-size: clamp(12px, 1.4vw, 16px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

.magazines-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    transition: all var(--transition-fast);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.magazines-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.magazines-arrow-prev {
    left: 12px;
}

.magazines-arrow-next {
    right: 12px;
}

/* Magazine Reader Modal */
.magazine-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.magazine-modal.visible {
    display: flex;
}

.magazine-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.magazine-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    z-index: 1;
}

.magazine-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    transition: color var(--transition-fast);
    z-index: 2;
}

.magazine-modal-close:hover {
    color: var(--color-gray-300);
}

.magazine-modal-reader {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.magazine-modal-reader iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Keep the carousel clipped even when static, so conveyor clones can never
   peek out at the edges. The hover zoom is clipped by .magazine-card-preview,
   so the container doesn't need overflow:visible. */
.magazines-static .magazines-track {
    justify-content: center;
}

@media (max-width: 480px) {
    .magazines-module {
        padding: 16px 10px 20px;
        border-radius: 12px;
    }

    .magazines-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .magazine-card-preview {
        border-radius: 8px;
    }

    .magazine-card-caption {
        font-size: 9px;
    }

    .magazine-modal-content {
        width: 96%;
    }

    .magazine-modal-close {
        top: -36px;
    }
}


/* =============================================
   Footer
   ============================================= */
.site-footer {
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: var(--color-gray-400);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .news-selector-item {
        flex: 0 0 33.333%;
    }

    .countdown-inner {
        width: 70%;
    }

    .trip-module {
        width: 96%;
        padding: 24px 20px 28px;
    }

    .videos-inner {
        width: 92%;
    }
}

@media (max-width: 768px) {
    :root {
        --content-padding: 20px;
    }

    /* Player: simplify on mobile */
    .player-volume-bar {
        display: none;
    }

    .player-episode-title {
        font-size: 10px;
    }

    /* Nav: switch to mobile (keep social icons visible) */
    .nav-items,
    .nav-search,
    .nav-calendar-link {
        display: none;
    }

    .nav-mobile-actions {
        display: flex;
    }

    .nav-dropdown-modal {
        display: none !important;
    }

    /* Banner */
    .banner-section {
        aspect-ratio: auto;
        height: auto;
    }

    .banner-slide.banner-placeholder {
        min-height: 120px;
    }

    .banner-carousel {
        position: relative;
    }

    .banner-slide {
        position: relative;
    }

    .banner-slide:not(.active) {
        display: none;
    }

    .banner-slide.active {
        display: block;
    }

    /* News */
    .news-section {
        padding: 30px 0 20px;
    }

    .news-inner {
        width: 92%;
    }

    .news-featured {
        flex-direction: column;
        gap: 24px;
    }

    .news-featured-image {
        flex: none;
        width: 100%;
    }

    /* Mobile: one item at a time. The headline already shows in the featured
       article above, so keep only the red line indicator and hide the duplicate
       selector text. */
    .news-selector-track {
        transform: none !important; /* override the JS inline scroll transform */
    }

    .news-selector-item {
        display: none;
        flex: 0 0 100%;
        padding: 0; /* collapse to just the red line */
    }

    .news-selector-item.active {
        display: block;
    }

    .news-selector-item.active .selector-headline {
        display: none;
    }

    .news-selector-wrapper {
        padding: 0 36px;
    }

    .countdown-inner {
        width: 92%;
    }

    .countdown-sponsor {
        flex: 0 0 36%;
        padding: 20px;
    }

    .countdown-sponsor img {
        max-height: 84px;
    }

    .countdown-number {
        font-size: 36px;
    }

    .countdown-digits {
        gap: 14px;
    }

    .trip-section {
        padding: 30px 0;
    }

    .trip-module {
        width: 96%;
        padding: 20px 16px 24px;
    }

    /* Plan Your Trip: 2 per row (2x2) on medium screens */
    .trip-static .trip-card {
        flex: 0 0 calc(50% - 10px);
    }

    .videos-section {
        padding: 30px 0;
    }

    .videos-inner {
        width: 92%;
    }

    .videos-header {
        align-items: center;
        gap: 12px;
    }

    .videos-carousel-wrapper {
        padding: 0;
    }

    .video-card {
        flex: 0 0 calc(50% - 7px);
    }

    .videos-track {
        gap: 14px;
    }

    .video-play-btn svg {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .podcast-player {
        gap: 8px;
        padding: 0 10px;
    }

    .player-time {
        font-size: 11px;
    }

    .player-btn {
        width: 24px;
        height: 24px;
    }

    .news-headline {
        font-size: 20px;
    }

    .news-selector-item {
        flex: 0 0 100%;
    }

    .countdown-section {
        padding: 30px 0;
    }

    .countdown-inner {
        width: 92%;
        flex-direction: column;
    }

    .countdown-sponsor {
        flex: none;
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 18px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .countdown-sponsor img {
        max-height: 64px;
    }

    .countdown-timer {
        padding: 20px;
    }

    .countdown-number {
        font-size: 32px;
    }

    .countdown-digits {
        gap: 12px;
    }

    .trip-section {
        padding: 24px 0;
    }

    .trip-module {
        width: 96%;
        padding: 16px 10px 20px;
        border-radius: 12px;
    }

    .trip-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .trip-track {
        gap: 8px;
    }

    .trip-card {
        flex: 0 0 100%;
        border-radius: 8px;
    }

    /* Plan Your Trip: one-per-view infinite carousel on phones (the JS
       runs the same conveyor used by magazines/blogs, with dots) */
    .trip-static {
        overflow: hidden;
    }

    .trip-static .trip-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .trip-static .trip-card {
        flex: 0 0 100%;
    }

    .trip-card-caption {
        padding: 10px;
    }

    .videos-section {
        padding: 24px 0;
    }

    .video-card {
        flex: 0 0 100%;
    }

    .playlist-dropdown-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .video-card-title {
        font-size: 12px;
        padding: 10px 12px;
    }

    .video-play-btn svg {
        width: 36px;
        height: 36px;
    }

    .video-modal-content {
        width: 96%;
    }

    .video-modal-close {
        top: -36px;
    }
}

/* =============================================
   Blog Responsive
   ============================================= */
@media (max-width: 1024px) {
    .blogs-inner {
        width: 92%;
    }

    .blog-tile {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 768px) {
    .blogs-section {
        padding: 30px 0;
    }

    .blogs-inner {
        width: 92%;
    }

    .blog-tile {
        flex: 0 0 calc(50% - 10px);
    }

    .magazine-card {
        flex: 0 0 calc(50% - 10px);
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-post-hero {
        height: 385px;
    }

    .blog-post-container {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 480px) {
    .blogs-section {
        padding: 24px 0;
    }

    .blog-tile {
        flex: 0 0 100%;
    }

    /* 1 magazine per row on phones (must come after the <=768 50% rule above) */
    .magazine-card {
        flex: 0 0 100%;
    }

    .blog-tile-title {
        font-size: 12px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-card-title {
        font-size: 16px;
    }

    .blog-post-hero {
        height: 315px;
    }

    .blog-post-body {
        font-size: 15px;
    }
}

/* =============================================
   Sponsors Module
   ============================================= */
.sponsors-section {
    padding: 30px 0 50px;
    background: var(--color-white);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
    z-index: 2;
}

.sponsors-module {
    width: 92%;
    max-width: 1500px;
    margin: 0 auto;
}

.sponsors-viewport {
    overflow: hidden;
}

.sponsors-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
}

.sponsor-item {
    flex: 0 0 calc(20% - 16px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    text-decoration: none;
    cursor: pointer;
}

.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90px;
    transition: transform var(--transition-fast);
}

.sponsor-logo-wrap img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
}

.sponsor-item:hover .sponsor-logo-wrap {
    transform: scale(1.05);
}

.sponsor-name {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.sponsor-item:hover .sponsor-name {
    opacity: 1;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background: var(--color-bg-dark, #1a1a1a);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-inner {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    height: 68px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--color-white);
    font-size: 16px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-icon:hover {
    color: var(--color-red);
    transform: translateY(-2px);
}

/* Links columns */
.footer-links {
    column-count: 3;
    column-gap: 40px;
    text-align: left;
}

.footer-link-group {
    break-inside: avoid;
    margin-bottom: 28px;
}

.footer-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-red);
}

.footer-sublinks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 2px;
}

.footer-sublink {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-300, #aaa);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-sublink:hover {
    color: var(--color-white);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-300, #aaa);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-300, #aaa);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--color-white);
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sponsor-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        column-count: 2;
        column-gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sponsor-item {
        flex: 0 0 calc(50% - 10px);
        height: 100px;
    }

    .footer-links {
        column-count: 2;
        column-gap: 24px;
    }
}

/* =============================================
   Carousel dot progress (mobile only)
   ============================================= */
.carousel-dots {
    display: none; /* desktop uses arrows; dots are mobile-only (shown below) */
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
}

/* Defaults target the light (white) sections — videos, blogs, magazines */
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
    background: var(--color-red);
    transform: scale(1.3);
}

/* Slim scrollbar-style indicator for large sets (too many for dots) */
.carousel-progress {
    display: none; /* mobile-only (shown below) */
    position: relative;
    width: 60%;
    max-width: 220px;
    height: 4px;
    margin: 18px auto 0;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.carousel-progress-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-red);
    border-radius: 2px;
    transition: left var(--transition-base);
}

/* Light indicators for the dark-background sections (news, trip) */
.news-section .carousel-dot,
.trip-module .carousel-dot {
    background: rgba(255, 255, 255, 0.35);
}

.news-section .carousel-dot.active,
.trip-module .carousel-dot.active {
    background: var(--color-white);
}

.news-section .carousel-progress,
.trip-module .carousel-progress {
    background: rgba(255, 255, 255, 0.2);
}

.news-section .carousel-progress-thumb,
.trip-module .carousel-progress-thumb {
    background: var(--color-white);
}

/* Touch devices only: navigate by swipe, show the dot/bar indicator, hide the
   arrows. Non-touch (desktop at any width, incl. responsive mode) keeps its
   arrows so there's always a way to navigate. News keeps its arrows always. */
@media (hover: none) and (pointer: coarse) {
    .videos-arrow,
    .blogs-arrow,
    .trip-arrow,
    .magazines-arrow {
        display: none;
    }

    .carousel-dots {
        display: flex;
    }

    .carousel-progress {
        display: block;
    }
}

/* =============================================
   PJAX navigation loading cue
   ============================================= */
html.pjax-loading {
    cursor: progress;
}

html.pjax-loading main {
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

/* =============================================
   Search Results Page
   ============================================= */
.search-page {
    padding: 50px 0 70px;
}

.search-page-inner {
    width: 88%;
    max-width: 900px;
    margin: 0 auto;
}

.search-page-form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--color-red);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    margin-bottom: 32px;
}

.search-page-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 16px 20px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 17px;
    color: #111;
}

.search-page-input::placeholder {
    color: #999;
}

.search-page-submit {
    flex: 0 0 auto;
    border: none;
    background: var(--color-red);
    color: var(--color-white);
    padding: 0 24px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-page-submit:hover {
    background: var(--color-red-bright);
}

.search-page-hint {
    font-family: var(--font-body);
    font-size: 16px;
    color: #555;
}

.search-page-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 24px;
    color: #111;
}

.search-page-empty {
    font-family: var(--font-body);
    color: #555;
}

.search-page-empty-hint {
    font-size: 14px;
    margin-top: 6px;
    color: #777;
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-result-row {
    border-top: 1px solid #e2e2e2;
}

.search-result-row:last-child {
    border-bottom: 1px solid #e2e2e2;
}

.search-result-link {
    display: block;
    padding: 20px 16px;
    margin: 0 -16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.search-result-link:hover {
    background: #ffffff;
}

.search-result-type {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-red-bright);
    margin-bottom: 6px;
}

.search-result-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 19px;
    color: #111;
    margin-bottom: 6px;
}

.search-result-snippet {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 6px;
}

.search-result-date {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

@media (max-width: 768px) {
    .search-page-inner {
        width: 92%;
    }

    .search-page-input {
        font-size: 16px;
        padding: 14px 16px;
    }
}

/* =============================================
   Content Pages (database-driven, client-editable)
   ============================================= */
.content-page {
    padding: 50px 0 70px;
}

.content-page-inner {
    width: 88%;
    max-width: 860px;
    margin: 0 auto;
}

.content-page-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 38px;
    line-height: 1.15;
    color: #111;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--color-red);
}

/* White panel wrapping the page content, matching the event detail card */
.content-page-card {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 36px 40px 44px;
}

/* Prose styles applied to the client-authored HTML body */
.content-page-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

.content-page-body h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 26px;
    color: #111;
    margin: 36px 0 14px;
}

.content-page-body h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 21px;
    color: #111;
    margin: 28px 0 12px;
}

.content-page-body p {
    margin-bottom: 18px;
}

.content-page-body ul,
.content-page-body ol {
    margin: 0 0 18px 22px;
}

.content-page-body li {
    margin-bottom: 8px;
}

.content-page-body a {
    color: var(--color-red-bright);
    text-decoration: underline;
    transition: color 0.15s ease;
}

.content-page-body a:hover {
    color: #111;
}

.content-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.content-page-body blockquote {
    border-left: 4px solid var(--color-red);
    padding-left: 18px;
    margin: 0 0 18px;
    color: #555;
    font-style: italic;
}

@media (max-width: 768px) {
    .content-page-inner {
        width: 92%;
    }

    .content-page-title {
        font-size: 30px;
    }

    .content-page-body {
        font-size: 16px;
    }

    .content-page-card {
        padding: 24px 20px 30px;
    }
}

/* (Search + Content page text colors are defined directly in their base rules
   above, since those pages always render on the shared #f5f5f5 background.) */
/* =============================================
   Events Calendar Page (day-strip schedule view)
   ============================================= */
.events-page {
    padding: 50px 0 70px;
}

.events-page-inner {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

.events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.events-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 38px;
    line-height: 1.15;
    color: #111;
}

.events-month-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.events-month-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    color: #111;
    min-width: 190px;
    text-align: center;
}

.events-month-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.events-month-arrow:hover {
    background: var(--color-red-bright);
}

.events-month-arrow-off,
.events-month-arrow-off:hover {
    background: #d5d5d5;
    color: #f5f5f5;
    cursor: default;
}

/* ---- Type filter ---- */
.events-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.events-filter-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.events-filter-select {
    font-family: var(--font-body);
    font-size: 15px;
    color: #111;
    background: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    outline: none;
    max-width: 100%;
}

.events-empty {
    font-family: var(--font-body);
    font-size: 17px;
    color: #555;
    padding: 30px 0;
}

.events-empty p {
    margin-bottom: 8px;
}

/* "Clear filters" panel: visibly separate from the no-results line */
.events-clear-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: var(--color-white);
    border-left: 4px solid var(--color-red);
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    padding: 18px 22px;
    margin-top: 26px;
    max-width: 640px;
}

.events-clear-icon {
    color: var(--color-red-bright);
    font-size: 17px;
}

.events-clear-text {
    flex: 1;
    min-width: 200px;
    font-family: var(--font-body);
    font-size: 15px;
    color: #333;
}

.events-clear-btn {
    flex: 0 0 auto;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 6px;
    padding: 10px 18px;
    transition: background 0.2s ease;
}

.events-clear-btn:hover {
    background: var(--color-red-bright);
}

/* Outrank the generic .events-empty link color (red-on-red otherwise) */
.events-empty .events-clear-btn,
.events-empty .events-clear-btn:hover {
    color: var(--color-white);
}

.events-empty a {
    color: var(--color-red-bright);
    font-weight: 600;
}

/* ---- Day strip ---- */
.events-day-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 14px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--color-red);
    scrollbar-width: thin;
}

.day-pill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
    padding: 8px 4px 7px;
    border-radius: 8px;
    background: var(--color-white);
    text-decoration: none;
    transition: background 0.15s ease;
}

a.day-pill:hover {
    background: #e8e8e8;
}

.day-pill-dow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.day-pill-num {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 19px;
    color: #111;
    line-height: 1.2;
}

.day-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-red);
    margin-top: 3px;
}

.day-pill-off {
    background: transparent;
}

.day-pill-off .day-pill-num {
    color: #c5c5c5;
}

.day-pill-off .day-pill-dow {
    color: #d0d0d0;
}

.day-pill-active,
a.day-pill-active:hover {
    background: var(--color-red);
}

.day-pill-active .day-pill-num,
.day-pill-active .day-pill-dow {
    color: var(--color-white);
}

.day-pill-active .day-pill-dot {
    background: var(--color-white);
}

/* ---- Selected day list ---- */
.events-day-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    color: #111;
    margin-bottom: 18px;
}

.events-time-group {
    margin-bottom: 22px;
}

.events-time-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #555;
    background: #eaeaea;
    border-radius: 4px;
    padding: 7px 12px;
    margin-bottom: 8px;
}

.events-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.events-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-white);
    border-left: 3px solid var(--color-red);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: box-shadow 0.15s ease;
}

.events-list-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.events-list-thumb {
    position: relative;
    flex: 0 0 100px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-bg);
}

.events-list-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-list-thumb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.events-list-thumb-logo img {
    max-width: 72%;
    max-height: 68%;
    object-fit: contain;
    opacity: 0.9;
}

.events-list-info {
    flex: 1;
    min-width: 0;
}

.events-list-name {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.events-list-venue {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

.events-list-type {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.events-list-arrow {
    flex: 0 0 auto;
    font-size: 12px;
    color: #bbb;
}

/* Accent palette cycled by event type */
.cal-chip-c0 { border-left-color: #444444; }
.cal-chip-c1 { border-left-color: #8b1a1a; }
.cal-chip-c2 { border-left-color: #1a3a5c; }
.cal-chip-c3 { border-left-color: #1a5c3a; }
.cal-chip-c4 { border-left-color: #7a5c1a; }
.cal-chip-c5 { border-left-color: #5c1a5c; }

@media (max-width: 768px) {
    .events-page {
        padding: 36px 0 50px;
    }

    .events-title {
        font-size: 30px;
    }

    .events-month-label {
        font-size: 20px;
        min-width: 150px;
    }

    .events-day-heading {
        font-size: 20px;
    }

    .events-filter {
        flex-wrap: wrap;
    }

    .events-filter-select {
        flex: 1;
    }

    .events-list-type {
        display: none;
    }

    .events-list-thumb {
        flex-basis: 76px;
        height: 50px;
    }
}

/* =============================================
   Event Detail Page
   ============================================= */
.event-detail-page {
    padding: 50px 0 70px;
}

.event-detail-inner {
    width: 88%;
    max-width: 900px;
    margin: 0 auto;
}

.event-detail-back {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-red-bright);
    text-decoration: none;
    margin-bottom: 18px;
}

.event-detail-back:hover {
    color: #111;
}

.event-detail-back i {
    font-size: 11px;
    margin-right: 4px;
}

.event-detail-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.event-detail-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.event-detail-content {
    padding: 32px 36px 40px;
}

.event-detail-type {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: var(--color-red);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 14px;
}

.event-detail-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 34px;
    line-height: 1.15;
    color: #111;
    margin-bottom: 18px;
}

.event-detail-meta {
    list-style: none;
    margin: 0 0 22px;
    padding: 0 0 18px;
    border-bottom: 1px solid #e2e2e2;
}

.event-detail-meta li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

.event-detail-meta i {
    color: var(--color-red-bright);
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.event-detail-intro {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

.event-detail-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

.event-detail-body p {
    margin-bottom: 16px;
}

.event-detail-body a {
    color: var(--color-red-bright);
    text-decoration: underline;
}

.event-detail-body a:hover {
    color: #111;
}

.event-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.event-detail-performances {
    margin-top: 26px;
}

.event-detail-subheading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 22px;
    color: #111;
    margin-bottom: 12px;
}

.event-perf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-perf-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: #333;
    border-top: 1px solid #e8e8e8;
    padding: 10px 2px;
}

.event-perf-row:last-child {
    border-bottom: 1px solid #e8e8e8;
}

.event-perf-date {
    flex: 0 0 140px;
    font-weight: 600;
    color: #111;
}

.event-perf-time {
    flex: 0 0 80px;
    color: #555;
}

.event-perf-guest {
    flex: 1;
    min-width: 120px;
    color: var(--color-red-bright);
    font-weight: 600;
}

/* Per-performance calendar links, pushed to the right of the row */
.event-perf-links {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-left: auto;
    white-space: nowrap;
}

.event-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.event-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    padding: 11px 24px;
    transition: background 0.2s ease, color 0.2s ease;
}

.event-detail-btn:hover {
    background: var(--color-red-bright);
    border-color: var(--color-red-bright);
}

.event-detail-btn i {
    font-size: 13px;
}

.event-detail-btn-outline {
    background: transparent;
    color: var(--color-red-bright);
}

.event-detail-btn-outline:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .event-detail-page {
        padding: 36px 0 50px;
    }

    .event-detail-content {
        padding: 22px 20px 30px;
    }

    .event-detail-title {
        font-size: 27px;
    }

    .event-detail-image img {
        max-height: 260px;
    }

    .event-perf-date {
        flex-basis: 120px;
    }

    .event-perf-links {
        margin-left: 0;
        flex-basis: 100%;
    }
}

/* =============================================
   Performance Times Page
   ============================================= */
.performance-times-page,
.autograph-sessions-page {
    padding: 50px 0 70px;
}

.performance-times-inner {
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
}

.perf-header {
    margin-bottom: 28px;
}

.perf-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 38px;
    line-height: 1.15;
    color: #111;
}

.perf-season {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-red-bright);
    margin-top: 6px;
}

.perf-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.perf-card {
    display: flex;
    align-items: stretch;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.15s ease;
}

.perf-card:hover {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

.perf-card-date {
    flex: 0 0 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    color: var(--color-white);
    padding: 14px 8px;
}

.perf-card-dow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.perf-card-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
}

.perf-card-mon {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.perf-card-body {
    flex: 1;
    min-width: 0;
    padding: 18px 22px;
}

.perf-card-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.perf-card-name a {
    color: #111;
    text-decoration: none;
    transition: color 0.15s ease;
}

.perf-card-name a:hover {
    color: var(--color-red-bright);
}

/* Client-authored description HTML — render its bullets as one inline row */
.perf-card-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.perf-card-desc p {
    margin-bottom: 6px;
}

.perf-card-desc ul,
.perf-card-desc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.perf-card-desc li {
    display: inline;
}

/* First bullet is the session time — bold it so it stands out from the
   venue/admission details that follow on the same line */
.perf-card-desc li:first-child {
    font-weight: 700;
    color: #111;
}

/* Line 1 is time and location; every remaining bullet flows onto line 2 */
.perf-card-desc li:nth-child(2)::after {
    content: "";
    display: block;
    margin-top: 3px;
}

.perf-card-desc li:nth-child(3)::before {
    content: "";
    margin: 0;
}

.perf-card-desc li + li::before {
    content: "\2022";
    color: var(--color-red-bright);
    margin: 0 8px;
}

.perf-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.perf-card-time,
.perf-card-venue {
    color: #555;
}

.perf-card-time i,
.perf-card-venue i {
    color: var(--color-red-bright);
    margin-right: 5px;
}

.perf-card-link {
    color: var(--color-red-bright);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    transition: color 0.15s ease;
}

.perf-card-link:hover {
    color: #111;
}

.perf-card-link i {
    font-size: 11px;
    margin: 0 3px;
}

@media (max-width: 768px) {
    .performance-times-page,
    .autograph-sessions-page {
        padding: 36px 0 50px;
    }

    .perf-title {
        font-size: 30px;
    }

    .perf-card-date {
        flex-basis: 72px;
        padding: 12px 6px;
    }

    .perf-card-num {
        font-size: 28px;
    }

    .perf-card-body {
        padding: 14px 16px;
    }

    .perf-card-name {
        font-size: 18px;
    }
}

/* =============================================
   Opening Ceremonies Page (openings + anthems by night)
   ============================================= */
.opening-ceremonies-page {
    padding: 50px 0 70px;
}

.ceremonies-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ceremony-night {
    background: var(--color-white);
    border-radius: 10px;
    padding: 20px 22px 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.ceremony-night-date {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    color: #111;
    border-left: 4px solid var(--color-red);
    padding-left: 12px;
    margin-bottom: 16px;
}

.ceremony-acts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.ceremony-act {
    display: block;
    text-decoration: none;
}

.ceremony-act-image {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
    margin-bottom: 10px;
}

.ceremony-act-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ceremony-act:hover .ceremony-act-image > img {
    transform: scale(1.05);
}

.ceremony-act-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.ceremony-act-logo img {
    max-width: 60%;
    max-height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

.ceremony-act-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    border-radius: 4px;
    padding: 3px 9px;
}

.ceremony-badge-opening {
    background: var(--color-red);
}

.ceremony-badge-anthem {
    background: #1a3a5c;
}

.ceremony-act-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    color: #111;
    transition: color 0.15s ease;
}

.ceremony-act:hover .ceremony-act-name {
    color: var(--color-red-bright);
}

@media (max-width: 900px) {
    .ceremonies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .opening-ceremonies-page {
        padding: 36px 0 50px;
    }

    .ceremony-night {
        padding: 16px 16px 20px;
    }

    .ceremony-acts {
        gap: 12px;
    }

    .ceremony-act-name {
        font-size: 15px;
    }
}

/* =============================================
   Cowboy Corral Page
   ============================================= */
.cowboy-corral-page,
.downtown-hoedown-page {
    padding: 50px 0 70px;
}

.corral-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.corral-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

/* Each act is a white panel, matching the blog listing cards (image flush
   to the top, padded text, lift on hover). Shared by Cowboy Corral and
   Downtown Hoedown. */
.corral-card {
    display: block;
    text-decoration: none;
    text-align: center;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding-bottom: 18px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.corral-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.corral-card-image {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-bg);
    margin-bottom: 14px;
}

.corral-card-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.corral-card:hover .corral-card-image > img {
    transform: scale(1.05);
}

.corral-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.corral-card-logo img {
    max-width: 60%;
    max-height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

.corral-card-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    color: #111;
    padding: 0 18px;
    transition: color 0.15s ease;
}

.corral-card:hover .corral-card-name {
    color: var(--color-red-bright);
}

.corral-card-dates {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    color: #555;
    margin-top: 4px;
    padding: 0 18px;
}

.corral-card-venue {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: #777;
    margin-top: 2px;
    padding: 0 18px;
}

@media (max-width: 900px) {
    .corral-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .cowboy-corral-page,
    .downtown-hoedown-page {
        padding: 36px 0 50px;
    }

    .corral-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =============================================
   Entertainment Around Town Page
   ============================================= */
.entertainment-page {
    padding: 50px 0 70px;
}

/* Client-configured page background (per-page *_bg_image settings).
   Heading colors follow --page-font-color, set inline on the section only
   when the image is active; without it they keep the default colors. */
.custom-bg-page {
    background-size: cover;
    background-position: center top;
}

.custom-bg-page .perf-title,
.custom-bg-page .nightly-heading {
    color: var(--page-font-color, #111);
}

.custom-bg-page .perf-season {
    color: var(--page-font-color, var(--color-red-bright));
}

.custom-bg-page .events-empty {
    color: var(--page-font-color, #555);
}

.entertainment-inner {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
}

.ent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ent-card {
    position: relative;
    display: block;
    aspect-ratio: 2 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg);
    text-decoration: none;
}

.ent-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ent-card:hover .ent-card-img {
    transform: scale(1.05);
}

.ent-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0 0 30% 0;
}

.ent-card-logo img {
    max-width: 45%;
    max-height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

/* Bottom gradient with the act info on top of it */
.ent-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 16px 14px 14px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.88));
}

.ent-card-name {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.ent-card-dates,
.ent-card-venue {
    font-family: var(--font-body);
    font-size: 14px;
    color: #e8e8e8;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .ent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .entertainment-page {
        padding: 36px 0 50px;
    }

    .ent-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* =============================================
   Nightly Events & After Parties Page
   ============================================= */
.nightly-page {
    padding: 50px 0 70px;
}

.nightly-inner {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

.nightly-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 26px;
    color: #111;
    border-left: 4px solid var(--color-red);
    padding-left: 12px;
    margin: 34px 0 18px;
}

/* ---- Recurring nightly events ---- */
.nightly-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nightly-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.nightly-card-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.nightly-card-name a {
    color: #111;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nightly-card-name a:hover {
    color: var(--color-red-bright);
}

.nightly-card-dates {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-red-bright);
    margin-bottom: 10px;
}

/* Stacked schedule bullets (client-authored HTML) */
.nightly-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    margin-bottom: 12px;
}

.nightly-desc p {
    margin-bottom: 6px;
}

.nightly-desc ul,
.nightly-desc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nightly-desc li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 4px;
}

.nightly-desc li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--color-red-bright);
}

.nightly-card .perf-card-actions {
    margin-top: auto;
}

@media (max-width: 900px) {
    .nightly-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nightly-page {
        padding: 36px 0 50px;
    }

    .nightly-heading {
        font-size: 22px;
    }
}

/* =============================================
   Podcast Page
   ============================================= */
.podcast-page {
    padding: 50px 0 70px;
}

.podcast-inner {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
}

.podcast-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.podcast-card {
    display: flex;
    gap: 24px;
    background: var(--color-white);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.podcast-card-art {
    position: relative;
    flex: 0 0 180px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
}

.podcast-card-art > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.podcast-card-logo img {
    max-width: 70%;
    max-height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

.podcast-card-body {
    flex: 1;
    min-width: 0;
}

.podcast-card-date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 6px;
}

.podcast-card-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.25;
    color: #111;
    margin-bottom: 10px;
}

.podcast-card-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 16px;
}

.podcast-card-desc p {
    margin-bottom: 10px;
}

.podcast-card-desc a {
    color: var(--color-red-bright);
    text-decoration: underline;
}

.podcast-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.podcast-card-actions .event-detail-btn {
    padding: 9px 20px;
    font-size: 14px;
}

.podcast-card-duration {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #777;
}

.podcast-card-duration i {
    color: var(--color-red-bright);
    margin-right: 4px;
}

/* ---- Pagination ---- */
.podcast-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.podcast-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: background 0.15s ease;
}

a.podcast-page-link:hover {
    background: #e8e8e8;
}

.podcast-page-current {
    background: var(--color-red);
    color: var(--color-white);
}

.podcast-page-arrow i {
    font-size: 12px;
}

.podcast-page-gap {
    font-family: var(--font-body);
    color: #999;
}

@media (max-width: 700px) {
    .podcast-page {
        padding: 36px 0 50px;
    }

    .podcast-card {
        flex-direction: column;
        padding: 18px;
        gap: 16px;
    }

    .podcast-card-art {
        flex-basis: auto;
        width: 140px;
        height: 140px;
    }
}

/* =============================================
   Blogs Landing Page
   ============================================= */
.blogs-landing-page {
    padding: 50px 0 70px;
}

.blogs-landing-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.blogs-landing-blog {
    margin-bottom: 46px;
}

/* Accent-colored band with the blog's logo and view-all link */
.blogs-landing-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 10px;
    padding: 14px 22px;
    margin-bottom: 18px;
}

.blogs-landing-logo img {
    display: block;
    max-height: 54px;
    max-width: 260px;
    object-fit: contain;
}

.blogs-landing-viewall {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 8px 16px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.blogs-landing-viewall:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
}

.blogs-landing-viewall i {
    font-size: 11px;
    margin-left: 4px;
}

/* Posts without a featured image show the blog logo on its accent color */
.blogs-landing-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.blogs-landing-noimage img {
    max-width: 60%;
    max-height: 50%;
    object-fit: contain;
}

.blogs-landing-unavailable {
    font-family: var(--font-body);
    font-size: 15px;
    color: #777;
}

.blogs-landing-unavailable a {
    color: var(--color-red-bright);
}

@media (max-width: 700px) {
    .blogs-landing-page {
        padding: 36px 0 50px;
    }

    .blogs-landing-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .blogs-landing-blog {
        margin-bottom: 38px;
    }
}

/* =============================================
   Stay in the Loop Page (external embed)
   ============================================= */
.stay-loop-page {
    display: flex;
}

.stay-loop-frame {
    display: block;
    width: 100%;
    border: 0;
    /* Fill the viewport below the header; never squash on small screens */
    height: calc(100vh - 160px);
    min-height: 700px;
}

/* =============================================
   Stay Your Way Pages
   ============================================= */
.stay-your-way-page {
    padding: 50px 0 70px;
}

.syw-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Listing grid ---- */
.syw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

.syw-card {
    display: block;
    text-decoration: none;
}

.syw-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg);
}

.syw-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.syw-card:hover .syw-card-photo {
    transform: scale(1.05);
}

.syw-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.syw-card-logo img {
    width: 60%;
    height: auto;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.syw-card-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 19px;
    text-transform: uppercase;
    line-height: 1.3;
    color: #111;
    margin-top: 12px;
    transition: color 0.15s ease;
}

.syw-card:hover .syw-card-name {
    color: var(--color-red-bright);
}

/* ---- Detail page ---- */
.syw-detail-inner {
    width: 92%;
    max-width: 860px;
    margin: 0 auto;
}

.syw-media {
    display: block;
    margin-bottom: 22px;
}

.syw-media-link {
    display: block;
    text-decoration: none;
}

.syw-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg);
}

.syw-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.syw-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 34px;
    line-height: 1.15;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 14px;
}

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

.syw-name a:hover {
    color: var(--color-red-bright);
}

.syw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.syw-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 23px;
    text-transform: uppercase;
    color: #111;
    margin: 28px 0 12px;
}

.syw-bullets {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.syw-bullets li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 7px;
}

.syw-bullets li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--color-red-bright);
}

.syw-bullets a {
    color: var(--color-red-bright);
    text-decoration: none;
}

.syw-bullets a:hover {
    text-decoration: underline;
}

.syw-shuttle-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 14px 0 6px;
}

.syw-map {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 28px;
}

.syw-map iframe {
    display: block;
}

/* Custom background (stay_your_way_bg_image): the text sits directly on
   the image like the legacy page, so the font color drives all of it */
.syw-detail-page.custom-bg-page .syw-name,
.syw-detail-page.custom-bg-page .syw-name a,
.syw-detail-page.custom-bg-page .syw-heading {
    color: var(--page-font-color, #111);
}

.syw-detail-page.custom-bg-page .syw-bullets {
    color: var(--page-font-color, #333);
}

.syw-detail-page.custom-bg-page .syw-bullets a {
    color: inherit;
    text-decoration: underline;
}

.syw-detail-page.custom-bg-page .syw-back {
    color: var(--page-font-color, var(--color-red-bright));
}

@media (max-width: 900px) {
    .syw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .stay-your-way-page {
        padding: 36px 0 50px;
    }

    .syw-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .syw-name {
        font-size: 27px;
    }
}

/* =============================================
   Articles Page (external press links)
   ============================================= */
.articles-page {
    padding: 50px 0 70px;
}

.articles-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
}

.article-card {
    display: block;
    text-decoration: none;
}

.article-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg);
    margin-bottom: 14px;
}

.article-card-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-image > img {
    transform: scale(1.05);
}

.article-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.article-card-logo img {
    max-width: 60%;
    max-height: 55%;
    object-fit: contain;
    opacity: 0.9;
}

.article-card-date {
    position: absolute;
    left: 0;
    bottom: 14px;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 16px;
    border-radius: 0 4px 4px 0;
}

.article-card-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.35;
    text-transform: uppercase;
    color: #111;
    transition: color 0.15s ease;
}

.article-card:hover .article-card-title {
    color: var(--color-red-bright);
}

.article-card-read {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-red-bright);
    margin-top: 10px;
}

.article-card-read i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.15s ease;
}

.article-card:hover .article-card-read i {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .articles-page {
        padding: 36px 0 50px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* =============================================
   News Pages
   ============================================= */
.news-listing-page,
.news-article-page {
    padding: 50px 0 70px;
}

.news-listing-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
    margin-bottom: 10px;
}

.news-card-excerpt {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    margin-top: 8px;
}

/* News + articles cards are white tiles like the blog listing (image
   flush to the top, padded text, lift on hover). */
.news-grid .article-card,
.news-other-grid .article-card,
.articles-grid .article-card,
.icons-grid .article-card,
.galleries-grid .article-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding-bottom: 18px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-grid .article-card:hover,
.news-other-grid .article-card:hover,
.articles-grid .article-card:hover,
.icons-grid .article-card:hover,
.galleries-grid .article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-grid .article-card-image,
.news-other-grid .article-card-image,
.articles-grid .article-card-image,
.icons-grid .article-card-image,
.galleries-grid .article-card-image {
    border-radius: 0;
}

.news-grid .article-card-title,
.news-other-grid .article-card-title,
.articles-grid .article-card-title,
.icons-grid .article-card-title,
.galleries-grid .article-card-title,
.news-grid .news-card-excerpt,
.news-other-grid .news-card-excerpt,
.news-grid .article-card-read,
.news-other-grid .article-card-read,
.articles-grid .article-card-read,
.icons-grid .article-card-read,
.galleries-grid .article-card-read {
    padding-left: 18px;
    padding-right: 18px;
}

/* ---- Article page ---- */
.news-article-inner {
    width: 92%;
    max-width: 800px;
    margin: 0 auto;
}

/* White panel wrapping the article, matching the event detail card */
.news-article-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.news-article-content {
    padding: 28px 36px 36px;
}

.news-article-hero {
    position: relative;
    background: var(--color-bg);
}

.news-article-hero img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.news-article-hero .article-card-date {
    bottom: 18px;
}

.news-article-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.25;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 10px;
}

.news-article-location {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    margin-bottom: 20px;
}

.news-article-body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.news-article-body p {
    margin-bottom: 16px;
}

.news-article-body a {
    color: var(--color-red-bright);
    text-decoration: underline;
}

.news-article-body a:hover {
    color: #111;
}

.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.news-article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 16px 2px;
    margin-top: 30px;
}

.news-article-share-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.news-article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.news-article-share a:hover {
    background: var(--color-red-bright);
}

/* ---- Other news ---- */
.news-other {
    margin-top: 44px;
}

.news-other-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 22px;
    text-transform: uppercase;
    color: #111;
    border-left: 4px solid var(--color-red);
    padding-left: 12px;
    margin-bottom: 20px;
}

.news-other-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .news-listing-page,
    .news-article-page {
        padding: 36px 0 50px;
    }

    .news-grid,
    .news-other-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .news-article-title {
        font-size: 24px;
    }

    .news-article-content {
        padding: 20px 18px 26px;
    }
}

/* Coming-soon state for seasonal content pages (is_active=0, coming_soon=1) */
.content-page-soon {
    text-align: center;
    padding: 36px 10px 26px;
}

.content-page-soon-icon {
    font-size: 34px;
    color: var(--color-red-bright);
    margin-bottom: 14px;
}

.content-page-soon-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 26px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 8px;
}

.content-page-soon-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: #555;
}

/* Seasonal "Coming Soon" card: the content-page notice restyled as a
   standalone panel for the event pages (works on dark/custom bgs too) */
.season-soon {
    width: 100%;
    margin: 24px auto;
    padding: 44px 28px 38px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.season-soon-icon {
    font-size: 34px;
    color: var(--color-red-bright);
    margin-bottom: 14px;
}

.season-soon-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 26px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 8px;
}

.season-soon-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: #555;
}

/* =============================================
   Client-content font normalization
   ---------------------------------------------
   Legacy CMS/WordPress content arrives with inline font-family styles
   (Times New Roman, MsoNormal Word paste, etc.). Force the site fonts
   everywhere client HTML renders; all other inline styling (color,
   size, bold, italic, underline...) is left untouched.
   ============================================= */
.content-page-body,
.content-page-body *,
.event-detail-body,
.event-detail-body *,
.news-article-body,
.news-article-body *,
.nightly-desc,
.nightly-desc *,
.perf-card-desc,
.perf-card-desc *,
.syw-bullets,
.syw-bullets *,
.podcast-card-desc,
.podcast-card-desc *,
.history-card-text,
.history-card-text *,
.faq-answer,
.faq-answer * {
    font-family: var(--font-body) !important;
}

/* Headings inside that content keep the site's heading face */
.content-page-body :is(h1, h2, h3, h4, h5, h6),
.event-detail-body :is(h1, h2, h3, h4, h5, h6),
.news-article-body :is(h1, h2, h3, h4, h5, h6),
.syw-bullets :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading) !important;
}

/* =============================================
   Bootstrap grid shim (scoped to page content)
   ---------------------------------------------
   Legacy CMS pages (e.g. /past-winners) were authored with Bootstrap 4
   grid markup. The site doesn't ship Bootstrap, so these rules reproduce
   exactly the grid/spacing behavior that content relies on, scoped to
   .content-page-body only.
   ============================================= */
.content-page-body .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.content-page-body [class^="col-"],
.content-page-body [class*=" col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.content-page-body .col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.content-page-body .col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.content-page-body .col-3 { flex: 0 0 25.0%; max-width: 25.0%; }
.content-page-body .col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.content-page-body .col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.content-page-body .col-6 { flex: 0 0 50.0%; max-width: 50.0%; }
.content-page-body .col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.content-page-body .col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.content-page-body .col-9 { flex: 0 0 75.0%; max-width: 75.0%; }
.content-page-body .col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.content-page-body .col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.content-page-body .col-12 { flex: 0 0 100.0%; max-width: 100.0%; }

@media (min-width: 576px) {
    .content-page-body .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .content-page-body .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .content-page-body .col-sm-3 { flex: 0 0 25.0%; max-width: 25.0%; }
    .content-page-body .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .content-page-body .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .content-page-body .col-sm-6 { flex: 0 0 50.0%; max-width: 50.0%; }
    .content-page-body .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .content-page-body .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .content-page-body .col-sm-9 { flex: 0 0 75.0%; max-width: 75.0%; }
    .content-page-body .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .content-page-body .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .content-page-body .col-sm-12 { flex: 0 0 100.0%; max-width: 100.0%; }
}

@media (min-width: 768px) {
    .content-page-body .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .content-page-body .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .content-page-body .col-md-3 { flex: 0 0 25.0%; max-width: 25.0%; }
    .content-page-body .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .content-page-body .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .content-page-body .col-md-6 { flex: 0 0 50.0%; max-width: 50.0%; }
    .content-page-body .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .content-page-body .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .content-page-body .col-md-9 { flex: 0 0 75.0%; max-width: 75.0%; }
    .content-page-body .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .content-page-body .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .content-page-body .col-md-12 { flex: 0 0 100.0%; max-width: 100.0%; }
}

@media (min-width: 992px) {
    .content-page-body .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .content-page-body .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .content-page-body .col-lg-3 { flex: 0 0 25.0%; max-width: 25.0%; }
    .content-page-body .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .content-page-body .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .content-page-body .col-lg-6 { flex: 0 0 50.0%; max-width: 50.0%; }
    .content-page-body .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .content-page-body .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .content-page-body .col-lg-9 { flex: 0 0 75.0%; max-width: 75.0%; }
    .content-page-body .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .content-page-body .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .content-page-body .col-lg-12 { flex: 0 0 100.0%; max-width: 100.0%; }
}

@media (min-width: 1200px) {
    .content-page-body .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .content-page-body .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .content-page-body .col-xl-3 { flex: 0 0 25.0%; max-width: 25.0%; }
    .content-page-body .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .content-page-body .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .content-page-body .col-xl-6 { flex: 0 0 50.0%; max-width: 50.0%; }
    .content-page-body .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .content-page-body .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .content-page-body .col-xl-9 { flex: 0 0 75.0%; max-width: 75.0%; }
    .content-page-body .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .content-page-body .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .content-page-body .col-xl-12 { flex: 0 0 100.0%; max-width: 100.0%; }
}

.content-page-body .mt-0 { margin-top: 0 !important; }
.content-page-body .mb-0 { margin-bottom: 0 !important; }
.content-page-body .mt-1 { margin-top: 0.25rem !important; }
.content-page-body .mb-1 { margin-bottom: 0.25rem !important; }
.content-page-body .mt-2 { margin-top: 0.5rem !important; }
.content-page-body .mb-2 { margin-bottom: 0.5rem !important; }
.content-page-body .mt-3 { margin-top: 1rem !important; }
.content-page-body .mb-3 { margin-bottom: 1rem !important; }
.content-page-body .mt-4 { margin-top: 1.5rem !important; }
.content-page-body .mb-4 { margin-bottom: 1.5rem !important; }
.content-page-body .mt-5 { margin-top: 3rem !important; }
.content-page-body .mb-5 { margin-bottom: 3rem !important; }

/* =============================================
   Sponsors Page
   ============================================= */
.sponsors-page {
    padding: 50px 0 70px;
}

.sponsors-page-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* White tile per sponsor */
.sponsor-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 26px 22px;
    min-height: 140px;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

a.sponsor-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sponsor-tile img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.sponsor-tile-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    color: #111;
}

@media (max-width: 1000px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .sponsors-page {
        padding: 36px 0 50px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .sponsor-tile {
        min-height: 110px;
        padding: 18px 14px;
    }

    .sponsor-tile img {
        max-height: 70px;
    }
}

/* =============================================
   NFR History Wall
   ============================================= */
.history-page {
    padding: 50px 0 70px;
}

.history-inner {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Decade jump chips */
.history-decades {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.history-decade-chip,
.jump-chip {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: #111;
    background: var(--color-white);
    border-radius: 8px;
    padding: 9px 18px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: background 0.15s ease, color 0.15s ease;
}

.history-decade-chip:hover,
.jump-chip:hover {
    background: var(--color-red);
    color: var(--color-white);
}

/* Masonry wall: main.js deals the cards round-robin into these stacks so
   chronology reads ACROSS the row (CSS columns flowed down each column,
   which put mid-decades at the top of the page and broke the chips) */
.history-wall {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.history-col {
    flex: 1;
    min-width: 0;
}

.history-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 24px 24px 0;
    margin-bottom: 24px;
    scroll-margin-top: 90px; /* keep anchored cards clear of the header */
}

/* Year banner across the top of the card, echoing the red date badges */
.history-card-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 3px;
    line-height: 1;
    text-align: center;
    color: var(--color-white);
    background: var(--color-red);
    margin: -24px -24px 18px;
    padding: 14px 10px 12px;
}

.history-card-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 18px;
}

.history-card-img {
    display: block;
    width: calc(100% + 48px);
    max-width: none; /* the global img reset caps at 100%, breaking full-bleed */
    margin: 0 -24px;
    height: auto;
}

.history-card-video {
    position: relative;
    aspect-ratio: 16 / 9;
    width: calc(100% + 48px);
    margin: 0 -24px;
    background: var(--color-bg);
}

.history-card-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Text-only cards need bottom padding (media otherwise sits flush) */
.history-card-text:last-child {
    padding-bottom: 24px;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .history-page {
        padding: 36px 0 50px;
    }

    .history-card-year {
        font-size: 22px;
    }
}

/* =============================================
   Vegas NFR Icons Page
   ============================================= */
.icons-page {
    padding: 50px 0 70px;
}

.icons-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
}

/* Icon portraits run a touch taller than article thumbs */
.icons-grid .article-card-image {
    aspect-ratio: 16 / 11;
}

@media (max-width: 900px) {
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .icons-page {
        padding: 36px 0 50px;
    }

    .icons-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

/* =============================================
   Ticket FAQs Page
   ============================================= */
.faqs-page {
    padding: 50px 0 70px;
}

.faqs-inner {
    width: 92%;
    max-width: 960px;
    margin: 0 auto;
}

/* One quiet panel holding search + section chips, instead of a scatter
   of heavyweight pills */
.faq-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 18px 22px;
    margin-bottom: 26px;
}

.faq-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* "or" divider between the chips and the search field */
.faq-toolbar-or {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.faq-toolbar-or::before,
.faq-toolbar-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

/* Quieter chips inside the toolbar (the shared .jump-chip card style is
   for chips sitting directly on the gray page background) */
.faq-toolbar .jump-chip {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: #333;
    background: #f1f1f1;
    border-radius: 999px;
    padding: 7px 14px;
    box-shadow: none;
}

.faq-toolbar .jump-chip:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.faq-search {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: #111;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 10px 18px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.faq-search:focus {
    background: var(--color-white);
    border-color: var(--color-red);
}

.faq-search::placeholder {
    color: #999;
}

.faq-section {
    scroll-margin-top: 90px;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    margin-bottom: 28px;
}

.faq-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-red);
    padding: 14px 22px;
}

.faq-item {
    border-top: 1px solid #e8e8e8;
}

.faq-item:first-of-type {
    border-top: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: #111;
    padding: 17px 22px;
    transition: color 0.15s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-red-bright);
}

.faq-chevron {
    flex: 0 0 auto;
    font-size: 13px;
    color: #999;
    transition: transform 0.2s ease;
}

.faq-item[open] > .faq-question {
    color: var(--color-red-bright);
}

.faq-item[open] > .faq-question .faq-chevron {
    transform: rotate(180deg);
}

/* Gentle fade when answers open (browsers without ::details-content
   support simply toggle instantly) */
.faq-item::details-content {
    opacity: 0;
    transition: opacity 0.25s ease, content-visibility 0.25s allow-discrete;
}

.faq-item[open]::details-content {
    opacity: 1;
}

.faq-answer {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    padding: 4px 22px 22px;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer ul,
.faq-answer ol {
    margin: 0 0 12px 22px;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-answer a {
    color: var(--color-red-bright);
    text-decoration: underline;
}

.faq-answer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

@media (max-width: 640px) {
    .faqs-page {
        padding: 36px 0 50px;
    }

    .faq-question {
        font-size: 15px;
        padding: 15px 16px;
    }

    .faq-answer {
        padding: 2px 16px 18px;
        font-size: 15px;
    }

    .faq-section-title {
        padding: 12px 16px;
        font-size: 18px;
    }
}

/* =============================================
   Home Page Photo Gallery
   ============================================= */
.photos-section {
    padding: 60px 4% 70px;
    background: var(--color-white);
}

.photos-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    text-align: center;
    margin-bottom: 28px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1500px;
    margin: 0 auto;
}

/* .photo-tile's display rule would defeat the UA [hidden] style — the
   Load More pool relies on hidden tiles actually being hidden */
.photo-tile[hidden] {
    display: none;
}

.photo-tile {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #e8e8e8;
    cursor: pointer;
}

.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-tile:hover img {
    transform: scale(1.05);
}

.photos-more-wrap {
    text-align: center;
    margin-top: 28px;
}

.photos-more-btn {
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    padding: 13px 34px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.photos-more-btn:hover {
    background: var(--color-red-bright);
}

@media (max-width: 1000px) {
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .photos-section {
        padding: 44px 4% 50px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ---- Photo lightbox modal ---- */
.photo-modal[hidden] {
    display: none; /* display:flex below would defeat the UA [hidden] rule */
}

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 24px;
}

.photo-modal img {
    max-width: min(1200px, 92vw);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
}

.photo-modal-caption {
    font-family: var(--font-body);
    font-size: 15px;
    color: #ddd;
    text-align: center;
    margin-top: 14px;
    max-width: 800px;
}

.photo-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.photo-modal-btn:hover {
    background: var(--color-red-bright);
}

.photo-modal-prev { left: 18px; }
.photo-modal-next { right: 18px; }

.photo-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.photo-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
    .photo-modal-btn {
        width: 40px;
        height: 40px;
    }

    .photo-modal-prev { left: 8px; }
    .photo-modal-next { right: 8px; }
}

/* =============================================
   Photo Galleries Pages
   ============================================= */
.galleries-page {
    padding: 50px 0 70px;
}

.galleries-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
}

/* The wall reuses .photos-grid sizing; loosen its home-page max-width */
.gallery-wall {
    max-width: none;
}

/* Lightbox counter + slideshow control */
.photo-modal-count {
    position: absolute;
    top: 26px;
    left: 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
}

.photo-modal-play {
    position: absolute;
    top: 16px;
    right: 70px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.photo-modal-play:hover {
    background: rgba(255, 255, 255, 0.25);
}

.photo-modal-fullscreen {
    position: absolute;
    top: 16px;
    right: 124px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.photo-modal-fullscreen:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
    .galleries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .galleries-page {
        padding: 36px 0 50px;
    }

    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
