@font-face{font-family:'Merriweather';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/Merriweather-700-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:'Merriweather';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/Merriweather-700-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:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/OpenSans-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:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/OpenSans-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:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/OpenSans-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:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/OpenSans-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: #cc2f24;
    --secondary-color: #d1473d;
    --text-primary: #362b2b;
    --text-secondary: #796463;
    --heading-color: #4a1a17;
    --link-color: #cc2f24;
    --body-bg: #ffffff;
    --content-bg: #fcf8f7;
    --card-bg: #ffffff;
    --border-color: #efd8d7;
    --footer-bg: #4f1b17;
    --footer-color: #f5dddb;
    --font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --heading-font: 'Merriweather', 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,
.t2lqepg p,
.t2lqepg 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, .p9vi {
    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, .ueyi, .nav-link, .listing-item, .z7mr8 {
    transition: filter 0.3s ease, transform 0.3s ease;
}

button:hover, .ueyi: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 .article-byline-avatar {
    /* Специфичность выше, чем у `.article-content img` (max-height:350px; margin:auto)
       из infopage_v1.css — иначе аватар растягивало во всю ширину статьи. */
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    min-width: 36px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    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; }


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

.sd136 {
    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;
}

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

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

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

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

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

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


.listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.listing-container .jblf {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #333);
    font-weight: 700;
}

.listing-container .vjjwryn {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.e2g6cu8z {
    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);
}

.p5y4 {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.p5y4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.i97v {
    padding: 1.5rem;
}

.my2vefd {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.my2vefd a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.my2vefd a:hover {
    color: var(--primary-color, #2563eb);
}

.j2osj {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.jg5m {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .e2g6cu8z {
        grid-template-columns: 1fr;
    }
    
    .listing-container .jblf {
        font-size: 2rem;
    }
}

/* Listing Variants */
.bgbkw1 {
    margin-bottom: 1.5rem;
}

.y1bwq {
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

/* Variant v1: Single column, wide cards */
.listing--v1 .e2g6cu8z {
    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 .i97v {
    padding: 2rem;
}

.listing--v1 .my2vefd {
    font-size: 1.6rem;
}

/* Variant v2: Two columns, clean cards */
.listing--v2 .e2g6cu8z {
    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 .e2g6cu8z {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing--v3 .i97v {
    padding: 1.1rem 1.25rem;
}

.listing--v3 .my2vefd {
    font-size: 1.05rem;
}

.listing--v3 .j2osj {
    font-size: 0.95rem;
}

/* Variant v4: Featured + list */
.listing--v4 .rrriz9z2 {
    margin-bottom: 1.5rem;
}

.listing--v4 .k4zgyi {
    background: var(--content-bg, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
}

.listing--v4 .gv5b {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.listing--v4 .gx4cvn2 {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.listing--v4 .gx4cvn2 .my2vefd {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Variant v5: Timeline */
.listing--v5 .uogn {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid var(--border-color, #e5e7eb);
}

.listing--v5 .g9m665 {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
}

.listing--v5 .g9m665::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
}

.listing--v5 .g9m665:last-child {
    padding-bottom: 0;
}

/* Shared listing actions */
.dw9j {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
}

.fi0q9sj {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Variant v6: Media rows */
.listing--v6 .jr8fby7e {
    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 .ie2t40 {
    min-height: 180px;
    background: #f3f4f6;
}

.listing--v6 .ie2t40 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v6 .i97v {
    padding: 1.5rem;
}

.listing--v6 .jg5m {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Variant v7: Overlay cards */
.listing--v7 .axvl {
    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 .x3c8y {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.05);
}

.listing--v7 .listing-item--no-image .x3c8y {
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.listing--v7 .r2268d {
    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 .my2vefd a,
.listing--v7 .my2vefd a:hover {
    color: #fff;
}

.listing--v7 .j2osj {
    color: rgba(255, 255, 255, 0.85);
}

.listing--v7 .jg5m {
    color: rgba(255, 255, 255, 0.75);
}

.listing--v7 .lpzq9ff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.listing--v7 .dw9j {
    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 .h7qv21p {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.listing--v8 .j2y3 {
    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 .b3k83t {
    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 .rtpon {
    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 .n7ksxdv {
    flex: 0 0 45%;
    min-height: 220px;
    background: #f3f4f6;
}

.listing--v9 .n7ksxdv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v9 .i97v {
    padding: 1.5rem;
}

@media (max-width: 960px) {
    .listing--v2 .e2g6cu8z,
    .listing--v3 .e2g6cu8z,
    .listing--v4 .gv5b,
    .listing--v7 .axvl {
        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 .ie2t40,
    .listing--v9 .n7ksxdv {
        min-height: 200px;
    }
}



.iei2qv8 {
    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;
    }
}



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

.jui9aji .ybpstut,
.infopage-content .jui9aji .ybpstut,
.article-content .jui9aji .ybpstut {
    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;
}

.jui9aji .o9upphwt,
.infopage-content .jui9aji .o9upphwt,
.article-content .jui9aji .o9upphwt {
    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;
}

.wxkbpr {
    font-style: normal;
}

.pnt2zsbb {
    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) {
    .gwtnyn7 {
        align-items: flex-start;
    }

    .pnt2zsbb {
        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;
}



.oiuz3 {
    background: var(--body-bg, #ffffff);
    padding: 0.95rem 0 1.25rem;
}

.oiuz3 .sc022 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.32rem;
}

.oiuz3 .ogoix9b9 .ihkdba0 {
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 1.63rem;
    font-weight: 700;
    color: var(--heading-color, #1f2937);
    text-decoration: none;
}

.oiuz3 .fk32mr .b360v8 {
    justify-content: flex-end;
    gap: 1.19rem;
}

.oiuz3 .fk32mr .nav-link {
    color: var(--text-secondary, #6b7280);
}

.oiuz3 .fk32mr .nav-link:hover {
    color: var(--primary-color, #333);
}

.oiuz3 .k3fh {
    margin: 0.85rem auto 0;
    width: calc(100% - 40px);
    max-width: 1200px;
    display: grid;
    gap: 0.9rem;
}

.oiuz3 .sbij1ci {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    display: block;
}

.oiuz3 .sbij1ci img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oiuz3 .wle64a {
    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%);
}

.njo6 .k3fh {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: clamp(240px, 34vh, 360px);
    max-height: 360px;
}

.njo6 .sbij1ci {
    height: 100%;
}

.njo6 .sbij1ci:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.njo6 .sbij1ci:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.njo6 .sbij1ci:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.njo6 .sbij1ci:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.njo6 .sbij1ci:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

@media (max-width: 960px) {
    .njo6 .k3fh {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        max-height: none;
    }

    .njo6 .sbij1ci {
        aspect-ratio: 16 / 9;
    }

    .njo6 .sbij1ci:nth-child(1),
    .njo6 .sbij1ci:nth-child(2),
    .njo6 .sbij1ci:nth-child(3),
    .njo6 .sbij1ci:nth-child(4),
    .njo6 .sbij1ci:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }
}

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

    .oiuz3 .fk32mr {
        width: 100%;
    }

    .oiuz3 .fk32mr .b360v8 {
        justify-content: flex-start;
        gap: 0;
    }
}


.v1122 {
    width: 100%;
    padding: 0.57rem 0 0.5rem;
}

.kjuli {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.fgrqn {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.tuntr1ie {
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 1.46rem;
    font-weight: 678.36;
    color: var(--heading-color, #1f2937);
    text-decoration: none;
    letter-spacing: RAND(-0.02em, 0.01em);
    white-space: nowrap;
}

.lp0v {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.ggzt3p {
    position: relative;
    width: min(100%, 420px);
}

.a5gd {
    width: 100%;
    box-sizing: border-box;
    padding: 0.64rem 2.54rem 0.59rem 0.92rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 999px;
    background: var(--content-bg, #f9fafb);
    color: var(--text-secondary, #6b7280);
    font-size: 0.95rem;
    font-family: var(--font-family, Arial, sans-serif);
    pointer-events: none;
}

.n4sl37f8 {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary, #6b7280);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.qtu3ud72 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: max-content;
}

.n4nm {
    display: none;
}

.tql5so2 {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.45rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    background: var(--body-bg, #fff);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.tql5so2 span {
    width: 22px;
    height: 3px;
    background: var(--heading-color, #1f2937);
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.kjuli > .n4nm:checked + .fgrqn .tql5so2 span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.kjuli > .n4nm:checked + .fgrqn .tql5so2 span:nth-child(2) {
    opacity: 0;
}

.kjuli > .n4nm:checked + .fgrqn .tql5so2 span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.kz304s {
    padding-top: 0.57rem;
}

.v1122 .imb1fs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.v1122 .nav-item {
    display: inline-block;
}

.v1122 .nav-link {
    text-decoration: none;
    color: var(--text-primary, #333);
    font-weight: 473;
    padding: 0.41rem 1.07rem;
    display: block;
    font-size: 0.92rem;
}

/* С navigation_v2 лого уже внутри навигации — прячем дубликат в header */
.aiy327ia:has(.v1122) .in6lmu > .h90oh3,
.aiy327ia:has(.v1122) .in6lmu .logo--card,
.aiy327ia:has(.v1122) .in6lmu .ogoix9b9 {
    display: none;
}

.aiy327ia:has(.v1122) .in6lmu,
.aiy327ia:has(.v1122) .header-container--card,
.aiy327ia:has(.v1122) .sc022 {
    display: block;
    width: 100%;
}

.aiy327ia:has(.v1122) .dofstw7r,
.aiy327ia:has(.v1122) .main-nav--card,
.aiy327ia:has(.v1122) .fk32mr {
    width: 100%;
}

@media (max-width: 992px) and (min-width: 769px) {
    .v1122 .imb1fs {
        gap: 1rem;
    }

    .v1122 .nav-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .v1122 {
        padding: 0.55rem 0 0.35rem;
    }

    .kjuli {
        padding: 0 0.75rem;
    }

    .fgrqn {
        grid-template-columns: 1fr auto auto;
        gap: 0.65rem;
        padding-bottom: 0.55rem;
    }

    .lp0v {
        display: none;
    }

    .fgrqn .tql5so2 {
        display: flex;
    }

    .kz304s .imb1fs {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        background: var(--body-bg, #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;
    }

    .kz304s {
        position: relative;
    }

    .kjuli > .n4nm:checked ~ .kz304s .imb1fs {
        max-height: min(72vh, 560px);
    }

    .layout-v2 .kz304s .imb1fs {
        top: calc(100% + 0.45rem);
    }

    .v1122 .nav-item {
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    .v1122 .nav-item:last-child {
        border-bottom: none;
    }

    .v1122 .nav-link {
        padding: 0.95rem 1.2rem;
        font-size: 1rem;
    }

    .v1122 .nav-link:hover {
        background: var(--content-bg, #f9fafb);
    }
}


.stzdc {
    background: var(--footer-bg, #222);
    color: var(--footer-color, #ccc);
    margin-top: 2.86rem;
    padding: 0;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.stzdc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.28px;
    background: linear-gradient(
        90deg,
        var(--primary-color, #333) 0%,
        color-mix(in srgb, var(--primary-color, #333) 55%, transparent) 100%
    );
}

.jz5zojh {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.01rem 25.14px 1.39rem;
}

.rs76y {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.82rem;
    padding-bottom: 1.17rem;
    border-bottom: 1px solid color-mix(in srgb, var(--footer-color, #ccc) 22%, transparent);
}

.zruvmc {
    flex: 0 1 auto;
    min-width: 0;
}

.cinv {
    display: block;
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 1.45rem;
    font-weight: 686.39;
    letter-spacing: RAND(-0.02em, 0.02em);
    color: inherit;
    line-height: 1.25;
}

.jzudoa {
    flex: 1 1 50%;
    max-width: 520px;
    text-align: right;
}

.bjj0 {
    margin: 0;
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 0.95rem;
    line-height: 1.55;
    color: inherit;
    opacity: 0.81;
}

.s72hu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.06rem;
}

.tio44 {
    margin: 0;
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.72;
    letter-spacing: 0.02em;
}

.stzdc a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .jz5zojh {
        padding: 1.5rem 1rem 1.15rem;
    }

    .rs76y {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-bottom: 0.85rem;
    }

    .jzudoa {
        max-width: none;
        text-align: left;
    }

    .s72hu {
        padding-top: 0.75rem;
    }

    .tio44 {
        font-size: 0.82rem;
    }
}
