/* assets/css/article.css ===== ARTICLE PAGE LAYOUT ===== */
.article-page {
    padding: 80px 0 60px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: start;
}
/* ===== STAT ROW (цифрові картки) ===== */
.stat-row {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e4e4f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-card .stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5b3fdb;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-lbl {
    font-size: 0.76rem;
    color: #8888aa;
    line-height: 1.3;
}

/* ===== INFOGRAPHIC BOX ===== */
.infographic-box {
    background: #f4f0ff;
    border: 1px solid #d4c8ff;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    margin: 1.75rem 0;
}

.infographic-box .infographic-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: #1a1a2e;
}

.infographic-box svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FAQ BLOCK ===== */
.faq-block {
    margin-top: 2rem;
    background: #fff;
    border: 1px solid #e4e4f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}

.faq-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #1a1a2e;
}

.faq-item {
    border-bottom: 1px solid #f0f0f8;
    padding: 0.9rem 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.35rem;
    border: none;
    padding: 0;
}

.faq-item p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 900px) {
    .stat-row {
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex: 1 1 100%;
    }
}
.article-faq {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e4e4f0;
    border-radius: 14px;
}

.article-faq h2 {
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.faq-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}


/* ===== MAIN CONTENT ===== */
.article-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.25rem;
    color: #1a1a2e;
}

.article-content h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 1.25rem 0 0.5rem;
    color: #2a2a3d;

    padding-left: 12px;
    border-left: 3px solid #ede8ff;
}

.article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.article-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.5rem 0 0.5rem;
    color: #2a2a3d;

    padding-top: 0.75rem;
    border-top: 1px dashed #ececf5;
}

.article-content p {
    font-size: 0.975rem;
    line-height: 1.75;
    color: #3d3d55;
    margin: 0 0 1rem;
}

/* ===== STRUCTURE INFOGRAPHIC ===== */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 1.25rem 0 1.75rem;
}

.structure-item {
    background: #fff;
    border: 1px solid #e4e4f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.structure-item .s-num {
    min-width: 24px;
    height: 24px;
    background: #ede8ff;
    color: #5b3fdb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.structure-item .s-text {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #3d3d55;
}

.structure-item .s-text strong {
    display: block;
    font-size: 0.82rem;
    color: #1a1a2e;
    margin-bottom: 2px;
}

/* ===== FORMAT BOX ===== */
.format-box {
    background: #f4f0ff;
    border: 1px solid #d4c8ff;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin: 1rem 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.format-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.875rem;
}

.format-row .f-label {
    color: #8888aa;
    font-size: 0.8rem;
    min-width: 110px;
    flex-shrink: 0;
}

.format-row .f-val {
    color: #2d1f6e;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== CHECKLIST ===== */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3d3d55;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f8;
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li::before {
    content: '';
    min-width: 18px;
    height: 18px;
    background: #eaf3de;
    border: 1.5px solid #97c459;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2363992A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== WARNING LIST ===== */
.warning-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3d3d55;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f8;
}

.warning-list li:last-child {
    border-bottom: none;
}

.warning-list li::before {
    content: '!';
    min-width: 18px;
    height: 18px;
    background: #faece7;
    border: 1.5px solid #f0997b;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: #993c1d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CTA BLOCK ===== */
.article-cta {
    background: linear-gradient(135deg, #f4f0ff 0%, #ede8ff 100%);
    border: 1px solid #d4c8ff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
}

.article-cta p {
    font-size: 0.975rem;
    color: #2d1f6e;
    margin: 0 0 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.article-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
}

/* ===== SIDEBAR ===== */
.article-sidebar {
    position: sticky;
    top: 90px;
}

/* ===== FAQ BLOCK ===== */
.article-faq {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f4f0ff 0%, #ede8ff 100%);
    border: 1px solid #d4c8ff;
    border-radius: 12px;
}

.article-faq h2 {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.article-faq h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 1rem 0 0.3rem;
    color: #1a1a2e;
    border: none;
    padding: 0;
}

.article-faq p {
    font-size: 0.92rem;
    margin: 0 0 0.8rem;
    color: #3d3d55;
    line-height: 1.6;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e4e4f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.sidebar-card h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8888aa;
    margin: 0 0 0.85rem;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links li:last-child {
    margin-bottom: 0;
}

.sidebar-links a {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #3d3d55;
    text-decoration: none;
    padding: 0.35rem 0;
    transition: color 0.2s;
    border-bottom: 1px solid #f0f0f8;
}

.sidebar-links li:last-child a {
    border-bottom: none;
}

.sidebar-links a:hover {
    color: #5b3fdb;
}

.sidebar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #8888aa;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-back:hover {
    color: #5b3fdb;
}

.sidebar-back::before {
    content: '←';
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
        order: -1;
    }
    .sidebar-card {
        display: none;
    }
    .structure-grid {
        grid-template-columns: 1fr 1fr;
    }
    .format-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .structure-grid {
        grid-template-columns: 1fr;
    }
}