/* ==================================================
   CHURCH LIVE PAGE (BLUE RAIN PARTICLES EDITION)
   THEME: ROYAL NAVY, METALLIC GOLD FOIL, & PURE WHITE
================================================== */

@import url('https://fonts.cdnfonts.com/css/linux-libertine');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-navy: #0b1f4d;
    --navy-dark: #030a1a;
    --navy-deep: #050d21;
    --accent-gold: #c3b091;
    --gold-bright: #dfb738;
    --gold-hover: #b29e7d;
    --gold-light: #f9f6f0;
    --gold-glow: rgba(223, 183, 56, 0.4);
    --live-red: #d32f2f;
    --live-red-glow: rgba(211, 47, 47, 0.45);
    --particle-blue: rgba(56, 189, 248, 0.6);
    --text-dark: #1e293b;
    --text-muted: #526075;
    --border-color: #e2e8f0;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f4f0e6 100%);
    --font-heading: 'Linux Libertine', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

    /* Advanced Depth Shadows */
    --shadow-sm: 0 4px 14px rgba(11, 31, 77, 0.05);
    --shadow-md: 0 14px 36px rgba(11, 31, 77, 0.1);
    --shadow-lg: 0 28px 60px rgba(11, 31, 77, 0.22);
    --shadow-glow: 0 0 45px rgba(195, 176, 145, 0.4);

    --radius-lg: 24px;
    --radius-md: 14px;
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================
   GLOBAL BASE
========================= */

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    font-family: var(--font-body);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

/* =========================
   LIVE HEADER SECTION + BLUE RAIN PARTICLES
========================= */

.live-header {
    padding: 100px 20px 12px;
    text-align: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

/* Glowing Radial Accents */
.live-header::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(195, 176, 145, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    top: -240px;
    right: -150px;
    pointer-events: none;
}

.live-header::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 31, 77, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -160px;
    left: -140px;
    pointer-events: none;
}
/* ==================================================
   MAJESTIC ALTAR SUNLIGHT & HOLY RAYS (ULTRA VISIBLE)
================================================== */

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* 1. SOLID SACRED SUNBEAMS (Matingkad na Sikat ng Langit) */
.header-particles::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120%;
    background: conic-gradient(
        from 180deg at 50% 0%,
        transparent 45%,
        rgba(223, 183, 56, 0.28) 48%,
        rgba(56, 189, 248, 0.25) 50%,
        rgba(223, 183, 56, 0.28) 52%,
        transparent 55%
    );
    filter: blur(10px);
    animation: holyRaysShimmer 5s infinite ease-in-out;
}

/* 2. HIGH-VISIBILITY GOLDEN SANCTUARY EMBERS (Kitang-Kita na Kislap) */
.particle {
    position: absolute;
    bottom: -20px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    /* Doblelaking Glow para siguradong Lilitaw */
    box-shadow:
        0 0 12px #dfb738,
        0 0 24px #dfb738,
        0 0 36px #0b1f4d;
    animation: brightPrayerRise 5s infinite ease-in-out;
}

/* Positions, Sizes & Speed */
.particle:nth-child(1) {
    left: 12%;
    animation-duration: 4.2s;
    animation-delay: 0s;
    width: 8px;
    height: 8px;
}
.particle:nth-child(2) {
    left: 28%;
    animation-duration: 5.5s;
    animation-delay: 1.2s;
    width: 14px;
    height: 14px;
}
.particle:nth-child(3) {
    left: 45%;
    animation-duration: 3.8s;
    animation-delay: 2.5s;
    width: 10px;
    height: 10px;
}
.particle:nth-child(4) {
    left: 62%;
    animation-duration: 6s;
    animation-delay: 0.5s;
    width: 16px;
    height: 16px;
}
.particle:nth-child(5) {
    left: 78%;
    animation-duration: 4.8s;
    animation-delay: 1.8s;
    width: 9px;
    height: 9px;
}
.particle:nth-child(6) {
    left: 88%;
    animation-duration: 5.1s;
    animation-delay: 3s;
    width: 12px;
    height: 12px;
}
.particle:nth-child(7) {
    left: 20%;
    animation-duration: 4.5s;
    animation-delay: 2.1s;
    width: 11px;
    height: 11px;
}
.particle:nth-child(8) {
    left: 70%;
    animation-duration: 5.8s;
    animation-delay: 0.9s;
    width: 15px;
    height: 15px;
}

/* Dynamic Animations */
@keyframes holyRaysShimmer {
    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(0.9);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.15);
    }
}

@keyframes brightPrayerRise {
    0% {
        transform: translateY(0) scale(0.6);
        opacity: 0;
    }
    20% {
        opacity: 1; /* Agad na lalabas at lilitaw */
    }
    80% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-380px) scale(1.4);
        opacity: 0;
    }
}
.header-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 52px;
    color: #000000;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(11, 31, 77, 0.1);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 34px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================
   LIVE BADGE
========================= */

.live-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 18px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* =========================
   STREAM SECTION
========================= */

.stream-section {
    padding: 28px 0 80px;
    background: var(--bg-gradient);
}

.stream-wrapper {
    max-width: 1480px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

.stream-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: start;
    gap: 28px;
}

.stream-main-column {
    min-width: 0;
    padding-top: 96px;
}

.video-card {
    border-radius: 16px;
    padding: 0 !important;
    margin: 0 !important;
    background: #000000;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(195, 176, 145, 0.75);
    overflow: hidden;
    position: relative;
    transition: var(--transition-fast);
}

#live-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    touch-action: pan-y;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.95);
}

.live-previous {
    position: sticky;
    top: 100px;
    margin-top: 96px;
    max-height: min(690px, calc(100vh - 124px));
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(195, 176, 145, 0.65);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.live-previous-heading h2 {
    margin: 0;
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.2;
}

.live-previous-heading p {
    margin: 6px 0 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.live-previous-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.live-previous-video {
    min-width: 0;
}

.live-previous-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: 0;
    background: #e2e8f0;
}

.live-previous-video h3 {
    margin: 8px 0 4px;
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.live-previous-date {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.live-previous-message {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.live-previous-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.live-previous-all:hover {
    color: #b71c1c;
}

footer.cosa-unique-footer-wrapper {
    padding: 8px 0;
    border-top: 1px solid rgba(220, 205, 181, 0.15);
    background: #0a1930;
    text-align: initial;
    box-shadow: none;
}

#live-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.loading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.5px;
}

.loading i {
    font-size: 3.2rem;
    color: var(--accent-gold);
}

/* =========================
   QUICK ACTION BAR
========================= */

.stream-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: #ffffff;
    color: var(--primary-navy);
    border: 1.5px solid rgba(195, 176, 145, 0.65);
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.action-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    color: #ffffff;
    border-color: var(--primary-navy);
    box-shadow: 0 10px 26px rgba(11, 31, 77, 0.32);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #102a66 0%, #06122d 100%);
    box-shadow: 0 12px 30px rgba(11, 31, 77, 0.4);
}

/* =========================
   MASS SCHEDULE
========================= */

.schedule {
    padding: 90px 20px;
    background: #ffffff;
    position: relative;
}

.schedule-container {
    max-width: 980px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.schedule h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 2.7rem;
    margin: 0 0 14px;
    font-weight: 700;
}

.schedule h2::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--gold-bright));
    margin: 18px auto 0;
    border-radius: 10px;
}

.schedule-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-color);
    background: #ffffff;
}

.schedule table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.schedule th {
    background: var(--primary-navy);
    color: #ffffff;
    padding: 22px 30px;
    font-family: var(--font-heading);
    font-size: 0.96rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    border-bottom: 3.5px solid var(--accent-gold);
}

.schedule td {
    padding: 22px 30px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    vertical-align: middle;
}

.schedule tr:last-child td {
    border-bottom: none;
}

.day-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(11, 31, 77, 0.08);
    color: var(--primary-navy);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.88rem;
    border: 1.5px solid rgba(11, 31, 77, 0.16);
}

.status-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-pill.regular {
    background: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
}

.status-pill.highlight {
    background: rgba(195, 176, 145, 0.32);
    color: #54401d;
    border: 1.5px solid var(--accent-gold);
}

.schedule td i {
    color: var(--accent-gold);
    margin-right: 10px;
}

/* ==================================================
   CHURCH LIVE POPUP
================================================== */

.live-popup,
#live-popup {
    display: none;
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 340px;
    max-width: calc(100vw - 36px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: var(--text-dark);
    border: 1.5px solid rgba(195, 176, 145, 0.8);
    border-radius: 22px;
    box-shadow:
        0 24px 55px rgba(3, 10, 26, 0.3),
        0 0 25px var(--gold-glow);
    padding: 22px;
    box-sizing: border-box;
    z-index: 9999;
}

.live-popup.show,
#live-popup.show {
    display: block;
}

.live-popup .close-btn,
#live-popup .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
}

.live-popup .live-status,
#live-popup .live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(211, 47, 47, 0.12);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    color: var(--live-red);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(211, 47, 47, 0.25);
}

.live-popup h3,
#live-popup h3 {
    margin: 4px 0 8px;
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.live-popup p,
#live-popup p {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.live-popup a,
#live-popup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 31, 77, 0.28);
}

/* ==================================================
   FOOTER (NO LOGO RING & ULTRA VISIBLE TITLE)
================================================== */

footer {
    margin-top: auto;
    background: linear-gradient(180deg, #071536 0%, #020712 100%);
    color: #ffffff;
    text-align: center;
    padding: 38px 20px 22px; /* Compact height */
    border-top: 4px solid var(--accent-gold);
    position: relative;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.35);
}

.footer-main {
    max-width: 800px;
    margin: 0 auto;
}

/* LOGO WITHOUT RING / BORDER */
.footer-main img {
    width: 130px;
    max-width: 85%;
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.85));
    border: none !important; /* Inalis ang ring */
    border-radius: 0 !important; /* Natural image shape */
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* HIGH-CONTRAST VISIBLE HEADING */
.footer-main h3 {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 6px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(223, 183, 56, 0.45);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tagline {
    font-size: 0.88rem;
    color: #e5d3b3 !important;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 1.15rem;
    border: 1.5px solid rgba(195, 176, 145, 0.55);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: var(--transition-fast);
}

.social a:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(195, 176, 145, 0.4);
}

.copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78) !important;
    border-top: 1px solid rgba(195, 176, 145, 0.25);
    padding-top: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.55;
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 768px) {
.stream-main-column {
        padding-top: 16px;
    }
    .live-header {
        padding: 32px 16px 28px;
    }

    .page-title {
        font-size: 2.3rem;
    }

    .stream-section {
        padding: 10px 0 45px;
    }

    .stream-wrapper {
        width: 100%;
    }

    .stream-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .video-card {
        border-radius: 0;
        border-right: 0;
        border-left: 0;
    }

    #live-container {
        border-radius: 0;
    }

    #live-container iframe,
    .live-previous-video iframe {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: auto;
    }

    .stream-actions {
        padding: 0 15px;
    }

    .live-previous {
        position: static;
        max-height: none;
        margin: 0 15px;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .live-previous-heading {
        display: block;
        margin: 0 15px 14px;
    }

    .live-previous-heading h2 {
        font-size: 1.4rem;
    }

    .live-previous-heading p {
        margin-bottom: 0;
    }

    .live-previous-list {
        display: flex;
        flex-direction: row;
        gap: 14px;
        margin: 0 -15px;
        padding: 4px 15px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 15px;
        overscroll-behavior-y: auto;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .live-previous-video {
        flex: 0 0 min(86vw, 420px);
        overflow: hidden;
        scroll-snap-align: start;
        border: 1px solid rgba(195, 176, 145, 0.65);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: var(--shadow-sm);
    }

    .live-previous-video iframe {
        border-radius: 0;
    }

    .live-previous-video h3,
    .live-previous-date {
        margin-right: 14px;
        margin-left: 14px;
    }

    .live-previous-video h3 {
        margin-top: 12px;
        font-size: 0.95rem;
    }

    .live-previous-date {
        margin-bottom: 14px;
    }

    .live-previous-all {
        justify-content: center;
        margin: 8px 0 0;
        padding: 14px 20px;
        border: 0;
        border-radius: 999px;
        background: var(--primary-navy);
        color: #ffffff;
        text-align: center;
    }

    .schedule {
        padding: 55px 16px;
    }

    @media (max-width: 520px) {
        .stream-actions {
            gap: 10px;
        }

        .stream-actions .action-btn {
            flex: 1 1 100%;
        }
    }

    .schedule h2 {
        font-size: 2rem;
    }

    .schedule th,
    .schedule td {
        padding: 15px 16px;
    }

    footer {
        padding: 32px 16px 18px;
    }

    .footer-main img {
        width: 110px;
    }

    .footer-main h3 {
        font-size: 1.5rem;
    }

    .live-popup,
    #live-popup {
        right: 16px;
        bottom: 16px;
        width: 250px;
        padding: 16px;
    }
}

/* ============================================================
   TYPOGRAPHY-ONLY ENHANCEMENT
   Existing live-page layout, full-width video, particles, and
   mobile spacing are intentionally preserved.
============================================================ */

:root {
    --font-heading: 'Linux Libertine', Georgia, 'Times New Roman', serif !important;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif !important;
}

html {
    text-rendering: optimizeLegibility;
    scroll-padding-top: 86px;
}

body,
button,
input,
select,
textarea,
a,
table,
th,
td,
.page-subtitle,
.schedule-intro,
.schedule td,
.loading,
.action-btn,
.live-badge,
.live-popup p,
.tagline,
.copyright {
    font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.schedule h2,
.schedule th,
.live-popup h3,
.footer-main h3 {
    font-family: var(--font-heading) !important;
    text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(223, 183, 56, 0.75);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
}
}

@media (max-width: 768px) {
    .live-popup h3,
    #live-popup h3 {
        font-size: 1.05rem;
    }

    .live-popup p,
    #live-popup p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .live-popup a,
    #live-popup a {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* Use the same page canvas and typography as the rest of the site. */
:root {
    --font-heading: 'Linux Libertine', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
    --bg-gradient: #f8f6f0;
}

body,
.live-header,
.live-main,
.live-content {
    background: #f8f6f0 !important;
    font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
}
