/* ======================================================================
   SP Jaczów — strona główna, jasny wariant v1.1.0
   Ładowany po spj-front-final-v1.css oraz spj-school-light-v1.css.
   ====================================================================== */

body.sp11-site .spj-home-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(193, 225, 248, 0.35), transparent 18rem),
        linear-gradient(180deg, #ffffff 0, #f8fbfe 38rem, #f7f9fc 100%);
}

/* --- HERO ------------------------------------------------------------- */
body.sp11-site .spj-platinum-hero {
    overflow: visible;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    color: var(--sp11-text);
    background: transparent;
    border: 0;
}

body.sp11-site .spj-platinum-hero__layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.45fr);
    max-width: var(--sp11-container);
    min-height: clamp(28rem, 52vw, 35rem);
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2eaf2;
    border-radius: 1.45rem;
    box-shadow: 0 1rem 2.7rem rgba(31, 79, 152, 0.08);
}

body.sp11-site .spj-platinum-hero__content {
    display: flex;
    align-items: center;
    padding: clamp(2rem, 4.8vw, 4.5rem) clamp(1.6rem, 4vw, 4rem);
    color: var(--sp11-text);
    background:
        radial-gradient(circle at 16% 22%, rgba(217, 234, 250, 0.58), transparent 12rem),
        #ffffff;
}

body.sp11-site .spj-platinum-hero__inner {
    width: min(100%, 34rem);
    margin: 0;
}

body.sp11-site .spj-platinum-hero__eyebrow {
    display: block;
    max-width: 31rem;
    margin: 0 0 1rem;
    color: #31506f;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: none;
}

body.sp11-site .spj-platinum-hero__eyebrow::before {
    display: none;
}

body.sp11-site .spj-platinum-hero__title {
    max-width: 11ch;
    margin: 0;
    color: #102b4e !important;
    font-family: inherit;
    font-size: clamp(2.25rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.06;
    text-wrap: balance;
}

body.sp11-site .spj-platinum-hero__title::after {
    content: "";
    display: block;
    width: 3.6rem;
    height: 0.25rem;
    margin-top: 1.15rem;
    border-radius: 99px;
    background: #e8b52d;
}

body.sp11-site .spj-platinum-hero__lead {
    max-width: 34rem;
    margin: 1.2rem 0 0;
    color: #40566f;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.75;
}

body.sp11-site .spj-platinum-hero__actions {
    margin-top: 1.55rem;
}

body.sp11-site .spj-platinum-hero__button {
    min-height: 48px;
    gap: 0.8rem;
    padding: 0.82rem 1.2rem;
    border: 2px solid #1f4f98;
    border-radius: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

body.sp11-site .spj-platinum-hero__button--primary {
    color: #ffffff;
    background: #1f4f98;
    border-color: #1f4f98;
}

body.sp11-site .spj-platinum-hero__button--primary:hover {
    color: #ffffff;
    background: #173f7b;
    border-color: #173f7b;
    transform: translateY(-1px);
}

body.sp11-site .spj-platinum-hero__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #e7edf4;
    border: 0;
    border-radius: 5rem 0 0 0;
}

body.sp11-site .spj-platinum-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(17, 43, 78, 0.08), transparent 22%);
}

body.sp11-site .spj-platinum-hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- szybkie linki ---------------------------------------------------- */
body.sp11-site .spj-hero-values {
    padding: clamp(1.15rem, 2.5vw, 2rem) 0;
    background: transparent;
    border: 0;
}

body.sp11-site .spj-hero-values__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(calc(100% - 2rem), var(--sp11-container));
}

body.sp11-site .spj-hero-values__item,
body.sp11-site .spj-hero-values__item:first-child {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    min-height: 6rem;
    padding: 0.9rem 1rem;
    color: #183755;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.3rem 1rem rgba(31, 79, 152, 0.06);
    text-decoration: none;
}

body.sp11-site .spj-hero-values__item:hover,
body.sp11-site .spj-hero-values__item:focus-visible {
    color: #1f4f98;
    border-color: #a9bfd8;
    box-shadow: 0 0.65rem 1.5rem rgba(31, 79, 152, 0.1);
}

body.sp11-site .spj-hero-values__icon {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    color: #1f4f98;
    background: #eaf2fd;
    border: 0;
    border-radius: 50%;
}

body.sp11-site .spj-hero-values__icon--green {
    color: #2b6c4b;
    background: #e8f5ed;
}

body.sp11-site .spj-hero-values__icon--sky {
    color: #246c91;
    background: #e8f5fb;
}

body.sp11-site .spj-hero-values__icon--violet {
    color: #6b4bb5;
    background: #f0ecfa;
}

body.sp11-site .spj-hero-values__icon--gold {
    color: #7a5600;
    background: #fff4d4;
}

body.sp11-site .spj-hero-values__icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

body.sp11-site .spj-hero-values__copy {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

body.sp11-site .spj-hero-values__copy strong {
    font-weight: 700;
}

body.sp11-site .spj-hero-values__arrow {
    color: #1f4f98;
    font-size: 1.25rem;
    font-weight: 700;
}

/* --- aktualności ------------------------------------------------------ */
body.sp11-site .spj-home-news {
    background: transparent;
}

body.sp11-site .spj-home-news__head,
body.sp11-site .spj-home-news__intro,
body.sp11-site .spj-home-news__intro h2,
body.sp11-site .spj-home-news-card h3,
body.sp11-site .spj-home-news-card h3 a {
    font-family: inherit !important;
}

body.sp11-site .spj-home-news__intro h2,
body.sp11-site .spj-home-news-card h3 {
    color: #102b4e !important;
    font-weight: 700;
}

body.sp11-site .spj-home-news-card {
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 152, 0.055);
}

body.sp11-site .spj-home-news-card__media,
body.sp11-site .spj-home-news-card__thumb,
body.sp11-site .spj-home-news-card__placeholder {
    border-radius: 0.9rem;
}

body.sp11-site .spj-home-news-card__meta span {
    color: #2b6c4b;
    background: #e8f5ed;
    border-color: #cce6d6;
}

body.sp11-site .spj-home-news-card__date-tile {
    color: #1f4f98;
    background: #eaf2fd;
    border-color: #cbdcf0;
}

body.sp11-site .spj-home-news__all,
body.sp11-site .spj-home-news-card__more {
    color: #1f4f98;
    font-weight: 700;
}

/* --- programy/projekty ------------------------------------------------ */
body.sp11-site .spj-projects-section,
body.sp11-site .spj-projects-section__inner,
body.sp11-site .spj-projects-carousel__viewport {
    background: transparent;
}

body.sp11-site .spj-projects-section h2,
body.sp11-site .spj-projects-section h3 {
    font-family: inherit !important;
    color: #102b4e !important;
}

body.sp11-site .spj-projects-card,
body.sp11-site .spj-project-card {
    background: #ffffff;
    border-color: #dce5ef;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 152, 0.055);
}

/* --- RWD -------------------------------------------------------------- */
@media (max-width: 72rem) {
    body.sp11-site .spj-platinum-hero__layout {
        grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.2fr);
    }

    body.sp11-site .spj-hero-values__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 56rem) {
    body.sp11-site .spj-platinum-hero__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body.sp11-site .spj-platinum-hero__content {
        padding: 2.6rem 1.6rem;
    }

    body.sp11-site .spj-platinum-hero__title {
        max-width: 15ch;
    }

    body.sp11-site .spj-platinum-hero__visual {
        min-height: 24rem;
        border-radius: 0;
    }

    body.sp11-site .spj-hero-values__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    body.sp11-site .spj-platinum-hero {
        padding: 0.75rem 0;
    }

    body.sp11-site .spj-platinum-hero__layout {
        border-radius: 1rem;
    }

    body.sp11-site .spj-platinum-hero__content {
        padding: 2.2rem 1.2rem;
    }

    body.sp11-site .spj-platinum-hero__title {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    body.sp11-site .spj-platinum-hero__visual {
        min-height: 18rem;
    }

    body.sp11-site .spj-hero-values__inner {
        grid-template-columns: 1fr;
        width: min(calc(100% - 1.25rem), var(--sp11-container));
    }

    body.sp11-site .spj-hero-values__item,
    body.sp11-site .spj-hero-values__item:first-child {
        min-height: 4.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.sp11-site .spj-platinum-hero__button,
    body.sp11-site .spj-hero-values__item {
        transition: none;
        transform: none !important;
    }
}

@media (forced-colors: active) {
    body.sp11-site .spj-platinum-hero__layout,
    body.sp11-site .spj-platinum-hero__content,
    body.sp11-site .spj-platinum-hero__visual,
    body.sp11-site .spj-hero-values__item,
    body.sp11-site .spj-hero-values__icon,
    body.sp11-site .spj-home-news-card {
        color: CanvasText;
        background: Canvas;
        border-color: CanvasText;
        box-shadow: none;
    }

    body.sp11-site .spj-platinum-hero__title,
    body.sp11-site .spj-platinum-hero__lead,
    body.sp11-site .spj-platinum-hero__eyebrow {
        color: CanvasText !important;
    }
}

@media print {
    body.sp11-site .spj-platinum-hero {
        padding: 0;
        background: #ffffff;
    }

    body.sp11-site .spj-platinum-hero__layout {
        display: block;
        min-height: 0;
        border: 0;
        box-shadow: none;
    }

    body.sp11-site .spj-platinum-hero__content {
        padding: 1rem 0;
        background: #ffffff;
    }

    body.sp11-site .spj-platinum-hero__visual,
    body.sp11-site .spj-platinum-hero__actions,
    body.sp11-site .spj-hero-values {
        display: none !important;
    }
}

/* ======================================================================
   SP Jaczów — pozostałe sekcje strony głównej, jasny wariant v1.1.0
   Cel: odejście od ciężkiej strony reprezentacyjnej. Wszystkie sekcje
   korzystają z tego samego lekkiego języka co zaakceptowany hero.
   ====================================================================== */

/* --- wspólny rytm i nagłówki ----------------------------------------- */
body.sp11-site .spj-home-page .sp11-eyebrow,
body.sp11-site .spj-home-page .sp11-section__head .sp11-eyebrow,
body.sp11-site .spj-home-page .spj-projects-section .sp11-eyebrow {
    color: #31506f;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

body.sp11-site .spj-home-page .sp11-eyebrow::before {
    background: #9ec5e6;
}

body.sp11-site .sp11-official__head h2,
body.sp11-site .sp11-section--audience-featured h2,
body.sp11-site .spj-important-news h2,
body.sp11-site .spj-projects-section__header h2,
body.sp11-site .spj-projects-group__header h3,
body.sp11-site .spj-patron-accent blockquote p {
    font-family: inherit !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}

body.sp11-site .sp11-official__head h2,
body.sp11-site .sp11-section--audience-featured h2,
body.sp11-site .spj-important-news h2,
body.sp11-site .spj-projects-section__header h2 {
    color: #102b4e !important;
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    line-height: 1.12;
}

/* --- rekrutacja ------------------------------------------------------- */
body.sp11-site .sp11-recruitment {
    padding-block: clamp(1.5rem, 3.5vw, 2.8rem);
    background: #f7fbff;
    border-block: 1px solid #e5edf5;
}

body.sp11-site .sp11-recruitment__panel {
    grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 12rem);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    padding: clamp(1.45rem, 3vw, 2.35rem);
    color: #13263d;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1.15rem;
    box-shadow: 0 0.6rem 1.8rem rgba(31, 79, 152, 0.07);
}

body.sp11-site .sp11-recruitment__panel::before {
    height: 0.22rem;
    background: linear-gradient(90deg, #1f4f98 0 62%, #9ec5e6 62% 82%, #e8b52d 82% 100%);
}

body.sp11-site .sp11-recruitment__eyebrow {
    margin-bottom: 0.55rem;
    color: #2b6c4b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

body.sp11-site .sp11-recruitment h2 {
    color: #102b4e;
    font-family: inherit;
    font-size: clamp(1.75rem, 3.1vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

body.sp11-site .sp11-recruitment__content > p {
    color: #40566f;
    font-size: 1rem;
    line-height: 1.7;
}

body.sp11-site .sp11-recruitment__steps li {
    min-height: 3.2rem;
    color: #183755;
    background: #f6f9fc;
    border: 1px solid #dce5ef;
    border-radius: 0.8rem;
}

body.sp11-site .sp11-recruitment__steps li > span {
    color: #1f4f98;
    background: #eaf2fd;
    border: 1px solid #cbdcf0;
    font-weight: 700;
}

body.sp11-site .sp11-recruitment__steps strong {
    color: #183755;
    font-weight: 700;
}

body.sp11-site .sp11-btn--recruitment,
body.sp11-site .sp11-btn--recruitment-secondary {
    min-height: 46px;
    border-radius: 0.8rem;
    box-shadow: none;
    font-weight: 700;
}

body.sp11-site .sp11-btn--recruitment {
    color: #ffffff;
    background: #1f4f98;
    border-color: #1f4f98;
}

body.sp11-site .sp11-btn--recruitment:hover {
    color: #ffffff;
    background: #173f7b;
    border-color: #173f7b;
}

body.sp11-site .sp11-btn--recruitment-secondary {
    color: #1f4f98;
    background: #ffffff;
    border-color: #9eb7d1;
}

body.sp11-site .sp11-btn--recruitment-secondary:hover {
    color: #173f7b;
    background: #f1f6fb;
    border-color: #6f94ba;
}

body.sp11-site .sp11-recruitment__number {
    min-height: 10.5rem;
    color: #1f4f98;
    background: #eef5fb;
    border: 1px solid #d7e5f2;
    border-radius: 1rem;
}

body.sp11-site .sp11-recruitment__number::before,
body.sp11-site .sp11-recruitment__number::after {
    border-color: rgba(31, 79, 152, 0.14);
}

body.sp11-site .sp11-recruitment__number span {
    color: #1f4f98;
    font-family: inherit;
    font-weight: 700;
}

body.sp11-site .sp11-recruitment__number small {
    color: #31506f;
    font-weight: 700;
}

/* --- serwisy publiczne ------------------------------------------------ */
body.sp11-site .sp11-official {
    padding-block: clamp(2.5rem, 4.5vw, 3.8rem);
    background: #ffffff;
    border-block: 1px solid #e7edf4;
}

body.sp11-site .sp11-official::before {
    height: 0.18rem;
    background: #dceaf7;
}

body.sp11-site .sp11-official::after {
    display: none;
}

body.sp11-site .sp11-official > .sp11-container {
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.6fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

body.sp11-site .sp11-official__head p {
    color: #4f6074;
    line-height: 1.7;
}

body.sp11-site .sp11-official__grid {
    gap: 0.85rem;
}

body.sp11-site .sp11-official-card {
    min-height: 9rem;
    padding: 0.9rem 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.3rem 1rem rgba(31, 79, 152, 0.05);
}

body.sp11-site .sp11-official-card::before,
body.sp11-site .sp11-official-card:nth-child(2)::before,
body.sp11-site .sp11-official-card:nth-child(3)::before,
body.sp11-site .sp11-official-card:nth-child(4)::before {
    right: 1.2rem;
    left: 1.2rem;
    height: 0.16rem;
    background: #9ec5e6;
    opacity: 1;
}

body.sp11-site .sp11-official-card:hover,
body.sp11-site .sp11-official-card:focus-visible {
    border-color: #a9bfd8;
    box-shadow: 0 0.65rem 1.5rem rgba(31, 79, 152, 0.09);
    transform: translateY(-0.1rem);
}

body.sp11-site .sp11-official-card strong {
    color: #183755;
    font-family: inherit;
    font-weight: 700;
}

/* --- patron szkoły ---------------------------------------------------- */
body.sp11-site .spj-patron-accent {
    color: #183755;
  
   
}

body.sp11-site .spj-patron-accent::after {
    display: none;
}

body.sp11-site .spj-patron-accent__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    padding-block: clamp(1.4rem, 3vw, 2.2rem);
}

body.sp11-site .spj-patron-accent blockquote {
    padding-left: 1.1rem;
    border-left: 0.25rem solid #e8b52d;
}

body.sp11-site .spj-patron-accent blockquote p {
    max-width: 58rem;
    color: #183755;
    font-size: clamp(1.03rem, 1.8vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.55;
}

body.sp11-site .spj-patron-accent cite {
    margin-top: 0.4rem;
    color: #6b5520;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
}

body.sp11-site .spj-patron-accent__label {
    max-width: none;
    padding: 0.45rem 0.7rem;
    color: #31506f;
    background: #ffffff;
    border: 1px solid #ead9ae;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* --- informacje według potrzeb --------------------------------------- */
body.sp11-site .sp11-section--audience-featured {
    padding-block: clamp(2.8rem, 5vw, 4.2rem);
    color: #13263d;
    background: #f4f8fc;
    border-block: 1px solid #e0e9f2;
    box-shadow: none;
}

body.sp11-site .sp11-section--audience-featured::before {
    height: 0.18rem;
    background: #d9e8f5;
}

body.sp11-site .sp11-section__head--on-dark,
body.sp11-site .sp11-section__head--on-dark h2,
body.sp11-site .sp11-section__head--on-dark p {
    color: #13263d;
}

body.sp11-site .sp11-section__head--on-dark {
    margin-bottom: 1.55rem;
}

body.sp11-site .sp11-section__head--on-dark p {
    color: #4f6074;
}

body.sp11-site .sp11-section__head--on-dark .sp11-eyebrow {
    color: #31506f;
}

body.sp11-site .sp11-audience-grid--four {
    gap: 0.9rem;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience,
body.sp11-site .sp11-audience-grid--four .sp11-audience--student,
body.sp11-site .sp11-audience-grid--four .sp11-audience--diary {
    min-height: 14rem;
    padding: 1.25rem;
    color: #13263d;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 152, 0.055);
}

body.sp11-site .sp11-audience-grid--four .sp11-audience--diary {
    border-top: 0.24rem solid #9ec5e6;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience--parent {
    border-top: 0.24rem solid #b9d9c5;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience--student {
    border-top: 0.24rem solid #c9c1e8;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience--support {
    border-top: 0.24rem solid #ead9ae;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience h3,
body.sp11-site .sp11-audience-grid--four .sp11-audience--student h3,
body.sp11-site .sp11-audience-grid--four .sp11-audience--diary h3 {
    color: #102b4e;
    font-family: inherit;
    font-weight: 700;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience a,
body.sp11-site .sp11-audience-grid--four .sp11-audience--student a,
body.sp11-site .sp11-audience-grid--four .sp11-audience--diary a {
    color: #1f4f98;
}

body.sp11-site .sp11-audience-grid--four .sp11-audience a:hover,
body.sp11-site .sp11-audience-grid--four .sp11-audience a:focus-visible,
body.sp11-site .sp11-audience-grid--four .sp11-audience--student a:hover,
body.sp11-site .sp11-audience-grid--four .sp11-audience--student a:focus-visible {
    color: #173f7b;
}

body.sp11-site .sp11-audience__mark {
    width: 2.65rem;
    height: 2.65rem;
    color: #1f4f98;
    background: #eaf2fd;
    border: 1px solid #cbdcf0;
    border-radius: 0.75rem;
    box-shadow: none;
    font-weight: 700;
}

body.sp11-site .sp11-audience--diary p,
body.sp11-site .sp11-audience__unavailable {
    color: #4f6074;
}

body.sp11-site .sp11-audience__action {
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    color: #ffffff !important;
    background: #1f4f98;
    border: 2px solid #1f4f98;
    border-radius: 0.75rem;
    box-shadow: none;
    font-weight: 700;
}

body.sp11-site .sp11-audience__action:hover {
    color: #ffffff !important;
    background: #173f7b;
    border-color: #173f7b;
}

/* --- ważne informacje ------------------------------------------------- */
body.sp11-site .spj-important-news {
    padding-block: clamp(2.8rem, 5vw, 4.2rem) !important;
    color: #13263d;
    background: #fffaf0;
    border-block: 1px solid #f0e4c9;
}

body.sp11-site .spj-important-news::before {
    height: 0.18rem;
    background: #ead9ae;
}

body.sp11-site .spj-important-news::after {
    display: none;
}

body.sp11-site .spj-important-news .sp11-section__head,
body.sp11-site .spj-important-news .sp11-section__head h2,
body.sp11-site .spj-important-news .sp11-eyebrow,
body.sp11-site .spj-important-news__lead {
    color: #13263d;
}

body.sp11-site .spj-important-news .sp11-eyebrow {
    color: #7a5600;
}

body.sp11-site .spj-important-news .sp11-eyebrow::before {
    background: #d8b766;
}

body.sp11-site .spj-important-news__lead {
    color: #5a5b59;
}

body.sp11-site .spj-important-news .sp11-alert {
    min-height: 0;
    padding: 1.25rem 1.2rem 1.2rem 4.4rem;
    color: #13263d;
    background: #ffffff;
    border: 1px solid #eadfca;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(122, 86, 0, 0.055);
}

body.sp11-site .spj-important-news .sp11-alert::before {
    top: 1.15rem;
    left: 1.1rem;
    width: 2.35rem;
    height: 2.35rem;
    color: #7a5600;
    background: #fff4d4;
    border: 1px solid #e6ca84;
    box-shadow: none;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
}

body.sp11-site .spj-important-news .sp11-alert::after {
    display: none;
}

body.sp11-site .spj-important-news .sp11-alert:hover {
    border-color: #d8c79e;
    box-shadow: 0 0.7rem 1.6rem rgba(122, 86, 0, 0.08);
    transform: translateY(-0.1rem);
}

body.sp11-site .spj-important-news .sp11-alert time {
    color: #6b6252;
    font-weight: 600;
}

body.sp11-site .spj-important-news .sp11-alert h3,
body.sp11-site .spj-important-news .sp11-alert h3 a {
    color: #102b4e;
    font-family: inherit;
    font-weight: 700;
}

body.sp11-site .spj-important-news .sp11-alert > .sp11-text-link {
    min-height: 44px;
    color: #1f4f98;
    background: #ffffff;
    border: 2px solid #9eb7d1;
    border-radius: 0.75rem;
    font-weight: 700;
}

body.sp11-site .spj-important-news .sp11-alert > .sp11-text-link:hover {
    color: #ffffff;
    background: #1f4f98;
    border-color: #1f4f98;
}

/* --- aktualności: dopięcie lekkiego języka --------------------------- */
body.sp11-site .spj-home-news {
    padding-block: clamp(2.8rem, 5vw, 4.2rem);
    background: #ffffff;
}

body.sp11-site .spj-home-news__intro p,
body.sp11-site .spj-home-news-card__body > p,
body.sp11-site .spj-home-news-card__meta {
    color: #4f6074;
}

body.sp11-site .spj-home-news__all {
    min-height: 46px;
    padding: 0.7rem 1rem;
    color: #1f4f98;
    background: #ffffff;
    border: 2px solid #9eb7d1;
    border-radius: 0.8rem;
}

body.sp11-site .spj-home-news__all:hover,
body.sp11-site .spj-home-news__all:focus-visible {
    color: #ffffff;
    background: #1f4f98;
    border-color: #1f4f98;
}

body.sp11-site .spj-home-news-card--featured {
    border: 1px solid #dce5ef;
    border-bottom: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 152, 0.055);
}

body.sp11-site .spj-home-news-card--featured .spj-home-news-card__media {
    border-radius: 0;
}

body.sp11-site .spj-home-news-card__more {
    color: #1f4f98;
    border-bottom-color: #9eb7d1;
}

body.sp11-site .spj-home-news-card__more:hover,
body.sp11-site .spj-home-news-card__more:focus-visible {
    color: #173f7b;
    border-bottom-color: #173f7b;
}

/* --- programy i projekty --------------------------------------------- */
body.sp11-site .spj-projects-section {
    padding-block: clamp(2.8rem, 5vw, 4.2rem);
    background: #f6f9fc;
    border-top: 1px solid #e2eaf2;
}

body.sp11-site .spj-projects-section::before {
    height: 0.18rem;
    background: #d9e8f5;
}

body.sp11-site .spj-projects-section__header {
    margin-bottom: 1.8rem;
}

body.sp11-site .spj-projects-section__header > p,
body.sp11-site .spj-projects-group__header p {
    color: #4f6074;
}

body.sp11-site .spj-projects-groups {
    gap: 1.6rem;
}

body.sp11-site .spj-projects-group {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 152, 0.05);
}

body.sp11-site .spj-projects-group__top {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom-color: #e4ebf2;
}

body.sp11-site .spj-projects-group__header h3 {
    color: #183755 !important;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

body.sp11-site .spj-projects-carousel__button {
    min-width: 44px;
    min-height: 44px;
    color: #1f4f98;
    background: #ffffff;
    border: 2px solid #9eb7d1;
    border-radius: 0.75rem;
    font-family: inherit;
    font-weight: 700;
}

body.sp11-site .spj-projects-carousel__button:hover:not(:disabled) {
    color: #ffffff;
    background: #1f4f98;
    border-color: #1f4f98;
}

body.sp11-site .spj-projects-carousel__status {
    color: #4f6074;
    font-weight: 600;
}

body.sp11-site .spj-projects-carousel .spj-project-card {
    overflow: hidden;
    color: #13263d;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 0.95rem;
    box-shadow: none;
}

body.sp11-site .spj-projects-carousel .spj-project-card:hover {
    color: #13263d;
    border-color: #a9bfd8;
    box-shadow: 0 0.55rem 1.3rem rgba(31, 79, 152, 0.08);
    transform: translateY(-0.1rem);
}

body.sp11-site .spj-project-card__logo {
    background: #ffffff;
    border-bottom-color: #e7edf4;
}

body.sp11-site .spj-project-card__body strong {
    color: #183755;
    font-weight: 700;
}

body.sp11-site .spj-project-card__body span {
    color: #4f6074;
}

body.sp11-site .spj-project-card__action {
    color: #1f4f98;
    font-weight: 700;
}

/* --- RWD pozostałych sekcji ----------------------------------------- */
@media (max-width: 68rem) {
    body.sp11-site .sp11-official > .sp11-container {
        grid-template-columns: 1fr;
    }

    body.sp11-site .spj-projects-section__header {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

@media (max-width: 64rem) {
    body.sp11-site .sp11-recruitment__panel {
        grid-template-columns: 1fr;
    }

    body.sp11-site .sp11-recruitment__number {
        display: none;
    }
}

@media (max-width: 50rem) {
    body.sp11-site .spj-patron-accent__inner {
        grid-template-columns: 1fr;
    }

    body.sp11-site .spj-patron-accent__label {
        justify-self: start;
    }

    body.sp11-site .sp11-official__grid,
    body.sp11-site .sp11-audience-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    body.sp11-site .sp11-recruitment,
    body.sp11-site .sp11-official,
    body.sp11-site .sp11-section--audience-featured,
    body.sp11-site .spj-important-news,
    body.sp11-site .spj-home-news,
    body.sp11-site .spj-projects-section {
        padding-block: 2.2rem !important;
    }

    body.sp11-site .sp11-recruitment__panel {
        padding: 1.15rem;
        border-radius: 0.9rem;
    }

    body.sp11-site .sp11-recruitment__steps {
        grid-template-columns: 1fr;
    }

    body.sp11-site .sp11-recruitment__steps li {
        min-height: 3rem;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    body.sp11-site .sp11-official__grid,
    body.sp11-site .sp11-audience-grid--four {
        grid-template-columns: 1fr;
    }

    body.sp11-site .sp11-audience-grid--four .sp11-audience,
    body.sp11-site .sp11-audience-grid--four .sp11-audience--student,
    body.sp11-site .sp11-audience-grid--four .sp11-audience--diary {
        min-height: 0;
    }

    body.sp11-site .spj-important-news .sp11-alert {
        padding: 4rem 1rem 1rem;
    }

    body.sp11-site .spj-important-news .sp11-alert::before {
        top: 1rem;
        left: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.sp11-site .sp11-official-card,
    body.sp11-site .spj-important-news .sp11-alert,
    body.sp11-site .spj-projects-carousel .spj-project-card {
        transition: none;
    }

    body.sp11-site .sp11-official-card:hover,
    body.sp11-site .spj-important-news .sp11-alert:hover,
    body.sp11-site .spj-projects-carousel .spj-project-card:hover {
        transform: none;
    }
}

@media (forced-colors: active) {
    body.sp11-site .sp11-recruitment,
    body.sp11-site .sp11-official,
    body.sp11-site .spj-patron-accent,
    body.sp11-site .sp11-section--audience-featured,
    body.sp11-site .spj-important-news,
    body.sp11-site .spj-home-news,
    body.sp11-site .spj-projects-section,
    body.sp11-site .sp11-recruitment__panel,
    body.sp11-site .sp11-recruitment__steps li,
    body.sp11-site .sp11-recruitment__number,
    body.sp11-site .sp11-official-card,
    body.sp11-site .sp11-audience-grid--four .sp11-audience,
    body.sp11-site .spj-important-news .sp11-alert,
    body.sp11-site .spj-projects-group,
    body.sp11-site .spj-projects-carousel .spj-project-card {
        color: CanvasText;
        background: Canvas;
        border-color: CanvasText;
        box-shadow: none;
    }

    body.sp11-site .sp11-recruitment__panel::before,
    body.sp11-site .sp11-official::before,
    body.sp11-site .sp11-official-card::before,
    body.sp11-site .sp11-section--audience-featured::before,
    body.sp11-site .spj-important-news::before,
    body.sp11-site .spj-projects-section::before {
        display: none;
    }
}

@media print {
    body.sp11-site .sp11-recruitment,
    body.sp11-site .sp11-official,
    body.sp11-site .spj-patron-accent,
    body.sp11-site .sp11-section--audience-featured,
    body.sp11-site .spj-important-news,
    body.sp11-site .spj-home-news,
    body.sp11-site .spj-projects-section {
        color: #000000 !important;
        background: #ffffff !important;
        border-color: #b8b8b8 !important;
    }

    body.sp11-site .sp11-official-card,
    body.sp11-site .sp11-audience-grid--four .sp11-audience,
    body.sp11-site .spj-important-news .sp11-alert,
    body.sp11-site .spj-projects-group,
    body.sp11-site .spj-project-card {
        color: #000000 !important;
        background: #ffffff !important;
        border: 1px solid #b8b8b8 !important;
        box-shadow: none !important;
    }
}


/* ======================================================================
   SP Jaczów — v1.4.6: delikatniejsze kolorowe akcenty strony głównej
   Warstwa wyłącznie wizualna. Bez zmian treści i kolejności fokusu.
   ====================================================================== */
@media screen and (forced-colors: none) {
    body.sp11-site .spj-home-page {
        background:
            radial-gradient(circle at 8% 9%, rgba(160, 207, 245, 0.336), transparent 18rem),
            radial-gradient(circle at 94% 31%, rgba(184, 222, 173, 0.168), transparent 20rem),
            radial-gradient(circle at 8% 67%, rgba(255, 223, 132, 0.144), transparent 17rem),
            linear-gradient(180deg, #ffffff 0, #f8fbfe 38rem, #f7f9fc 100%);
    }

    body.sp11-site .spj-hero-values__item {
        --spj-quick-accent: #6f9fe8;
        --spj-quick-tint: rgba(111, 159, 232, 0.12);
        border-top: 3px solid var(--spj-quick-accent);
        background:
            linear-gradient(180deg, var(--spj-quick-tint), rgba(255,255,255,0) 42%),
            #ffffff;
    }

    body.sp11-site .spj-hero-values__item:nth-child(2) {
        --spj-quick-accent: #82b97a;
        --spj-quick-tint: rgba(130, 185, 122, 0.12);
    }

    body.sp11-site .spj-hero-values__item:nth-child(3) {
        --spj-quick-accent: #65b7d8;
        --spj-quick-tint: rgba(101, 183, 216, 0.12);
    }

    body.sp11-site .spj-hero-values__item:nth-child(4) {
        --spj-quick-accent: #9a84dc;
        --spj-quick-tint: rgba(154, 132, 220, 0.12);
    }

    body.sp11-site .spj-hero-values__item:nth-child(5) {
        --spj-quick-accent: #d7aa35;
        --spj-quick-tint: rgba(215, 170, 53, 0.132);
    }

    body.sp11-site .spj-hero-values__item:hover,
    body.sp11-site .spj-hero-values__item:focus-visible {
        border-top-color: var(--spj-quick-accent);
        box-shadow: 0 0.7rem 1.6rem rgba(31, 79, 152, 0.12);
    }
}


/* --- hero botanical watercolor frame v1.5.1 ------------------------- */
body.sp11-site .spj-platinum-hero {
    position: relative;
    isolation: isolate;
}

body.sp11-site .spj-platinum-hero::before {
    content: "";
    position: absolute;
    inset: -0.35rem 0 -0.15rem;
    z-index: 0;
    pointer-events: none;
   background: radial-gradient(circle at 12% 20%, rgba(111, 159, 232, 0.09), transparent 13rem), linear-gradient(90deg, #ffffff 0%, #f4f9fd 68%, #fff8e9 100%);
}

body.sp11-site .spj-platinum-hero > .sp11-container {
    position: relative;
    z-index: 1;
}

body.sp11-site .spj-platinum-hero__layout {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    body.sp11-site .spj-platinum-hero::before {
        inset: -0.2rem 0 -0.1rem;
        background-size: cover;
        background-position: center top;
    }
}

@media (forced-colors: active) {
    body.sp11-site .spj-platinum-hero::before {
        display: none;
    }
}


/* --- Header condensed height fix v1.5.6 ------------------------------ */
@media (min-width: 67.5rem) {
    body.sp11-site .sp11-site-header.is-condensed .sp11-nav__list {
        min-height: 0 !important;
    }
}
