/* ============================================================
   blog.css — Shared styles for all Ask Clarisa blog pages
   Link this in every blog HTML file:
   <link rel="stylesheet" href="/blog/blog.css">
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --blue:        #2B5EA7;
  --blue-deep:   #1E4585;
  --blue-mid:    #3B6FBB;
  --blue-light:  #D6E4F7;
  --blue-faint:  #EBF2FB;
  --pink:        #F2A7B0;
  --pink-deep:   #E07D89;
  --pink-light:  #FDE8EB;
  --pink-faint:  #FEF4F5;
  --white:       #FFFFFF;
  --offwhite:    #F9F7F5;
  --ink:         #1A2332;
  --ink-mid:     #3D4F63;
  --ink-light:   #7A8FA6;
  --ink-faint:   #B8C8D8;
  --border:      #DDE8F2;
  --shadow:      0 4px 24px rgba(43,94,167,0.10);
  --shadow-lg:   0 12px 48px rgba(43,94,167,0.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── IMAGES ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-img,
.hero-img,
figure img,
.article-body img,
.article-wrap img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  margin: 0 0 40px;
}

figure {
  margin: 0 0 40px;
}

figure figcaption {
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ── BODY ── */
body {
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  line-height: 1.75;
}

/* ── HEADER ── */
header {
  background: var(--blue);
  background-image:
    radial-gradient(ellipse at 0% 50%, #3B6FBB 0%, transparent 60%),
    radial-gradient(ellipse at 100% 50%, #1E4585 0%, transparent 60%);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-logo-name span { color: var(--pink); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}

.header-nav a:hover { color: #ffffff; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(43,94,167,0.12);
  font-size: 11px;
  color: var(--ink-light);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

footer a { color: var(--ink-light); text-decoration: none; }
footer a:hover { color: var(--blue); }

/* ── BLOG POST TYPOGRAPHY (used in individual posts) ── */
.post-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.post-header {
  margin-bottom: 48px;
}

.post-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.post-eyebrow .series { color: var(--blue); }

.post-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.post-title em { font-style: italic; color: var(--blue); }

.post-subtitle {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 28px;
}

.post-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border: none;
  margin-bottom: 40px;
  border-radius: 1px;
  opacity: 0.35;
}

/* ── BODY COPY ── */
.post-body p {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 24px;
}

.post-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.25;
}

.post-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: 0.01em;
}

.post-body strong { color: var(--ink); font-weight: 700; }
.post-body em { font-style: italic; }

.post-body blockquote {
  border-left: 3px solid var(--pink);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--pink-faint);
  border-radius: 0 4px 4px 0;
}

.post-body blockquote p {
  font-size: 16px;
  font-style: italic;
  color: var(--ink-mid);
  margin-bottom: 0;
}

/* ── CALLOUT BOX ── */
.callout {
  background: var(--blue-faint);
  border: 1px solid var(--blue-light);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 32px 0;
}

.callout p {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 0 !important;
}

.callout-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

/* ── POST NAVIGATION ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.post-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.18s;
}

.post-nav a:hover { opacity: 0.7; }
.post-nav .prev::before { content: '← '; }
.post-nav .next::after  { content: ' →'; }

/* ── SERIES STRIP ── */
.series-strip {
  background: var(--blue-faint);
  border: 1px solid var(--blue-light);
  border-radius: 6px;
  padding: 28px 32px;
  margin: 48px 0;
}

.series-strip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.series-strip-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.series-strip-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.series-strip-posts a {
  font-size: 13px;
  color: var(--ink-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.18s;
}

.series-strip-posts a:hover { color: var(--blue); }
.series-strip-posts a.current { font-weight: 700; color: var(--ink); }
.series-strip-posts a.current::before { content: '▸'; color: var(--pink-deep); font-size: 10px; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 6px;
  padding: 40px 48px;
  margin-top: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(242,167,176,0.18);
}

.cta-strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.cta-strip-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.25;
  position: relative; z-index: 1;
}

.cta-strip-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative; z-index: 1;
}

.cta-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.18s, transform 0.18s;
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(224,125,137,0.35);
}

.cta-btn:hover {
  background: var(--pink-deep);
  transform: translateY(-1px);
}

.cta-sub {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  position: relative; z-index: 1;
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  header { padding: 16px 20px; }
  .header-nav { gap: 14px; }
  .header-nav a { font-size: 12px; }
  .post-wrap { padding: 40px 16px 72px; }
  .cta-strip { padding: 32px 24px; }
  .post-nav { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   POST-SPECIFIC STYLES — shared across all blog posts
   ============================================================ */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  padding: 72px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(242,167,176,0.14) 0%, transparent 60%);
}
.series-label {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--pink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white); font-weight: 400; line-height: 1.15;
  max-width: 700px; margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.65);
  max-width: 520px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-meta {
  margin-top: 28px; font-size: 12px; color: rgba(255,255,255,0.45);
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ── ARTICLE ── */
.article-wrap { max-width: 680px; margin: 0 auto; padding: 64px 24px 96px; }
.article-body { font-size: 17px; line-height: 1.8; color: var(--ink); }
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 400; color: var(--ink);
  margin: 48px 0 16px; line-height: 1.25;
}
.article-body h3 {
  font-size: 16px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 36px 0 12px;
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--pink);
  margin: 40px 0; padding: 20px 28px;
  background: var(--pink-faint); border-radius: 0 4px 4px 0;
}
.pull-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--ink); line-height: 1.4;
  font-style: italic; margin: 0;
}

/* ── CLARISA NOTE ── */
.clarisa-note {
  background: var(--blue-faint);
  border-left: 3px solid var(--blue);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px; margin: 36px 0;
  font-size: 15px; color: var(--ink-mid); line-height: 1.65;
}
.clarisa-note strong { color: var(--blue); }

/* ── NAV STRIP ── */
.nav-strip {
  border-top: 1px solid var(--border);
  padding-top: 40px; margin-top: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.nav-strip a {
  font-size: 14px; font-weight: 700; color: var(--blue);
  text-decoration: none; letter-spacing: 0.02em;
}
.nav-strip .next {
  background: var(--blue); color: var(--white);
  padding: 12px 22px; border-radius: 4px; transition: background 0.18s;
}
.nav-strip .next:hover { background: var(--blue-deep); }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 6px; padding: 40px; text-align: center;
  margin-top: 48px; color: var(--white);
}
.cta-block h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; font-weight: 400; margin-bottom: 12px;
}
.cta-block h3 em { color: var(--pink); font-style: italic; }
.cta-block p {
  font-size: 15px; color: rgba(255,255,255,0.72);
  margin-bottom: 24px; line-height: 1.6;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-btn {
  display: inline-block; background: var(--pink); color: var(--blue-deep);
  font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 4px;
  text-decoration: none; letter-spacing: 0.02em; transition: background 0.18s;
}
.cta-btn:hover { background: var(--pink-deep); color: var(--white); }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; }

/* ── ARCHETYPE BOX ── */
.archetype-box {
  background: var(--blue-faint);
  border: 1px solid var(--blue-light);
  border-radius: 6px; padding: 28px 32px; margin: 40px 0;
}
.archetype-box h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--blue-deep); font-weight: 400; margin-bottom: 12px;
}
.archetype-box p {
  font-size: 15px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 12px;
}
.archetype-box p:last-child { margin-bottom: 0; }
.archetype-item { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.archetype-item:last-child { margin-bottom: 0; }
.archetype-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-faint); display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.archetype-item-body h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.archetype-item-body p { font-size: 14px; color: var(--ink-mid); line-height: 1.55; margin: 0; }

/* ── TRANSLATION TABLE ── */
.translation-table { margin: 36px 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.translation-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.translation-row:last-child { border-bottom: none; }
.translation-header { display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); }
.th { padding: 12px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.td-jd { padding: 16px 18px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); }
.td-real { padding: 16px 18px; font-size: 14px; color: var(--ink-mid); background: var(--blue-faint); line-height: 1.55; }

/* ── VS TABLE ── */
.vs-table { width: 100%; border-collapse: collapse; margin: 40px 0; font-size: 15px; }
.vs-table th {
  background: var(--blue); color: var(--white);
  padding: 12px 16px; text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.vs-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.vs-table tr:last-child td { border-bottom: none; }
.vs-table tr:nth-child(even) td { background: var(--blue-faint); }
.col-ops { color: var(--blue-deep); font-weight: 600; }
.col-sales { color: var(--ink-mid); }

/* ── DIMENSION CARD (post-4) ── */
.question-block { margin: 40px 0; }
.dimension-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.dimension-card h4 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; letter-spacing: 0.02em; }
.dimension-card .the-question { font-size: 15px; font-style: italic; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.dimension-card .why { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }
.dimension-card .why strong { color: var(--ink); }

/* ── Q BLOCK (post-9) ── */
.q-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 24px 28px; margin: 20px 0;
  box-shadow: 0 2px 8px rgba(43,94,167,0.06);
}
.q-block .question { font-size: 16px; font-weight: 700; color: var(--blue-deep); margin-bottom: 10px; line-height: 1.4; }
.q-block .why { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }
.q-block .why strong { color: var(--ink); }

/* ── FRAME BOX (post-9) ── */
.frame-box {
  background: var(--pink-faint); border: 1px solid var(--pink-light);
  border-radius: 6px; padding: 24px 28px; margin: 40px 0;
}
.frame-box h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 16px; }
.frame-box .before { font-size: 15px; color: var(--ink-light); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.frame-box .arrow { text-align: center; font-size: 20px; color: var(--pink-deep); margin-bottom: 16px; }
.frame-box .after { font-size: 15px; color: var(--ink); line-height: 1.6; font-weight: 500; }

/* ── JOB CARD (post-8) ── */
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 32px; margin: 40px 0; box-shadow: var(--shadow);
}
.job-card-tag {
  display: inline-block; background: var(--blue-faint); color: var(--blue);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.job-card h3 { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.job-card .job-meta { font-size: 13px; color: var(--ink-light); margin-bottom: 16px; font-weight: 500; }
.job-card p { font-size: 15px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 12px; }
.job-card p:last-child { margin-bottom: 0; }
.job-card .fit-note {
  background: var(--blue-faint); border-left: 3px solid var(--blue);
  padding: 12px 16px; border-radius: 0 4px 4px 0;
  font-size: 14px; color: var(--blue-deep); font-weight: 500; margin-top: 16px;
}

/* ── ENDING CARD (post-5) ── */
.ending-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 36px; margin: 48px 0; box-shadow: var(--shadow); text-align: center;
}
.ending-card .icon { font-size: 36px; margin-bottom: 16px; }
.ending-card h3 { font-family: 'DM Serif Display', serif; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.ending-card p { font-size: 15px; color: var(--ink-mid); line-height: 1.65; max-width: 480px; margin: 0 auto; }

/* ── SERIES RECAP ── */
.series-recap {
  background: var(--blue-faint); border-radius: 6px; padding: 32px; margin: 48px 0;
}
.series-recap h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 20px;
}
.recap-item { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.recap-item:last-child { margin-bottom: 0; }
.recap-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.recap-item a { font-size: 14px; color: var(--ink-mid); text-decoration: none; line-height: 1.5; }
.recap-item a:hover { color: var(--blue); }
.series-recap ol { padding-left: 20px; }
.series-recap li { font-size: 15px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 10px; }
.series-recap li:last-child { margin-bottom: 0; }
.series-recap li strong { color: var(--ink); }

/* ── MOBILE ADDITIONS ── */
@media (max-width: 640px) {
  .hero { padding: 48px 20px 56px; }
  .article-wrap { padding: 40px 16px 72px; }
  .nav-strip { flex-direction: column; align-items: flex-start; }
  .translation-row, .translation-header { grid-template-columns: 1fr; }
  .vs-table { font-size: 13px; }
  .vs-table th, .vs-table td { padding: 10px 12px; }
  .job-card { padding: 20px; }
}
