/* =========================================================
   EDSCAN HOLIDAYS PAGE
========================================================= */

.holidays-page {
    --holidays-navy: #071027;
    --holidays-blue: #1825b8;
    --holidays-cyan: #19c7f3;
    --holidays-yellow: #ffca28;
    --holidays-ivory: #f7f4ed;
    --holidays-border: #d9d6ce;

    background: var(--holidays-ivory);
}


/* =========================================================
   SHARED SHELL
========================================================= */

.holidays-shell {
    width: min(1450px, calc(100% - 96px));
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
========================================================= */

.holidays-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--holidays-blue);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .22em;
}


.holidays-eyebrow--light {
    color: var(--holidays-cyan);
}


/* =========================================================
   HERO
========================================================= */

.holidays-hero {
    position: relative;

    min-height: 780px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--holidays-navy);
}


/* HERO IMAGE */

.holidays-hero__image {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2200&q=92");

    background-size: cover;
    background-repeat: no-repeat;

    background-position: center 58%;

    transform: scale(1.02);
}


/* HERO OVERLAY */

.holidays-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,13,39,.98) 0%,
            rgba(5,13,39,.93) 28%,
            rgba(5,13,39,.67) 55%,
            rgba(5,13,39,.25) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5,13,39,.25),
            rgba(5,13,39,.42)
        );
}


/* HERO CONTENT */

.holidays-hero__inner {
    position: relative;
    z-index: 2;

    /*
     * IMPORTANT FIX:
     * Gives the text enough breathing room
     * beneath the site header / WP admin bar.
     */
    padding-top: 150px;
    padding-bottom: 90px;
}


/* HERO TITLE */

.holidays-hero h1 {
    max-width: 1050px;

    margin: 0;

    color: #fff;

    font-size: clamp(76px, 7.1vw, 118px);
    line-height: .91;

    letter-spacing: -.055em;
}


.holidays-hero h1 em {
    display: block;

    color: var(--holidays-yellow);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}


/* HERO COPY */

.holidays-hero p {
    max-width: 650px;

    margin: 35px 0 0;

    color: rgba(255,255,255,.77);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   WHEN WORDPRESS ADMIN BAR IS PRESENT
========================================================= */

/*
 * WordPress adds .admin-bar to the BODY when logged in.
 * This gives us a little more top room for the hero.
 */

.admin-bar .holidays-hero__inner {
    padding-top: 180px;
}


/* =========================================================
   INTRO
========================================================= */

.holidays-intro {
    padding: 110px 0 55px;
}


.holidays-intro__grid {
    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 90px;

    align-items: end;
}


.holidays-intro h2 {
    max-width: 850px;

    margin: 0;

    color: var(--holidays-navy);

    font-size: clamp(48px, 5vw, 78px);
    line-height: .97;

    letter-spacing: -.045em;
}


.holidays-intro h2 em {
    color: var(--holidays-blue);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}


.holidays-intro__grid > div:last-child p {
    max-width: 470px;

    margin: 0;

    color: #666c75;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FILTERS
========================================================= */

.holidays-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 45px;
}


.holidays-filter {
    appearance: none;
    -webkit-appearance: none;

    min-height: 44px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d8d5ce;
    border-radius: 999px;

    color: #555b65;

    background: transparent;

    cursor: pointer;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    transition:
        color .22s ease,
        border-color .22s ease,
        background .22s ease,
        transform .22s ease;
}


.holidays-filter:hover {
    color: var(--holidays-navy);

    border-color: var(--holidays-yellow);

    transform: translateY(-1px);
}


.holidays-filter.active {
    color: var(--holidays-navy);

    border-color: var(--holidays-yellow);

    background: var(--holidays-yellow);
}


/* =========================================================
   GRID SECTION
========================================================= */

.holidays-grid-section {
    padding: 20px 0 125px;
}


/* =========================================================
   CUSTOM HOLIDAY CTA
========================================================= */

.holidays-custom {
    padding: 115px 0;

    color: #fff;

    background:
        radial-gradient(
            circle at 85% 0%,
            rgba(25,199,243,.16),
            transparent 35%
        ),
        var(--holidays-navy);
}


.holidays-custom__inner {
    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 100px;

    align-items: end;
}


.holidays-custom h2 {
    max-width: 850px;

    margin: 0;

    color: #fff;

    font-size: clamp(50px, 5vw, 80px);
    line-height: .96;

    letter-spacing: -.045em;
}


.holidays-custom h2 em {
    display: block;

    color: var(--holidays-yellow);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}


.holidays-custom__inner > div:last-child p {
    max-width: 460px;

    margin: 0 0 28px;

    color: rgba(255,255,255,.65);

    font-size: 15px;
    line-height: 1.75;
}


.holidays-custom__inner > div:last-child > a {
    min-height: 58px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    color: var(--holidays-navy);

    background: var(--holidays-yellow);

    font-size: 12px;
    font-weight: 800;

    transition:
        transform .22s ease,
        background .22s ease;
}


.holidays-custom__inner > div:last-child > a:hover {
    transform: translateY(-2px);

    background: #ffd95c;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1100px) {

    .holidays-shell {
        width: min(100% - 64px, 1450px);
    }


    .holidays-hero {
        min-height: 720px;
    }


    .holidays-hero__inner {
        padding-top: 150px;
        padding-bottom: 75px;
    }


    .admin-bar .holidays-hero__inner {
        padding-top: 175px;
    }


    .holidays-hero h1 {
        font-size: clamp(68px, 9vw, 100px);
    }


    .holidays-intro__grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .holidays-custom__inner {
        grid-template-columns: 1fr;

        gap: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:700px) {

    .holidays-shell {
        width: calc(100% - 40px);
    }


    /* HERO */

    .holidays-hero {
        min-height: 760px;

        align-items: flex-end;
    }


    .holidays-hero__image {
        background-position: 63% center;
    }


    .holidays-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,13,39,.28) 0%,
                rgba(5,13,39,.86) 57%,
                rgba(5,13,39,.98) 100%
            );
    }


    .holidays-hero__inner {
        padding-top: 145px;
        padding-bottom: 70px;
    }


    .admin-bar .holidays-hero__inner {
        padding-top: 175px;
    }


    .holidays-hero h1 {
        font-size: clamp(52px, 14vw, 68px);

        line-height: .92;
    }


    .holidays-hero p {
        margin-top: 25px;

        font-size: 14px;
    }


    /* INTRO */

    .holidays-intro {
        padding: 80px 0 45px;
    }


    .holidays-intro h2 {
        font-size: 48px;
    }


    /* FILTERS */

    .holidays-filters {
        flex-wrap: nowrap;

        overflow-x: auto;

        margin-top: 35px;

        padding-bottom: 4px;

        scrollbar-width: none;
    }


    .holidays-filters::-webkit-scrollbar {
        display: none;
    }


    .holidays-filter {
        flex: 0 0 auto;
    }


    /* CUSTOM CTA */

    .holidays-custom {
        padding: 90px 0;
    }


    .holidays-custom h2 {
        font-size: 48px;
    }


    .holidays-custom__inner > div:last-child > a {
        width: 100%;

        justify-content: space-between;
    }

}