/*
 * people-lookup.css
 * Shared stylesheet for all /people-lookup/ advertorial variants.
 *
 * Loaded by partials/head.php — do NOT inline this CSS in variant files.
 * Covers both Variant A (.article wrapper) and Variant B (.article-wrap wrapper)
 * class conventions so both variants work without any markup changes.
 *
 * When adding a new variant:
 *   - Use .article-wrap as the main content wrapper (B's convention, preferred going forward)
 *   - All component classes (.pull-quote, .inline-cta, .feature-block, etc.) are shared
 *   - Add variant-specific overrides at the bottom of this file under a clearly labeled comment
 */

/* ─── Reset + tokens ─────────────────────────────────────────────────── */
:root {
  --ink:         #171717;
  --ink-soft:    #383838;
  --paper:       #ffffff;
  --paper-warm:  #fbf8f2;
  --paper-soft:  #f2f5f9;
  --paper-note:  #fff7e8;
  --rule:        #d6dbe5;
  --rule-dark:   #b9c1cf;
  --navy:        #1e3a5f;
  --navy-dk:     #142846;
  --muted:       #6b7280;
  --cta:         #ff6b1a;
  --cta-dk:      #df5400;
  --error:       #d0021b;
  --highlight:   #ffe39a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-size: 20px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ─── Ad label ───────────────────────────────────────────────────────── */
.ad-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.7px;
  color: var(--muted);
  padding: 8px 0 6px;
  text-transform: uppercase;
  background: var(--paper);
}

/* ─── Lander header ──────────────────────────────────────────────────── */
.lander-header {
  background: var(--navy);
  padding: 15px 20px;
  border-bottom: 4px solid rgba(255, 255, 255, .12);
}
.lander-header-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  background: #fff;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 2px;
}
.logo-text  { display: flex; flex-direction: column; line-height: 1; }
.logo-the {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 3px;
}
.logo-name {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: #fff;
}
.logo-name em { font-style: italic; font-weight: 600; opacity: .95; }

/* ─── Article wrapper — both conventions supported ───────────────────── */
/* .article-wrap = Variant B convention (preferred for new variants)      */
/* .article      = Variant A convention (kept for backward compat)        */
.article-wrap,
.article {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ─── Article header (kicker / h1 / dek / byline) ────────────────────── */
.article-kicker {
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 4px 0 8px;
}
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 43px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 auto 12px;
  max-width: 780px;
  text-align: center;
  color: var(--ink);
}
.dek {
  max-width: 690px;
  margin: 0 auto 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.byline {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: .02em;
}
.byline .byline-sep { display: inline-block; margin: 0 8px; color: var(--rule-dark); }

/* ─── Search card (top-of-page form) ─────────────────────────────────── */
/* .search-card = Variant B convention (preferred)                         */
/* .top-search  = Variant A convention (kept for backward compat)          */
.search-card,
.top-search {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  border: 1px solid var(--rule-dark);
  box-shadow: 0 10px 26px rgba(30, 58, 95, .10);
  padding: 18px;
  margin: 0 auto 26px;
  text-align: center;
  max-width: 760px;
}
.search-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  margin-bottom: 3px;
}
.search-card-sub,
.top-search-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 13px;
}
.top-search-label strong { color: var(--navy); }

/* ─── Search form inputs + button ────────────────────────────────────── */
.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 145px auto;
  gap: 8px;
  align-items: stretch;
}
.search-form input,
.search-form select,
.bottom-form input,
.bottom-form select {
  padding: 12px;
  border: 1px solid var(--rule-dark);
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  min-width: 0;
  border-radius: 2px;
}
.search-form button,
.big-cta {
  background: var(--cta);
  color: #fff;
  border: 2px solid var(--cta-dk);
  padding: 11px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .14);
  white-space: nowrap;
}
.search-form button:hover,
.big-cta:hover,
.inline-cta:hover { background: var(--cta-dk); }

.field-error {
  display: none;
  color: var(--error);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin-top: 6px;
  text-align: left;
}

/* ─── Images ─────────────────────────────────────────────────────────── */
.story-img,
.hero-img,
.reveal-img {
  width: 100%;
  margin: 24px 0 8px;
  border: 1px solid var(--rule-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
  background: #f1f1f1;
}
.hero-img { margin-top: 4px; }
.img-caption {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  margin: 0 0 25px;
  font-style: italic;
}

/* ─── Article body text ──────────────────────────────────────────────── */
.content        { max-width: 740px; margin: 0 auto; }
.content p,
.article p      { margin: 0 0 18px; }
.content strong { font-weight: 800; }
.short-lines p  { margin-bottom: 8px; font-size: 21px; line-height: 1.45; }

/* ─── Section dividers + labels ──────────────────────────────────────── */
.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-dark), transparent);
  margin: 34px 0 28px;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink);
}

/* ─── Editorial components ───────────────────────────────────────────── */
.pull-quote {
  border-left: 5px solid var(--navy);
  background: var(--paper-warm);
  padding: 16px 18px 16px 20px;
  margin: 26px 0;
  font-style: italic;
  font-size: 25px;
  line-height: 1.32;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(30, 58, 95, .08);
}
.note-box {
  background: var(--paper-note);
  border: 1px solid #e6c97b;
  padding: 17px 18px;
  margin: 24px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #3c3325;
}
.note-box strong { color: var(--navy); }

/* ─── Feature block ──────────────────────────────────────────────────── */
.feature-block {
  background: var(--paper-soft);
  border: 1px solid var(--rule-dark);
  padding: 21px 24px;
  margin: 26px 0;
  box-shadow: 0 8px 22px rgba(30, 58, 95, .07);
}
.feature-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin: 0 0 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
}
/* Two-column grid layout (Variant B) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.35;
}
.feature-grid li { position: relative; padding-left: 20px; }
.feature-grid li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--cta-dk);
  font-weight: 800;
  font-size: 18px;
}
/* Single-column list layout (Variant A) */
.feature-block ul:not(.feature-grid) {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.feature-block ul:not(.feature-grid) li {
  margin-bottom: 8px;
  font-size: 16px;
  position: relative;
  padding-left: 4px;
}
.feature-block ul:not(.feature-grid) li::before {
  content: "→";
  color: var(--navy);
  position: absolute;
  left: -20px;
  font-weight: 700;
}

/* ─── CTA buttons + links ────────────────────────────────────────────── */
.inline-cta {
  display: block;
  background: var(--cta);
  color: #fff !important;
  text-align: center;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  margin: 28px auto;
  border: 2px solid var(--cta-dk);
  border-radius: 3px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .14);
  max-width: 560px;
}
.inline-cta::after { content: ' ›'; }
.micro-sub {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.inline-text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ─── Bottom CTA section ─────────────────────────────────────────────── */
.bottom-cta-section {
  margin: 38px auto 0;
  padding: 26px 20px 24px;
  max-width: 760px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  border: 1px solid var(--rule-dark);
  box-shadow: 0 12px 32px rgba(30, 58, 95, .12);
}
.bottom-cta-section h2 { text-align: center; font-size: 31px; margin-bottom: 8px; }
.bottom-cta-section .sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 18px;
}
.bottom-form          { max-width: 500px; margin: 0 auto; }
.form-row             { margin-bottom: 13px; }
.form-row label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.bottom-form input,
.bottom-form select   { width: 100%; }
.big-cta              { width: 100%; padding: 16px; font-size: 17px; margin-top: 6px; }

/* ─── Lander footer ──────────────────────────────────────────────────── */
.lander-footer { background: var(--navy); padding: 28px 20px; margin-top: 40px; }
.lander-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}
.footer-headline {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  margin: 0 0 12px;
}
.footer-disclaimer        { text-align: left; margin: 0 0 12px; }
.footer-disclaimer strong { color: #fff; }
.footer-copyright  { text-align: center; margin: 12px 0 4px; color: rgba(255, 255, 255, .56); }
.footer-legal-links {
  text-align: center;
  margin: 0;
  color: rgba(255, 255, 255, .45);
  font-size: 10px;
  letter-spacing: .02em;
}
.footer-legal-links a         { color: rgba(255, 255, 255, .62); text-decoration: none; }
.footer-legal-links a:hover   { color: #fff; text-decoration: underline; }
.footer-legal-sep             { display: inline-block; margin: 0 8px; color: rgba(255, 255, 255, .3); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  body                    { font-size: 19px; line-height: 1.58; }
  .article-wrap,
  .article                { padding: 22px 14px 44px; }
  h1                      { font-size: 34px; }
  .dek                    { font-size: 16px; }
  .search-form            { grid-template-columns: 1fr; }
  .search-form button     { width: 100%; padding: 13px 18px; }
  .story-img              { margin-top: 20px; }
  h2                      { font-size: 28px; }
  .pull-quote             { font-size: 22px; }
  .feature-grid           { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  h1                                    { font-size: 30px; }
  .logo-name                            { font-size: 21px; }
  .short-lines p                        { font-size: 20px; }
  .bottom-cta-section                   { padding-left: 15px; padding-right: 15px; }
}
