
    .news-filter-wrapper {
        font-family: var(--font-native), sans-serif;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .news-tabs-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid var(--border);
        margin-bottom: 0;
        padding-bottom: 0px;
        gap: 20px;
        min-width: 0;
        position: relative;
    }

    .news-tabs-wrap {
        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        min-width: 0;
        position: relative;
    }

    .news-tabs {
        display: flex;
        gap: 0;
        overflow-x: auto;
        overflow-y: visible;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1;
        min-width: 0;
        margin-bottom: -2px;
        gap: 2rem;
    }

    .news-tabs::-webkit-scrollbar {
        display: none;
    }

    .news-tabs-arrow {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1.5px solid var(--border);
        background: var(--white);
        color: var(--primary);
        cursor: pointer;
        display: none;
        align-items: center;
        padding:0;
        justify-content: center;
        z-index: 2;
        transition: all var(--transition);
    }

    .news-tabs-arrow.is-visible {
        display: flex;
    }

    .news-tabs-arrow[disabled] {
        opacity: 0.25;
        pointer-events: none;
    }

    .news-tab-btn {
        flex-shrink: 0;
        background: none;
        border: none;
        padding: 0.825rem 0;
        font-size: 0.825rem;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--secondary);
        cursor: pointer;
        position: relative;
        letter-spacing: 1px;
        transition: color var(--transition), border-color var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        border-bottom: 3px solid transparent;
    }

    .news-tab-btn:hover {
        border-color: transparent;
    }

    .news-tab-btn.is-active {
        color: var(--black);
        border-bottom-color: var(--primary);
        font-weight: 700;
    }

    .news-tab-btn .tab-icon svg {
        width: 18px;
        height: 18px;
        stroke: var(--primary);
    }

    .news-more-filters {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        padding-bottom: 10px;
    }

    /* ── Rząd tagów: generuje się pod .news-tabs-row i w modalu przez JS ── */
    .news-tags-row {
        display: none;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .news-tags-row.has-tags {
        display: flex;
    }

    .news-active-tags {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
    }

    .news-tag-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--bg2);
        color: var(--text-dark);
        padding: 6px 12px;
        border-radius: var(--br-30);
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        border: 1px solid var(--border);
    }

    .news-tag-chip button {
        background: none;
        border: none;
        padding: 0;
        margin: 0 0 0 4px;
        cursor: pointer;
        color: var(--secondary);
        font-weight: 700;
    }

    .news-tag-chip button:hover {
        color: #dc2626;
    }

    .news-clear-btn {
        background: none;
        border: none;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        color: #dc2626;
        cursor: pointer;
        padding: 5px 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .news-more-filters-toggle {
        font-size: 0.825rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        border: none;
        background: transparent;
        padding: 8px 0;
        white-space: nowrap;
        transition: opacity var(--transition);
        line-height: 1;
        color: var(--black);
    }

    .news-more-filters-toggle:hover {
        opacity: 0.8;
    }

    .news-more-filters-toggle svg {
        stroke: var(--primary);
    }

    .news-field-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .news-field-group label {
        font-size: 0.825rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--secondary);
        letter-spacing: 2px;
        text-align: left;
    }

    .news-field-group input,
    .news-field-group select {
        height: 46px;
        border: 1px solid var(--border);
        background-color: var(--bg);
        border-radius: var(--br-10);
        padding: 0 0.5rem;
        font-size: 1.1rem;
        color: var(--text-dark);
        outline: none;
        box-sizing: border-box;
        width: 100%;
        transition: border-color var(--transition);
    }

    .news-field-group input:focus,
    .news-field-group select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px var(--bg-transparent);
    }

    .news-field-search {
        display: flex;
        align-items: center;
        position: relative;
    }

    .news-field-search-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        stroke: var(--primary);
        width: 18px;
        height: 18px;
        pointer-events: none;
    }

    .news-field-group .news-field-search-input {
        padding-left: 45px;
    }

    .news-suggestions-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--br-5) var(--br-5);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        z-index: 999;
        max-height: 280px;
        overflow-y: auto;
        box-sizing: border-box;
        margin-top: -2px;
    }

    .news-suggestion-item {
        padding: 12px 15px;
        font-size: 14px;
        color: var(--text-dark);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--bg2);
    }

    .news-suggestion-badge {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 4px 8px;
        border-radius: var(--br-5);
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .news-mobile-search-outer {
        display: none;
        margin-bottom: 25px;
        width: 100%;
        position: relative;
    }

    @media (max-width: 767px) {
        .news-tabs-row {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            border-bottom: 2px solid var(--border);
            margin-bottom: 0;
            gap: 10px;
        }

        .news-tabs-row .news-tabs-wrap {
            display: flex;
            flex: 1;
            min-width: 0;
        }

        .news-more-filters {
            padding-bottom: 0;
        }

        /* Na mobilce tagi pokazują się w modalu — rząd pod tabs-row chowamy */
        .news-tags-row {
            display: none;
        }

        .news-mobile-search-outer {
            display: block;
        }

        .news-more-filters-toggle {
            border: 1.5px solid var(--primary);
            padding: 8px 14px;
            border-radius: var(--br-5);
        }

        .news-mobile-search-outer .news-tags-row {
            display: none;
        }

        .news-mobile-search-outer .news-tags-row.has-tags {
            display: flex;
        }
    }

    .news-no-results {
        padding: 50px 30px;
        text-align: center;
        background: var(--bg);
        border-radius: var(--br-15);
        margin-top: 20px;
    }

    .news-no-results__icon {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
        color: var(--primary);
    }

    .news-no-results__icon svg {
        width: 48px;
        height: 48px;
    }

    .news-no-results__title {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0 0 10px;
    }

    .news-no-results__subtitle {
        font-size: 14px;
        color: var(--secondary);
        margin: 0 0 25px;
        line-height: 1.6;
    }

    .news-no-results__reset {
        background: none;
        border: none;
        border-bottom: 2px solid var(--primary);
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding: 0 0 3px;
        cursor: pointer;
    }

    .news-results-wrap {
        position: relative;
        min-height: 200px;
    }

    .news-loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 5;
        display: none;
        /* background: rgba(255, 255, 255, 0.7); */
    }

    .news-results-wrap.is-loading .news-loading-overlay {
        display: block;
    }

    .news-results-wrap.is-loading .js-news-ajax-target {
        opacity: 0.3;
    }

    .news-skeleton-grid {
        display: grid;
        gap: 2rem;
        width: 100%;
        grid-template-columns: repeat(var(--skeleton-cols, 3), 1fr);
    }

    .news-skeleton-card {
        border-radius: var(--br-10);
        overflow: hidden;
        border: 1px solid var(--border);
        background: var(--white);
    }

    .news-skeleton-img {
        height: 190px;
        background: linear-gradient(90deg, var(--bg2) 25%, var(--bg) 50%, var(--bg2) 75%);
        background-size: 400% 100%;
        animation: news-shimmer 1.6s infinite;
    }

    .news-skeleton-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .news-skeleton-line {
        height: 12px;
        border-radius: var(--br-5);
        background: linear-gradient(90deg, var(--bg2) 25%, var(--bg) 50%, var(--bg2) 75%);
        background-size: 400% 100%;
        animation: news-shimmer 1.6s infinite;
    }

    .news-grid {
        display: grid;
        gap: 2rem;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
    }

    @media screen and (min-width: 668px) {
        .news-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .news-tab-btn {
            font-size: 1rem;
            letter-spacing: 3px;
        }
    }

    @media screen and (min-width: 992px) {
        .news-grid--cols-1 {
            grid-template-columns: repeat(1, 1fr);
        }

        .news-grid--cols-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .news-grid--cols-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .news-grid--cols-4 {
            grid-template-columns: repeat(4, 1fr);
        }

         .news-grid--cols-5 {
            grid-template-columns: repeat(5, 1fr);
        }

         .news-grid--cols-6 {
            grid-template-columns: repeat(6, 1fr);
        }

         .news-grid--cols-7 {
            grid-template-columns: repeat(7, 1fr);
        }

         .news-grid--cols-8 {
            grid-template-columns: repeat(8, 1fr);
        }

         .news-grid--cols-9 {
            grid-template-columns: repeat(9, 1fr);
        }

         .news-grid--cols-10 {
            grid-template-columns: repeat(10, 1fr);
        }

         .news-grid--cols-11 {
            grid-template-columns: repeat(11, 1fr);
        }

         .news-grid--cols-12 {
            grid-template-columns: repeat(12, 1fr);
        }

      
    }

    .news-pagination {
        text-align: center;
        margin-top: 30px;
    }

    .news-pagination ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 8px;
        flex-wrap: wrap;
        padding: 0;
    }

    .news-pagination li a,
    .news-pagination li span {
        display: inline-block;
        padding: 10px 16px;
        border: 1px solid var(--border);
        border-radius: var(--br-5);
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
    }

    .news-pagination li .current {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

