.regiony-page-hero-full {
    width: 100%;
    background: #fff;
}

.regiony-page-hero-bg {
    background: url('/images/regiony/tlo/back.png') repeat-x center top;
}

.regiony-page-hero-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 250px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.regiony-page-hero-copy {
    flex: 1 1 auto;
    max-width: 760px;
}

.regiony-page-title {
    color: #fff;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.regiony-page-lead {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    max-width: 640px;
}

.regiony-page-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffcc00;
    padding: 0.45rem 0.6rem;
}

.regiony-page-picker-label {
    color: #1b3380;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0;
}

.regiony-page-select {
    border: 0;
    background: #ffcc00;
    color: #1b3380;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    min-width: 210px;
    padding: 2px 4px;
}

.regiony-page-select:focus {
    outline: 1px solid #1b3380;
}

.regiony-page-map {
    flex: 0 0 350px;
    background: url('/images/regiony/tlo/mapa.png') no-repeat right center;
    background-size: contain;
    min-height: 210px;
}

.regiony-facts-section {
    padding-top: 1rem;
}

.regiony-facts-heading {
    color: #1b3380;
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 0;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.regiony-top-facts-row {
    align-items: stretch;
}
.regiony-top-facts-row .news-card:hover h2{color:#fff !important;}
.regiony-top-facts-row .news-card:hover h3{color:#fff !important;}
.regiony-main-fact-card {
    min-height: 100%;
}

.regiony-main-fact-media {
    min-height: 100%;
}

.regiony-main-fact-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.611764705882353);
    padding: 0.85rem 0.95rem;
    color: #fff;
    z-index: 2;
}

.ratio > .regiony-main-fact-overlay {
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
}

.regiony-main-fact-date {
    color: #f1f1f1;
    margin: 0 0 0.25rem;
}

.regiony-main-fact-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 500;
    color: #fff;
}

.regiony-main-fact-lead {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #f8f8f8;
}

.regiony-main-fact-mobile-copy {
    display: none;
    margin-top: 0.5rem;
    position: relative;
    z-index: 3;
    background: #fff;
}

.regiony-main-fact-title-mobile {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

.regiony-main-fact-lead-mobile {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: #4f4f4f;
    line-height: 1.35;
}

.regiony-side-fact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.regiony-side-fact-media {
    min-height: 235px;
}

/* Zoom obrazka ma zostawać wewnątrz kontenera jak na SG/kategoriach. */
.regiony-facts-section .ratio,
.regiony-main-fact-media,
.regiony-side-fact-media {
    overflow: hidden;
}

.regiony-facts-section .news-card img {
    transition: transform 0.4s ease;
}

.regiony-facts-section .news-card:hover img {
    transform: scale(1.05);
}

/* Główna karta regionów/wywiadów bez powiększania. */
.regiony-main-fact-card:hover img {
    transform: none !important;
}

.regiony-highlight-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #224a9b;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 2;
}

.ratio > .regiony-highlight-badge {
    width: auto;
    height: auto;
    right: auto;
    top: auto;
    pointer-events: none;
}

.regiony-ad-placeholder {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    color: #5a5a5a;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.regiony-micro-section {
    margin-bottom: 2rem;
}

.regiony-micro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 5px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.9rem;
    padding-top: 1rem;
}

.regiony-micro-title {
    margin: 0;
    color: #1b3380;
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 0;
    text-transform: uppercase;
}

.regiony-more-link {
    display: inline-block;
}

.regiony-fact-date {
    display: block;
    margin: 0.2rem 0 0.25rem;
    color: #6c757d;
    font-size: 13px;
}

.regiony-show-more-btn {
    width: 100%;
    background: #f0f0f0;
    color: #1b3380;
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.regiony-show-more-btn:hover {
    color: #1b3380;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .regiony-page-hero-inner {
        flex-direction: column;
        min-height: auto;
    }

    .regiony-page-map {
        display: none;
    }

    .regiony-page-title {
        font-size: 36px;
    }

    .regiony-side-fact-media {
        min-height: 180px;
    }

    .regiony-main-fact-overlay {
        display: none;
    }

    .regiony-main-fact-mobile-copy {
        display: block;
    }

    .regiony-main-fact-card,
    .regiony-main-fact-media,
    .regiony-main-fact-card a {
        height: auto !important;
        min-height: 0 !important;
    }

    .regiony-main-fact-card {
        margin-bottom: 0.5rem;
    }

    .regiony-ad-placeholder {
        display: none;
    }
}

@media (max-width: 767px) {
    .regiony-facts-section--region .regiony-top-facts-row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .regiony-facts-section--region .regiony-top-facts-row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .regiony-page-title {
        font-size: 30px;
    }

    .regiony-page-lead {
        font-size: 16px;
    }

    .regiony-page-select-wrap {
        width: 100%;
        flex-wrap: wrap;
    }

    .regiony-page-select {
        width: 100%;
        min-width: 0;
    }

    .regiony-facts-heading {
        font-size: 28px;
    }

    .regiony-micro-title {
        font-size: 23px;
    }
}
