/* ── The Pane Agency — blog styles ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:  #17466b;
  --blue-main:  #1d74ad;
  --blue-mid:   #2e8bc7;
  --blue-light: #e6f1f9;
  --blue-pale:  #f2f8fc;
  --white:      #ffffff;
  --gray-100:   #f4f6f9;
  --gray-200:   #e5e9ef;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --radius-sm:  6px;
  --radius-md:  12px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 18px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue-main); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-icon { width: 40px; height: auto; flex-shrink: 0; }

.logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logo-text span { color: var(--blue-main); }

.logo-tagline {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .02em;
  text-transform: none;
}

.navbar-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }

.navbar-links > a {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
}

.navbar-links > a:hover { color: var(--blue-main); text-decoration: none; }

/* nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 600; color: var(--gray-700); cursor: pointer;
}
.nav-dropdown > a:hover { color: var(--blue-main); text-decoration: none; }
.nav-caret { flex-shrink: 0; transition: transform .15s; }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  min-width: 252px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 9px 18px; font-size: 14px; font-weight: 500;
  color: var(--gray-700); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--blue-pale); color: var(--blue-main); text-decoration: none; }
.nav-dropdown-all { border-top: 1px solid var(--gray-200); margin-top: 6px; font-weight: 700 !important; color: var(--blue-main) !important; }
@media (max-width: 700px) {
  .nav-caret { display: none; }
  .nav-dropdown-menu { display: none; }
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--blue-main);
  text-decoration: none;
}

.navbar-phone:hover { color: var(--blue-dark); text-decoration: none; }

.phone-icon {
  width: 34px; height: 34px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PAGE / POST HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 70%, var(--blue-mid) 100%);
  padding: 56px 0;
  color: white;
}

.page-hero .tag {
  display: inline-block;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  max-width: 800px;
}

.page-hero h1, .article h2, .article h3, .post-card h2, .cta-band h2 {
  font-family: 'Lora', Georgia, serif;
}

.post-meta {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* ── BLOG INDEX GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 56px 0 72px;
}

.post-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.post-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-mid);
}

.post-card .cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 10px;
}

.post-card h2 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card h2 a { color: var(--gray-900); }
.post-card h2 a:hover { color: var(--blue-main); text-decoration: none; }

.post-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
}

.post-card .meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
}

.post-card .read-more {
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
}

/* ── ARTICLE ── */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 24px;
}

.article p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.75; color: var(--gray-700); }

.article h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--gray-900);
  margin: 38px 0 14px;
  line-height: 1.3;
}

.article h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 28px 0 10px;
}

.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 9px; font-size: 16px; line-height: 1.7; color: var(--gray-700); }
.article li strong { color: var(--gray-900); }

.callout {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.callout p { margin: 0; font-size: 15.5px; }
.callout strong { color: var(--blue-dark); }

.article .fine-print {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin-top: 36px;
}

.article-kicker {
  color: rgba(255,255,255,.75);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.article-byline {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.article-source {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  margin: -6px 0 22px;
}

.myth-label { color: #c0392b; font-weight: 800; }
.truth-label { color: #15803d; font-weight: 800; }

.article-table-wrap { overflow-x: auto; margin: 8px 0 24px; }

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}

.article th, .article td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  color: var(--gray-700);
}

.article thead th {
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--blue-light);
}

.article tbody tr td:first-child { font-weight: 600; color: var(--gray-900); }
.article tbody tr:last-child td { border-bottom: none; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  margin: 44px auto 64px;
  max-width: 760px;
  color: white;
  text-align: center;
}

.cta-band h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { font-size: 15.5px; color: rgba(255,255,255,.8); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }
.btn-white { background: var(--white); color: var(--blue-main); }
.btn-white:hover { background: var(--blue-pale); }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: white; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
}

.footer-logo-icon {
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-logo-icon img { width: 100%; height: auto; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover { color: white; text-decoration: none; }

.footer-disclaimer {
  max-width: 780px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  margin-top: 4px;
}

.footer-copyright { font-size: 12px; color: rgba(255,255,255,.35); }

/* ── MOBILE ── */
@media (max-width: 700px) {
  .navbar-phone span { display: none; }
  .navbar-links { gap: 14px; }
  .logo-text { font-size: 14px; }
  .cta-band { padding: 32px 20px; margin-left: 24px; margin-right: 24px; }
  .article { padding-top: 40px; }
}
