/* ============================================================
   СТАТЬЯ
   ============================================================ */

.article-hero {
    padding: 4rem 1rem 3rem;
    background: var(--c-muted, #FAFAFA);
    border-bottom: 1px solid var(--c-border, #E5E5E5);
}

.article-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero__title {
    font-family: Comfortaa, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--c-primary, #1E1E1E);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-hero__subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.5;
}

.article {
    padding: 3rem 1rem 5rem;
}

.article__inner {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Текстовый блок --- */
.article-text {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.article-text p {
    margin-bottom: 1rem;
}

/* --- Блок ошибки --- */
.article-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--c-border, #E5E5E5);
}

.article-section__title {
    font-family: Comfortaa, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-primary, #1E1E1E);
    margin-bottom: 0.5rem;
}

.article-section__subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Теги */
.article-section__tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.tag--dangerous {
    background: #FFEBEB;
    color: #D32F2F;
}

.tag--uncomfortable {
    background: #FFF3E0;
    color: #F57C00;
}

.tag--unsightly {
    background: #E3F2FD;
    color: #1976D2;
}

/* Блок "Решение" */
.article-section__solution {
    background: #F0FDF4;
    border-left: 4px solid #4CAF50;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}

.article-section__solution-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E7D32;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.article-section__solution p {
    margin: 0;
    color: #1B5E20;
    line-height: 1.6;
}

/* --- Врезки (Callout) --- */
.article-callout {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.article-callout--tip {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
}

.article-callout--warning {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
}

.article-callout__title {
    font-family: Comfortaa, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.article-callout--tip .article-callout__title {
    color: #166534;
}

.article-callout--warning .article-callout__title {
    color: #92400E;
}

/* --- CTA-баннер в статье --- */
.article-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--c-primary, #1E1E1E);
    color: #FFF;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.article-cta__title {
    font-family: Comfortaa, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.article-cta__desc {
    color: #D1D1D1;
    line-height: 1.5;
}

/* ============================================================
   CTA-БАННЕР В СТАТЬЕ (ВЫРАВНИВАНИЕ КНОПКИ)
   ============================================================ */

.article-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    min-height: 48px;
    white-space: normal;
}

@media (width >=768px) {
    .article-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .article-cta__text {
        max-width: 70%;
    }
}

/* ============================================================
   ССЫЛКИ В БЛОКЕ "КАК ДЕЛАЕМ МЫ" (ЗОЛОТОЙ АКЦЕНТ + СТРЕЛКА)
   ============================================================ */

.article-section__solution a {
    color: #C8963E;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

/* Стрелка после ссылки */
.article-section__solution a::after {
    content: " →";
    font-size: 0.9em;
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Эффект при наведении */
.article-section__solution a:hover {
    border-bottom-color: #C8963E;
    color: #A67B2E;
}

.article-section__solution a:hover::after {
    transform: translateX(4px);
}