/* =============================================
   ГИППОКРАТ — Блог и статьи
   Палитра: зелёный #2e7d32 / #4caf50, оранжевый #f57c00, фон #f0f7f0
   ============================================= */

/* --- Sticky шапка (JS управляет через класс) --- */
.gp-sticky-header {
    z-index: 100;
    background: #fff;
    transition: box-shadow 0.3s;
}
.gp-sticky-header.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.gp-sticky-header-placeholder {
    display: none;
}
.gp-sticky-header-placeholder.is-active {
    display: block;
}

/* --- Shrink-on-scroll (desktop only) --- */
@media screen and (min-width: 1025px) {
    .gp-sticky-header,
    .gp-sticky-header .headblock,
    .gp-sticky-header .headlogoimg,
    .gp-sticky-header .headphonehref,
    .gp-sticky-header .headzapicnakonsul,
    .gp-sticky-header .headmenu,
    .gp-sticky-header .headpunktmenu,
    .gp-sticky-header .headpunktmenu2,
    .gp-sticky-header .headpunktmenu2strelka {
        transition: all 0.3s ease;
    }
    .gp-sticky-header.is-scrolled .headblock {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .gp-sticky-header.is-scrolled .headlogoimg {
        max-width: 200px;
    }
    .gp-sticky-header.is-scrolled .headphonehref {
        font-size: 14px;
    }
    .gp-sticky-header.is-scrolled .headzapicnakonsul {
        font-size: 12px;
        padding: 8px 15px;
    }
    .gp-sticky-header.is-scrolled .headmenu {
        padding-top: 0;
    }
    .gp-sticky-header.is-scrolled .headpunktmenu,
    .gp-sticky-header.is-scrolled .headpunktmenu2 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 12px;
    }
    .gp-sticky-header.is-scrolled .headpunktmenu2strelka {
        width: 12px;
        height: 5px;
    }
}

/* --- Блокируем fancybox на карточках блога --- */
.gp-blog-card img,
.gp-blog-card-img img {
    pointer-events: none;
}

/* --- Reset для шаблонов блога --- */
.gp-blog-page,
.gp-article-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}
.gp-blog-page *,
.gp-article-page * {
    box-sizing: border-box;
}

/* --- Хлебные крошки --- */
.gp-blog-breadcrumbs,
.gp-article-breadcrumbs {
    padding: 18px 0 12px;
    font-size: 13px;
}
.gp-blog-breadcrumbs #breadcrumbs,
.gp-article-breadcrumbs #breadcrumbs {
    margin: 0;
    color: #999;
}
.gp-blog-breadcrumbs #breadcrumbs a,
.gp-article-breadcrumbs #breadcrumbs a {
    color: #2e7d32;
    text-decoration: none;
}
.gp-blog-breadcrumbs #breadcrumbs a:hover,
.gp-article-breadcrumbs #breadcrumbs a:hover {
    text-decoration: underline;
}


/* =============================================
   СТРАНИЦА БЛОГА
   ============================================= */

/* Шапка */
.gp-blog-header {
    text-align: center;
    padding: 40px 0 10px;
}
.gp-blog-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.gp-blog-subtitle {
    font-size: 18px;
    color: #666;
    margin: 12px 0 0;
    font-weight: 400;
}

/* Фильтры */
.gp-blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 40px;
}
.gp-blog-filter-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #444;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    transition: all 0.25s ease;
}
.gp-blog-filter-btn:hover {
    color: #2e7d32;
    border-color: #2e7d32;
    background: #f0f7f0;
}
.gp-blog-filter-btn.active {
    color: #fff;
    background: #2e7d32;
    border-color: #2e7d32;
}

/* Сетка карточек */
.gp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка */
.gp-blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #222;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.gp-blog-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Картинка карточки */
.gp-blog-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.gp-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gp-blog-card:hover .gp-blog-card-img img {
    transform: scale(1.05);
}
.gp-blog-card-noimg {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gp-blog-card-noimg::after {
    content: "\1F4DD";
    font-size: 48px;
    opacity: 0.3;
}

/* Тело карточки */
.gp-blog-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.gp-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.gp-blog-card-cat {
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.gp-blog-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gp-blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gp-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    transition: gap 0.2s;
}
.gp-blog-card:hover .gp-blog-card-link {
    gap: 10px;
}

/* Пагинация */
.gp-blog-pagination {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.gp-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #444;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: all 0.2s;
}
.gp-blog-pagination .page-numbers.current,
.gp-blog-pagination .page-numbers:hover {
    color: #fff;
    background: #2e7d32;
    border-color: #2e7d32;
}

/* CTA блок */
.gp-blog-cta {
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #f0f7f0 100%);
    border: 2px solid #c8e6c9;
    border-radius: 20px;
    padding: 50px 40px;
}
.gp-blog-cta-text {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.gp-blog-cta-subtext {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px;
}
.gp-blog-cta-phone {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #2e7d32;
    text-decoration: none;
    margin-bottom: 24px;
}
.gp-blog-cta-phone:hover {
    color: #1b5e20;
}
.gp-blog-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #f57c00;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gp-blog-cta-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,124,0,0.35);
}

/* Пустой блог */
.gp-blog-empty {
    text-align: center;
    padding: 80px 20px;
    font-size: 18px;
    color: #999;
}


/* =============================================
   СТРАНИЦА СТАТЬИ — трёхколоночная раскладка
   ============================================= */

/* Мобильный аккордеон TOC — скрыт на desktop */
.gp-toc-mobile {
    display: none;
}

/* Верхняя часть (мета + обложка) */
.gp-article-top {
    max-width: 760px;
    margin: 0 auto 30px;
}
.gp-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}
.gp-article-date { color: #999; }
.gp-article-category {
    color: #fff;
    background: #2e7d32;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.gp-article-thumbnail {
    border-radius: 16px;
    overflow: hidden;
}
.gp-article-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Трёхколоночная раскладка */
.gp-article-layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
    padding: 0 20px;
}

/* Центральная колонка */
.gp-article {
    min-width: 0;
    margin: 0;
}

/* ---- ОГЛАВЛЕНИЕ (TOC) ---- */
.gp-toc-sidebar {
    position: relative;
    min-height: 200px;
}
.gp-cta-sidebar {
    position: relative;
    min-height: 200px;
}
.gp-toc-sticky {
    /* JS управляет */
}
.gp-toc-sticky.is-stuck {
    position: fixed;
}
.gp-toc {
    background: #f9fdf9;
    border: 1px solid #e8f5e9;
    border-radius: 14px;
    padding: 24px;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8e6c9 transparent;
}
.gp-toc::-webkit-scrollbar {
    width: 4px;
}
.gp-toc::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 4px;
}
.gp-toc-title {
    font-size: 15px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
}
.gp-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gp-toc-link {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2px;
}
.gp-toc-link:hover {
    color: #2e7d32;
    background: #e8f5e9;
}
.gp-toc-link.active {
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    border-left-color: #2e7d32;
    transform: translateX(2px);
}
.gp-toc-link-sub {
    padding-left: 26px;
    font-size: 13px;
}

/* ---- CTA SIDEBAR ---- */
.gp-cta-sticky {
    /* JS управляет */
}
.gp-cta-sticky.is-stuck {
    position: fixed;
}
.gp-cta-box {
    background: linear-gradient(180deg, #f0f7f0 0%, #e8f5e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
}
.gp-cta-box-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}
.gp-cta-box-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.5;
}
.gp-cta-box-phone {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #2e7d32;
    text-decoration: none;
    margin-bottom: 18px;
}
.gp-cta-box-phone:hover {
    color: #1b5e20;
}
.gp-cta-box-btn {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #f57c00;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}
.gp-cta-box-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245,124,0,0.35);
}
.gp-cta-box-schedule {
    font-size: 12px;
    color: #888;
    margin: 12px 0 0;
}

/* Контент статьи */
.gp-article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}
.gp-article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 3px solid #e8f5e9;
}
.gp-article-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 12px;
    color: #1a1a1a;
}
.gp-article-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 10px;
    color: #333;
}
.gp-article-content p { margin: 0 0 20px; }
.gp-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}
.gp-article-content a {
    color: #2e7d32;
    text-decoration: underline;
    text-decoration-color: rgba(46,125,50,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.gp-article-content a:hover { text-decoration-color: #2e7d32; }
.gp-article-content ul,
.gp-article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.gp-article-content li { margin-bottom: 10px; }
.gp-article-content li::marker { color: #2e7d32; }
.gp-article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: #f0f7f0;
    border-left: 4px solid #2e7d32;
    border-radius: 0 12px 12px 0;
    font-style: normal;
    color: #333;
}
.gp-article-content blockquote p:last-child { margin-bottom: 0; }
.gp-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}
.gp-article-content table th {
    background: #2e7d32;
    color: #fff;
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
}
.gp-article-content table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e8f5e9;
}
.gp-article-content table tr:nth-child(even) { background: #f9fdf9; }
.gp-article-content table tr:hover { background: #f0f7f0; }

/* Теги */
.gp-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}
.gp-article-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin-right: 4px;
}
.gp-article-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 50px;
    text-decoration: none;
}

/* Навигация */
.gp-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid #eee;
}
.gp-article-nav-prev,
.gp-article-nav-next {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.2s;
}
.gp-article-nav-prev:hover,
.gp-article-nav-next:hover { background: #f0f7f0; }
.gp-article-nav-next {
    text-align: right;
    margin-left: auto;
    grid-column: 2;
}
.gp-article-nav-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.gp-article-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #2e7d32;
    line-height: 1.4;
}

/* Похожие статьи */
.gp-related-articles {
    margin: 60px auto;
    max-width: 1100px;
}
.gp-related-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 32px;
    color: #1a1a1a;
}
.gp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gp-related-card {
    text-decoration: none;
    color: #222;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.25s;
}
.gp-related-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.gp-related-card-img {
    height: 180px;
    overflow: hidden;
}
.gp-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gp-related-card:hover .gp-related-card-img img {
    transform: scale(1.05);
}
.gp-related-card-noimg {
    height: 180px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
}
.gp-related-card-info {
    padding: 18px 20px;
}
.gp-related-card-date {
    font-size: 13px;
    color: #999;
    display: block;
    margin-bottom: 6px;
}
.gp-related-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #1a1a1a;
}
.gp-related-card:hover .gp-related-card-title {
    color: #2e7d32;
}


/* =============================================
   АДАПТИВНОСТЬ
   ============================================= */

/* ---- МОБИЛЬНЫЙ ПЛАВАЮЩИЙ TOC ---- */
.gp-toc-float {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 12px;
    right: 12px;
    z-index: 95;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    border: 1px solid #e8f5e9;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.gp-toc-float.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.gp-toc-float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    color: #2e7d32;
}
.gp-toc-float-label {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
}
.gp-toc-float-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gp-toc-float-body {
    overflow: hidden;
    overflow-y: auto;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gp-toc-float-body::-webkit-scrollbar {
    width: 3px;
}
.gp-toc-float-body::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 3px;
}
.gp-toc-flink {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.gp-toc-flink:active,
.gp-toc-flink:hover {
    color: #2e7d32;
    background: #f0f7f0;
}
.gp-toc-flink.active {
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    border-left-color: #2e7d32;
}
.gp-toc-flink-sub {
    padding-left: 32px;
    font-size: 14px;
}

/* ---- АДАПТИВ: Планшет и мобильные ---- */
@media (max-width: 1200px) {
    .gp-article-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
    .gp-toc-sidebar {
        display: none;
    }
    .gp-toc-float {
        display: block;
    }
    .gp-cta-sidebar {
        order: 3;
    }
    .gp-cta-sticky {
        position: static;
    }
    .gp-cta-box {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .gp-blog-grid,
    .gp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .gp-blog-title {
        font-size: 32px;
    }
    .gp-article-title {
        font-size: 30px;
    }
    .gp-blog-grid,
    .gp-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gp-blog-card-img,
    .gp-related-card-img {
        height: 200px;
    }
    .gp-blog-page,
    .gp-article-page {
        padding: 0 16px 40px;
    }
    .gp-blog-header {
        padding: 24px 0 10px;
    }
    .gp-article-content {
        font-size: 16px;
    }
    .gp-article-content h2 {
        font-size: 24px;
    }
    .gp-article-nav {
        grid-template-columns: 1fr;
    }
    .gp-article-nav-next {
        text-align: left;
        grid-column: 1;
    }
    .gp-blog-cta {
        padding: 36px 24px;
    }
    .gp-blog-cta-text {
        font-size: 22px;
    }
    .gp-blog-cta-phone {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .gp-blog-title {
        font-size: 26px;
    }
    .gp-article-title {
        font-size: 26px;
    }
    .gp-blog-filters {
        gap: 6px;
    }
    .gp-blog-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .gp-blog-card-body {
        padding: 16px 18px 20px;
    }
    .gp-blog-card-title {
        font-size: 17px;
    }
}


/* =============================================
   EEAT: автор статьи и цитата
   ============================================= */

/* --- Блок автора / медицинского эксперта --- */
.gp-article-eeat {
    max-width: 820px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.gp-article-author {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #f7fbf7;
    border: 1px solid #e0ede0;
    border-radius: 12px;
}

.gp-article-author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #4caf50;
}

.gp-article-author-info {
    flex: 1;
}

.gp-article-author-label {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
}

.gp-article-author-name {
    display: inline-block;
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #2e7d32;
    text-decoration: none;
}

.gp-article-author-name:hover {
    text-decoration: underline;
}

.gp-article-author-position {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
}

.gp-article-author-desc {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.gp-article-reviewer {
    margin-top: 16px;
    padding: 16px 20px;
    background: #fff8e1;
    border-left: 4px solid #f57c00;
    border-radius: 0 8px 8px 0;
}

.gp-article-reviewer p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #444;
}

.gp-article-reviewer p:last-child {
    margin-bottom: 0;
}

.gp-article-reviewer-note {
    font-size: 13px;
    color: #777;
}

/* --- Цитата (шорткод [gp_quote]) --- */
.gp-article-quote {
    margin: 28px 0;
    padding: 24px;
    background: #f7fbf7;
    border-left: 4px solid #4caf50;
    border-radius: 0 12px 12px 0;
    font-style: normal;
}

.gp-article-quote-content {
    margin-bottom: 16px;
}

.gp-article-quote-icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    color: #4caf50;
}

.gp-article-quote-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #333;
    font-weight: 500;
    font-style: italic;
}

.gp-article-quote-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    text-decoration: none;
}

.gp-article-quote-photo-wrap {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #4caf50;
    box-sizing: border-box;
    flex-shrink: 0;
    vertical-align: middle;
    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;
    transition: transform 0.25s ease;
}

a.gp-article-quote-author:hover .gp-article-quote-photo-wrap {
    transform: scale(1.12);
}

.gp-article-quote-author-info {
    display: flex;
    flex-direction: column;
}

.gp-article-quote-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #2e7d32;
}

.gp-article-quote-author-position {
    font-size: 13px;
    color: #555;
}

a.gp-article-quote-author:hover .gp-article-quote-author-name {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gp-article-eeat {
        padding: 0 16px;
    }

    .gp-article-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .gp-article-author-photo {
        width: 70px;
        height: 70px;
    }

    .gp-article-quote {
        padding: 20px;
    }

    .gp-article-quote-text {
        font-size: 16px;
    }
}

/* --- CTA-блок в статье (шорткод [gp_cta]) --- */
.gp-article-cta {
    margin: 28px 0;
    padding: 28px;
    background: #f0f7f0;
    border-radius: 14px;
    text-align: center;
}

.gp-article-cta-text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #1a1a1a;
}

.gp-article-cta-text:empty {
    display: none;
}

.gp-article-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ff7f00;
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gp-article-cta-btn:hover {
    background: #e67300;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .gp-article-cta {
        padding: 22px;
    }
    .gp-article-cta-text {
        font-size: 15px;
    }
    .gp-article-cta-btn {
        padding: 12px 26px;
        font-size: 15px;
    }
}

/* --- Блок автора в начале статьи --- */
.gp-article-author--lead {
    margin-bottom: 28px;
    margin-top: 0;
}

/* --- Блок автора в начале статьи (кликабельный) --- */
a.gp-article-author--lead {
    display: flex;
    text-decoration: none;
    color: inherit;
}

a.gp-article-author--lead:hover {
    text-decoration: none;
}

a.gp-article-author--lead .gp-article-author-name {
    color: #2e7d32;
}

a.gp-article-author--lead:hover .gp-article-author-name {
    text-decoration: underline;
}

/* === FAQ-блок для статей ([gp_faq]) === */
.gp-article-faq {
    margin: 24px 0;
}

.gp-article-faq-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a3c0f;
    margin: 0 0 14px;
}

.gp-article-faq-item {
    background: #f8f9fa;
    border: 1px solid #eceff1;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.gp-article-faq-q {
    cursor: pointer;
    list-style: none;
    padding: 14px 44px 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #1a3c0f;
    position: relative;
}

.gp-article-faq-q::-webkit-details-marker {
    display: none;
}

.gp-article-faq-q::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: #82b02e;
    transition: transform 0.2s;
}

.gp-article-faq-item[open] .gp-article-faq-q::after {
    transform: translateY(-50%) rotate(45deg);
}

.gp-article-faq-a {
    padding: 0 18px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.gp-article-faq-a p {
    margin: 0;
}
