/**
 * Banner sections: 100vh Banner, Business Banner, News Banner.
 */

.banner-section {
    --Neutral-White-Stone: #EEEDED;
    --Banner-Orange: #F65B1B;
    position: relative;
    min-height: calc(100vh - var(--site-header-height, 80px));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-color: #000;
    color: var(--Neutral-White-Stone);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Full-width wrapper; horizontal padding only so content isn’t flush to edges */
.banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .banner-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .banner-content {
        padding-left: clamp(3rem, 5vw, 5rem);
        padding-right: clamp(3rem, 5vw, 5rem);
    }
}

.banner-inner {
    max-width: 70%;
}

.banner-inner--left {
    text-align: left;
}

/* ---- Title (100vh + News) ---- */
.banner-section .banner-title {
    color: var(--Neutral-White-Stone);
    font-family: "forma-djr-text", sans-serif;
    font-size: clamp(2.5rem, 8vw, 100px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-transform: capitalize;
    margin: 0 0 1rem;
}

/* ---- Description (Desktop/Heading/H4 - Alt) ---- */
.banner-section .banner-desc {
    color: var(--Neutral-White-Stone);
    font-family: "times-new-roman", sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0 0 1.5rem;
}

/* Override page-section padding so banner is exactly 100vh */
.banner-section.page-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* ---- CTA Button (Desktop/Body/Large) ---- */
.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--Neutral-White-Stone);
    color: var(--Neutral-White-Stone);
    font-family: "forma-djr-text", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.banner-cta:hover {
    background-color: var(--Neutral-White-Stone);
    color: #000;
}

.banner-cta__icon {
    display: inline-flex;
    flex-shrink: 0;
}

.banner-cta__icon svg {
    width: 32px;
    height: 32px;
}

/* ---- Business Banner: image instead of title ---- */
.business-banner .banner-image-wrap {
    margin-bottom: 1rem;
}

.business-banner .banner-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    object-position: left;
}

@media (min-width: 768px) {
    .business-banner .banner-image {
        max-height: 160px;
    }
}

@media (min-width: 1024px) {
    .business-banner .banner-image {
        max-height: 200px;
    }
}

/* ---- News Banner: meta (category /// date) ---- */
.news-banner-meta {
    color: var(--Neutral-White-Stone);
    font-family: "forma-djr-text", sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.news-banner-meta__sep {
    color: var(--Banner-Orange);
    margin: 0 0.25rem;
}

.news-banner .banner-title {
    margin-top: 0;
}

/* ---- Home Banner: 100vh + title/desc + 3 cards full width at bottom ---- */
.home-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.home-banner__content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
}

.home-banner .banner-content {
    flex: 0 1 auto;
}

/* Full-width cards row at bottom */
.home-banner-cards {
    position: relative;
    z-index: 1;
    width: 100%;
    flex-shrink: 0;
    padding: 2rem 1.25rem;
}

.home-banner-cards-inner {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .home-banner-cards {
        padding: 2.5rem 1.5rem;
    }
    .home-banner-cards-inner {
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .home-banner-cards {
        padding: 3rem clamp(3rem, 5vw, 5rem);
    }
    .home-banner-cards-inner {
        gap: 4rem;
        justify-items: center;
    }
    .home-banner-card {
        max-width: 360px;
    }
}

@media (min-width: 1440px) {
    .home-banner-cards-inner {
        gap: 6rem;
    }
    .home-banner-card {
        max-width: 380px;
    }
}

/* Card: icon + title on one line, desc below – Figma Desktop/Body/Large + Body/Medium */
.home-banner-card {
    color: var(--Neutral-White-Stone);
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.home-banner-card__icon {
    margin-bottom: 0;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.home-banner-card__icon img {
    width: auto;
    height: 48px;
    object-fit: contain;
    object-position: left;
}

@media (min-width: 768px) {
    .home-banner-card__icon img {
        height: 56px;
    }
}

.home-banner-card__title {
    color: var(--Neutral-White-Stone);
    font-family: "forma-djr-text", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem;
    flex: 0 1 auto;
}

.home-banner-card__desc {
    flex: 0 0 100%;
    width: 100%;
    color: var(--Neutral-White-Stone);
    font-family: "forma-djr-text", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.4px;
    margin: 0;
}

@media (max-width: 767px) {
    .home-banner-card__title {
        font-size: 18px;
    }
    .home-banner-card__desc {
        font-size: 14px;
    }
}

/* ---- Responsive: smaller type on small screens ---- */
@media (max-width: 767px) {
    .banner-section .banner-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .banner-section .banner-desc {
        font-size: 1.125rem;
    }

    .banner-cta {
        font-size: 16px;
        padding: 0.625rem 1.25rem;
    }

    .banner-cta__icon svg {
        width: 24px;
        height: 24px;
    }

    .news-banner-meta {
        font-size: 0.875rem;
    }
}
