/* Make main full-width so the hero can bleed edge-to-edge */
body > main.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

/* ── Hero ──────────────────────────────────────────────── */
.article-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: url("/static/web/hero.aa7f45d7b76c.jpg") center / cover no-repeat;
    text-align: center;
    padding: 80px 0;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 10, 0.54);
}

.article-hero-content {
    position: relative;
    z-index: 1;
}

.article-hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero-date {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Body wrap ─────────────────────────────────────────── */
.article-body-wrap {
    padding-bottom: 100px;
}

/* ── Article typography ────────────────────────────────── */
.article-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.article-content h2 {
    margin-top: 2.75rem;
    margin-bottom: 0.9rem;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

/* ── FAQ collapsible items ─────────────────────────────── */
.article-faq-item {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 0.65rem;
    background: #fff;
}

.article-faq-item summary {
    cursor: pointer;
    padding: 0.9rem 2.75rem 0.9rem 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    list-style: none;
    position: relative;
    border-radius: 6px;
}

.article-faq-item summary::-webkit-details-marker {
    display: none;
}

.article-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary-cyan);
    font-weight: 400;
}

.article-faq-item[open] summary::after {
    content: "−";
}

.article-faq-item[open] summary {
    border-bottom: 1px solid var(--border-light);
    border-radius: 6px 6px 0 0;
}

.article-faq-item summary:hover {
    background: var(--bg);
}

.article-faq-item p {
    padding: 0.9rem 1.25rem;
    margin: 0;
}

/* ── Reusable CTA block ────────────────────────────────── */
.article-content .article-cta {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--dark-blue);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 2.25rem 0;
}

.article-content .article-cta p {
    margin-bottom: 0.85rem;
    color: var(--text-dark);
}

.article-content .article-cta .article-cta-title {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.article-content .article-cta .article-cta-link {
    display: inline-block;
    font-weight: 600;
    color: var(--dark-blue);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--dark-blue);
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
    margin-bottom: 0;
}

.article-content .article-cta .article-cta-link:hover {
    background: var(--dark-blue);
    color: #fff;
}

.article-content a {
    color: var(--dark-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--primary-cyan);
}

/* ── Vendor CTA box ────────────────────────────────────── */
.article-vendor-cta {
    background: var(--bg);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.article-vendor-cta h2 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.article-vendor-cta p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.article-vendor-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Sidebar category links ────────────────────────────── */
.article-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.article-sidebar-link:last-child {
    border-bottom: none;
}

.article-sidebar-link:hover {
    color: var(--primary-cyan);
}

.article-sidebar-link i {
    width: 1.1rem;
    text-align: center;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

/* ── Mobile sidebar ────────────────────────────────────── */
.article-mobile-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.article-mobile-sidebar p {
    display: none;
}

.article-mobile-sidebar-label {
    color: #6c757d;
    font-size: 0.85rem;
    margin-right: 0.1rem;
}

.article-mobile-sidebar .article-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-radius: 999px;
    background: var(--bg);
    font-size: 0.8rem;
    color: var(--dark-blue);
}

.article-mobile-sidebar .article-sidebar-link i {
    width: auto;
    font-size: 0.8rem;
}

/* ── Vendor sidebar ────────────────────────────────────── */
.article-vendor-sidebar .vendor-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.article-vendor-sidebar .vendor-sidebar-item:last-child {
    border-bottom: none;
}

.article-vendor-sidebar .vendor-sidebar-item:hover {
    color: var(--dark-blue);
}

.article-vendor-sidebar .vendor-sidebar-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.article-vendor-sidebar .vendor-sidebar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    background: #e9ecef;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.2;
    padding: 4px;
}

.article-vendor-sidebar .vendor-sidebar-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: var(--dark-blue);
}

.article-vendor-sidebar .vendor-sidebar-desc {
    font-size: 0.8rem;
    color: #6c757d;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Bottom CTA card (sticky, centered) ────────────────── */
.article-bottom-cta {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-bottom-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.article-bottom-cta {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 32px;
    background: #f7f5f0;
    border-radius: 10px;
    padding: 18px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    white-space: nowrap;
}

.article-bottom-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.article-bottom-cta-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
}

.article-bottom-cta-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: normal;
}

.article-bottom-cta-btn {
    background: var(--primary-cyan);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.article-bottom-cta-btn:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .article-hero {
        min-height: 260px;
        padding: 60px 0;
    }

    .article-hero h1 {
        font-size: 1.7rem;
    }

    .article-bottom-cta {
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 10px 10px 0 0;
        gap: 12px;
        padding: 14px 20px;
    }
}
