/* 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);
}

/* Header & Banner */
.brand-header {
    background-color: #E71C31;
    border-bottom: 4px solid white;
    color: #FFFFFF;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand-title-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.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-title {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: #F8F9FA;
    margin-top: 0.2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.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);
}

/* 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;
}

/* 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 {
    display: flex;
    gap: 1.5rem;
    background-color: #FFFFFF;
    border: 1px solid var(--uwinnipeg-border);
    border-radius: 6px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.film-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 28, 49, 0.15);
    border-color: var(--uwinnipeg-red);
}

.film-thumb {
    width: 360px;
    height: 220px;
    max-width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--uwinnipeg-dark);
}

.film-info {
    flex: 1;
}

.film-title-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--uwinnipeg-black);
    text-decoration: none;
}

.film-title-link:hover {
    color: var(--uwinnipeg-red);
}

.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);
}

.film-synopsis-snippet {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.45;
}

/* 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.6rem;
    line-height: 1.75;
}

.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.4rem;
    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: 1.2rem;
    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: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.content-body h4,
.detail-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #4A5568;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}

.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;
    padding: 1.2rem;
    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;
}

.pastoralist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(231, 28, 49, 0.12);
}

.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-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.featured-film-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--uwinnipeg-border);
}

.featured-film-item img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

/* 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);
}

/* 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 */
.partners-section {
    margin: 4rem 0 2rem 0;
}

.partners-intro {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    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 {
    height: 200px;
    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-height: 200px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-logo-wrapper {
        height: 90px;
    }

    .partner-logo {
        max-height: 85px;
    }
}

/* 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 {
    background-color: #FFFBEB;
    border: 1px solid #FCD34D;
    border-left: 4px solid #D97706;
    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;
}

.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 {
    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;
    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;
}

/* Panel Card Styling */
.panel-card {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-left: 5px solid #059669;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.panel-badge {
    background-color: #059669;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-time {
    background-color: #047857;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.panel-title {
    font-family: var(--font-heading);
    color: #065F46;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.panel-speakers {
    font-size: 0.95rem;
    color: #064E3B;
    margin-bottom: 0.8rem;
}

.panel-speakers ul {
    margin-top: 0.4rem;
    margin-left: 1.5rem;
}

.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;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer p {
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

footer a:hover {
    color: #F8F9FA;
}

/* Detail Film Image & 16:9 Aspect Ratio Stills */
.detail-img,
.film-card-thumb,
.film-item-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: flex-start;
        gap: 0.8rem;
    }

    .brand-title {
        font-size: 1.35rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.4rem 0.6rem;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.88rem;
        padding: 0.3rem 0.6rem;
    }

    .container {
        padding: 0 1rem;
        margin: 1.2rem auto;
    }

    .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;
    }

    .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%;
        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 {
        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;
    }
}