/* Żłobek Miejski nr 2 — strona główna SaaS Platinum v1.0 */

.zm2-home {
    background: #ffffff;
}

.zm2-home .zm2-eyebrow--light {
    color: #ffe9a6;
}

/* Hero */
.zm2-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--zm2-brand-950) 0%, var(--zm2-brand-800) 57%, #b83b52 100%);
}

.zm2-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 4rem;
    background: linear-gradient(to top, rgba(38, 3, 16, 0.18), transparent);
    content: "";
    pointer-events: none;
}

.zm2-hero__grid {
    position: relative;
    z-index: 2;
    min-height: 40rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.zm2-hero h1 {
    max-width: 13ch;
    margin: 0.8rem 0 0;
    color: #ffffff !important;
    font-size: clamp(2.4rem, 6vw, 4.85rem);
    line-height: 1.08;
}

.zm2-hero__lead {
    max-width: 42rem;
    margin: 1.35rem 0 0;
    color: #fbeef2;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.zm2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.zm2-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border: 0.125rem solid transparent;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
}

.zm2-button--primary {
    color: var(--zm2-brand-950) !important;
    background: #ffffff;
}

.zm2-button--primary:hover {
    color: var(--zm2-brand-950) !important;
    background: var(--zm2-gold-100);
}

.zm2-button--ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.06);
}

.zm2-button--ghost:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}

.zm2-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin: 2.4rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    list-style: none;
}

.zm2-hero__facts li {
    display: grid;
    gap: 0.1rem;
}

.zm2-hero__facts span {
    color: #ffe49a;
    font-size: 1.2rem;
    font-weight: 700;
}

.zm2-hero__facts strong {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
}

.zm2-hero__visual {
    position: relative;
    min-height: 28rem;
    display: grid;
    place-items: center;
}

.zm2-hero-card {
    color: var(--zm2-ink-800);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--zm2-shadow-md);
    backdrop-filter: blur(0.65rem);
}

.zm2-hero-card--main {
    width: min(100%, 28rem);
    display: grid;
    gap: 1.3rem;
    padding: 2rem;
    border-radius: var(--zm2-radius-lg);
    transform: rotate(-1.5deg);
}

.zm2-hero-card--main h2 {
    margin: 0.45rem 0 0;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.zm2-hero-card--main p {
    margin: 0.75rem 0 0;
    color: var(--zm2-ink-600);
}

.zm2-hero-card__icon {
    width: 4.2rem;
    height: 4.2rem;
    display: grid;
    place-items: center;
    color: var(--zm2-brand-800);
    background: var(--zm2-brand-100);
    border-radius: 1.2rem;
}

.zm2-hero-card__icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-hero-card--mini {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.zm2-hero-card--mini span {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--zm2-brand-700);
    border-radius: 50%;
    font-weight: 700;
}

.zm2-hero-card--mini-one {
    top: 2.5rem;
    right: -0.75rem;
}

.zm2-hero-card--mini-two {
    bottom: 3rem;
    left: -1.5rem;
}

.zm2-hero__orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    background: #ffffff;
}

.zm2-hero__orb--one {
    width: 22rem;
    height: 22rem;
    top: -8rem;
    right: 8%;
}

.zm2-hero__orb--two {
    width: 12rem;
    height: 12rem;
    bottom: -4rem;
    left: 42%;
}

/* Szybkie linki */
.zm2-quick-links {
    position: relative;
    z-index: 5;
    margin-top: -1.65rem;
}

.zm2-quick-links__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.zm2-quick-card {
    min-height: 7.2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    color: var(--zm2-ink-800) !important;
    background: #ffffff;
    border: 1px solid var(--zm2-line);
    border-radius: var(--zm2-radius);
    box-shadow: var(--zm2-shadow-sm);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zm2-quick-card:hover {
    color: var(--zm2-ink-950) !important;
    border-color: #cfa7b5;
    box-shadow: var(--zm2-shadow-md);
    transform: translateY(-0.15rem);
}

.zm2-quick-card__icon {
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    color: var(--zm2-brand-800);
    background: var(--zm2-brand-50);
    border-radius: 0.85rem;
}

.zm2-quick-card__icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-quick-card > span:nth-child(2) {
    display: grid;
}

.zm2-quick-card strong {
    color: var(--zm2-ink-950);
    font-size: 0.95rem;
}

.zm2-quick-card small {
    color: var(--zm2-ink-600);
    font-size: 0.77rem;
}

.zm2-quick-card__arrow {
    color: var(--zm2-brand-800);
    font-size: 1.3rem;
}

/* Sekcje wspólne */
.zm2-section {
    padding-top: clamp(40px, 5vw, 60px);
    padding-bottom: clamp(40px, 5vw, 60px);
}

.zm2-section-heading {
    max-width: 48rem;
}

.zm2-section-heading h2 {
    margin: 0.55rem 0 0;
    font-size: clamp(1.85rem, 4vw, 3rem);
}

.zm2-section-heading p {
    margin: 0.8rem 0 0;
    color: var(--zm2-ink-600);
}

.zm2-section-heading--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.zm2-section-heading--split > div {
    max-width: 48rem;
}

.zm2-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.zm2-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--zm2-brand-800) !important;
    font-weight: 700;
}

.zm2-text-link:hover {
    color: var(--zm2-brand-950) !important;
}

/* =========================================================
   ZJ Aktualności Front v1.3
   Jedna spójna wersja: featured + 3 compact cards
   ========================================================= */

.zm2-section--news {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(206, 221, 206, 0.32) 0%,
            rgba(206, 221, 206, 0) 20rem
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf7 100%
        );
}

/* Nagłówek sekcji */
.zm2-section--news .zm2-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #6d3b52;
}

.zm2-section--news .zm2-eyebrow::before {
    width: 2.25rem;
    height: 0.18rem;
    flex: 0 0 auto;
    margin-right: 0.6rem;
    background: linear-gradient(90deg, #e98b73 0%, #d7b85f 100%);
    border-radius: 999px;
    content: "";
}

.zm2-section--news .zm2-section-heading h2 {
    color: #365b43 !important;
}

.zm2-section--news .zm2-section-heading p {
    color: #455944;
}

.zm2-section--news .zm2-section-heading--split > .zm2-text-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.9rem;
    color: #365b43 !important;
    background: #edf4ea;
    border: 1px solid rgba(54, 91, 67, 0.16);
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.zm2-section--news .zm2-section-heading--split > .zm2-text-link:hover {
    color: #ffffff !important;
    background: #365b43;
    border-color: #365b43;
    transform: translateY(-0.08rem);
}

/* Główny grid */
.zm2-section--news .zm2-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(20rem, 0.72fr);
    align-items: stretch;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.zm2-section--news .zm2-news-card {
    min-width: 0;
    color: #263238;
    background: #ffffff;
    border: 1px solid rgba(54, 91, 67, 0.13);
    border-radius: 1.15rem;
    box-shadow: 0 0.7rem 1.9rem rgba(54, 91, 67, 0.065);
}

/* =========================================================
   FEATURED
   ========================================================= */

.zm2-section--news .zm2-news-card--featured {
    min-height: 26rem;
    display: grid;
    grid-template-columns: minmax(16rem, 0.88fr) minmax(0, 1.12fr);
    overflow: hidden;
    border-color: rgba(54, 91, 67, 0.15);
    box-shadow:
        0 1.05rem 2.7rem rgba(54, 91, 67, 0.085),
        0 0.15rem 0.45rem rgba(54, 91, 67, 0.035);
}

.zm2-section--news .zm2-news-card__visual {
    position: relative;
    min-height: 100%;
    display: grid;
    place-items: stretch;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 18%,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0) 9rem
        ),
        linear-gradient(
            145deg,
            #d7e4d6 0%,
            #eef4ea 52%,
            #f5dfd8 100%
        );
}

.zm2-section--news .zm2-news-card__visual picture,
.zm2-section--news .zm2-news-card__visual img {
    width: 100%;
    height: 100%;
    display: block;
}

.zm2-section--news .zm2-news-card__visual img {
    object-fit: cover;
    object-position: center;
}

/* Fallback dużego newsa: spokojna okładka redakcyjna */
.zm2-section--news .zm2-news-card__placeholder {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.7rem, 4vw, 2.5rem);
    isolation: isolate;
    overflow: hidden;
}

.zm2-section--news .zm2-news-card__placeholder::after {
    position: absolute;
    z-index: -1;
    width: 12rem;
    height: 12rem;
    right: -4.5rem;
    bottom: -5rem;
    background: rgba(233, 139, 115, 0.20);
    border-radius: 50%;
    content: "";
}

.zm2-section--news .zm2-news-card__placeholder-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    color: #6d3b52;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(109, 59, 82, 0.15);
    border-radius: 0.85rem;
}

.zm2-section--news .zm2-news-card__placeholder-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-section--news .zm2-news-card__placeholder-name {
    max-width: 24ch;
    color: #526257;
    font-family: var(--font-label, "Montserrat", Arial, sans-serif);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.zm2-section--news .zm2-news-card__placeholder-section {
    margin-top: 0.4rem;
    color: #365b43;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.zm2-section--news .zm2-news-card__placeholder-section::after {
    width: 4.2rem;
    height: 0.22rem;
    display: block;
    margin-top: 1rem;
    background: linear-gradient(90deg, #e98b73 0%, #d7b85f 55%, #9dbb9d 100%);
    border-radius: 999px;
    content: "";
}

.zm2-section--news .zm2-news-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.55rem, 3vw, 2.3rem);
}

.zm2-section--news .zm2-news-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.65rem;
    color: #6d3b52;
    background: #fbe4de;
    border: 1px solid rgba(233, 139, 115, 0.26);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Meta + ikony */
.zm2-section--news .zm2-news-card__meta-row {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.zm2-section--news .zm2-news-card__date {
    margin: 0;
    color: #5d696e;
    font-size: 0.82rem;
}

.zm2-section--news .zm2-news-card__meta-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    color: #6d3b52;
}

.zm2-section--news .zm2-news-card__meta-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-section--news .zm2-news-card__title-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.55rem;
    margin: 0.65rem 0 0;
}

.zm2-section--news .zm2-news-card__title-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    margin-top: -0.08rem;
    color: #365b43;
    background: #edf4ea;
    border-radius: 0.5rem;
}

.zm2-section--news .zm2-news-card__title-icon svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-section--news .zm2-news-card h3 a {
    color: #365b43 !important;
    text-decoration: none;
}

.zm2-section--news .zm2-news-card h3 a:hover {
    color: #6d3b52 !important;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.zm2-section--news .zm2-news-card__excerpt {
    margin: 0.8rem 0 1.05rem;
    color: #455944;
    line-height: 1.6;
}

/* =========================================================
   3 KARTY COMPACT
   ========================================================= */

.zm2-section--news .zm2-news-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.zm2-section--news .zm2-news-card--compact {
    min-height: 8.7rem;
    display: grid;
    grid-template-columns: 7.1rem minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.zm2-section--news .zm2-news-card--compact:hover {
    border-color: rgba(54, 91, 67, 0.20);
    box-shadow: 0 0.9rem 2.1rem rgba(54, 91, 67, 0.095);
    transform: translateY(-0.1rem);
}

.zm2-section--news .zm2-news-card__compact-media {
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: #edf4ea;
    border-right: 1px solid rgba(54, 91, 67, 0.11);
}

.zm2-section--news .zm2-news-card__thumb,
.zm2-section--news .zm2-news-card__thumb picture,
.zm2-section--news .zm2-news-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
}

.zm2-section--news .zm2-news-card__thumb img {
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.zm2-section--news .zm2-news-card--compact:hover .zm2-news-card__thumb img {
    transform: scale(1.025);
}

/* Brak zdjęcia = data, bez powtarzania daty po prawej */
.zm2-section--news .zm2-news-card__date-block {
    width: 100%;
    height: 100%;
    min-height: 8.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.45rem;
    color: #365b43;
    background:
        radial-gradient(
            circle at 20% 12%,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0) 5rem
        ),
        linear-gradient(
            145deg,
            #dbe8db 0%,
            #edf4ea 52%,
            #e8eef0 100%
        );
    text-align: center;
}

.zm2-section--news .zm2-news-card__date-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.45rem;
    color: #6d3b52;
}

.zm2-section--news .zm2-news-card__date-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-section--news .zm2-news-card__date-day {
    color: #365b43;
    font-family: var(--font-interface, "Nunito Sans", Arial, sans-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 0.95;
}

.zm2-section--news .zm2-news-card__date-month {
    margin-top: 0.28rem;
    color: #6d3b52;
    font-family: var(--font-label, "Montserrat", Arial, sans-serif);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zm2-section--news .zm2-news-card__date-year {
    margin-top: 0.28rem;
    color: #5d696e;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.zm2-section--news .zm2-news-card__compact-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.95rem 1.05rem;
}

/* Przy miniaturze data jest w treści; bez miniatury nie jest dublowana. */
.zm2-section--news .zm2-news-card--compact .zm2-news-card__meta-row {
    margin-bottom: 0.15rem;
}

.zm2-section--news .zm2-news-card--compact .zm2-news-card__title-row {
    margin-top: 0.3rem;
    gap: 0.48rem;
}

.zm2-section--news .zm2-news-card--compact .zm2-news-card__title-icon {
    width: 1.55rem;
    height: 1.55rem;
}

.zm2-section--news .zm2-news-card--compact .zm2-news-card__title-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

.zm2-section--news .zm2-news-card--compact h3 {
    margin-bottom: 0;
    line-height: 1.3;
}

.zm2-section--news .zm2-news-card--compact .zm2-news-card__excerpt {
    display: -webkit-box;
    margin: 0.45rem 0 0;
    overflow: hidden;
    color: #526257;
    font-size: 0.9rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Akcenty wyłącznie na media — bez kolorowania całej karty */
.zm2-section--news .zm2-news-list .zm2-news-card:nth-child(1) .zm2-news-card__compact-media {
    box-shadow: inset 0.26rem 0 0 #9dbb9d;
}

.zm2-section--news .zm2-news-list .zm2-news-card:nth-child(2) .zm2-news-card__compact-media {
    box-shadow: inset 0.26rem 0 0 #e98b73;
}

.zm2-section--news .zm2-news-list .zm2-news-card:nth-child(3) .zm2-news-card__compact-media {
    box-shadow: inset 0.26rem 0 0 #d7b85f;
}

/* Empty state */
.zm2-section--news .zm2-news-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    color: #455944;
    background: #fffaf7;
    border: 1px dashed rgba(54, 91, 67, 0.28);
    border-radius: var(--zm2-radius);
    text-align: center;
}

.zm2-section--news .zm2-news-empty h3 {
    margin: 0;
    color: #365b43 !important;
}

.zm2-section--news .zm2-news-empty p {
    margin: 0.6rem 0 0;
    color: #526257;
}

/* Focus */
.zm2-section--news a:focus-visible {
    outline: 0.2rem solid #1f6f55;
    outline-offset: 0.2rem;
}

/* Responsive */
@media (max-width: 68rem) {
    .zm2-section--news .zm2-news-grid {
        grid-template-columns: 1fr;
    }

    .zm2-section--news .zm2-news-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .zm2-section--news .zm2-news-card--compact {
        grid-template-columns: 6.5rem minmax(0, 1fr);
    }
}

@media (max-width: 54rem) {
    .zm2-section--news .zm2-news-list {
        grid-template-columns: 1fr;
    }

    .zm2-section--news .zm2-news-card--compact {
        grid-template-columns: 8rem minmax(0, 1fr);
    }
}

@media (max-width: 48rem) {
    .zm2-section--news .zm2-news-card--featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .zm2-section--news .zm2-news-card__visual,
    .zm2-section--news .zm2-news-card__placeholder {
        min-height: 15rem;
    }

    .zm2-section--news .zm2-section-heading--split > .zm2-text-link {
        width: fit-content;
    }
}

@media (max-width: 34rem) {
    .zm2-section--news .zm2-news-card--compact {
        grid-template-columns: 6.35rem minmax(0, 1fr);
    }

    .zm2-section--news .zm2-news-card__compact-body {
        padding: 0.85rem;
    }

    .zm2-section--news .zm2-news-card--compact .zm2-news-card__excerpt {
        -webkit-line-clamp: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zm2-section--news .zm2-section-heading--split > .zm2-text-link,
    .zm2-section--news .zm2-news-card--compact,
    .zm2-section--news .zm2-news-card__thumb img {
        transition: none;
    }

    .zm2-section--news .zm2-section-heading--split > .zm2-text-link:hover,
    .zm2-section--news .zm2-news-card--compact:hover,
    .zm2-section--news .zm2-news-card--compact:hover .zm2-news-card__thumb img {
        transform: none;
    }
}

@media print {
    .zm2-section--news {
        background: #ffffff !important;
    }

    .zm2-section--news .zm2-eyebrow::before,
    .zm2-section--news .zm2-news-card__placeholder-icon,
    .zm2-section--news .zm2-news-card__placeholder-section::after,
    .zm2-section--news .zm2-news-card__compact-media,
    .zm2-section--news .zm2-news-card__meta-icon,
    .zm2-section--news .zm2-news-card__title-icon {
        display: none !important;
    }

    .zm2-section--news .zm2-news-card,
    .zm2-section--news .zm2-news-card--featured,
    .zm2-section--news .zm2-news-card--compact {
        display: block;
        min-height: 0;
        background: #ffffff !important;
        border: 1px solid #777777 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .zm2-section--news .zm2-news-card__body,
    .zm2-section--news .zm2-news-card__compact-body {
        padding: 1rem;
    }
}



/* Godziny */
.zm2-section--hours {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    background: #261c23;
}

.zm2-section--hours::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../images/zm2-hours-line-thin.webp");
    background-repeat: no-repeat;
    background-position: center 100%;
    background-size: 100% auto;
    opacity: 0.5;
}

.zm2-section--hours > .zm2-container {
    position: relative;
    z-index: 1;
}

.zm2-hours-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.zm2-section--hours .zm2-eyebrow {
    color: #ffe49a;
}

.zm2-section--hours h2,
.zm2-section--hours h3 {
    color: #ffffff !important;
}

.zm2-section--hours .zm2-section-heading p {
    color: #d8cfd7;
}

.zm2-hours-help {
    margin-top: 1.5rem;
    padding: 1.25rem;
    color: #f4ecf3;
    background: rgb(0 0 0);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0.25rem solid var(--zm2-gold-500);
    border-radius: var(--zm2-radius);
}

.zm2-hours-help__eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: #ffe49a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zm2-hours-help h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.zm2-hours-help p {
    margin: 0.7rem 0 0;
    color: #d8cfd7;
    line-height: 1.6;
}

.zm2-hours-help a {
    color: #ffffff !important;
    font-weight: 700;
}

.zm2-hours-help a:hover {
    color: #ffe49a !important;
}

.zm2-hours-help__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.zm2-hours-grid {
    display: grid;
    gap: 0.85rem;
}

.zm2-hours-card {
    min-height: 8.2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: rgb(0 0 0);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--zm2-radius);
}

.zm2-hours-card--primary {
    background: var(--zm2-brand-800);
    border-color: var(--zm2-brand-700);
}

.zm2-hours-card__number {
    color: #ffe49a;
    font-size: 0.82rem;
    font-weight: 700;
}

.zm2-hours-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.zm2-hours-card p {
    margin: 0.35rem 0 0;
    color: #ded4dd;
    font-size: 0.88rem;
}

.zm2-hours-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #ffffff;
    font-size: 1.35rem;
}

.zm2-info-note {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 1rem 1.1rem;
    color: #f4ecf3;
    background: rgb(0 0 0);
    border-left: 0.25rem solid var(--zm2-gold-500);
    border-radius: 0.65rem;
}

.zm2-info-note svg {
    width: 1.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Kontakt */
.zm2-section--contact {
    background: var(--zm2-surface-warm);
}

.zm2-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.7rem;
}

.zm2-contact-card {
    min-height: 18rem;
    padding: 1.4rem;
    background: #ffffff;
    border: 1px solid var(--zm2-line);
    border-radius: var(--zm2-radius);
    box-shadow: var(--zm2-shadow-sm);
}

.zm2-contact-card--address {
    color: #ffffff;
    background: linear-gradient(145deg, var(--zm2-brand-900), var(--zm2-brand-800));
    border-color: var(--zm2-brand-800);
}

.zm2-contact-card__icon {
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    color: var(--zm2-brand-800);
    background: #ffffff;
    border-radius: 1rem;
}

.zm2-contact-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-contact-card__role {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3rem 0.6rem;
    color: var(--zm2-brand-900);
    background: var(--zm2-brand-100);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.zm2-contact-card h3 {
    margin: 0 0 1rem;
}

.zm2-contact-card--address h3 {
    color: #ffffff !important;
}

.zm2-contact-card address {
    margin-bottom: 1rem;
    font-style: normal;
}

.zm2-contact-card p {
    margin: 0.65rem 0 0;
}

.zm2-contact-card a {
    overflow-wrap: anywhere;
    font-weight: 600;
}

.zm2-contact-card--address a {
    display: block;
    width: fit-content;
    margin-top: 0.45rem;
    color: #ffffff !important;
}


/* Ważne informacje */
.zm2-section--important {
    background: linear-gradient(180deg, #fffaf3 0%, #fff5f7 100%);
    border-block: 1px solid #f0e0d5;
}

.zm2-important-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.zm2-important-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 47rem;
}

.zm2-important-card {
    position: relative;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 3vw, 1.8rem);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ead7dd;
    border-top: 0.3rem solid var(--zm2-brand-800);
    border-radius: var(--zm2-radius);
    box-shadow: var(--zm2-shadow-sm);
}

.zm2-important-card::after {
    position: absolute;
    width: 7rem;
    height: 7rem;
    top: -3.5rem;
    right: -3rem;
    border-radius: 50%;
    background: var(--zm2-gold-100);
    content: "";
    pointer-events: none;
}

.zm2-important-card__meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--zm2-ink-600);
    font-size: 0.82rem;
}

.zm2-important-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.25rem 0.65rem;
    color: #ffffff;
    background: var(--zm2-brand-800);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.zm2-important-card h3 {
    position: relative;
    z-index: 1;
    margin: 1.05rem 0 0;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.zm2-important-card h3 a {
    color: var(--zm2-brand-950) !important;
    text-decoration: none;
}

.zm2-important-card h3 a:hover {
    color: var(--zm2-brand-700) !important;
    text-decoration: underline;
}

.zm2-important-card p {
    position: relative;
    z-index: 1;
    margin: 0.8rem 0 1.2rem;
    color: var(--zm2-ink-600);
}

.zm2-important-card > .zm2-text-link {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-top: auto;
}

/* Serwisy publiczne */
.zm2-section--institutions {
    background: #ffffff;
}

.zm2-institution-grid {
    max-width: var(--zm2-container);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2.7rem auto 0;
}

.zm2-institution-card {
    min-height: 19rem;
    display: grid;
    grid-template-rows: 10.5rem auto;
    align-items: center;
    padding: 1.4rem;
    color: var(--zm2-ink-800) !important;
    background: var(--zm2-surface-soft);
    border: 1px solid var(--zm2-line);
    border-radius: var(--zm2-radius);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.zm2-institution-card:hover {
    color: var(--zm2-brand-800) !important;
    background: #ffffff;
    border-color: #cfa7b5;
    box-shadow: var(--zm2-shadow-sm);
    transform: translateY(-0.2rem);
}

.zm2-institution-card__image {
    height: 9.5rem;
    display: grid;
    place-items: center;
}

.zm2-institution-card__image img {
    width: auto;
    max-width: 100%;
    max-height: 9rem;
}

.zm2-institution-card > span:last-child {
    display: grid;
    gap: 0.25rem;
}

.zm2-institution-card strong {
    color: inherit;
}

.zm2-institution-card small {
    color: var(--zm2-ink-600);
}

@media (max-width: 68rem) {
    .zm2-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .zm2-hero__content {
        max-width: 50rem;
    }

    .zm2-hero__visual {
        min-height: 23rem;
    }

    .zm2-quick-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zm2-contact-grid,
    .zm2-institution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .zm2-hero__grid {
        padding-block: 3.8rem 5rem;
    }

    .zm2-hero__visual {
        min-height: 22rem;
    }

    .zm2-hero-card--main {
        transform: none;
    }

    .zm2-hero-card--mini-one {
        top: 1rem;
        right: 0;
    }

    .zm2-hero-card--mini-two {
        bottom: 1rem;
        left: 0;
    }

    .zm2-quick-links {
        margin-top: -1rem;
    }

    .zm2-quick-links__grid {
        grid-template-columns: 1fr;
    }

    .zm2-section-heading--split {
        align-items: flex-start;
        flex-direction: column;
    }

    .zm2-news-grid {
        grid-template-columns: 1fr;
    }

    .zm2-news-card--featured {
        grid-template-columns: 1fr;
    }

    .zm2-news-card__visual {
        min-height: 15rem;
    }

    .zm2-hours-layout {
        grid-template-columns: 1fr;
    }

    .zm2-info-note {
        grid-column: auto;
    }

    .zm2-important-grid,
    .zm2-contact-grid,
    .zm2-institution-grid {
        grid-template-columns: 1fr;
    }

    .zm2-institution-card {
        min-height: 17rem;
        grid-template-rows: 9rem auto;
    }

    .zm2-institution-card__image {
        height: 8rem;
    }

    .zm2-institution-card__image img {
        max-height: 7.5rem;
    }
}

@media (max-width: 27rem) {
    .zm2-hero-card--mini {
        position: static;
        width: fit-content;
        margin-top: 0.75rem;
    }

    .zm2-hero__visual {
        display: block;
        min-height: auto;
    }

    .zm2-hero-card--main {
        width: 100%;
    }
}

@media print {
    .zm2-hero__visual,
    .zm2-hero__orb,
    .zm2-quick-links,
    .zm2-hero__actions,
    .zm2-hero__facts,
    .zm2-section--institutions {
        display: none !important;
    }

    .zm2-hero {
        color: #000000;
        background: #ffffff;
    }

    .zm2-hero__grid {
        min-height: 0;
        display: block;
        padding-block: 1rem;
    }

    .zm2-hero h1,
    .zm2-hero__lead {
        color: #000000 !important;
    }

    .zm2-section {
        padding-block: 1.5rem;
    }

    .zm2-news-grid,
    .zm2-hours-layout,
    .zm2-contact-grid {
        display: block;
    }

    .zm2-news-card,
    .zm2-hours-card,
    .zm2-hours-help,
    .zm2-contact-card {
        break-inside: avoid;
        margin-bottom: 0.8rem;
        color: #000000 !important;
        background: #ffffff !important;
        border: 1px solid #777777;
        box-shadow: none;
    }

    .zm2-section--hours :is(h2, h3, p, strong, a),
    .zm2-contact-card--address :is(h3, a, address) {
        color: #000000 !important;
    }
}

/* Rekrutacja — widoczna tylko, gdy istnieje opublikowana strona /rekrutacja/rekrutacja */
.zm2-section--recruitment {
    position: relative;
    overflow: hidden;
    color: #365b43;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(255, 255, 255, 0) 24rem
        ),
        linear-gradient(
            135deg,
            rgb(244, 197, 185) 0%,
            rgb(250, 218, 209) 54%,
            rgb(255, 237, 231) 100%
        );
}

.zm2-section--recruitment::before,
.zm2-section--recruitment::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.zm2-section--recruitment::before {
    width: 24rem;
    height: 24rem;
    top: -15rem;
    right: -5rem;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0) 72%
    );
}

.zm2-section--recruitment::after {
    width: 13rem;
    height: 13rem;
    left: -4rem;
    bottom: -6rem;
    background: radial-gradient(
        circle,
        rgba(181, 96, 112, 0.09) 0%,
        rgba(181, 96, 112, 0) 72%
    );
}

.zm2-recruitment-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.zm2-recruitment-content {
    max-width: 48rem;
}

.zm2-recruitment-content h2 {
    max-width: 18ch;
    margin: 0.55rem 0 0;
    color: #365b43 !important;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.12;
}

.zm2-recruitment-content > p {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: #455944;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.7;
}

.zm2-recruitment-button {
    min-height: 3.25rem;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    padding: 0.75rem 1.2rem;
    color: #365b43 !important;
    background: #ffffff;
    border: 0.125rem solid rgba(54, 91, 67, 0.14);
    border-radius: 0.8rem;
    box-shadow: 0 0.8rem 2rem rgba(83, 65, 55, 0.10);
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.zm2-recruitment-button:hover {
    color: #ffffff !important;
    background: #365b43;
    border-color: #365b43;
    box-shadow: 0 1rem 2.3rem rgba(54, 91, 67, 0.18);
    transform: translateY(-0.1rem);
}

.zm2-recruitment-button:focus-visible {
    outline: 0.2rem solid #365b43;
    outline-offset: 0.2rem;
}

.zm2-recruitment-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    min-height: 13.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 1.15rem;

    padding: clamp(1.55rem, 3vw, 2.1rem);

    color: #365b43;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(235, 220, 175, 0.38) 0%,
            rgba(235, 220, 175, 0) 12rem
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffaf7 58%,
            #fff4ee 100%
        );

    border: 1px solid rgba(54, 91, 67, 0.20);
    border-left: 0.34rem solid #365b43;
    border-radius: var(--zm2-radius);

    box-shadow:
        0 1.35rem 3.2rem rgba(85, 62, 51, 0.16),
        0 0.25rem 0.7rem rgba(85, 62, 51, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.zm2-recruitment-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 1.45rem;

    width: 6.5rem;
    height: 0.34rem;

    background: linear-gradient(
        90deg,
        #a8566d 0%,
        #e0bb65 52%,
        #78956f 100%
    );

    border-radius: 0 0 999px 999px;

    content: "";
    pointer-events: none;
}

.zm2-recruitment-card::after {
    position: absolute;
    z-index: -1;
    width: 9rem;
    height: 9rem;
    top: -4rem;
    right: -3.5rem;
    background: rgba(244, 197, 185, 0.32);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.zm2-recruitment-card__icon {
    position: relative;
    z-index: 1;

    width: 3.7rem;
    height: 3.7rem;

    display: grid;
    place-items: center;

    color: #5d2234;

    background: linear-gradient(
        180deg,
        #f6e5a8 0%,
        #efd37c 100%
    );

    border: 1px solid rgba(127, 75, 17, 0.16);
    border-radius: 1.05rem;

    box-shadow:
        0 0.7rem 1.5rem rgba(170, 125, 40, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.60);
}
.zm2-recruitment-card__body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.zm2-recruitment-card__badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin: 0 0 0.8rem;
    padding: 0.34rem 0.74rem;

    color: #6d3b52;
    background: #fff0eb;

    border: 1px solid rgba(168, 86, 109, 0.24);
    border-radius: 999px;

    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.zm2-recruitment-card__badge::before {
    width: 0.5rem;
    height: 0.5rem;

    flex: 0 0 auto;

    background: #a8566d;
    border-radius: 50%;

    box-shadow: 0 0 0 0.25rem rgba(212, 143, 47, 0.15);

    content: "";
}
.zm2-recruitment-card__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zm2-recruitment-card__label {
    display: block;
    color: #735c48;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.zm2-recruitment-card h3 {
    margin: 0.5rem 0 0;
    color: #365b43 !important;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.zm2-recruitment-card p {
    margin: 0.75rem 0 0;
    color: #455944;
    line-height: 1.65;
}

.zm2-recruitment-card__accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #6d3b52;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.zm2-recruitment-card__accent-dot {
    width: 0.52rem;
    height: 0.52rem;
    flex: 0 0 auto;
    display: inline-block;
    background: #78956f;
    border-radius: 50%;
}

@media (max-width: 68rem) {
    .zm2-recruitment-layout {
        grid-template-columns: 1fr;
    }

    .zm2-recruitment-card {
        max-width: 46rem;
    }
}

@media (max-width: 36rem) {
    .zm2-recruitment-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .zm2-recruitment-card__accent {
        align-items: flex-start;
    }

    .zm2-recruitment-card__accent-dot {
        margin-top: 0.32rem;
    }

    .zm2-recruitment-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zm2-recruitment-button {
        transition: none;
    }

    .zm2-recruitment-button:hover {
        transform: none;
    }
}

@media print {
    .zm2-section--recruitment {
        color: #000000;
        background: #ffffff;
        border-block: 1px solid #777777;
    }

    .zm2-section--recruitment::before,
    .zm2-section--recruitment::after,
    .zm2-recruitment-card::before,
    .zm2-recruitment-card::after,
    .zm2-recruitment-card__icon,
    .zm2-recruitment-card__badge,
    .zm2-recruitment-card__accent {
        display: none !important;
    }

    .zm2-recruitment-layout {
        display: block;
    }

    .zm2-recruitment-content h2,
    .zm2-recruitment-content > p,
    .zm2-recruitment-card h3,
    .zm2-recruitment-card p,
    .zm2-recruitment-card__label {
        color: #000000 !important;
    }

    .zm2-recruitment-card {
        min-height: 0;
        display: block;
        margin-top: 1rem;
        color: #000000;
        background: #ffffff;
        border: 1px solid #777777;
        box-shadow: none;
    }
}

/* =========================================================
   ZJ v1.3.1 — jaśniejsze tła szybkich linków
   Paleta Żłobka Gminnego w Jaczowie
   Zmiana wyłącznie wizualna: bez ingerencji w układ HTML.
   ========================================================= */

.zm2-quick-card {
    color: #263238 !important;
    border-color: rgba(54, 91, 67, 0.22);
}

/* Aktualności — morelowy koral: ważne i bieżące informacje */
.zm2-quick-card:nth-child(1) {
    background: #F4C5B9;
}

/* Dla rodziców — szałwia: informacje organizacyjne */
.zm2-quick-card:nth-child(2) {
    background: #CEDDCE;
}

/* Jadłospis — miękki żółty: lekkie wyróżnienie */
.zm2-quick-card:nth-child(3) {
    background: #EBDCAF;
}

/* Kontakt — mglisty błękit: spokojna sekcja pomocnicza */
.zm2-quick-card:nth-child(4) {
    background: #D3E3E7;
}

.zm2-quick-card strong,
.zm2-quick-card small {
    color: #263238 !important;
}

.zm2-quick-card strong {
    font-weight: 700;
}

.zm2-quick-card small {
    font-weight: 600;
    opacity: 1;
}

.zm2-quick-card__icon {
    color: #365B43;
    background: rgba(255, 248, 236, 0.72);
    border: 1px solid rgba(54, 91, 67, 0.16);
}

.zm2-quick-card__arrow {
    color: #365B43;
    font-weight: 700;
}

.zm2-quick-card:hover {
    color: #263238 !important;
    border-color: #365B43;
    box-shadow: 0 14px 30px rgba(38, 50, 56, 0.15);
    transform: translateY(-0.15rem);
}

.zm2-quick-card:focus-visible {
    outline: 3px solid #365B43;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .zm2-quick-card {
        transition: none;
    }

    .zm2-quick-card:hover {
        transform: none;
    }
}

/* =========================================================
   ZJ Hero Light v1.4 — jasna kolorystyka sekcji hero
   Zakres: wyłącznie hero; pozostałe sekcje bez zmian.
   ========================================================= */

.zm2-hero {
    position: relative;
    overflow: hidden;
    color: #455944;
    background: linear-gradient(135deg, #e6c7ba 0%, #fff1ec 57%, #ffefe9 100%);
}

.zm2-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 4rem;
    background: linear-gradient(to top, rgb(230 199 186 / 69%), transparent);
    content: "";
    pointer-events: none;
}

.zm2-hero__grid {
    position: relative;
    z-index: 2;
    min-height: 40rem;
    display: grid;
    grid-template-columns: minmax(0, 35fr) minmax(20rem, 65fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
   padding-block: clamp(1.75rem, 4vw, 3rem);
}

.zm2-hero h1 {
    max-width: 13ch;
    margin: 0.8rem 0 0;
    color: #365B43 !important;
    font-size: clamp(2.4rem, 6vw, 4.85rem);
    line-height: 1.08;
}

.zm2-hero__lead {
    max-width: 42rem;
    margin: 1.35rem 0 0;
    color: #455944;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.zm2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* Przycisk zmieniamy wyłącznie wewnątrz hero. */
.zm2-hero .zm2-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border: 0.125rem solid #455944;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
}

.zm2-hero .zm2-button--primary {
    color: #455944 !important;
    background: #ffffff;
}

.zm2-hero .zm2-button--primary:hover {
    color: var(--zm2-brand-950) !important;
    background: var(--zm2-gold-100);
}

.zm2-hero .zm2-button--ghost {
    color: #455944 !important;
    border-color: rgb(69 89 68);
    background: rgba(255, 255, 255, 0.06);
}

.zm2-hero .zm2-button--ghost:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
}

.zm2-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin: 2.4rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    list-style: none;
}

.zm2-hero__facts li {
    display: grid;
    gap: 0.1rem;
    border: 1px solid #455944;
}

/* Na jasnym tle stare białe/żółte teksty faktów byłyby zbyt słabe. */
.zm2-hero__facts span {
    color: #365B43;
}

.zm2-hero__facts strong {
    color: #455944;
}

/* =========================================================
   ZJ Rekrutacja v1.8 — czytelny eyebrow na jasnym koralu
   Zakres: wyłącznie sekcja rekrutacji.
   ========================================================= */
.zm2-section--recruitment .zm2-eyebrow--light {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #6D3B52 !important;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.zm2-section--recruitment .zm2-eyebrow--light::before {
    width: 1.8rem;
    height: 0.18rem;
    flex: 0 0 auto;
    background: linear-gradient(90deg, #A8566D 0%, #D7B85F 100%);
    border-radius: 999px;
    content: "";
}

@media (max-width: 36rem) {
    .zm2-section--recruitment .zm2-eyebrow--light {
        gap: 0.45rem;
        letter-spacing: 0.075em;
    }

    .zm2-section--recruitment .zm2-eyebrow--light::before {
        width: 1.35rem;
    }
}

@media print {
    .zm2-section--recruitment .zm2-eyebrow--light {
        color: #000000 !important;
    }

    .zm2-section--recruitment .zm2-eyebrow--light::before {
        display: none !important;
    }
}

