/* /css/style.css */

/* ===== ПАЛИТРА (официальный серо-чёрный стиль) ===== */
:root {
    --ink: #17191d;          /* основной текст / заголовки */
    --dark: #1f242b;         /* тёмный (шапка, кнопки, активные элементы) */
    --dark-2: #2a3038;       /* тёмный каркас кнопок / подложек */
    --panel: #ffffff;        /* карточки */
    --paper: #f3f4f5;        /* фон страницы */
    --muted: #767b83;        /* приглушённый текст */
    --border: #d9dce1;       /* границы */
    --border-soft: #eceef0;  /* мягкие границы */
    --accent: #3a4048;       /* акцент (подчёркивания, разделители) */
    --light: #eceef0;        /* светлые подложки */
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.redaktor {
    background-color: var(--light);
    border-radius: 10px;
    padding: 15px;
    font-size: 0.9em;
}

/* ===== ШАПКА ===== */
.header {
    
	
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    text-align: center;
	
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
	color: var(--paper);
	background-color: #21262e;
}

.logo-area {
        margin: auto;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--paper);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 400;
}

.header-image {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    border-bottom: 2px solid #e31e24;
}

/* ===== ДЕСКТОПНОЕ МЕНЮ ===== */
.menu-wrapper {
    background-color: #323539;
    border-bottom: 2px solid #e31e24;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 4px;
	margin: 0 auto;
    width: max-content;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 16px 20px;
    color: var(--paper);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

.menu-item a:hover {
    border-bottom-color: var(--accent);
    color: var(--ink);
    background-color: var(--light);
}

.menu-item.active a {
    border-bottom-color: #e31e24;
    color: #e31e24;
    font-weight: 600;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #d7dcd7;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--panel);
    box-shadow: 2px 0 20px rgba(0,0,0,0.14);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-soft);
}

.mobile-logo {
    display: inline;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--ink);
}
.mobile-logo img {background-color: #1e2328; padding: 5px; display: block; max-width: 100%;}

.mobile-logo .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    padding: 5px;
	margin-left: -25px;
    margin-top: 40px;
}

.mobile-menu-close:hover {
    color: var(--ink);
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-item {
    margin-bottom: 5px;
}

.mobile-menu-item a {
    display: block;
    padding: 12px 15px;
    color: #4a5057;
    text-decoration: none;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-item a:hover {
    background-color: var(--light);
    color: var(--ink);
}

.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    font-size: 0.9rem;
    color: var(--muted);
}

.mobile-menu-footer div {
    margin-bottom: 10px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 23, 27, 0.55);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* ===== СЕКЦИИ ===== */
.section {
    margin: 50px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.3px;
    position: relative;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-link {
    color: #e31e24;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    border-bottom: 1px dotted var(--border);
    padding-top: 10px;
}

.section-link:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* ===== БЛОК "О КОМИТЕТЕ" ===== */
.about-intro {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.about-intro-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
}

.about-intro-text p {
    color: #3c424a;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-intro-text p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 1.15rem;
}

.about-lead strong {
    color: var(--ink);
}

/* ===== ЦЕЛИ И ЗАДАЧИ ===== */
.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.goal-card {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    border-top: 4px solid var(--accent);
}

.goal-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.goal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    flex-shrink: 0;
}

.goal-head h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}

.goal-list {
    list-style: none;
}

.goal-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #3c424a;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-soft);
}

.goal-list li:last-child {
    border-bottom: none;
}

.goal-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== НАПРАВЛЕНИЯ ДЕЯТЕЛЬНОСТИ ===== */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.direction-card {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.28s;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
}

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.10);
    border-color: var(--border);
}

.direction-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.direction-content {
    padding: 20px;
}

.direction-content h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

.direction-content p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== НОВОСТИ ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--panel);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border: 1px solid var(--border-soft);
}

.news-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.09);
    border-color: var(--border);
    transform: translateY(-3px);
}

.news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--muted);
}

.news-date {
    color: var(--accent);
    font-weight: 600;
}

.news-category {
    color: var(--muted);
    font-weight: 400;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--accent);
}

.news-excerpt {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.55;
    font-weight: 400;
}

.news-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid transparent;
}

.news-link:hover {
    border-bottom-color: var(--dark);
}

/* ===== КОНТАКТЫ ===== */
.contacts-section {
    background: var(--panel);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.contact-card {
    text-align: left;
    padding: 20px;
    border-right: 1px solid var(--border-soft);
}

.contact-card:last-child {
    border-right: none;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--muted);
    font-weight: 400;
    line-height: 1.5;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 8px;
}

/* ===== ФУТЕР ===== */
.footer {
    background-color: var(--dark);
    border-top: 4px solid var(--dark-2);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aeb4bc;
    font-size: 0.9rem;
    font-weight: 400;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aeb4bc;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: #e9ecef;
    color: #e9ecef;
}

.footer-copyright {
    color: var(--muted);
}

.footer-info {
    color: var(--muted);
}

/* ===== УТИЛИТЫ ===== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .news-grid,
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro {
        grid-template-columns: 320px 1fr;
        padding: 30px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
		margin: auto;
    }

    .header-top {
        padding: 10px 0;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }



    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header h2::after {
        bottom: -12px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .about-intro-media {
        text-align: center;
    }

    .about-intro-media img {
        max-width: 340px;
        margin: 0 auto;
    }

    .news-grid,
    .goals-grid,
    .directions-grid {
        grid-template-columns: 1fr;
    }

    .contacts-section {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-area {
        gap: 12px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .mobile-menu {
        width: 280px;
    }
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    margin: 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
    border-bottom-color: var(--dark);
}

/* ===== СЧЁТЧИК ЗАПИСЕЙ ===== */
.posts-count {
    background: var(--light);
    padding: 5px 15px;
    border-radius: 30px;
    color: var(--dark);
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

/* ===== КНОПКА "ЕЩЕ..." ===== */
.load-more-wrapper {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: var(--panel);
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more-btn:hover {
    background: var(--dark);
    color: #ffffff;
}

.load-more-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* ===== СТРАНИЦА СТАТЬИ ===== */
.single-post {
    background: var(--panel);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    border: 1px solid var(--border-soft);
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
}

.post-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 20px;
}

.post-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    color: var(--muted);
    font-size: 0.95rem;
}

.post-header-block {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.post-featured-image {
    flex: 0 0 30%;
    max-width: 100%;
}

.post-featured-image img {
    display: block;
    width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.author-wrapper {
    flex: 0 0 calc(33% - 25px);
    max-width: calc(100% - 25px);
}

.author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--dark);
    height: 100%;
    min-height: 120px;
    justify-content: center;
}

.author img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dark);
    margin-bottom: 10px;
}

.author small {
    font-size: 16px;
    color: #333;
}

.author small b {
    color: var(--dark);
}

.post-text {
    clear: both;
    overflow: hidden;
    text-align: justify;
}

.post-text p {
    margin-bottom: 1.1em;
    line-height: 1.5;
    text-indent: 0em;
}

.post-text p:last-child {
    margin-bottom: 0;
}

.post-header-block:not(:has(.post-featured-image)) .author-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
}

.post-header-block:not(:has(.author-wrapper)) .post-featured-image {
    flex: 0 0 66%;
    max-width: 100%;
    float: left;
    margin: 0 20px 15px 0;
}

.post-header-block:not(:has(.author-wrapper)) .post-text {
    overflow: hidden;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-soft);
}

.back-btn,
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.back-btn {
    background: #eef0f2;
    color: #333;
}

.back-btn:hover {
    background: #e0e2e5;
    transform: translateX(-3px);
}

.download-btn {
    background: var(--dark);
    color: #fff;
}

.download-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .single-post { padding: 20px; }
    .post-title { font-size: 1.8rem; }
    .post-content { font-size: 1rem; }
    .post-header-block { flex-direction: column; gap: 15px; }
    .post-featured-image { flex: 0 0 100%; max-width: 100%; }
    .author-wrapper { flex: 0 0 100%; max-width: 100%; }
    .author img { width: 80px; height: 80px; }
    .post-footer { flex-direction: column; align-items: stretch; }
    .back-btn, .download-btn { justify-content: center; }
}

@media (max-width: 480px) {
    .single-post { padding: 15px; }
    .post-title { font-size: 1.5rem; }
    .post-featured-image {
        float: none !important;
        margin: 0 0 15px 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .post-header-block:not(:has(.author-wrapper)) .post-featured-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 15px 0 !important;
    }
}

/* ===== СТРАНИЦА КОНТАКТОВ ===== */
.contacts-info-section { margin: 40px 0; }

.contacts-info-card {
    background: var(--panel);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
}

.contacts-info-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent);
    display: inline-block;
}

.contacts-info-text {
    color: var(--muted);
    font-weight: 400;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contacts-info-text p { margin-bottom: 15px; }

.leader-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--light);
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 5px solid var(--dark);
    max-width: 500px;
}

.leader-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.leader-image img { width: 100%; height: 100%; object-fit: cover; }

.leader-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 5px;
}

.leader-position { color: var(--muted); font-size: 1rem; }

.atamans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.atamans-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ataman-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--panel);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.ataman-card:hover {
    border-color: var(--border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.ataman-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    flex-shrink: 0;
    background: var(--light);
}

.ataman-image img { width: 100%; height: 100%; object-fit: cover; }

.ataman-image a { display: block; width: 100%; height: 100%; }

.ataman-info { flex: 1; }

.ataman-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 5px;
}

.ataman-name a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.ataman-name a:hover { border-bottom-color: var(--accent); }

.ataman-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ataman-description span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 3px;
}

@media (max-width: 992px) {
    .atamans-grid { gap: 20px; }
    .ataman-card { padding: 15px; }
    .ataman-image { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
    .atamans-grid { grid-template-columns: 1fr; }
    .contacts-info-card { padding: 25px; }
    .leader-card { flex-direction: column; text-align: center; padding: 20px; }
    .ataman-card { flex-direction: column; text-align: center; }
    .contacts-info-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .ataman-card { padding: 15px; }
    .ataman-name { font-size: 1.1rem; }
}

/* ===== СТРАНИЦА "О КОМИТЕТЕ" ===== */
.about-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: 18px;
    padding: 50px;
    margin: 10px 0 40px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.about-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.about-hero-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.about-hero-text h1 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #ffffff;
}

.about-hero-text p {
    color: #c9ced6;
    font-size: 1.12rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 680px;
}

.about-lead-para {
    color: #3c424a;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.08rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.about-stat-card {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.about-stat-card h4 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.about-stat-card span {
    font-size: 0.88rem;
    color: var(--muted);
}

/* Структурные подразделения */
.subunits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.subunit-card {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    display: flex;
    gap: 18px;
    transition: all 0.25s;
}

.subunit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.09);
    border-color: var(--border);
}

.subunit-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, var(--dark-2), var(--dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    flex-shrink: 0;
}

.subunit-card h3 {
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.subunit-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Экспертный совет */
.experts-section {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent);
}

.experts-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.experts-section p {
    color: #3c424a;
    line-height: 1.85;
    margin-bottom: 15px;
    font-size: 1rem;
}

.experts-section p:last-child {
    margin-bottom: 0;
}

/* История */
.history-timeline {
    position: relative;
    margin-top: 20px;
    padding-left: 30px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.history-event {
    position: relative;
    padding: 0 0 28px 20px;
}

.history-event:last-child {
    padding-bottom: 0;
}

.history-event::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--panel);
    box-shadow: 0 0 0 2px var(--accent);
}

.history-year {
    display: inline-block;
    font-weight: 700;
    color: var(--dark);
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 2px 14px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.history-body {
    color: #3c424a;
    line-height: 1.7;
}

.history-quote {
    margin: 14px 0;
    padding: 18px 22px;
    background: var(--light);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: #4a5057;
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Контакты комитета */
.kob-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.kob-contact-card {
    text-align: center;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

.kob-contact-card .kob-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: linear-gradient(145deg, var(--dark-2), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
}

.kob-contact-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.kob-contact-card .kob-value {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.kob-contact-card .kob-value a {
    color: var(--accent);
    text-decoration: none;
}

.kob-contact-card .kob-value a:hover {
    text-decoration: underline;
}

.about-link-row {
    margin-top: 26px;
    text-align: center;
}

.about-link-btn {
    display: inline-block;
    background: var(--dark);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s;
}

.about-link-btn:hover {
    background: #000;
}

@media (max-width: 1024px) {
    .about-hero { grid-template-columns: 280px 1fr; padding: 34px; }
    .about-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .about-hero { grid-template-columns: 1fr; text-align: center; padding: 28px; }
    .about-hero-media img { max-width: 320px; margin: 0 auto; }
    .about-hero-text h1 { font-size: 1.6rem; }
    .subunits-grid { grid-template-columns: 1fr; }
    .kob-contacts { grid-template-columns: 1fr; }
    .experts-section { padding: 26px; }
}

@media (max-width: 480px) {
    .about-cards { grid-template-columns: 1fr; }
}

/* ===== HERO (антикоррупционный блок) ===== */
.hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 20px 0 10px;
}

.chair {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(145deg, #242a33 0%, #14181d 100%);
    border-radius: 18px;
    padding: 44px 48px;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(0,0,0,0.28);
    overflow: hidden;
    position: relative;
}

.chair::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.06), transparent 55%);
    pointer-events: none;
}

.chair__text {
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
}

.chair__head {
    margin-bottom: 14px;
}

.chair__name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.chair__role {
    color: #b9c0c9;
    font-size: 0.95rem;
    margin-top: 4px;
}

.chair__quote {
    color: #d7dce2;
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 720px;
}

.chair__more {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
}

.chair__more:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.chair__photo {
    flex: 0 0 180px;
    position: relative;
    z-index: 1;
}

.chair__photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.chair__org {
    flex: 0 0 230px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.chair__org-logo img {
    max-width: 90px;
    max-height: 70px;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.chair__org-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9aa2ac;
}

.chair__org-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 6px 0;
    line-height: 1.4;
}

.chair__org-sub {
    font-size: 0.82rem;
    color: #b9c0c9;
}

.banner {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(145deg, #1b2027 0%, #0f1216 100%);
    border-radius: 18px;
    padding: 36px 44px;
    color: #ffffff;
    box-shadow: 0 12px 34px rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.07);
}

.banner__emblem {
    width: 86px;
    height: 86px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.banner__head {
    flex: 1 1 auto;
    text-align: left;
}

.banner__title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner__text {
    color: #c2c9d1;
    font-size: 1.05rem;
}

.banner__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s;
    line-height: 1;
}

.btn svg {
    flex-shrink: 0;
}

.btn--dark {
    background: #ffffff;
    color: #1a1f26;
}

.btn--dark:hover {
    background: #d7dce2;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: #ffffff;
}

.btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.btn--outline {
    background: transparent;
    border-color: var(--dark);
    color: var(--dark);
}

.btn--outline:hover {
    background: var(--dark);
    color: #ffffff;
}

.btn--block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ===== LAW SECTION (противодействие коррупции) ===== */
.law-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.law-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
}

.law-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.law-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.law-content p {
    color: #3c424a;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.law-list {
    list-style: none;
    margin-bottom: 26px;
    width: 100%;
}

.law-list li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: #3c424a;
    border-bottom: 1px solid var(--border-soft);
}

.law-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--accent);
    font-weight: 700;
}

/* ===== СЕРВИСЫ ===== */
.services-section {
    background: var(--panel);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f6f7f8;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}

.service-card:hover {
    border-color: var(--border);
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.07);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, var(--dark-2), var(--dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9ecef;
    flex-shrink: 0;
}

.service-body {
    flex: 1 1 auto;
}

.service-body h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 5px;
}

.service-body p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.service-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ===== СТРАНИЦА "ПРОТИВОДЕЙСТВИЕ КОРРУПЦИИ" ===== */
.law-page-head {
    margin: 10px 0 30px;
    padding: 34px 40px;
    background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: 16px;
    color: #ffffff;
}

.law-page-head h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.law-page-head p {
    color: #c9ced6;
    font-size: 1.1rem;
}

.law-page {
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}

.law-page .page-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-soft);
}

.law-page .page-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.law-page .page-block > h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.page-block-text p {
    color: #3c424a;
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 1rem;
    text-align: justify;
}

.page-block-text h3,
.page-block-text h4 {
    color: var(--ink);
    margin: 16px 0 10px;
    font-size: 1.1rem;
}

.page-block-text ul {
    margin: 10px 0 18px;
    padding-left: 22px;
}

.page-block-text ul li {
    color: #3c424a;
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.98rem;
}

.page-block-text a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.page-block-text a:hover {
    border-bottom-color: var(--accent);
}

.page-block-text .panel {
    background: #f6f7f8;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--dark);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.page-block-text .panel-title {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    font-size: 1rem;
}

.law-back {
    margin: 30px 0 10px;
    text-align: center;
}

@media (max-width: 1024px) {
    .chair {
        flex-wrap: wrap;
        padding: 34px;
    }
    .chair__text { flex: 1 1 60%; }
    .chair__org { flex: 1 1 100%; flex-direction: row; align-items: center; gap: 16px; display: inline-flex; text-align: left; max-width: 100%; }
    .banner { flex-wrap: wrap; }
    .banner__actions { justify-content: flex-start; }
    .law-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .chair { padding: 26px; gap: 24px; }
    .chair__text { flex: 1 1 100%; }
    .chair__photo { flex: 1 1 100%; text-align: center; }
    .chair__photo img { margin: 0 auto; }
    .chair__org { display: flex; }
    .banner { padding: 26px; }
    .banner__emblem { width: 64px; height: 64px; }
    .banner__title { font-size: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .law-page { padding: 24px; }
    .law-page-head { padding: 26px; }
	.service-card {display: block;}
	.section-link { padding-top: 10px; }
}

/* ===== АККОРДЕОН FAQ ===== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: var(--panel);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
    border-color: var(--dark);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 17px 50px 17px 18px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    font-family: inherit;
    line-height: 1.4;
    position: relative;
}

.faq-question::before,
.faq-question::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--accent);
    transition: transform 0.25s ease;
}

.faq-question::after {
    transform: rotate(90deg);
}

.faq-item.open .faq-question::after {
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 1200px;
}

.faq-answer-inner {
    padding: 14px 18px 18px;
    border-top: 1px solid var(--border-soft);
    color: #3c424a;
    line-height: 1.7;
    font-size: 0.98rem;
    text-align: justify;
}

.faq-answer-inner p {
    margin-bottom: 0;
}

/* ===== ПЛАВАЮЩАЯ КНОПКА СВЯЗИ ===== */
.floating-contact {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.contact-toggle { display: none; }

.contact-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--dark-2), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(31,36,43,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.25);
    animation: pulse 2s infinite;
}

.question-mark {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Inter', 'Arial', sans-serif;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(42,48,56,0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(42,48,56,0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(42,48,56,0); transform: scale(1); }
}

.contact-trigger:hover,
#contact-toggle:checked + .contact-trigger {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(31,36,43,0.55);
    border-color: rgba(255,255,255,0.5);
}

.contact-trigger:hover .question-mark {
    animation: none;
    transform: scale(1.1);
}

.trigger-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    pointer-events: none;
    border: 1px solid rgba(31,36,43,0.2);
}

.trigger-tooltip:after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid rgba(31,36,43,0.2);
    border-bottom: 1px solid rgba(31,36,43,0.2);
}

.contact-trigger:hover .trigger-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 80px;
}

.trigger-icon { position: absolute; transition: all 0.3s ease; color: white; }
.trigger-icon-open { opacity: 1; transform: rotate(0deg); }
.trigger-icon-close { opacity: 0; transform: rotate(90deg); }

.trigger-icon-close svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; }

#contact-toggle:checked + .contact-trigger .trigger-icon-open {
    opacity: 0;
    transform: rotate(-90deg);
}

#contact-toggle:checked + .contact-trigger .trigger-icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

.contact-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
    pointer-events: none;
}

#contact-toggle:checked ~ .contact-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(-80px);
    pointer-events: auto;
}

.contact-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    align-self: flex-end;
}

.contact-button.telegram { background: linear-gradient(145deg, #0088cc, #006699); }
.contact-button.max { background: linear-gradient(145deg, var(--dark-2), var(--dark)); }

.contact-button:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.contact-button.telegram:hover { background: linear-gradient(145deg, #006699, #004466); }
.contact-button.max:hover { background: linear-gradient(145deg, var(--dark), #000); }

.contact-label {
    position: absolute;
    right: 60px;
    background: white;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 15px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    pointer-events: none;
    border: 1px solid rgba(31,36,43,0.2);
}

.contact-button:hover .contact-label {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.max-svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.max-svg path { fill: white; }

.contact-button.max:hover .max-svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

@media (max-width: 768px) {
    .floating-contact { bottom: 20px; right: 20px; }
    .contact-trigger { width: 50px; height: 50px; }
    .question-mark { font-size: 28px; }
    .trigger-tooltip { font-size: 0.8rem; padding: 6px 12px; bottom: 60px; }
    .contact-trigger:hover .trigger-tooltip { bottom: 70px; }
    .contact-button { width: 45px; height: 45px; }
    .contact-button svg { width: 24px; height: 24px; }
    .contact-label { font-size: 0.8rem; padding: 4px 12px; }
    .max-svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .contact-label { display: none; }
    .trigger-tooltip { right: -10px; font-size: 0.75rem; padding: 5px 10px; }
    .question-mark { font-size: 24px; }
    .max-svg { width: 22px; height: 22px; }
}

.news-date {display:none;}