.pb-page {
    max-width: var(--container-width, 1280px);
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.pb-page__header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.pb-page__header h1 {
    margin: 0;
    color: #1d2d47;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.pb-page__header p {
    margin: 0.8rem 0 0;
    color: #64748b;
}

.pb-crumbs {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.pb-crumbs a {
    color: #3d5a8a;
    text-decoration: none;
}

.pb-crumbs a:hover {
    color: #ad5a38;
}

.pb-empty {
    text-align: center;
    color: #64748b;
}

.pb-priests {
    display: grid;
    gap: 1.25rem;
}

.pb-priests--1 {
    max-width: 820px;
    margin-inline: auto;
}

.pb-priests--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 800px) {
    .pb-priests--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.pb-priest {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #e6eefa;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 24px -18px rgba(29, 45, 71, 0.45);
}

.pb-priests--2 .pb-priest {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pb-priest__photo {
    display: grid;
    width: 128px;
    height: 128px;
    flex: 0 0 128px;
    place-items: center;
    overflow: hidden;
    border-radius: 1rem;
    background: #e6eefa;
    color: #2f4669;
    font-size: 2rem;
    font-weight: 700;
}

.pb-priest__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pb-priest__role {
    margin: 0 0 0.25rem;
    color: #ad5a38;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pb-priest h2 {
    margin: 0;
    color: #1d2d47;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.45rem;
}

.pb-priest__bio {
    margin: 0.7rem 0 0;
    color: #475569;
    line-height: 1.6;
}

.pb-priest__phone {
    display: inline-block;
    margin-top: 0.8rem;
    color: #3d5a8a;
    font-weight: 700;
    text-decoration: none;
}

.pb-priest,
.pb-priests--2 .pb-priest {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
}
.pb-priest__content { min-width: 0; flex: 1; }
.pb-priest__vita { margin: .35rem 0 0; color: #64748b; font-size: .92rem; font-style: italic; line-height: 1.5; }
.pb-priest__role { margin: .55rem 0 0; color: #ad5a38; font-size: .98rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.pb-priest__duties { margin: .55rem 0 0; padding: 0; list-style: none; color: #475569; line-height: 1.55; }
.pb-priest__duties li + li { margin-top: .15rem; }
.pb-priest__contact { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .8rem 0 0; }
.pb-priest__contact a { color: #64748b; font-size: .875rem; font-weight: 500; text-decoration: none; }
.pb-priest__contact a:hover { color: #ad5a38; }


.pb-dev-grid { display: grid; gap: 1rem; }
.pb-dev-grid--1 { max-width: 820px; margin-inline: auto; }
@media (min-width: 760px) {
    .pb-dev-grid--2,
    .pb-dev-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1050px) {
    .pb-dev-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.pb-dev-card {
    overflow: hidden;
    border: 1px solid #e6eefa;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 12px 30px -22px rgba(29,45,71,.55);
}
.pb-dev-card h2 {
    margin: 0;
    padding: .9rem 1.1rem;
    background: #2f4669;
    color: #fff;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.12rem;
    line-height: 1.3;
}
.pb-dev-card p {
    margin: 0;
    padding: 1rem 1.1rem 1.15rem;
    color: #475569;
    line-height: 1.6;
}

/* Jedna czcionka nagłówków na całej stronie */
h1,
h2,
h3,
.font-heading {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif) !important;
}

.pb-page-title {
    margin: 0;
    color: #1d2d47;
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
}

@media (min-width: 640px) {
    .pb-page-title {
        font-size: 2.25rem;
    }
}

/* ============================================================
   TABELA INTENCJI I TABELE W TREŚCI
   ============================================================ */
.entry-content .wp-block-table,
.entry-content table,
.pb-content .wp-block-table,
.pb-content table,
.pb-intencje {
    max-width: 900px !important;
    margin: 2rem auto !important;
    border: 1px solid #e6eefa !important;
    border-radius: 1rem !important;
    background: #fff !important;
    /* Równomierny, miękki cień ze wszystkich stron (360 stopni) */
    box-shadow: 0 0 20px 2px rgba(29, 45, 71, 0.12), 0 2px 8px 0 rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.entry-content figure.wp-block-table table,
.pb-content figure.wp-block-table table,
.pb-intencje table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    font-family: var(--font-body, Inter, sans-serif) !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    box-shadow: none !important;
}

.pb-intencje td,
.pb-intencje th,
.entry-content table td,
.entry-content table th {
    padding: 0.75rem 0.9rem !important;
    border: 0 !important;
    border-bottom: 1px solid #e6eefa !important;
    color: #334155 !important;
    background: transparent !important;
    text-align: left !important;
    vertical-align: top !important;
}

/* Pierwszy wiersz (nagłówek tabeli) */
.pb-intencje tr:first-child th,
.pb-intencje tr:first-child td,
.entry-content table tr:first-child th,
.entry-content table tr:first-child td {
    background: #2f4669 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.pb-intencje tr:first-child th *,
.pb-intencje tr:first-child td *,
.entry-content table tr:first-child th *,
.entry-content table tr:first-child td * {
    color: #fff !important;
    background: transparent !important;
}

/* Wiersze z nazwami dni (colspan) */
.pb-intencje td[colspan],
.pb-intencje th[colspan],
.entry-content table td[colspan],
.entry-content table th[colspan] {
    background: #ad5a38 !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.pb-intencje td[colspan] *,
.pb-intencje th[colspan] *,
.entry-content table td[colspan] *,
.entry-content table th[colspan] * {
    color: #fff !important;
    background: transparent !important;
}

/* Paskowanie wierszy (parzyste) */
.pb-intencje tr:nth-child(even) td:not([colspan]),
.entry-content table tr:nth-child(even) td:not([colspan]) {
    background: #f4f8fd !important;
}

/* Pierwsza kolumna (godziny) */
.pb-intencje td:first-child:not([colspan]),
.entry-content table td:first-child:not([colspan]) {
    color: #1d2d47 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.pb-intencje p,
.pb-intencje span,
.entry-content table p,
.entry-content table span {
    margin: 0 !important;
    color: inherit !important;
    background: transparent !important;
}

.entry-content figure.wp-block-table .wp-block-table__wrapper {
    overflow: visible !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pb-post-image {
    width: min(100%, 860px);
    margin: 1.75rem auto 0;
}

.pb-post-image__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0.9rem;
    box-shadow: 0 18px 42px -28px rgba(29, 45, 71, 0.62);
}

body.pb-lightbox-open { overflow: hidden; }

.pb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4.5rem;
    background: rgba(15, 23, 42, 0.88);
}

.pb-lightbox[hidden] { display: none; }

.pb-lightbox__figure {
    max-width: min(1100px, 100%);
    max-height: 100%;
    margin: 0;
}

.pb-lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    margin: 0 auto;
    border-radius: 0.6rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pb-lightbox figcaption {
    margin-top: 0.7rem;
    color: #fff;
    text-align: center;
}

.pb-lightbox__close,
.pb-lightbox__nav {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.pb-lightbox__close {
    top: 0.6rem;
    right: 1rem;
    font-size: 2.6rem;
    line-height: 1;
}

.pb-lightbox__nav {
    top: 50%;
    width: 3rem;
    font-size: 3.5rem;
    line-height: 1;
    transform: translateY(-50%);
}

.pb-lightbox__prev { left: 0.6rem; }
.pb-lightbox__next { right: 0.6rem; }


.entry-content .wp-block-gallery.has-nested-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.entry-content .wp-block-gallery.has-nested-images > .wp-block-image {
    flex: 1 1 calc(33.333% - 0.75rem);
    max-width: calc(33.333% - 0.5rem);
    margin: 0;
}

.entry-content .wp-block-gallery.columns-2 > .wp-block-image {
    flex-basis: calc(50% - 0.75rem);
    max-width: calc(50% - 0.5rem);
}

.entry-content .wp-block-gallery img,
.entry-content .gallery img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.entry-content .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 700px) {
    .entry-content .wp-block-gallery.has-nested-images > .wp-block-image,
    .entry-content .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .entry-content .wp-block-gallery.has-nested-images > .wp-block-image {
        flex-basis: calc(50% - 0.75rem);
        max-width: calc(50% - 0.4rem);
    }
}

/* ============================================================
   STRONA GŁÓWNA — SZKOŁY SALEZJAŃSKIE
   ============================================================ */
.school-section {
    padding: 3.5rem 0;
    border-top: 1px solid #e0eefa;
    background: linear-gradient(to bottom, #fff, #f4f8fd);
}

.school-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    width: min(var(--container-width, 1280px), 100%);
    margin: 0 auto;
    padding: 0 1rem;
}

.school-section__figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e6eefa;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 20px 45px -30px rgba(29, 45, 71, 0.65);
}

.school-section__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.school-section__content {
    max-width: 680px;
}

.school-section__kicker {
    margin: 0;
    color: #ad5a38;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.school-section__text {
    margin: 1rem 0 25px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

Teraz widać aktualny kod. Tytuł szkół powinien zachować zmienną `$schools_title`, ale używać tych samych klas Tailwinda co tytuł sekcji Salezjanów.

## 1. Zmień nagłówek w `front-page.php`

Zamień:

```php
<h2 class="school-section__title"><?php echo esc_html( $schools_title ); ?></h2>
```

na:

```php
<h2 class="mt-2 text-2xl font-bold text-sky-950 sm:text-3xl"><?php echo esc_html( $schools_title ); ?></h2>
```

Nie wpisuj tytułu na sztywno — dzięki temu nadal będzie można zmieniać go w Dostosuj.

## 2. Usuń nieużywany styl nagłówka z `modules.css`

Usuń cały blok:

```css
.school-section__title {
    margin: 0;
    color: #1d2d47;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}
```

## 3. Dopasuj nadtytuł

Zamień obecny blok `.school-section__kicker` na:

```css
.school-section__kicker {
    margin: 0;
    color: #ad5a38;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}


Zapisz pliki i odśwież stronę skrótem **Cmd + Shift + R**. Nie musisz ponownie kompilować Tailwinda — te same klasy nagłówka są już użyte w sekcji Salezjanów.

.school-section__inner--no-image {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

@media (max-width: 800px) {
    .school-section {
        padding: 2.5rem 0;
    }

    .school-section__inner,
    .school-section__inner--no-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .school-section__figure {
        width: min(100%, 520px);
        margin: 0 auto;
    }
}

/* ============================================================
   LISTY GUTENBERGA — numerowane i wypunktowane
   ============================================================ */

/* Lista numerowana */
.entry-content ol.wp-block-list,
.pb-content ol.wp-block-list {
    display: block !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding-left: 2.25rem !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
}

/* Lista wypunktowana */
.entry-content ul.wp-block-list,
.pb-content ul.wp-block-list {
    display: block !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding-left: 2.25rem !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
}

/* Elementy listy */
.entry-content ol.wp-block-list > li,
.entry-content ul.wp-block-list > li,
.pb-content ol.wp-block-list > li,
.pb-content ul.wp-block-list > li {
    display: list-item !important;
    margin-top: 0.6rem !important;
    margin-bottom: 0.6rem !important;
    padding-left: 0.25rem !important;
    line-height: 1.7 !important;
}

/* Wymuszenie numerów dla listy ol */
.entry-content ol.wp-block-list > li::marker,
.pb-content ol.wp-block-list > li::marker {
    content: counter(list-item) ". " !important;
    color: #ad5a38 !important;
    font-weight: 700 !important;
}

/* Wymuszenie kropek dla listy ul */
.entry-content ul.wp-block-list > li::marker,
.pb-content ul.wp-block-list > li::marker {
    color: #ad5a38 !important;
    font-weight: 700 !important;
}

/* Listy zagnieżdżone */
.entry-content ol.wp-block-list ol,
.pb-content ol.wp-block-list ol {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1.75rem !important;
    list-style-type: lower-alpha !important;
}

.entry-content ul.wp-block-list ul,
.entry-content ol.wp-block-list ul,
.pb-content ul.wp-block-list ul,
.pb-content ol.wp-block-list ul {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1.75rem !important;
    list-style-type: disc !important;
}

/* ============================================================
   AKAPITY I LISTY W TREŚCI
   ============================================================ */

/* Domyślnie: normalny tekst i odstępy między akapitami */
.entry-content p {
    margin: 0 0 1rem !important;
    line-height: 1.7 !important;
    text-align: left !important;
    hyphens: auto !important;
}

/* Lista numerowana i wypunktowana */
.entry-content ol,
.entry-content ul {
    margin: 0 0 1rem !important;
    padding-left: 2.25rem !important;
}

.entry-content ol {
    list-style-type: decimal !important;
}

.entry-content ul {
    list-style-type: disc !important;
}

.entry-content li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
    line-height: 1.7 !important;
}

.entry-content li::marker {
    color: #ad5a38 !important;
    font-weight: 700 !important;
}

/* Ręczne justowanie akapitu:
   Gutenberg → blok tekstu → Zaawansowane → Klasy CSS:
   tekst-justowany
*/
.entry-content .tekst-justowany,
.entry-content .tekst-justowany p,
.entry-content p.tekst-justowany {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* Justowanie wybrane przyciskiem Gutenberg */
.entry-content .has-text-align-justify,
.entry-content .has-text-align-justify p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* Automatyczne justowanie wpisów z kategorią „ogloszenia” */
body.pb-auto-format .entry-content p,
body.pb-auto-format .entry-content li {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* ============================================================
   JUSTOWANIE BEZ DZIELENIA WYRAZÓW
   ============================================================ */

.entry-content p,
.entry-content li,
.entry-content blockquote {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
}

/* Tekst ręcznie wyjustowany */
.entry-content .tekst-justowany,
.entry-content .tekst-justowany p,
.entry-content p.tekst-justowany,

/* Justowanie z Gutenberga */
.entry-content .has-text-align-justify,
.entry-content .has-text-align-justify p,

/* Automatyczne justowanie ogłoszeń */
body.pb-auto-format .entry-content p,
body.pb-auto-format .entry-content li {
    text-align: justify !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    text-justify: inter-word;
}

/* ============================================================
   MOBILNE MENU — przewijanie i rozwijane podmenu
   ============================================================ */

@media (max-width: 1023px) {

    body.pb-mobile-menu-open {
        overflow: hidden;
    }

    .site-header__mobile-menu {
        position: fixed !important;
        top: 5rem;
        right: 0;
        left: 0;
        z-index: 49;
        display: block;
        max-height: calc(100dvh - 5rem);
        overflow-y: auto !important;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        background: #fff;
        box-shadow: 0 18px 35px rgba(29, 45, 71, 0.16);
    }

    .site-header__mobile-menu[hidden] {
        display: none !important;
    }

    .mobile-nav-menu {
        max-height: none;
        overflow: visible;
        padding-bottom: 1.5rem;
    }

    /*
     * WordPress generuje zwykłe .sub-menu.
     * Domyślnie je chowamy, a pokazujemy dopiero po kliknięciu.
     */
    .mobile-nav-menu .sub-menu {
        display: none !important;
    }

    .mobile-nav-menu .menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }

    .mobile-nav-menu .menu-item-has-children {
        position: relative;
    }

    .mobile-nav-menu .menu-item-has-children > a {
        padding-right: 4rem;
    }

    .mobile-submenu-toggle {
        position: absolute;
        top: 0.45rem;
        right: 0.25rem;
        z-index: 2;
        display: inline-flex;
        width: 2.5rem;
        height: 2.5rem;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 0.5rem;
        background: transparent;
        color: #ad5a38;
        cursor: pointer;
    }

    .mobile-submenu-toggle:hover,
    .mobile-submenu-toggle:focus {
        background: #f0f9ff;
        outline: none;
    }

    .mobile-submenu-toggle span {
        display: block;
        font-size: 1.5rem;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .menu-item-has-children.is-open > .mobile-submenu-toggle span {
        transform: rotate(180deg);
    }

    .mobile-nav-menu .sub-menu .menu-item-has-children > a {
        padding-right: 3.5rem;
    }

    .mobile-nav-menu .sub-menu .mobile-submenu-toggle {
        top: 0.15rem;
    }
}

/* Obsługa starszych przeglądarek bez dvh */
@supports not (height: 100dvh) {
    @media (max-width: 1023px) {
        .site-header__mobile-menu {
            max-height: calc(100vh - 5rem);
        }
    }
}

/* Jeśli użytkownik jest zalogowany i WordPress pokazuje pasek admina */
@media (max-width: 782px) {
    body.admin-bar .site-header__mobile-menu {
        top: calc(5rem + 46px);
        max-height: calc(100dvh - 5rem - 46px);
    }
}