.btn {  padding: 8px 16px !important; }


@media (max-width: 768px) {
    .burger-icon {
              right: 25px;
      top: 15px;}}

body {font-family:'-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';}


.sovet-article-card {
    height: 100%;
}

.sovet-article-card-inner {
    position: relative;
    height: 100%;
    padding: 18px 18px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.sovet-article-card-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    border-color: rgba(37, 99, 235, 0.45);
}

/* Плашка темы */
.article-topic-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    color: #1d4ed8;
    background: rgba(191, 219, 254, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
}

/* Заголовок */
.article-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #111827;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
}

.article-card-title a:hover {
    text-decoration: underline;
}

/* Описание */
.article-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0 0 10px 0;
}

/* Мета */
.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.article-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-card-meta i {
    font-size: 14px;
    color: #9ca3af;
}

/* Подвал */
.article-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2563eb;
    font-weight: 500;
}

.read-more i {
    font-size: 14px;
}

/* Линк поверх */
.card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}


.sovet-articles-header {
    background: #f3f3f2;
    padding: 40px 0 28px;
    border-bottom: 1px solid #e2e2e0;
}

.sovet-articles-header h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2933;
}

.sovet-articles-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.sovet-articles-list {
    padding: 32px 0 32px;
    background: #f9fafb;
}

/* Пустое состояние */
.articles-empty-state {
    background: #f7f9fb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px dashed #d0d9e6;
}

.articles-empty-state .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e4efff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.articles-empty-state .icon-circle i {
    font-size: 24px;
    color: #2563eb;
}

.articles-empty-state h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #243447;
}

.articles-empty-state p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.sovet-topic-header {
    background: radial-gradient(circle at top right, rgba(196, 181, 253, 0.35), transparent 55%), #f3f3f2;
    padding: 36px 0 28px;
    border-bottom: 1px solid #e0e4ea;
}

/* Хлебные крошки */
.topic-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 14px;
}

.crumb-link {
    color: #4f46e5;
    text-decoration: none;
}

.crumb-link:hover {
    text-decoration: underline;
}

.crumb-separator {
    color: #b0b0b0;
}

.crumb-current {
    color: #555;
}

/* Хедер темы */
.topic-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(129, 140, 248, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.topic-header-icon i {
    font-size: 24px;
    color: #4f46e5;
}

.topic-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2933;
}

.topic-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.topic-description p:last-child {
    margin-bottom: 0;
}

/* Мета */
.topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    font-size: 13px;
    color: #6b7280;
}

.topic-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-meta .meta-item i {
    font-size: 16px;
    color: #4f46e5;
}

/* Подтемы */
.topic-subtopics {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.topic-subtopics h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.subtopics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subtopic-pill {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #eef2ff;
    color: #4f46e5;
    text-decoration: none;
}

.subtopic-pill:hover {
    background: #e0e7ff;
}

/* Пустое состояние */
.topic-empty-state {
    background: #f7f9fb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px dashed #d0d9e6;
}

.topic-empty-state .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e4efff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.topic-empty-state .icon-circle i {
    font-size: 24px;
    color: #4f46e5;
}

.topic-empty-state h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #243447;
}

.topic-empty-state p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Адаптив */
@media (max-width: 991px) {
    .sovet-topic-header {
        padding: 26px 0 22px;
    }
}



.section-sovet-topics {
    padding: 60px 0 40px;
    background: #f5f5f4;
}

.topics-header {
    margin-bottom: 28px;
}

.topics-header h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2933;
}

.topics-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Карточка темы */
.topic-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.topic-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topic-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
        rgba(196, 181, 253, 0.35),
        transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.topic-card-body {
    position: relative;
    z-index: 1;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(129, 140, 248, 0.7);
}

/* Верх */
.topic-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.topic-icon i {
    font-size: 20px;
    color: #4f46e5;
}

.topic-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.topic-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

/* Низ */
.topic-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.topic-chip i {
    font-size: 13px;
}

.topic-chip.primary {
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
}

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #4f46e5;
    font-weight: 500;
}

.topic-link i {
    font-size: 14px;
}

/* Адаптив */
@media (max-width: 767px) {
    .section-sovet-topics {
        padding: 40px 0 24px;
    }

    .topic-card-body {
        padding: 16px 14px 12px;
    }
}


.sovet-article-header {
    background: linear-gradient(135deg, #1f2124 0%, #2a2d31 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.sovet-article-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.sovet-article-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(33, 128, 205, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.sovet-article-header .container {
    position: relative;
    z-index: 1;
}

/* TOPIC TAGS - FULL WIDTH TOP */
.article-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.tag-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tag-badge:hover {
    background: rgba(33, 128, 205, 0.3);
    color: #7dd3ff;
}

/* MAIN TITLE */
.article-header-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    color: white;
}

/* DESCRIPTION */
.article-header-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* COVER IMAGE */
.article-header-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.article-header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* META INFO - FULL WIDTH BOTTOM */
.article-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.article-header-meta  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.article-header-meta  .meta-item i {
    font-size: 16px;
    color: white;
}

.article-header-meta  .meta-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-header-meta  .meta-item a:hover {
    color: #7dd3ff;
}

/* ========== SIDEBAR STYLES ========== */
.article-share-sidebar {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 24px;
}

.share-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}

.share-buttons-sovet {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-sticky-wrapper {
    position: sticky;
    top: 200px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-helpful {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #2180cd;
    background: white;
    color: #2180cd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.btn-helpful:hover {
    background: #f0f6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 128, 205, 0.15);
}

.btn-helpful.active {
    background: #2180cd;
    color: white;
}

.helpful-count {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-helpful.active .helpful-count {
    background: rgba(0, 0, 0, 0.2);
}

.article-toc-sidebar {
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin: 0;
    padding: 0;
}

.toc-list a {
    display: block;
    padding: 6px 0 6px 10px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.2s ease;
    border-left: 3px solid transparent;
}

.toc-list a:hover {
    color: #2180cd;
}

.toc-list a.active {
    color: #2180cd;
    border-left-color: #2180cd;
    font-weight: 600;
}

.toc-list .level-0 a { padding-left: 10px; }
.toc-list .level-1 a { padding-left: 20px; }
.toc-list .level-2 a { padding-left: 30px; }
.toc-list .level-3 a { padding-left: 40px; }
.toc-list .level-4 a { padding-left: 50px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .sovet-article-header {
        padding: 40px 0;
    }

    .article-header-title {
        font-size: 28px;
    }

    .article-header-meta {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .sovet-article-header {
        padding: 30px 0;
    }

    .article-header-title {
        font-size: 24px;
    }

    .article-header-description {
        font-size: 14px;
    }

    .article-header-meta {
        gap: 12px;
        font-size: 12px;
    }

    .tag-badge {
        font-size: 10px;
        padding: 5px 8px;
    }
}

.sovet-region-header {
    background: radial-gradient(circle at top right, rgba(125, 211, 252, 0.35), transparent 55%),
                #f3f3f2;
    padding: 36px 0 28px;
    border-bottom: 1px solid #e0e4ea;
}

.sovet-region-header .container {
    position: relative;
}

/* Хлебные крошки */
.region-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 14px;
}

.crumb-link {
    color: #2180cd;
    text-decoration: none;
}

.crumb-link:hover {
    text-decoration: underline;
}

.crumb-separator {
    color: #b0b0b0;
}

.crumb-current {
    color: #555;
}

/* Заголовок и описание */
.region-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2933;
}

.region-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.region-description p:last-child {
    margin-bottom: 0;
}

/* Мета по региону */
.region-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

.region-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-meta .meta-item i {
    font-size: 16px;
    color: #1d8adf;
}

/* Картинка/герб */
.region-image-wrapper {
    max-width: 260px;
    margin-left: auto;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.region-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Плейсхолдер если нет картинки */
.region-image-placeholder {
    max-width: 260px;
    margin-left: auto;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(191, 219, 254, 0.55));
    border: 1px dashed rgba(59, 130, 246, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
}

.region-placeholder-icon i {
    font-size: 40px;
    color: #0f5fbf;
}

/* Пустое состояние */
.region-empty-state {
    background: #f7f9fb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px dashed #d0d9e6;
}

.region-empty-state .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e4efff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.region-empty-state .icon-circle i {
    font-size: 24px;
    color: #2f80ed;
}

.region-empty-state h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #243447;
}

.region-empty-state p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Адаптив */
@media (max-width: 991px) {
    .sovet-region-header {
        padding: 26px 0 22px;
    }

    .region-image-wrapper,
    .region-image-placeholder {
        margin: 18px 0 0 0;
    }
}



.section-sovet-regions {
    padding: 60px 0 40px;
    background: #f5f5f4;
}

.regions-header {
    margin-bottom: 28px;
}

.regions-header h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2933;
}

.regions-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Карточка региона */
.region-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.region-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.region-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
        rgba(125, 211, 252, 0.35),
        transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.region-card-body {
    position: relative;
    z-index: 1;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.6);
}

/* Верхняя часть */
.region-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.region-tagline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 4px;
}

.region-tagline .abbr {
    font-weight: 600;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(191, 219, 254, 0.6);
    padding: 2px 6px;
    border-radius: 999px;
}

.region-tagline .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #9ca3af;
}

.region-tagline .capital {
    font-size: 12px;
}

.region-district {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 8px;
}

.region-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

/* Низ карточки */
.region-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.region-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

.region-chip.success {
    background: rgba(22, 163, 74, 0.08);
    color: #15803d;
}

.region-chip.muted {
    background: rgba(148, 163, 184, 0.15);
    color: #6b7280;
}

.region-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 500;
}

.region-link i {
    font-size: 14px;
}

/* Адаптив */
@media (max-width: 767px) {
    .section-sovet-regions {
        padding: 40px 0 24px;
    }

    .region-card-body {
        padding: 16px 14px 12px;
    }
}



.sovet-team-header {
    background: #f3f3f2;
    padding: 40px 0 32px;
    border-bottom: 1px solid #e2e2e0;
}

.sovet-team-header .container {
    position: relative;
}

/* Хлебные крошки */
.team-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 16px;
}

.crumb-link {
    color: #2180cd;
    text-decoration: none;
}

.crumb-link:hover {
    text-decoration: underline;
}

.crumb-separator {
    color: #b0b0b0;
}

.crumb-current {
    color: #555;
}

/* Текстовая часть */
.team-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
}

.team-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.team-description p:last-child {
    margin-bottom: 0;
}

/* Мета по команде */
.team-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}

.team-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-meta .meta-item i {
    font-size: 16px;
    color: #2180cd;
}

.team-meta .meta-item a {
    color: #2180cd;
    text-decoration: none;
}

.team-meta .meta-item a:hover {
    text-decoration: underline;
}

/* Картинка / логотип */
.team-image-wrapper {
    max-width: 260px;
    margin-left: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    background: white;
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Плейсхолдер если нет логотипа */
.team-image-placeholder {
    max-width: 260px;
    margin-left: auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #e7edf5 0%, #f6f7f9 100%);
    border: 1px dashed #c7d2e3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.team-placeholder-icon i {
    font-size: 42px;
    color: #9cb6da;
}

/* Карточки редакторов */
.team-editor-card {
    border-radius: 16px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

/* Пустое состояние статей */
.team-empty-state {
    background: #f7f9fb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px dashed #d0d9e6;
}

.team-empty-state .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e4efff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.team-empty-state .icon-circle i {
    font-size: 24px;
    color: #2f80ed;
}

.team-empty-state h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #243447;
}

.team-empty-state p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Адаптив */
@media (max-width: 991px) {
    .sovet-team-header {
        padding: 28px 0 24px;
    }

    .team-image-wrapper,
    .team-image-placeholder {
        margin: 20px 0 0 0;
    }
}


.section-sovet-teams {
    padding: 60px 0 40px;
    background: #f5f5f4;
}

.teams-header {
    margin-bottom: 28px;
}

.teams-header h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2933;
}

.teams-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Карточка команды */
.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.team-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
}

.team-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
        rgba(129, 230, 217, 0.35),
        transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

/* Логотип */
.team-card-logo {
    position: relative;
    z-index: 1;
    padding: 14px 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo-img { 
    max-width: 200px;
    border-radius: 10px;
    background: white;
    padding: 4px 8px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
}

.team-card-logo.placeholder {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 16px 0;
}

.team-card-logo.placeholder i {
    font-size: 24px;
    color: #16a34a;
}

/* Тело карточки */
.team-card-body {
    position: relative;
    z-index: 1;
    padding: 10px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.team-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0 0 10px;
}

/* Метрики */
.team-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.team-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.team-chip i {
    font-size: 13px;
}

.team-chip.primary {
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
}

.team-chip.secondary {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.team-chip.muted {
    background: rgba(148, 163, 184, 0.18);
    color: #6b7280;
}

/* Низ */
.team-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 500;
}

.team-link i {
    font-size: 14px;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(16, 185, 129, 0.7);
}

/* Адаптив */
@media (max-width: 767px) {
    .section-sovet-teams {
        padding: 40px 0 24px;
    }

    .team-card-body {
        padding: 8px 14px 12px;
    }
}

ul.gallery.mw-gallery-packed.LightGallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;

  width: 100% !important;
  max-width: 380px;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

ul.gallery.mw-gallery-packed.LightGallery > li.gallerybox {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.gallery.mw-gallery-packed.LightGallery > li.gallerybox > div,
ul.gallery.mw-gallery-packed.LightGallery > li.gallerybox .thumb {
  width: 100% !important;
}

ul.gallery.mw-gallery-packed.LightGallery > li.gallerybox img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.img, img {    max-width: 600px;}


/* ===== PAGINATION STYLES ===== */

.pagination {
    gap: 8px !important;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.page-item {
    display: flex !important;
    margin: 0 !important;
}

.pagination_item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    color: #4b5563 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.pagination_item i {
    font-size: 16px !important;
}

.pagination_item:hover {
    border-color: #2563eb !important;
    background: #f0f7ff !important;
    color: #1d4ed8 !important;
}

.page-item.active .pagination_item {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.page-item.disabled .pagination_item {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    color: #9ca3af !important;
}

.page-item.disabled .pagination_item:hover {
    border-color: #e5e7eb !important;
    background: #ffffff !important;
    color: #9ca3af !important;
}

/* Адаптив */
@media (max-width: 480px) {
    .pagination {
        gap: 4px !important;
    }

    .pagination_item {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .pagination_item i {
        font-size: 14px !important;
    }
}

/* Иконка в pill карточки */
.article-topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-pill-icon {
    font-size: 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.tag-badge-icon {
    font-size: 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.article-topic-pill .ti,
.tag-badge .ti {
    width: auto;
    height: auto;
}

.section-padding {
    padding: 50px 0;
}