
/* =====================================================
   POLITICAL FEED — EDITORIAL / REUTERS-INSPIRED
   Главная и страницы категорий
   ===================================================== */

body.page-home,
body.page-category,
body.page-article {
    --ed-ink: #171717;
    --ed-muted: #737B82;
    --ed-faint: #858585;
    --ed-border: #E3E6E8;
    --ed-soft: #f5f5f5;
    --ed-red: #cfa9a9;
    --ed-red-dark: #b67377;
    --ed-max: 1280px;

    background: #fff;
    color: var(--ed-ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;

    --bg: #fff;
    --surface: #fff;
    --text-main: var(--ed-ink);
    --text-muted: var(--ed-muted);
    --border: var(--ed-border);
    --accent: var(--ed-accent);
    --accent-hover: var(--ed-red-dark);
}

body.page-home *,
body.page-category * {
    box-sizing: border-box;
}

body.page-home img,
body.page-category img {
    display: block;
    max-width: 100%;
}

body.page-home a,
body.page-category a {
    color: inherit;
    text-decoration: none;
}

body.page-home button,
body.page-category button,
body.page-home input,
body.page-category input {
    font: inherit;
}

body.page-home button:focus-visible,
body.page-category button:focus-visible,
body.page-home a:focus-visible,
body.page-category a:focus-visible,
body.page-home article[role="button"]:focus-visible {
    outline: 2px solid var(--ed-red);
    outline-offset: 4px;
}

body.page-home .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------- HEADER ---------------- */

body.page-home .header,
body.page-category .header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--ed-border);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

body.page-home .header-inner,
body.page-category .header-inner {
    width: min(calc(100% - 48px), var(--ed-max));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

body.page-home .logo,
body.page-category .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
}

body.page-home .logo img,
body.page-category .logo img {
    width: auto;
    height: 34px;
    max-width: 190px;
    object-fit: contain;
}

body.page-home .nav,
body.page-category .nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 24px;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

body.page-home .nav::-webkit-scrollbar,
body.page-category .nav::-webkit-scrollbar {
    display: none;
}

body.page-home .nav a,
body.page-category .nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 68px;
    padding: 2px 0 0;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #292929;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.005em;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease;
}

body.page-home .nav a::after,
body.page-category .nav a::after {
    display: none;
}

body.page-home .nav a:hover,
body.page-category .nav a:hover,
body.page-home .nav a[aria-current="page"] {
    color: var(--ed-red);
    border-bottom-color: var(--ed-red);
}

body.page-home .header-search,
body.page-category .header-search {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #222;
    background: transparent;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

body.page-home .header-search:hover,
body.page-category .header-search:hover {
    color: var(--ed-red);
    background: var(--ed-soft);
}

/* ---------------- MAIN WIDTH ---------------- */

body.page-home main,
body.page-category main {
    width: min(calc(100% - 48px), var(--ed-max));
    margin: 0 auto;
    padding: 0 0 64px;
}

body.page-home .edition-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--ed-ink);
    color: var(--ed-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.page-home .edition-line span:first-child {
    color: var(--ed-red);
}

/* ---------------- LEAD STORIES ---------------- */

body.page-home .stories {
    padding: 0;
    margin: 0;
}

body.page-home #stories-container {
    display: block;
}

body.page-home .story {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(24px, 4vw, 54px);
    padding: 30px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--ed-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease;
}

body.page-home .story:hover {
    background: #fcfcfc;
}

body.page-home .story-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 0;
}

body.page-home .story-category {
    display: inline-block;
    margin: 0 0 11px;
    padding: 0;
    color: var(--ed-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.page-home .story-category::after {
    display: none;
}

body.page-home .story-title {
    margin: 0 0 13px;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.15vw, 31px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.035em;
    transition: color 160ms ease;
}

body.page-home .story:hover .story-title {
    color: var(--ed-red-dark);
}

body.page-home .story-description {
    margin: 0 0 15px;
    color: #464646;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}

body.page-home .story-time {
    display: block;
    margin-top: auto;
    color: var(--ed-faint);
    font-size: 11px;
    font-weight: 500;
}

body.page-home .story-image {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 0;
}

body.page-home .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease, opacity 200ms ease;
}

body.page-home .story:hover .story-image img {
    transform: scale(1.015);
    opacity: 0.96;
}

body.page-home .story-image-empty {
    background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
}

/* Lead story is more prominent */

body.page-home .story-lead {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    padding-top: 28px;
    padding-bottom: 32px;
}

body.page-home .story-lead .story-title {
    font-size: clamp(29px, 3.25vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

body.page-home .story-lead .story-description {
    font-size: 15px;
}

/* ---------------- SECTION HEADINGS ---------------- */

body.page-home .section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin: 44px 0 22px;
    padding: 0 0 11px;
    border-bottom: 1px solid var(--ed-ink);
}

body.page-home .section-title,
body.page-category .section-title {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body.page-home .section-kicker {
    color: var(--ed-faint);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ---------------- LATEST NEWS GRID ---------------- */

body.page-home .news-grid,
body.page-category .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 26px;
}

body.page-home .news-card,
body.page-category .news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 0 20px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--ed-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    transition: none;
}

body.page-home .news-card:hover,
body.page-category .news-card:hover {
    transform: none;
    box-shadow: none;
}

body.page-home .news-image,
body.page-category .news-image {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: #eee;
    transition: opacity 180ms ease;
}

body.page-home .news-card:hover .news-image,
body.page-category .news-card:hover .news-image {
    opacity: 0.92;
}

body.page-home .news-image-empty,
body.page-category .news-image-empty {
    background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
}

body.page-home .news-content,
body.page-category .news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}

body.page-home .news-date,
body.page-category .news-date {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--ed-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.page-home .news-content h3,
body.page-category .news-content h3 {
    margin: 0 0 9px;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.19;
    letter-spacing: -0.025em;
    transition: color 160ms ease;
}

body.page-home .news-card:hover .news-content h3,
body.page-category .news-card:hover .news-content h3 {
    color: var(--ed-red-dark);
}

body.page-home .news-content p,
body.page-category .news-content p {
    margin: 0 0 13px;
    color: #515151;
    font-size: 13px;
    line-height: 1.65;
}

body.page-home .card-read-more {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
    color: var(--ed-muted);
    font-size: 11px;
    font-weight: 700;
}

body.page-home .card-read-more span {
    color: var(--ed-red);
    transition: transform 160ms ease;
}

body.page-home .news-card:hover .card-read-more span {
    transform: translateX(3px);
}

/* ---------------- SEARCH ---------------- */

body.page-home .search-section,
body.page-category .search-section {
    position: relative;
    z-index: 90;
    width: min(calc(100% - 48px), var(--ed-max));
    margin: 0 auto;
    padding: 16px 0 0;
}

body.page-home .search-section[hidden],
body.page-category .search-section[hidden] {
    display: none !important;
}

body.page-home .search-wrapper,
body.page-category .search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border: 1px solid var(--ed-border);
    border-radius: 0;
    background: #f8f8f8;
}

body.page-home .search-wrapper:focus-within,
body.page-category .search-wrapper:focus-within {
    border-color: #888;
    background: #fff;
}

body.page-home .search-input,
body.page-category .search-input {
    flex: 1;
    min-width: 0;
    padding: 13px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ed-ink);
    font-size: 14px;
}

body.page-home .search-clear,
body.page-category .search-clear {
    width: auto;
    padding: 3px 5px;
    border: 0;
    background: transparent;
    color: var(--ed-muted);
    font-size: 24px;
    cursor: pointer;
}

body.page-home .search-results,
body.page-category .search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 120;
    display: none;
    max-height: 470px;
    overflow-y: auto;
    border: 1px solid var(--ed-border);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

body.page-home .search-results.active,
body.page-category .search-results.active {
    display: block;
}

body.page-home .search-result-item,
body.page-category .search-result-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid var(--ed-border);
    border-radius: 0;
    background: #fff;
    color: var(--ed-ink);
    text-align: left;
    cursor: pointer;
}

body.page-home .search-result-item:hover,
body.page-category .search-result-item:hover {
    background: #f7f7f7;
}

body.page-home .search-result-category,
body.page-category .search-result-category {
    margin-bottom: 4px;
    color: var(--ed-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.page-home .search-result-item strong,
body.page-category .search-result-item strong {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 17px;
    line-height: 1.3;
}

body.page-home .search-result-description,
body.page-category .search-result-description {
    margin-top: 4px;
    color: var(--ed-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

body.page-home .search-empty,
body.page-category .search-empty {
    padding: 20px;
    color: var(--ed-muted);
}

/* ---------------- ARTICLE MODAL ---------------- */

body.page-home.modal-open {
    overflow: hidden;
}

body.page-home .modal {
    z-index: 1000;
    padding: 30px 16px;
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(3px);
}

body.page-home .modal-content {
    position: relative;
    width: min(100%, 900px);
    max-width: 900px;
    max-height: calc(100vh - 60px);
    margin: 0 auto;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

body.page-home .reading-progress {
    position: sticky;
    top: 0;
    z-index: 5;
    width: 0;
    height: 3px;
    background: var(--ed-red);
}

body.page-home .close-btn {
    position: sticky;
    top: 12px;
    z-index: 6;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 12px 12px -52px 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #444;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

body.page-home .close-btn:hover {
    color: var(--ed-red);
}

body.page-home .modal-image {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    background: #f0f0f0;
}

body.page-home .modal-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 38px 34px 54px;
}

body.page-home .modal-eyebrow {
    margin: 0 0 12px;
    color: var(--ed-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

body.page-home .modal-content h2 {
    margin: 0 0 12px;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.page-home .modal-date {
    margin: 0 0 26px;
    color: var(--ed-faint);
    font-size: 12px;
}

body.page-home .modal-body {
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.page-home .modal-body p {
    margin: 0 0 1.35em;
}

body.page-home .modal-body h2,
body.page-home .modal-body h3,
body.page-home .modal-body h4 {
    margin: 1.7em 0 0.65em;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, serif;
    line-height: 1.2;
}

body.page-home .modal-body h2 {
    font-size: 29px;
}

body.page-home .modal-body h3 {
    font-size: 24px;
}

body.page-home .modal-body a {
    color: var(--ed-red-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page-home .modal-body img {
    height: auto;
    margin: 24px auto;
}

body.page-home .modal-body blockquote {
    margin: 24px 0;
    padding: 3px 0 3px 20px;
    border-left: 3px solid var(--ed-red);
    color: #4a4a4a;
}

body.page-home .loading-modal,
body.page-home .article-load-error {
    color: var(--ed-muted);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
}

body.page-home .load-more {
    display: block;
    margin: 34px auto 0;
    padding: 12px 28px;
    border: 1px solid var(--ed-ink);
    border-radius: 0;
    background: transparent;
    color: var(--ed-ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

body.page-home .load-more:hover {
    background: var(--ed-ink);
    color: #fff;
}

body.page-home .load-more[hidden] {
    display: none;
}

body.page-home .open-article-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid var(--ed-red);
    border-radius: 0;
    background: var(--ed-red);
    color: #fff !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 160ms ease;
}

body.page-home .open-article-btn:hover {
    background: var(--ed-red-dark);
}

body.page-home .related-block {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--ed-border);
}

body.page-home .related-title {
    margin: 0 0 16px !important;
    font-size: 23px !important;
}

body.page-home .related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.page-home .related-item {
    display: block;
    padding: 16px;
    border: 1px solid var(--ed-border);
    background: #fff;
    text-decoration: none !important;
}

body.page-home .related-item:hover {
    background: #f8f8f8;
}

body.page-home .related-category {
    color: var(--ed-red);
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

body.page-home .related-item h4 {
    margin: 7px 0 !important;
    font-size: 18px;
}

body.page-home .related-item p {
    margin: 0 !important;
    color: var(--ed-muted);
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

/* ---------------- CATEGORY PAGE ---------------- */

body.page-category .category-hero {
    margin: 30px 0 8px;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid var(--ed-ink);
    border-radius: 0;
    background: transparent;
    text-align: left;
}

body.page-category .category-hero h1 {
    margin: 0 0 10px;
    color: var(--ed-ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.page-category .category-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--ed-muted);
    font-size: 14px;
}

body.page-category .tag,
body.page-category .category-hero .tag {
    display: inline-block;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ed-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* ---------------- FOOTER ---------------- */

body.page-home .site-footer,
body.page-home footer,
body.page-category footer {
    margin-top: 24px;
    padding: 36px 24px 22px;
    border: 0;
    border-top: 3px solid var(--ed-red);
    border-radius: 0;
    background: #171717;
    color: #ddd;
    text-align: left;
}

body.page-home .footer-content,
body.page-category .footer-content {
    width: min(100%, var(--ed-max));
    margin: 0 auto;
}

body.page-home .footer-brand h3,
body.page-home footer h3,
body.page-category footer h3 {
    margin: 0 0 5px;
    color: #fff;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
}

body.page-home footer p,
body.page-category footer p {
    margin: 0;
    color: #aaa;
    font-size: 12px;
}

body.page-home .footer-nav,
body.page-category .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid #393939;
    border-bottom: 1px solid #393939;
}

body.page-home .footer-nav a,
body.page-category .footer-nav a {
    color: #c9c9c9;
    font-size: 11px;
    transition: color 160ms ease;
}

body.page-home .footer-nav a:hover,
body.page-category .footer-nav a:hover {
    color: #fff;
}

body.page-home .footer-copy {
    color: #888 !important;
    font-size: 10px !important;
}

/* ---------------- LOADING ---------------- */

body.page-home .loading,
body.page-category .loading {
    padding: 26px 0;
    color: var(--ed-muted);
    font-size: 13px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1000px) {
    body.page-home .header-inner,
    body.page-category .header-inner {
        gap: 20px;
    }

    body.page-home .nav,
    body.page-category .nav {
        gap: 18px;
    }

    body.page-home .news-grid,
    body.page-category .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

    body.page-home .story,
    body.page-home .story-lead {
        gap: 26px;
    }
}

@media (max-width: 700px) {
    body.page-home .header-inner,
    body.page-category .header-inner {
        width: calc(100% - 28px);
        min-height: 58px;
        gap: 13px;
    }

    body.page-home .logo img,
    body.page-category .logo img {
        height: 28px;
        max-width: 145px;
    }

    body.page-home .nav,
    body.page-category .nav {
        gap: 16px;
    }

    body.page-home .nav a,
    body.page-category .nav a {
        min-height: 58px;
        font-size: 11px;
    }

    body.page-home .header-search,
    body.page-category .header-search {
        width: 32px;
        height: 32px;
    }

    body.page-home main,
    body.page-category main {
        width: calc(100% - 28px);
        padding-bottom: 42px;
    }

    body.page-home .search-section,
    body.page-category .search-section {
        width: calc(100% - 28px);
    }

    body.page-home .edition-line {
        padding: 12px 0 10px;
        font-size: 8px;
    }

    body.page-home .story,
    body.page-home .story-lead {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 22px 0;
    }

    body.page-home .story-image {
        grid-row: 1;
        aspect-ratio: 16 / 9;
    }

    body.page-home .story-text {
        grid-row: 2;
    }

    body.page-home .story-title {
        margin-bottom: 9px;
        font-size: 25px;
        line-height: 1.14;
    }

    body.page-home .story-lead .story-title {
        font-size: clamp(29px, 8vw, 38px);
    }

    body.page-home .story-description {
        margin-bottom: 10px;
        font-size: 13px;
    }

    body.page-home .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-top: 32px;
        margin-bottom: 18px;
    }

    body.page-home .section-title,
    body.page-category .section-title {
        font-size: 23px;
    }

    body.page-home .news-grid,
    body.page-category .news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    body.page-home .news-card,
    body.page-category .news-card {
        display: grid;
        grid-template-columns: minmax(105px, 0.82fr) minmax(0, 1.18fr);
        align-items: start;
        gap: 13px;
        padding-bottom: 18px;
    }

    body.page-home .news-image,
    body.page-category .news-image {
        aspect-ratio: 4 / 3;
        margin: 0;
    }

    body.page-home .news-content h3,
    body.page-category .news-content h3 {
        margin-bottom: 6px;
        font-size: 18px;
        line-height: 1.2;
    }

    body.page-home .news-content p,
    body.page-category .news-content p {
        display: -webkit-box;
        margin-bottom: 7px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 11px;
        line-height: 1.45;
    }

    body.page-home .news-date,
    body.page-category .news-date {
        margin-bottom: 5px;
        font-size: 9px;
    }

    body.page-home .card-read-more {
        font-size: 10px;
    }

    body.page-home .modal {
        padding: 0;
    }

    body.page-home .modal-content {
        width: 100%;
        max-height: 100dvh;
        min-height: 100dvh;
    }

    body.page-home .modal-image {
        max-height: 280px;
    }

    body.page-home .modal-inner {
        padding: 28px 22px 42px;
    }

    body.page-home .modal-content h2 {
        font-size: 32px;
    }

    body.page-home .modal-body {
        font-size: 17px;
        line-height: 1.75;
    }

    body.page-home .related-list {
        grid-template-columns: 1fr;
    }

    body.page-home .site-footer,
    body.page-home footer,
    body.page-category footer {
        padding: 28px 18px 20px;
    }

    body.page-home .footer-nav,
    body.page-category .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-home *,
    body.page-category * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
