/* ============================================================
   CEPORA — Insights (blog) · editorial index + long-form reading
   Single column, no sidebar. Brand faces (Plus Jakarta + Prompt)
   and the hairline-ledger / lime-accent signature carried from the
   workshops "Syllabus". Tokens come from style.css.
   ============================================================ */

/* shared reading wrappers */
.ins-wrap { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.read { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ---------------- INDEX HERO (featured article over a photo) ---------------- */
.ins-hero {
  position: relative;
  background: var(--navy-deepest);
  color: #fff;
  padding: 176px 0 92px;
  overflow: hidden;
}
.ins-hero .section-tint {
  background:
    radial-gradient(ellipse at 22% 28%, rgba(85,193,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 74%, rgba(188,0,255,0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(20,31,62,0.84) 0%, rgba(14,23,51,0.95) 100%);
}
.ins-hero .ins-wrap { position: relative; z-index: 2; }
.ins-hero .eyebrow { display: block; margin-bottom: 22px; color: var(--sky); }
.ins-hero-meta { margin-bottom: 18px; }
.ins-hero-meta .ins-date { color: rgba(255,255,255,0.66); }
.ins-hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.04em; color: #fff; margin: 0;
}
.ins-hero-title a { color: #fff; transition: color 0.2s; }
.ins-hero-title a:hover { color: var(--lime); }
.ins-hero-dek {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300;
  color: rgba(255,255,255,0.78); line-height: 1.6; max-width: 60ch; margin: 22px 0 0;
}
.ins-hero-read {
  display: inline-flex; gap: 8px; margin-top: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.98rem;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
}
.ins-hero-read:hover { gap: 14px; border-bottom-color: #fff; }

/* "More insights" label above the ledger */
.ins-list-head { padding: 52px 0 0; }
.ins-list-head .eyebrow { display: block; color: var(--sky); }

.ins-rule { height: 0; border-top: 2px solid var(--navy); margin: 44px 0 0; }
.ins-rule::after { content: ''; display: block; width: 64px; height: 2px; background: var(--lime); margin-top: -2px; }

/* ---------------- LEDGER LIST (the signature) ---------------- */
.ins-list { padding: 0 0 32px; background: #fff; }
.ins-entry { display: block; padding: 46px 0; border-bottom: 1px solid var(--hairline); }
.ins-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif; }
.ins-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); }
.ins-date { font-family: 'Prompt', sans-serif; font-size: 0.9rem; color: var(--text-muted); }
.ins-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hairline-strong); flex: 0 0 auto; }
.ins-title { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; }
.ins-title a { color: var(--navy); transition: color 0.2s; }
.ins-title a:hover { color: var(--magenta); }
.ins-excerpt { font-size: 1.08rem; line-height: 1.7; color: var(--text-body); max-width: 62ch; margin: 0 0 18px; }
.ins-read {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--navy);
  display: inline-flex; gap: 8px; border-bottom: 1px solid var(--navy); padding-bottom: 2px; transition: gap 0.2s;
}
.ins-read:hover { gap: 14px; }

.ins-empty { padding: 40px 0 100px; }
.ins-empty h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.ins-empty p { color: var(--text-body); }

/* pagination */
.ins-pagination { padding: 40px 0 0; }
.ins-pagination .nav-links { display: flex; gap: 8px; justify-content: center; align-items: center; }
.ins-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--navy);
  border: 1px solid var(--hairline-strong);
}
.ins-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.ins-pagination .page-numbers:hover:not(.current) { background: var(--bg-warm); }

/* ---------------- NEWSLETTER BAND (replaces the sidebar) ---------------- */
.ins-sub { background: var(--navy-deepest); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.ins-sub::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 25% 30%, rgba(85,193,255,0.10) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 70%, rgba(188,0,255,0.07) 0%, transparent 55%);
}
.ins-sub .read { position: relative; text-align: center; }
.ins-sub .eyebrow { color: var(--sky); display: block; margin-bottom: 16px; }
.ins-sub h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 14px; }
.ins-sub p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.6; max-width: 48ch; margin: 0 auto 28px; }
.ins-sub-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.ins-sub-form input {
  flex: 1; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  font-family: 'Prompt', sans-serif; font-size: 0.98rem; color: #fff; outline: none; border-radius: 999px;
}
.ins-sub-form input::placeholder { color: rgba(255,255,255,0.5); }
.ins-sub-form .btn { width: auto; }

/* ---------------- SINGLE ARTICLE ---------------- */
.article-head {
  position: relative;
  padding: 176px 0 80px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 26%, rgba(85,193,255,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 76%, rgba(188,0,255,0.12) 0%, transparent 55%),
    linear-gradient(180deg, #1a2b57 0%, #141f3e 100%);
}
.article-head .read { position: relative; z-index: 2; }
.article-head .eyebrow { display: block; margin-bottom: 18px; color: var(--sky); }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; color: #fff; margin: 0; }
.article-dek { font-size: clamp(1.12rem, 1.7vw, 1.4rem); font-weight: 300; color: rgba(255,255,255,0.8); line-height: 1.55; max-width: 60ch; margin: 22px auto 0; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.article-meta .a-author { color: #fff; font-weight: 600; }
.article-meta .ins-dot { background: rgba(255,255,255,0.35); }
.article-head .ins-rule { width: 64px; margin: 36px auto 0; border-top-color: rgba(255,255,255,0.22); }
.article-head .ins-rule::after { margin: -2px auto 0; }

.article-featured { max-width: 920px; margin: 56px auto 0; padding: 0 28px; }
.article-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-body { padding: 56px 0 72px; }
.article-body .read > *:first-child { margin-top: 0; }
.article-body p { font-size: 1.18rem; line-height: 1.85; color: var(--text-body); margin: 0 0 28px; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); margin: 52px 0 18px; }
.article-body h3 { font-size: 1.4rem; line-height: 1.2; color: var(--navy); margin: 40px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 28px 1.2em; font-size: 1.18rem; line-height: 1.8; color: var(--text-body); }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--magenta); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--lime); margin: 36px 0; padding: 8px 0 8px 28px;
  font-family: 'Prompt', sans-serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--navy);
}
.article-body blockquote p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.article-body a { color: var(--navy); border-bottom: 1px solid var(--hairline-strong); transition: border-color 0.2s, color 0.2s; }
.article-body a:hover { color: var(--magenta); border-bottom-color: var(--magenta); }
.article-body strong { color: var(--navy-dark); font-weight: 700; }
.article-body img { width: 100%; margin: 36px 0; }
.article-body a.btn { color: #fff; border-bottom: none; margin: 8px 0 28px; }
.article-body a.btn:hover { color: #fff; }

/* article footer */
.article-foot .read { border-top: 1px solid var(--hairline); padding-top: 28px; }
.a-tags { font-family: 'Prompt', sans-serif; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 22px; }
.a-tags a { color: var(--navy); border-bottom: 1px solid transparent; }
.a-tags a:hover { border-bottom-color: var(--navy); }
.a-back { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--navy); display: inline-flex; gap: 8px; }

/* article CTA (workshop primary) */
.article-cta { padding: 24px 0 80px; }
.article-cta-card { background: var(--bg-warm); border: 1px solid var(--hairline); border-left: 4px solid var(--lime); padding: 44px 40px; }
.article-cta-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; color: var(--navy); margin: 0 0 12px; }
.article-cta-card p { font-size: 1.05rem; line-height: 1.6; color: var(--text-body); margin: 0 0 24px; max-width: 52ch; }

/* prev / next */
.article-nav { padding: 0 0 80px; }
.article-nav .read { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-nav a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--hairline); transition: background 0.2s, border-color 0.2s; }
.article-nav a:hover { background: var(--bg-warm); border-color: var(--hairline-strong); }
.article-nav .a-next { text-align: right; grid-column: 2; }
.article-nav .a-dir { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
.article-nav .a-ttl { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.98rem; color: var(--navy); line-height: 1.25; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 760px) {
  .ins-hero { padding-top: 130px; }
  .article-head { padding-top: 120px; }
  .ins-entry { padding: 36px 0; }
  .article-body p, .article-body ul, .article-body ol { font-size: 1.08rem; }
  .article-nav .read { grid-template-columns: 1fr; }
  .article-nav .a-next { text-align: left; grid-column: 1; }
  .ins-sub-form { flex-direction: column; }
  .ins-sub-form .btn { width: 100%; justify-content: center; }
  .article-cta-card { padding: 32px 24px; }
}
