/* ── EchoWealth Custom Theme CSS ─────────────────────────────────────────── */

/* ── Testimonial video card ── */
.ew-video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #003366;
  cursor: pointer;
  display: block;
}
.ew-video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s, transform 0.4s;
}
.ew-video-card:hover img {
  opacity: 0.75;
  transform: scale(1.03);
}
.ew-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ew-video-card__play > div,
.ew-video-card__play-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.25s;
}
.ew-video-card:hover .ew-video-card__play > div,
.ew-video-card:hover .ew-video-card__play-btn {
  transform: scale(1.12);
  background: rgba(255,255,255,0.28);
}

/* ── Video modal ── */
#ew-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#ew-video-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
#ew-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ew-modal-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  padding: 0 16px;
}
.ew-modal-content {
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.26, 0.64, 1);
}
#ew-video-modal.open .ew-modal-content {
  transform: scale(1) translateY(0);
}
#ew-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#ew-modal-close:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.ew-modal-video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
#ew-modal-video-inner {
  position: absolute;
  inset: 0;
}
#ew-modal-video-inner iframe,
#ew-modal-video-inner video {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.ew-modal-meta {
  margin-top: 14px;
  padding: 0 2px;
}

/* ── Logo SVG ── */
.ew-logo svg { width: 185px; height: auto; }

/* ── Sticky Nav ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,51,102,0.08);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 32px rgba(0,51,102,0.10); }

/* ── Hero ── */
.hero-section {
  background:
    linear-gradient(135deg, rgba(0,33,80,0.62) 0%, rgba(0,20,55,0.70) 100%),
    var(--hero-bg, #003366) center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,204,113,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,68,136,0.4) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Grid lines texture ── */
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,204,113,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,204,113,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ── Large decorative EW ── */
.deco-ew {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(160px, 18vw, 280px);
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2ECC71;
  color: #003366;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #27ae60;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46,204,113,0.35);
}

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline-dark:hover {
  border-color: #2ECC71;
  background: rgba(46,204,113,0.08);
  transform: translateY(-1px);
}

.btn-outline-emerald {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: #2ECC71;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 4px;
  border: 1.5px solid #2ECC71;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline-emerald:hover {
  background: #2ECC71;
  color: #003366;
}

/* ── Principle Cards ── */
.principle-card {
  background: #ffffff;
  border-radius: 8px;
  border-top: 3px solid #2ECC71;
  padding: 36px 32px;
  box-shadow: 0 2px 20px rgba(0,51,102,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,51,102,0.12);
}

/* ── Path Cards ── */
.path-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 2px 20px rgba(0,51,102,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #003366, #2ECC71);
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,51,102,0.13);
}
.path-icon {
  width: 52px; height: 52px;
  border-radius: 4px;
  background: linear-gradient(135deg, #003366, #004488);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

/* ── Service tags ── */
.service-tag {
  display: inline-block;
  background: rgba(0,51,102,0.06);
  color: #003366;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 3px;
  margin: 3px 3px 3px 0;
}

/* ── Footer ── */
footer {
  background: #003366;
  color: rgba(255,255,255,0.85);
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #2ECC71; }

/* ── Nav links ── */
.nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: #003366;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 2px;
  background: #2ECC71;
  transition: right 0.25s;
}
.nav-link:hover { color: #002244; }
.nav-link:hover::after { right: 0; }
.nav-link--active {
  color: #003366;
}
.nav-link--active::after {
  right: 0;
  background: #2ECC71;
}

/* ── Scroll fade-up ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Blog / Content Cards ── */
.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,51,102,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,51,102,0.13);
}
.blog-card a { text-decoration: none; color: inherit; }
.blog-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #003366;
}
.blog-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-img { transform: scale(1.04); }
.blog-body { padding: 20px; }
.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #2ECC71;
  font-weight: 500;
  margin-bottom: 8px;
}
.blog-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #003366;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.blog-card:hover .blog-title { color: #2ECC71; }
.blog-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9ca3af;
}

/* ── Off-canvas menu ── */
body.menu-open { overflow: hidden; }
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,20,50,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.offcanvas {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 92vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.offcanvas.open { transform: translateX(0); }
.offcanvas-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,51,102,0.08);
  flex-shrink: 0;
}
.offcanvas-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(0,51,102,0.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.offcanvas-close:hover { background: rgba(0,51,102,0.05); border-color: rgba(0,51,102,0.3); }
.offcanvas-nav { display: flex; flex-direction: column; flex: 1; padding: 8px 0; }
.offcanvas-link {
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 16px;
  color: #003366; text-decoration: none;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(0,51,102,0.06);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.18s, color 0.18s;
}
.offcanvas-link:hover { background: rgba(0,51,102,0.04); color: #2ECC71; }
.offcanvas-link .arrow { opacity: 0.3; transition: opacity 0.18s; }
.offcanvas-link:hover .arrow { opacity: 1; }
.offcanvas-footer {
  padding: 24px; padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0,51,102,0.08); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.offcanvas-footer .btn-primary,
.offcanvas-footer .btn-outline-emerald { width: 100%; justify-content: center; }

/* ── Hero buttons ── */
.hero-btns { flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-dark { width: 100%; justify-content: center; text-align: center; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-dark { flex: 1; justify-content: center; }
}
@media (max-width: 768px) {
  .deco-ew { display: none; }
  .ew-logo svg { width: 150px; }
}

/* ── Stats bar (5 stats) ─────────────────────────────────────────────────── */
.ew-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.ew-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
/* 2-col layout: no right border on even items */
.ew-stat:nth-child(2n) { border-right: none; }
/* Last item: no bottom border; if alone in its row, no right border either */
.ew-stat:last-child { border-bottom: none; border-right: none; }
/* Second-to-last when it starts a new row (i.e. it's even — a left-col item with no partner right) */
.ew-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.ew-stat__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,51,102,0.07);
}
.ew-stat__num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #003366;
  line-height: 1.2;
  white-space: nowrap;
}
.ew-stat__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
  line-height: 1.3;
}
/* Desktop: 5 columns in one row */
@media (min-width: 768px) {
  .ew-stats-grid { grid-template-columns: repeat(5, 1fr); }
  .ew-stat { padding: 28px 20px; gap: 16px; border-bottom: none; }
  /* Restore right borders for all (overrides 2-col even rule) */
  .ew-stat:nth-child(2n)    { border-right: 1px solid #f1f5f9; }
  .ew-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  /* Only the very last item has no right border */
  .ew-stat:last-child { border-right: none; border-bottom: none; }
  .ew-stat__icon { width: 46px; height: 46px; }
  .ew-stat__num { font-size: 22px; }
  .ew-stat__label { font-size: 12px; }
}

/* ── Consultation Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,20,50,0.75);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(0,51,102,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent;
  transition: background 0.2s;
  z-index: 10;
}
.modal-close:hover { background: rgba(0,51,102,0.06); }
.modal-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid rgba(0,51,102,0.08);
}
.modal-body { padding: 28px 40px 36px; }
@media (max-width: 640px) {
  .modal-header { padding: 24px 24px 18px; }
  .modal-body { padding: 20px 24px 28px; }
}

/* ── Form fields ── */
.ew-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
}
.ew-input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  background: #ffffff;
  border: 1.5px solid rgba(0,51,102,0.18);
  border-radius: 4px;
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.ew-input:focus {
  outline: none;
  border-color: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}
.ew-input::placeholder { color: #9ca3af; }

/* ── Checkbox grid ── */
.ew-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
@media (max-width: 480px) { .ew-checkbox-grid { grid-template-columns: 1fr; } }
.ew-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}
.ew-check-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #2ECC71;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Footer India Office Accordion ── */
.footer-branch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  list-style: none;
}
.footer-branch-header:hover { color: #2ECC71; }
.footer-branch-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-left: 12px;
}
.footer-branch-details.open { max-height: 200px; }
.footer-branch-chevron {
  width: 14px; height: 14px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.footer-branch-header.open .footer-branch-chevron { transform: rotate(180deg); }

/* ── People Section ── */
.people-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,51,102,0.06);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.people-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,51,102,0.12);
}
.people-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003366, #004488);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: rgba(255,255,255,0.7);
  overflow: hidden;
}
.people-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid rgba(0,51,102,0.1);
  box-shadow: 0 4px 16px rgba(0,51,102,0.12);
  flex-shrink: 0;
}
.people-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.people-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #003366;
  margin-bottom: 4px;
}
.people-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #2ECC71;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.people-bio {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ── Testimonial video cards ── */
.testimonial-card {
  background: #003366;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,51,102,0.3);
}
.testimonial-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(46,204,113,0.15);
  border: 2px solid rgba(46,204,113,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-card:hover .testimonial-play {
  background: rgba(46,204,113,0.28);
  transform: scale(1.08);
}

/* ── Post content prose ── */
.ew-prose { font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.8; color: #374151; }
.ew-prose h1, .ew-prose h2, .ew-prose h3, .ew-prose h4 {
  font-family: 'Manrope', sans-serif; font-weight: 600; color: #003366; margin-top: 2em; margin-bottom: 0.6em; line-height: 1.3;
}
.ew-prose h2 { font-size: 1.65rem; }
.ew-prose h3 { font-size: 1.35rem; }
.ew-prose h4 { font-size: 1.1rem; }
.ew-prose p { margin-bottom: 1.4em; }
.ew-prose a { color: #2ECC71; text-decoration: underline; }
.ew-prose a:hover { color: #27ae60; }
.ew-prose blockquote {
  border-left: 4px solid #2ECC71;
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(46,204,113,0.04);
  font-style: italic;
  color: #4b5563;
}
.ew-prose ul { list-style-type: disc; padding-left: 1.5em; margin-bottom: 1.4em; }
.ew-prose ol { list-style-type: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.ew-prose li { margin-bottom: 0.4em; }
.ew-prose img { border-radius: 8px; margin: 1.5em 0; }
.ew-prose code {
  font-family: monospace; background: rgba(0,51,102,0.06);
  padding: 2px 6px; border-radius: 3px; font-size: 0.9em;
}
.ew-prose pre { background: #1a1a2e; color: #e5e7eb; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 1.4em; }
.ew-prose pre code { background: transparent; padding: 0; }
.ew-prose table {
  table-layout: fixed !important;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: 0.8125em;
  background: transparent !important;
}
.ew-prose th,
.ew-prose table tbody:first-child tr:first-child td {
  background: #003366 !important;
  color: #fff !important;
  font-weight: 600;
  text-align: left;
  padding: 0.45rem 0.65rem;
  white-space: nowrap;
  border-bottom: none;
}
.ew-prose table tbody:first-child tr:first-child td strong { color: inherit !important; }
.ew-prose td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151 !important;
  vertical-align: top;
  overflow-wrap: break-word;
  background: transparent !important;
}
.ew-prose table tbody:first-child tr:nth-child(n+2):nth-child(even) td,
.ew-prose table tbody:not(:first-child) tr:nth-child(even) td { background: #f9fafb !important; }

/* ── Author bio box ── */
.author-box {
  background: #F8F7F4;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #003366, #004488);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; color: rgba(255,255,255,0.7);
  overflow: hidden;
}

/* ── Pagination ── */
.ew-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ew-pagination a, .ew-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: 4px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.ew-pagination a { background: rgba(0,51,102,0.07); color: #003366; }
.ew-pagination a:hover { background: #2ECC71; color: #003366; }
.ew-pagination .current { background: #003366; color: #ffffff; }

/* ── Search form ── */
.ew-search-form { display: flex; gap: 0; }
.ew-search-input {
  flex: 1;
  font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 14px 20px;
  border: 2px solid rgba(0,51,102,0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.2s;
}
.ew-search-input:focus { border-color: #2ECC71; }
.ew-search-btn {
  padding: 14px 22px;
  background: #003366; color: #fff;
  border: none; border-radius: 0 4px 4px 0;
  cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 600;
  transition: background 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.ew-search-btn:hover { background: #2ECC71; color: #003366; }

/* ── Page / Archive hero ── */
.page-hero {
  background: linear-gradient(135deg, #002244 0%, #003366 100%);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { line-height: 1.08; }
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,204,113,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Category pill ── */
.cat-pill {
  display: inline-block;
  background: #2ECC71;
  color: #003366;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 3px;
}
.cat-pill-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-pill-outline:hover, .cat-pill-outline.active {
  background: #2ECC71; color: #003366; border-color: #2ECC71;
}

/* ── Post prev/next nav ── */
.post-nav-card {
  flex: 1;
  background: #003366;
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-nav-card:hover { background: #002244; transform: translateY(-2px); }

/* ── Widget styles ── */
.ew-widget { margin-bottom: 28px; }
.ew-widget__title { color: #003366; }
.ew-widget ul { list-style: none; padding: 0; margin: 0; }
.ew-widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(0,51,102,0.07); font-family: 'Inter', sans-serif; font-size: 14px; }
.ew-widget ul li:last-child { border-bottom: none; }
.ew-widget ul li a { color: #4b5563; text-decoration: none; transition: color 0.2s; }
.ew-widget ul li a:hover { color: #2ECC71; }

/* ── Form thank-you ── */
.form-thank-you {
  display: none;
  padding: 20px;
  background: rgba(46,204,113,0.08);
  border: 1.5px solid rgba(46,204,113,0.3);
  border-radius: 4px;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: #003366;
}
.form-thank-you.show { display: block; }

/* ── Principle Steps (About page) ── */
.principle-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.principle-step__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.principle-step__circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #003d7a 0%, #002244 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0,51,102,0.22);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.principle-step__line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(0,51,102,0.18) 0%, rgba(0,51,102,0.04) 100%);
  margin: 6px 0;
}
.principle-step__body {
  padding-bottom: 44px;
  padding-top: 8px;
}
.principle-step--last .principle-step__body { padding-bottom: 0; }

/* ── Principle Cards (About page) ── */
.prin-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, background 0.32s ease, border-color 0.32s ease;
}
.prin-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ECC71, #00c264);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}
.prin-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(46,204,113,0.3);
}
.prin-card:hover::after { transform: scaleX(1); }
.prin-card__num {
  position: absolute;
  top: 16px; right: 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s;
}
.prin-card:hover .prin-card__num { opacity: 0; }
.prin-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.prin-card:hover .prin-card__icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(46,204,113,0.2);
}
.prin-card__label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #2ECC71;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.prin-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}
.prin-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  margin: 0;
}
.principle-step__num {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #2ECC71;
  margin-bottom: 6px;
}
.principle-step__title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #003366;
  margin: 0 0 10px;
  line-height: 1.2;
}
.principle-step__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.72;
  margin: 0;
  max-width: 420px;
}

/* ── Service Card Carousel ── */
.ew-carousel { position: relative; }
.ew-carousel__wrapper { overflow: hidden; }
.ew-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}
.ew-carousel__slide {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
}
.ew-carousel__slide > .svc-card { flex: 1; }
#certs-carousel .ew-carousel__slide { width: calc(25% - 18px); }
@media (max-width: 1024px) {
  .ew-carousel__slide { width: calc(50% - 12px); }
}
@media (max-width: 640px) {
  .ew-carousel__slide { width: 100%; }
}
.ew-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.ew-carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,51,102,0.18);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
  color: #003366;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,51,102,0.07);
}
.ew-carousel__btn:hover:not(:disabled) {
  background: #003366;
  border-color: #003366;
  color: #fff;
  transform: scale(1.08);
}
.ew-carousel__btn:disabled { opacity: 0.28; cursor: default; }
.ew-carousel__dots { display: flex; gap: 7px; align-items: center; }
.ew-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,51,102,0.18);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, width 0.25s, border-radius 0.25s;
}
.ew-carousel__dot.active {
  background: #2ECC71;
  width: 24px;
  border-radius: 4px;
}

/* ── Service Cards ── */
.svc-card {
  border-radius: 16px;
  padding: 36px 32px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ECC71, #00c264);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover { transform: translateY(-8px); }

/* Light variant */
.svc-card--light {
  background: #ffffff;
  border: 1px solid rgba(0,51,102,0.08);
  box-shadow: 0 4px 20px rgba(0,51,102,0.05);
}
.svc-card--light:hover {
  box-shadow: 0 24px 64px rgba(0,51,102,0.13);
  border-color: rgba(46,204,113,0.3);
}

/* Dark variant */
.svc-card--dark {
  background: linear-gradient(145deg, #003d7a 0%, #002244 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,20,60,0.25);
}
.svc-card--dark:hover {
  box-shadow: 0 24px 64px rgba(0,20,60,0.38);
  border-color: rgba(46,204,113,0.25);
}

/* Icon container */
.svc-card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}
.svc-card:hover .svc-card__icon { transform: scale(1.1) rotate(-3deg); }
.svc-card--light .svc-card__icon {
  background: linear-gradient(135deg, rgba(46,204,113,0.14) 0%, rgba(0,51,102,0.06) 100%);
}
.svc-card--dark .svc-card__icon {
  background: rgba(46,204,113,0.14);
}

/* Title */
.svc-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}
.svc-card--light .svc-card__title { color: #003366; }
.svc-card--dark  .svc-card__title { color: #ffffff; }

/* Description */
.svc-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.72;
  flex: 1;
  margin: 0;
}
.svc-card--light .svc-card__desc { color: #6b7280; }
.svc-card--dark  .svc-card__desc { color: rgba(255,255,255,0.52); }

/* Number watermark */
.svc-card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s;
}
.svc-card--light .svc-card__num { color: rgba(0,51,102,0.04); }
.svc-card--dark  .svc-card__num { color: rgba(255,255,255,0.04); }
.svc-card:hover  .svc-card__num { opacity: 0; }

/* CTA arrow */
.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: #2ECC71;
}
.svc-card:hover .svc-card__cta { opacity: 1; transform: translateX(0); }

/* ── Social Share buttons ── */
.ew-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #003366;
  background: rgba(0,51,102,0.06);
  border: 1.5px solid rgba(0,51,102,0.12);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.ew-share-btn:hover {
  background: #003366;
  border-color: #003366;
  color: #fff;
}
.ew-share-btn.copied {
  background: #2ECC71;
  border-color: #2ECC71;
  color: #fff;
}

/* ── Branch Locator Modal ── */
.ew-modal {
  position: fixed; inset: 0;
  background: rgba(0,20,50,0.75);
  backdrop-filter: blur(6px);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.ew-modal.open { display: flex; }
.ew-modal__panel {
  background: #fff;
  border-radius: 4px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: modal-in 0.28s ease;
}
.ew-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(0,51,102,0.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.ew-modal__close {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(0,51,102,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent;
  transition: background 0.2s;
}
.ew-modal__close:hover { background: rgba(0,51,102,0.06); }
.ew-modal__body { padding: 24px 32px 32px; }

/* Branch cards */
.branch-card {
  border: 1.5px solid rgba(0,51,102,0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.branch-card:hover {
  border-color: rgba(46,204,113,0.4);
  box-shadow: 0 4px 16px rgba(0,51,102,0.08);
}
.branch-card__top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 12px;
  background: rgba(0,51,102,0.03);
  border-bottom: 1px solid rgba(0,51,102,0.07);
}
.branch-card__flag { font-size: 24px; line-height: 1; }
.branch-card__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #003366;
  line-height: 1.2;
}
.branch-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.branch-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.branch-card__row {
  display: flex; align-items: flex-start; gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  text-decoration: none;
}
a.branch-card__link:hover { color: #2ECC71; }

@media (max-width: 640px) {
  .ew-modal__header { padding: 20px 20px 16px; }
  .ew-modal__body { padding: 16px 20px 24px; }
}

/* ── Floating Client Portal FAB ── */
.ew-portal-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 4px 24px rgba(0,51,102,0.28);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.ew-portal-fab:hover {
  background: #002244;
  box-shadow: 0 6px 32px rgba(0,51,102,0.38);
  transform: translateY(-2px);
  color: #2ECC71;
}
.ew-portal-fab__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(46,204,113,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ECC71;
  flex-shrink: 0;
}
.ew-portal-fab__label {
  color: inherit;
}
@media (max-width: 767px) {
  .ew-portal-fab { display: none; }
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.ew-faq { }
.ew-faq__list { border-top: 1px solid #e5e7eb; }
.ew-faq__item { border-bottom: 1px solid #e5e7eb; }
.ew-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 0;
  cursor: pointer;
  gap: 1rem;
  font-family: var(--font-manrope, 'Manrope', sans-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #003366;
  line-height: 1.4;
  transition: color 0.2s;
}
.ew-faq__question:hover { color: #2ECC71; }
.ew-faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s ease;
}
.ew-faq__item.open .ew-faq__icon {
  background: #2ECC71;
  transform: rotate(45deg);
}
.ew-faq__icon svg { transition: stroke 0.2s; stroke: #003366; }
.ew-faq__item.open .ew-faq__icon svg { stroke: #fff; }
.ew-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-bottom: 0;
}
.ew-faq__answer-inner {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4b5563;
  padding-bottom: 1.25rem;
}
.ew-faq__item.open .ew-faq__answer { max-height: 600px; }

/* ── Footer Social Icons ─────────────────────────────────────────────────── */
.ew-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ew-social-icon:hover {
  background: #2ECC71;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Legal Prose Typography ──────────────────────────────────────────────── */
.ew-legal-prose {
  color: #1a2535;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.8;
}
.ew-legal-prose h2 {
  font-family: var(--font-manrope, 'Manrope', sans-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: #003366;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8f0fe;
}
.ew-legal-prose h3 {
  font-family: var(--font-manrope, 'Manrope', sans-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #003366;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.ew-legal-prose p {
  margin-bottom: 1rem;
  color: #374151;
}
.ew-legal-prose ul,
.ew-legal-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.ew-legal-prose ul { list-style-type: disc; }
.ew-legal-prose ol { list-style-type: decimal; }
.ew-legal-prose li {
  margin-bottom: 0.4rem;
  color: #374151;
}
.ew-legal-prose strong {
  color: #1a2535;
  font-weight: 600;
}
.ew-legal-prose a {
  color: #003366;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ew-legal-prose a:hover { color: #2ECC71; }
.ew-legal-prose .legal-highlight {
  background: #f0f7ff;
  border-left: 4px solid #003366;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.ew-legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.ew-legal-prose th {
  background: #003366;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 0.875rem;
  text-align: left;
}
.ew-legal-prose td {
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}
.ew-legal-prose tr:nth-child(even) td { background: #f9fafb; }
