/* =========================================================
   HOMEPAGE - THREE-EVENT HOLIDAY DEALS SECTION
   ========================================================= */

.home-holiday-events {
    margin: 0 0 52px;
}

.home-holiday-events-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-holiday-events-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #ea580c;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .09em;
}

.home-holiday-events-heading h2 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.home-holiday-events-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.home-holiday-events-heading .section-view-all {
    flex: 0 0 auto;
}

.home-holiday-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-holiday-event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(17, 24, 39, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-holiday-event-card:hover {
    transform: translateY(-3px);
    border-color: #fdba74;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}

.home-holiday-event-image {
    display: block;
    height: 175px;
    overflow: hidden;
    background: #fff7ed;
}

.home-holiday-event-image img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.home-holiday-event-card:hover .home-holiday-event-image img {
    transform: scale(1.025);
}

.home-holiday-event-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 17px 18px 18px;
}

.home-holiday-event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px 12px;
    width: 100%;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 650;
}

.home-holiday-event-count {
    color: #c2410c;
    font-weight: 750;
}

.home-holiday-event-content h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.home-holiday-event-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home-holiday-event-content h3 a:hover {
    color: #ea580c;
}

.home-holiday-event-content p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0 0 16px;
    overflow: hidden;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.home-holiday-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    margin-top: auto;
    padding: 8px 13px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 7px;
    color: #c2410c;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.home-holiday-event-button span {
    font-size: 15px;
    transition: transform .2s ease;
}

.home-holiday-event-button:hover {
    background: #f97316;
    border-color: #f97316;
    color: #ffffff;
    text-decoration: none;
}

.home-holiday-event-button:hover span {
    transform: translateX(3px);
}

.home-holiday-event-button:focus-visible,
.home-holiday-event-content h3 a:focus-visible,
.home-holiday-event-image:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .home-holiday-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-holiday-events {
        margin-bottom: 42px;
    }

    .home-holiday-events-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .home-holiday-events-heading h2 {
        font-size: 22px;
    }

    .home-holiday-events-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-holiday-event-card {
        display: grid;
        grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
        align-items: stretch;
    }

    .home-holiday-event-image {
        height: 100%;
        min-height: 190px;
    }

    .home-holiday-event-content {
        padding: 13px 12px;
    }

    .home-holiday-event-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 7px;
        font-size: 9px;
    }

    .home-holiday-event-content h3 {
        margin-bottom: 6px;
        font-size: 15px;
    }

    .home-holiday-event-content p {
        min-height: 0;
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.45;
    }

    .home-holiday-event-button {
        min-height: 33px;
        padding: 7px 9px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .home-holiday-event-card {
        grid-template-columns: minmax(92px, 32%) minmax(0, 1fr);
    }

    .home-holiday-event-image {
        min-height: 180px;
    }

    .home-holiday-event-content {
        padding: 11px 10px;
    }

    .home-holiday-event-content h3 {
        font-size: 14px;
    }
}
