@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/Spectral-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:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/Spectral-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:'Work Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/WorkSans-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:'Work Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/WorkSans-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:'Work Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/WorkSans-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:'Work Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/WorkSans-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: #b15624;
    --secondary-color: #3a98cb;
    --text-primary: #362f2b;
    --text-secondary: #80756f;
    --heading-color: #582f18;
    --link-color: #b15624;
    --body-bg: #ffffff;
    --content-bg: #fbf3ef;
    --card-bg: #ffffff;
    --border-color: #f2e8e3;
    --footer-bg: #512d1a;
    --footer-color: #e7eff3;
    --font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --heading-font: 'Spectral', 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,
.j099sonr p,
.j099sonr 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, .hladyb4t {
    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 .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; }


/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Переменные генерируются автоматически в builder.php */

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary, #333);
    background: var(--body-bg, #fff);
}

.ys1owbk {
    min-height: 60vh;
    padding: 2rem 0;
}

.sk1hc2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sk1hc2 h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.sk1hc2 h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--heading-color, #444);
    font-weight: 600;
}

.sk1hc2 p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-primary, #555);
}

.sk1hc2 ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.sk1hc2 li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .sk1hc2 h1 {
        font-size: 2rem;
    }
    
    .sk1hc2 p {
        font-size: 1rem;
    }
}

/* Blog Homepage Styles */
.blog-welcome {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

.blog-welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #2563eb);
}

.blog-welcome p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Article Styles */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.article-meta {
    font-size: 0.9rem;
    color: #999;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .blog-welcome h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
}

/* About Page Styles */
.about-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

/* Contact Page Styles */
.contact-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    padding: 1.5rem;
    background: var(--content-bg, #f9fafb);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #222;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-item a {
    color: var(--primary-color, #2563eb);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}



.listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.listing-container .ft8e26q {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #333);
    font-weight: 700;
}

.listing-container .b3daclvs {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.q30qz02 {
    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);
}

.cb4eu {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.cb4eu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swaqrjtv {
    padding: 1.5rem;
}

.gjo3nof {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.gjo3nof a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.gjo3nof a:hover {
    color: var(--primary-color, #2563eb);
}

.vrqqcw {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.jr1ua4 {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .q30qz02 {
        grid-template-columns: 1fr;
    }
    
    .listing-container .ft8e26q {
        font-size: 2rem;
    }
}

/* Listing Variants */
.mubhm {
    margin-bottom: 1.5rem;
}

.tsgm0a {
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

/* Variant v1: Single column, wide cards */
.listing--v1 .q30qz02 {
    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 .swaqrjtv {
    padding: 2rem;
}

.listing--v1 .gjo3nof {
    font-size: 1.6rem;
}

/* Variant v2: Two columns, clean cards */
.listing--v2 .q30qz02 {
    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 .q30qz02 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing--v3 .swaqrjtv {
    padding: 1.1rem 1.25rem;
}

.listing--v3 .gjo3nof {
    font-size: 1.05rem;
}

.listing--v3 .vrqqcw {
    font-size: 0.95rem;
}

/* Variant v4: Featured + list */
.listing--v4 .hnl46 {
    margin-bottom: 1.5rem;
}

.listing--v4 .h045 {
    background: var(--content-bg, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
}

.listing--v4 .bx1nn1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.listing--v4 .gjvadx {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.listing--v4 .gjvadx .gjo3nof {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Variant v5: Timeline */
.listing--v5 .ldmc6 {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid var(--border-color, #e5e7eb);
}

.listing--v5 .r16rx2 {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
}

.listing--v5 .r16rx2::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
}

.listing--v5 .r16rx2:last-child {
    padding-bottom: 0;
}

/* Shared listing actions */
.wad57o5 {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
}

.vp9vrkc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Variant v6: Media rows */
.listing--v6 .anpknt9c {
    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 .e454y7 {
    min-height: 180px;
    background: #f3f4f6;
}

.listing--v6 .e454y7 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v6 .swaqrjtv {
    padding: 1.5rem;
}

.listing--v6 .jr1ua4 {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Variant v7: Overlay cards */
.listing--v7 .vp0udkh {
    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 .qw85v3x {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.05);
}

.listing--v7 .listing-item--no-image .qw85v3x {
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.listing--v7 .oxpwl {
    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 .gjo3nof a,
.listing--v7 .gjo3nof a:hover {
    color: #fff;
}

.listing--v7 .vrqqcw {
    color: rgba(255, 255, 255, 0.85);
}

.listing--v7 .jr1ua4 {
    color: rgba(255, 255, 255, 0.75);
}

.listing--v7 .w6y2dm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.listing--v7 .wad57o5 {
    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 .tzirjvjk {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.listing--v8 .mus89 {
    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 .kvl8uwn {
    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 .l3y7af1u {
    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 .a3dav {
    flex: 0 0 45%;
    min-height: 220px;
    background: #f3f4f6;
}

.listing--v9 .a3dav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v9 .swaqrjtv {
    padding: 1.5rem;
}

@media (max-width: 960px) {
    .listing--v2 .q30qz02,
    .listing--v3 .q30qz02,
    .listing--v4 .bx1nn1,
    .listing--v7 .vp0udkh {
        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 .e454y7,
    .listing--v9 .a3dav {
        min-height: 200px;
    }
}



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


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

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

.rpa6ji .qs6qnb,
.infopage-content .rpa6ji .qs6qnb,
.article-content .rpa6ji .qs6qnb {
    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;
}

.e0381w {
    font-style: normal;
}

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

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


.vcq3w3qb {
    background: var(--body-bg, #ffffff);
    padding: 0.88rem 0 1.25rem;
}

.vcq3w3qb .gyw8b {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.56rem;
}

.vcq3w3qb .cq3thy7y .kgq4oe {
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color, #1f2937);
    text-decoration: none;
}

.vcq3w3qb .h2fbtwy0 .uq50nn {
    justify-content: flex-end;
    gap: 1.29rem;
}

.vcq3w3qb .h2fbtwy0 .nav-link {
    color: var(--text-secondary, #6b7280);
}

.vcq3w3qb .h2fbtwy0 .nav-link:hover {
    color: var(--primary-color, #333);
}

.vcq3w3qb .oi70u2n {
    margin: 0.85rem auto 0;
    width: calc(100% - 40px);
    max-width: 1200px;
    display: grid;
    gap: 0.9rem;
}

.vcq3w3qb .d4ac79 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    display: block;
}

.vcq3w3qb .d4ac79 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vcq3w3qb .cj0nt5 {
    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%);
}

.oq1gpu2 .oi70u2n {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oq1gpu2 .d4ac79 {
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

@media (max-width: 960px) {
    .oq1gpu2 .oi70u2n {
        grid-template-columns: 1fr;
    }

    .oq1gpu2 .d4ac79 {
        aspect-ratio: 16 / 9;
    }
}

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

    .vcq3w3qb .h2fbtwy0 {
        width: 100%;
    }

    .vcq3w3qb .h2fbtwy0 .uq50nn {
        justify-content: flex-start;
        gap: 0;
    }
}


.wwuduj1 {
    width: 100%;
    padding: 0.83rem 0 0.6rem;
}

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

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

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

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

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

.onpg {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 2.48rem 0.71rem 0.9rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 999px;
    background: var(--content-bg, #f9fafb);
    color: var(--text-secondary, #6b7280);
    font-size: 0.91rem;
    font-family: var(--font-family, Arial, sans-serif);
    pointer-events: none;
}

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

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

.pcyxjfb {
    display: none;
}

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

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

.r9zg2p > .pcyxjfb:checked + .wyha .e7wae37 span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.r9zg2p > .pcyxjfb:checked + .wyha .e7wae37 span:nth-child(2) {
    opacity: 0;
}

.r9zg2p > .pcyxjfb:checked + .wyha .e7wae37 span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.aygitz6 {
    padding-top: 0.69rem;
}

.wwuduj1 .q0ji4h {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.41rem;
    align-items: center;
}

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

.wwuduj1 .nav-link {
    text-decoration: none;
    color: var(--text-primary, #333);
    font-weight: 542.67;
    padding: 0.54rem 0.96rem;
    display: block;
    font-size: 0.95rem;
}

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

.k7jx:has(.wwuduj1) .wpr6h,
.k7jx:has(.wwuduj1) .header-container--card,
.k7jx:has(.wwuduj1) .gyw8b {
    display: block;
    width: 100%;
}

.k7jx:has(.wwuduj1) .un50ppe,
.k7jx:has(.wwuduj1) .main-nav--card,
.k7jx:has(.wwuduj1) .h2fbtwy0 {
    width: 100%;
}

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

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

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

    .r9zg2p {
        padding: 0 0.75rem;
    }

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

    .hoz2 {
        display: none;
    }

    .wyha .e7wae37 {
        display: flex;
    }

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

    .aygitz6 {
        position: relative;
    }

    .r9zg2p > .pcyxjfb:checked ~ .aygitz6 .q0ji4h {
        max-height: min(72vh, 560px);
    }

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

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

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

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

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


.evmvp3o { background: var(--body-bg, #fff); border-top: 2px solid var(--border-color, #e5e7eb); margin-top: 3rem; }
.ljvq { max-width: 720px; margin: 0 auto; padding: 1.93rem 1.5rem; text-align: center; }
.ee87 {
    font-family: var(--heading-font, var(--font-family));
    font-size: 1.2rem; font-weight: 700; color: var(--heading-color, #111); margin-bottom: 0.4rem;
}
.qcm85s { color: var(--text-secondary, #666); font-size: 0.9rem; margin: 0; }
