/* ============================================================
   MySiteRanks.io — Global Stylesheet
   Compiled Tailwind-inspired utility CSS
   Version: 1.0 | April 2026
   ============================================================ */

/* ---- RESET & ROOT ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- CSS VARIABLES ---- */
:root {
  --navy:         #0b0f2e;
  --navy-mid:     #111740;
  --blue-primary: #1e3a8a;
  --blue-bright:  #2563eb;
  --blue-card:    #3b5bdb;
  --gold:         #f59e0b;
  --gold-dark:    #d97706;
  --lavender-bg:  #eef0fb;
  --white:        #ffffff;
  --off-white:    #f8f9ff;
  --text-dark:    #0f172a;
  --text-mid:     #334155;
  --text-light:   #64748b;
  --border:       #e2e8f0;
  --green:        #16a34a;
  --red:          #dc2626;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(30,58,138,0.18);
  --transition:   all 0.25s ease;
  --container:    1160px;
}

/* ---- LAYOUT ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

/* ---- TYPOGRAPHY ---- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,158,11,0.12);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label.blue {
  color: var(--blue-bright);
  background: rgba(37,99,235,0.1);
}
h1, .h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
h4, .h4 { font-size: 0.95rem; font-weight: 700; }
.lead { font-size: 1.05rem; color: var(--text-mid); line-height: 1.7; }
.lead.light { color: rgba(255,255,255,0.75); }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-bright); }
.text-white { color: var(--white); }
.text-mid { color: var(--text-mid); }
.text-light-color { color: var(--text-light); }
em.highlight { font-style: normal; color: var(--gold); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.btn-blue {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-blue:hover { background: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,0.3); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}
.btn-outline-blue:hover { background: var(--blue-primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 24px; height: 24px; fill: var(--white); }
.nav-logo-text .brand { font-size: 1rem; font-weight: 800; color: var(--blue-primary); letter-spacing: -0.01em; display: block; line-height: 1.2; }
.nav-logo-text .tagline { font-size: 0.62rem; font-weight: 500; color: var(--text-light); letter-spacing: 0.04em; text-transform: uppercase; display: block; }
.nav-logo-img { height: 48px; width: auto; max-width: 240px; display: block; object-fit: contain; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--blue-primary); }
.nav-contact { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.78rem; color: var(--text-mid); line-height: 1.5; }
.nav-contact a { color: var(--blue-bright); font-weight: 600; }
.nav-contact a:hover { color: var(--blue-primary); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }

/* ---- HERO SECTIONS ---- */
.hero-dark {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,99,235,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,158,11,0.08) 0%, transparent 60%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-dark .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow span { width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.hero-trust { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 500; }
.hero-trust-item svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(37,99,235,0.3) 0%, transparent 70%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  transition: var(--transition);
}
.card-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(245,158,11,0.3); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--lavender-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; fill: var(--blue-primary); }
.card-icon.gold { background: rgba(245,158,11,0.15); }
.card-icon.gold svg { fill: var(--gold); }

/* ---- TRUST BADGES / PILLS ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: rgba(30,58,138,0.08);
  padding: 6px 14px;
  border-radius: 50px;
}
.pill svg { width: 14px; height: 14px; fill: var(--blue-primary); }
.pill-group { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---- TESTIMONIALS ---- */
.testimonial {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-card);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
}
.testimonial blockquote { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial cite { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); font-style: normal; display: block; }
.testimonial cite span { font-weight: 400; color: var(--text-light); }

/* ---- FEATURE LIST ---- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-mid); line-height: 1.5; }
.feature-list li svg { width: 18px; height: 18px; fill: var(--blue-card); flex-shrink: 0; margin-top: 1px; }
.feature-list li strong { color: var(--text-dark); }

/* ---- SECTION BACKGROUNDS ---- */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-lavender { background: var(--lavender-bg); }
.bg-navy { background: var(--navy); }
.bg-blue { background: var(--blue-primary); }

/* ---- DIVIDERS ---- */
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand p { line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); }
.footer-social a svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-social a:hover svg { fill: var(--navy); }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,0.3) 0%, transparent 70%);
  padding: 90px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 36px; line-height: 1.65; }
.cta-band-blue {
  background: var(--blue-primary);
  padding: 56px 0;
}
.cta-band-blue h2 { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-band-blue p { font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.65; }

/* ---- CONTACT FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- STATS BAR ---- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-item .value { font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-item .value em { font-style: normal; color: var(--gold); }
.stat-item .label { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- FAQ ---- */
.faq-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
}
.faq-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.faq-item h3 .num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--blue-card); color: var(--white); font-size: 0.7rem; font-weight: 800; border-radius: 50%; flex-shrink: 0; margin-top: 1px; }
.faq-item p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; padding-left: 32px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .hero-dark { padding: 70px 0 60px; }
  .page-hero { padding: 60px 0 50px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
  .cta-band-blue .container { flex-direction: column; gap: 24px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.6rem; }
  .stats-bar { grid-template-columns: 1fr; }
}

/* ============================================================
   CATEGORY HUB PAGE & BLOG POST DESIGN SYSTEM
   Added April 2026 — used by all category hub pages,
   blog post pages, and shared section components
   ============================================================ */

/* --- SECTION WRAPPERS --- */
.section-light { background: #f8fafc; padding: 72px 24px; }
.section-white { background: #ffffff; padding: 72px 24px; }
.section-navy  { background: #1e3a5f; padding: 64px 24px; }
.section-light .container,
.section-white .container,
.section-navy  .container { max-width: 1200px; margin: 0 auto; }

/* --- SECTION TITLES --- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a202c;
  text-align: center;
  margin: 0 0 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #4a5568;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.section-title-light {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 36px;
}

/* --- NAVBAR (category/blog style) --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}
.nav-container .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  flex: 1;
  align-items: center;
}
.nav-container .nav-links li a {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a202c;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-container .nav-links li a:hover,
.nav-container .nav-links li a.active {
  background: #2563eb;
  color: #fff;
}
.nav-container .nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-container .nav-contact a { color: #1e3a5f; text-decoration: none; }
.nav-container .nav-contact a:hover { color: #2563eb; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a202c;
  padding: 4px 8px;
  margin-left: auto;
}

/* --- BREADCRUMB NAV --- */
.breadcrumb-nav {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.breadcrumb-nav a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-nav span { margin: 0 6px; }

/* --- CATEGORY HERO --- */
.category-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
  padding: 72px 24px 64px;
}
.category-hero-geo    { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.category-hero-basics { background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%); }
.category-hero .container { max-width: 1200px; margin: 0 auto; }

.category-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.category-badge-geo { background: rgba(99,102,241,0.3); border-color: rgba(99,102,241,0.5); }

.category-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
}
.category-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 820px;
  margin: 0 0 24px;
}
.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.category-meta strong { color: #fff; }
.category-meta a { color: #f59e0b; text-decoration: none; }
.category-meta a:hover { text-decoration: underline; }

/* --- TWO COLUMN LAYOUT --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.col-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 20px;
  line-height: 1.25;
}
.col-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 16px;
}
.col-text p strong { color: #1a202c; }
.col-cta-card { display: flex; flex-direction: column; gap: 20px; }

/* --- SIDEBAR CTA CARD --- */
.sidebar-cta-card {
  background: #1e3a5f;
  color: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.sidebar-cta-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.sidebar-cta-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin: 0 0 20px;
}
.cta-note {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 10px 0 0 !important;
  text-align: center;
  line-height: 1.4;
}

/* --- SIDEBAR STAT CARD --- */
.sidebar-stat-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}

/* --- POST GRID & CARDS --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.post-card-placeholder { opacity: 0.72; border-style: dashed; }
.post-card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.4;
  margin: 0;
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: #2563eb; }
.post-card-excerpt {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.7;
  flex: 1;
}
.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  margin-top: auto;
}
.post-date { color: #718096; }
.post-read-more { color: #2563eb; font-weight: 600; text-decoration: none; }
.post-read-more:hover { text-decoration: underline; }

/* --- CATEGORY LINKS GRID (navy section) --- */
.category-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.category-link-card {
  display: block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.category-link-card:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* --- BUTTONS (category page variants) --- */
.btn-primary {
  background: #2563eb;
  color: #fff;
  border: 2px solid #2563eb;
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-sm { padding: 9px 18px !important; font-size: 0.85rem !important; width: auto !important; }

/* --- FOOTER CTA BAND --- */
.footer-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.footer-cta .container { max-width: 760px; margin: 0 auto; }
.footer-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
}
.footer-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 36px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SITE FOOTER (category/blog style) --- */
.footer {
  background: #0f1f35;
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 0;
}
.footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer .footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}
.footer .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer .footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer .footer-col ul li a:hover { color: #fff; }
.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  max-width: 1200px;
  margin: 0 auto;
}

/* --- LEARNING PATH (SEO Basics page) --- */
.learning-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.learning-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.step-number {
  width: 40px;
  height: 40px;
  background: #2563eb;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.learning-step h3 { font-size: 1rem; font-weight: 700; color: #1a202c; margin: 0 0 8px; }
.learning-step p  { font-size: 0.88rem; color: #4a5568; line-height: 1.6; margin: 0 0 16px; }

/* --- RESPONSIVE (category pages) --- */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .col-cta-card { flex-direction: row; flex-wrap: wrap; }
  .sidebar-cta-card, .sidebar-stat-card { flex: 1 1 280px; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-container .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 2px solid #e2e8f0; padding: 16px 24px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 999; }
  .nav-container .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-container .nav-contact { display: none; }
  .category-hero { padding: 48px 20px 40px; }
  .section-light, .section-white, .section-navy { padding: 48px 20px; }
  .post-grid { grid-template-columns: 1fr; }
  .category-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .learning-path-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .category-hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .category-links-grid { grid-template-columns: 1fr; }
}


/* === Blog Post Styles (moved from inline) === */
/* ── POST LAYOUT ── */
    .post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
    .post-content { min-width: 0; }
    .post-header { margin-bottom: 36px; }
    .post-header-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
    .post-cat-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
    .cat-technical { background: #f3e8ff; color: #7c3aed; }
    .post-date, .post-read-time { font-size: 0.78rem; color: var(--text-light); font-weight: 500; }
    .post-title { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); line-height: 1.2; margin-bottom: 18px; }
    .post-subtitle { font-size: 1.1rem; color: var(--text-light); line-height: 1.65; margin-bottom: 24px; font-weight: 400; }
    .post-author-bar { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--off-white); border-radius: var(--radius-sm); border: 1px solid var(--border); }
    .post-author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900; color: var(--gold); flex-shrink: 0; }
    .post-author-info { flex: 1; }
    .post-author-name { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
    .post-author-role { font-size: 0.75rem; color: var(--text-light); }
    .post-featured-img { width: 100%; border-radius: var(--radius-md); margin-bottom: 36px; display: block; max-height: 480px; object-fit: cover; }
    .toc { background: var(--lavender-bg); border: 1px solid #c7d2fe; border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 36px; }
    .toc-title { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-primary); margin-bottom: 14px; }
    .toc ol { margin: 0; padding-left: 20px; }
    .toc li { margin-bottom: 6px; }
    .toc a { font-size: 0.85rem; color: var(--blue-card); font-weight: 600; text-decoration: none; }
    .toc a:hover { text-decoration: underline; }
    .post-body { font-size: 1rem; line-height: 1.8; color: var(--text-dark); }
    .post-body h2 { font-size: 1.55rem; font-weight: 800; color: var(--text-dark); margin: 44px 0 16px; padding-top: 8px; border-top: 2px solid var(--border); }
    .post-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 28px 0 12px; }
    .post-body p { margin-bottom: 20px; }
    .post-body ul, .post-body ol { margin: 0 0 20px 24px; }
    .post-body li { margin-bottom: 8px; }
    .post-body strong { font-weight: 700; color: var(--text-dark); }
    .post-body a { color: var(--blue-card); text-decoration: underline; font-weight: 600; }
    .post-body blockquote { border-left: 4px solid var(--gold); margin: 28px 0; padding: 16px 24px; background: var(--off-white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.05rem; font-style: italic; color: var(--text-dark); }
    .post-body img { width: 100%; border-radius: var(--radius-sm); margin: 24px 0; }
    .callout { border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; display: flex; gap: 14px; align-items: flex-start; }
    .callout-tip { background: #dcfce7; border-left: 4px solid #16a34a; }
    .callout-warn { background: #fef9c3; border-left: 4px solid #ca8a04; }
    .callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
    .callout-text { font-size: 0.88rem; line-height: 1.6; }
    .callout-text strong { font-weight: 700; display: block; margin-bottom: 4px; }
    .post-cta-box { background: var(--navy); background-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,0.3) 0%, transparent 70%); border-radius: var(--radius-md); padding: 32px 28px; text-align: center; margin: 40px 0; }
    .post-cta-box h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
    .post-cta-box p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 20px; }
    .post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
    .post-tags-label { font-size: 0.78rem; font-weight: 700; color: var(--text-light); margin-right: 4px; align-self: center; }
    .post-tag { padding: 4px 12px; background: var(--off-white); border: 1px solid var(--border); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-decoration: none; transition: all 0.18s; }
    .post-tag:hover { background: var(--lavender-bg); border-color: var(--blue-card); color: var(--blue-card); }
    .author-bio { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; }
    .author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: var(--gold); flex-shrink: 0; }
    .author-bio-name { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
    .author-bio-role { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
    .author-bio-text { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }
    .sidebar { position: sticky; top: 100px; }
    .sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
    .sidebar-widget-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
    .sidebar-cta { background: var(--navy); border-color: transparent; text-align: center; }
    .sidebar-cta .sidebar-widget-title { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
    .sidebar-cta h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
    .sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-bottom: 16px; line-height: 1.55; }
    @media (max-width: 1024px) { .post-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
    @media (max-width: 640px) { .post-title { font-size: 1.55rem; } .post-body h2 { font-size: 1.25rem; } }
