:root {
    --divider-height: 300px;
    --divider-overlay-color: rgba(0, 0, 0, 0.5);
    --divider-text-color: #ffffff;
    --divider-text-size: 2rem; /* Výchozí velikost textu */
}

.divider-module {
    display: block;
    width: 100%;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--divider-text-color);
    height: var(--divider-height);
    z-index: 10;
}

.divider-module .divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--divider-overlay-color);
}

.divider-module .divider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-module .divider-title {
    margin: 0;
    font-size: var(--divider-text-size) !important;
    color: var(--divider-text-color);
}

/* Pro tablety (max-width: 1200px) */
@media (max-width: 1200px) {
    .divider-module {
        --divider-height: 300px !important;
        --divider-text-size: 1.8rem !important;
    }
}

/* Pro menší obrazovky (max-width: 1024px) */
@media (max-width: 1024px) {
    .divider-module {
        --divider-height: 250px !important;
        --divider-text-size: 1.2rem !important;
        background-attachment: scroll !important; /* Vypnutí parallaxu */
    }
    .divider-module .divider-content {
        padding: 0 10px;
    }
}

/* Pro velmi malé obrazovky (max-width: 480px) */
@media (max-width: 480px) {
    .divider-module {
        --divider-height: 150px !important;
        --divider-text-size: 1.2rem !important;
    }
    .divider-module .divider-content {
        padding: 0 5px;
    }
}
