/* ==========================================================
   AKTUALNOŚCI — NEWS.CSS
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #061f4c;
    color: #08295e;
    font-family: Arial, sans-serif;
}


/* ==========================================================
   GŁÓWNY KONTENER
   ========================================================== */

.news-page {
    width: 100%;
    max-width: 79.1667vw;
    margin: 0 auto;
    padding: 2.5vw 1.4583vw;
}


/* ==========================================================
   BIAŁY KONTENER ARTYKUŁU
   ========================================================== */

.news-article,
.news-not-found {
    border-radius: 1.1458vw;
    background: #ffffff;
    box-shadow: 0 0.7292vw 1.9792vw rgba(0, 20, 58, 0.18);
}

.news-article {
    padding: 0 0 2.5vw;
    overflow: hidden;
}


/* ==========================================================
   OKRUSZKI
   ========================================================== */

.news-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4167vw;

    margin-bottom: 1.2vw;

    color: #6c7b92;
    font-size: 0.6771vw;
}

.news-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.news-breadcrumbs a:hover {
    color: #1675ba;
}

/* Delikatny efekt po najechaniu */

.news-main-image:hover .news-main-image__img {
    transform: scale(1.015);
}

/* ==========================================================
   HERO ARTYKUŁU
   ========================================================== */

.news-article__header {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}


/* ==========================================================
   GŁÓWNE ZDJĘCIE
   ========================================================== */

.news-hero {
    position: relative;

    width: 100%;
    height: 38vw;

    min-height: 25vw;
    max-height: 42vw;

    overflow: hidden;

    background: #dfe6ef;

    border-radius: 1.1458vw 1.1458vw 0 0;
}


/* ==========================================================
   ZDJĘCIE
   ========================================================== */

.news-hero__image {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}


.news-hero:hover .news-hero__image {
    transform: scale(1.015);
}


/* ==========================================================
   GRADIENT
   ========================================================== */

.news-hero__gradient {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.03) 28%,
            rgba(0, 0, 0, 0.02) 45%,
            rgba(0, 0, 0, 0.72) 100%
        );
}


/* ==========================================================
   ZAWARTOŚĆ HERO
   ========================================================== */

.news-hero__content {
    position: absolute;

    inset: 0;

    z-index: 3;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 1.35vw 2.5vw 1.8vw;

    color: #ffffff;
}


/* ==========================================================
   BREADCRUMBS NA ZDJĘCIU
   ========================================================== */

.news-hero .news-breadcrumbs {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0.45vw;

    margin: 0;

    padding: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 0.72vw;
    line-height: 1.4;

    text-shadow:
        0 0.1vw 0.3vw rgba(0, 0, 0, 0.6);
}


.news-hero .news-breadcrumbs a {
    color: #ffffff;

    text-decoration: none;
}


.news-hero .news-breadcrumbs a:hover {
    text-decoration: underline;
}


.news-hero .news-breadcrumbs span {
    color: rgba(255, 255, 255, 0.8);
}


.news-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================
   DOLNA CZĘŚĆ HERO
   ========================================================== */

.news-hero__bottom {
    width: 100%;

    margin-top: auto;
}


/* ==========================================================
   TYTUŁ + WAŻNE
   ========================================================== */

.news-hero__title-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 2vw;
}


.news-hero__title-row h1 {
    flex: 1;

    max-width: 82%;

    margin: 0;

    color: #ffffff;

    font-size: 2.45vw;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.025vw;

    text-shadow:
        0 0.12vw 0.35vw rgba(0, 0, 0, 0.7),
        0 0.25vw 0.8vw rgba(0, 0, 0, 0.35);
}


/* ==========================================================
   WAŻNE
   ========================================================== */

.news-hero .news-important {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    margin-bottom: 0.25vw;

    padding: 0.45vw 0.8vw;

    border-radius: 0.35vw;

    background: #d93636;

    color: #ffffff;

    font-size: 0.68vw;
    font-weight: 800;

    letter-spacing: 0.05vw;

    white-space: nowrap;

    box-shadow:
        0 0.15vw 0.4vw rgba(0, 0, 0, 0.25);
}


/* ==========================================================
   DATA / CZAS / AUTOR / KATEGORIA
   ========================================================== */

.news-hero .news-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 0.5vw 0.9vw;

    margin: 0.8vw 0 0;

    color: #ffffff;

    font-size: 0.75vw;
}


.news-hero .news-meta > span {
    display: inline-flex;

    align-items: center;

    color: #ffffff;

    line-height: 1.2;

    text-shadow:
        0 0.1vw 0.3vw rgba(0, 0, 0, 0.65);
}


/* ==========================================================
   DATA
   ========================================================== */

.news-hero .news-meta__date {
    font-weight: 800;
}


/* ==========================================================
   KATEGORIA
   ========================================================== */

.news-hero .news-category {
    margin-left: auto;

    padding: 0.42vw 0.8vw;

    border-radius: 0.35vw;

    background: var(--category-color);

    color: #ffffff !important;

    font-size: 0.68vw !important;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;

    text-shadow: none !important;

    box-shadow:
        0 0.15vw 0.4vw rgba(0, 0, 0, 0.2);
}


/* ==========================================================
   TREŚĆ POD HERO
   ========================================================== */

.news-article__content {
    width: 100%;
    max-width: none;
    padding: 1.8vw 2.5vw 0;
}


/*.news-article__text {
    color: #1e3458;
    font-size: 1.05vw !important;
    line-height: 1.7;
}

.news-article__text p,
.news-article__text div,
.news-article__text span,
.news-article__text li,
.news-article__text td,
.news-article__text th {
    font-size: inherit !important;
}
*/

.news-article__text {
    color: #1e3458;
    font-size: 1.05vw;
    line-height: 1.7;
}

.news-article__text .text-normal {
    font-size: 1.05vw;
}

.news-article__text .text-larger {
    font-size: 1.20vw;
}

.news-article__text .text-large {
    font-size: 1.40vw;
}

.news-article__text .text-xlarge {
    font-size: 1.65vw;
}














/* ==========================================================
   TREŚĆ ARTYKUŁU
   ========================================================== */

.news-article__content {
    width: 100%;
    max-width: none;
    padding: 1.8vw 2.5vw 0;
}


/* ----------------------------------------------------------
   TEKST
   ---------------------------------------------------------- */

.news-article__text {
    width: 100%;

    color: #1e3458;

    font-size: 0.8854vw;
    line-height: 1.75;
}


/* Zdjęcia znajdujące się bezpośrednio w treści */

.news-article__text img {
    max-width: 100%;
    height: auto;
}


/* Linki w treści */

.news-article__text a {
    color: #1675ba;
}


/* Nagłówki w treści */

.news-article__text h2 {
    margin-top: 1.8vw;
    margin-bottom: 0.8vw;

    color: #08295e;

    font-size: 1.35vw;
}

.news-article__text h3 {
    margin-top: 1.4vw;
    margin-bottom: 0.65vw;

    color: #08295e;

    font-size: 1.1vw;
}


/* ==========================================================
   POJEDYNCZE ZDJĘCIE Z GALERII
   ========================================================== */

.news-article__single-image {
    width: 100%;

    margin: 1.8vw 0 0;
    padding: 0;
}


/* Link obejmujący zdjęcie */

.news-article__single-image a {
    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 0.7vw;
}


/* Zdjęcie */

.news-article__single-image img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 42vw;

    object-fit: contain;

    border-radius: 0.7vw;

    transition: transform 0.4s ease;
}


/* Delikatna animacja */

.news-article__single-image a:hover img {
    transform: scale(1.015);
}


/* Pionowe zdjęcie */

.news-article--portrait .news-article__single-image {
    max-width: 42vw;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   GALERIA
   ========================================================== */

.news-gallery {
    width: 100%;

    margin-top: 2.2vw;
}


/* Tytuł galerii */

.news-gallery h2 {
    margin: 0 0 1vw;

    color: #08295e;

    font-size: 1.15vw;
    line-height: 1.2;
}


/* ----------------------------------------------------------
   SIATKA GALERII
   ---------------------------------------------------------- */

.news-gallery__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0.75vw;
}


/* ----------------------------------------------------------
   KAFEL GALERII
   ---------------------------------------------------------- */

.news-gallery__grid a {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 0.55vw;

    background: #e8edf3;

    aspect-ratio: 4 / 3;
}


/* ----------------------------------------------------------
   ZDJĘCIE GALERII — ZAWSZE 4:3
   ---------------------------------------------------------- */

.news-gallery__grid img {
    display: block;

    width: 100%;
    height: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


/* ----------------------------------------------------------
   ANIMACJA GALERII
   ---------------------------------------------------------- */

.news-gallery__grid a:hover img {
    transform: scale(1.055);

    filter: brightness(1.04);
}


/* ==========================================================
   STOPKA ARTYKUŁU
   ========================================================== */

.news-article__footer {
    width: auto;
    max-width: none;

    margin: 2.3vw 2.5vw 0;
    padding-top: 1.25vw;

    border-top: 0.0521vw solid #dfe6ef;
}


.news-article__footer_G {
    width: auto;
    max-width: none;

    margin: 2.3vw 2.5vw 0;
    padding-bottom: 1.25vw;

    border-bottom: 0.0521vw solid #dfe6ef;
}


/* ==========================================================
   POWRÓT DO AKTUALNOŚCI
   ========================================================== */

.news-back,
.news-not-found a {
    color: #08295e;

    font-weight: 800;

    text-decoration: none;
	font-size:.90vw;
}

.news-back {
    display: inline-flex;
    align-items: center;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.news-back:hover {
    color: #1675ba;

    transform: translateX(0.2vw);
}


/* ==========================================================
   BRAK ARTYKUŁU
   ========================================================== */

.news-not-found {
    padding: 3.125vw;

    text-align: center;
}

.news-not-found h1 {
    margin-top: 0;
}


/* ==========================================================
   WARIANT BEZ ZDJĘCIA
   ========================================================== */

.news-article--no-image .news-hero {
    background:
        linear-gradient(
            135deg,
            #dfe8f2,
            #bfcddd
        );
}


/* ==========================================================
   WARIANT GALERII
   ========================================================== */

.news-article--gallery .news-hero {
    margin-bottom: 0;
}


/* ==========================================================
   LIGHTBOX — DROBNE DOPASOWANIE
   ========================================================== */

.lb-data .lb-caption {
    font-family: Arial, sans-serif;
}

.lb-data .lb-number {
    font-family: Arial, sans-serif;
}


/* ==========================================================
   RESPONSYWNOŚĆ — TELEFON
   ========================================================== */

@media (max-width: 36.4583vw) {

    .news-page {
        max-width: none;

        padding: 1.0417vw 0.625vw;
    }

.news-article {
    padding: 0 0 2.5vw;
    overflow: hidden;
}

    .news-hero {
        height: 55vw;

        min-height: 45vw;
        max-height: none;

        border-radius: 1.5vw;
    }

    .news-hero__overlay {
        padding: 2.5vw 2.8vw;
    }

    .news-label,
    .news-important {
        padding: 1.1vw 1.8vw;

        border-radius: 0.9vw;

        font-size: 2.2vw;
    }

    .news-hero__bottom h1 {
        max-width: 100%;

        margin-bottom: 2.5vw;

        font-size: 5.2vw;
        line-height: 1.12;
    }

    .news-hero .news-meta {
        gap: 1.5vw 2.5vw;
    }

    .news-hero .news-meta > span {
        font-size: 2.5vw;
    }

    .news-hero .news-category {
        padding: 1vw 1.8vw;

        border-radius: 0.9vw;

        font-size: 2.2vw !important;
    }

    .news-article__content {
        padding-top: 3vw;
    }

    .news-article__text {
        font-size: 3.4vw;
        line-height: 1.65;
    }

    .news-gallery {
        margin-top: 4vw;
    }

    .news-gallery h2 {
        margin-bottom: 2vw;

        font-size: 4vw;
    }

    .news-gallery__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 1.5vw;
    }

    .news-gallery__grid a {
        border-radius: 1vw;
    }

    .news-article__footer {
        margin-top: 4vw;
        padding-top: 2.5vw;
    }

    .news-breadcrumbs {
        gap: 1vw;

        margin-bottom: 2.5vw;

        font-size: 2.5vw;
    }

.news-article__header {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}


.news-hero {
    height: 65vw;

    min-height: 55vw;
    max-height: none;

    border-radius: 1.5vw 1.5vw 0 0;
}


.news-hero__content {
    padding: 2.5vw 2.5vw 3.5vw;
}


.news-hero .news-breadcrumbs {
    gap: 1vw;

    font-size: 2.5vw;
}


.news-hero__title-row {
    gap: 2vw;
}


.news-hero__title-row h1 {
    max-width: 100%;

    font-size: 5.5vw;
    line-height: 1.12;
}


.news-hero .news-important {
    padding: 1vw 1.8vw;

    border-radius: 0.9vw;

    font-size: 2.2vw;

    margin-bottom: 0.5vw;
}


.news-hero .news-meta {
    gap: 1.5vw 2.5vw;

    margin-top: 2.5vw;

    font-size: 2.5vw;
}


.news-hero .news-category {
    padding: 1vw 1.8vw;

    border-radius: 0.9vw;

    font-size: 2.2vw !important;
}


.news-article__content {
    padding-top: 4vw;
}


.news-article__text {
    font-size: 3.6vw;
    line-height: 1.7;
}


}






