/* ============================================================
   EverStrong PT — Blog Article Shared Styles
   Used by all /blog/[slug].html pages
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    background: #f8faf9;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}
.breadcrumb {
    display: flex; align-items: center; gap: 6px;
    flex-wrap: wrap;
    font-size: 13px; color: #6b7280;
    list-style: none; margin: 0; padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: #4caf82; text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #d1d5db; font-size: 11px; }

/* ===== ARTICLE HERO ===== */
.article-hero {
    background: linear-gradient(160deg, #0d1e17 0%, #132b20 60%, #1a3828 100%);
    padding: 64px 0 56px;
    position: relative; overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,130,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.article-hero__inner {
    position: relative; z-index: 1;
    max-width: 800px;
}
.article-hero__cat {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(76,175,130,0.18); color: #3dd6a3;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px;
    border: 1px solid rgba(76,175,130,0.3);
    text-decoration: none; margin-bottom: 18px;
}
.article-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700; color: #ffffff;
    line-height: 1.2; margin-bottom: 20px;
}
.article-hero__meta {
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap; margin-bottom: 28px;
}
.article-hero__meta-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; color: rgba(255,255,255,0.65);
}
.article-hero__meta-item i { color: #4caf82; font-size: 13px; }
.article-hero__meta-item strong { color: #ffffff; }
.article-hero__excerpt {
    font-size: 17px; color: rgba(255,255,255,0.72);
    line-height: 1.7; max-width: 680px;
}

/* ===== ARTICLE LAYOUT ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    padding: 56px 0 80px;
}

/* ===== ARTICLE BODY ===== */
.article-body {
    min-width: 0;
}
.article-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px; font-weight: 700;
    color: #0d1e17; line-height: 1.25;
    margin: 40px 0 16px;
    padding-top: 8px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    font-size: 19px; font-weight: 700;
    color: #1a3828; line-height: 1.3;
    margin: 28px 0 12px;
}
.article-body h4 {
    font-size: 16px; font-weight: 700;
    color: #0d1e17; margin: 20px 0 8px;
}
.article-body p {
    font-size: 16px; color: #374151;
    line-height: 1.8; margin-bottom: 18px;
}
.article-body ul, .article-body ol {
    margin: 0 0 20px 0; padding-left: 24px;
}
.article-body li {
    font-size: 16px; color: #374151;
    line-height: 1.75; margin-bottom: 8px;
}
.article-body a {
    color: #4caf82; text-decoration: underline;
    text-underline-offset: 2px;
}
.article-body a:hover { color: #3a9e72; }
.article-body strong { color: #0d1e17; font-weight: 700; }

/* LEAD PARAGRAPH */
.article-body .lead {
    font-size: 18px; color: #1f2937;
    line-height: 1.8; font-weight: 400;
    border-left: 3px solid #4caf82;
    padding-left: 20px; margin-bottom: 28px;
}

/* CALLOUT BOXES */
.callout {
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
}
.callout--green {
    background: #eaf7f0;
    border: 1.5px solid rgba(76,175,130,0.25);
}
.callout--green .callout__icon { color: #4caf82; }
.callout--yellow {
    background: #fffbea;
    border: 1.5px solid rgba(245,200,66,0.3);
}
.callout--yellow .callout__icon { color: #d97706; }
.callout--blue {
    background: #eff6ff;
    border: 1.5px solid rgba(59,130,246,0.2);
}
.callout--blue .callout__icon { color: #3b82f6; }
.callout__header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.callout__icon { font-size: 18px; }
.callout__title {
    font-size: 15px; font-weight: 700; color: #0d1e17;
}
.callout p { margin: 0; font-size: 15px; color: #374151; line-height: 1.65; }
.callout ul { margin: 8px 0 0; }
.callout li { font-size: 15px; margin-bottom: 5px; }

/* STAT HIGHLIGHT */
.stat-highlight {
    display: flex; align-items: center; gap: 20px;
    background: linear-gradient(135deg, #0d1e17 0%, #1a3828 100%);
    border-radius: 16px; padding: 24px 28px;
    margin: 32px 0;
}
.stat-highlight__num {
    font-size: 48px; font-weight: 800;
    color: #4caf82; line-height: 1;
    white-space: nowrap;
}
.stat-highlight__text {
    font-size: 15px; color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.stat-highlight__text strong { color: #ffffff; display: block; font-size: 16px; }

/* TIMELINE */
.timeline { list-style: none; padding: 0; margin: 24px 0 28px; }
.timeline-item {
    display: flex; gap: 20px;
    margin-bottom: 24px; position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute; left: 19px; top: 40px;
    width: 2px; bottom: -24px;
    background: #e5e7eb;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #4caf82, #3dd6a3);
    color: #ffffff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; box-shadow: 0 4px 12px rgba(76,175,130,0.3);
}
.timeline-content h4 { margin: 0 0 5px; font-size: 16px; color: #0d1e17; }
.timeline-content p { margin: 0; font-size: 14px; color: #6b7280; line-height: 1.6; }

/* COMPARISON TABLE */
.comparison-table {
    width: 100%; border-collapse: collapse;
    margin: 24px 0 28px; font-size: 15px;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.comparison-table th {
    background: #0d1e17; color: #ffffff;
    padding: 14px 18px; text-align: left;
    font-weight: 600; font-size: 14px;
}
.comparison-table th:first-child { border-radius: 12px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 12px 0 0; }
.comparison-table td {
    padding: 12px 18px; border-bottom: 1px solid #f0f0f0;
    color: #374151; vertical-align: top; line-height: 1.55;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: #f8faf9; }
.comparison-table .yes { color: #4caf82; font-weight: 600; }
.comparison-table .no { color: #ef4444; font-weight: 600; }

/* EXERCISE CARD */
.exercise-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 18px; margin: 24px 0;
}
.exercise-card {
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 14px; padding: 20px;
}
.exercise-card__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, #4caf82, #3dd6a3);
    color: #ffffff; font-size: 14px; font-weight: 700;
    margin-bottom: 10px;
}
.exercise-card h4 { margin: 0 0 6px; font-size: 15px; color: #0d1e17; }
.exercise-card p { margin: 0; font-size: 13px; color: #6b7280; line-height: 1.55; }
.exercise-card__sets {
    display: inline-block; margin-top: 8px;
    background: rgba(76,175,130,0.12); color: #2d8a60;
    font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}

/* FAQ SECTION */
.faq-section { margin: 40px 0; }
.faq-section h2 { margin-bottom: 24px; }
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px; margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; cursor: pointer;
    background: #ffffff; transition: background 0.2s;
    gap: 12px;
    border: none; width: 100%; text-align: left;
    font-family: 'Inter', sans-serif;
}
.faq-question:hover { background: #f8faf9; }
.faq-question h3 {
    font-size: 16px; font-weight: 600; color: #0d1e17;
    margin: 0; line-height: 1.4;
}
.faq-toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: #eaf7f0; color: #4caf82;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: #4caf82; color: #fff; }
.faq-answer {
    padding: 0 22px; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    background: #ffffff;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 18px; }
.faq-answer p { margin: 0; font-size: 15px; color: #4b5563; line-height: 1.7; }

/* ARTICLE CTA INLINE */
.article-cta {
    background: linear-gradient(135deg, #0d1e17 0%, #1a3828 100%);
    border-radius: 18px; padding: 32px 36px;
    margin: 36px 0; text-align: center;
    position: relative; overflow: hidden;
}
/* Force correct button colours inside the dark CTA block.
   .article-body a { color: #4caf82 } would otherwise make text invisible
   on the green button background. Hardcoded hex — no var() race condition. */
.article-cta .btn-primary,
.article-cta a.btn-primary,
.article-cta .btn.btn-primary {
    background: #4caf82 !important;
    color: #ffffff !important;
    border-color: #4caf82 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}
.article-cta .btn-primary:hover,
.article-cta a.btn-primary:hover,
.article-cta .btn.btn-primary:hover {
    background: #3a9e72 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
/* Outline button inside dark CTA */
.article-cta .btn-outline,
.article-cta a.btn-outline,
.article-cta .btn.btn-outline {
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}
.article-cta .btn-outline:hover,
.article-cta a.btn-outline:hover,
.article-cta .btn.btn-outline:hover {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.article-cta::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,130,0.15) 0%, transparent 70%);
}
.article-cta__tag {
    display: inline-block;
    background: rgba(76,175,130,0.18); color: #3dd6a3;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 13px; border-radius: 50px; margin-bottom: 12px;
}
.article-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px; font-weight: 700; color: #ffffff;
    margin-bottom: 10px; line-height: 1.3;
}
.article-cta p {
    font-size: 15px; color: rgba(255,255,255,0.7);
    margin-bottom: 22px; line-height: 1.6;
}
.article-cta__btns {
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 7px;
    background: #4caf82; color: #ffffff;
    padding: 12px 24px; border-radius: 10px;
    font-weight: 700; font-size: 14px;
    text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.btn-cta-primary:hover { background: #3a9e72; transform: translateY(-2px); }
.btn-cta-secondary {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,0.08); color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.2);
    padding: 12px 24px; border-radius: 10px;
    font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all 0.2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* AUTHOR BIO */
.author-bio {
    display: flex; gap: 20px;
    background: #f8faf9; border-radius: 16px;
    padding: 24px; margin: 40px 0;
    border: 1px solid #e5e7eb;
}
.author-bio__photo {
    width: 80px; height: 80px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
}
.author-bio__info { flex: 1; }
.author-bio__label {
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: #4caf82; margin-bottom: 4px;
}
.author-bio__name {
    font-size: 18px; font-weight: 700; color: #0d1e17;
    margin-bottom: 6px;
}
.author-bio__creds {
    font-size: 13px; color: #4caf82; font-weight: 500; margin-bottom: 8px;
}
.author-bio__text {
    font-size: 14px; color: #4b5563; line-height: 1.65; margin: 0;
}

/* RELATED ARTICLES */
.related-articles { margin-top: 48px; }
.related-articles h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px; margin-bottom: 24px; color: #0d1e17;
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.related-card {
    background: #ffffff; border-radius: 14px;
    overflow: hidden; border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.related-card__img {
    height: 150px; overflow: hidden;
}
.related-card__img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s;
}
.related-card:hover .related-card__img img { transform: scale(1.06); }
.related-card__body { padding: 16px; }
.related-card__title {
    font-size: 14px; font-weight: 700; color: #0d1e17;
    line-height: 1.35; margin-bottom: 8px;
}
.related-card__link {
    font-size: 13px; color: #4caf82; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}
.related-card__link i { font-size: 10px; }

/* ===== SIDEBAR ===== */
.article-sidebar { position: sticky; top: 96px; }

/* TOC */
.toc-box {
    background: #ffffff; border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden; margin-bottom: 24px;
}
.toc-box__header {
    background: #0d1e17; padding: 16px 20px;
    display: flex; align-items: center; gap: 10px;
}
.toc-box__header i { color: #4caf82; }
.toc-box__header span {
    font-size: 13px; font-weight: 700; color: #ffffff;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.toc-list { list-style: none; padding: 16px 20px; margin: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
    display: block; font-size: 13px; color: #4b5563;
    text-decoration: none; padding: 5px 8px; border-radius: 7px;
    transition: all 0.2s; line-height: 1.4; font-weight: 500;
    border-left: 2px solid transparent;
}
.toc-list a:hover, .toc-list a.active {
    background: #eaf7f0; color: #4caf82;
    border-left-color: #4caf82; padding-left: 12px;
}
.toc-list li.toc-sub a { padding-left: 20px; font-size: 12px; color: #6b7280; }
.toc-list li.toc-sub a:hover { padding-left: 24px; }

/* SIDEBAR CTA */
.sidebar-cta {
    background: linear-gradient(160deg, #0d1e17 0%, #1a3828 100%);
    border-radius: 16px; padding: 26px 22px;
    text-align: center; margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.sidebar-cta::before {
    content: '';
    position: absolute; top: -30px; right: -30px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,130,0.15) 0%, transparent 70%);
}
.sidebar-cta__icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #4caf82, #3dd6a3);
    color: #ffffff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(76,175,130,0.3);
    position: relative; z-index: 1;
}
.sidebar-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px; font-weight: 700; color: #ffffff;
    margin-bottom: 8px; line-height: 1.3; position: relative; z-index: 1;
}
.sidebar-cta p {
    font-size: 13px; color: rgba(255,255,255,0.65);
    line-height: 1.6; margin-bottom: 18px; position: relative; z-index: 1;
}
.sidebar-cta__btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: #4caf82; color: #ffffff;
    padding: 11px 18px; border-radius: 10px;
    font-weight: 700; font-size: 13px;
    text-decoration: none; margin-bottom: 10px;
    transition: background 0.2s; position: relative; z-index: 1;
}
.sidebar-cta__btn:hover { background: #3a9e72; }
.sidebar-cta__phone {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600;
    text-decoration: none; position: relative; z-index: 1;
    transition: color 0.2s;
}
.sidebar-cta__phone i { color: #3dd6a3; }
.sidebar-cta__phone:hover { color: #ffffff; }

/* SIDEBAR INFO BOX */
.sidebar-info {
    background: #f8faf9; border-radius: 14px;
    border: 1px solid #e5e7eb; padding: 20px;
    margin-bottom: 24px;
}
.sidebar-info h4 {
    font-size: 14px; font-weight: 700; color: #0d1e17;
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.sidebar-info h4 i { color: #4caf82; }
.sidebar-info ul { list-style: none; padding: 0; margin: 0; }
.sidebar-info li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #4b5563; margin-bottom: 8px; line-height: 1.5;
}
.sidebar-info li i { color: #4caf82; margin-top: 2px; font-size: 11px; flex-shrink: 0; }

/* BACK TO BLOG */
.back-to-blog {
    display: inline-flex; align-items: center; gap: 7px;
    color: #4caf82; font-size: 14px; font-weight: 600;
    text-decoration: none; margin-bottom: 32px;
    padding: 8px 0;
}
.back-to-blog i { font-size: 12px; }
.back-to-blog:hover { color: #3a9e72; }
.back-to-blog:hover i { transform: translateX(-3px); }
.back-to-blog i { transition: transform 0.2s; }

/* ============================================================
   ALIAS CLASSES — статьи 13–24 используют эти имена,
   они маппятся на существующие стили выше.
   ============================================================ */

/* stat-highlight: __number → __num */
.stat-highlight__number {
    font-size: 48px; font-weight: 800;
    color: #4caf82; line-height: 1;
    white-space: nowrap;
}

/* exercise-card: заголовок через div вместо h4 */
.exercise-card__title {
    font-size: 15px; font-weight: 700;
    color: #0d1e17; margin: 0 0 6px;
    line-height: 1.3;
}

/* author-bio: аватар-инициалы вместо фото */
.author-bio__avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #4caf82, #3dd6a3);
    color: #ffffff; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(76,175,130,0.35);
}

/* TOC: новые имена классов */
.toc-box__title {
    background: #0d1e17; padding: 14px 20px;
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; color: #ffffff;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.toc-box__title i { color: #4caf82; }
.toc-box__list {
    list-style: none; padding: 14px 20px; margin: 0;
}
.toc-box__list li { margin-bottom: 4px; }
.toc-link {
    display: block; font-size: 13px; color: #4b5563;
    text-decoration: none; padding: 5px 8px; border-radius: 7px;
    transition: all 0.2s; line-height: 1.4; font-weight: 500;
    border-left: 2px solid transparent;
}
.toc-link:hover, .toc-link.active {
    background: #eaf7f0; color: #4caf82;
    border-left-color: #4caf82; padding-left: 12px;
}

/* Sidebar CTA — заголовок div */
.sidebar-cta__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px; font-weight: 700; color: #ffffff;
    margin-bottom: 8px; line-height: 1.3;
    position: relative; z-index: 1;
}

/* Sidebar info — заголовок div */
.sidebar-info__title {
    font-size: 13px; font-weight: 700; color: #0d1e17;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 7px;
}
.sidebar-info__title i { color: #4caf82; }
.sidebar-info p {
    font-size: 13px; color: #4b5563;
    line-height: 1.6; margin: 0 0 6px;
}
.sidebar-info strong { color: #0d1e17; }

/* Related articles — section wrapper */
.related-articles {
    background: #f8faf9;
    padding: 56px 0;
    margin-top: 0;
}
.related-articles__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px; font-weight: 700; color: #0d1e17;
    margin-bottom: 28px;
}
/* Related card — элементы */
.related-card__cat {
    display: inline-flex; align-items: center;
    background: #eaf7f0; color: #2d8a60;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.7px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 50px;
    margin-bottom: 10px;
}
.related-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px; font-weight: 700; color: #0d1e17;
    line-height: 1.35; margin-bottom: 10px;
}
.related-card__meta {
    font-size: 12px; color: #9ca3af;
    display: flex; align-items: center; gap: 6px;
}

/* related-card body padding for text-only cards */
.related-card { padding: 20px; }
.related-card__img + .related-card__body { padding: 16px; }

/* FAQ: стрелка fa-chevron-down (статьи 13–24 используют i.fas.fa-chevron-down вместо .faq-toggle) */
.faq-question .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 13px; color: #4caf82;
    flex-shrink: 0;
}
.faq-item.open .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}
.faq-question {
    font-size: 15px; font-weight: 600; color: #0d1e17;
    line-height: 1.4;
}

/* Back-to-blog как <a> с дочерним i */
a.back-to-blog {
    display: inline-flex; align-items: center; gap: 8px;
    color: #4caf82; font-size: 14px; font-weight: 600;
    text-decoration: none; margin: 0 0 32px;
}
a.back-to-blog:hover { color: #3a9e72; }
a.back-to-blog i { font-size: 12px; transition: transform 0.2s; }
a.back-to-blog:hover i { transform: translateX(-3px); }

/* Sidebar CTA .btn внутри тёмного блока */
.sidebar-cta .btn-primary,
.sidebar-cta a.btn-primary {
    background: #4caf82 !important;
    color: #ffffff !important;
    border-color: #4caf82 !important;
    text-decoration: none !important;
    display: block;
    text-align: center;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
    transition: background 0.2s;
}
.sidebar-cta .btn-primary:hover,
.sidebar-cta a.btn-primary:hover {
    background: #3a9e72 !important;
    color: #ffffff !important;
}
/* Sidebar phone link */
.sidebar-cta__phone {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600;
    text-decoration: none; position: relative; z-index: 1;
    transition: color 0.2s; margin-top: 8px;
}
.sidebar-cta__phone i { color: #3dd6a3; }
.sidebar-cta__phone:hover { color: #ffffff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; gap: 32px; }
    .article-sidebar { position: static; }
    .toc-box { display: none; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .article-hero { padding: 48px 0 40px; }
    .article-hero__title { font-size: 26px; }
    .article-cta { padding: 24px 20px; }
    .author-bio { flex-direction: column; align-items: center; text-align: center; }
    .exercise-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .stat-highlight { flex-direction: column; text-align: center; }
}
