/*
 * Author: Eric Hendrickson
 * Date: August 28, 2026
 * Version: 1.7
 * File name: main.css
 *
 * Revision history:
 * - Cleaned and reorganized stylesheet.
 * - Consolidated responsive/mobile rules.
 * - Improved mobile header layout.
 * - Added responsive logo sizing.
 * - Kept hamburger menu visible beside logo on mobile.
 * - Retained existing hero, ticker, board, event, and content styling.
 * - Consolidated ticker overlay styling across desktop and mobile.
 * - Fixed overlay rules that were unintentionally nested in the small-phone media query.
 * - Removed duplicate and conflicting ticker overlay declarations.
 */

/* ================================================================
   Root Variables
   ================================================================ */

:root {
    --bg: #0b1220;
    --bg-soft: #111b2f;
    --text: #f7fafc;
    --muted: #cbd5e1;
    --card: rgba(255, 255, 255, 0.94);
    --card-text: #172033;
    --accent: #f36f21;
    --accent-strong: #d71920;
    --accent-cool: #2b73ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --max-width: 1180px;
}

/* ================================================================
   Base / Reset
   ================================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: inherit;
}

/* ================================================================
   Accessibility
   ================================================================ */

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 99;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: white;
    color: black;
    border-radius: 0.5rem;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* ================================================================
   Site Header
   ================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 18, 32, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ================================================================
   Branding
   ================================================================ */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.brand img {
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ================================================================
   Main Navigation
   ================================================================ */

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.site-nav a {
    padding: 0.7rem 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition:
*background* 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.site-nav .nav-donate {
    margin-left: 0.35rem;
    color: white;
    background: var(--accent-strong);
}

.site-nav .nav-donate:hover {
    background: #ff3038;
}

/* ================================================================
   Hamburger Menu
   ================================================================ */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.menu-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: white;
}

/* ================================================================
   Header Event Ticker
   ================================================================ */

.header-ticker {
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(243, 111, 33, 0.16),
            rgba(43, 115, 255, 0.14)
        );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-ticker-inner {
    max-width: var(--max-width);
    min-height: 52px;
    margin: 0 auto;
    padding: 0.72rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ticker-label {
    flex-shrink: 0;
    color: #ffbf8e;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ticker-content {
    position: relative;
    width: 100%;
    min-height: 1.6em;
    overflow: hidden;
}

.ticker-item {
    display: none;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.96rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ticker-item.active {
    display: block;
}

.ticker-item a {
    text-decoration: none;
}

.ticker-item a:hover {
    color: white;
    text-decoration: underline;
}

.ticker-date {
    margin-right: 0.5rem;
    color: #ffbf8e;
    font-weight: 800;
}

/* ================================================================
   Hero
   ================================================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 82px);
    padding: 2rem 1.25rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(11, 18, 32, 0.28),
            rgba(11, 18, 32, 0.74)
        ),
        url("../images/hero.jpg") center center / cover no-repeat,
        linear-gradient(
            135deg,
            #0b1220,
            #15223c 58%,
            #0b1220
        );
}

/*
 * Disabled so the uploaded hero image remains clearly visible.
 */

.hero::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(43, 115, 255, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 82% 26%,
            rgba(243, 111, 33, 0.20),
            transparent 28%
        ),
        linear-gradient(
            to bottom,
            rgba(11, 18, 32, 0.05),
            rgba(11, 18, 32, 0.62)
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.eyebrow {
    color: #ffbf8e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0.2rem 0 1rem;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.hero-copy,
.page-hero p {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-copy {
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.page-hero .button {
    margin-top: 1.2rem;
    margin-bottom: 10rem;
}

/* ================================================================
   Buttons
   ================================================================ */

.button {
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition:
        transform 0.18s ease,
        filter 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.button-primary {
    color: white;
    background: var(--accent-strong);
}

.button-secondary {
    margin-left: 0.75rem;
    color: #172033;
    background: white;
}

/* ================================================================
   Homepage Quick Actions
   ================================================================ */

.quick-actions {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 5rem;
    width: min(var(--max-width), calc(100% - 2.5rem));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    transform: translateX(-50%);
}

.quick-actions a {
    min-height: 126px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #172033;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition:
        transform 0.18s ease,
*background* 0.18s ease;
}

.quick-actions a:hover {
    background: #fff7ef;
    transform: translateY(-5px);
}

.quick-actions span {
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.quick-actions small {
    color: #526174;
    font-weight: 800;
}

/* ================================================================
   Content Sections
   ================================================================ */

.content-band {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.content-card,
.page-content {
    padding: 2rem;
    color: var(--card-text);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content-card h2,
.page-content h2 {
    margin-top: 0;
    letter-spacing: -0.03em;
}

.page-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.page-hero {
    min-height: 330px;
    padding: 3rem 0;
    display: grid;
    align-content: center;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.page-content {
    max-width: 850px;
}

/* ================================================================
   Responsive Images
   ================================================================ */

.page-content img,
.about-document img {
    display: block;
    max-width: 100%;
    height: auto;
}

.page-lead-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 12px;
}

/* ================================================================
   Board Member Cards
   ================================================================ */

.board-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.board-card-photo {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    object-fit: cover;
    border: 4px solid #f36f21;
    border-radius: 50%;
}

.board-card-content h3 {
    margin-top: 0;
}

/* ================================================================
   About WVARA
   ================================================================ */

.about-wvara {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-wvara h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.about-wvara p {
    margin-bottom: 1.1rem;
}

.about-highlight {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: rgba(243, 111, 33, 0.08);
    border-left: 4px solid #f36f21;
    border-radius: 8px;
}

.about-highlight p {
    margin-bottom: 0;
}

/* ================================================================
   Repeater Table
   ================================================================ */

.repeater-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    text-align: left;
}

.repeater-table thead tr {
    background: #f2f2f2;
    border-bottom: 2px solid #ccc;
}

.repeater-table th,
.repeater-table td {
    padding: 10px;
}

.repeater-table tbody tr {
    border-bottom: 1px solid #eee;
}

.repeater-status-operating {
    color: green;
    font-weight: 700;
}

/* ================================================================
   Groups.io Latest Post Widget
   ================================================================ */

.wvara-groupsio-latest h3 {
    margin-bottom: 0.35rem;
}

.wvara-groupsio-meta {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    opacity: 0.75;
}

.wvara-groupsio-message p {
    margin-bottom: 0;
}

/* ================================================================
   WVARA Event Cards
   ================================================================ */

.wvara-events-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.wvara-event-card {
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.wvara-event-card-header {
    padding: 1.25rem 1.5rem;
    background: #dadfe5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wvara-event-card-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    line-height: 1.2;
}

.wvara-event-schedule {
    margin: 0;
    color: #345;
    font-size: 1rem;
    font-weight: 600;
}

.wvara-event-card-body {
    padding: 1.5rem;
}

.wvara-event-detail {
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.wvara-event-label {
    margin-right: 0.35rem;
    font-weight: 700;
}

.wvara-event-details {
    margin: 0;
    padding: 0;
}

.wvara-event-detail-row {
    margin-bottom: 0.75rem;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.75rem;
    line-height: 1.5;
}

.wvara-event-detail-row dt {
    color: #223344;
    font-weight: 700;
}

.wvara-event-detail-row dd {
    min-width: 0;
    margin: 0;
}

.wvara-event-detail-row a {
    overflow-wrap: anywhere;
}

.wvara-event-description {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wvara-event-description p {
    margin: 0;
    line-height: 1.6;
}

.wvara-event-card a {
    color: #0b5cab;
    font-weight: 600;
    text-decoration: none;
}

.wvara-event-card a:hover,
.wvara-event-card a:focus {
    text-decoration: underline;
}

/* ================================================================
   Footer
   ================================================================ */

.site-footer {
    color: var(--muted);
    background: #070b14;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================================================
   Nets Table - Desktop / Default
   ================================================================ */

.nets-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.nets-table thead {
    background: #f2f2f2;
}

.nets-table th,
.nets-table td {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nets-table th {
    font-weight: 700;
}

.nets-table .net-name {
    font-weight: 700;
}

.nets-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.025);
}

/* ================================================================
   Mobile / Tablet
   ================================================================ */

@media (max-width: 820px) {
    /*
     * Header
     */

    .header-inner {
        position: relative;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand img {
        width: clamp(150px, 55vw, 200px);
        max-width: 100%;
        height: auto;
    }

    /*
     * The graphic already identifies the club, so the additional
     * text label is unnecessary on narrow screens.
     */

    .brand span {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        flex: 0 0 44px;
        margin-left: auto;
    }

    /*
     * Mobile Navigation
     */

    .site-nav {
        position: absolute;
        z-index: 30;
        top: 100%;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        background: rgba(11, 18, 32, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        border-radius: 12px;
    }

    .site-nav .nav-donate {
        margin-left: 0;
    }

    /*
    * Header Ticker
    */

    .header-ticker {
        overflow: hidden;
    }

    .header-ticker-inner {
        padding: 0.65rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .ticker-content {
        width: 100%;
        height: 2.7rem;
        overflow: hidden;
    }

    .ticker-item {
        height: 2.7rem;
        overflow: hidden;
        font-size: 0.9rem;
        line-height: 1.35;
        white-space: normal;
        text-overflow: clip;
    }

    .ticker-item.active {
        display: flex;
        align-items: center;
    }

    /*
     * Homepage
     */

    .quick-actions,
    .content-band {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: -6rem;
        padding: 0 1.25rem 2rem;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0 0;
        display: block;
        background-position: center top;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 1.25rem 7rem;
    }

    .hero-actions {
        display: grid;
        gap: 0.75rem;
        justify-items: center;
    }

    .button-secondary {
        margin-top: 0.75rem;
        margin-left: 0;
    }

    /*
     * Footer
     */

    .footer-inner {
        display: block;
    }

}

/* ================================================================
   Small Phones
   ================================================================ */

@media (max-width: 640px) {
    .wvara-event-card-header,
    .wvara-event-card-body {
        padding: 1rem;
    }

    .wvara-event-card-header h2 {
        font-size: 1.25rem;
    }

    /*
    * Board biographies
    */

    .board-card {
        display: block;
        padding: 1.25rem;
    }

    .board-card-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .board-card-content {
        width: 100%;
        min-width: 0;
    }

    .board-card-content h3 {
        text-align: center;
    }

    .board-card-content p {
        overflow-wrap: anywhere;
       }

    /* ================================================================
    Nets Table
    ================================================================ */

 /*
 * Nets table - small screens
 */

.nets-table,
.nets-table tbody,
.nets-table tr,
.nets-table td {
    display: block;
    width: 100%;
}

.nets-table thead {
    display: none;
}

.nets-table tbody tr {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.nets-table td {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.5rem 0;
    border: 0;
}

.nets-table td + td {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nets-table td::before {
    content: attr(data-label);
    color: #526174;
    font-weight: 700;
}

.nets-table .net-name {
    font-size: 1.05rem;
    font-weight: 800;
}

       /*
    * Repeater table - small screens
    */

    .repeater-table,
    .repeater-table tbody,
    .repeater-table tr,
    .repeater-table td {
        display: block;
        width: 100%;
    }

    .repeater-table thead {
        display: none;
    }

    .repeater-table tbody tr {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        background: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 10px;
    }

    .repeater-table td {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.5rem 0;
        border: 0;
    }

    .repeater-table td + td {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .repeater-table td::before {
        content: attr(data-label);
        color: #526174;
        font-weight: 700;
    }

    .repeater-table td:first-child {
        font-size: 1.1rem;
        font-weight: 800;
    }

}

/* ================================================================
   Upcoming Events Detail Overlay
   Unified desktop / tablet / mobile styling
   ================================================================ */

body.ticker-overlay-open {
    overflow: hidden;
}

#ticker-overlay[hidden] {
    display: none;
}

.ticker-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding:
        calc(env(safe-area-inset-top, 0px) + 2rem)
        1rem
        calc(env(safe-area-inset-bottom, 0px) + 2rem);
    background: rgba(4, 10, 22, 0.58);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.ticker-overlay-dialog {
    width: min(560px, 100%);
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 2rem;
    color: #f7fafc;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(28, 42, 67, 0.88),
            rgba(11, 18, 32, 0.76)
        );
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ticker-overlay-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    min-height: 48px;
    margin: 0 auto 1.4rem;
    padding: 0.65rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: var(--accent-strong);
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.ticker-overlay-close-x {
    font-size: 1.45rem;
    line-height: 1;
}

@media (hover: hover) {
    .ticker-overlay-close:hover {
        background: #ff3038;
        transform: translateY(-1px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    }

}

.ticker-overlay-close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.ticker-overlay-eyebrow {
    margin: 0 0 0.5rem;
    color: #ffbf8e;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
}

.ticker-overlay-dialog h2 {
    margin: 0 0 1.5rem;
    color: #ffffff;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.25;
    text-align: center;
}

.ticker-overlay-details {
    display: grid;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ticker-overlay-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ticker-overlay-label {
    width: 100%;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-align: center;
}

.ticker-overlay-value {
    width: 100%;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 640px) {
    .ticker-overlay {
        padding:
            calc(env(safe-area-inset-top, 0px) + 0.75rem)
            0.75rem
            calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
    }

    .ticker-overlay-dialog {
        padding: 1.25rem 1.25rem 1.5rem;
        border-radius: 20px;
    }

}

