
/* =========================================
   LIFE – ÚVODNÍ BANNER
   FOTOGRAFIE JAKO POZADÍ
========================================= */

.lf-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(100% - 60px);
    min-height: 315px;
    margin: 30px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    box-sizing: border-box;
    background: #f3f3f3;
}

/* =========================================
   FOTOGRAFIE – PŘES CELÝ BANNER
========================================= */

.lf-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.lf-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* SVĚTLÝ PŘECHOD POD TEXTEM */

.lf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        #f3f3f3 0%,
        #f3f3f3 32%,
        rgba(243,243,243,.96) 43%,
        rgba(243,243,243,.78) 53%,
        rgba(243,243,243,.25) 70%,
        rgba(243,243,243,0) 100%
    );
}

/* =========================================
   TEXT
========================================= */

.lf-hero__text {
    position: relative;
    z-index: 2;
    width: 62%;
    padding: 30px 20px 30px 34px;
    box-sizing: border-box;
}

.lf-hero__eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid #bbb;
    padding-bottom: 5px;
}

.lf-hero__text h1 {
    margin: 0 0 4px;
    color: #171717;
    font-size: clamp(27px, 2.5vw, 37px);
    line-height: 1.15;
    font-weight: 700;
}

.lf-hero__text h2 {
    margin: 0 0 14px;
    color: #444;
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.2;
    font-weight: 500;
}

.lf-hero__text p {
    max-width: 520px;
    margin: 0 0 19px;
    color: #333;
    font-size: 16px;
    line-height: 1.55;
}

/* =========================================
   TLAČÍTKA
========================================= */

.lf-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.lf-btn--dark {
    color: #fff !important;
    background: #222;
    border: 1px solid #222;
}

.lf-btn--dark span {
    margin-left: 12px;
    font-size: 21px;
}

.lf-btn--dark:hover {
    background: #444;
}

.lf-btn--light {
    color: #222 !important;
    background: rgba(255,255,255,.8);
    border: 1px solid #555;
}

.lf-btn--light:hover {
    color: #fff !important;
    background: #333;
}

/* =========================================
   MENŠÍ MONITORY
========================================= */

@media (max-width: 1100px) and (min-width: 768px) {

    .lf-hero {
        min-height: 300px;
    }

    .lf-hero__text {
        width: 68%;
        padding-left: 25px;
    }

    .lf-hero__text h1 {
        font-size: 29px;
    }

    .lf-hero__text h2 {
        font-size: 26px;
    }

    .lf-hero__text p {
        font-size: 15px;
    }

    .lf-hero::after {
        background: linear-gradient(
            to right,
            #f3f3f3 0%,
            rgba(243,243,243,.97) 48%,
            rgba(243,243,243,.7) 68%,
            transparent 100%
        );
    }
}

/* =========================================
   MOBIL – STÁLE JEDEN BANNER
========================================= */

@media (max-width: 767px) {

    .lf-hero {
        width: calc(100% - 24px);
        margin: 12px;
        min-height: 340px;
        align-items: center;
    }

    .lf-hero__image img {
        object-position: 60% center;
    }

    .lf-hero::after {
        background: linear-gradient(
            to right,
            rgba(243,243,243,.98) 0%,
            rgba(243,243,243,.94) 55%,
            rgba(243,243,243,.75) 100%
        );
    }

    .lf-hero__text {
        width: 100%;
        padding: 25px 18px;
    }

    .lf-hero__eyebrow {
        font-size: 10px;
        margin-bottom: 12px;
        letter-spacing: .7px;
    }

    .lf-hero__text h1 {
        font-size: clamp(19px, 6vw, 27px);
        white-space: nowrap;
    }

    .lf-hero__text h2 {
        font-size: clamp(21px, 6vw, 25px);
        white-space: nowrap;
    }

    .lf-hero__text p {
        max-width: 390px;
        font-size: 14px;
        line-height: 1.45;
    }

    .lf-hero__buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
    }

    .lf-btn {
        min-height: 42px;
        padding: 0 11px;
        font-size: 12px;
    }

    .lf-btn--dark span {
        margin-left: 6px;
        font-size: 17px;
    }
}

/* =========================================
   VELMI MALÉ MOBILY
========================================= */

@media (max-width: 360px) {

    .lf-hero {
        min-height: 320px;
    }

    .lf-hero__text {
        padding: 20px 13px;
    }

    .lf-hero__text h1 {
        font-size: 19px;
    }

    .lf-hero__text h2 {
        font-size: 21px;
    }

    .lf-hero__text p {
        font-size: 13px;
    }

    .lf-btn {
        padding: 0 8px;
        font-size: 11px;
    }
}
