@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/PlayfairDisplay-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/PlayfairDisplay-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/SourceSans3-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/SourceSans3-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/SourceSans3-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/SourceSans3-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
:root {
    --primary-color: #268019;
    --secondary-color: #40b82e;
    --text-primary: #2a3328;
    --text-secondary: #6f846c;
    --heading-color: #1d4517;
    --link-color: #268019;
    --body-bg: #ffffff;
    --content-bg: #f4fcf3;
    --card-bg: #ffffff;
    --border-color: #e8f4e7;
    --footer-bg: #1e3e19;
    --footer-color: #e2f0e0;
    --font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --hover-darken: brightness(0.85);
}


/**
 * Базовые стили - автоматически добавляются ко всем сайтам
 * Используют CSS переменные из color_schemes
 */

/* Общие стили body */
body {
    background: var(--body-bg, #ffffff);
    color: var(--text-primary, #1f2937);
    font-family: var(--font-family, Arial, sans-serif);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color, #111827);
    font-family: var(--heading-font, var(--font-family, Arial, sans-serif));
    font-weight: 700;
    line-height: 1.3;
}

/* Ссылки с автоматическим затемнением при hover */
a {
    color: var(--link-color, #2563eb);
    text-decoration: none;
    transition: filter 0.3s ease;
}

a:hover {
    filter: brightness(0.85);
}

/* Параграфы */
p {
    color: var(--text-primary, #1f2937);
    line-height: 1.7;
}

/* Footer text must inherit footer palette, not global paragraph color */
footer p,
footer a,
.wxr16 p,
.wxr16 a {
    color: inherit;
}

/* Списки: предсказуемый отступ и читаемость для AI-контента */
ul,
ol {
    margin: 0.85rem 0 1.1rem;
    padding-left: 1.35rem;
}

li {
    margin: 0.32rem 0;
    line-height: 1.65;
}

ul li::marker,
ol li::marker {
    color: var(--heading-color, #111827);
}

li > p {
    margin: 0;
}

/* Вторичный текст (small, meta, dates) */
small, .text-secondary {
    color: var(--text-secondary, #6b7280);
}

/* Границы */
hr {
    border: none;
    border-top: 1px solid var(--border-color, #e5e7eb);
    margin: 2rem 0;
}

/* Карточки */
.card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Универсальный hover для интерактивных элементов */
button, .btn, .nav-link, .listing-item, .ia3tvn {
    transition: filter 0.3s ease, transform 0.3s ease;
}

button:hover, .btn:hover {
    filter: brightness(0.9);
}

/* Отключаем синий outline, добавляем свой */
*:focus {
    outline: 2px solid var(--primary-color, #2563eb);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Selection */
::selection {
    background: var(--primary-color, #2563eb);
    color: white;
}


/* Байлайн статьи: автор, дата, время чтения */
.article-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.article-byline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}
.article-byline-meta { display: flex; flex-direction: column; line-height: 1.3; }
.article-byline-author { font-weight: 600; color: var(--heading-color, #111827); font-size: 0.95rem; }
.article-byline-sub { color: var(--text-secondary, #6b7280); font-size: 0.85rem; }


.qfvq5gq {
    background: var(--body-bg, #ffffff);
    color: var(--text-primary, #1f2937);
    min-height: 100vh;
}

.zhj5 {
    background: linear-gradient(135deg, rgba(15,23,42,0.55), rgba(15,23,42,0.75)), url('/images/pattern-tile.svg');
    background-size: cover, 240px;
    background-color: var(--heading-color, #123);
    color: #fff;
}

.bb3dxv {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.62rem 1.5rem;
}

.rfez {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.85;
}

.pawb {
    padding: 2.5rem 1.5rem 3.5rem;
}

.yiugt2qm {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
}

.yiugt2qm h1,
.yiugt2qm h2,
.yiugt2qm h3 {
    font-family: var(--heading-font, var(--font-family));
    color: var(--heading-color, #111);
}

@media (max-width: 768px) {
    .yiugt2qm {
        font-size: 1rem;
    }
}


.listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.listing-container .hspsb60 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #333);
    font-weight: 700;
}

.listing-container .mr6k7 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sbtej10t {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.listing-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.listing-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.ahk06g {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.ahk06g img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xikgw1m7 {
    padding: 1.5rem;
}

.ha663v6e {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.ha663v6e a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.ha663v6e a:hover {
    color: var(--primary-color, #2563eb);
}

.kv5ryj {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.yosa {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .sbtej10t {
        grid-template-columns: 1fr;
    }
    
    .listing-container .hspsb60 {
        font-size: 2rem;
    }
}

/* Listing Variants */
.e3t4o7 {
    margin-bottom: 1.5rem;
}

.mw473a2 {
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

/* Variant v1: Single column, wide cards */
.listing--v1 .sbtej10t {
    grid-template-columns: 1fr;
}

.listing--v1 .listing-item {
    border-left: 4px solid var(--primary-color, #2563eb);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.listing--v1 .listing-item--wide .xikgw1m7 {
    padding: 2rem;
}

.listing--v1 .ha663v6e {
    font-size: 1.6rem;
}

/* Variant v2: Two columns, clean cards */
.listing--v2 .sbtej10t {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing--v2 .listing-item {
    border: 1px solid var(--border-color, #e5e7eb);
}

/* Variant v3: Three columns, compact */
.listing--v3 .sbtej10t {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing--v3 .xikgw1m7 {
    padding: 1.1rem 1.25rem;
}

.listing--v3 .ha663v6e {
    font-size: 1.05rem;
}

.listing--v3 .kv5ryj {
    font-size: 0.95rem;
}

/* Variant v4: Featured + list */
.listing--v4 .osyoix48 {
    margin-bottom: 1.5rem;
}

.listing--v4 .agxyu {
    background: var(--content-bg, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
}

.listing--v4 .vrg5dv {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.listing--v4 .h1a5jm {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.listing--v4 .h1a5jm .ha663v6e {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Variant v5: Timeline */
.listing--v5 .hwomzs {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid var(--border-color, #e5e7eb);
}

.listing--v5 .evy1 {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
}

.listing--v5 .evy1::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
}

.listing--v5 .evy1:last-child {
    padding-bottom: 0;
}

/* Shared listing actions */
.eynlr2l {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
}

.mmok6 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Variant v6: Media rows */
.listing--v6 .f63ujoe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.listing--v6 .listing-item--row {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 1.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.listing--v6 .listing-item--row.listing-item--no-image {
    grid-template-columns: 1fr;
}

.listing--v6 .cb6f0 {
    min-height: 180px;
    background: #f3f4f6;
}

.listing--v6 .cb6f0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v6 .xikgw1m7 {
    padding: 1.5rem;
}

.listing--v6 .yosa {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Variant v7: Overlay cards */
.listing--v7 .v8s3kj {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.listing--v7 .listing-item--overlay {
    position: relative;
    min-height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.listing--v7 .atf79pp {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.05);
}

.listing--v7 .listing-item--no-image .atf79pp {
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.listing--v7 .d55b {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 55%, rgba(15, 23, 42, 0.95) 100%);
}

.listing--v7 .ha663v6e a,
.listing--v7 .ha663v6e a:hover {
    color: #fff;
}

.listing--v7 .kv5ryj {
    color: rgba(255, 255, 255, 0.85);
}

.listing--v7 .yosa {
    color: rgba(255, 255, 255, 0.75);
}

.listing--v7 .do5dwbdh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.listing--v7 .eynlr2l {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    color: #fff;
}

/* Variant v8: Ranked list */
.listing--v8 .zfu7p3z {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.listing--v8 .knky50 {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    background: #fff;
}

.listing--v8 .l1t5figh {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-color, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Variant v9: Alternating split */
.listing--v9 .c471whp {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.listing--v9 .listing-item--split {
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.listing--v9 .listing-item--split:nth-child(even) {
    flex-direction: row-reverse;
}

.listing--v9 .listing-item--split.listing-item--no-image {
    flex-direction: column;
}

.listing--v9 .dhs6awy {
    flex: 0 0 45%;
    min-height: 220px;
    background: #f3f4f6;
}

.listing--v9 .dhs6awy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v9 .xikgw1m7 {
    padding: 1.5rem;
}

@media (max-width: 960px) {
    .listing--v2 .sbtej10t,
    .listing--v3 .sbtej10t,
    .listing--v4 .vrg5dv,
    .listing--v7 .v8s3kj {
        grid-template-columns: 1fr;
    }

    .listing--v6 .listing-item--row {
        grid-template-columns: 1fr;
    }

    .listing--v9 .listing-item--split,
    .listing--v9 .listing-item--split:nth-child(even) {
        flex-direction: column;
    }

    .listing--v6 .cb6f0,
    .listing--v9 .dhs6awy {
        min-height: 200px;
    }
}



.iea1n {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.infopage-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.infopage-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.infopage-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.infopage-date {
    color: #999;
}

.infopage-category {
    background: var(--primary-color, #2563eb);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.infopage-author-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-left: 4px solid var(--primary-color, #2563eb);
    border-radius: 4px;
}

.infopage-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.infopage-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 600;
}

.infopage-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
}

.infopage-content p {
    margin-bottom: 1.25rem;
}

.infopage-content img,
.article-content img {
    max-width: 80%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.infopage-content ul,
.infopage-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.infopage-content li {
    margin-bottom: 0.5rem;
}

.infopage-seealso-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .infopage-title {
        font-size: 2rem;
    }
    
    .infopage-content {
        font-size: 1rem;
    }
}



/*
 * Скин статьи v3 — «строгий редакторский».
 * Надстройка над реальной обёрткой .article-content (модификатор .infopage-v3,
 * добавляет генератор). Не самостоятельный шаблон — infopage_v3.php в текущем
 * потоке не используется.
 */
.infopage-v3 {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 20px 2rem;
}

.infopage-v3 .article-content {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 2.5rem 2.25rem;
    font-size: 1.06rem;
    line-height: 1.78;
    color: var(--text-primary, #333);
}

.infopage-v3 .infopage-title {
    font-family: var(--heading-font, var(--font-family));
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    line-height: 1.18;
    color: var(--heading-color, #111);
    margin: 0 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
}

.infopage-v3 .article-content h2 {
    font-family: var(--heading-font, var(--font-family));
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.4rem;
    color: var(--heading-color, #222);
    border-bottom: 1px solid var(--border-color, #eee);
}

.infopage-v3 .article-content h2::before {
    content: "§ ";
    color: var(--primary-color, #2563eb);
    font-weight: 700;
}

.infopage-v3 .article-content h3 {
    font-family: var(--heading-font, var(--font-family));
    font-size: 1.22rem;
    margin: 1.9rem 0 0.7rem;
    color: var(--heading-color, #333);
}

.infopage-v3 .article-content p {
    margin: 0 0 1.2rem;
}

.infopage-v3 .article-content ul,
.infopage-v3 .article-content ol {
    margin: 1.35rem 0;
    padding-left: 1.4rem;
}

.infopage-v3 .article-content li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}

.infopage-v3 .article-content a {
    color: var(--link-color, var(--primary-color, #2563eb));
    text-underline-offset: 2px;
}

.infopage-v3 .article-content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    background: var(--content-bg, #f9fafb);
    border-radius: 6px;
    color: var(--text-secondary, #555);
}

@media (max-width: 768px) {
    .infopage-v3 .article-content { padding: 1.5rem 1.25rem; font-size: 1rem; }
}


.r06e {
    background: #f9fafb;
    border-left: 4px solid var(--primary-color, #2563eb);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.y6m7p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.r06e .ttpe,
.infopage-content .r06e .ttpe,
.article-content .r06e .ttpe {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    flex: 0 0 100px;
    display: block;
    margin: 0;
}

.r06e .jka9,
.infopage-content .r06e .jka9,
.article-content .r06e .jka9 {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px;
    color: white;
    font-size: 1.8rem;
}

.rjc9k {
    font-style: normal;
}

.mveh {
    margin: 0;
    font-size: clamp(1.6rem, 2.9vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.author-info {
    flex: 1;
}

@media (max-width: 768px) {
    .y6m7p {
        align-items: flex-start;
    }

    .mveh {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
        line-height: 1.2;
    }
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}



.nc2k {
    background: var(--body-bg, #ffffff);
    padding: 0.9rem 0 1.25rem;
}

.nc2k .k8xoz72r {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.38rem;
}

.nc2k .pkl8 .iuk8jz {
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color, #1f2937);
    text-decoration: none;
}

.nc2k .s28o0y .udlf402 {
    justify-content: flex-end;
    gap: 1.43rem;
}

.nc2k .s28o0y .nav-link {
    color: var(--text-secondary, #6b7280);
}

.nc2k .s28o0y .nav-link:hover {
    color: var(--primary-color, #333);
}

.nc2k .tcaq7gc6 {
    margin: 0.85rem auto 0;
    width: calc(100% - 40px);
    max-width: 1200px;
    display: grid;
    gap: 0.9rem;
}

.nc2k .etgz22 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    display: block;
}

.nc2k .etgz22 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nc2k .v9igm88e {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 70%);
}

.o7eswfsi .tcaq7gc6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.o7eswfsi .etgz22 {
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

@media (max-width: 960px) {
    .o7eswfsi .tcaq7gc6 {
        grid-template-columns: 1fr;
    }

    .o7eswfsi .etgz22 {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .nc2k .k8xoz72r {
        flex-direction: column;
        align-items: stretch;
    }

    .nc2k .s28o0y {
        width: 100%;
    }

    .nc2k .s28o0y .udlf402 {
        justify-content: flex-start;
        gap: 0;
    }
}


.vql7ws9b {
    padding: 0.14rem 0;
}

.dc2wkh {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Скрываем чекбокс */
.zvg2vt {
    display: none;
}

/* Бургер кнопка (скрыта на десктопе) */
.gy3d {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.gy3d span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Анимация бургера при открытии */
.zvg2vt:checked + .gy3d span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.zvg2vt:checked + .gy3d span:nth-child(2) {
    opacity: 0;
}

.zvg2vt:checked + .gy3d span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.udlf402 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.83rem;
    align-items: center;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary, #333);
    font-weight: 419.86;
    padding: 0.64rem 1.1rem;
    display: block;
    font-size: 0.93rem;
}

/* Hover обрабатывается базовыми стилями (filter: brightness(0.85)) */

/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .vql7ws9b {
        padding: 0.6rem 0;
    }

    .dc2wkh {
        padding: 0 0.75rem;
    }
    
    /* Показываем бургер */
    .gy3d {
        display: flex;
        top: 0.1rem;
        right: 0.75rem;
        transform: none;
        background: var(--body-bg, #fff);
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 8px;
        padding: 0.4rem;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }
    
    /* Прячем меню по умолчанию */
    .udlf402 {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 12px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
        max-height: 0;
        overflow: hidden;
        overflow-y: auto;
        transition: max-height 0.3s ease;
        z-index: 1300;
    }

    .layout-v2 .udlf402 {
        top: calc(100% + 3.45rem);
    }
    
    /* Показываем меню при активном чекбоксе */
    .zvg2vt:checked ~ .udlf402 {
        max-height: min(72vh, 560px);
    }
    
    .nav-item {
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 0.95rem 1.2rem;
        font-size: 1rem;
    }
    
    .nav-link:hover {
        background: var(--content-bg, #f9fafb);
    }
}

/* Планшеты */
@media (max-width: 992px) and (min-width: 769px) {
    .udlf402 {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}


.wxr16 {
    background: var(--footer-bg, #222);
    color: var(--footer-color, #ccc);
    padding: 2.18rem 0;
    margin-top: 2.87rem;
    border-top: 4.13px solid var(--primary-color, #333);
}

.kjti {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24.13px;
}

.neuv20 {
    text-align: center;
    font-family: var(--font-family, Arial, sans-serif);
}

.neuv20 p {
    margin: 0.65rem 0;
    font-size: 0.87rem;
    color: inherit;
}

.usft3 {
    color: inherit;
    opacity: 0.79;
}

.neuv20 a {
    color: inherit;
}

