/* ===========================================================
   Secure With Greg — shared styles for long-form article pages
   Mirrors the brand tokens used in index.html so every resource
   page reads as part of the same site.
   =========================================================== */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --gold: #c9a14a;
  --gold-light: #e8c97d;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --line: #e6e1d3;
  --green: #2f7d4f;
  --red: #b23a3a;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.18; color: var(--navy); letter-spacing: -0.01em;
}

/* ---------- Top bar ---------- */
.abar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.abar-inner {
  max-width: 900px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.abar .logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif; font-weight: 700; color: var(--navy);
  text-decoration: none; font-size: 1.05rem;
}
.abar .logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--navy);
  color: var(--gold-light); display: grid; place-items: center;
  font-weight: 900; font-size: 1rem;
}
.abar .btn-book {
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font-size: 0.9rem; white-space: nowrap;
}
.abar .btn-book:hover { background: var(--gold-light); }

/* ---------- Article shell ---------- */
.article {
  max-width: 720px; margin: 0 auto; padding: 46px 22px 20px;
}
.crumbs { font-size: 0.85rem; margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--line); margin: 0 6px; }

.eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.article h1 {
  font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; margin-bottom: 18px;
}
.article .dek {
  font-size: 1.2rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 26px;
}
.byline {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.byline .av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
  color: var(--gold-light); display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem;
}
.byline .who { font-size: 0.92rem; }
.byline .who strong { color: var(--navy); display: block; }
.byline .who span { color: var(--ink-soft); }

/* ---------- Body typography ---------- */
.body > p, .body > ul, .body > ol { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 22px; }
.body > h2 {
  font-size: 1.7rem; font-weight: 700; margin: 44px 0 14px;
}
.body > h3 { font-size: 1.28rem; font-weight: 600; margin: 30px 0 10px; color: var(--navy-2); }
.body ul, .body ol { padding-left: 22px; }
.body li { margin-bottom: 9px; }
.body strong { color: var(--ink); }
.body a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 2px; }
.body a:hover { color: var(--gold); }

.lead-p:first-letter {
  font-family: 'Fraunces', serif; font-weight: 900; font-size: 3.4rem;
  float: left; line-height: 0.8; padding: 6px 10px 0 0; color: var(--navy);
}

/* ---------- Callouts & tables ---------- */
.pull {
  border-left: 4px solid var(--gold); background: var(--cream);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 30px 0; font-family: 'Fraunces', serif; font-size: 1.3rem;
  color: var(--navy); line-height: 1.4;
}
.note {
  background: #f4f7fb; border: 1px solid #e2e9f2; border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 26px 0; font-size: 0.98rem; color: var(--ink-soft);
}
.note strong { color: var(--navy); }

.tbl-wrap { overflow-x: auto; margin: 26px 0; }
table.data {
  width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 460px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--navy); color: var(--cream); font-weight: 600; }
table.data tbody tr:nth-child(even) { background: var(--cream); }
table.data .good { color: var(--green); font-weight: 600; }
table.data .bad  { color: var(--red);   font-weight: 600; }

/* ---------- Inline CTA ---------- */
.cta-band {
  margin: 46px 0 10px; background: var(--navy); color: var(--cream);
  border-radius: var(--radius); padding: 32px 28px; text-align: center;
}
.cta-band h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: 10px; }
.cta-band p { color: rgba(250,246,238,0.82); margin-bottom: 20px; }
.cta-band .btn-book {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 700; padding: 13px 26px; border-radius: 999px; text-decoration: none;
}
.cta-band .btn-book:hover { background: var(--gold-light); }

/* ---------- Related ---------- */
.related { max-width: 720px; margin: 44px auto 0; padding: 0 22px; }
.related h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-grid a {
  display: block; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; text-decoration: none; background: var(--paper); transition: .18s;
}
.related-grid a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.related-grid .rc-cat { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.related-grid .rc-title { display: block; margin-top: 6px; color: var(--navy); font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }

/* ---------- Disclaimer + footer ---------- */
.disclaimer {
  max-width: 720px; margin: 40px auto 0; padding: 22px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6;
}
.disclaimer strong { color: var(--navy); }
.afooter {
  background: var(--navy); color: rgba(250,246,238,0.7); margin-top: 40px;
  padding: 26px 22px; text-align: center; font-size: 0.85rem;
}
.afooter a { color: var(--gold-light); text-decoration: none; }

@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
  .lead-p:first-letter { font-size: 2.8rem; }
}
