/* ================================================================
   Legal Suvidha Content Pipeline — Article Template CSS
   File: wp-content/themes/your-theme/css/pipeline-articles.css
   Add to functions.php: wp_enqueue_style('ls-pipeline', get_template_directory_uri() . '/css/pipeline-articles.css');
   ================================================================ */

/* ── Wrapper ─────────────────────────────────────────────────────── */
.ls-article-wrap { max-width: 820px; margin: 0 auto; padding: 0 1rem 3rem; }

/* Space between site header and article content */
.ls-article-wrap {
    margin-top: 2rem;
}

/* ── Meta bar ────────────────────────────────────────────────────── */
.ls-meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 1rem; font-size: 13px; color: #595959; }
.ls-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ls-meta-item { display: flex; align-items: center; gap: 4px; }
.ls-meta-set { font-style: italic; }

/* ── H1 ──────────────────────────────────────────────────────────── */
.ls-article-h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: #1F3864; line-height: 1.25; margin-bottom: 1.25rem; }

/* ── AEO block ───────────────────────────────────────────────────── */
.ls-aeo-block { background: #E2EFDA; border-left: 4px solid #375623; border-radius: 0 6px 6px 0; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.ls-aeo-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #375623; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.ls-aeo-text { margin: 0; font-size: 1rem; line-height: 1.65; color: #1a1a1a; font-weight: 500; }

/* ── Callouts ────────────────────────────────────────────────────── */
.ls-callout { padding: 0.9rem 1.2rem; border-radius: 0 6px 6px 0; margin-bottom: 1.5rem; }
.ls-callout--warning { background: #FFF2CC; border-left: 4px solid #BA7517; }
.ls-callout--info    { background: #D6E4F0; border-left: 4px solid #2E75B6; }
.ls-callout--update  { background: #D9EEF1; border-left: 4px solid #1F6B75; }
.ls-callout-label { display: inline-block; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; display: block; }
.ls-callout--warning .ls-callout-label { color: #7F6000; }
.ls-callout--info    .ls-callout-label { color: #1F3864; }
.ls-callout--update  .ls-callout-label { color: #1F6B75; }
.ls-callout p { margin: 0; font-size: 0.925rem; line-height: 1.6; }

/* ── Article content ─────────────────────────────────────────────── */
.ls-article-content { margin-bottom: 2rem; }
.ls-section { margin-bottom: 2rem; }
.ls-section-h2 { font-size: 1.4rem; font-weight: 700; color: #2E75B6; margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid #2E75B6; }
.ls-section-h3 { font-size: 1.1rem; font-weight: 700; color: #1F3864; margin-bottom: 0.5rem; }
.ls-section-body p { margin-bottom: 0.9rem; line-height: 1.75; color: #222; font-size: 0.975rem; }

/* ── Tables ──────────────────────────────────────────────────────── */
.ls-table-wrap { overflow-x: auto; margin: 1.25rem 0; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.ls-data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ls-data-table thead tr { background: #1F3864; color: #fff; }
.ls-data-table th { padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.ls-data-table td { padding: 9px 14px; border-bottom: 1px solid #e5e7eb; line-height: 1.5; color: #333; }
.ls-data-table tbody tr:nth-child(even) { background: #F7F9FC; }
.ls-data-table tbody tr:hover { background: #EEF4FF; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.ls-faq-section { margin-bottom: 2rem; }
.ls-faq-heading { font-size: 1.4rem; font-weight: 700; color: #2E75B6; margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid #2E75B6; }
.ls-faq-item { border-bottom: 1px solid #e5e7eb; }
.ls-faq-question { width: 100%; background: none; border: none; text-align: left; padding: 0.85rem 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 0.975rem; font-weight: 600; color: #1F3864; line-height: 1.4; gap: 1rem; }
.ls-faq-question:hover { color: #2E75B6; }
.ls-faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: #2E75B6; }
.ls-faq-question[aria-expanded="true"] .ls-faq-chevron { transform: rotate(180deg); }
.ls-faq-answer { padding-bottom: 0.85rem; }
.ls-faq-answer p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: #333; }

/* ── CTA block ───────────────────────────────────────────────────── */
.ls-cta-block { background: #1F3864; border-radius: 8px; padding: 2rem; margin: 2.5rem 0; }
.ls-cta-inner { text-align: center; }
.ls-cta-headline { color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem; }
.ls-cta-body { color: #D6E4F0; font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.6; }
.ls-cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 0.75rem; }
.ls-cta-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0.6rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: opacity 0.15s; }
.ls-cta-btn:hover { opacity: 0.88; }
.ls-cta-btn--whatsapp { background: #25D366; color: #fff; }
.ls-cta-btn--email { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.ls-cta-free { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

/* ── Related links ───────────────────────────────────────────────── */
.ls-related-section { margin-bottom: 1.5rem; }
.ls-related-heading { font-size: 1.2rem; font-weight: 700; color: #2E75B6; margin-bottom: 0.75rem; }
.ls-related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ls-related-list li::before { content: "→ "; color: #2E75B6; font-weight: 700; }
.ls-related-list a { color: #2E75B6; text-decoration: none; font-size: 0.95rem; }
.ls-related-list a:hover { text-decoration: underline; }

/* ── Disclaimer ──────────────────────────────────────────────────── */
.ls-disclaimer { font-size: 0.82rem; color: #888; border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-top: 1.5rem; line-height: 1.6; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .ls-article-h1 { font-size: 1.5rem; }
  .ls-cta-contacts { flex-direction: column; align-items: center; }
  .ls-meta-bar { gap: 8px; font-size: 12px; }
  .ls-data-table { font-size: 0.82rem; }
  .ls-data-table th, .ls-data-table td { padding: 7px 10px; }
}
