/* ==========================================================================
   RuneCake — readable navigation labels
   The seasonal display styling shrank navigation text to tiny uppercase
   Cinzel with wide tracking. Combined with white-space:nowrap and
   overflow:hidden, longer labels lost their second half. This layer keeps the
   heraldic colours but restores full, calm, high-contrast wording.
   ========================================================================== */

/* ---------- Header navigation buttons ---------- */
.header.rs-navbar .rs-nav-main a {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    text-transform: none;
    white-space: normal;
    min-width: 66px;
}

.header.rs-navbar .rs-nav-label {
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

/* ---------- Hero shortcuts directly under the Christmas ribbon ---------- */
.cta-buttons {
    gap: 0.7rem;
}

.cta-buttons .btn-hero {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
    min-height: 46px;
    padding: 0.62rem 1rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.3;
    text-transform: none;
    text-shadow: none;
    white-space: normal;
    overflow: hidden;
    animation: none;
}

/* The moving white sheen washed out dark text on gold. */
.cta-buttons .btn-hero::after { display: none; }

/* ---------- Section navigation tabs ---------- */
.tabs {
    flex-wrap: wrap;
    overflow-x: visible;
}

.tab {
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 0.6rem 0.9rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.3;
    text-transform: none;
    text-shadow: none;
    white-space: normal;
    overflow: hidden;
}

.tab.active { color: #1b1005; }

/* ---------- Small screens: one clear label per line ---------- */
@media (max-width: 768px) {
    .tab { width: 100%; }
    .header.rs-navbar .rs-nav-main a { flex: 1 1 auto; }
}

/* ---------- Wide screens: wrap instead of squashing ----------
   brand.css keeps every nav group on one line, which overflows between the
   hamburger breakpoint (1280px) and the point where all keys, the raffle
   readout, account chip and Spin button genuinely fit. Let the header move the
   whole nav to a second row, then let the nav split its own two groups if it
   still needs more room. Nothing is compressed or clipped. */
@media (min-width: 1280px) {
    .header.rs-navbar {
        flex-wrap: wrap;
        row-gap: 0.45rem;
    }

    .header.rs-navbar .nav {
        flex: 1 1 auto;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 0.45rem;
    }

    .rs-nav-main,
    .rs-nav-side {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rs-nav-main {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Keep the two-row layout compact in the tight desktop band. */
@media (min-width: 1280px) and (max-width: 1500px) {
    .header.rs-navbar .rs-nav-main a {
        min-width: 60px;
        padding: 0.35rem 0.42rem 0.3rem;
        font-size: 0.82rem;
    }

    .header.rs-navbar .rs-nav-screen { min-width: 132px; }
}
