/* Halloween theme and page */
.theme-swatch--halloween {
    --swatch: #6b2f8a;
}

.theme--halloween {
    color: #fffaf0;
    background-color: #2a1747;
    background-image:
        linear-gradient(
            rgba(37, 18, 66, .18),
            rgba(27, 13, 48, .34)
        ),
        url("../img/theme-halloween.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.theme--halloween .eyebrow,
.theme--halloween .finished-message {
    color: #ffa32f;
}

.theme--halloween .timer div {
    background: rgba(39, 19, 68, .68);
    border-color: rgba(255, 163, 47, .38);
    box-shadow: 0 14px 35px rgba(18, 7, 31, .36);
    backdrop-filter: blur(12px);
}

.halloween-page {
    color: #fffaf0;
    background: #fff8f0;
}

.halloween-page main {
    background: #fff8f0;
}

.halloween-page .halloween-hero {
    color: #fffaf0;
    background-color: #2a1747;
    background-image:
        linear-gradient(
            rgba(37, 18, 66, .18),
            rgba(27, 13, 48, .34)
        ),
        url("../img/theme-halloween.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.halloween-page .halloween-hero h1 {
    color: #ffa32f;
    text-shadow: 0 3px 22px rgba(15, 6, 28, .58);
}

.halloween-page .halloween-hero .eyebrow {
    color: #ffe0a8;
}

.halloween-page .halloween-hero .timer div {
    background: rgba(39, 19, 68, .68);
    border-color: rgba(255, 163, 47, .38);
    box-shadow: 0 14px 35px rgba(18, 7, 31, .36);
    backdrop-filter: blur(12px);
}

.halloween-page .seo-content {
    box-sizing: border-box;
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding: 2rem 1.25rem;
    color: #352643;
    background: #fff;
    border: 1px solid #eadfee;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(42, 23, 71, .1);
}

.halloween-page .seo-content h2 {
    color: #512a6e;
}

/* Header navigation */
.site-header {
    position: relative;
    z-index: 100;
    display: block;
    padding: 14px 18px;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.site-header .brand img {
    width: 170px;
    height: auto;
}

.site-menu {
    position: relative;
}

.site-menu summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 16px;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.site-menu summary::-webkit-details-marker {
    display: none;
}

.site-menu__icon {
    display: grid;
    gap: 3px;
    width: 18px;
}

.site-menu__icon i {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.site-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(290px, calc(100vw - 36px));
    padding: 9px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.site-menu nav a {
    display: block;
    padding: 12px 14px;
    color: var(--navy);
    border-radius: 11px;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
}

.site-menu nav a:hover,
.site-menu nav a:focus-visible {
    color: var(--coral);
    background: #fff6f2;
}

/* Footer countdown links */
.footer-countdowns,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1rem;
    margin: 1rem auto;
}

.footer-countdowns span {
    width: 100%;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-countdowns a,
.footer-links a {
    color: #dbe5ef;
    font-size: .86rem;
    font-weight: 700;
    text-underline-offset: .2em;
}

@media (min-width: 900px) {
    .site-header {
        padding: 16px 5vw;
    }

    .site-header .brand img {
        width: 190px;
    }

    body.countdown-page.theme--halloween {
        background-image:
            linear-gradient(
                rgba(37, 18, 66, .18),
                rgba(27, 13, 48, .34)
            ),
            url("../img/theme-halloween-wide.webp");
    }

    .halloween-page .halloween-hero {
        background-image:
            linear-gradient(
                rgba(37, 18, 66, .18),
                rgba(27, 13, 48, .34)
            ),
            url("../img/theme-halloween-wide.webp");
    }

    .halloween-page .seo-content {
        padding: 3rem;
    }
}
