.fa-facebook {
font-size: 40px;
color: color(srgb 0.1205 0.3352 0.6489);
}
/* Lista artykułów Joomla jako karty */
.com-content-category.category-list .com-content-category__table {
    width: 100%;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-collapse: separate;
    border-spacing: 0 16px; /* odstęp między kartami */
}

.com-content-category.category-list .com-content-category__table caption,
.com-content-category.category-list .com-content-category__table thead {
    display: none !important;
}

.com-content-category.category-list .com-content-category__table tbody,
.com-content-category.category-list .com-content-category__table tr,
.com-content-category.category-list .com-content-category__table th,
.com-content-category.category-list .com-content-category__table td {
    display: block;
    width: 100%;
}

.com-content-category.category-list .com-content-category__table tbody tr {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin: 0;
}

.com-content-category.category-list .com-content-category__table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 0, 0, 0.10);
}

.com-content-category.category-list .list-title {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.com-content-category.category-list .list-title a {
    display: block;
    width: 100%;
    padding: 22px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1d1d1f;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}

.com-content-category.category-list .list-title a:hover {
    color: #0a84ff;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    text-decoration: none;
}

/* Delikatna strzałka po prawej */
.com-content-category.category-list .list-title a::after {
    content: "›";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: #b0b0b5;
    transition: right 0.2s ease, color 0.2s ease;
}

.com-content-category.category-list .list-title a:hover::after {
    right: 18px;
    color: #0a84ff;
}

/* Usunięcie paskowania i stylów bootstrapowych tabeli */
.com-content-category.category-list .table-striped > tbody > tr:nth-of-type(odd),
.com-content-category.category-list .table-striped > tbody > tr:nth-of-type(even),
.com-content-category.category-list .table-hover > tbody > tr:hover,
.com-content-category.category-list .table-bordered {
    background: transparent !important;
    border: 0 !important;
}

/* Opcjonalnie: większe odstępy sekcji */
.com-content-category.category-list {
    margin-top: 20px;
}

.com-content-category.category-list .content-category {
    width: 100%;
}
/* =========================
   HEADER + MENU HELIX
   lekki, klasyczny, estetyczny
   ========================= */

/* sam header */
.hero-header-wave__overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(31, 86, 166, 0.12),
            rgba(31, 86, 166, 0.18)
        );
}
#sp-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* wewnętrzny układ */
#sp-header .container-inner {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* rząd headera */
#sp-header .row.align-items-center {
    min-height: 92px;
}

/* logo */
#sp-logo .logo img,
#sp-logo .logo-image {
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

/* kontener menu */
#sp-menu {
    min-width: 0;
}

#sp-menu .sp-column {
    min-width: 0;
}

/* wrapper menu */
#sp-menu .sp-megamenu-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
}

/* lista menu */
#sp-menu .sp-megamenu-parent {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

/* pojedynczy element */
#sp-menu .sp-megamenu-parent > .sp-menu-item {
    margin: 0;
    padding: 0;
}

/* link */
#sp-menu .sp-megamenu-parent > .sp-menu-item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    position: relative;

    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;

    color: #1d1d1f;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    outline: none;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

/* hover */
#sp-menu .sp-megamenu-parent > .sp-menu-item > a:hover {
    background: #f5f5f7;
    color: #000000;
    text-decoration: none;
}

/* klik */
#sp-menu .sp-megamenu-parent > .sp-menu-item > a:active {
    background: #ececf1;
}

/* focus */
#sp-menu .sp-megamenu-parent > .sp-menu-item > a:focus {
    outline: none;
}

#sp-menu .sp-megamenu-parent > .sp-menu-item > a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 2px;
    background: #eef5ff;
    border-color: #cfe0ff;
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.08);
}

/* aktywny element */
#sp-menu .sp-megamenu-parent > .sp-menu-item.current-item > a,
#sp-menu .sp-megamenu-parent > .sp-menu-item.active > a,
#sp-menu .sp-megamenu-parent > .sp-menu-item > a[aria-current="page"] {
    background: #f2f2f5;
    color: #000000;
    font-weight: 600;
    border-color: #e5e5ea;
}

/* hover aktywnego */
#sp-menu .sp-megamenu-parent > .sp-menu-item.current-item > a:hover,
#sp-menu .sp-megamenu-parent > .sp-menu-item.active > a:hover,
#sp-menu .sp-megamenu-parent > .sp-menu-item > a[aria-current="page"]:hover {
    background: #eaeaef;
}

/* delikatne podkreślenie active / hover */
#sp-menu .sp-megamenu-parent > .sp-menu-item > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: #0a84ff;
    opacity: 0;
    transform: scaleX(0.72);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#sp-menu .sp-megamenu-parent > .sp-menu-item > a:hover::after {
    opacity: 0.35;
    transform: scaleX(1);
}

#sp-menu .sp-megamenu-parent > .sp-menu-item.current-item > a::after,
#sp-menu .sp-megamenu-parent > .sp-menu-item.active > a::after,
#sp-menu .sp-megamenu-parent > .sp-menu-item > a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

/* moduły po prawej, jeśli kiedyś się pojawią */
#sp-header .header-modules {
    margin-left: 12px;
}

/* toggler mobilny */
#offcanvas-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}

#offcanvas-toggler:hover {
    background: #f5f5f7;
    border-color: #e5e5ea;
}

#offcanvas-toggler:focus {
    outline: none;
}

#offcanvas-toggler:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 2px;
    background: #eef5ff;
    border-color: #cfe0ff;
}

#offcanvas-toggler .burger-icon span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: #1d1d1f;
}

/* większe ekrany - menu niech będzie zwarte */
@media (min-width: 1200px) {
    #sp-menu .sp-megamenu-parent {
        gap: 6px;
    }

    #sp-menu .sp-megamenu-parent > .sp-menu-item > a {
        padding: 10px 15px;
    }
}

/* jeżeli węższy desktop i zaczyna brakować miejsca */
@media (max-width: 1399.98px) {
    #sp-menu .sp-megamenu-parent > .sp-menu-item > a {
        padding: 8px 12px;
        font-size: 0.93rem;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    #sp-menu .sp-megamenu-parent > .sp-menu-item > a,
    #sp-menu .sp-megamenu-parent > .sp-menu-item > a::after,
    #offcanvas-toggler {
        transition: none !important;
    }
}

.hero-banner-info {
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 0;
    min-height: 500px;
    padding: 40px 0;
}

.hero-banner-info__inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-banner-info__media {
    flex: 1 1 58%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero-banner-info__media img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: contain;
}

.hero-banner-info__content {
    flex: 0 1 430px;
    position: relative;
    z-index: 3;
}

.hero-banner-info__title {
    margin: 0 0 24px;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    color: #1f56a6;
    letter-spacing: -0.02em;
}

.hero-banner-info__text {
    margin-bottom: 32px;
}

.hero-banner-info__text p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 600;
    color: #2f5fa8;
    max-width: 34ch;
}

.hero-banner-info__actions {
    margin-top: 8px;
}

.hero-banner-info__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    min-height: 54px;
    padding: 12px 32px;
    background: #63c000;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 999px;
    border: 2px solid transparent;
    box-shadow: 0 10px 22px rgba(99, 192, 0, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.hero-banner-info__button:hover {
    background: #58ae00;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(99, 192, 0, 0.28);
}

.hero-banner-info__button:focus {
    outline: none;
}

.hero-banner-info__button:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
}

/* duża miękka plama po lewej */
.hero-banner-info__shape--left {
    position: absolute;
    left: -120px;
    top: 20px;
    width: 720px;
    height: 720px;
    background: #95e4ef;
    border-radius: 44% 56% 39% 61% / 36% 33% 67% 64%;
    z-index: 1;
}

/* prawa dolna plama */
.hero-banner-info__shape--right {
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 360px;
    height: 260px;
    background: #9bbcf0;
    border-radius: 62% 38% 0 0 / 100% 100% 0 0;
    z-index: 1;
    opacity: 0.95;
}

/* responsywność */
@media (max-width: 991.98px) {
    .hero-banner-info {
        min-height: auto;
        padding: 48px 0 32px;
    }

    .hero-banner-info__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px;
    }

    .hero-banner-info__media,
    .hero-banner-info__content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-banner-info__media {
        justify-content: center;
    }

    .hero-banner-info__media img {
        max-height: 300px;
    }

    .hero-banner-info__title {
        margin-bottom: 18px;
    }

    .hero-banner-info__text {
        margin-bottom: 24px;
    }

    .hero-banner-info__shape--left {
        left: -180px;
        top: 40px;
        width: 560px;
        height: 560px;
    }

    .hero-banner-info__shape--right {
        width: 240px;
        height: 180px;
        right: -80px;
        bottom: -80px;
    }
}

@media (max-width: 575.98px) {
#sp-logo .logo img, #sp-logo .logo-image {
  max-height: 88px;
  width: auto;
  height: auto;
  display: block;
  text-align: center;
  margin: auto;
  border-radius: 0px 0px 10px 10px;
}
body.ltr #offcanvas-toggler.offcanvas-toggler-right {
  float: right;
  margin-left: 20px;
  background: #fff;
  padding: 0px 15px;
}
    .hero-banner-info__inner {
        padding: 0 18px;
    }

    .hero-banner-info__title {
        font-size: 2rem;
    }

    .hero-banner-info__text p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-banner-info__button {
        width: 100%;
        max-width: 260px;
    }

    .hero-banner-info__media img {
        max-height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-info__button {
        transition: none !important;
    }
}
.hero-header-wave {
    --hero-height: 570px;
    --hero-overlay: rgba(255, 255, 255, 0.38);
    --hero-text-color: #ffffff;
    --hero-content-width: 1320px;
    --hero-cutoff-height: 150px;

    position: relative;
    min-height: var(--hero-height);
    overflow: hidden;
    background: #e9e9e9;
}

/* tło - tu podmieniasz obraz */
.hero-header-wave__bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/headers/park.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-header-wave__bg2 {
    position: absolute;
    inset: 0;
    background-image: url('/images/headers/segregacja.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* delikatne rozjaśnienie */
.hero-header-wave__overlay {
    none;
}

/* treść */
.hero-header-wave__inner {
    position: relative;
    z-index: 3;
    max-width: var(--hero-content-width);
    margin: 0 auto;
    min-height: var(--hero-height);
    padding: 48px 32px 180px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-header-wave__content {
    max-width: 540px;
    text-align: right;
}

.hero-header-wave__content h1 {
    margin: 0;
    color: var(--hero-text-color);
    line-height: 1.15;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* dolne odcięcie */
.hero-header-wave__cutoff {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-cutoff-height);
    z-index: 4;
    line-height: 0;
}

.hero-header-wave__cutoff svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-header-wave__cutoff path {
    fill: #fff; /* kolor sekcji pod spodem */
}

/* responsywność */
@media (max-width: 991.98px) {
    .hero-header-wave {
        --hero-height: 430px;
        --hero-cutoff-height: 110px;
    }

    .hero-header-wave__inner {
        padding: 34px 20px 120px;
        justify-content: center;
        align-items: flex-start;
    }

    .hero-header-wave__content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-header-wave {
        --hero-height: 340px;
        --hero-cutoff-height: 80px;
    }

    .hero-header-wave__inner {
        padding: 24px 16px 90px;
    }

    .hero-header-wave__content h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
}



/* =========================
   BLOKI USŁUG
   styl clean / Apple-like
   ========================= */

.service-cards-section {
    position: relative;
    padding: 40px 0 60px;
    background: transparent;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* karta */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-height: 100%;
    padding: 34px 26px 28px;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.09),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.97);
}

/* ikona */
.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;
    margin-bottom: 24px;

    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbef 0%, #eff8df 100%);
    color: #6b9619;
    font-size: 2.2rem;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 18px rgba(107, 150, 25, 0.10);
}

/* tytuł */
.service-card__title {
    margin: 0 0 18px;
    color: #111111;
    font-size: clamp(1rem, 1vw, 1.4rem);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* opis */
.service-card__text {
    margin: 0 0 26px;
    color: #2f2f34;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 30ch;
}

/* przycisk */
.service-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-width: 128px;
    min-height: 46px;
    padding: 10px 24px;

    border-radius: 999px;
    border: 1px solid #6ca11d;
    background: #6ca11d;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    font-weight: 700;

    box-shadow: 0 8px 18px rgba(108, 161, 29, 0.18);
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.service-card__button:hover {
    background: #5e9113;
    border-color: #5e9113;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(108, 161, 29, 0.24);
}

.service-card__button:active {
    transform: translateY(0);
}

/* dostępność */
.service-card__button:focus {
    outline: none;
}

.service-card__button:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    box-shadow:
        0 0 0 6px rgba(10, 132, 255, 0.12),
        0 8px 18px rgba(108, 161, 29, 0.18);
}

/* jeżeli chcesz całą kartę mieć "czytelną" przy focusie na linku */
.service-card:has(.service-card__button:focus-visible) {
    border-color: rgba(10, 132, 255, 0.25);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.08);
}

/* tablet */
@media (max-width: 1199.98px) {
    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* mobile */
@media (max-width: 767.98px) {
    .service-cards-section {
        padding: 28px 0 40px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 28px 20px 22px;
        border-radius: 20px;
    }

    .service-card__icon {
        width: 68px;
        height: 68px;
        font-size: 2rem;
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .service-card__title {
        font-size: 1.45rem;
    }

    .service-card__text {
        font-size: 0.98rem;
        line-height: 1.6;
        max-width: none;
    }

    .service-card__button {
        width: 100%;
        max-width: 220px;
    }
}

/* mniej animacji */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card__button {
        transition: none !important;
    }

    .service-card:hover,
    .service-card__button:hover {
        transform: none !important;
    }
}
/* =========================
   ZMIANA KOLORU NA GRANAT
   ========================= */

:root {
    --primary-blue: #1f56a6;
    --primary-blue-hover: #17478a;
    --primary-blue-soft: rgba(31, 86, 166, 0.10);
    --primary-blue-shadow: rgba(31, 86, 166, 0.22);
}

/* IKONY */
.service-card__icon {
    background: linear-gradient(180deg, #eef3fb 0%, #e3ebf9 100%);
    color: var(--primary-blue);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 18px var(--primary-blue-soft);
}

/* PRZYCISK */
.service-card__button {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 18px var(--primary-blue-shadow);
}

.service-card__button:hover {
    background: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    box-shadow: 0 12px 24px rgba(31, 86, 166, 0.28);
}

/* FOCUS */
.service-card__button:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    box-shadow:
        0 0 0 6px rgba(10, 132, 255, 0.12),
        0 8px 18px var(--primary-blue-shadow);
}

/* DELIKATNY HOVER KARTY - subtelny akcent */
.service-card:hover {
    border-color: rgba(31, 86, 166, 0.18);
}

 .h3, h3 {
    font-size: clamp(1rem, 1vw, 1.9rem);
    color: #111;
    font-size: clamp(1.5rem, 1.5vw, 1.9rem);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
.sp-module-title {
  text-align: center;
}
.article-list .article .featured-article-badge {
  display: none;
}
/* ==========================================
   AKTUALNOŚCI / BLOG FEATURED - strona główna
   styl clean / Apple / granatowe akcenty
   ========================================== */

.blog-featured {
    padding-top: 28px;
    padding-bottom: 56px;
}

/* nagłówek sekcji */
.blog-featured .page-header {
    margin-bottom: 28px;
    text-align: center;
}

.blog-featured .page-header h1 {
    margin: 0;
    color: #111111;
    font-size: clamp(1.5rem, 1.5vw, 1.9rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* odstępy gridu */
.blog-featured .article-list .row {
    row-gap: 28px;
}

/* kolumna - bezpiecznie */
.blog-featured .col-lg-3 {
    display: flex;
}

/* karta artykułu */
.blog-featured .article.blog-items {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.blog-featured .article.blog-items:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(31, 86, 166, 0.16);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* obraz */
.blog-featured .article-intro-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.blog-featured .article-intro-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-featured .article.blog-items:hover .article-intro-image img {
    transform: scale(1.03);
}

/* badge featured */
.blog-featured .featured-article-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    margin: 0;
    padding: 7px 12px;

    background: rgba(31, 86, 166, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;

    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    box-shadow: 0 8px 18px rgba(31, 86, 166, 0.22);
}

/* treść */
.blog-featured .item-content.articleBody {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 22px;
}

/* tytuł */
.blog-featured .article-header {
    margin-bottom: 10px;
}

.blog-featured .article-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.18;
    font-weight: 760;
    letter-spacing: -0.02em;
}

.blog-featured .article-header h2 a {
    color: #111111;
    text-decoration: none;
    transition: color 0.18s ease;
}

.blog-featured .article-header h2 a:hover {
    color: #1f56a6;
    text-decoration: none;
}

/* meta */
.blog-featured .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    color: #667085;
    font-size: 0.92rem;
    line-height: 1.45;
}

.blog-featured .article-info .published,
.blog-featured .article-info .hits {
    display: inline-flex;
    align-items: center;
}

.blog-featured .article-info time {
    color: #667085;
}

/* lead */
.blog-featured .item-content.articleBody > p {
    margin: 0 0 22px;
    color: #2f2f34;
    font-size: 1rem;
    line-height: 1.68;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* readmore */
.blog-featured .readmore {
    margin-top: auto;
    padding-top: 4px;
}

.blog-featured .readmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #1f56a6;
    background: #1f56a6;
    color: #ffffff!important;
    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;

    box-shadow: 0 8px 18px rgba(31, 86, 166, 0.20);
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        color 0.18s ease;
}

.blog-featured .readmore a:hover {
    background: #17478a;
    border-color: #17478a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(31, 86, 166, 0.26);
}

.blog-featured .readmore a:active {
    transform: translateY(0);
}

/* focus accessibility */
.blog-featured .article-header h2 a:focus,
.blog-featured .readmore a:focus,
.blog-featured .article > a:focus {
    outline: none;
}

.blog-featured .article-header h2 a:focus-visible,
.blog-featured .readmore a:focus-visible,
.blog-featured .article > a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    border-radius: 10px;
}

/* fokus całej karty gdy fokus trafia do środka */
.blog-featured .article.blog-items:has(a:focus-visible) {
    border-color: rgba(10, 132, 255, 0.24);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.08);
}

/* kliknięcie w główny obraz */
.blog-featured .article > a {
    display: block;
    border-radius: 24px 24px 0 0;
}

/* usunięcie czerwonego bootstrapowego charakteru badge */
.blog-featured .badge.bg-danger {
    background-color: rgba(31, 86, 166, 0.92) !important;
}

/* tablet */
@media (max-width: 1199.98px) {
    .blog-featured .article-header h2 {
        font-size: 1.3rem;
    }

    .blog-featured .item-content.articleBody {
        padding: 22px 20px 20px;
    }
}

/* mobile */
@media (max-width: 991.98px) {
    .blog-featured {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .blog-featured .article-list .row {
        row-gap: 20px;
    }

    .blog-featured .article-header h2 {
        font-size: 1.2rem;
    }

    .blog-featured .item-content.articleBody > p {
        -webkit-line-clamp: 5;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blog-featured .article.blog-items,
    .blog-featured .article-intro-image img,
    .blog-featured .readmore a,
    .blog-featured .article-header h2 a {
        transition: none !important;
    }

    .blog-featured .article.blog-items:hover,
    .blog-featured .readmore a:hover {
        transform: none !important;
    }
}
.article-details:has(.article-full-image) .featured-article-badge, .article-details:has(.article-featured-image) .featured-article-badge, .article-details:has(.article-feature-gallery) .featured-article-badge, .article-details:has(.article-featured-video) .featured-article-badge, .article-details:has(.article-featured-audio) .featured-article-badge{
display: none;}

._access-menu ul li {
    background: #fff !important;
    color: #000 !important;
    border: solid 1px #000000 !important;
}
._access-menu ul li:before {
    color: rgb(0 0 0) !important;
}
.pagination>.active>a, .pagination>.active>span {
    border-color: #073212;
    background-color: #09561c;
}
.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
    color: #060606;
    text-decoration: underline;
}
#sp-top-bar a {
    color: #000000;
}
.bip_epuap img {
    height: 40px;
    width: auto;
    padding: 3px;
}
.bip_epuap {
    display: flex;
}
#sp-top-bar {
background: #fff;
  color: #AAAAAA;
  border-bottom: solid 1px #e9e9e9;
}

/* ==========================================
   BLOKI LOKALIZACJI / MAPY
   spokojniejszy styl niż artykuły
   ========================================== */

.contact-location-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(31, 86, 166, 0.08);
    border-radius: 26px;
    box-shadow:
        0 12px 28px rgba(16, 24, 40, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.contact-location-block:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 86, 166, 0.16);
    box-shadow:
        0 18px 36px rgba(16, 24, 40, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

/* mapa */
.contact-location-block__map {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #eef3fb;
    border-bottom: 1px solid rgba(31, 86, 166, 0.08);
}

.contact-location-block__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* treść */
.contact-location-block__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 26px 26px 24px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.65) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-location-block__title {
    margin: 0 0 18px;
    color: #111827;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.15;
    font-weight: 760;
    letter-spacing: -0.02em;
}

/* zamiast "artykułowego" leadu - uporządkowane dane */
.contact-location-block__content {
    display: grid;
    gap: 14px;
    color: #374151;
    font-size: 1rem;
    line-height: 1.65;
}

.contact-location-block__content p {
    margin: 0;
}

.contact-location-block__content strong {
    color: #1f56a6;
    font-weight: 700;
}

.contact-location-block__content a {
    color: #1f56a6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.contact-location-block__content a:hover {
    color: #17478a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* focus */
.contact-location-block__content a:focus,
.contact-location-block__map iframe:focus {
    outline: none;
}

.contact-location-block__content a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    border-radius: 6px;
}

.contact-location-block__map iframe:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: -3px;
}

.contact-location-block:has(a:focus-visible),
.contact-location-block:has(iframe:focus-visible) {
    border-color: rgba(10, 132, 255, 0.24);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.08),
        0 18px 36px rgba(16, 24, 40, 0.09);
}

/* wyrównanie wysokości modułu */
.moduletable .contact-location-block,
div[class*="moduletable"] .contact-location-block,
.contact-location-block {
    height: 100%;
}

/* mobile */
@media (max-width: 991.98px) {
    .contact-location-block__map {
        height: 250px;
    }

    .contact-location-block__body {
        padding: 22px 20px 20px;
    }

    .contact-location-block__title {
        font-size: 1.45rem;
    }
}

@media (max-width: 575.98px) {
    .contact-location-block {
        border-radius: 22px;
    }

    .contact-location-block__map {
        height: 220px;
    }

    .contact-location-block__body {
        padding: 20px 18px 18px;
    }

    .contact-location-block__content {
        font-size: 0.97rem;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-location-block,
    .contact-location-block__content a {
        transition: none !important;
    }

    .contact-location-block:hover {
        transform: none !important;
    }
}
/* 
/* ==========================================
   STOPKA
   spójna z headerem (lekka, granatowa)
   ========================================== */

.site-footer {
    position: relative;
    background: #f5f7fb;
    margin-top: 120px;
    overflow: visible;
}

.site-footer__wave {
    position: absolute;
    left: 0;
    right: 0;
    top: -139px;
    height: 140px;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.site-footer__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-footer__wave path {
    fill: #f5f7fb;
}

.site-footer__inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 32px 32px;
}
/* górna część */
.site-footer__top {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 32px;
    align-items: start;
}

/* logo */
.site-footer__brand img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* linki */
.site-footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.site-footer__links a {
    color: #1f56a6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;

    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.site-footer__links a:hover {
    color: #17478a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* link zewnętrzny */
.site-footer__external {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.site-footer__external a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;

    border-radius: 999px;
    border: 1px solid rgba(31, 86, 166, 0.2);
    background: rgba(31, 86, 166, 0.06);

    color: #1f56a6;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.site-footer__external a:hover {
    background: rgba(31, 86, 166, 0.12);
    border-color: rgba(31, 86, 166, 0.3);
    transform: translateY(-1px);
}

/* dolna część */
.site-footer__bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    color: #6b7280;
    font-size: 0.9rem;
}

/* focus accessibility */
.site-footer a:focus {
    outline: none;
}

.site-footer a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    border-radius: 6px;
}

/* tablet */
@media (max-width: 991.98px) {
    .site-footer__inner {
        padding: 70px 20px 28px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__external {
        justify-content: flex-start;
    }

    .site-footer__links ul {
        grid-template-columns: 1fr;
    }
}

/* mobile */
@media (max-width: 575.98px) {
    .site-footer__inner {
        padding: 60px 16px 24px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .site-footer__external a,
    .site-footer__links a {
        transition: none !important;
    }
}

.sp-module._nasze_uslugi {
    position: relative;
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid rgba(31, 86, 166, 0.10);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.sp-module._nasze_uslugi:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #1f56a6 0%, #17478a 100%);
    border-radius: 24px 0 0 24px;
}

.sp-module._nasze_uslugi > h3._nasze_uslugi {
    margin: 0 0 18px;
    padding: 0 0 12px 6px;
    border-bottom: 1px solid rgba(31, 86, 166, 0.08);
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 760;
    letter-spacing: -0.02em;
}

.sp-module._nasze_uslugi .sp-module-content {
    margin: 0;
    padding: 0 0 0 6px;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li {
    margin: 0 0 8px;
    padding: 0;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li:last-child {
    margin-bottom: 0;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a {
    display: block;
    min-height: 48px;
    padding: 12px 40px 12px 16px;
    position: relative;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f8fafc;
    color: #1f2937;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    padding: 2px 10px !important;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:after {
    content: ">";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa4b2;
    font-size: 16px;
    line-height: 1;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:hover {
    background: #eef3fb;
    border-color: rgba(31, 86, 166, 0.10);
    color: #17478a;
    text-decoration: none;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:hover:after {
    color: #1f56a6;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:focus {
    outline: none;
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    background: #eef5ff;
    border-color: rgba(10, 132, 255, 0.18);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.08);
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li.current > a,
.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a[aria-current="page"] {
    background: linear-gradient(180deg, #eef3fb 0%, #e7eef9 100%);
    border-color: rgba(31, 86, 166, 0.18);
    color: #123e7a;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 16px rgba(31, 86, 166, 0.08);
}

.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li.current > a:hover,
.sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a[aria-current="page"]:hover {
    background: linear-gradient(180deg, #eaf1fb 0%, #e2ebf8 100%);
    color: #0f376c;
}

@media (max-width: 991.98px) {
    .sp-module._nasze_uslugi {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .sp-module._nasze_uslugi:before {
        border-radius: 20px 0 0 20px;
    }

    .sp-module._nasze_uslugi > h3._nasze_uslugi {
        font-size: 1.22rem;
        margin-bottom: 16px;
    }

    .sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a {
        min-height: 46px;
        padding: 11px 36px 11px 14px;
        font-size: 0.96rem;
    }

    .sp-module._nasze_uslugi ul.mod-menu.mod-list.menu > li > a:after {
        right: 12px;
    }
}

/* ==========================================
   GOSPODARKA ODPADAMI / BLOG CATEGORY
   styl spójny z wcześniejszymi blogami
   ========================================== */

.blog_gospodarka_odpadami {
    padding-top: 8px;
    padding-bottom: 24px;
}

.blog_gospodarka_odpadami .article-list .row {
    row-gap: 28px;
}

.blog_gospodarka_odpadami .col-lg-3 {
    display: flex;
}

.blog_gospodarka_odpadami .article {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.blog_gospodarka_odpadami .article:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.99);
    border-color: rgba(71, 138, 58, 0.16);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* obraz */
.blog_gospodarka_odpadami .article > a {
    display: block;
    border-radius: 24px 24px 0 0;
}

.blog_gospodarka_odpadami .article-intro-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.blog_gospodarka_odpadami .article-intro-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog_gospodarka_odpadami .article:hover .article-intro-image img {
    transform: scale(1.03);
}

/* treść */
.blog_gospodarka_odpadami .article-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 22px;
}

/* tytuł */
.blog_gospodarka_odpadami .article-header {
    margin-bottom: 10px;
}

.blog_gospodarka_odpadami .article-header h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 760;
    letter-spacing: -0.02em;
    min-height: 3.2em;
}

.blog_gospodarka_odpadami .article-header h2 a {
    color: #111111;
    text-decoration: none;
    transition: color 0.18s ease;
}

.blog_gospodarka_odpadami .article-header h2 a:hover {
    color: #2f7d32;
    text-decoration: none;
}

/* intro */
.blog_gospodarka_odpadami .article-introtext {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin-top: auto;
}

/* readmore */
.blog_gospodarka_odpadami .readmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 46px;
    padding: 10px 24px;

    border-radius: 999px;
    border: 1px solid #1f56a6;
    background: #1f56a6;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(31, 86, 166, 0.18);
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.blog_gospodarka_odpadami .readmore a:hover {
    background: #17478a;
    border-color: #17478a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(31, 86, 166, 0.24);
}

.blog_gospodarka_odpadami .readmore a:active {
    transform: translateY(0);
}

.blog_gospodarka_odpadami .readmore a:focus {
    outline: none;
}

.blog_gospodarka_odpadami .readmore a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
}

/* focus */
.blog_gospodarka_odpadami .article-header h2 a:focus,
.blog_gospodarka_odpadami .readmore a:focus,
.blog_gospodarka_odpadami .article > a:focus {
    outline: none;
}

.blog_gospodarka_odpadami .article-header h2 a:focus-visible,
.blog_gospodarka_odpadami .readmore a:focus-visible,
.blog_gospodarka_odpadami .article > a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 3px;
    border-radius: 10px;
}

/* focus całej karty */
.blog_gospodarka_odpadami .article:has(a:focus-visible) {
    border-color: rgba(10, 132, 255, 0.24);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.08);
}

/* tablet */
@media (max-width: 1199.98px) {
    .blog_gospodarka_odpadami .article-body {
        padding: 22px 20px 20px;
    }

    .blog_gospodarka_odpadami .article-header h2 {
        font-size: 1.22rem;
        min-height: 3.4em;
    }
}

/* mobile */
@media (max-width: 991.98px) {
    .blog_gospodarka_odpadami .article-list .row {
        row-gap: 20px;
    }

    .blog_gospodarka_odpadami .article-header h2 {
        min-height: auto;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blog_gospodarka_odpadami .article,
    .blog_gospodarka_odpadami .article-intro-image img,
    .blog_gospodarka_odpadami .readmore a,
    .blog_gospodarka_odpadami .article-header h2 a {
        transition: none !important;
    }

    .blog_gospodarka_odpadami .article:hover,
    .blog_gospodarka_odpadami .readmore a:hover {
        transform: none !important;
    }
}

/* nekrologii button */
.btn-nekrologi{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: 60px;
    text-decoration: none;
    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #2c2c2c;
    background: linear-gradient(180deg,#fefefe 0%,#e8e8e8 45%,#d5d5d5 100%);
    border: 1px solid rgba(180,180,180,.8);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,.9),
        inset 0 -2px 6px rgba(0,0,0,.08),
        0 10px 22px rgba(0,0,0,.12);
    transition: all .25s ease;
    overflow: hidden;
}

.btn-nekrologi::before{
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(120deg,
        rgba(255,255,255,.65) 0%,
        rgba(255,255,255,0) 35%,
        rgba(255,255,255,.35) 60%,
        rgba(255,255,255,0) 100%);
    pointer-events:none;
}

.btn-nekrologi__icon{
    width: 34px;
    height: 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background: linear-gradient(180deg,#ffffff,#d8d8d8);
    box-shadow:
        inset 0 1px 3px rgba(255,255,255,.9),
        0 2px 6px rgba(0,0,0,.10);
    font-size:18px;
    color:#4b4b4b;
}

.btn-nekrologi__text{
    position:relative;
    z-index:2;
}

.btn-nekrologi:hover{
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,.9),
        inset 0 -2px 6px rgba(0,0,0,.08),
        0 14px 28px rgba(0,0,0,.18);
    color:#111;
}

.btn-nekrologi:active{
    transform: translateY(1px);
}

@media (max-width:575px){
    .btn-nekrologi{
        width:100%;
        justify-content:center;
        padding:14px 24px;
        font-size:17px;
    }
}

/* ==========================================
   ZAŁĄCZNIKI W ARTYKUŁACH
   styl zgodny z całą stroną
   ========================================== */

.attachmentsContainer {
    margin-top: 34px;
    padding-top: 10px;
}

/* główny box */
.attachmentsContainer .attachmentsList {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.92);
}

/* tabela */
.attachmentsContainer table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

/* nagłówek */
.attachmentsContainer caption {
    caption-side: top !important;
    text-align: left;
    padding: 20px 24px 16px;
    margin: 0;

    font-size: 1.15rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    color: #111111;

    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(to bottom, #ffffff, #fafbfd);
}

/* wiersze */
.attachmentsContainer tbody tr {
    transition: background-color 0.18s ease;
}

.attachmentsContainer tbody tr:not(:last-child) td {
    border-bottom: 1px solid #f1f4f8;
}

.attachmentsContainer tbody tr:hover {
    background: #f8fbff;
}

/* komórki */
.attachmentsContainer td {
    padding: 16px 24px;
    vertical-align: middle;
    font-size: 0.97rem;
    color: #1f2937;
}

/* kolumny */
.attachmentsContainer .at_filename {
    width: 70%;
}

.attachmentsContainer .at_description {
    width: 10%;
    color: #9aa4b2;
}

.attachmentsContainer .at_file_size {
    width: 20%;
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #1f56a6;
}

/* link pliku */
.attachmentsContainer .at_filename a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #111111;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.45;

    transition: color 0.18s ease;
}

.attachmentsContainer .at_filename a:hover {
    color: #1f56a6;
    text-decoration: none;
}

/* ikona */
.attachmentsContainer .at_filename img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;

    border-radius: 8px;
    padding: 4px;
    background: #eef3fb;
}

/* focus accessibility */
.attachmentsContainer .at_filename a:focus {
    outline: none;
}

.attachmentsContainer .at_filename a:focus-visible {
    outline: 3px solid #0a84ff;
    outline-offset: 4px;
    border-radius: 10px;
}

/* mobile */
@media (max-width: 768px) {

    .attachmentsContainer .attachmentsList {
        border-radius: 18px;
    }

    .attachmentsContainer caption {
        padding: 18px 18px 14px;
        font-size: 1.05rem;
    }

    .attachmentsContainer table,
    .attachmentsContainer tbody,
    .attachmentsContainer tr,
    .attachmentsContainer td {
        display: block;
        width: 100%;
    }

    .attachmentsContainer tr {
        padding: 14px 18px;
    }

    .attachmentsContainer td {
        padding: 4px 0;
        border: 0 !important;
        text-align: left !important;
    }

    .attachmentsContainer .at_file_size {
        margin-top: 6px;
        font-size: 0.9rem;
    }

    .attachmentsContainer .at_description {
        display: none;
    }
}
/* reset starego stylu Attachments */
.attachmentsContainer .attachmentsList table,
div.attachmentsList table {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    clear: none !important;
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: normal !important;
    margin: 0 !important;
  padding: 15px;
}

/* jeśli zostaje ramka na td/tr */
.attachmentsContainer .attachmentsList td,
.attachmentsContainer .attachmentsList tr {
    border: 0 !important;
}

/* NEKROLOGI */

/* =========================================================
   NEKROLOGI - BLOG
========================================================= */

.blog_nekrologi .article,
.blog_nekrologi .article-body,
.blog_nekrologi .article-introtext {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-align: center;
}

/* =========================================================
   GŁÓWNY BLOK
========================================================= */

.nekrolog {
    width: 793px;
  height: 528px;
    margin: 30px auto;
    position: relative;

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;

    color: #000;
    font-family: "Times New Roman", Times, serif;

    box-sizing: border-box;
    overflow: hidden;
}

/* =========================================================
   TREŚĆ - DOMYŚLNIE
========================================================= */

.nekrolog__content {
    position: absolute;
    top: 160px;
    left: 140px;
    right: 35px;
    bottom: 20px;

    text-align: center;
    box-sizing: border-box;
}

/* =========================================================
   TYPOGRAFIA
========================================================= */

.nekrolog__data {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.25;
}

.nekrolog__sp {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.1;
}

.nekrolog__osoba {
    margin: 0 0 22px;
}

.nekrolog__nazwisko {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.05;
    text-transform: uppercase;
}

.nekrolog__imie {
    font-size: 22px;
    line-height: 1.1;
}

.nekrolog__info {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.35;
}

.nekrolog__podpis {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.25;
}

/* =========================================================
   TŁA
========================================================= */

.nekrolog--wzor-1 {
    background-image: url("http://pgkbarlinek.pl/images/nekrologi/nek1.jpg");
}

.nekrolog--wzor-2 {
    background-image: url("http://pgkbarlinek.pl/images/nekrologi/nek2.jpg");
}

.nekrolog--wzor-3 {
    background-image: url("/images/stories/nekrolog24.jpg");
}

/* =========================================================
   WZÓR 2 - KOREKTA POLA TEKSTU
========================================================= */

.nekrolog--wzor-2 .nekrolog__content {
    top: 140px;
  left: 65px;
    right: 48px;
    bottom: 45px;
}

.nekrolog--wzor-2 .nekrolog__data {
    margin-bottom: 18px;
    font-size: 14px;
}

.nekrolog--wzor-2 .nekrolog__sp {
    margin-bottom: 5px;
    font-size: 18px;
}

.nekrolog--wzor-2 .nekrolog__osoba {
    margin-bottom: 20px;
}

.nekrolog--wzor-2 .nekrolog__nazwisko {
    font-size: 25px;
}

.nekrolog--wzor-2 .nekrolog__imie {
    font-size: 21px;
}

.nekrolog--wzor-2 .nekrolog__info {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.3;
}

.nekrolog--wzor-2 .nekrolog__podpis {
    font-size: 11px;
    line-height: 1.2;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .blog_nekrologi .article {
        padding: 0;
    }

    .nekrolog {
        width: 100%;
        max-width: 793px;
        height: auto;
        aspect-ratio: 793 / 528;
        margin: 20px auto;

        background-size: 100% 100%;
    }

    .nekrolog__content {
        top: 30%;
        left: 18%;
        right: 8%;
        bottom: 6%;
    }

    .nekrolog__data {
        margin-bottom: 10px;
        font-size: clamp(8px, 3.0vw, 10px);
        line-height: 1.15;
    }

    .nekrolog__sp {
        margin-bottom: 4px;
        font-size: clamp(9px, 2vw, 14px);
    }

    .nekrolog__osoba {
        margin-bottom: 12px;
    }

    .nekrolog__nazwisko {
        font-size: clamp(10px, 4vw, 18px);
        line-height: 1;
    }

    .nekrolog__imie {
        font-size: clamp(10px, 4vw, 18px);
        line-height: 0.8;
    }

    .nekrolog__info {
        margin-bottom: 12px;
        font-size: clamp(8px, 3.0vw, 10px);
        line-height: 1.2;
    }

    .nekrolog__podpis {
        font-size: clamp(5px, 1.0vw, 6px);
        line-height: 0.85;
    }

    /* WZÓR 2 NA TELEFONIE */
    .nekrolog--wzor-2 .nekrolog__content {
        top: 18%;
        left: 9%;
        right: 7%;
        bottom: 7%;
    }

    .nekrolog--wzor-2 .nekrolog__data {
        font-size: clamp(8px, 3.0vw, 10px);
    }

    .nekrolog--wzor-2 .nekrolog__nazwisko {
        font-size: clamp(10px, 4vw, 16px);
    }

    .nekrolog--wzor-2 .nekrolog__imie {
        font-size: clamp(10px, 4vw, 14px);
    }

    .nekrolog--wzor-2 .nekrolog__info {
        font-size: clamp(8px, 3.0vw, 8px);
    }

    .nekrolog--wzor-2 .nekrolog__podpis {
        font-size: clamp(8px, 3.0vw, 8px);
    }
}
}

