/* =============================================
   РЕДІКОН — Article Content Styles
   Used for all SEO articles
   ============================================= */

/* --- ARTICLE WRAPPER --- */
.article {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* --- HERO IMAGE --- */
.article-hero {
    width: 100%;
    height: 420px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ddd;
    position: relative;
}

.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.75) 0%, transparent 60%);
}

.article-hero-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1;
    background: #e3ae62;
    color: #1a1a2e;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 3px;
}

.article-hero-title {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 1;
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: #fff;
}

.article-hero-title span {
    color: #e3ae62;
}

.article-hero-img {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* --- VIDEO EMBED --- */
.article-video {
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.article-video iframe {
    display: block;
    width: 100%;
}

/* --- CONTENT --- */
.article-body {
    padding: 40px 48px 48px;
}

.article-lead {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 32px;
    border-left: 4px solid #e3ae62;
    padding-left: 20px;
}

.article-body h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a1a2e;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3ae62;
    display: inline-block;
}

.article-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 24px 0 12px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body a {
    color: #1a1a2e;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.article-body a:hover {
    color: #e3ae62;
}

.article-body a.btn-gold {
    color: #1a1a2e;
    text-decoration: none;
}

.article-body a.btn-gold:hover {
    color: #1a1a2e;
    text-decoration: none;
}

.article-body a.btn-outline-light {
    color: #fff;
    text-decoration: none;
}

.article-body a.btn-outline-light:hover {
    color: #fff;
    text-decoration: none;
}

/* --- LIST --- */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.article-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 15px;
    color: #444;
}

.article-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    background: #e3ae62;
    border-radius: 50%;
}

/* --- NUMBERED LIST --- */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    counter-reset: step;
}

.steps-list li {
    position: relative;
    padding: 12px 0 12px 52px;
    font-size: 15px;
    color: #444;
    counter-increment: step;
    border-bottom: 1px solid #f0f0f0;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 36px;
    height: 36px;
    background: #1a1a2e;
    color: #e3ae62;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list li strong {
    color: #1a1a2e;
}

/* --- COMPARISON TABLE --- */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 28px;
    font-size: 14px;
}

.compare-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    text-align: left;
}

.compare-table thead th:first-child {
    border-radius: 4px 0 0 0;
}

.compare-table thead th:last-child {
    border-radius: 0 4px 0 0;
}

.compare-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.compare-table td:first-child {
    font-weight: 600;
    color: #1a1a2e;
    width: 28%;
}

.compare-table .highlight-col {
    background: rgba(227, 174, 98, 0.08);
}

.compare-table thead th.highlight-col {
    background: #2a2a4e;
}

.compare-table .winner {
    color: #2a7d2a;
    font-weight: 600;
}

/* --- SPECS TABLE --- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 28px;
    font-size: 15px;
}

.specs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
    color: #595959;
    width: 45%;
}

.specs-table td:last-child {
    font-weight: 600;
    color: #1a1a2e;
}

/* --- PRICE TABLE --- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 28px;
    font-size: 14px;
}

.price-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 14px;
    text-align: left;
}

.price-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

.price-table tr:nth-child(even) {
    background: #fafafa;
}

.price-table .price-accent {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 15px;
}

/* --- RESULT CARDS --- */
.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0 32px;
}

.result-card {
    background: #1a1a2e;
    border-left: 3px solid #e3ae62;
    border-radius: 4px;
    padding: 16px 20px;
}

.result-card strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #e3ae62;
    line-height: 1.2;
}

.result-card span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* --- IMAGE ROW --- */
.article-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.article-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
}

.article-images figcaption {
    font-size: 12px;
    color: #707070;
    text-align: center;
    margin-top: 6px;
}

/* --- QUOTE --- */
.article-quote {
    background: #1a1a2e;
    border-radius: 6px;
    padding: 28px 32px;
    margin: 32px 0;
    position: relative;
}

.article-quote::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    color: #e3ae62;
    line-height: 1;
    opacity: .4;
}

.article-quote p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding-left: 36px;
}

.article-quote-author {
    color: #e3ae62;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    margin-top: 12px;
    padding-left: 36px;
    display: block;
}

/* --- ADVANTAGES GRID --- */
.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0 28px;
}

.adv-card {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 20px;
}

.adv-card-icon {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}

.adv-card-icon svg {
    display: block;
}

.adv-card h3,
.adv-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.adv-card p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* --- FAQ --- */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.faq-question::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    font-weight: 700;
    color: #e3ae62;
}

.faq-answer {
    font-size: 14px;
    color: #555;
    padding-left: 24px;
    margin: 0;
}

/* --- CTA BLOCK --- */
.article-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
    border-radius: 8px;
    padding: 36px;
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.article-cta-text {
    flex: 1;
}

.article-cta-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.article-cta-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.article-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

/* --- COMPANY TAG --- */
.article-company {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.article-company img {
    height: 36px;
}

.article-company-info {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.article-company-info strong {
    color: #1a1a2e;
    font-size: 14px;
}

/* --- TOC --- */
.toc {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.toc-title {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
}

.toc li {
    font-size: 14px;
    padding: 4px 0;
}

.toc a {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.toc a:hover {
    color: #e3ae62;
}

/* --- NOTE BOX --- */
.note-box {
    background: rgba(227, 174, 98, 0.08);
    border-left: 3px solid #e3ae62;
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    margin: 20px 0 24px;
    font-size: 14px;
    color: #555;
}

.note-box strong {
    color: #1a1a2e;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .article-body {
        padding: 28px 24px 32px;
    }

    .article-hero {
        height: 280px;
    }

    .article-hero-title {
        font-size: 22px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .result-grid,
    .adv-grid,
    .article-images {
        grid-template-columns: 1fr;
    }

    .article-images img {
        height: 200px;
    }

    .article-cta {
        flex-direction: column;
        text-align: center;
    }

    .compare-table,
    .price-table {
        font-size: 13px;
    }

    .compare-table td,
    .compare-table th,
    .price-table td,
    .price-table th {
        padding: 8px 10px;
    }
}
