/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #2c5f2d 0%, #4caf50 100%);
    color: white;
    padding: 80px 20px 60px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.article-updated {
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.article-author {
    font-size: 14px;
    opacity: 0.8;
}

/* Featured Image */
.article-featured-image {
    padding: 0 20px;
    background: white;
}
.featured-figure {
    max-width: 700px;
    margin: 30px auto 0;
}
.featured-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.featured-figure figcaption {
    font-size: 0.8rem;
    color: #767676;
    text-align: right;
    margin-top: 6px;
    font-style: italic;
}

/* Article Layout */
.article-section {
    padding: 60px 20px;
    background: white;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #4caf50;
}

.sidebar-cta h4 {
    margin-bottom: 10px;
    color: #2c5f2d;
}

.sidebar-cta p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-sidebar {
    display: block;
    background: #2e7d32;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-sidebar:hover {
    background: #2c5f2d;
    transform: translateY(-2px);
}

/* Sidebar Amazon */
.sidebar-amazon {
    background: linear-gradient(180deg, #fffef9 0%, #fff5e5 100%);
    padding: 24px;
    border-radius: 18px;
    margin-bottom: 30px;
    border: 1px solid rgba(228, 121, 17, 0.16);
    box-shadow: 0 16px 34px rgba(122, 89, 35, 0.08);
}

.sidebar-amazon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(228, 121, 17, 0.12);
    color: #8a5409;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-amazon h4 {
    margin-bottom: 14px;
    color: #5c4317;
}

.sidebar-amazon-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.sidebar-amazon-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(228, 121, 17, 0.14);
    color: #4b3a1d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-amazon-link:hover {
    transform: translateY(-2px);
    border-color: rgba(228, 121, 17, 0.34);
    box-shadow: 0 12px 24px rgba(122, 89, 35, 0.1);
    color: #704b09;
}

.sidebar-amazon-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff0d9;
}

.amazon-disclaimer {
    font-size: 11px;
    color: #8b7556;
    margin: 0;
    font-style: italic;
}

.sidebar-share {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.sidebar-share h4 {
    margin-bottom: 15px;
    color: #2c5f2d;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: block;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

/* Article Content */
.article-main {
    min-width: 0;
    width: 100%;
    max-width: 800px;
}

.article-content h2 {
    font-size: 32px;
    color: #2c5f2d;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4caf50;
}

.article-content h3 {
    font-size: 24px;
    color: #2c5f2d;
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 20px;
    color: #333;
    margin: 25px 0 10px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Info Boxes */
.info-box,
.warning-box,
.user-tip {
    padding: 20px 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.info-box.success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.warning-box.danger {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.user-tip {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.user-quote {
    background: #f5f5f5;
    border-left: 4px solid #999;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
}

.user-quote footer {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-style: normal;
}

/* Tables */
.data-table,
.comparison-table,
.app-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.data-table th,
.comparison-table th,
.app-table th {
    background: #2c5f2d;
    color: white;
    padding: 12px;
    text-align: left;
}

.data-table td,
.comparison-table td,
.app-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.data-table tr:hover,
.comparison-table tr:hover,
.app-table tr:hover {
    background: #f8f9fa;
}

/* Product Recommendations */
.product-recommendation {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #4caf50;
}

.product-recommendation h4 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.user-feedback {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

/* Checklists */
.checklist {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 8px 0;
}

/* FAQ Extended */
.faq-extended {
    margin: 30px 0;
}

.faq-extended-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #4caf50;
}

.faq-extended-item h4 {
    color: #2c5f2d;
    margin-bottom: 15px;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 50px 0;
    border: 2px solid #4caf50;
}

/* Article End CTA */
/* Amazon CTA in article */
.article-amazon-cta {
    background: linear-gradient(180deg, #fffefb 0%, #fff5e4 100%);
    color: var(--text);
    padding: 40px 35px;
    border-radius: 22px;
    text-align: center;
    margin: 50px 0 30px;
    border: 1px solid rgba(228, 121, 17, 0.18);
    box-shadow: 0 18px 38px rgba(122, 89, 35, 0.1);
}
.article-amazon-cta h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #5c4317;
}
.article-amazon-cta p {
    font-size: 16px;
    margin-bottom: 0;
    color: #6b5a44;
}
.article-amazon-cta .amazon-disclaimer {
    color: #8b7556;
    margin-top: 14px;
}
.btn-amazon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f5a27 0%, #2f7a38 100%);
    color: white;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(31, 90, 39, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(31, 90, 39, 0.28);
    color: white;
}

.article-end-cta {
    background: linear-gradient(135deg, #4caf50 0%, #2c5f2d 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0 40px;
}

.article-end-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.article-end-cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-cta-large {
    display: inline-block;
    background: white;
    color: #2c5f2d;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 4px solid #4caf50;
}

.table-of-contents h3 {
    margin-bottom: 20px;
    color: #2c5f2d;
}

.table-of-contents ol {
    padding-left: 25px;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 500;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        display: none;
    }

    .article-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    /* ТАБЛИЦЫ В КАРТОЧКИ */
    .data-table,
    .comparison-table,
    .app-table {
        border: none;
    }

    /* Прячем заголовки таблицы */
    .data-table thead,
    .comparison-table thead,
    .app-table thead {
        display: none;
    }

    /* Каждая строка = карточка */
    .data-table tbody,
    .comparison-table tbody,
    .app-table tbody {
        display: block;
    }

    .data-table tr,
    .comparison-table tr,
    .app-table tr {
        display: block;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
    }

    .data-table tr:hover,
    .comparison-table tr:hover,
    .app-table tr:hover {
        background: #f8f9fa;
    }

    /* Ячейки на всю ширину */
    .data-table td,
    .comparison-table td,
    .app-table td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
        font-size: 14px;
    }

    .data-table td:first-child,
    .comparison-table td:first-child,
    .app-table td:first-child {
        font-weight: bold;
        color: #2c5f2d;
        font-size: 16px;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 2px solid #4caf50;
    }

    /* Остальные элементы */
    .article-hero {
        padding: 60px 20px 40px;
    }

    .article-hero h1 {
        font-size: 28px;
    }

    .article-lead {
        font-size: 16px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .info-box,
    .warning-box,
    .user-tip,
    .user-quote {
        padding: 15px 20px;
        margin: 20px 0;
    }

    .product-recommendation,
    .checklist,
    .faq-extended-item {
        padding: 20px;
    }

    .conclusion-box {
        padding: 30px 20px;
    }

    .article-end-cta {
        padding: 40px 25px;
        margin: 40px 0 30px;
    }

    .article-end-cta h3 {
        font-size: 24px;
    }

    .article-end-cta p {
        font-size: 16px;
    }

    .btn-cta-large {
        padding: 15px 30px;
        font-size: 18px;
    }

    .table-of-contents {
        padding: 20px;
        margin: 30px 0;
    }
}

/* Related Articles */
.related-articles-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.related-articles-title {
    font-size: 1.5rem;
    color: #2c5f2d;
    margin-bottom: 1.25rem;
    text-align: center;
}

.related-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.related-article-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.15s;
}

.related-article-card:first-child {
    border-top: 1px solid #e8e8e8;
}

.related-article-card:hover {
    background: #f0f7f0;
}

.related-article-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.related-article-text strong {
    font-size: 0.95rem;
    color: #2c5f2d;
    line-height: 1.3;
}

.related-article-text span {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-arrow {
    flex-shrink: 0;
    color: #2c5f2d;
    opacity: 0.3;
    transition: opacity 0.15s, transform 0.15s;
}

.related-article-card:hover .related-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ===== Amazon Product Cards ===== */
.product-grid-block {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border: 1px solid #e4e7e4;
    border-radius: 14px;
    background: #fbfcfb;
}
.pgrid-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.2rem;
}
.pgrid-head h3 {
    margin: 0;
    font-size: 1.35rem;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.1rem .9rem 1.2rem;
    background: #fff;
    border: 1px solid #e4e7e4;
    border-radius: 12px;
    transition: box-shadow .15s, transform .15s;
}
.pcard:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.pcard-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #2e7d32;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: .25rem .7rem;
    border-radius: 999px;
}
.pcard-imglink { display: block; margin: .4rem 0 .8rem; }
.pcard-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}
.pcard-title {
    margin: 0 0 .5rem;
    font-size: 1rem;
    line-height: 1.3;
}
.pcard-blurb {
    margin: 0 0 1rem;
    font-size: .86rem;
    color: #555;
    flex-grow: 1;
}
.pcard-btn {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    background: #b45309;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    padding: .65rem 1rem;
    border-radius: 8px;
    transition: background .15s;
}
.pcard-btn:hover { background: #9a4708; }
@media (max-width: 480px) {
    .pgrid-head { flex-direction: column; align-items: flex-start; }
    .product-grid { grid-template-columns: 1fr; }
    .pcard-img { width: 130px; height: 130px; }
}

/* ===== UK Kit Pillar (the exact kit to buy) ===== */
.kit-pillar {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border: 2px solid #2e7d32;
    border-radius: 14px;
    background: #f6fbf6;
}
.kit-pillar h2 { margin-top: 0; }
.kit-table-wrap { overflow-x: auto; }
.kit-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
}
.kit-table th, .kit-table td {
    padding: .7rem .8rem;
    border-bottom: 1px solid #e4e7e4;
    text-align: left;
    vertical-align: middle;
    font-size: .92rem;
}
.kit-table th { background: #2e7d32; color: #fff; font-weight: 600; }
.kit-table tr:last-child td { border-bottom: none; }
.kit-btn {
    display: inline-block;
    white-space: nowrap;
    background: #b45309;
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    padding: .45rem .8rem;
    border-radius: 8px;
}
.kit-btn:hover { background: #9a4708; }
.kit-total {
    font-size: 1.02rem;
    background: #eef7ee;
    border-left: 4px solid #2e7d32;
    padding: .8rem 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}
.kit-shortcut {
    background: #fff7ed;
    border: 1px solid #f0c79a;
    border-radius: 10px;
    padding: .9rem 1.1rem;
    margin-top: 1rem;
}
.kit-shortcut a, .kit-table a:not(.kit-btn) { color: #b45309; font-weight: 600; }
/* Funnel CTA box in info articles */
.funnel-cta {
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(135deg, #f6fbf6 0%, #eef7ee 100%);
    border: 1px solid #cde8cd;
    border-radius: 12px;
}
.funnel-cta strong { color: #2e7d32; }
.funnel-cta a {
    display: inline-block;
    margin-top: .6rem;
    background: #2e7d32;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: .55rem 1.1rem;
    border-radius: 8px;
}
.funnel-cta a:hover { background: #256528; }

/* kit table product thumbnails */
.kit-pick { display: flex; align-items: center; gap: .7rem; }
.kit-thumb {
    width: 60px; height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}
@media (max-width: 560px){ .kit-thumb { width: 46px; height: 46px; } .kit-table th, .kit-table td { padding: .5rem; font-size: .82rem; } }

/* text-only product cards (no image, e.g. US where amazon.com images unavailable) */
.pcard-noimg { text-align: left; padding-top: 1.5rem; justify-content: flex-start; }
.pcard-noimg .pcard-title, .pcard-noimg .pcard-blurb { text-align: left; }
.pcard-noimg .pcard-blurb { flex-grow: 1; }

.pcard-btn-ecoflow{background:#0a5fd4}.pcard-btn-ecoflow:hover{background:#084db0}.article-amazon-cta .amazon-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;margin-bottom:16px;border-radius:999px;background:rgba(228,121,17,.12);color:#8a5409;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.amazon-quick-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px 0}.amazon-quick-link{display:inline-flex;align-items:center;padding:11px 20px;background:#fff;border:1px solid rgba(228,121,17,.22);border-radius:999px;color:#6b4a12;text-decoration:none;font-size:14px;font-weight:600;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease}.amazon-quick-link:hover{transform:translateY(-2px);border-color:rgba(228,121,17,.45);box-shadow:0 12px 24px rgba(122,89,35,.12);color:#8a5409}
