

/* =============================================================================
   CATEGORIES TOP LEVEL LANDING PAGE
   Styles the top-level Categories hub page.
============================================================================= */

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

/* Hero */

.tbe-categories-landing__hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #008277;
}

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

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

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

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

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

/* Category grid section */

.tbe-categories-landing__categories {
    padding: 70px 0;
}

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

/* CTA */

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

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

.tbe-categories-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-categories-landing {
        width: min(100% - 28px, 1180px);
    }

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


/* =============================================================================
   CATEGORY LANDING PAGES
   Styles reusable category landing page templates.
============================================================================= */

.tbe-category-landing {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

/* Category hero */

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

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

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

.tbe-category-landing__hero-content p {
    max-width: 720px;
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
}

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

/* Category filters */

.tbe-category-landing__filters {
    margin-bottom: 34px;
}

/* SEO content */

.tbe-category-landing__seo-content {
    max-width: 860px;
    margin: 0 auto 70px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #374151;
}

.tbe-category-landing__seo-content h2,
.tbe-category-landing__seo-content h3 {
    color: #111827;
    margin-top: 34px;
    margin-bottom: 14px;
}

.tbe-category-landing__seo-content p {
    margin: 0 0 18px;
}

/* Experience section */

.tbe-category-landing__experiences {
    padding: 70px 0;
    border-top: 1px solid rgba(0, 130, 119, 0.14);
}

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

/* FAQs */

.tbe-category-landing__faqs {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 0;
    border-top: 1px solid rgba(0, 130, 119, 0.14);
}

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

.tbe-category-landing__faq {
    border: 1px solid rgba(0, 130, 119, 0.16);
    border-radius: 14px;
    background: #ffffff;
    margin-bottom: 12px;
    overflow: hidden;
}

.tbe-category-landing__faq summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 700;
    color: #111827;
}

.tbe-category-landing__faq p {
    margin: 0;
    padding: 0 20px 20px;
    color: #4b5563;
    line-height: 1.65;
}

/* CTA */

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

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

.tbe-category-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-category-landing__hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 0 44px;
    }
}

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

    .tbe-category-landing__hero-buttons {
        flex-direction: column;
    }

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


/* Keep Categories sections below full-width heroes contained. */
.tbe-categories-landing__categories,
.tbe-categories-landing__cta,
.tbe-category-landing__content,
.tbe-category-landing__experiences,
.tbe-category-landing__faqs,
.tbe-category-landing__cta {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

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