/*
 * C2C BLOG ARTICLE STYLES  v2.0
 * ─────────────────────────────────────────────────────────────
 * File:    jupiterx-child/assets/css/c2c-blog-styles.css
 * Loaded:  functions.php → c2c_enqueue_blog_styles() via
 *          wp_enqueue_style('c2c-blog-styles', ..., [], '2.0')
 *          (on is_single() only)
 *
 * Scope:   .c2c-article-body  — the theme's existing article
 *          wrapper; no extra div needed in the HTML paste.
 *
 * Tokens:  --red   #e63946   --navy  #05172f
 *          --sky   #e8f4fd   --line  #dce3ec
 *          --muted #6b7a90
 *
 * Fonts:   Poppins (headings)  /  Inter (body)
 *          Both loaded globally by c2c-shared.css
 * ─────────────────────────────────────────────────────────────
 */

/* ── CSS Custom Properties ──────────────────────────────────── */
.c2c-article-body {
  --red:   #e63946;
  --navy:  #05172f;
  --sky:   #e8f4fd;
  --line:  #dce3ec;
  --muted: #6b7a90;
}

/* ── Base typography reset inside article ───────────────────── */
.c2c-article-body p.c2c-p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
  margin: 0 0 18px;
}

.c2c-article-body ul.c2c-list {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  padding-left: 20px;
  margin: 0 0 18px;
}

.c2c-article-body ul.c2c-list li {
  margin-bottom: 10px;
}

.c2c-article-body b.entity {
  font-weight: 700;
  color: var(--navy);
}

/* ── Section Headings ───────────────────────────────────────── */
.c2c-article-body h2.c2c-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin: 44px 0 14px;
  line-height: 1.3;
  display: block;
  background: none;
  box-shadow: none;
}

/* ── AI / GEO Summary Box ───────────────────────────────────── */
.c2c-article-body .c2c-blog-ai-summary {
  background: var(--sky);
  border-left: 5px solid var(--red);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 36px 0;
  box-shadow: none;
}

.c2c-article-body .c2c-blog-ai-summary .c2c-ai-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
  display: block;
}

.c2c-article-body .c2c-blog-ai-summary p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
}

/* ── Stat Tiles ─────────────────────────────────────────────── */
.c2c-article-body .c2c-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.c2c-article-body .c2c-stat-tile {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: none;
}

.c2c-article-body .c2c-stat-tile .c2c-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}

.c2c-article-body .c2c-stat-tile .c2c-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  margin-top: 8px;
  display: block;
}

/* ── Compliance / Attention Alert ───────────────────────────── */
.c2c-article-body .c2c-blog-alert {
  background: #fff8f8;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 40px 0;
  box-shadow: none;
}

.c2c-article-body .c2c-blog-alert .c2c-alert-head {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 8px;
  display: block;
}

.c2c-article-body .c2c-blog-alert p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
}

.c2c-article-body .c2c-blog-alert a.c2c-alert-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1.5px solid var(--red);
}

/* ── CTA Band ───────────────────────────────────────────────── */
.c2c-article-body .c2c-blog-cta-band {
  background: var(--navy);
  border-radius: 10px;
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0;
}

.c2c-article-body .c2c-blog-cta-band h3,
.c2c-article-body .c2c-blog-cta-band h3.c2c-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 10px !important;
  border: none !important;
  border-left: none !important;
  padding: 0 !important;
  background: none !important;
  text-align: center;
}

.c2c-article-body .c2c-blog-cta-band p {
  color: #c5cdd9;
  font-size: 14.5px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.c2c-article-body .c2c-btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  margin: 0 6px 10px;
}

.c2c-article-body .c2c-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.4);
  text-decoration: none !important;
  margin: 0 6px 10px;
}

/* ── Executive Summary / Key Takeaway Box ───────────────────── */
.c2c-article-body .c2c-blog-exec-summary {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px 30px;
  margin: 40px 0;
  box-shadow: none;
}

.c2c-article-body .c2c-blog-exec-summary .c2c-exec-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
  display: block;
}

.c2c-article-body .c2c-blog-exec-summary p {
  color: #c5cdd9;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* ── Pro Tip Callout ────────────────────────────────────────── */
.c2c-article-body .c2c-pro-tip {
  background: #f0faf4;
  border-left: 4px solid #2d9a5a;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14.5px;
  line-height: 1.65;
  box-shadow: none;
}

.c2c-article-body .c2c-pro-tip strong {
  color: #1e6e3e;
  font-weight: 700;
}

/* ── Horizontal Rule / Divider ──────────────────────────────── */
.c2c-article-body hr.c2c-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.c2c-article-body .c2c-faq-section {
  margin: 48px 0;
}

.c2c-article-body .c2c-faq-section h2.c2c-h2 {
  margin: 0 0 24px;
}

.c2c-article-body .c2c-faq-item {
  border-bottom: 1px solid var(--line);
  background: none;
  box-shadow: none;
  padding: 0;
}

.c2c-article-body .c2c-faq-q {
  width: 100%;
  background: none !important;
  border: none !important;
  text-align: left;
  padding: 18px 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: none !important;
  outline: none;
}

.c2c-article-body .c2c-faq-q:hover {
  color: var(--red);
  background: none !important;
}

.c2c-article-body .c2c-faq-q .c2c-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .25s;
  line-height: 1;
}

.c2c-article-body .c2c-faq-q[aria-expanded="true"] .c2c-faq-icon {
  transform: rotate(45deg);
  border-color: var(--red);
  color: var(--red);
}

.c2c-article-body .c2c-faq-a {
  padding: 0 4px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3a4a5e;
  /* display controlled exclusively by c2c-blog-faq.js inline styles */
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .c2c-article-body .c2c-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .c2c-article-body .c2c-blog-cta-band {
    padding: 28px 20px;
  }
  .c2c-article-body h2.c2c-h2 {
    font-size: 1.2rem;
  }
}