/* ═══════════════════════════════════════════════════════════════
   EEIP IMMIGRATION NEWS — ARTICLE STYLESHEET
   Loaded only on eeip_news single posts
   ═══════════════════════════════════════════════════════════════ */

/* ── Article wrap ─────────────────────────────────────────────── */
.eeip-article {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #1e293b;
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}
@media (min-width: 768px) { .eeip-article { padding: 2rem 0 4rem; } }

/* ── Article header meta ──────────────────────────────────────── */
.eeip-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.eeip-article-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}
.eeip-article-date {
    font-size: 0.8rem;
    color: #94a3b8;
}
.eeip-article-noindex-note {
    font-size: 0.72rem;
    color: #cbd5e1;
    margin-left: auto;
}

/* ── Highlight stat boxes ─────────────────────────────────────── */
.eeip-article-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 100%);
    border-radius: 14px;
}
@media (max-width: 479px) { .eeip-article-highlight { grid-template-columns: 1fr; } }
.eeip-article-stat { text-align: center; }
.eeip-article-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.eeip-article-stat-label {
    display: block;
    font-size: 0.68rem;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ── Body headings ────────────────────────────────────────────── */
.eeip-article h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0A1628;
    letter-spacing: -0.02em;
    margin: 2rem 0 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid #f1f5f9;
}
.eeip-article h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.eeip-article h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 1.25rem 0 0.5rem;
}
.eeip-article p {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 0.95rem;
}
.eeip-article ul, .eeip-article ol {
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
}
.eeip-article li {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.4rem;
    line-height: 1.65;
}
.eeip-article strong { color: #0A1628; }
.eeip-article a { color: #2563EB; font-weight: 500; }

/* ── CRS Impact callout ───────────────────────────────────────── */
.eeip-article-callout {
    background: #eff6ff;
    border-left: 4px solid #2563EB;
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.25rem;
    margin: 1.5rem 0;
}
.eeip-article-callout-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563EB;
    margin-bottom: 0.4rem;
}
.eeip-article-callout p {
    font-size: 0.9rem;
    color: #1d4ed8;
    margin: 0;
    line-height: 1.6;
}
.eeip-article-callout a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

/* ── Warning callout ──────────────────────────────────────────── */
.eeip-article-warning {
    background: #fff7ed;
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.25rem;
    margin: 1.5rem 0;
}
.eeip-article-warning p { color: #92400e; margin: 0; font-size: 0.9rem; }

/* ── FAQ section ──────────────────────────────────────────────── */
.eeip-article-faq {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.eeip-article-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.eeip-article-faq-item summary {
    padding: 0.9rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0A1628;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.eeip-article-faq-item summary::-webkit-details-marker { display: none; }
.eeip-article-faq-item summary::after {
    content: '+';
    font-size: 1.1rem;
    color: #2563EB;
    font-weight: 700;
    flex-shrink: 0;
}
.eeip-article-faq-item[open] summary::after { content: '−'; }
.eeip-article-faq-item p {
    padding: 0 1.1rem 0.9rem;
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
    line-height: 1.65;
}

/* ── Action steps ─────────────────────────────────────────────── */
.eeip-article-steps {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.eeip-article-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    counter-increment: steps;
}
.eeip-article-steps li::before {
    content: counter(steps);
    min-width: 24px;
    height: 24px;
    background: #2563EB;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ── Bottom CTA ───────────────────────────────────────────────── */
.eeip-article-cta {
    background: linear-gradient(135deg, #0A1628, #1B3A6B);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    margin-top: 2.5rem;
}
.eeip-article-cta h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.eeip-article-cta p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1.1rem;
}
.eeip-article-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #2563EB;
    color: #fff !important;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.eeip-article-cta a:hover { background: #1d4ed8; text-decoration: none; }

/* ── Disclaimer ───────────────────────────────────────────────── */
.eeip-article-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8faff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.6;
    font-style: italic;
}
