/* ── EMMAJCHAPMAN.COM HOMEPAGE DESIGN SYSTEM ── */

:root {
  --ejc-navy:    #1B3664;
  --ejc-navy-dk: #122548;
  --ejc-gold:    #C9A227;
  --ejc-gold-dk: #A8841E;
  --ejc-orange:  #C85000;
  --ejc-bg:      #F4F7FC;
  --ejc-text:    #1A1A2E;
  --ejc-muted:   #6B7280;
  --ejc-border:  #E5E9F0;
  --ejc-green:   #15803D;
  --ejc-shadow:  0 2px 16px rgba(27,54,100,0.10);
  --ejc-shadow-lg: 0 8px 40px rgba(27,54,100,0.15);
  --ejc-radius:  10px;
}

/* ── BASE ── */
.ejc-section { padding: 72px 0; }
.ejc-section-alt { background: var(--ejc-bg); }
.ejc-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ejc-center { text-align: center; }

/* ── TYPOGRAPHY ── */
.ejc-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ejc-gold); margin-bottom: 10px;
  display: block;
}
.ejc-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: var(--ejc-navy); line-height: 1.15; margin-bottom: 16px;
}
.ejc-subtitle {
  font-size: 17px; color: var(--ejc-muted); max-width: 600px; margin: 0 auto 0;
}

/* ── BUTTONS ── */
.ejc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; border: none; border-radius: var(--ejc-radius);
  cursor: pointer; transition: all .18s ease; text-decoration: none; padding: 14px 28px;
  font-family: inherit;
}
.ejc-btn-gold {
  background: var(--ejc-gold); color: #1A1A2E;
  box-shadow: 0 4px 14px rgba(201,162,39,0.35);
}
.ejc-btn-gold:hover { background: var(--ejc-gold-dk); transform: translateY(-2px); }
.ejc-btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.ejc-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.ejc-btn-lg { padding: 18px 36px; font-size: 18px; border-radius: 12px; }

/* ── HERO ── */
.ejc-hero {
  background: linear-gradient(135deg, #122548 0%, #1B3664 60%, #1e4080 100%);
  color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden;
}
.ejc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ejc-hero-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.ejc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,224,138,0.45);
  padding: 10px 22px; border-radius: 100px; font-size: 15px; font-weight: 700;
  color: #FFE08A; margin-bottom: 24px; letter-spacing: .04em;
  text-transform: uppercase;
}
.ejc-eyebrow .ejc-dot {
  width: 10px; height: 10px; background: #C9A227; border-radius: 50%;
  animation: ejcPulse 2s infinite; flex-shrink: 0;
}
@keyframes ejcPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.ejc-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; color: #fff;
}
.ejc-hero h1 em { color: #FFD060; font-style: normal; }
.ejc-hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6;
  margin-bottom: 32px; max-width: 480px;
}
.ejc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.ejc-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.ejc-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500;
}
.ejc-trust-item .ejc-check {
  width: 18px; height: 18px; background: #15803D; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 10px; color: #fff;
}

/* ── HERO DOMAIN CARD ── */
.ejc-hero-card {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); color: var(--ejc-text);
}
.ejc-hero-card-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.ejc-hero-card-title { font-size: 15px; font-weight: 700; color: var(--ejc-navy); }
.ejc-hero-card-edition {
  font-size: 11px; font-weight: 700; background: var(--ejc-navy); color: #fff;
  padding: 3px 8px; border-radius: 4px; letter-spacing: .04em;
}
.ejc-domain-list { display: flex; flex-direction: column; gap: 10px; }
.ejc-domain-item { display: flex; align-items: center; gap: 10px; }
.ejc-domain-letter {
  width: 28px; height: 28px; border-radius: 6px; background: var(--ejc-navy);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ejc-domain-info { flex: 1; }
.ejc-domain-name { font-size: 12px; font-weight: 600; color: var(--ejc-text); }
.ejc-domain-bar-wrap { height: 6px; background: #E5E9F0; border-radius: 10px; margin-top: 4px; overflow: hidden; }
.ejc-domain-bar { height: 100%; border-radius: 10px; }
.ejc-domain-pct { font-size: 11px; font-weight: 700; color: var(--ejc-muted); min-width: 30px; text-align: right; }
.ejc-card-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ejc-border);
  display: flex; justify-content: space-between;
}
.ejc-card-stat { text-align: center; }
.ejc-card-stat .ejc-num { font-size: 22px; font-weight: 800; color: var(--ejc-navy); }
.ejc-card-stat .ejc-lbl { font-size: 11px; color: var(--ejc-muted); font-weight: 500; }

/* ── STATS BAR ── */
.ejc-stats-bar {
  background: #122548; border-bottom: 3px solid var(--ejc-gold);
}
.ejc-stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1120px; margin: 0 auto;
}
.ejc-stat-item {
  padding: 22px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ejc-stat-item:last-child { border-right: none; }
.ejc-stat-num { font-size: 28px; font-weight: 800; color: var(--ejc-gold); line-height: 1; }
.ejc-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }

/* ── RESOURCE CARDS ── */
.ejc-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.ejc-card {
  background: #fff; border-radius: 14px; padding: 32px 28px;
  border: 1px solid var(--ejc-border); box-shadow: var(--ejc-shadow);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.ejc-card:hover { transform: translateY(-4px); box-shadow: var(--ejc-shadow-lg); }
.ejc-card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--ejc-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.ejc-card h3 { font-size: 18px; font-weight: 700; color: var(--ejc-navy); margin-bottom: 10px; }
.ejc-card p { font-size: 14px; color: var(--ejc-muted); line-height: 1.65; flex: 1; }
.ejc-card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px;
  font-weight: 700; color: var(--ejc-gold); margin-top: 20px; text-decoration: none;
  transition: gap .15s;
}
.ejc-card-link:hover { gap: 10px; }
.ejc-card-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--ejc-green);
  background: #dcfce7; padding: 3px 8px; border-radius: 4px; margin-bottom: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── FORMAT CARDS ── */
.ejc-formats { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 48px; }
.ejc-fmt {
  border-radius: 14px; padding: 24px 16px; border: 2px solid var(--ejc-border);
  background: #fff; box-shadow: var(--ejc-shadow); text-align: center;
  position: relative; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; align-items: center;
}
.ejc-fmt:hover { transform: translateY(-4px); box-shadow: var(--ejc-shadow-lg); border-color: var(--ejc-gold); }
.ejc-fmt.ejc-featured { border-color: var(--ejc-navy); background: var(--ejc-navy); }
.ejc-fmt.ejc-featured .ejc-fmt-q { color: var(--ejc-gold); }
.ejc-fmt.ejc-featured .ejc-fmt-lbl,
.ejc-fmt.ejc-featured .ejc-fmt-desc { color: rgba(255,255,255,0.6); }
.ejc-fmt.ejc-featured .ejc-fmt-name { color: #fff; }
.ejc-fmt.ejc-featured .ejc-fmt-time { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }
.ejc-fmt.ejc-featured .ejc-fmt-link { color: var(--ejc-gold); }
.ejc-fmt-best {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--ejc-gold); color: #1A1A2E; font-size: 10px; font-weight: 800;
  padding: 3px 12px; border-radius: 100px; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
}
.ejc-fmt-q { font-size: 36px; font-weight: 900; color: var(--ejc-navy); line-height: 1; margin-bottom: 4px; }
.ejc-fmt-lbl { font-size: 10px; font-weight: 700; color: var(--ejc-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.ejc-fmt-name { font-size: 13px; font-weight: 700; color: var(--ejc-navy); margin-bottom: 6px; }
.ejc-fmt-desc { font-size: 12px; color: var(--ejc-muted); line-height: 1.5; flex: 1; margin-bottom: 12px; }
.ejc-fmt-time { font-size: 11px; color: var(--ejc-muted); background: var(--ejc-bg); padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.ejc-fmt-link { font-size: 12px; font-weight: 700; color: var(--ejc-navy); text-decoration: none; }
.ejc-pilot-note {
  margin-top: 28px; padding: 16px 24px; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 12px; font-size: 14px;
  color: #92400e; line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto;
}
.ejc-pilot-note strong { color: #78350f; }

/* ── DOMAIN CARDS ── */
.ejc-domains { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.ejc-dom-card {
  border-radius: 14px; padding: 24px; border: 1px solid var(--ejc-border);
  background: #fff; box-shadow: var(--ejc-shadow); position: relative; overflow: hidden;
}
.ejc-dom-card::before {
  content: attr(data-letter); position: absolute; right: -10px; bottom: -20px;
  font-size: 100px; font-weight: 900; color: rgba(27,54,100,0.05);
  line-height: 1; pointer-events: none;
}
.ejc-dom-letter {
  width: 36px; height: 36px; border-radius: 8px; background: var(--ejc-navy);
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ejc-dom-name { font-size: 15px; font-weight: 700; color: var(--ejc-navy); margin-bottom: 6px; }
.ejc-dom-q { font-size: 13px; color: var(--ejc-muted); margin-bottom: 14px; }
.ejc-dom-bar { height: 8px; background: var(--ejc-bg); border-radius: 10px; overflow: hidden; }
.ejc-dom-fill { height: 100%; border-radius: 10px; }
.ejc-dom-pct { font-size: 20px; font-weight: 800; color: var(--ejc-navy); margin-top: 10px; }

/* ── COMPARISON TABLE ── */
.ejc-compare-wrap { margin-top: 48px; overflow-x: auto; }
.ejc-compare {
  width: 100%; border-collapse: collapse; border-radius: 14px;
  overflow: hidden; box-shadow: var(--ejc-shadow-lg);
}
.ejc-compare th {
  padding: 16px 20px; font-size: 14px; font-weight: 700;
  text-align: center; background: var(--ejc-navy); color: #fff;
}
.ejc-compare th:first-child { text-align: left; background: #122548; }
.ejc-compare th.ejc-hl-head { background: var(--ejc-gold); color: #1A1A2E; }
.ejc-compare td {
  padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--ejc-border);
  text-align: center; background: #fff;
}
.ejc-compare td:first-child { text-align: left; font-weight: 600; }
.ejc-compare tr:last-child td { border-bottom: none; }
.ejc-compare tr:nth-child(even) td { background: var(--ejc-bg); }
.ejc-yes { color: #15803D; font-weight: 800; font-size: 18px; }
.ejc-no { color: #9CA3AF; font-size: 18px; }
.ejc-warn { color: var(--ejc-orange); font-weight: 700; font-size: 13px; }
.ejc-hl-col { font-weight: 700; }

/* ── HOW IT WORKS ── */
.ejc-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; position: relative; }
.ejc-steps::before {
  content: ''; position: absolute; top: 28px;
  left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 2px; background: linear-gradient(90deg, var(--ejc-border), var(--ejc-gold), var(--ejc-border));
}
.ejc-step { text-align: center; position: relative; }
.ejc-step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ejc-navy); color: #fff;
  font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(27,54,100,0.3);
}
.ejc-step h3 { font-size: 17px; font-weight: 700; color: var(--ejc-navy); margin-bottom: 8px; }
.ejc-step p { font-size: 14px; color: var(--ejc-muted); line-height: 1.6; }

/* ── FAQ ── */
.ejc-faq { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.ejc-faq-item {
  background: #fff; border: 1px solid var(--ejc-border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--ejc-shadow);
}
.ejc-faq-q {
  padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--ejc-navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.ejc-faq-q:hover { background: var(--ejc-bg); }
.ejc-faq-icon { font-size: 20px; color: var(--ejc-gold); flex-shrink: 0; transition: transform .25s; }
.ejc-faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--ejc-muted); line-height: 1.7; display: none; }
.ejc-faq-item.open .ejc-faq-icon { transform: rotate(45deg); }
.ejc-faq-item.open .ejc-faq-a { display: block; }

/* ── CTA SECTION ── */
.ejc-cta {
  background: linear-gradient(135deg, #122548, #1B3664);
  padding: 80px 0; text-align: center; color: #fff;
}
.ejc-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; color: #fff; }
.ejc-cta p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.ejc-cta-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.ejc-cta-badge { display: flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; }
.ejc-cta-badge .ejc-dot { color: var(--ejc-gold); font-size: 18px; }

/* ── BACB DISCLAIMER ── */
.ejc-disclaimer {
  background: #0D1F3C; padding: 24px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  text-align: center; line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ejc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ejc-hero-card { display: none; }
  .ejc-cards { grid-template-columns: 1fr 1fr; }
  .ejc-domains { grid-template-columns: 1fr 1fr; }
  .ejc-formats { grid-template-columns: repeat(3,1fr); }
  .ejc-steps::before { display: none; }
  .ejc-steps { grid-template-columns: 1fr; gap: 24px; }
  .ejc-step { display: flex; gap: 20px; text-align: left; }
  .ejc-step-num { margin: 0; flex-shrink: 0; }
  .ejc-stats-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .ejc-section { padding: 48px 0; }
  .ejc-hero { padding: 56px 0 48px; }
  .ejc-cards { grid-template-columns: 1fr; }
  .ejc-domains { grid-template-columns: 1fr; }
  .ejc-formats { grid-template-columns: repeat(2,1fr); }
  .ejc-hero-actions { flex-direction: column; }
  .ejc-btn-lg { width: 100%; text-align: center; }
  .ejc-compare { font-size: 13px; }
  .ejc-compare th, .ejc-compare td { padding: 12px; }
  .ejc-steps { grid-template-columns: 1fr; }
}


/* == INNER PAGES: NAVBAR == */
.ejc-navbar{background:var(--ejc-navy);border-bottom:3px solid var(--ejc-gold);position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.ejc-navbar-inner{display:flex;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.ejc-navbar-brand{display:flex;flex-direction:column;gap:1px;text-decoration:none;flex-shrink:0}
.ejc-navbar-brand-name{font-size:17px;font-weight:800;color:#fff;letter-spacing:-.01em;line-height:1.2}
.ejc-navbar-brand-sub{font-size:11px;color:rgba(255,255,255,.5);font-weight:500}
.ejc-navbar-links{display:flex;gap:2px;align-items:center}
.ejc-navbar-link{padding:7px 11px;border-radius:7px;font-size:13px;font-weight:600;color:rgba(255,255,255,.7);text-decoration:none;transition:all .15s}
.ejc-navbar-link:hover{background:rgba(255,255,255,.1);color:#fff}
.ejc-navbar-link.ejc-active{color:var(--ejc-gold)}
@media(max-width:900px){.ejc-navbar-links{display:none}}
@media(max-width:600px){.ejc-navbar-inner{padding-top:12px;padding-bottom:12px}.ejc-navbar-brand-name{font-size:15px}}

/* == INNER PAGES: PAGE HERO == */
.ejc-inner-hero{background:linear-gradient(135deg,#122548 0%,#1B3664 60%,#1e4080 100%);padding:52px 0 44px;color:#fff;position:relative;overflow:hidden}
.ejc-inner-hero::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width=%2760%27 height=%2760%27 viewBox=%270 0 60 60%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cg fill=%27none%27%3E%3Cg fill=%27%23fff%27 fill-opacity=%270.03%27%3E%3Cpath d=%27M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%27/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");pointer-events:none}
.ejc-inner-hero-inner{position:relative;max-width:780px}
.ejc-inner-hero-eyebrow{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);padding:5px 14px;border-radius:100px;font-size:12px;font-weight:700;color:#FFE08A;margin-bottom:18px;letter-spacing:.06em;text-transform:uppercase}
.ejc-inner-hero h1{font-size:clamp(24px,4vw,42px);font-weight:800;line-height:1.15;margin:0 0 16px;color:#fff;letter-spacing:-.01em}
.ejc-inner-hero>div>div>p{font-size:17px;color:rgba(255,255,255,.82);line-height:1.65;max-width:640px;margin:0}

/* == INNER PAGES: QUIZ WRAP == */
.ejc-quiz-section{padding:56px 0;background:#fff}

/* == INNER PAGES: PROSE == */
.ejc-prose{max-width:760px}
.ejc-prose h2{font-size:clamp(20px,3vw,28px);font-weight:800;color:var(--ejc-navy);margin:0 0 14px;line-height:1.25}
.ejc-prose p{font-size:16px;color:#374151;line-height:1.75;margin:0 0 16px}
.ejc-prose ul,.ejc-prose ol{padding-left:1.3em;margin:8px 0 16px;color:#374151}
.ejc-prose li{font-size:16px;line-height:1.65;margin-bottom:10px;padding-left:4px}
.ejc-prose li strong{color:var(--ejc-navy);font-weight:700}
.ejc-prose a{color:var(--ejc-navy);font-weight:600;text-decoration:none}
.ejc-prose a:hover{color:var(--ejc-gold);text-decoration:underline}
.ejc-prose strong{color:var(--ejc-navy);font-weight:700}

/* == INNER PAGES: DOMAIN LINK GRID == */
.ejc-domain-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin-top:18px;list-style:none;padding:0}
.ejc-domain-grid li{margin:0;padding:0}
.ejc-domain-grid a{display:block;padding:13px 16px;background:#fff;border:1.5px solid var(--ejc-border);border-radius:10px;font-size:14px;font-weight:600;color:var(--ejc-navy);text-decoration:none;transition:all .2s;box-shadow:0 1px 4px rgba(27,54,100,.07)}
.ejc-domain-grid a:hover{border-color:var(--ejc-navy);background:#F0F4FB;transform:translateY(-2px);box-shadow:var(--ejc-shadow)}
@media(max-width:500px){.ejc-domain-grid{grid-template-columns:1fr}}

/* == INNER PAGES: FOOTER == */
.ejc-site-footer{background:#0D1F3C;padding:36px 0 28px}
.ejc-footer-links-bar{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;margin-bottom:22px}
.ejc-footer-links-bar a{font-size:13px;color:rgba(255,255,255,.5);text-decoration:none;font-weight:500;transition:color .15s}
.ejc-footer-links-bar a:hover{color:var(--ejc-gold)}
.ejc-footer-divider{border:none;border-top:1px solid rgba(255,255,255,.08);margin:0 0 18px}
.ejc-footer-disclaimer-text{font-size:11px;color:rgba(255,255,255,.3);text-align:center;line-height:1.75;max-width:680px;margin:0 auto}

/* ============================
   SECTION-WISE QUIZZES PAGE
   ============================ */
.swq-hero {
  background: #1B3664;
  padding: 64px 20px 56px;
}
.swq-hero .swq-inner, .swq-cards-section .swq-inner, .swq-cta .swq-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.swq-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,224,138,0.4);
  padding: 8px 18px; border-radius: 100px; font-size: 12px; font-weight: 700;
  color: #FFE08A; margin-bottom: 20px; letter-spacing: .06em; text-transform: uppercase;
}
.swq-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.15;
}
.swq-hero p {
  font-size: 17px; color: rgba(255,255,255,0.82); max-width: 680px;
  line-height: 1.75; margin: 0;
}
/* Cards grid */
.swq-cards-section {
  background: #f3f4f6;
  padding: 60px 20px;
}
.swq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.swq-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.swq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.swq-card-top {
  padding: 24px 24px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.swq-domain-badge {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #fff;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.swq-exam-pct {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.18); border-radius: 20px;
  padding: 4px 10px; white-space: nowrap;
}
.swq-card-body {
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; flex: 1;
}
.swq-card-body h2 {
  font-size: 17px; font-weight: 800; color: #1B3664;
  margin: 0 0 8px; line-height: 1.3;
}
.swq-card-body p {
  font-size: 14px; color: #6b7280; line-height: 1.6;
  margin: 0 0 16px; flex: 1;
}
.swq-card-meta {
  display: flex; gap: 12px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.swq-card-meta span {
  font-size: 12px; font-weight: 600; color: #9ca3af;
  background: #f3f4f6; border-radius: 20px; padding: 3px 10px;
}
.swq-card-btn {
  display: block; text-align: center;
  background: #C9A227; color: #1B3664; font-weight: 700;
  font-size: 14px; padding: 10px 20px; border-radius: 8px;
  text-decoration: none; transition: background 0.2s;
}
.swq-card-btn:hover { background: #FFE08A; color: #1B3664; }
/* CTA bottom */
.swq-cta {
  background: #0D1F3C;
  padding: 56px 20px;
  text-align: center;
}
.swq-cta h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800; color: #fff; margin: 0 0 12px;
}
.swq-cta p {
  font-size: 16px; color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
}
.swq-cta-btn {
  display: inline-block;
  background: #C9A227; color: #1B3664;
  font-weight: 700; font-size: 16px;
  padding: 14px 32px; border-radius: 8px;
  text-decoration: none; transition: background 0.2s;
}
.swq-cta-btn:hover { background: #FFE08A; }
/* Mobile */
@media (max-width: 768px) {
  .swq-hero { padding: 44px 16px 36px; }
  .swq-hero h1 { font-size: 26px; }
  .swq-hero p { font-size: 15px; }
  .swq-cards-section { padding: 36px 16px; }
  .swq-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .swq-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ==== EJC CARD COLUMNS (Elementor widget version) ==== */
.ejc-card.elementor-column > .elementor-widget-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ejc-card.elementor-column:hover > .elementor-widget-wrap {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
/* Remove inner background so column bg doesnt double */
.ejc-card.elementor-column {
  background: transparent !important;
}
/* == EJC GOLD BUTTON (Elementor button widget override) == */
.ejc-btn-gold .elementor-button,
.ejc-btn-gold .elementor-button:visited {
  background-color: #C9A227 !important;
  color: #1B3664 !important;
  border: none;
}
.ejc-btn-gold .elementor-button:hover {
  background-color: #FFE08A !important;
  color: #1B3664 !important;
}
.ejc-btn-gold-lg .elementor-button {
  background-color: #C9A227 !important;
  color: #1B3664 !important;
  font-size: 16px !important;
  padding: 14px 32px !important;
}
.ejc-btn-gold-lg .elementor-button:hover {
  background-color: #FFE08A !important;
  color: #1B3664 !important;
}
/* == CARD COLUMN FIX (for Elementor 3.x) == */
.ejc-card.elementor-column > .elementor-widget-wrap,
.elementor-column.ejc-card > .elementor-element-populated {
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.elementor-column.ejc-card:hover > .elementor-widget-wrap,
.elementor-column.ejc-card:hover > .elementor-element-populated {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}