/*
Theme Name: Pokolenie
Theme URI: https://pokolenie.localhost
Author: Stowarzyszenie Pokolenie
Description: Autorski motyw blokowy Stowarzyszenia Pokolenie.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: pokolenie
*/

/* Sekcja otwierająca stronę główną */
.pokolenie-hero-content {
    width: 100%;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

/* Dopasowanie do telefonów */
@media (max-width: 768px) {
    .pokolenie-hero-content {
        max-width: 100%;
    }
}

/* Wyrównanie zawartości okładki do siatki 1200 px */
.pokolenie-hero .wp-block-cover__inner-container {
    width: calc(100% - 40px) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Usunięcie ograniczeń pośrednich grup */
.pokolenie-hero .wp-block-cover__inner-container > .wp-block-group,
.pokolenie-hero .wp-block-cover__inner-container > .wp-block-group > .wp-block-group {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Tekst i przyciski w jednej lewej kolumnie */
.pokolenie-hero .pokolenie-hero-content {
    width: 100%;
    max-width: 600px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Wyrównanie wewnętrznej grupy tekstowej Okładki */
.pokolenie-hero .wp-block-cover__inner-container
.wp-block-group.is-layout-constrained {
    width: 100%;
    max-width: 600px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
