/* =====================================================
   EXPLORE SANTA FE PAGE STYLES
   Replicates squarespace layout with equal-height cards
   and Read More / Read Less toggle for list content.
   ===================================================== */

/* -------------------------
   Section Wrapper
------------------------- */
section.explore-section {
    background-color: #f5ede4;
    /* Warm sandy beige matching site theme */
    padding: 70px 0 80px;
    font-family: var(--primary-font, 'Degular', sans-serif);
}

/* -------------------------
   Hero heading block
------------------------- */
.explore-heading {
    margin-bottom: 55px;
}

.explore-main-title {
    font-family: var(--heading-font, var(--secondary-font, 'ohno-blazeface', sans-serif));
    font-size: 72px;
    line-height: 1.05;
    color: #2c4d46;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.5px;
}

/* -------------------------
   Grid row: equal-height flex
------------------------- */
.explore-grid {
    /* Uses Bootstrap .row.g-4 for gutters */
}

.explore-grid .col-lg-4,
.explore-grid .col-md-6 {
    display: flex;
}

/* -------------------------
   Card
------------------------- */
.explore-card {
    background-color: #2c4d46;
    /* Deep teal card background */
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* equal-height via flexbox */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.explore-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

/* -------------------------
   Card Image section
------------------------- */
.explore-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.explore-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.explore-card:hover .explore-card-img img {
    transform: scale(1.08);
}

/* Dark overlay on image */
.explore-card-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(44, 77, 70, 0.4); */
    pointer-events: none;
}

/* Category label over the image at the bottom */
.explore-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 22px 16px;
    font-family: var(--heading-font, var(--secondary-font, 'ohno-blazeface', sans-serif));
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(to top, rgba(44, 77, 70, 0.92) 0%, rgba(44, 77, 70, 0.0) 100%);
    letter-spacing: 0.3px;
    z-index: 2;
}

/* -------------------------
   Card Body (list area)
------------------------- */
.explore-card-body {
    padding: 22px 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* -------------------------
   Collapsed/Expanded list
------------------------- */
.explore-card-list {
    width: 100%;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 130px;
    /* Default collapsed: show ~4 items */
}

.explore-card-list.expanded {
    max-height: 1500px;
    /* Allow full list to show */
}

.explore-list-content p {
    margin: 0 0 3px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #e8d5c4;
    font-family: var(--primary-font, 'Degular', sans-serif);
    font-weight: 400;
}

/* Bottom fade gradient on collapsed list */
.explore-card-list:not(.expanded) {
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

/* -------------------------
   Read More / Read Less button
------------------------- */
.explore-readmore-btn {
    background: none;
    border: none;
    padding: 10px 0 0 0;
    font-family: var(--primary-font, 'Degular', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #d4b483;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 3px;
    flex-shrink: 0;
}

.explore-readmore-btn:hover {
    color: #f0d095;
}

/* -------------------------
   RESPONSIVE ADJUSTMENTS
------------------------- */
@media (max-width: 1200px) {
    .explore-main-title {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    section.explore-section {
        padding: 55px 0 65px;
    }

    .explore-main-title {
        font-size: 50px;
    }

    .explore-heading {
        margin-bottom: 40px;
    }

    .explore-card-img {
        height: 230px;
    }
}

@media (max-width: 768px) {
    section.explore-section {
        padding: 45px 0 55px;
    }

    .explore-main-title {
        font-size: 42px;
    }

    .explore-heading {
        margin-bottom: 30px;
    }

    .explore-card-img {
        height: 220px;
    }

    .explore-card-label {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .explore-main-title {
        font-size: 36px;
    }

    .explore-card-img {
        height: 200px;
    }
}