/* =============================================================================
   LOCATION LANDING PAGE
   Styles individual Location pages.
============================================================================= */

.tbe-location-landing {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Hero */

.tbe-location-landing__hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #008277;
    margin-bottom: 70px;
}

.tbe-location-landing__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 130, 119, 0.94) 0%,
        rgba(0, 130, 119, 0.72) 45%,
        rgba(0, 0, 0, 0.38) 100%
    );
    z-index: 1;
}

.tbe-location-landing__hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    padding: 90px 0;
    margin: 0 auto;
    color: #ffffff;
}

.tbe-location-landing__hero-content h1 {
    max-width: 820px;
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.tbe-location-landing__intro {
    max-width: 720px;
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
}

.tbe-location-landing__intro p {
    margin: 0;
}

.tbe-location-landing__hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Main content */

.tbe-location-landing__content {
    max-width: 920px;
    margin: 0 auto 70px;
    padding: 42px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.tbe-location-landing__content p {
    font-size: 1.06rem;
    line-height: 1.75;
}

/* Experiences */

.tbe-location-landing__experiences {
    padding: 70px 0;
}

.tbe-location-landing__experiences > h2 {
    margin: 0 0 30px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
}

/* FAQs */

.tbe-location-landing__faqs {
    padding: 70px 0;
}

.tbe-location-landing__faqs > h2 {
    margin: 0 0 26px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
}

/* CTA */

.tbe-location-landing__cta {
    margin: 70px 0 90px;
    padding: 54px;
    border-radius: 24px;
    background: #008277;
    color: #ffffff;
    text-align: center;
}

.tbe-location-landing__cta h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -0.03em;
}

.tbe-location-landing__cta p {
    max-width: 680px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .tbe-location-landing {
        width: min(100% - 28px, 1180px);
    }

    .tbe-location-landing__content {
        padding: 28px 22px;
    }

    .tbe-location-landing__cta {
        padding: 34px 22px;
        margin-bottom: 60px;
    }
}


/* =============================================================================
   LOCATIONS LANDING PAGE
   Styles the top-level Locations hub page.
============================================================================= */

.tbe-locations-landing {
    width: 100%;
    margin: 0;
}

/* Hero */

.tbe-locations-landing__hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #008277;
    margin-bottom: 70px;
}

.tbe-locations-landing__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 130, 119, 0.94) 0%,
        rgba(0, 130, 119, 0.72) 45%,
        rgba(0, 0, 0, 0.38) 100%
    );
    z-index: 1;
}

.tbe-locations-landing__hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    padding: 100px 0;
    margin: 0 auto;
    color: #ffffff;
}

.tbe-locations-landing__hero-content h1 {
    max-width: 820px;
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.tbe-locations-landing__intro {
    max-width: 720px;
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
}

.tbe-locations-landing__intro p {
    margin: 0;
}

/* Locations section */

.tbe-locations-landing__locations {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0;
}

.tbe-locations-landing__section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.tbe-locations-landing__section-heading h2 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
}

.tbe-locations-landing__section-heading p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #4b5563;
}

/* =============================================================================
   LOCATION CARDS
   Image-led location cards matching the category card style.
============================================================================= */

.tbe-locations-landing__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin: 34px 0;
}

.tbe-location-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 260px;
    border-radius: 24px;
    text-decoration: none;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.tbe-location-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.44) 48%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

.tbe-location-card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 5px;
    z-index: 3;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #ba0002 0%, #008277 100%);
}

.tbe-location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.tbe-location-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #f3f7f6;
}

.tbe-location-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.tbe-location-card:hover .tbe-location-card__image img {
    transform: scale(1.06);
}

.tbe-location-card__content {
    position: relative;
    z-index: 4;
    min-height: 260px;
    padding: 26px;
    text-align: center;
}

.tbe-location-card__content h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 44px);
    max-width: 95%;
    margin: 0;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.58);
}

.tbe-location-card__content p {
    display: none;
}

.tbe-location-card__content span {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 800;
    color: #ffffff;
    opacity: 0.92;
    white-space: nowrap;
}

.tbe-location-card__content span::after {
    content: "→";
    transition: transform 0.18s ease;
}

.tbe-location-card:hover .tbe-location-card__content span::after {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .tbe-locations-landing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 600px) {
    .tbe-locations-landing__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tbe-location-card,
    .tbe-location-card__content {
        min-height: 230px;
    }

    .tbe-location-card {
        border-radius: 20px;
    }

    .tbe-location-card__content {
        padding: 22px;
    }
}
/* CTA */

.tbe-locations-landing__cta {
    width: min(1180px, calc(100% - 40px));
    margin: 70px auto 90px;
    padding: 54px;
    border-radius: 24px;
    background: #008277;
    color: #ffffff;
    text-align: center;
}

.tbe-locations-landing__cta h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -0.03em;
}

.tbe-locations-landing__cta p {
    max-width: 680px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .tbe-locations-landing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tbe-locations-landing__hero-content,
    .tbe-locations-landing__locations,
    .tbe-locations-landing__cta {
        width: min(100% - 28px, 1180px);
    }

    .tbe-locations-landing__grid {
        grid-template-columns: 1fr;
    }

    .tbe-locations-landing__cta {
        padding: 34px 22px;
        margin-bottom: 60px;
    }
}


/* Keep individual Location sections below full-width hero contained. */
.tbe-location-landing__content,
.tbe-location-landing__experiences,
.tbe-location-landing__faqs,
.tbe-location-landing__cta {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .tbe-location-landing__content,
    .tbe-location-landing__experiences,
    .tbe-location-landing__faqs,
    .tbe-location-landing__cta {
        width: min(100% - 28px, 1180px);
    }
}
