:root {
    --primary-color: #f43f5e;
    --secondary-color: #fb7185;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --heading-color: #9f1239;
    --link-color: #f43f5e;
    --body-bg: #ffffff;
    --content-bg: #fff1f2;
    --card-bg: #ffffff;
    --border-color: #ffe4e6;
    --footer-bg: #9f1239;
    --footer-color: #ffe4e6;
    --font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-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-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,
.dt4vte p,
.dt4vte 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;
}

/* Карточки */
.nok6 {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Универсальный hover для интерактивных элементов */
button, .fhwmyxhm, .nav-link, .listing-item, .ia8rc {
    transition: filter 0.3s ease, transform 0.3s ease;
}

button:hover, .fhwmyxhm: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;
}



/* 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);
}

.l1c0b {
    min-height: 60vh;
    padding: 2rem 0;
}

.shpf {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.shpf h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.shpf h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--heading-color, #444);
    font-weight: 600;
}

.shpf p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-primary, #555);
}

.shpf ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.shpf li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .shpf h1 {
        font-size: 2rem;
    }
    
    .shpf 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 .n969 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #333);
    font-weight: 700;
}

.listing-container .ihbs268 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pehrja56 {
    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);
}

.anwza {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.anwza img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sjbgozrp {
    padding: 1.5rem;
}

.wqplxjl {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.wqplxjl a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.wqplxjl a:hover {
    color: var(--primary-color, #2563eb);
}

.e975ym {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rwpft4 {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .pehrja56 {
        grid-template-columns: 1fr;
    }
    
    .listing-container .n969 {
        font-size: 2rem;
    }
}

/* Listing Variants */
.z6szm1yz {
    margin-bottom: 1.5rem;
}

.ljl9 {
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

/* Variant v1: Single column, wide cards */
.listing--v1 .pehrja56 {
    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 .sjbgozrp {
    padding: 2rem;
}

.listing--v1 .wqplxjl {
    font-size: 1.6rem;
}

/* Variant v2: Two columns, clean cards */
.listing--v2 .pehrja56 {
    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 .pehrja56 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing--v3 .sjbgozrp {
    padding: 1.1rem 1.25rem;
}

.listing--v3 .wqplxjl {
    font-size: 1.05rem;
}

.listing--v3 .e975ym {
    font-size: 0.95rem;
}

/* Variant v4: Featured + list */
.listing--v4 .oqjzmf {
    margin-bottom: 1.5rem;
}

.listing--v4 .fmlf6g {
    background: var(--content-bg, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
}

.listing--v4 .ap7u {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.listing--v4 .xyyul8m5 {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.listing--v4 .xyyul8m5 .wqplxjl {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Variant v5: Timeline */
.listing--v5 .lrs5nei {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid var(--border-color, #e5e7eb);
}

.listing--v5 .f2kzlhi {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
}

.listing--v5 .f2kzlhi::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
}

.listing--v5 .f2kzlhi:last-child {
    padding-bottom: 0;
}

/* Shared listing actions */
.jzexm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
}

.hfihsol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Variant v6: Media rows */
.listing--v6 .i6r8b {
    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 .j4fjdp7u {
    min-height: 180px;
    background: #f3f4f6;
}

.listing--v6 .j4fjdp7u img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v6 .sjbgozrp {
    padding: 1.5rem;
}

.listing--v6 .rwpft4 {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Variant v7: Overlay cards */
.listing--v7 .wdyx8 {
    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 .hczihc8 {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.05);
}

.listing--v7 .listing-item--no-image .hczihc8 {
    background-image: linear-gradient(135deg, #111827, #1f2937);
}

.listing--v7 .fd05 {
    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 .wqplxjl a,
.listing--v7 .wqplxjl a:hover {
    color: #fff;
}

.listing--v7 .e975ym {
    color: rgba(255, 255, 255, 0.85);
}

.listing--v7 .rwpft4 {
    color: rgba(255, 255, 255, 0.75);
}

.listing--v7 .b4av69b4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.listing--v7 .jzexm {
    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 .t43bd8 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.listing--v8 .jcbpw {
    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 .o2y2bzo8 {
    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 .gn1148q {
    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 .pcye6s4m {
    flex: 0 0 45%;
    min-height: 220px;
    background: #f3f4f6;
}

.listing--v9 .pcye6s4m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing--v9 .sjbgozrp {
    padding: 1.5rem;
}

@media (max-width: 960px) {
    .listing--v2 .pehrja56,
    .listing--v3 .pehrja56,
    .listing--v4 .ap7u,
    .listing--v7 .wdyx8 {
        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 .j4fjdp7u,
    .listing--v9 .pcye6s4m {
        min-height: 200px;
    }
}



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


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

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

.qadf .y9mhxy7,
.infopage-content .qadf .y9mhxy7,
.article-content .qadf .y9mhxy7 {
    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;
}

.ryho {
    font-style: normal;
}

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

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


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

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

    .wi8hq .x5htijq {
        width: 100%;
    }

    .wi8hq .x5htijq .r9txf0u {
        justify-content: flex-start;
        gap: 0;
    }
}


.hluptdt {
    width: 100%;
    padding: 0.85rem 0 0.48rem;
}

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

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

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

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

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

.km3ods {
    width: 100%;
    box-sizing: border-box;
    padding: 0.63rem 2.46rem 0.65rem 1.09rem;
    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;
}

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

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

.dl0lctgb {
    display: none;
}

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

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

.p8lf2hh0 > .dl0lctgb:checked + .sk81f .a8w0j span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.p8lf2hh0 > .dl0lctgb:checked + .sk81f .a8w0j span:nth-child(2) {
    opacity: 0;
}

.p8lf2hh0 > .dl0lctgb:checked + .sk81f .a8w0j span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.kvkc1d {
    padding-top: 0.56rem;
}

.hluptdt .rz5x {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.26rem;
    align-items: center;
}

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

.hluptdt .nav-link {
    text-decoration: none;
    color: var(--text-primary, #333);
    font-weight: 586.61;
    padding: 0.54rem 0.75rem;
    display: block;
    font-size: 0.93rem;
}

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

.hj1zu:has(.hluptdt) .ie51crd,
.hj1zu:has(.hluptdt) .header-container--card,
.hj1zu:has(.hluptdt) .vbs6o {
    display: block;
    width: 100%;
}

.hj1zu:has(.hluptdt) .lz3i,
.hj1zu:has(.hluptdt) .main-nav--card,
.hj1zu:has(.hluptdt) .x5htijq {
    width: 100%;
}

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

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

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

    .p8lf2hh0 {
        padding: 0 0.75rem;
    }

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

    .u8hqy {
        display: none;
    }

    .sk81f .a8w0j {
        display: flex;
    }

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

    .kvkc1d {
        position: relative;
    }

    .p8lf2hh0 > .dl0lctgb:checked ~ .kvkc1d .rz5x {
        max-height: min(72vh, 560px);
    }

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

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

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

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

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


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

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

.i2qzc3z {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.31rem 21.03px 1.64rem;
}

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

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

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

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

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

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

.sa4p32 {
    margin: 0;
    font-family: var(--font-family, Arial, sans-serif);
    font-size: 0.89rem;
    color: inherit;
    opacity: 0.77;
    letter-spacing: 0.01em;
}

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

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

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

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

    .zgzgi {
        padding-top: 0.75rem;
    }

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