/* GPS for Marketers — Blog Shared CSS
   Colours: navy #29256A, deep #002773, blue #007AC0, orange #F39325 */

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

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a2e;
  background: #fff;
}

/* ── NAV ──────────────────────────────────────── */
.nav {
  background: #29256A;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo span { color: #F39325; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.15s;
}
.nav-links a:hover { color: #F39325; }
.nav-cta {
  background: #F39325;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-weight: 900 !important;
}
.nav-cta:hover { background: #d97e18 !important; color: #fff !important; }

/* ── HERO ──────────────────────────────────────── */
.post-hero {
  background: linear-gradient(150deg, #29256A 0%, #002773 60%, #0060A0 100%);
  padding: 4rem 1.5rem 3.5rem;
}
.post-hero-inner { max-width: 740px; margin: 0 auto; }
.post-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F39325;
  margin-bottom: 1rem;
}
.post-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.post-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.post-meta {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
}
.post-meta strong { color: rgba(255,255,255,0.75); }

/* ── ARTICLE LAYOUT ──────────────────────────────────── */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.article-wrap h2 {
  font-size: 1.375rem;
  font-weight: 900;
  color: #002773;
  margin: 2.5rem 0 0.875rem;
  line-height: 1.3;
}
.article-wrap h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #29256A;
  margin: 1.75rem 0 0.5rem;
}
.article-wrap p { margin-bottom: 1.25rem; }
.article-wrap p:last-child { margin-bottom: 0; }

.article-wrap ul, .article-wrap ol {
  margin: 0 0 1.25rem 1.5rem;
}
.article-wrap li { margin-bottom: 0.4rem; }

.article-wrap strong { font-weight: 700; }

.article-wrap a {
  color: #007AC0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-wrap a:hover { color: #002773; }

/* orange accent rule at start of intro */
.intro-rule {
  display: block;
  width: 48px; height: 4px;
  background: #F39325;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* pull quote */
.pull-quote {
  border-left: 4px solid #F39325;
  padding: 0.75rem 1.25rem;
  margin: 2rem 0;
  background: #fdf8f2;
  font-size: 1.0625rem;
  color: #29256A;
  font-weight: 700;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

/* data callout */
.data-box {
  background: #f4f6fb;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #007AC0;
}
.data-box p { margin-bottom: 0; font-size: 0.9375rem; color: #29256A; }
.data-box .data-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #007AC0;
  margin-bottom: 0.4rem;
}

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, #002773 0%, #29256A 100%);
  border-radius: 8px;
  padding: 2rem 2rem;
  margin: 3rem 0;
  color: #fff;
}
.cta-box h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.75rem;
}
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.cta-btn {
  display: inline-block;
  background: #F39325;
  color: #fff;
  font-weight: 900;
  font-size: 0.9375rem;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.cta-btn:hover { background: #d97e18; color: #fff; }

/* author bio */
.author-bio {
  border-top: 1px solid #e8e8f0;
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29256A, #007AC0);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: #fff;
}
.author-text h4 {
  font-size: 0.9375rem;
  font-weight: 900;
  color: #002773;
  margin-bottom: 0.25rem;
}
.author-text p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.5;
}

/* related posts */
.related {
  background: #f4f6fb;
  padding: 3rem 1.5rem;
}
.related-inner { max-width: 740px; margin: 0 auto; }
.related h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #007AC0;
  margin-bottom: 1.25rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.related-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.25rem;
  border-top: 4px solid #F39325;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.15s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.related-card .rc-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #F39325;
  margin-bottom: 0.4rem;
}
.related-card .rc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #002773;
  line-height: 1.35;
}

/* footer */
footer {
  background: #29256A;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8125rem;
}
footer a { color: rgba(255,255,255,0.6); text-decoration: underline; }
footer strong { color: #fff; }

/* table */
.article-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
}
.article-wrap th {
  background: #002773;
  color: #fff;
  padding: 0.6rem 0.875rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-wrap td {
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid #e8e8f0;
  color: #29256A;
  vertical-align: top;
}
.article-wrap tr:last-child td { border-bottom: none; }
.article-wrap tr:nth-child(even) td { background: #f8f9fc; }

@media (max-width: 640px) {
  .post-hero { padding: 2.5rem 1rem 2rem; }
  .article-wrap { padding: 2rem 1rem 3rem; }
  .cta-box { padding: 1.5rem 1.25rem; }
  .author-bio { flex-direction: column; }
}
