/* CouponsHaven Holiday Directory
   Loaded only on /holidays/. Individual event pages use holiday.css. */

.holiday-page.holiday-directory-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 22px;
    color: #172033;
}

.holiday-directory-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px 3px;
    color: #7a8494;
    font-size: 12px;
}
.holiday-directory-breadcrumb a {
    color: #526174;
    text-decoration: none;
}
.holiday-directory-breadcrumb a:hover,
.holiday-directory-breadcrumb [aria-current="page"] {
    color: #f15a24;
}
.holiday-directory-breadcrumb [aria-current="page"] {
    font-weight: 800;
}

/* Hero */
.holiday-directory-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 270px;
    overflow: hidden;
    padding: 38px 38px;
    border: 1px solid #f0e1d6;
    border-radius: 20px;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 83% 12%, rgba(255, 203, 164, .68), transparent 35%),
        linear-gradient(112deg, #fff8f0 0%, #fff3e9 54%, #ffe4d0 100%);
}
.holiday-directory-hero::before,
.holiday-directory-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}
.holiday-directory-hero::before {
    right: -7%;
    bottom: -48%;
    width: 68%;
    height: 95%;
    border-radius: 50% 0 0 0;
    background: linear-gradient(135deg, rgba(255, 214, 181, .12), rgba(255, 151, 91, .25));
    transform: rotate(-9deg);
}
.holiday-directory-hero::after {
    right: 31%;
    bottom: -72%;
    width: 44%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,.36);
    transform: rotate(-12deg);
}
.holiday-directory-hero-copy {
    position: relative;
    z-index: 2;
    width: min(58%, 650px);
}
.holiday-directory-page .holiday-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    color: #f15a24;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 850;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.holiday-directory-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #10213d;
    font-size: clamp(32px, 4.1vw, 48px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.9px;
    text-wrap: balance;
}
.holiday-directory-hero p {
    max-width: 570px;
    margin: 14px 0 0;
    color: #596579;
    font-size: 15px;
    line-height: 1.7;
}
.holiday-directory-hero-accent {
    display: block;
    width: 190px;
    height: 13px;
    margin-top: 15px;
    border-top: 5px solid #f15a24;
    border-radius: 50%;
    transform: rotate(-3deg);
}

/* CSS-built seasonal shopping illustration */
.holiday-directory-visual {
    position: absolute;
    top: 0;
    right: 1%;
    bottom: 0;
    width: 46%;
    z-index: 1;
}
.holiday-visual-gift,
.holiday-visual-bag {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 25px rgba(39, 42, 54, .16);
}
.holiday-visual-gift {
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 13px;
    background: linear-gradient(145deg, #fff, #f5d8c3);
}
.holiday-visual-gift::before,
.holiday-visual-gift::after {
    position: absolute;
    content: "";
    background: #f15a24;
}
.holiday-visual-gift::before {
    top: 0;
    bottom: 0;
    left: 43%;
    width: 14%;
}
.holiday-visual-gift::after {
    top: 0;
    right: 0;
    left: 0;
    height: 15%;
}
.holiday-visual-gift span,
.holiday-visual-bag span {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.12));
}
.holiday-visual-gift--large {
    right: 39%;
    bottom: 14%;
    width: 145px;
    height: 118px;
    transform: rotate(-5deg);
}
.holiday-visual-gift--large span { font-size: 54px; }
.holiday-visual-gift--small {
    right: 8%;
    bottom: 9%;
    width: 105px;
    height: 86px;
    transform: rotate(6deg);
}
.holiday-visual-gift--small span { font-size: 39px; }
.holiday-visual-bag {
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 12px 12px 17px 17px;
}
.holiday-visual-bag::before {
    position: absolute;
    top: -27px;
    left: 24%;
    width: 48%;
    height: 39px;
    border: 7px solid currentColor;
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    content: "";
}
.holiday-visual-bag--orange {
    top: 17%;
    right: 17%;
    width: 145px;
    height: 170px;
    color: #e85a19;
    background: linear-gradient(145deg, #ff9a32, #f15a24);
    transform: rotate(5deg);
}
.holiday-visual-bag--orange span { font-size: 61px; }
.holiday-visual-bag--blue {
    top: 33%;
    right: 0;
    width: 100px;
    height: 123px;
    color: #174b82;
    background: linear-gradient(145deg, #2f75b8, #123c70);
    transform: rotate(8deg);
}
.holiday-visual-bag--blue span { font-size: 42px; }
.holiday-visual-spark,
.holiday-visual-leaf {
    position: absolute;
    color: #f5a000;
    line-height: 1;
}
.holiday-visual-spark--one {
    top: 15%;
    left: 8%;
    font-size: 45px;
}
.holiday-visual-spark--two {
    top: 35%;
    left: 21%;
    color: #f15a24;
    font-size: 25px;
}
.holiday-visual-leaf--one {
    right: 46%;
    top: 11%;
    color: #e85a19;
    font-size: 35px;
    transform: rotate(22deg);
}
.holiday-visual-leaf--two {
    right: 39%;
    bottom: 8%;
    color: #e9a126;
    font-size: 28px;
}

/* Event list heading */
.holiday-directory-section {
    margin-top: 34px;
}
.holiday-directory-page .holiday-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.holiday-directory-page .holiday-section-kicker {
    display: block;
    margin-bottom: 7px;
    color: #f15a24;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.holiday-directory-page .holiday-section-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 850;
}
.holiday-directory-page .holiday-section-heading p {
    margin: 7px 0 0;
    color: #687386;
    font-size: 13px;
}

/* Event cards */
.holiday-directory-page .holiday-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.holiday-directory-page .holiday-event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e5eb;
    border-radius: 17px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(16, 33, 61, .055);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.holiday-directory-page .holiday-event-card:hover {
    transform: translateY(-4px);
    border-color: #f4a27e;
    box-shadow: 0 13px 28px rgba(16, 33, 61, .12);
}
.holiday-directory-page .holiday-event-card:focus-visible {
    outline: 3px solid rgba(241, 90, 36, .35);
    outline-offset: 3px;
}
.holiday-directory-page .holiday-event-card-image,
.holiday-directory-page .holiday-event-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #102c52, #f15a24);
}
.holiday-directory-page .holiday-event-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.holiday-directory-page .holiday-event-card:hover .holiday-event-card-image img {
    transform: scale(1.045);
}
.holiday-directory-page .holiday-event-card--thanksgiving .holiday-event-card-image img,
.holiday-directory-page .holiday-event-card--cyber-monday .holiday-event-card-image img {
    object-position: 76% center;
}
.holiday-directory-page .holiday-event-card-placeholder span {
    padding: 18px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}
.holiday-directory-page .holiday-event-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 19px;
}
.holiday-directory-page .holiday-event-card-year {
    color: #f15a24;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.holiday-directory-page .holiday-event-card h2 {
    margin: 6px 0 8px;
    color: #172033;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 850;
}
.holiday-directory-page .holiday-event-card-content p {
    display: -webkit-box;
    min-height: 3em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #687386;
    font-size: 13px;
    line-height: 1.5;
}
.holiday-directory-page .holiday-event-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
}
.holiday-directory-page .holiday-offer-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 31px;
    padding: 6px 12px;
    border: 1px solid #ffddc9;
    border-radius: 999px;
    background: #fff3eb;
    color: #d94c16;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.holiday-directory-page .holiday-offer-count strong {
    font-size: 14px;
    font-weight: 900;
}
.holiday-directory-page .holiday-event-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 9px;
    padding: 12px 15px;
    border-radius: 9px;
    background: linear-gradient(100deg, #f15a24, #ed4d0c);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: filter .18s ease;
}
.holiday-directory-page .holiday-event-card:hover .holiday-event-card-link {
    filter: brightness(.96);
}
.holiday-directory-page .holiday-event-card-link span {
    font-size: 19px;
    line-height: 1;
}
.holiday-directory-page .holiday-empty-state {
    padding: 42px 24px;
    border: 1px dashed #d8dee8;
    border-radius: 14px;
    background: #fafbfc;
    text-align: center;
}
.holiday-directory-page .holiday-empty-state h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 21px;
}
.holiday-directory-page .holiday-empty-state p {
    max-width: 620px;
    margin: 0 auto 18px;
    color: #687386;
    font-size: 13px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1050px) {
    .holiday-directory-page .holiday-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .holiday-directory-visual {
        right: -4%;
        width: 48%;
        transform: scale(.9);
        transform-origin: right center;
    }
    .holiday-directory-hero-copy {
        width: 62%;
    }
}
@media (max-width: 760px) {
    .holiday-page.holiday-directory-page {
        width: min(100% - 28px, 1180px);
        padding: 18px 0 16px;
    }
    .holiday-directory-breadcrumb {
        margin: 0 0 12px 3px;
        font-size: 11px;
    }
    .holiday-directory-hero {
        min-height: 0;
        padding: 27px 22px 30px;
        border-radius: 16px;
    }
    .holiday-directory-hero-copy {
        width: 100%;
        max-width: 540px;
    }
    .holiday-directory-page .holiday-eyebrow {
        margin-bottom: 9px;
        font-size: 10px;
    }
    .holiday-directory-hero h1 {
        max-width: 500px;
        font-size: clamp(28px, 7vw, 37px);
    }
    .holiday-directory-hero p {
        max-width: 470px;
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.6;
    }
    .holiday-directory-hero-accent {
        width: 145px;
        margin-top: 12px;
    }
    .holiday-directory-visual {
        right: -17%;
        bottom: -17%;
        top: auto;
        width: 55%;
        height: 76%;
        opacity: .18;
        transform: scale(.8);
        transform-origin: right bottom;
    }
    .holiday-directory-section {
        margin-top: 27px;
    }
    .holiday-directory-page .holiday-section-heading {
        margin-bottom: 16px;
    }
    .holiday-directory-page .holiday-section-heading h2 {
        font-size: 22px;
    }
    .holiday-directory-page .holiday-event-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .holiday-directory-page .holiday-event-card {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        align-items: stretch;
    }
    .holiday-directory-page .holiday-event-card-image,
    .holiday-directory-page .holiday-event-card-placeholder {
        height: 100%;
        min-height: 190px;
    }
    .holiday-directory-page .holiday-event-card-content {
        padding: 15px;
    }
    .holiday-directory-page .holiday-event-card h2 {
        font-size: 18px;
    }
    .holiday-directory-page .holiday-event-card-content p {
        min-height: 0;
        font-size: 12px;
    }
    .holiday-directory-page .holiday-event-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-top: 12px;
    }
    .holiday-directory-page .holiday-event-card-link {
        margin-top: 12px;
        padding: 10px 11px;
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .holiday-directory-page .holiday-event-card {
        grid-template-columns: 1fr;
    }
    .holiday-directory-page .holiday-event-card-image,
    .holiday-directory-page .holiday-event-card-placeholder {
        height: 155px;
        min-height: 155px;
    }
    .holiday-directory-page .holiday-event-card-content {
        padding: 15px;
    }
    .holiday-directory-page .holiday-event-card-meta {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    .holiday-directory-page .holiday-event-card,
    .holiday-directory-page .holiday-event-card-image img,
    .holiday-directory-page .holiday-event-card-link {
        transition: none;
    }
    .holiday-directory-page .holiday-event-card:hover,
    .holiday-directory-page .holiday-event-card:hover .holiday-event-card-image img {
        transform: none;
    }
}


/* Real artwork for the Holidays directory hero */
.holiday-directory-page .holiday-directory-hero {
    isolation: isolate;
}
.holiday-directory-page .holiday-directory-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.holiday-directory-page .holiday-directory-hero-copy {
    z-index: 2;
}
.holiday-directory-page .holiday-directory-visual {
    display: none !important;
}
@media (max-width: 760px) {
    .holiday-directory-page .holiday-directory-hero-image {
        object-position: 63% center;
        opacity: .36;
    }
    .holiday-directory-page .holiday-directory-hero {
        background: linear-gradient(110deg, #fff8f0 0%, #fff3e9 100%);
    }
}


/* Hero text-safe area: keep live HTML copy clear of the shopping artwork. */
.holiday-directory-page .holiday-directory-hero {
    min-height: 300px;
    background: linear-gradient(110deg, #fff8f0 0%, #fff4eb 52%, #ffe7d5 100%);
}
.holiday-directory-page .holiday-directory-hero::after {
    z-index: 1;
    inset: 0 auto 0 0;
    width: 69%;
    height: auto;
    border-radius: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 248, 240, .99) 0%,
        rgba(255, 247, 238, .97) 47%,
        rgba(255, 244, 233, .82) 70%,
        rgba(255, 240, 225, 0) 100%
    );
    transform: none;
}
.holiday-directory-page .holiday-directory-hero-copy {
    width: min(49%, 545px);
    max-width: 545px;
}
.holiday-directory-page .holiday-directory-hero h1 {
    max-width: 520px;
    font-size: clamp(32px, 3.65vw, 44px);
    line-height: 1.08;
}
.holiday-directory-page .holiday-directory-hero p {
    max-width: 470px;
}
.holiday-directory-page .holiday-directory-hero-image {
    object-position: right center;
}

/* Readable SEO content at the bottom of the Holidays directory. */
.holiday-directory-page .holiday-directory-seo {
    margin: 38px 0 8px;
    padding: 27px 30px;
    border: 1px solid #e5e8ee;
    border-radius: 16px;
    background: #fff;
}
.holiday-directory-page .holiday-directory-seo-inner {
    max-width: 100%;
}
.holiday-directory-page .holiday-directory-seo h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 850;
}
.holiday-directory-page .holiday-directory-seo p {
    margin: 0;
    color: #687386;
    font-size: 13px;
    line-height: 1.75;
}
.holiday-directory-page .holiday-directory-seo-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 23px;
}
.holiday-directory-page .holiday-directory-seo-topics h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}
.holiday-directory-page .holiday-directory-seo-footer {
    margin-top: 21px !important;
    padding-top: 17px;
    border-top: 1px solid #edf0f4;
}
.holiday-directory-page .holiday-directory-seo-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 16px;
    margin-top: 17px;
    color: #34445d;
    font-size: 12px;
}
.holiday-directory-page .holiday-directory-seo-links a {
    color: #e95118;
    font-weight: 700;
    text-decoration: none;
}
.holiday-directory-page .holiday-directory-seo-links a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .holiday-directory-page .holiday-directory-hero {
        min-height: 260px;
    }
    .holiday-directory-page .holiday-directory-hero::after {
        width: 100%;
        background: linear-gradient(
            90deg,
            rgba(255, 248, 240, .98) 0%,
            rgba(255, 247, 238, .92) 65%,
            rgba(255, 244, 233, .55) 100%
        );
    }
    .holiday-directory-page .holiday-directory-hero-copy {
        width: 100%;
        max-width: 500px;
    }
    .holiday-directory-page .holiday-directory-hero h1 {
        max-width: 470px;
        font-size: clamp(29px, 7vw, 36px);
    }
    .holiday-directory-page .holiday-directory-hero-image {
        object-position: 70% center;
    }
    .holiday-directory-page .holiday-directory-seo {
        margin-top: 27px;
        padding: 21px 18px;
    }
    .holiday-directory-page .holiday-directory-seo h2 {
        font-size: 20px;
    }
    .holiday-directory-page .holiday-directory-seo-topics {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-top: 18px;
    }
}
