#header {
    background-color: #f6f6f6;
}


@media (min-width: 768px) {
    .fitted .navigation-in ul {
        justify-content: space-between;
    }

    #navigation .menu-level-2 {
        justify-content: flex-start; /* ZAČÁTEK */
    }
}

@media (min-width: 768px) {
    .navigation-in>ul>li {
        border-color: hsl(var(--color-primary-h), var(--color-primary-s), calc(var(--color-primary-l) - 7%));
        border: none;
    }
}

.navigation-in {
    font-size: 15px;
    line-height: 20px;
}

.navigation-in ul li a b {
    font-weight: 500;
}

.homepage-box {
    border-top-color: #dadada00;
    border-bottom-color: #dadada00;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    #navigation {
        height: 40px;
    }
}

.form-control, select {
    border-color: #9191914d;
}
.top-navigation-bar {
    font-weight: 500;
}

@media (min-width: 768px) {
    .top-navigation-bar .top-nav-button-account, .top-navigation-bar .top-nav-button-login {
        display: inline;
        font-weight: bold;
        color: #ff0000;
    }
}

.benefitBanner__content {
    padding-right: 40px;
}

.benefitBanner__title {
    margin-bottom: 8px;
}


.wide-carousel .extended-banner-texts,
.wide-carousel .extended-banner-title,
.wide-carousel .extended-banner-text,
.wide-carousel .extended-banner-link {
    all: unset;
}


.wide-carousel .extended-banner-texts {
    position: absolute;
    bottom: 60px;
    left: 60px;   /* ZMĚNA NA PRAVOU STRANU: right: 60px; left: auto; */

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 24px 36px;
    max-width: 480px;

    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-family: 'Montserrat', sans-serif;

    box-sizing: border-box;
}


.wide-carousel .extended-banner-title {
    font-family: 'Catamaran', sans-serif !important;
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}


.wide-carousel .extended-banner-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem;
    color: #444;
    line-height: 1.2;
}


.wide-carousel .extended-banner-link {
    font-family: 'Montserrat', sans-serif !important;

    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    padding: 10px 0;

    background: #111;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .02em;
}



@media (max-width: 768px) {
    .wide-carousel .extended-banner-texts {
        bottom: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
        padding: 14px 18px;
    }

    .wide-carousel .extended-banner-title {
        font-size: 2.2rem;
    }

    .wide-carousel .extended-banner-text {
        font-size: 1.2rem;
    }

    .wide-carousel .extended-banner-link {
        font-size: 1.2rem;
        padding: 8px 16px;
        width: 150px;
    }
}


.banner-wrapper .extended-banner-texts {
    padding: 8px 24px;
        box-sizing: border-box;
    font-style: italic;
    font-family: 'Catamaran', sans-serif;

}


.banner-wrapper .extended-banner-title {
    font-size: 1.6rem;
    font-weight: 700;     /* silnější text */
    color: #111;
    line-height: 1.1;
}

.extended-banner-link, .extended-banner-text, .extended-banner-title {
    padding: 10px 24px;

}


.dynamic-banner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 60px 0 20px;
}


.dynamic-banner-heading {
    font-family: 'Catamaran', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}


.dynamic-banner-heading .pm-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    transition: color .25s ease;
}

.dynamic-banner-heading .pm-link:hover {
    color: #181818;
}


.dynamic-banner-btn {
    font-family: 'Montserrat', sans-serif !important;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    padding: 10px 0;

    background: #111;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .02em;

    text-decoration: none;
    cursor: pointer;

    transition: background .25s ease, transform .2s ease;
}

.dynamic-banner-btn:hover {
    background: #ff0000;
    color: #fff;
}


@media (max-width: 768px) {
    .dynamic-banner-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dynamic-banner-btn {
        width: auto;
        padding: 10px 20px;
    }
}

.welcome div, .welcome h1 { 
    max-width: 100%;
    }

.homepage-box {
    margin-top: 80px;
    padding-bottom: 80px;
}

.afeli-info-block {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.afeli-info-image img {
    width: 100%;
    max-width: 650px;
}

.afeli-info-text {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
}

.afeli-info-text h2 {
    font-family: 'Catamaran', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 18px;
        font-weight: 700;
}

.afeli-info-text p {
    margin-bottom: 14px;
    line-height: 1.5;
}


.afeli-signature {
    margin-top: -20px;
    max-width: 240px;
}


@media (max-width: 768px) {
    .afeli-info-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .afeli-info-image img {
        max-width: 100%;
    }
}

.how-it-works {
    text-align: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.how-it-works h2 {
    font-family: 'Catamaran', sans-serif;
    font-size: 2.6rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.how-columns {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.how-item {
    flex: 1;
}


.how-number {
    font-family: 'Catamaran', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: #ff0000;
}

.how-item h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.how-item p {
    font-size: 1.4rem;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .how-columns {
        flex-direction: column;
        gap: 30px;
    }
}

.custom-footer {
    justify-content: end;
}

.dmoc-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 24px;
}

.dmoc-info .dmoc-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}

.dmoc-info .dmoc-value {
    font-weight: 500;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h4 {
    font-family: 'Catamaran', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
    font-size: 1.3rem;
    color: #333;
}

.footer-col a {
    color: #333;
    text-decoration: none;
    transition: .2s ease;
}

.footer-col a:hover {
    color: #000;
}


@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 25px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .homepage-box.welcome-wrapper {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .custom-footer .banner {
        min-height: auto;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .custom-footer > div {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .custom-footer .banner {
        text-align: center;
    }

    .custom-footer .banner-wrapper {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-rows {
        display: flex;
        flex-direction: column;
    }

    .footer-rows .footer-columns {
        order: 1;
    }

    .footer-rows .custom-footer {
        order: 2;
    }
}

@media (max-width: 767px) {
    .navigationActions a[data-testid="signin"] span {
        font-weight: 700;
        color: #ff0000;
    }
}




