/* University of Winnipeg Official Branding Stylesheet */
:root {
    --uwinnipeg-red: #E71C31;
    --uwinnipeg-red-hover: #C41427;
    --uwinnipeg-dark: #1E1E1E;
    --uwinnipeg-black: #000000;
    --uwinnipeg-light: #F8F9FA;
    --uwinnipeg-gray: #63666A;
    --uwinnipeg-border: #E2E8F0;
    --uwinnipeg-gold: #D4AF37;
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--uwinnipeg-light);
    color: var(--uwinnipeg-dark);
    line-height: 1.6;
}

/* Links */
a {
    color: var(--uwinnipeg-red);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--uwinnipeg-red-hover);
}


/* Images */

img {
    max-width: 100%;
    text-align: center;
    height: auto;
}

/* Header & Banner */
.brand-header {
    background-color: #E71C31;
    border-bottom: none;
    color: #FFFFFF;
    padding: 1.5rem 2rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.brand-title-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.uwinnipeg-badge {
    background-color: var(--uwinnipeg-black);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.brand-ger-logo {
    width: 52px;
    height: 52px;
    color: #FFFFFF;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.brand-title-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}

.brand-title {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.2;
}

.brand-uwinnipeg {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: #F8F9FA;
    margin-top: 0.2rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0.25rem;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.25);
}

/* Top Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Invisible bridge pseudo-element to bridge hover gap between toggle and dropdown menu */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
    display: block;
}

.nav-dropdown-toggle {
    display: inline-block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--uwinnipeg-dark);
    min-width: 180px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-dropdown-menu a {
    color: #FFFFFF;
    padding: 0.65rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

/* Inter-day Navigation Bar Shortcode */
.day-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem 0;
    padding: 1rem 1.2rem;
    background-color: #FFFFFF;
    flex-wrap: wrap;
}

.day-nav-btn,
.day-nav-overview {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.day-nav-btn {
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF !important;
}

.day-nav-btn:hover {
    background-color: var(--uwinnipeg-red-hover);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.day-nav-overview {
    background-color: var(--uwinnipeg-light);
    color: var(--uwinnipeg-dark) !important;
    border: 1px solid var(--uwinnipeg-border);
}

.day-nav-overview:hover {
    background-color: #E2E8F0;
}

/* Hero Image Banner directly below header (100% width, CSS cover style) */
.hero-banner-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.hero-banner-img {
    width: 100%;
    max-width: 100%;
    height: 420px;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .hero-banner-img {
        height: 240px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1E1E1E 0%, #E71C31 100%);
    color: #FFFFFF;
    padding: 3.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--uwinnipeg-border);
}

.hero-title {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #E2E8F0;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.hero-meta {
    display: inline-flex;
    gap: 1.5rem;
    background: rgba(231, 28, 49, 0.25);
    border: 1px solid #FFFFFF;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Main Container */
.container {
    max-width: 1140px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.home-container {
    margin-top: 0;
    padding: 0;
}

.home-container>*:not(.splash-hero-banner) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Lead Combined Section (Map left 2/3, Text right 1/3) */
.hero-lead-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin: 2.5rem 0 3rem 0;
    width: 100%;
}

.hero-lead-map {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.hero-lead-map-img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.hero-lead-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-lead-text p {
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--uwinnipeg-dark);
    margin-bottom: 1.25rem;
}

.hero-lead-text p:first-child {
    margin-top: 0;
}

.hero-lead-text p:last-child {
    margin-bottom: 0;
}

.hero-lead-text strong {
    color: var(--uwinnipeg-red);
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-lead-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0 2rem 0;
    }

    .hero-lead-text p {
        font-size: 1.1rem;
    }
}

/* Portrait Card (Side-by-Side Image and Text) */
.portrait-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.2rem;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--uwinnipeg-border);
    border-left: 6px solid var(--uwinnipeg-red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 1.75rem 2.2rem;
    margin: 2.5rem 0 3.5rem 0;
}

.home-container > .portrait-card {
    padding: 1.75rem 2.2rem;
}

.portrait-card-media {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-card-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portrait-card-caption {
    font-size: 0.85rem;
    color: var(--uwinnipeg-gray);
    margin-top: 0.5rem;
    text-align: center;
}

.portrait-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portrait-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--uwinnipeg-red);
    margin-bottom: 0.75rem;
}

.portrait-card-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--uwinnipeg-dark);
    margin-bottom: 1rem;
}

.portrait-card-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .portrait-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .home-container > .portrait-card {
        padding: 1.5rem;
    }

    .portrait-card-img {
        max-width: 170px;
        margin: 0 auto;
    }

    .portrait-card-text {
        text-align: left;
    }
}

/* IYRP Section on Homepage */
.iyrp-section {
    scroll-margin-top: 1.5rem;
    margin-top: 2rem;
}

.iyrp-section .iyrp-logo-banner {
    text-align: center;
    margin: 1.5rem 0 2rem 0;
}

.iyrp-section .iyrp-logo-banner img {
    max-width: 420px;
    width: 100%;
    height: auto;
}

/* Schedule Block Styling */
.schedule-block {
    background-color: #FFFFFF;
    border-radius: 8px;
    border-left: 6px solid var(--uwinnipeg-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.block-header {
    background-color: #F8F9FA;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--uwinnipeg-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.block-time {
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    float: right;
}

.block-title {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--uwinnipeg-black);
}

.container h2:not(.schedule-main-title) {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--uwinnipeg-red);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding: 0;
    border: none;
    background: transparent;
}

.block-theme {
    padding: 1rem 1.8rem;
    font-size: 0.95rem;
    color: var(--uwinnipeg-gray);
    font-style: italic;
    background-color: #FCFCFD;
    border-bottom: 1px dashed var(--uwinnipeg-border);
}

/* Film Cards within Block */
.films-list {
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.film-card {
    background-color: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.film-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(231, 28, 49, 0.14);
    border-color: var(--uwinnipeg-red);
}

.film-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--uwinnipeg-dark);
    position: relative;
    border-bottom: 1px solid var(--uwinnipeg-border);
}

.film-card-cover a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.film-cover-img,
.film-card-cover .film-thumb,
.film-card-cover img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.film-card:hover .film-cover-img,
.film-card:hover .film-card-cover .film-thumb,
.film-card:hover .film-card-cover img {
    transform: scale(1.04);
}

.film-card-content,
.film-card .film-info {
    padding: 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.film-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.film-card-title a,
.film-title-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.film-card-title a:hover,
.film-title-link:hover {
    color: var(--uwinnipeg-red);
}

.film-synopsis-snippet {
    font-size: 0.92rem;
    color: #4A5568;
    line-height: 1.55;
    margin: 0.8rem 0;
}

.film-card-footer {
    margin-top: 1rem;
    margin-bottom: 0;
}

.film-card-footer a {
    color: var(--uwinnipeg-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s ease;
}

.film-card:hover .film-card-footer a {
    transform: translateX(4px);
}

.film-thumb {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background-color: var(--uwinnipeg-dark);
}

.film-meta-pills {
    display: flex;
    gap: 0.6rem;
    margin: 0.4rem 0 0.6rem 0;
    flex-wrap: wrap;
}

.pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background-color: #EDF2F7;
    color: #2D3748;
}

.pill-red {
    background-color: rgba(231, 28, 49, 0.1);
    color: var(--uwinnipeg-red);
}

.pill-gold {
    background-color: #FEF3C7;
    color: #92400E;
}

.pill-feature {
    background-color: #E0E7FF;
    color: #3730A3;
}

.pill-time {
    background-color: #E2E8F0;
    color: #1E293B;
    font-weight: 600;
}

/* ==========================================================================
   Card Start Time Pill (Top Right Corner Across All Card Types)
   ========================================================================== */
.card-time-pill {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 14px;
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 6px rgba(231, 28, 49, 0.25);
    z-index: 2;
    white-space: nowrap;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
}

.card-time-pill i {
    font-size: 0.85rem;
    color: #FFFFFF;
}

/* ==========================================================================
   Session Start Time Pill
   ========================================================================== */
.session-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    vertical-align: middle;
    padding: 0.25rem 0.75rem;
    border-radius: 14px;
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    box-shadow: 0 2px 6px rgba(231, 28, 49, 0.25);
    white-space: nowrap;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
}

.session-time-pill i {
    font-size: 0.9rem;
    color: #FFFFFF;
}

.film-synopsis-snippet {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.45;
}

/* ==========================================================================
   Program Block Film Card Format (200px Thumbnail Horizontal Card)
   Program Block Film Card Format (300px Thumbnail Horizontal Card)
   ========================================================================== */
.film-card.program-film-item,
.program-film-item {
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.film-card.program-film-item:hover,
.program-film-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231, 28, 49, 0.12);
    border-color: var(--uwinnipeg-red);
}

.program-film-thumb {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--uwinnipeg-dark);
    border: 1px solid var(--uwinnipeg-border);
    margin: 0;
    line-height: 0;
}

.program-film-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.program-film-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.program-film-item:hover .program-film-img {
    transform: scale(1.04);
}

.program-film-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.program-film-header {
    margin: 0 0 0.35rem 0;
    padding: 0;
    padding-right: 6.25rem;
}

.detail-card .program-film-title,
.content-body .program-film-title,
.program-film-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 0.35rem;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
}

.program-film-title a {
    color: var(--uwinnipeg-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.program-film-title a:hover {
    color: var(--uwinnipeg-red);
}

.detail-card .film-meta-pills,
.program-film-body .film-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.55rem 0;
}

.detail-card .program-film-synopsis,
.content-body .program-film-synopsis,
.program-film-synopsis {
    font-size: 0.92rem;
    color: #4A5568;
    line-height: 1.55;
    margin-top: 0 !important;
    margin-bottom: 0.6rem !important;
}

.detail-card .program-film-footer,
.content-body .program-film-footer,
.program-film-footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 0.2rem;
}

.program-film-footer a {
    color: var(--uwinnipeg-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s ease;
}

.program-film-footer a:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

@media (max-width: 640px) {

    .film-card.program-film-item,
    .program-film-item {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1.1rem;
    }

    .program-film-thumb {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .program-film-header {
        padding-right: 0;
    }
}

/* Intermission Card */
.intermission-card {
    background: linear-gradient(90deg, #1E1E1E 0%, #323232 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.intermission-badge {
    background-color: var(--uwinnipeg-gold);
    color: #000000;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
}

.detail-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 2.8rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-top: 5px solid var(--uwinnipeg-red);
    margin-bottom: 2.5rem;
}

.detail-header-title {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--uwinnipeg-black);
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.detail-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 6px;
    margin: 2rem 0;
}

/* Content Body Typography & Spacing (uwinnipeg.ca style) */
.content-body,
.detail-card {
    line-height: 1.75;
    font-size: 1.05rem;
    color: #2D3748;
}

.content-body p,
.detail-card p {
    margin-top: 0;
    margin-bottom: 1.4rem;
    line-height: 1.75;
}

.content-body p:empty,
.detail-card p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.content-body h1,
.detail-card h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--uwinnipeg-black);
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.content-body h2,
.detail-card h2,
.section-h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--uwinnipeg-red);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 0;
    border: none;
    line-height: 1.3;
}

.content-body h3,
.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    margin-top: 2.2rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.content-body h4:not(.program-film-title),
.detail-card h4:not(.program-film-title) {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #4A5568;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.content-body ul,
.detail-card ul,
.content-body ol,
.detail-card ol {
    margin-top: 0.8rem;
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.content-body li,
.detail-card li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.content-body blockquote,
.detail-card blockquote {
    border-left: 4px solid var(--uwinnipeg-red);
    background-color: #F8F9FA;
    padding: 1.2rem 1.6rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

.publication-box {
    background-color: #F8F9FA;
    border-left: 4px solid var(--uwinnipeg-red);
    padding: 1.2rem 1.5rem;
    font-family: monospace;
    font-size: 0.95rem;
    color: #2D3748;
    margin: 1.8rem 0;
    border-radius: 0 4px 4px 0;
    line-height: 1.65;
}

/* World Map Card & Preview */
.map-card {
    text-align: center;
    background-color: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.world-map-svg {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.pastoralist-card {
    background: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid var(--uwinnipeg-red);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pastoralist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(231, 28, 49, 0.14);
    border-color: var(--uwinnipeg-red);
}

.pastoralist-card-cover {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background-color: #F0F4F8;
    border-bottom: 1px solid var(--uwinnipeg-border);
    position: relative;
}

.pastoralist-card-cover a {
    display: block;
    width: 100%;
    height: 100%;
}

.pastoralist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.pastoralist-card:hover .pastoralist-cover-img {
    transform: scale(1.04);
}

.pastoralist-card-content {
    padding: 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.pastoralist-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.pastoralist-card-title a {
    color: var(--uwinnipeg-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pastoralist-card-title a:hover {
    color: var(--uwinnipeg-red);
}

.pastoralist-card-location {
    font-size: 0.88rem;
    color: var(--uwinnipeg-gray);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pastoralist-card-footer {
    margin-top: 1rem;
    margin-bottom: 0;
}

.pastoralist-card-footer a {
    color: var(--uwinnipeg-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s ease;
}

.pastoralist-card:hover .pastoralist-card-footer a {
    transform: translateX(4px);
}

.map-preview-container {
    background-color: #F8F9FA;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 6px;
    margin: 0.8rem 0;
    padding: 0.4rem;
    text-align: center;
    overflow: hidden;
}

.map-preview-img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    border-radius: 4px;
}

/* Featured Films Shortcode Layout */
.featured-films-box {
    background-color: #F8F9FA;
    border: 1px solid var(--uwinnipeg-border);
    border-left: 4px solid var(--uwinnipeg-red);
    border-radius: 6px;
    padding: 1.2rem;
    margin: 1.2rem 0;
}

/* Featured Films Shortcode Layout (Full-Width List Items) */
ul.featured-films-list,
.content-body ul.featured-films-list,
.detail-card ul.featured-films-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}

li.featured-film-item,
.content-body li.featured-film-item,
.detail-card li.featured-film-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #FFFFFF;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--uwinnipeg-border);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

li.featured-film-item:hover,
.content-body li.featured-film-item:hover,
.detail-card li.featured-film-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 28, 49, 0.1);
    border-color: var(--uwinnipeg-red);
}

.featured-film-item img,
.featured-film-item .film-thumb {
    width: 200px;
    min-width: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.featured-film-info {
    flex: 1;
    min-width: 0;
}

/* Hero Combined Map Banner */
.hero-map-wrapper {
    width: 100%;
    background-color: #F0F4F8;
    padding: 2.5rem 1rem;
    border-bottom: 2px solid var(--uwinnipeg-border);
}

.hero-map-container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.hero-map-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--uwinnipeg-black);
    margin-bottom: 0.3rem;
}

.hero-map-subtitle {
    font-size: 0.95rem;
    color: var(--uwinnipeg-gray);
    margin-bottom: 1.5rem;
}

.card-hero,
.map-card-hero {
    background-color: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.world-map-hero-svg {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Homepage Pastoralist Synthesis Section */
.homepage-content-wrapper {
    margin-top: 1rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1E293B;
    margin-bottom: 2rem;
}

.synthesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.synthesis-card {
    background: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-top: 1.5rem;
}

.synthesis-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    margin-bottom: 0.8rem;
}

.synthesis-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
}

.btn-primary {
    display: inline-block;
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--uwinnipeg-red-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FFFFFF;
    color: var(--uwinnipeg-dark) !important;
    border: 1.5px solid var(--uwinnipeg-border);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--uwinnipeg-light);
    border-color: var(--uwinnipeg-red);
    color: var(--uwinnipeg-red) !important;
    transform: translateY(-2px);
}

/* Back Link from Detail Pages */
.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--uwinnipeg-red);
    font-weight: 700;
    text-decoration: none !important;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.detail-back-link:hover {
    color: var(--uwinnipeg-red-hover);
    transform: translateX(-3px);
}

/* Screening Session Banner on Film Detail Page */
.film-session-banner {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.2rem 0 1.6rem 0;
    padding: 1.1rem 1.3rem;
    background: #F8FAFC;
    border-left: 4px solid var(--uwinnipeg-red);
    border-radius: 0 8px 8px 0;
    border-top: 1px solid var(--uwinnipeg-border);
    border-right: 1px solid var(--uwinnipeg-border);
    border-bottom: 1px solid var(--uwinnipeg-border);
}

.film-session-banner-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--uwinnipeg-gray);
}

.film-session-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.film-session-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.95rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    text-decoration: none !important;
    color: var(--uwinnipeg-dark) !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.film-session-link:hover {
    background: #FFFFFF;
    border-color: var(--uwinnipeg-red);
    box-shadow: 0 3px 10px rgba(231, 28, 49, 0.12);
    color: var(--uwinnipeg-red) !important;
    transform: translateX(3px);
}

.film-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    background-color: rgba(231, 28, 49, 0.1);
    color: var(--uwinnipeg-red);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.film-session-title {
    flex-grow: 1;
    font-weight: 600;
}

.film-session-arrow {
    color: var(--uwinnipeg-red);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.film-session-link:hover .film-session-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Location Anchors Smooth Scrolling & Offset */
.session-time-pill[id],
.film-card[id] {
    scroll-margin-top: 2rem;
}


/* IYRP 2026 Spotlight Section */
.iyrp-spotlight-section {
    margin: 3.5rem 0;
}

.iyrp-banner {
    background: #FFFFFF;
    color: var(--uwinnipeg-dark);
    border-radius: 12px;
    padding: 2.2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--uwinnipeg-border);
    border-left: 6px solid #10B981;
}

.iyrp-logo-container {
    flex-shrink: 0;
    width: 220px;
    background-color: #F8FAFC;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.iyrp-logo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.iyrp-text-container h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--uwinnipeg-red);
    margin-bottom: 0.8rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.iyrp-text-container p {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.7;
}

.iyrp-link {
    color: #059669 !important;
    font-weight: 700;
    text-decoration: underline;
}

.iyrp-link:hover {
    color: #047857 !important;
}

/* Collaborating Partners Section */
.site-partners-section {
    margin: 5rem 0 0rem 0;
    padding: 3rem 0 2rem 0;
    background: #FAFAFA;
    border-top: 1px solid #E2E8F0;
    width: 100%;
}

.partner-group {
    margin-bottom: 2.8rem;
}

.partner-group:last-child {
    margin-bottom: 1rem;
}

.partner-group-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.partner-group-title::before,
.partner-group-title::after {
    content: "";
    height: 1px;
    background: #CBD5E1;
    flex: 1;
    max-width: 140px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
}

.partner-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border: none;
}

.partner-logo-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
}

.partner-logo-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Presenting Hosts */
.partners-grid-hosts .partner-card {
    flex: 0 0 420px;
    max-width: 420px;
}

.partners-grid-hosts .partner-logo-wrapper {
    height: 180px;
}

.partners-grid-hosts .partner-logo {
    max-height: 160px;
}

/* Event Partners */
.partners-grid-events {
    gap: 3rem;
}

.partners-grid-events .partner-card {
    flex: 0 0 320px;
    max-width: 320px;
}

.partners-grid-events .partner-logo-wrapper {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-grid-events .partner-logo {
    max-height: 130px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.partners-grid-events .partner-logo.partner-logo-culturedays,
.partners-grid-events img[src*="culturedays"] {
    height: 80px;
    max-height: 80px;
}

/* Festival Supporters (max 4 per row) */
.partners-grid-supporters .partner-card {
    flex: 0 0 calc(25% - 1.5rem);
    max-width: 256px;
}

.partners-grid-supporters .partner-logo-wrapper {
    height: 128px;
}

.partners-grid-supporters .partner-logo {
    max-height: 100px;
}

@media (max-width: 1100px) {
    .partners-grid-hosts .partner-card {
        flex: 0 0 calc(50% - 1.5rem);
        max-width: 360px;
    }

    .partners-grid-events {
        gap: 2rem;
    }

    .partners-grid-events .partner-card {
        flex: 0 0 calc(33.333% - 1.5rem);
        max-width: 280px;
    }

    .partners-grid-supporters .partner-card {
        flex: 0 0 calc(33.333% - 1.5rem);
        max-width: calc(33.333% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .partners-grid-events {
        gap: 1.75rem;
    }

    .partners-grid-events .partner-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .partners-grid-events .partner-logo-wrapper {
        height: 130px;
    }

    .partners-grid-events .partner-logo {
        max-height: 110px;
    }

    .partners-grid-events .partner-logo.partner-logo-culturedays,
    .partners-grid-events img[src*="culturedays"] {
        height: 65px;
        max-height: 65px;
    }

    .partners-grid-supporters .partner-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .partner-group {
        margin-bottom: 2rem;
    }

    .partner-group-title {
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    .partner-group-title::before,
    .partner-group-title::after {
        max-width: 60px;
    }

    .partners-grid {
        gap: 1.25rem;
    }

    .partners-grid-hosts .partner-card {
        flex: 0 0 100%;
        max-width: 320px;
    }

    .partners-grid-events .partner-card {
        flex: 0 0 100%;
        max-width: 280px;
    }

    .partners-grid-supporters .partner-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }

    .partners-grid-hosts .partner-logo-wrapper {
        height: 150px;
    }

    .partners-grid-hosts .partner-logo {
        max-height: 130px;
    }

    .partners-grid-events .partner-logo-wrapper {
        height: 120px;
    }

    .partners-grid-events .partner-logo {
        max-height: 100px;
    }

    .partners-grid-events .partner-logo.partner-logo-culturedays,
    .partners-grid-events img[src*="culturedays"] {
        height: 60px;
        max-height: 60px;
    }

    .partners-grid-supporters .partner-logo-wrapper {
        height: 90px;
    }

    .partners-grid-supporters .partner-logo {
        max-height: 75px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iyrp-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .iyrp-logo-container {
        width: 100%;
        max-width: 260px;
    }
}

/* Program Switcher Banner */
.program-switcher {
    background: linear-gradient(135deg, #1E1E1E 0%, #2D3748 100%);
    color: #FFFFFF;
    padding: 1.2rem 1.8rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--uwinnipeg-red);
}

.switcher-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.switcher-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.switcher-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    line-height: 1.3;
}

.switcher-btn:hover {
    background-color: var(--uwinnipeg-red);
    border-color: var(--uwinnipeg-red);
    transform: translateY(-2px);
}

.switcher-btn.active {
    background-color: var(--uwinnipeg-red);
    border-color: var(--uwinnipeg-red);
    box-shadow: 0 2px 8px rgba(231, 28, 49, 0.4);
}

.btn-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
}

/* Q&A Card Styling */
.qa-card {
    position: relative;
    background-color: #FFFBEB;
    border: 1px solid #FCD34D;
    border-left: 4px solid #D97706;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    padding-right: 5.5rem;
    margin: 0.8rem 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qa-badge {
    background-color: #D97706;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.qa-details {
    font-size: 0.95rem;
    color: #92400E;

}

.qa-time {
    color: #B45309;
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

.qa-film {
    font-size: 0.85rem;
    color: #78350F;
    margin-top: 0.2rem;
}

/* Roundtable Card Styling */
.roundtable-card {
    position: relative;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-left: 5px solid #2563EB;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.8rem 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.roundtable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-right: 5.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.roundtable-badge {
    background-color: #2563EB;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roundtable-time {
    background-color: #1E40AF;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.roundtable-title {
    font-family: var(--font-heading);
    color: #1E3A8A;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.roundtable-topic {
    font-size: 1rem;
    color: #1E40AF;
    margin-bottom: 0.6rem;

}

.roundtable-desc {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
}

/* Closed Event Card Styling */
.closed-event-card {
    position: relative;
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    border: 1px solid #DDD6FE;
    border-left: 5px solid #7C3AED;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.8rem 0;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.closed-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-right: 5.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.closed-event-badge {
    background-color: #7C3AED;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.closed-event-time {
    background-color: #581C87;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.closed-event-title {
    font-family: var(--font-heading);
    color: #4C1D95;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.closed-event-topic {
    font-size: 1rem;
    color: #6B21A8;
    margin-bottom: 0.6rem;
}

.closed-event-desc {
    font-size: 0.92rem;
    color: #3B0764;
    line-height: 1.6;
}

/* Panel Card Styling */
.panel-card {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-left: 4px solid #059669;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    margin: 0.8rem 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.panel-badge {
    background-color: #059669;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.panel-details {
    font-size: 0.95rem;
    color: #065F46;
}

.panel-time {
    color: #047857;
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

.panel-title {
    font-size: 0.85rem;
    color: #064E3B;
    margin-top: 0.2rem;
}

.panel-speakers li {
    margin-bottom: 0.2rem;
}

.panel-desc {
    font-size: 0.92rem;
    color: #1F2937;
    line-height: 1.6;
}

/* Day Tabs / Section Dividers */
.day-divider {
    background-color: var(--uwinnipeg-dark);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 2.5rem 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-left: 6px solid var(--uwinnipeg-red);
}

.day-divider h2 {
    color: #FFFFFF !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.day-meta {
    font-size: 0.9rem;
    color: #E2E8F0;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #E71C31;
    color: #FFFFFF;
    padding: 2.5rem 1.5rem;
    margin-top: 0rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
    text-align: center;
    gap: 6px;
    text-decoration: none !important;
    color: #FFFFFF !important;
    transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
    opacity: 0.9;
}

.footer-ger-logo {
    width: 44px;
    height: 44px;
    width: 48px;
    height: 48px;
    color: #FFFFFF;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.2px;
    text-align: center;
    line-height: 1.25;
}

.footer-brand-uwinnipeg {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.2;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

footer p {
    color: #FFFFFF;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

footer a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

footer a:hover {
    color: #F8F9FA;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-brand-row {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .footer-brand-name {
        font-size: 1.1rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
    }
}

/* Detail Film Image & 16:9 Aspect Ratio Stills */
.detail-img,
.film-card-thumb,
.film-item-thumb,
.film-thumb {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--uwinnipeg-border);
}

.detail-img {
    width: 60%;
    max-width: 60%;
    height: auto;
    display: block;
    margin: 1rem auto 1.5rem auto;
}

@media screen {

    .wiki-card-qr-container,
    .wiki-card-qr,
    .qr-code-img {
        display: none;
    }
}


/* Print & Links QR Code Styling */
.qr-code-img {
    float: right;
    width: 44px;
    height: 44px;
    margin-left: 10px;
    margin-bottom: 4px;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 3px;
    padding: 2px;
    background-color: #ffffff;
}


.wiki-link-box,
.pub-link {
    overflow: hidden;
    clear: both;
    margin-top: 0.5rem;
}

/* Wikipedia Card Shortcode Component (Full width) */
.wiki-card {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    background-color: #f8fafc;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.wiki-card-thumb-container {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
}

.wiki-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-card-body {
    flex-grow: 1;
}

.wiki-card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--uwinnipeg-red);
    margin-bottom: 3px;
}

.wiki-card-link {
    color: var(--uwinnipeg-black);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.35;
    display: inline-block;
    transition: color 0.2s ease;
}

.wiki-card-link:hover {
    color: var(--uwinnipeg-red);
    text-decoration: underline;
}

.wiki-card-qr-container {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 4px;
    padding: 2px;
    background-color: #ffffff;
}

.wiki-card-qr {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-header {
        padding: 1rem 1.2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }

    .brand-title-group {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .brand-header-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }

    .brand-ger-logo {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }

    .brand-title {
        font-size: 1.35rem;
        text-align: center;
        line-height: 1.25;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem 0.6rem;
        width: 100%;
    }

    .festival-meta-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        padding: 0.65rem 1rem;
    }

    .festival-meta-sep {
        display: none !important;
    }

    .festival-meta-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.2rem;
    }

    .festival-meta-icon {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }

    .festival-meta-value {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.3;
    }

    .nav-links a {
        font-size: 0.88rem;
        padding: 0.3rem 0.6rem;
    }

    .container {
        padding: 0 1rem;
        margin: 1.2rem auto;
    }

    .home-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .detail-card {
        padding: 1.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .detail-header-title {
        font-size: 1.65rem;
        margin-bottom: 0.8rem;
    }

    .day-divider {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem;
        gap: 0.4rem;
    }

    .day-divider h2 {
        font-size: 1.2rem !important;
    }

    .day-meta {
        font-size: 0.82rem;
    }

    .block-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.5rem;
    }

    .block-time {
        float: none;
        display: inline-block;
        margin-top: 0.4rem;
        margin-left: 0;
        font-size: 0.8rem;
    }

    .roundtable-header,
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .roundtable-card,
    .panel-card {
        padding: 1rem;
        margin: 1.2rem 0;
    }

    .content-body h2,
    .detail-card h2 {
        font-size: 1.35rem;
        margin-top: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .content-body h3,
    .detail-card h3 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .film-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .detail-card .film-meta-pills,
    .program-film-body .film-meta-pills {
        max-width: 100%;
    }

    .film-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-width: 100%;
    }

    .featured-film-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .featured-film-item img,
    .featured-film-item .film-thumb {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .detail-img {
        width: 100%;
        max-width: 100%;
    }

    .program-switcher {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
    }

    .switcher-buttons {
        flex-direction: column;
        width: 100%;
    }

    .switcher-btn {
        width: 100%;
    }

    .qa-card,
    .panel-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .wiki-card {
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wiki-card-thumb-container {
        width: 100%;
        height: 180px;
    }

    .films-list {
        padding: 0.8rem;
    }

    .splash-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 1rem !important;
    }

    .splash-stats-grid .splash-stat-item:nth-child(3):last-child,
    .splash-stats-grid .splash-stat-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .splash-stat-number {
        font-size: 2.8rem !important;
    }

}

/* Multi-Image Hero Splash Banner & High-Contrast Meta Bar */
:root {
    --header-height: 92px;
}

.splash-hero-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 480px;
    min-height: 420px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #FFFFFF;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 4px solid #FFFFFF;
}

.splash-hero-grid {
    display: flex;
    width: 100%;
    height: calc(100% - 76px);
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF;
}

.splash-hero-panel {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-right: 4px solid #FFFFFF;
}

.splash-hero-panel:last-child {
    border-right: none;
}

.splash-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
}

.splash-panel-overlay {
    display: none;
}

/* Center pastoralists/human herders in each vertical slice */
.splash-panel-0 .splash-panel-img {
    object-position: 45% 15%;
}

.splash-panel-1 .splash-panel-img {
    object-position: 47% 30%;
}

.splash-panel-2 .splash-panel-img {
    object-position: 23% 53%;
}

.splash-panel-3 .splash-panel-img {
    object-position: 62% 57%;
}

/* High-Contrast Chyron Meta Bar */
.splash-meta-bar {
    width: 100%;
    height: 76px;
    background: #0F141C;
    border-top: 4px solid #FFFFFF;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 0 2rem;
    margin: 0;
    box-sizing: border-box;
    z-index: 10;
}

.splash-meta-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
}

.splash-meta-icon-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.splash-meta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.splash-meta-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--uwinnipeg-gold);
    margin-bottom: 2px;
}

.splash-meta-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

.splash-meta-divider {
    width: 2px;
    height: 34px;
    background: #FFFFFF;
}

@media (max-width: 992px) {
    .splash-hero-banner {
        height: 440px;
    }

    .splash-hero-grid {
        height: calc(100% - 72px);
    }

    .splash-meta-bar {
        height: 72px;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .splash-meta-value {
        font-size: 1rem;
    }

    .splash-meta-icon-badge {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .splash-hero-banner {
        height: auto;
        max-height: none;
        margin-top: 0;
    }

    .splash-hero-grid {
        display: flex;
        flex-direction: row;
        height: 280px;
        width: 100%;
    }

    .splash-hero-panel {
        flex: 1;
        height: 100%;
        border-right: 2px solid #FFFFFF;
        border-bottom: none;
    }

    .splash-hero-panel:last-child {
        border-right: none;
    }

    .splash-meta-bar {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1.2rem 1rem;
    }

    .splash-meta-item {
        background: rgba(255, 255, 255, 0.05);
        /* border: 1.5px solid #FFFFFF;
        border-radius: 8px; */
        padding: 0.6rem 0.85rem;
    }

    .splash-meta-divider {
        display: none;
    }
}

/* Subheader Meta Bar (Location, Dates, Times) */
.festival-meta-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    background-color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 0.75rem 2rem;
    margin: 0;
    box-shadow: none;
}

.festival-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

a.festival-meta-link {
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    padding: 3px 8px;
    margin: -3px -8px;
    transition: all 0.2s ease;
}

a.festival-meta-link:hover {
    background-color: rgba(231, 28, 49, 0.08);
}

a.festival-meta-link:hover .festival-meta-value {
    color: var(--uwinnipeg-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.splash-meta-link {
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: all 0.2s ease;
}

a.splash-meta-link:hover {
    opacity: 0.9;
}

a.splash-meta-link:hover .splash-meta-value {
    color: var(--uwinnipeg-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.festival-meta-icon {
    font-size: 1.15rem;
    color: var(--uwinnipeg-red);
    display: inline-flex;
    align-items: center;
}

.festival-meta-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--uwinnipeg-red);
}

.festival-meta-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
}

.festival-meta-sep {
    color: #CBD5E1;
    font-weight: bold;
    font-size: 1.1rem;
}

.festival-splash-container {
    margin: 1.5rem 0 2.5rem 0;
}

/* Stats 3-Column Grid */
.splash-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.splash-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.splash-stat-number {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    color: var(--uwinnipeg-red);
    line-height: 1;
    letter-spacing: -1.5px;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(231, 28, 49, 0.1);
}

.splash-stat-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--uwinnipeg-dark);
    max-width: 180px;
    line-height: 1.35;
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Row of SVG Livestock Icons */
.splash-livestock-section {
    margin-top: 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
    width: 100%;
}

.splash-livestock-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
}

.livestock-icon-item {
    background: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 50%;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    transition: transform 0.25 ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
}

.livestock-icon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--uwinnipeg-red);
}


.livestock-svg {
    width: 48px;
    height: 48px;
    color: var(--uwinnipeg-red);
}


.livestock-icon-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--uwinnipeg-dark);
    margin-top: 0.5rem;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Series Spotlight & Configurable Series Cards with Square Cover Images
   ========================================================================== */
.series-spotlight-section {
    margin: 2.5rem 0;
}

.series-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.series-card {
    background: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.series-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.series-card-cover-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #111111;
    position: relative;
}

.series-card-cover-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.series-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.series-card:hover .series-cover-img {
    transform: scale(1.06);
}

.series-card-montage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background-color: #111111;
    position: relative;
    text-decoration: none;
}

.series-montage-grid {
    grid-template-columns: repeat(2, 1fr);
}

.series-montage-slice {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.series-montage-slice:last-child {
    border-right: none;
}

.series-montage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.series-card:hover .series-montage-img {
    transform: scale(1.08);
}

.series-card-content {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.series-card-tagline {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.series-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.series-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--uwinnipeg-black);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.series-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.series-card-title-link:hover {
    color: var(--uwinnipeg-red);
}

.series-card-body {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

.series-card-body p:last-child {
    margin-bottom: 0;
}

.series-card-footer {
    padding-top: 0.9rem;
    border-top: 1px solid #F0F0F0;
    margin-top: auto;
}

.series-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.series-card-btn:hover {
    gap: 0.7rem;
    opacity: 0.85;
}

.series-card-arrow {
    transition: transform 0.2s ease;
}

.series-card-btn:hover .series-card-arrow {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .series-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .series-card-montage {
        height: 120px;
    }

    .series-card-content {
        padding: 1.25rem 1.4rem;
    }
}

/* ==========================================================================
   2-Card Column Grid for List Pages
   ========================================================================== */
.card-grid-2col,
.list-card-grid-2col,
.films-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.card-grid-2col .film-card,
.list-card-grid-2col .film-card,
.films-grid-2col .film-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
}

.card-grid-2col .film-thumb,
.list-card-grid-2col .film-thumb,
.films-grid-2col .film-thumb,
.card-grid-2col .film-cover-img,
.list-card-grid-2col .film-cover-img,
.films-grid-2col .film-cover-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {

    .card-grid-2col,
    .list-card-grid-2col,
    .films-grid-2col {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ==========================================================================
   Directions Page Styling
   ========================================================================== */
.directions-lead-box {
    background: #F8FAFC;
    border-left: 5px solid var(--uwinnipeg-red);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem 1.8rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.directions-lead-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--uwinnipeg-red);
    margin-bottom: 0.5rem;
}

.directions-lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1E293B;
    font-weight: 500;
    margin: 0;
}

.directions-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.directions-step-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.directions-step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.directions-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--uwinnipeg-red);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.directions-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    margin: 0 0 0.5rem 0;
}

.directions-step-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.directions-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    margin: 2rem 0;
}

.directions-map-iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
}

.directions-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0 2rem 0;
}

.directions-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.directions-info-card {
    background: #F8FAFC;
    border-radius: 10px;
    padding: 1.4rem;
    border: 1px solid #E2E8F0;
}

.directions-info-icon {
    font-size: 1.5rem;
    color: var(--uwinnipeg-red);
    margin-bottom: 0.6rem;
    display: inline-block;
}

.directions-info-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    margin: 0 0 0.5rem 0;
}

.directions-info-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 820px) {
    .directions-steps-container {
        grid-template-columns: 1fr;
    }
    .directions-info-grid {
        grid-template-columns: 1fr;
    }
    .directions-map-iframe {
        height: 340px;
    }
}

/* ==========================================================================
   Film Strip Slideshow (Homepage Featured Films)
   ========================================================================== */

.film-slideshow-wrapper {
    position: relative;
    margin: 2rem 0;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #0B0F19;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.25), 0 8px 12px -6px rgba(0, 0, 0, 0.15);
    outline: none;
}

.film-slideshow-wrapper:focus-visible {
    box-shadow: 0 0 0 3px var(--uwinnipeg-red), 0 12px 28px -6px rgba(0, 0, 0, 0.25);
}

.film-slideshow-viewport {
    position: relative;
    width: 100%;
    height: clamp(420px, 52vh, 520px);
    overflow: hidden;
}

.film-slideshow-track {
    display: flex;
    height: 100%;
    align-items: stretch;
    user-select: none;
    -webkit-user-select: none;
    padding: 0 10px;
}

.film-slideshow-slide {
    flex: 0 0 clamp(320px, 76vw, 840px);
    margin: 0 10px;
    height: 100%;
    position: relative;
    text-decoration: none !important;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    opacity: 0.45;
    transform: scale(0.93);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    cursor: pointer;
    background-color: #111827;
}

.film-slideshow-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.film-slideshow-image-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.film-slideshow-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

.film-slideshow-slide.is-active:hover .film-slideshow-img {
    transform: scale(1.035);
}

/* Bottom third gradient overlay */
.film-slideshow-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 35%;
    max-height: 48%;
    padding: 2.2rem 2rem 1.5rem 2rem;
    background: linear-gradient(to top, 
        rgba(11, 15, 25, 0.98) 0%, 
        rgba(11, 15, 25, 0.88) 50%, 
        rgba(11, 15, 25, 0.45) 80%, 
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 3;
}

.film-slideshow-slide .film-slideshow-title,
.film-slideshow-wrapper .film-slideshow-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 0.65rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
    line-height: 1.25;
}

.film-slideshow-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.slideshow-pill {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.slideshow-pill.pill-duration {
    background-color: var(--uwinnipeg-red);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slideshow-pill.pill-community {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Floating Navigation Arrows */
.slideshow-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slideshow-nav-btn:hover {
    background: var(--uwinnipeg-red);
    border-color: var(--uwinnipeg-red);
    transform: translateY(-50%) scale(1.08);
}

.slideshow-nav-btn.prev {
    left: 1.25rem;
}

.slideshow-nav-btn.next {
    right: 1.25rem;
}

/* Control Bar & Progress Indicator */
.slideshow-controls-bar {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.slideshow-counter {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.slideshow-current-num {
    color: #FFFFFF;
}

.slideshow-sep {
    color: rgba(255, 255, 255, 0.45);
}

.slideshow-total-num {
    color: rgba(255, 255, 255, 0.7);
}

.slideshow-progress-bar {
    width: 44px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
}

.slideshow-progress-fill {
    height: 100%;
    background: var(--uwinnipeg-red);
    width: 3.4%;
    transition: width 0.4s ease;
}

@media (max-width: 768px) {
    .film-slideshow-viewport {
        height: clamp(380px, 58vh, 440px);
    }
    .film-slideshow-slide {
        flex: 0 0 88%;
        margin: 0 6px;
    }
    .film-slideshow-overlay {
        padding: 1.5rem 1.2rem 1.1rem 1.2rem;
        min-height: 38%;
    }
    .film-slideshow-slide .film-slideshow-title,
    .film-slideshow-wrapper .film-slideshow-title {
        font-size: 1.18rem;
        margin-bottom: 0.5rem;
    }
    .slideshow-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .slideshow-nav-btn.prev {
        left: 0.6rem;
    }
    .slideshow-nav-btn.next {
        right: 0.6rem;
    }
    .slideshow-controls-bar {
        top: 0.75rem;
        right: 0.75rem;
    }
}