/*
Theme Name: IC Wealth Custom
Author: You
Description: Hand-coded theme for IC Wealth. Light IG-style homepage, blog with featured post and category pills, Indian-market calculators, Polylang-ready.
Version: 3.1
Text Domain: icwealth
*/

/* ---------- BRAND TOKENS ---------- */
:root {
  --ic-navy: #03045e;
  --ic-navy-2: #05097a;
  --ic-cyan: #00b4d8;
  --ic-cyan-2: #03d3ef;
  --ic-cyan-soft: #caf0f8;
  --ic-cyan-softer: #e6f7fb;
  --ic-yellow: #ffdf01;
  --ic-blue-link: #0f6bd8;
  --ic-ink: #0f172a;
  --ic-muted: #64748b;
  --ic-border: #e2e8f0;
  --ic-border-soft: #eef2f5;
  --ic-bg-soft: #f8fafc;
  --font-display: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ic-ink);
  line-height: 1.65;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-wrap { background: #ffffff; }
.site-wrap {
  flex: 1;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ic-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.25;
}
p { margin: 0 0 12px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- UTILITY BAR ---------- */
.utility-bar {
  background: var(--ic-navy);
  color: var(--ic-cyan-soft);
  font-size: 12px;
  padding: 6px 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}
.utility-bar .lang-switcher { display: flex; gap: 10px; align-items: center; }
.utility-bar .lang-switcher ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.utility-bar a { color: var(--ic-cyan-soft); }
.utility-bar a:hover, .utility-bar .current-lang { color: #fff; font-weight: 600; }

/* ---------- HEADER ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: #fff;
  border-bottom: 1px solid var(--ic-border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
}
.site-header .logo-wrap { display: flex; align-items: center; }
.site-header .logo-wrap img { height: 42px; width: auto; display: block; }
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.site-header nav a {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #334155;
  font-weight: 600;
  padding-bottom: 3px;
}
.site-header nav a:hover { color: var(--ic-navy); }
.site-header nav .current-menu-item a,
.site-header nav .current_page_item a {
  color: var(--ic-navy);
  font-weight: 600;
  border-bottom: 2px solid var(--ic-cyan);
}
.site-header .btn-cta {
  font-family: var(--font-display);
  background: var(--ic-blue-link);
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.site-header .btn-cta:hover { filter: brightness(1.08); }

/* ---------- HERO (light gradient, IG style) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #bfe3f2 0%, #d9eef7 34%, #fce8c8 62%, #f7d9a8 80%, #eef7fa 100%);
  padding: 88px 32px 168px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: -70px;
  bottom: 60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,223,1,0.5), rgba(255,223,1,0) 70%);
  pointer-events: none;
}
.hero .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: var(--ic-navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 660px;
}
.hero p {
  font-size: 1.15rem;
  color: #1e3a5f;
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.btn {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--ic-blue-link);
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.btn:hover { filter: brightness(1.08); }
.btn-secondary {
  background: transparent;
  color: var(--ic-navy);
  border: 1px solid rgba(3,4,94,0.3);
  margin-left: 8px;
}
.btn-secondary:hover { background: rgba(3,4,94,0.05); filter: none; }

.hero-badge {
  display: inline-block;
  background: var(--ic-yellow);
  color: var(--ic-navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* ---------- OVERLAP CARD STRIP ---------- */
.hero-strip {
  position: relative;
  max-width: 1200px;
  margin: -92px auto 0;
  padding: 0 24px;
  z-index: 5;
}
.hero-strip-inner {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 44px rgba(3, 4, 94, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.hero-strip-card {
  padding: 28px 30px;
  border-right: 1px solid var(--ic-border-soft);
  display: block;
}
.hero-strip-card:last-child { border-right: none; }
.hero-strip-card:hover { background: var(--ic-bg-soft); }
.hero-strip-card .kind { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ic-navy); margin: 0 0 4px; }
.hero-strip-card .tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--ic-blue-link);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.hero-strip-card .desc { font-size: 13px; color: var(--ic-muted); line-height: 1.55; margin: 0 0 12px; }
.hero-strip-card .go { font-size: 13px; color: var(--ic-blue-link); font-weight: 500; }
@media (max-width: 860px) {
  .hero-strip-inner { grid-template-columns: 1fr; }
  .hero-strip-card { border-right: none; border-bottom: 1px solid var(--ic-border-soft); }
  .hero-strip-card:last-child { border-bottom: none; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 88px 24px; }
.section-title { margin-bottom: 44px; }
.section-title h2 { font-size: 2rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.025em; }
.section-title p { color: var(--ic-muted); font-size: 1rem; margin: 0; }
.section-title .see-all { font-size: 14px; color: var(--ic-blue-link); font-weight: 500; margin-left: 14px; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border: 1px solid var(--ic-border-soft);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(3, 4, 94, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(3, 4, 94, 0.09);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ic-cyan-softer);
  color: var(--ic-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: var(--ic-ink); }
.service-card p { color: var(--ic-muted); font-size: 0.9rem; margin: 0 0 12px; }
.service-card .go { font-size: 13px; color: var(--ic-blue-link); font-weight: 500; }

/* ---------- BLOG LISTING ---------- */
.blog-head {
  background: linear-gradient(180deg, #eaf6fb 0%, #ffffff 100%);
  padding: 48px 24px 28px;
}
.blog-head .container h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.03em; }
.blog-head .container p { color: var(--ic-muted); margin: 0; }

.cat-pills {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-pill {
  padding: 8px 18px;
  border-radius: 22px;
  border: 1px solid var(--ic-border);
  color: #475569;
  font-size: 13px;
  display: inline-block;
}
.cat-pill:hover { border-color: var(--ic-navy); color: var(--ic-navy); }
.cat-pill.active { background: var(--ic-navy); color: #fff; border-color: var(--ic-navy); }

.featured-post {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.featured-post-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--ic-border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(3, 4, 94, 0.06);
  background: #fff;
}
.featured-post-inner:hover { box-shadow: 0 10px 30px rgba(3, 4, 94, 0.1); }
.featured-post .thumb {
  background: linear-gradient(135deg, var(--ic-cyan-soft), var(--ic-cyan-softer));
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ic-navy);
}
.featured-post .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-post .body { padding: 32px; }
.featured-post .cat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ic-blue-link);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.featured-post h2 { font-size: 1.5rem; font-weight: 800; margin: 10px 0 8px; letter-spacing: -0.02em; }
.featured-post .meta { font-size: 13px; color: #94a3b8; margin: 0 0 10px; }
.featured-post .excerpt { font-size: 14px; color: var(--ic-muted); margin: 0 0 14px; }
.featured-post .go { font-size: 14px; color: var(--ic-blue-link); font-weight: 500; }
@media (max-width: 780px) {
  .featured-post-inner { grid-template-columns: 1fr; }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ic-border-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(3, 4, 94, 0.09);
}
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; display: block; }
.post-card .post-thumb-fallback {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ic-cyan-soft), var(--ic-cyan-softer));
  display: flex; align-items: center; justify-content: center;
  color: var(--ic-navy);
}
.post-card .post-body { padding: 18px 20px 22px; }
.post-card .cat-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ic-blue-link);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.post-card h3 { margin: 6px 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--ic-navy); line-height: 1.4; }
.post-card .meta { font-size: 12px; color: #94a3b8; }

/* ---------- SINGLE POST ---------- */
article.single-post {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px;
}
article.single-post .cat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ic-blue-link);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
article.single-post h1 { font-size: 2.3rem; font-weight: 800; margin: 10px 0 8px; letter-spacing: -0.03em; }
article.single-post .meta { color: #94a3b8; font-size: 0.9rem; margin-bottom: 24px; }
article.single-post img { border-radius: 10px; margin: 24px 0; }
article.single-post .content { font-size: 1.05rem; line-height: 1.75; color: #334155; }
article.single-post .content h2 { margin-top: 32px; font-weight: 500; }

/* ---------- CALCULATORS ---------- */
.calculator-page { max-width: 1000px; margin: 0 auto; padding: 56px 24px; }
.calculator-page > h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.03em; }
.calculator-page > .lede { color: var(--ic-muted); margin-bottom: 32px; font-size: 1rem; }
.calc-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ic-border);
  flex-wrap: wrap;
}
.calc-tab-btn {
  font-family: var(--font-display);
  padding: 12px 18px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ic-muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.calc-tab-btn:hover { color: var(--ic-navy); }
.calc-tab-btn.active { color: var(--ic-navy); border-bottom-color: var(--ic-cyan); }
.calc-tab-btn .ic { font-size: 16px; margin-right: 6px; vertical-align: -2px; }
.calc-panel { display: none; }
.calc-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 8px 0;
}
@media (max-width: 720px) { .calc-panel.active { grid-template-columns: 1fr; } }
.calc-field { margin-bottom: 20px; }
.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}
.calc-field-val {
  background: var(--ic-cyan-softer);
  color: var(--ic-navy);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: var(--ic-border);
  border-radius: 3px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--ic-cyan);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--ic-cyan);
}
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--ic-cyan);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}
.calc-result-card { background: var(--ic-bg-soft); border-radius: 12px; padding: 24px; }
.calc-donut-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.calc-highlight {
  text-align: center;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--ic-border);
  margin-bottom: 12px;
}
.calc-highlight .lbl { font-size: 12px; color: var(--ic-muted); margin-bottom: 4px; }
.calc-highlight .val { font-size: 26px; font-weight: 600; color: var(--ic-navy); font-variant-numeric: tabular-nums; }
.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--ic-border);
}
.calc-stat-row:last-child {
  border-bottom: none;
  border-top: 1.5px solid var(--ic-navy);
  padding-top: 14px;
  margin-top: 6px;
  font-weight: 600;
}
.calc-stat-lbl { color: #334155; }
.calc-stat-num { color: var(--ic-navy); font-variant-numeric: tabular-nums; font-weight: 500; }
.calc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.calc-disclaimer {
  margin-top: 32px;
  padding: 14px 18px;
  background: #fef9e7;
  border-left: 3px solid var(--ic-yellow);
  font-size: 13px;
  color: #664d03;
  border-radius: 4px;
}

/* ---------- FOOTER (simplified) ---------- */
.site-footer {
  background: var(--ic-navy);
  color: #cfd8dc;
  padding: 44px 24px 20px;
}
.site-footer .footer-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 14.5px; font-weight: 700; }
.site-footer .footer-brand p { color: #90e0ef; font-size: 13.5px; max-width: 320px; margin: 0; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #90e0ef; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .copyright {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  font-size: 12.5px;
  color: #90e0ef;
}

/* ---------- PAGINATION ---------- */
.pagination-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.nav-links { display: flex; gap: 8px; }
.nav-links .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--ic-border);
  border-radius: 6px;
  font-size: 14px;
  color: #475569;
}
.nav-links .page-numbers.current { background: var(--ic-navy); color: #fff; border-color: var(--ic-navy); }

/* ---------- RESPONSIVE HEADER ---------- */
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; padding: 12px 20px; }
  .site-header nav { order: 3; width: 100%; }
  .site-header nav ul { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .utility-bar { padding: 6px 20px; }
  .hero { padding: 56px 24px 140px; }
}

/* ---------- CONSTRUCTION BANNER ---------- */
.site-banner {
  background: var(--ic-navy);
  color: var(--ic-cyan-soft);
  text-align: center;
  padding: 11px 24px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.site-banner-pill {
  background: var(--ic-yellow);
  color: var(--ic-navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.site-banner-text {
  color: #caf0f8;
  font-size: 13px;
}

/* ---------- CALCULATOR RISK LABEL ---------- */
.calc-risk-label {
  margin-top: 6px;
  font-size: 12px;
  min-height: 18px;
  transition: color 0.2s;
}

/* ---------- STICKY FOOTER (flex body) ---------- */
html { height: 100%; }
.site-wrap { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* ---------- GRAPH HERO (v3.2) ---------- */
.hero {
  position: relative;
  background: var(--ic-navy);
  overflow: hidden;
  padding: 0;
}
/* override old gradient hero */
.hero::before, .hero::after { display: none; }

.hero-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 148px;
  gap: 32px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-left h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 500px;
}
.hero-sub1 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ic-cyan);
  margin: 0 0 6px !important;
  font-family: var(--font-display);
}
.hero-sub2 {
  font-size: 0.95rem;
  color: var(--ic-cyan-soft);
  opacity: 0.85;
  margin: 0 0 28px !important;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
}

.stat-chip {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 185px;
  animation: floatChip 3.5s ease-in-out infinite alternate;
}
.stat-chip:nth-child(2) { animation-delay: 0.8s; }
.stat-chip:nth-child(3) { animation-delay: 1.6s; }
@keyframes floatChip {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.chip-val {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ic-cyan);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.chip-lbl {
  font-size: 12px;
  color: #90e0ef;
  line-height: 1.4;
}

/* Responsive hero */
@media (max-width: 860px) {
  .hero-cols {
    grid-template-columns: 1fr;
    padding: 52px 24px 140px;
  }
  .hero-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .stat-chip { min-width: 140px; }
}

/* Utility bar tagline */
.utility-bar { justify-content: space-between; }
.utility-bar .tagline {
  color: rgba(202,240,248,0.55);
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

/* ---------- HERO TEXT COLOUR FIXES ---------- */
.hero-sub1 {
  color: #fff !important;
}
.hero-sub2 {
  color: rgba(255,255,255,0.75) !important;
  opacity: 1 !important;
}
.hero-btns .btn {
  background: #fff;
  color: var(--ic-navy);
}
.hero-btns .btn:hover {
  background: #f0f0f0;
  filter: none;
}
.hero-btns .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.hero-btns .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  background: linear-gradient(180deg, #eaf6fb 0%, #ffffff 100%);
  padding: 52px 24px 36px;
  border-bottom: 1px solid var(--ic-border-soft);
}
.contact-hero h1 { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.03em; }
.contact-hero p  { color: var(--ic-muted); font-size: 1rem; margin: 0; max-width: 560px; }

.contact-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 72px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-body { grid-template-columns: 1fr; gap: 32px; }
}

/* Form */
.contact-form .form-row { display: grid; gap: 20px; margin-bottom: 20px; }
.contact-form .form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .contact-form .form-row-2 { grid-template-columns: 1fr; } }
.contact-form .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.contact-form label { font-size: 13.5px; font-weight: 600; color: #334155; }
.contact-form .req { color: var(--ic-blue-link); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ic-border);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--ic-ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ic-cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--ic-navy);
  color: #fff;
  border-radius: 8px;
  transition: background 0.15s;
}
.contact-submit:hover { background: var(--ic-navy-2); filter: none; }

.form-note { font-size: 12px; color: #94a3b8; margin-top: 10px; text-align: center; }

/* Errors / Success */
.contact-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.contact-errors p { color: #991b1b; font-size: 13.5px; margin: 0 0 4px; }
.contact-errors p:last-child { margin: 0; }

.contact-success {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 12px;
}
.contact-success h3 { font-size: 1.4rem; color: #15803d; margin: 14px 0 8px; }
.contact-success p  { color: #166534; font-size: 14.5px; margin: 0; }

/* Info card */
.contact-info-card {
  background: var(--ic-bg-soft);
  border: 1px solid var(--ic-border-soft);
  border-radius: 12px;
  padding: 28px;
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }
.contact-info-card h4 { font-size: 13px; font-weight: 700; color: var(--ic-muted); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 12px; }

.contact-details-list { list-style: none; padding: 0; margin: 0; }
.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}
.contact-details-list svg { color: var(--ic-cyan); flex-shrink: 0; }
.contact-details-list a { color: var(--ic-blue-link); font-weight: 500; }
.contact-details-list a:hover { text-decoration: underline; }

.contact-divider { border: none; border-top: 1px solid var(--ic-border); margin: 20px 0; }

.contact-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}
.contact-steps li span {
  background: var(--ic-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-quick-links { display: flex; flex-direction: column; gap: 8px; }
.quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ic-blue-link);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--ic-border);
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.quick-link:hover { background: var(--ic-cyan-softer); border-color: var(--ic-cyan); }
.quick-link svg { color: var(--ic-navy); flex-shrink: 0; }

/* ---------- CAREERS PAGE ---------- */
.careers-hero {
  background: var(--ic-navy);
  padding: 56px 40px 64px;
  position: relative;
  overflow: hidden;
}
.careers-hero::after {
  content:''; position:absolute; right:-60px; top:-60px;
  width:260px; height:260px; border-radius:50%;
  background:#00b4d8; opacity:0.08; pointer-events:none;
}
.careers-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ic-cyan); margin: 0 0 12px;
}
.careers-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: #fff; margin: 0 0 12px; letter-spacing: -0.03em; line-height: 1.2;
}
.careers-hero p { font-size: 15px; color: var(--ic-cyan-soft); margin: 0; max-width: 540px; line-height: 1.7; }

.careers-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; padding: 28px 40px;
  background: var(--ic-cyan-softer); border-bottom: 1px solid var(--ic-border);
}
.careers-stat { text-align: center; }
.cs-num { font-size: 28px; font-weight: 800; color: var(--ic-navy); font-family: var(--font-display); letter-spacing: -0.02em; }
.cs-lbl { font-size: 12px; color: var(--ic-muted); margin-top: 3px; }

.careers-slides-wrap { position: relative; overflow: hidden; background: #fff; }
.careers-slides-track { display: flex; transition: transform 0.45s cubic-bezier(0.25,0.1,0.25,1); }
.careers-slide { min-width: 100%; padding: 48px 40px; box-sizing: border-box; }
.careers-slide-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; max-width: 960px; margin: 0 auto;
}
@media (max-width: 780px) { .careers-slide-inner { grid-template-columns: 1fr; } }

.cs-text .cs-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ic-blue-link); margin: 0 0 10px;
}
.cs-text h2 { font-size: 22px; font-weight: 800; color: var(--ic-navy); margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.3; }
.cs-text p  { font-size: 14px; color: var(--ic-muted); line-height: 1.7; margin: 0; }

.cs-visual {
  background: var(--ic-bg-soft); border: 1px solid var(--ic-border);
  border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.cs-big-num { font-size: 52px; font-weight: 800; color: var(--ic-yellow); font-family: var(--font-display); line-height: 1; }
.cs-visual-title { font-size: 12px; font-weight: 700; color: var(--ic-navy); letter-spacing: 0.3px; }
.cs-visual-divider { height: 1px; background: var(--ic-border); margin: 4px 0; }
.cs-risk { font-size: 12.5px; color: var(--ic-muted); line-height: 1.6; margin: 0; }
.cs-risk strong { color: #dc2626; }

.cs-benefit { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fff; border-radius: 8px; border: 1px solid var(--ic-border); }
.cs-benefit-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-benefit-title { font-size: 13.5px; font-weight: 600; color: var(--ic-navy); line-height: 1.4; }
.cs-benefit-sub { font-size: 12px; color: var(--ic-muted); margin-top: 2px; }

.cs-steps { gap: 16px; }
.cs-step { display: flex; align-items: flex-start; gap: 12px; }
.cs-step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; margin-top: 1px; }
.cs-step-title { font-size: 13px; font-weight: 600; color: var(--ic-navy); }
.cs-step-sub { font-size: 12px; color: var(--ic-muted); }

.careers-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 0; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--ic-border); cursor: pointer; border: none; transition: background 0.2s; }
.cdot.on { background: var(--ic-navy); }
.careers-nav { display: flex; justify-content: center; gap: 10px; padding: 0 0 28px; }
.careers-nav button { background: none; border: 1px solid var(--ic-border); border-radius: 6px; padding: 7px 16px; font-size: 13px; color: var(--ic-muted); cursor: pointer; font-family: var(--font-body); }
.careers-nav button:hover { border-color: var(--ic-navy); color: var(--ic-navy); }

.careers-form-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px 72px; }
.careers-form-wrap h2 { font-size: 1.6rem; font-weight: 800; color: var(--ic-navy); margin: 0 0 6px; letter-spacing: -0.02em; }
.careers-form-sub { font-size: 14px; color: var(--ic-muted); margin: 0 0 28px; }

/* ---------- CAREERS PADDING FIXES ---------- */
.careers-hero { padding: 72px 48px 80px; }
.careers-stats { padding: 32px 48px; }
.careers-slide { padding: 56px 48px; }
.careers-slides-wrap { padding: 0; }
@media (max-width: 860px) {
  .careers-hero { padding: 52px 24px 60px; }
  .careers-stats { padding: 24px; grid-template-columns: 1fr; }
  .careers-slide { padding: 40px 24px; }
}

/* ---------- FOOTER DISCLAIMER ---------- */
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 11.5px;
  color: #90e0ef;
  line-height: 1.7;
  text-align: center;
}

/* Footer 3 columns now */
.site-footer .footer-cols {
  grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 720px) {
  .site-footer .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- CAREERS PADDING HARD FIX ---------- */
.careers-hero,
.careers-stats,
.careers-slide,
.careers-form-wrap { padding-left: 48px !important; padding-right: 48px !important; }
.careers-slides-track .careers-slide-inner { padding-left: 0; padding-right: 0; }
.careers-stats { padding-top: 32px !important; padding-bottom: 32px !important; }
.careers-slide { padding-top: 56px !important; padding-bottom: 56px !important; }
@media (max-width: 860px) {
  .careers-hero,
  .careers-stats,
  .careers-slide,
  .careers-form-wrap { padding-left: 24px !important; padding-right: 24px !important; }
}

/* ---------- CAREERS BOTTOM PADDING FIX ---------- */
.careers-slides-wrap { padding-bottom: 48px !important; }
.careers-dots { margin-bottom: 8px; }
.careers-nav { padding-bottom: 0 !important; }

/* ---------- CAREERS ABOVE CAROUSEL FIX ---------- */
.careers-slides-wrap { padding-top: 48px !important; }

/* ---------- BLOG IMAGE + TITLE FIXES ---------- */
/* Homepage blog cards — bigger title */
.post-card h3 { font-size: 1.15rem !important; font-weight: 700 !important; }

/* Blog listing — featured post image max height */
.featured-post .thumb img {
  max-height: 260px;
  object-fit: cover;
  width: 100%;
}
.featured-post .thumb {
  min-height: 180px;
  max-height: 260px;
  overflow: hidden;
}

/* Blog listing — grid card image smaller */
.post-card img {
  aspect-ratio: 16/9 !important;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}
.post-card .post-thumb-fallback {
  aspect-ratio: 16/9 !important;
  max-height: 180px;
}

/* Single post — image not full bleed wide */
article.single-post img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

/* ---------- CALCULATOR UI REDESIGN (reference style) ---------- */

/* Outer card */
.calculator-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}
.calc-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(3,4,94,0.06);
}

/* Tabs — pill style like the reference */
.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: none !important;
  flex-wrap: wrap;
}
.calc-tab-btn {
  padding: 8px 20px !important;
  border-radius: 22px !important;
  border: 1.5px solid var(--ic-border) !important;
  border-bottom: 1.5px solid var(--ic-border) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ic-muted) !important;
  background: #fff !important;
  margin-bottom: 0 !important;
}
.calc-tab-btn.active {
  background: var(--ic-cyan-softer) !important;
  color: var(--ic-navy) !important;
  border-color: var(--ic-cyan) !important;
}
.calc-tab-btn svg.ic { display: none; }

/* Panel layout — sliders left, donut right */
.calc-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Field rows */
.calc-field { margin-bottom: 28px; }
.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #334155;
}
.calc-field-head span:first-child { font-weight: 500; color: #475569; }
.calc-field-val {
  background: var(--ic-cyan-softer) !important;
  color: var(--ic-navy) !important;
  border-radius: 6px !important;
  padding: 4px 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  min-width: 80px;
  text-align: right;
}

/* Slider — filled track via JS */
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  outline: none;
  background: #e2e8f0;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #00b4d8;
  box-shadow: 0 1px 6px rgba(0,180,216,0.3);
}
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #00b4d8;
}

/* Result card — right side */
.calc-result-card {
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Donut legend */
.calc-donut-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: #475569;
}
.calc-donut-legend span { display: flex; align-items: center; gap: 6px; }
.calc-donut-legend .dot-invested { width: 12px; height: 12px; border-radius: 3px; background: #e8eaf6; display: inline-block; }
.calc-donut-legend .dot-returns  { width: 12px; height: 12px; border-radius: 3px; background: #03045e; display: inline-block; }

/* Stat rows */
.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 14px;
}
.calc-stat-row:last-child {
  border-bottom: none !important;
  border-top: none !important;
  padding-top: 14px;
  margin-top: 4px;
  font-weight: 700 !important;
  font-size: 15px;
}
.calc-stat-lbl { color: #64748b; font-weight: 400; }
.calc-stat-num { color: var(--ic-navy); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }

/* EMI highlight */
.calc-highlight {
  text-align: left !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 12px !important;
}
.calc-highlight .lbl { font-size: 13px; color: #64748b; margin-bottom: 4px; }
.calc-highlight .val { font-size: 28px; font-weight: 800; color: var(--ic-navy); font-variant-numeric: tabular-nums; }

/* Invest Now CTA */
.calc-invest-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  background: var(--ic-cyan);
  color: var(--ic-navy);
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.calc-invest-btn:hover { background: var(--ic-cyan-2); }

/* Disclaimer */
.calc-disclaimer {
  margin-top: 28px !important;
  font-size: 12px !important;
}

@media (max-width: 720px) {
  .calc-panel.active { grid-template-columns: 1fr; }
  .calc-card { padding: 24px 18px; }
}

/* ============================================================
   CALCULATOR PAGE v2 — 8 calculators, unified design system
   ============================================================ */

/* Main top-level tabs */
.calc-main-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.calc-main-tab {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--ic-border);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ic-muted);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.calc-main-tab:hover { border-color: var(--ic-navy); color: var(--ic-navy); }
.calc-main-tab.active {
  background: var(--ic-navy);
  color: #fff;
  border-color: var(--ic-navy);
}

/* Calculator section cards */
.calc-section { display: none; }
.calc-section.active { display: block; }

.calc-card-header { margin-bottom: 28px; }
.calc-card-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ic-navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.calc-card-header p { font-size: 14px; color: var(--ic-muted); margin: 0; line-height: 1.6; }

/* Two-column layout */
.calc-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .calc-two-col { grid-template-columns: 1fr; } }

/* Inputs column */
.calc-inputs { display: flex; flex-direction: column; }

/* Select input */
.calc-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ic-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ic-ink);
  background: #fff;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.calc-select:focus { border-color: var(--ic-cyan); box-shadow: 0 0 0 3px rgba(0,180,216,0.1); }

/* Divider inside result card */
.calc-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 8px 0;
}

/* Insight box at bottom of each calculator */
.calc-insight {
  margin-top: 20px;
  padding: 14px 18px;
  background: #f8fafc;
  border-left: 3px solid var(--ic-cyan);
  border-radius: 4px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}
.calc-insight strong { color: var(--ic-navy); }

/* Donut legend */
.calc-donut-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: #475569;
  flex-wrap: wrap;
}
.calc-donut-legend span { display: flex; align-items: center; gap: 6px; }
.dot-invested { width: 11px; height: 11px; border-radius: 3px; background: #e8eaf6; display: inline-block; flex-shrink:0; }
.dot-returns  { width: 11px; height: 11px; border-radius: 3px; background: #03045e; display: inline-block; flex-shrink:0; }

/* Override old tab styles for main calc tabs */
.calculator-page .calc-tabs { display: none !important; }

/* Responsive tweaks */
@media (max-width: 600px) {
  .calc-main-tab { font-size: 12px; padding: 8px 12px; }
  .calc-card { padding: 20px 16px; }
}

/* ---------- CALC TOP DISCLAIMER ---------- */
.calc-top-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fef9e7;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--ic-yellow);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 12.5px;
  color: #664d03;
  line-height: 1.6;
  margin-bottom: 24px;
}
.calc-top-disclaimer svg { color: #b45309; }



/* ---------- DONUT COLOUR FIX — match site palette ---------- */
.dot-invested { background: #caf0f8 !important; }
.dot-returns  { background: #00b4d8 !important; }

/* ---------- SINGLE POST IMAGE FIX — show top of portrait photos ---------- */
article.single-post img {
  max-height: 500px !important;
  object-fit: cover !important;
  object-position: top center !important;
  width: 100% !important;
  border-radius: 10px !important;
}

/* ---------- CAREERS PAGE BACKGROUND FIX ---------- */
.careers-stats {
  background: #fff !important;
  border-bottom: 1px solid var(--ic-border) !important;
}
.careers-slides-wrap { background: #fff !important; }
.careers-form-wrap { background: #fff !important; }
.cs-visual { background: var(--ic-bg-soft) !important; }

/* ---------- CAREERS HERO BLEED FIX ---------- */
.careers-hero {
  background: var(--ic-navy) !important;
  padding-bottom: 56px !important;
}
.careers-hero + * {
  position: relative;
  z-index: 1;
  background: #ffffff !important;
}
.careers-stats,
.careers-slides-wrap,
.careers-form-wrap,
.careers-form-wrap .container {
  background: #ffffff !important;
}
/* Ensure the page body after hero is fully white */
.careers-hero ~ div,
.careers-hero ~ section {
  background: #ffffff !important;
}

/* ---------- SITE WRAP + CAREERS PAGE DEFINITIVE BG FIX ---------- */
.site-wrap { background: #ffffff; }
body.page-template-page-careers { background: #ffffff; }
.careers-stats { background: #ffffff !important; }
.careers-slides-wrap { background: #ffffff !important; overflow: visible !important; }
.careers-form-wrap { background: #ffffff !important; }
.careers-white-body {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

/* ---------- CAREERS FORM TEXT DARKER ---------- */
.careers-form-sub { color: #334155 !important; }
.contact-form .form-note { color: #475569 !important; }

/* ---------- CAREERS FULL WIDTH WHITE FIX ---------- */
.careers-white-body {
  background: #ffffff !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
}
.careers-stats,
.careers-slides-wrap,
.careers-slides-track,
.careers-slide,
.careers-dots,
.careers-nav,
.careers-form-wrap {
  background: #ffffff !important;
  width: 100% !important;
}
/* Remove the floating card look from stats - make it full bleed white */
.careers-stats {
  border: none !important;
  border-bottom: 1px solid var(--ic-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ---------- HERO SINGLE COLUMN (chips removed) ---------- */
.hero-single-col {
  grid-template-columns: 1fr !important;
  max-width: 720px !important;
}
.hero-single-col .hero-left h1 { max-width: 100%; }
.hero-single-col .hero-left p  { max-width: 580px; }

/* ---------- BLOG POST TABLES ---------- */
article.single-post .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(3, 4, 94, 0.06);
}
article.single-post .content table thead {
  background: var(--ic-navy);
}
article.single-post .content table th {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  padding: 14px 18px;
  letter-spacing: 0.2px;
}
article.single-post .content table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ic-border-soft);
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}
article.single-post .content table tbody tr:nth-child(even) {
  background: var(--ic-bg-soft);
}
article.single-post .content table tbody tr:hover {
  background: var(--ic-cyan-softer);
}
article.single-post .content table tbody tr:last-child td {
  border-bottom: none;
}
article.single-post .content table td:first-child {
  font-weight: 600;
  color: var(--ic-navy);
  white-space: nowrap;
}

/* Responsive: horizontal scroll on mobile instead of squishing */
@media (max-width: 640px) {
  article.single-post .content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  article.single-post .content table td,
  article.single-post .content table th {
    white-space: normal;
    min-width: 160px;
  }
}

/* ---------- BANNER TEXT BIGGER + BOLDER ---------- */
.site-banner {
  padding: 14px 24px !important;
}
.site-banner-pill {
  font-size: 13px !important;
  padding: 6px 16px !important;
}
.site-banner-text {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

/* ---------- BANNER — MAKE IT STAND OUT ---------- */
.site-banner {
  padding: 16px 24px !important;
  gap: 16px !important;
  background: linear-gradient(90deg, var(--ic-navy) 0%, #0a1a6e 50%, var(--ic-navy) 100%) !important;
}
.site-banner-pill {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  padding: 7px 18px !important;
  box-shadow: 0 0 0 0 rgba(255, 223, 1, 0.5);
  animation: pillPulse 2.2s infinite;
}
@keyframes pillPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 223, 1, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 223, 1, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 223, 1, 0); }
}
.site-banner-text {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.1px;
}
@media (max-width: 640px) {
  .site-banner { flex-direction: column; gap: 8px; padding: 14px 16px !important; text-align: center; }
  .site-banner-text { font-size: 14px !important; }
}

/* ---------- HEADER ACTIONS (Login + Find Advisor) ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-login {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ic-navy);
  padding: 8px 4px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-login:hover {
  color: var(--ic-blue-link);
}
@media (max-width: 900px) {
  .header-actions { gap: 10px; }
  .btn-login { font-size: 13px; }
}
