/* =========================================================
   Editorial articles (beautos.be/article/*)
   Matches the visual language of the guides pages.
   ========================================================= */

.article-page { padding-top: 0; }
.article-container { max-width: 760px; }

.article-short-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    color: var(--text);
    margin: 4px 0 20px;
    text-wrap: balance;
}

.article-hero {
    margin: 8px 0 26px;
    padding: 34px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.15;
    margin: 12px 0 10px;
    color: var(--text);
}
.article-hero-desc { color: var(--text-muted); font-size: 1.02rem; line-height: 1.65; margin: 0; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px;
    color: var(--text-muted); font-size: .84rem; font-weight: 600;
}
.article-meta i { color: var(--primary); margin-right: 5px; }

.article-body { font-size: 1rem; line-height: 1.75; }
.article-body .article-lead {
    font-size: 1.12rem; color: var(--text); line-height: 1.7;
    margin-bottom: 26px; padding-left: 16px;
    border-left: 3px solid var(--primary);
}
.article-body p { color: var(--text); margin-bottom: 16px; }
.article-section { margin: 28px 0; }
.article-section h2 {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display); font-size: 1.28rem; font-weight: 800;
    color: var(--text); margin-bottom: 14px; line-height: 1.3;
}
.article-h2-icon {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #ff6a3d, #ff2d78); color: #fff; font-size: .95rem;
    box-shadow: 0 4px 12px rgba(255, 45, 120, .25);
}
.article-checklist {
    list-style: none; margin: 14px 0 0; padding: 0;
    display: grid; gap: 10px;
}
.article-checklist li {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px; color: var(--text); font-size: .95rem; line-height: 1.55;
}
.article-checklist li i { color: #16a34a; margin-top: 3px; flex-shrink: 0; }

.article-conclusion {
    margin-top: 30px; padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 106, 61, .08), rgba(255, 45, 120, .06));
    border: 1px solid var(--border); border-radius: var(--radius);
}
.article-conclusion p { margin: 0; font-weight: 600; color: var(--text); }

.article-cta {
    margin-top: 30px; padding: 30px; text-align: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.article-cta h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.article-cta p { color: var(--text-muted); margin: 0 0 18px; }

/* Articles index */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); color: inherit;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.article-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1220; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.article-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-card-tag { font-size: .72rem; font-weight: 700; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }
.article-card h2 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.3; margin: 0; }
.article-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
.article-card-meta { color: var(--text-muted); font-size: .8rem; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; gap: 14px; }
.article-card-meta i { color: var(--primary); margin-right: 5px; }

/* =========================================================
   Rich article components (banner, tags, callouts, etc.)
   ========================================================= */

/* Full-bleed hero banner */
.article-banner {
    position: relative;
    display: flex;
    align-items: center;
    height: clamp(340px, 46vh, 560px);
    margin-bottom: 40px;
    overflow: hidden;
    background: #0b1220;
}
.article-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.article-banner-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,18,32,.25) 0%, rgba(11,18,32,0) 35%, rgba(11,18,32,.85) 100%),
        linear-gradient(90deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 65%);
}
.article-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding: 40px 0;
}
.article-banner-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 12px 0 10px;
    max-width: 700px;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
    color: #fff;
}
.article-banner-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #d7dfec;
    margin: 0;
    max-width: 640px;
}
.article-meta-light { color: #d7dfec; }
.article-meta-light i { color: #ffb3a8; }

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.article-tag {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 999px;
}

/* Key takeaways box */
.article-takeaways {
    margin: 24px 0 28px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 106, 61, .09), rgba(255, 45, 120, .05));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.article-takeaways h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 9px;
}
.article-takeaways h3 i { color: var(--primary); }
.article-takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.article-takeaways li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .94rem; line-height: 1.55; }
.article-takeaways li i { color: #16a34a; margin-top: 3px; flex-shrink: 0; }

/* Callout boxes (tip / warning) */
.article-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 18px 0;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid;
    font-size: .95rem;
    line-height: 1.6;
}
.article-callout i { font-size: 1.05rem; margin-top: 2px; flex-shrink: 0; }
.article-callout p { margin: 0; color: var(--text); }
.article-tip { background: #effaf1; border-color: #bfe6c6; }
.article-tip i { color: #16a34a; }
.article-warning { background: #fff7ed; border-color: #f7d9ae; }
.article-warning i { color: #ea580c; }

/* Comparison table */
.article-compare-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 12px; }
.article-compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.article-compare th, .article-compare td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-compare thead th {
    background: #0b1220;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    text-align: center;
}
.article-compare tbody th {
    background: var(--surface);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.article-compare tbody td { color: var(--text-muted); text-align: center; }
.article-compare tbody tr:last-child th, .article-compare tbody tr:last-child td { border-bottom: none; }
.article-compare tbody tr:nth-child(even) th, .article-compare tbody tr:nth-child(even) td { background: #f8fafc; }

/* FAQ */
.article-faq { display: grid; gap: 10px; margin: 14px 0; }
.article-faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
}
.article-faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    font-weight: 700;
    color: var(--text);
    font-size: .98rem;
}
.article-faq-item summary::-webkit-details-marker { display: none; }
.article-faq-item summary i { color: var(--primary); font-size: .8rem; transition: transform .2s; }
.article-faq-item[open] summary i { transform: rotate(180deg); }
.article-faq-body { padding: 0 18px 16px; color: var(--text-muted); font-size: .95rem; line-height: 1.65; }
.article-faq-body p { margin: 0 0 8px; }
.article-faq-body p:last-child { margin: 0; }

/* Related model guides */
.article-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 6px; }
.article-related-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; color: inherit; box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.article-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.article-related-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1220; }
.article-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-related-card:hover .article-related-img img { transform: scale(1.05); }
.article-related-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; }
.article-related-brand { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.article-related-brand img { width: 22px; height: 22px; object-fit: contain; }
.article-related-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--text); }
.article-related-title { font-size: .82rem; color: var(--text-muted); line-height: 1.45; }
.article-related-cta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); font-size: .82rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 7px; }
.article-related-cta i { font-size: .7rem; }

@media (max-width: 640px) {
    .article-banner { height: 300px; }
    .article-banner-content { padding: 20px 0; }
    .article-banner-content h1 { font-size: 1.5rem; }
    .article-banner-desc { font-size: .92rem; }
}
