/* ══════════════════════════════════════════════════════════════════
   Wrkbid Articles — shared stylesheet for /articles/{slug}
   Extracted from the original per-article inline <style> blocks so
   every article (DB-driven) renders with identical, consistent design.
   ══════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb header ── */
.article-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 32px 20px 26px;
}
.article-header .breadcrumb { margin-bottom: 0; }
.article-header .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.84rem;
}
.article-header .breadcrumb-item a:hover { color: #87cb00; }
.article-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.38);
    font-size: 0.84rem;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}
.article-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }

/* ── Article meta ── */
.article-category-badge {
    background: #e8f5d0;
    color: #3a6b00;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.3em 0.9em;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
}
.article-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a2e;
}
@media (max-width: 576px) { .article-title { font-size: 1.5rem; } }

.article-meta-bar {
    font-size: 0.84rem;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.55rem;
}
.article-meta-bar .dot { color: #ddd; }

.article-feature-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.75rem;
}

/* ── Article body typography ── */
.article-body {
    font-size: 1.05rem;
    line-height: 1.82;
    color: #2d2d2d;
}
.article-body h2 {
    font-size: 1.42rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-left: 14px;
    border-left: 4px solid #87cb00;
}
.article-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #333;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul,
.article-body ol { padding-left: 1.6rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body ul li::marker { color: #87cb00; }
.article-body ol li::marker { color: #87cb00; font-weight: 700; }
.article-body blockquote {
    border-left: 4px solid #87cb00;
    background: #f8faf4;
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body a { color: #4a8a00; text-decoration: underline; }
.article-body a:hover { color: #87cb00; }
.article-body img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.article-body strong { font-weight: 700; }

/* ── Cost table ── */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 1.75rem;
    font-size: 0.96rem;
}
.cost-table th {
    background: #1a1a2e;
    color: #fff;
    padding: 0.65rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cost-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: #f8faf4; }
.cost-table td:last-child { font-weight: 700; color: #1a1a2e; white-space: nowrap; }

/* ── Callout box ── */
.article-tip {
    background: #f0f8e8;
    border: 1px solid #c8e8a0;
    border-left: 4px solid #87cb00;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.75rem 0;
    font-size: 0.95rem;
    color: #2d2d2d;
}
.article-tip-label {
    font-weight: 800;
    color: #3a6b00;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Inline bottom CTA ── */
.article-cta-inline {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    margin-top: 2.5rem;
    text-align: center;
    color: #fff;
}
.article-cta-inline h4 { font-weight: 800; margin-bottom: 0.5rem; font-size: 1.25rem; }
.article-cta-inline p  { opacity: 0.72; font-size: 0.95rem; margin-bottom: 1.1rem; }

/* ── Sidebar ── */
.sidebar-cta-card {
    background: #f0f8e8;
    border: 1px solid #c8e8a0 !important;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}
.sidebar-cta-card h5 { font-weight: 800; color: #1a1a2e; font-size: 1rem; margin-bottom: 0.4rem; }
.sidebar-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 0.85rem;
}
.sidebar-related-link {
    display: block;
    font-size: 0.87rem;
    font-weight: 600;
    color: #333;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    line-height: 1.4;
}
.sidebar-related-link:hover { color: #87cb00; }
.sidebar-related-link:last-child { border-bottom: none; }
.back-to-articles { font-size: 0.84rem; font-weight: 600; color: #aaa; text-decoration: none; }
.back-to-articles:hover { color: #87cb00; }
