:root {
    --ny-navy: #001b42;
    --ny-navy-2: #072d60;
    --ny-yellow: #ffc21c;
    --ny-text: #161b23;
    --ny-muted: #7d858f;
    --ny-border: #e2e6ec;
    --ny-white: #fff;
    --ny-radius: 9px;
}

.ny-articles-archive,
.ny-articles-archive *,
.ny-articles-archive *::before,
.ny-articles-archive *::after { box-sizing: border-box; }

.ny-articles-archive {
    width: 100%;
    overflow: clip;
    color: var(--ny-text);
    background: #fff;
    font-family: "Peyda", "PeydaWeb", "Vazirmatn", Tahoma, sans-serif !important;
    font-weight: 400;
    line-height: 1.65;
    direction: rtl;
}

.ny-articles-archive a { text-decoration: none; }
.ny-articles-archive button,
.ny-articles-archive input,
.ny-articles-archive select,
.ny-articles-archive textarea { font-family: inherit !important; }

.ny-articles-shell {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
    padding: 24px 0 96px;
}

/* Hero: 1256 × 168 در طرح اصلی */
.ny-archive-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(1256px, 100%);
    min-height: 168px;
    margin-inline: auto;
    padding: 34px 24px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--ny-navy);
    border-radius: 14px;
    isolation: isolate;
}

.ny-archive-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.ny-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 400;
}

.ny-breadcrumb a { color: inherit; transition: color .18s ease; }
.ny-breadcrumb a:hover { color: var(--ny-yellow); }
.ny-breadcrumb__separator { color: rgba(255,255,255,.55); font-size: 15px; line-height: 1; }
.ny-breadcrumb__home {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
}
.ny-breadcrumb__home img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ny-featured-section {
    position: relative;
    width: min(1256px, 100%);
    margin: 48px auto 0;
}

/* یک کارت بزرگ راست + دو کارت کوچک چپ */
.ny-featured-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 231px);
    gap: 20px;
    min-height: 482px;
}

.ny-featured-grid .ny-article-card:nth-of-type(1) { grid-column: 1; grid-row: 1 / 3; }
.ny-featured-grid .ny-article-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.ny-featured-grid .ny-article-card:nth-of-type(3) { grid-column: 2; grid-row: 2; }

.ny-latest-section {
    width: min(1280px, 100%);
    margin: 42px auto 0;
}

.ny-section-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    margin-bottom: 14px;
    padding-inline: 12px;
}

.ny-section-heading h2 {
    margin: 0;
    color: #151a22;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.ny-section-heading__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    color: #fff;
    background: var(--ny-navy);
    border-radius: 50%;
}
.ny-section-heading__icon::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    background: var(--ny-yellow);
    border: 2px solid #fff;
    border-radius: 50%;
}
.ny-section-heading__icon svg,
.ny-section-heading__icon img { width: 15px; height: 15px; display: block; object-fit: contain; }

.ny-archive-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 462px;
    align-items: center;
    gap: 28px;
    min-height: 0;
    margin-bottom: 34px;
    padding: 8px 12px 10px;
}

.ny-categories-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.ny-category-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.ny-category-active-slot {
    display: none;
}
.ny-category-active-slot.has-active {
    display: flex;
}

.ny-category-tabs {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    background: var(--ny-navy);
    border-radius: 14px;
    padding-inline: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,27,66,.08);
}
.ny-category-tabs::-webkit-scrollbar { height: 5px; }
.ny-category-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border-radius: 20px; }

.ny-category-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    min-width: 124px;
    min-height: 50px;
    padding: 10px 20px;
    color: #fff;
    white-space: nowrap;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease, opacity .2s ease, width .2s ease;
}
.ny-category-tabs .ny-category-tab:first-child:not(.is-hidden-source) {
    border-radius: 0 14px 14px 0;
}
.ny-category-tabs .ny-category-tab:last-child:not(.is-hidden-source) {
    border-radius: 14px 0 0 14px;
}
.ny-category-tab:hover { color: var(--ny-yellow); transform: translateY(-1px); }
.ny-category-tab--floating.is-active {
    z-index: 3;
    color: var(--ny-navy);
    background: var(--ny-yellow);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,27,66,.15);
    transform: translateY(-1px);
}
.ny-category-tab.is-hidden-source {
    width: 0 !important;
    min-width: 0 !important;
    padding-inline: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}
.ny-category-tab--all {
    flex: 0 0 98px;
    min-width: 98px;
    min-height: 50px;
    color: var(--ny-navy);
    background: #f3f6fa;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,27,66,.06);
}
.ny-category-tab--all:hover { color: var(--ny-navy); background: #ffe08a; }
.ny-category-tab--all.is-active { background: var(--ny-yellow); }

.ny-article-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 462px;
    min-width: 462px;
    height: 52px;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ny-border);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(0,27,66,.05);
}

.ny-article-search input[type="search"] {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 18px 0 56px;
    color: var(--ny-text);
    text-align: right;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    box-shadow: none !important;
    appearance: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 52px;
}
.ny-article-search input[type="search"]::-webkit-search-cancel-button { appearance: none; }
.ny-article-search input::placeholder { color: #9aa0a9; opacity: 1; }

.ny-article-search button {
    position: absolute;
    left: 18px;
    right: auto;
    top: 50%;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #727a85;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    transform: translateY(-50%);
}
.ny-article-search button img { width: 18px; height: 18px; display: block; object-fit: contain; }

.ny-results {
    position: relative;
    min-height: 260px;
    padding: 0 12px;
    transition: opacity .22s ease, transform .22s ease;
}
.ny-results.is-loading { opacity: .42; transform: translateY(8px); pointer-events: none; }
.ny-results.is-loading::after {
    position: absolute;
    content: "";
    top: 22px;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0,27,66,.18);
    border-top-color: var(--ny-yellow);
    border-radius: 50%;
    animation: ny-spin .7s linear infinite;
}

.ny-articles-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    animation: ny-grid-in .46s cubic-bezier(.2,.75,.2,1);
}

/* کارت مقاله 616 × 231 */
.ny-article-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--ny-navy);
    border-radius: var(--ny-radius);
    box-shadow: 0 8px 24px rgba(0, 16, 42, .05);
    isolation: isolate;
    transition: transform .34s cubic-bezier(.2,.75,.2,1), box-shadow .34s cubic-bezier(.2,.75,.2,1);
}
.ny-article-card--featured:not(.ny-article-card--primary) { min-height: 231px; }
.ny-article-card--primary { min-height: 482px; }
.ny-article-card--listing { min-height: 231px; aspect-ratio: 616 / 231; }

.ny-article-card__link {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
    outline: none;
}
.ny-article-card__link:focus-visible { box-shadow: inset 0 0 0 3px var(--ny-yellow); }

.ny-article-card__media,
.ny-article-card__shade,
.ny-article-card__content { position: absolute; inset: 0; }

.ny-article-card__media {
    overflow: hidden;
    background: linear-gradient(135deg,#0e376f,#001b42);
    z-index: -3;
}
.ny-article-card__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.002);
    transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.ny-article-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#0e376f,#001b42); }

.ny-article-card__shade {
    z-index: -2;
    background:
        linear-gradient(180deg,rgba(0,10,28,.02) 0%,rgba(0,10,28,.07) 31%,rgba(0,8,22,.88) 100%);
}

.ny-article-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px 15px;
    z-index: 1;
}
.ny-article-card--primary .ny-article-card__content { padding: 34px 30px 21px; }

.ny-article-card__copy {
    display: block;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.ny-article-card__copy strong {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ny-article-card--primary .ny-article-card__copy { width: 100%; text-align: right; }
.ny-article-card--primary .ny-article-card__copy strong { font-size: 27px; }

.ny-article-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.ny-article-card--primary .ny-article-card__excerpt {
    max-width: 88%;
    margin-inline: 0;
    font-size: 12px;
    text-align: right;
    -webkit-line-clamp: 2;
}

.ny-article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    direction: ltr;
}

.ny-article-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.85);
    font-size: 10px;
    font-weight: 400;
    direction: rtl;
    white-space: nowrap;
}
.ny-article-card__date-icon {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    flex: 0 0 14px;
}

.ny-read-more {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
    direction: rtl;
}
.ny-read-more__label {
    direction: rtl;
}
.ny-read-more__icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--ny-navy);
    background: var(--ny-yellow);
    border-radius: 7px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform .26s ease, box-shadow .26s ease, background-color .26s ease;
}

.ny-article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 16, 42, .10); }
.ny-article-card:hover .ny-article-card__media img { transform: scale(1.06); filter: saturate(1.04) contrast(1.03); }
.ny-article-card:hover .ny-read-more__icon { transform: translateX(-4px); background: #ffd24d; box-shadow: 0 8px 20px rgba(255,194,28,.30); }

.ny-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    min-height: 45px;
    margin-top: 55px;
    direction: rtl;
}
.ny-page-link {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 7px;
    color: #252a33;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: transform .18s ease,color .18s ease,background .18s ease;
}
.ny-page-link:hover { color: var(--ny-navy); background: #f2f4f8; transform: translateY(-2px); }
.ny-page-link.is-current { color: var(--ny-navy); background: var(--ny-yellow); transform: none; }
.ny-page-arrow { color: #fff; background: var(--ny-navy); font-size: 16px; }
.ny-page-arrow:hover { color: var(--ny-navy); background: var(--ny-yellow); }
.ny-page-arrow.is-disabled { opacity: .38; cursor: default; }

.ny-empty-state {
    display: grid;
    place-items: center;
    min-height: 310px;
    padding: 48px 20px;
    text-align: center;
    background: #f8f9fb;
    border: 1px dashed #dfe3ea;
    border-radius: 14px;
}
.ny-empty-icon { width: 38px; height: 38px; fill: var(--ny-navy); }
.ny-empty-state h3 { margin: 14px 0 4px; color: var(--ny-navy); font-size: 20px; font-weight: 700; }
.ny-empty-state p { margin: 0; color: var(--ny-muted); }

[data-ny-reveal] {
    opacity: 0;
    transform: translateY(24px) scale(.994);
    transition: opacity .68s cubic-bezier(.2,.75,.2,1), transform .68s cubic-bezier(.2,.75,.2,1);
    transition-delay: var(--ny-delay,0ms);
    will-change: transform,opacity;
}
[data-ny-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes ny-spin { to { transform: rotate(360deg); } }
@keyframes ny-grid-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
    .ny-articles-shell { width: min(calc(100% - 28px),1000px); }
    .ny-featured-grid { grid-template-rows: repeat(2,190px); min-height: 396px; gap: 16px; }

    .ny-article-card--primary { min-height: 396px; }
    .ny-article-card--featured:not(.ny-article-card--primary) { min-height: 190px; }
    .ny-archive-controls { grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; padding-inline: 0; }
    .ny-article-search { width: 360px; min-width: 360px; height: 48px; }
    .ny-categories-wrap { gap: 12px; }
    .ny-category-tab { min-width: 94px; min-height: 44px; padding-inline: 16px; }
    .ny-category-tab--all { min-width: 80px; min-height: 44px; }
    .ny-results,.ny-section-heading { padding-inline: 0; }
    .ny-article-card__copy strong { font-size: 18px; }
    .ny-article-card--primary .ny-article-card__copy strong { font-size: 24px; }
}

@media (max-width: 767px) {
    .ny-articles-shell { width: min(calc(100% - 24px),680px); padding-top: 12px; padding-bottom: 62px; }
    .ny-archive-hero { min-height: 132px; padding: 26px 18px; border-radius: 10px; }
    .ny-archive-hero h1 { font-size: 26px; }
    .ny-featured-section { margin-top: 28px; }

    .ny-featured-grid { display: flex; flex-direction: column; min-height: 0; gap: 12px; }
    .ny-featured-grid .ny-article-card:nth-of-type(n) { width: 100%; min-height: 220px; }
    .ny-featured-grid .ny-article-card--primary { min-height: 320px; }

    .ny-latest-section { margin-top: 40px; }
    .ny-section-heading { margin-bottom: 14px; }
    .ny-section-heading h2 { font-size: 22px; }

    .ny-archive-controls {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        min-height: 0;
        margin-bottom: 26px;
        padding: 0;
    }
    .ny-categories-wrap {
        order: 1;
        width: 100%;
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }
    .ny-category-pills { gap: 8px; }
    .ny-category-tabs { width: 100%; padding-inline: 6px; }
    .ny-category-tab { flex: 0 0 auto; min-width: 88px; min-height: 42px; padding: 8px 14px; font-size: 12px; }
    .ny-category-tab--floating.is-active { box-shadow: 0 8px 18px rgba(0,27,66,.14); }
    .ny-category-tab--all { flex-basis: 78px; min-width: 78px; min-height: 42px; }
    .ny-article-search { order: 2; width: 100%; min-width: 0; height: 48px; }

    .ny-results { padding: 0; }
    .ny-articles-grid { grid-template-columns: 1fr; gap: 14px; }
    .ny-article-card--listing { min-height: 218px; aspect-ratio: 16/9; }
    .ny-article-card__content,
    .ny-article-card--primary .ny-article-card__content { padding: 22px 18px 15px; }
    .ny-article-card__copy strong,
    .ny-article-card--primary .ny-article-card__copy strong { font-size: 18px; }
    .ny-article-card__excerpt,
    .ny-article-card--primary .ny-article-card__excerpt { max-width: 100%; font-size: 11px; -webkit-line-clamp: 1; }
    .ny-article-card--primary .ny-article-card__copy { text-align: right; }
    .ny-read-more { font-size: 11px; }
    .ny-read-more__icon { width: 30px; height: 30px; }
    .ny-pagination { gap: 9px; margin-top: 36px; }
    .ny-page-link { min-width: 31px; height: 31px; font-size: 13px; }
}

@media (max-width: 420px) {
    .ny-articles-shell { width: calc(100% - 20px); }
    .ny-archive-hero { min-height: 118px; }
    .ny-archive-hero h1 { font-size: 23px; }
    .ny-breadcrumb { font-size: 11px; }
    .ny-featured-grid .ny-article-card:nth-of-type(n) { min-height: 205px; }
    .ny-featured-grid .ny-article-card--primary { min-height: 280px; }
    .ny-article-card__meta { gap: 8px; }
    .ny-article-card__date { font-size: 9px; }
    .ny-read-more__label { display: inline; }
    .ny-pagination { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .ny-articles-archive *,
    .ny-articles-archive *::before,
    .ny-articles-archive *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    [data-ny-reveal] { opacity: 1; transform: none; }
}


/* =========================================================
   v1.2.31 — Reference lock: filter row + listing cards + paging
   ========================================================= */
.ny-articles-shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
    padding: 24px 0 96px;
}

.ny-latest-section {
    width: 100%;
    margin: 42px auto 0;
}

.ny-section-heading {
    margin-bottom: 28px;
    padding-inline: 12px;
}

.ny-archive-controls {
    direction: ltr;
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    min-height: 48px;
    margin-bottom: 58px;
    padding: 0 12px;
}

.ny-article-search {
    grid-column: 1;
    direction: rtl;
    position: relative;
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e9;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,27,66,.035);
}

.ny-article-search input[type="search"] {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 22px 0 56px;
    color: var(--ny-text);
    text-align: right;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    box-shadow: none !important;
    appearance: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 48px;
}

.ny-article-search button {
    left: 18px;
    right: auto;
    width: 20px;
    height: 20px;
    background: transparent !important;
    box-shadow: none !important;
}

.ny-article-search button img {
    width: 18px;
    height: 18px;
}

.ny-categories-wrap {
    grid-column: 2;
    direction: rtl;
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.ny-categories-groups {
    direction: rtl;
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.ny-category-tabs {
    direction: rtl;
    display: flex;
    flex: var(--ny-group-count, 1) 1 0;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    background: var(--ny-navy);
    border: 0;
    border-radius: 14px;
    box-shadow: none;
}

.ny-category-tabs::-webkit-scrollbar { display: none; }

.ny-category-tab {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 48px;
    padding: 8px 14px;
    color: #fff;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

.ny-category-tabs .ny-category-tab:hover {
    color: var(--ny-yellow);
    background: rgba(255,255,255,.045);
    transform: none;
}

.ny-category-tab--selected {
    flex: 1 1 0;
    min-width: 92px;
    min-height: 48px;
    padding: 8px 18px;
    color: var(--ny-navy);
    background: var(--ny-yellow);
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    animation: ny-selected-pill-in .28s cubic-bezier(.2,.75,.2,1);
}

.ny-category-tab--selected:hover {
    color: var(--ny-navy);
    background: var(--ny-yellow);
    transform: none;
}

.ny-categories-groups {
    animation: ny-filter-groups-in .32s cubic-bezier(.2,.75,.2,1);
}

@keyframes ny-selected-pill-in {
    from { opacity: .45; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ny-filter-groups-in {
    from { opacity: .72; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.ny-results {
    padding: 0 12px;
}

.ny-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    animation: ny-grid-in .42s cubic-bezier(.2,.75,.2,1);
}

.ny-article-card--listing {
    width: 100%;
    min-height: 0;
    aspect-ratio: 616 / 231;
    border-radius: 9px;
    box-shadow: none;
}

.ny-article-card--listing .ny-article-card__content {
    padding: 23px 21px 14px;
}

.ny-article-card--listing .ny-article-card__copy {
    width: 100%;
    text-align: right;
}

.ny-article-card--listing .ny-article-card__copy strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.ny-article-card--listing .ny-article-card__excerpt {
    margin-top: 3px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.7;
    -webkit-line-clamp: 1;
}

.ny-article-card--listing .ny-article-card__meta {
    margin-top: 11px;
}

.ny-article-card--listing .ny-read-more__icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.ny-article-card--listing:hover {
    transform: none;
    box-shadow: none;
}

.ny-article-card--listing:hover .ny-article-card__media img {
    transform: scale(1.035);
    filter: saturate(1.02) contrast(1.02);
}

.ny-article-card--listing:hover .ny-read-more__icon {
    transform: translateX(-2px);
    background: #ffd24d;
    box-shadow: none;
}

.ny-pagination {
    gap: 22px;
    min-height: 42px;
    margin-top: 58px;
}

.ny-page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 15px;
    transform: none !important;
}

.ny-page-link:hover {
    transform: none;
}

.ny-page-link.is-current {
    min-width: 40px;
    height: 40px;
    border-radius: 7px;
    background: var(--ny-yellow);
}

.ny-page-arrow {
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #fff;
    background: var(--ny-navy);
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .ny-articles-shell {
        width: min(1000px, calc(100% - 28px));
    }

    .ny-archive-controls {
        grid-template-columns: 38% minmax(0, 1fr);
        gap: 18px;
        padding-inline: 0;
    }

    .ny-category-tab,
    .ny-category-tab--selected {
        min-width: 76px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .ny-results { padding-inline: 0; }
    .ny-articles-grid { gap: 16px; }
    .ny-article-card--listing .ny-article-card__copy strong { font-size: 18px; }
}

@media (max-width: 767px) {
    .ny-articles-shell {
        width: min(680px, calc(100% - 24px));
    }

    .ny-archive-controls {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
        padding: 0;
    }

    .ny-categories-wrap,
    .ny-article-search {
        width: 100%;
    }

    .ny-categories-groups {
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ny-category-tabs,
    .ny-category-tab--selected {
        min-height: 44px;
        border-radius: 12px;
    }

    .ny-category-tab {
        min-height: 44px;
        min-width: 82px;
        font-size: 12px;
    }

    .ny-category-tab--selected {
        min-width: 82px;
        font-size: 12px;
    }

    .ny-article-search {
        height: 48px;
    }

    .ny-articles-grid {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .ny-article-card--listing {
        aspect-ratio: 16 / 9;
        min-height: 218px;
    }

    .ny-pagination {
        gap: 9px;
        margin-top: 36px;
    }
}
