#baner-sber-podpisu {
    display: flex;
    justify-content: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    margin-inline: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#baner-sber-podpisu .banner-inner {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 30px;
    flex-direction: row; /* obrázek vlevo */
}

#obsah-baneru-sber {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

#obsah-baneru-sber h2 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

#obsah-baneru-sber p {
    margin-bottom: 30px;
    text-align: left; /* tradiční zarovnání */
}

.baner-tlacitka {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-baner {
    display: inline-flex;   /* udržuje zarovnání ikony a textu */
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #345F9E;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;

    width: auto;            /* důležité: nedělat 100% */
    max-width: fit-content; /* tlačítko se přizpůsobí textu a ikoně */
}

.btn-baner:hover {
    background-color: #274A7B;       /* tmavší při hover */
    transform: translateY(-2px);     /* jemný efekt při najetí */
}

.btn-baner .btn-icon {
    width: 20px;                     /* velikost ikony */
    height: 20px;
}

/* Obrázek */
#obrazek-baner-sber {
    flex: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#obrazek-baner-sber img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
}

/* Responzivní zobrazení */
@media (max-width: 768px) {
    #baner-sber-podpisu .banner-inner {
        flex-direction: column;
        text-align: center;
    }

    #obrazek-baner-sber {
        order: 0; /* obrázek nahoře */
    }

    #obsah-baneru-sber {
        order: 1; /* text pod obrázkem */
        padding: 0;
    }

    .baner-tlacitka {
        justify-content: center;
    }

    .btn-baner {
        width: 100%;
        display: flex
    }
}