/**
 * home.css
 * Home page (2026 refresh sections).
 * Moved out of style.css on 2026-10-20; loaded by the plannera/home library.
 */

/* Home hero: image fills the hero box, height set per breakpoint */
.site-hero--home {
    height: auto;
    min-height: 1070px;              /* 1920 design: replace with real value */
}

.site-hero--home .site-hero__media {
    position: absolute;
    inset: 0;
}

/* Field/media wrappers (and contextual-region when logged in) */
.site-hero--home .site-hero__media :is(div, article) {
    height: 100%;
}

.site-hero--home .site-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}


/* Overlay is in normal flow so tall content grows the hero instead of clipping */
.site-hero--home .site-hero__overlay {
    position: relative;
    inset: auto;
    min-height: inherit;
    padding-bottom: 3rem;
}

/* Decorative squares (shared partial): same placement as the TOC hero */
.site-hero--home .home-hero__squares {
    top: 50%;
    right: 13vw;
    z-index: 1;
    opacity: 0.8;
}

/* Keep the tagline and button above the squares as they drift */
.site-hero--home .site-hero__content {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .site-hero--home { min-height: 550px; }   /* 992 design */

    .site-hero--home .home-hero__squares { display: none; }

    .site-hero--home .site-hero__content {
        max-width: 80%;
        margin-inline: auto;
        align-items: start;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-hero--home { min-height: 430px; }   /* 768 design */
}

@media (max-width: 414px) {
    .site-hero--home { min-height: 380px; }   /* 414 design */
}

@media (max-width: 575.98px) {
    .content--home-mobile-block {
        height: 200px;
        background-color: #f3f5f6;
    }
}

.home-benefits {
    padding: 6rem 0;
    background: linear-gradient(64deg, #f2edea 0%, #f4f4fc 100%);
}

.home-section .section__title,
.home-section .section__title a {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #24125f;
}

.home-section .section__text {
    font-size: 18px;
    line-height: 1.44;
    color: #242935;
    margin-bottom: 6rem;
}

.home-pension {
    padding: 6rem 0 0 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 14%, #f2edeb 64%, #dfdded 97%);
}

.home-pension > .container {
    position: relative;
    z-index: 1;
}

.home-pension__landscape {
    /* --landscape-overlap: clamp(24px, 3vw, 60px); */
    display: block;
    width: 100%;
    height: clamp(140px, 17.7vw, 340px);
    /* margin-top: calc(-1 * var(--landscape-overlap)); */
    object-fit: cover;
    object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 25%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 25%);
}

.home-news {
    padding: 6rem 0 5rem 0;
    background-color: #2f2f48;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 2rem;
}

.news-header__link {
    display: inline-flex;
    align-items: start;
    gap: 0.5rem;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .home-section .section__title, .home-section .section__title a {
        font-size: 32px
    }

    .home-section .section__text {
        margin-bottom: 64px;
    }

    .home-benefits {
        padding-top: 84px;
    }

    .benefits {
        margin-top: 36px;
    }
}
