/* Globalny, kompaktowy nagłówek podstron. */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(36, 49, 47, .08);
    background: var(--page-hero-bg, #fffaf0);
}

.page-hero__shell {
    position: relative;
    min-height: 190px;
    padding-top: 18px;
    padding-bottom: 26px;
}

.page-hero-breadcrumbs {
    display: flex;
    justify-content: center;
    width: 100%;
}

.page-hero-breadcrumbs ol {
    display: flex;
    max-width: min(100%, 1050px);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    color: #345d51;
    font-size: clamp(.84rem, 1.1vw, .96rem);
    font-weight: 700;
    list-style: none;
    text-align: center;
}

.page-hero-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.page-hero-breadcrumbs a,
.page-hero-breadcrumbs span {
    color: inherit;
    text-decoration: none;
}

.page-hero-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-hero-breadcrumbs a:hover,
.page-hero-breadcrumbs a:focus-visible {
    color: #17483d;
    text-decoration: underline;
}

.page-hero-breadcrumbs__home-icon {
    display: inline-grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border: 1px solid rgba(243, 189, 47, .45);
    border-radius: 50%;
    background: rgba(255, 246, 215, .82);
    color: #1d7560;
    box-shadow: 0 5px 14px rgba(36, 49, 47, .05);
}

.page-hero-breadcrumbs__home-icon svg {
    width: 18px;
    height: 18px;
}

.page-hero-breadcrumbs__separator {
    color: var(--page-hero-accent, #f3bd2f);
}

.page-hero-breadcrumbs__separator svg {
    width: 13px;
    height: 13px;
}

.page-hero-breadcrumbs [aria-current="page"] {
    color: #24473e;
}

.page-hero__icon,
.page-hero__title-icon,
.page-hero__main-icon,
.page-hero__content > img:not(.page-hero__accent-image),
.page-hero__decoration {
    display: none !important;
}

.page-hero__content {
    display: flex;
    max-width: 980px;
    flex-direction: column;
    align-items: center;
    margin: 20px auto 0;
    text-align: center;
}

.page-hero__title {
    max-width: 980px;
    margin: 0;
    color: var(--page-hero-title, #17483d);
    font-family: "Baloo 2", var(--font-heading);
    font-size: clamp(2.55rem, 4.5vw, 4.35rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.018em;
    text-wrap: balance;
}

.page-hero__accent {
    display: block;
    width: min(560px, 58vw);
    height: 6px;
    margin: 14px auto 0;
    border-radius: 55% 45% 60% 40%;
    background: var(--page-hero-accent, #f3bd2f);
    clip-path: polygon(0 44%,8% 31%,17% 41%,29% 26%,43% 38%,57% 21%,71% 35%,86% 25%,100% 48%,88% 68%,74% 59%,59% 77%,44% 63%,28% 82%,13% 66%,3% 78%);
}

.page-hero__accent-image {
    display: block;
    width: min(560px, 58vw);
    max-height: 24px;
    margin: 14px auto 0;
    object-fit: contain;
}

.page-hero__subtitle {
    max-width: 760px;
    margin: 12px auto 0;
    color: #4a5753;
    font-size: clamp(.96rem, 1.35vw, 1.08rem);
    line-height: 1.5;
}

.page-layout--with-hero {
    padding-top: clamp(32px, 4vw, 48px);
}

.page-layout--with-hero .page-content > .entry-title {
    display: none;
}

@media (max-width: 620px) {
    .page-hero__shell {
        min-height: 168px;
        padding: 14px 8px 22px;
    }

    .page-hero-breadcrumbs ol {
        gap: 6px 8px;
        font-size: .8rem;
    }

    .page-hero-breadcrumbs__home-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .page-hero-breadcrumbs [aria-current="page"] {
        max-width: 68vw;
    }

    .page-hero__content {
        max-width: 94%;
        margin-top: 16px;
    }

    .page-hero__title {
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    .page-hero__accent,
    .page-hero__accent-image {
        width: 72vw;
        margin-top: 11px;
    }
}
