/* =======================================================================
   ExamVaults — minimal editorial theme
   White canvas, hairline borders, one deep-green accent used sparingly.
   No sidebars, no mega-menu. Max five sections on the home page.
   ======================================================================= */

:root {
  --ink: #0f1613;
  --ink-soft: #39433e;
  --muted: #6b7671;
  --faint: #9aa39e;
  --line: #e8ece9;
  --line-strong: #d8dfda;
  --soft: #f7f9f8;

  --green: #0b6b45;
  --green-deep: #075335;
  --green-soft: #eef7f2;
  --green-line: #d7ebdf;

  --amber: #a15c07;
  --amber-soft: #fff8ec;
  --red: #a3251c;
  --red-soft: #fdf2f1;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1220px;
}

.ev-body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ev-body *, .ev-body *::before, .ev-body *::after { box-sizing: border-box; }
:where(.ev-body) :where(img) { max-width: 100%; height: auto; }
:where(.ev-body) :where(a) { color: inherit; }
:where(.ev-body) :where(h1, h2, h3, h4) { margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
:where(.ev-body) :where(p) { margin: 0; }
:where(.ev-body) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

.ev-shell { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ev-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.ev-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------- Header ------------------------------- */
.ev-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ev-header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.ev-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.ev-brand-logo { height: 26px; width: auto; }

.ev-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.ev-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.ev-nav a:hover { color: var(--green); }
.ev-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ev-text-link { font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.ev-text-link:hover { color: var(--green); }

/* -------------------------------- Pills -------------------------------- */
.ev-pill, .ev-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 22px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ev-pill:hover, .ev-btn:hover { border-color: var(--green-line); color: var(--green); }
.ev-pill-green, .ev-btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.ev-pill-green:hover, .ev-btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.ev-pill-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ev-pill-dark:hover { background: #000; border-color: #000; color: #fff; }
.ev-pill-quiet { border-color: transparent; background: transparent; color: var(--ink-soft); }
.ev-pill-quiet:hover { color: var(--green); background: var(--green-soft); border-color: var(--green-soft); }
.ev-pill-sm, .ev-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.ev-pill-lg, .ev-btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.ev-pill-block, .ev-btn-block { display: flex; width: 100%; }

.ev-link { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--green-line); }
.ev-link:hover { border-bottom-color: var(--green); }

/* -------------------------------- Alerts ------------------------------- */
.ev-alerts { padding: 10px 0 0; }
.ev-alerts .ev-shell { display: grid; gap: 8px; }
.ev-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--green-line); background: var(--green-soft);
  border-radius: var(--radius-sm); font-size: 13.5px;
}
.ev-alert-icon { flex: 0 0 auto; color: var(--green); line-height: 0; margin-top: 2px; }
.ev-alert-body { flex: 1 1 auto; min-width: 0; }
.ev-alert-title { display: block; font-weight: 600; color: var(--ink); }
.ev-alert-text { color: var(--ink-soft); }
.ev-alert-close {
  flex: 0 0 auto; border: 0; background: transparent; color: var(--faint);
  padding: 2px; line-height: 0; cursor: pointer; border-radius: 999px;
}
.ev-alert-close:hover { color: var(--ink); }
.ev-alert-1, .ev-alert-1 .ev-alert-icon, .ev-alert-1 .ev-alert-title { border-color: #f3e2c6; background: var(--amber-soft); }
.ev-alert-2 { background: var(--green-soft); }

/* --------------------------------- Hero -------------------------------- */
.ev-hero { padding: 84px 0 56px; }
.ev-hero-grid { display: grid; gap: 48px; align-items: center; }

.ev-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
}
.ev-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }

.ev-hero-title {
  margin-top: 20px;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
}
.ev-hero-lead {
  margin-top: 20px; max-width: 480px;
  font-size: 17px; line-height: 1.65; color: var(--muted);
}
.ev-hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.ev-hero-proof { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.ev-stars { display: inline-flex; gap: 2px; color: var(--green); }
.ev-proof-text { font-size: 13px; color: var(--muted); }

/* Store download buttons */
.ev-downloads { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.ev-download {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ev-download:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.ev-download svg { flex: 0 0 auto; }

.ev-hero-stats {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.ev-stat-value { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ev-stat-label { margin-top: 2px; font-size: 12px; color: var(--muted); }

.ev-hero-visual { position: relative; }
.ev-hero-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 26px 34px;
}
.ev-hero-desktop {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 60px -32px rgba(15, 22, 19, 0.35);
}
.ev-browser-bar {
  display: flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 12px;
  background: #f4f6f5; border-bottom: 1px solid var(--line);
}
.ev-browser-dots { display: inline-flex; gap: 5px; flex: 0 0 auto; }
.ev-browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d5dcd8; }
.ev-browser-dots i:nth-child(1) { background: #f0b4b0; }
.ev-browser-dots i:nth-child(2) { background: #f3d9a4; }
.ev-browser-dots i:nth-child(3) { background: #bee3c7; }
.ev-browser-url {
  flex: 1 1 auto; height: 17px; display: flex; align-items: center; justify-content: center;
  padding: 0 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 9px; color: #93a29b; letter-spacing: 0.01em;
}
.ev-hero-desktop img { display: block; width: 100%; height: auto; }
.ev-hero-phone {
  position: absolute; right: -10px; bottom: -18px; width: 118px;
  border: 6px solid #16211c; border-radius: 24px; overflow: hidden;
  background: #16211c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 26px 50px -22px rgba(15, 22, 19, 0.6);
}
.ev-hero-phone img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .ev-hero-phone { width: 128px; right: -16px; bottom: -20px; }
}

/* ------------------------------- Sections ------------------------------ */
.ev-section { padding: 60px 0; }
.ev-section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Home: main column + sticky latest-articles sidebar */
.ev-home { padding: 8px 0 24px; }
.ev-home-grid { display: grid; gap: 32px; }
.ev-home-main { min-width: 0; }
.ev-block { padding: 44px 0; border-top: 1px solid var(--line); }
.ev-home-main > .ev-block:first-child { padding-top: 0; border-top: 0; }
.ev-home-sidebar { align-self: start; }
.ev-sidebar-empty { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }

.ev-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.ev-section-title { font-size: clamp(1.5rem, 3.2vw, 2.05rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.ev-section-sub { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 520px; }
.ev-section-link {
  flex: 0 0 auto; font-size: 13.5px; font-weight: 600; color: var(--green);
  text-decoration: none; white-space: nowrap;
}
.ev-section-link:hover { text-decoration: underline; }

/* ------------------------------ Exams grid ----------------------------- */
.ev-exams { display: grid; gap: 16px; }
.ev-exam-card {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ev-exam-card:hover { border-color: var(--green-line); transform: translateY(-2px); }
.ev-exam-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center; color: var(--green);
  overflow: hidden;
}
.ev-exam-icon img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.ev-exam-name { margin-top: 18px; font-size: 16px; font-weight: 650; color: var(--ink); }
.ev-exam-desc { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--muted); flex: 1 1 auto; }
.ev-exam-link { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none; }
.ev-exam-link:hover { text-decoration: underline; }
.ev-exam-status {
  margin-top: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green);
}
.ev-exam-status.is-soon { color: var(--amber); }

/* ------------------------------ Post cards ----------------------------- */
.ev-posts { display: grid; gap: 20px; }
.ev-post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ev-post-card:hover { border-color: var(--green-line); transform: translateY(-2px); }
.ev-post-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #0b6b45 0%, #2f9a6d 100%);
  display: flex; align-items: flex-end; padding: 18px;
  color: rgba(255, 255, 255, 0.92); font-size: 26px; font-weight: 700;
}
.ev-post-media img { width: 100%; height: 100%; object-fit: cover; }
.ev-post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ev-post-date { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.ev-post-title { margin-top: 8px; font-size: 17px; font-weight: 650; line-height: 1.35; color: var(--ink); }
.ev-post-card:hover .ev-post-title { color: var(--green); }
.ev-post-excerpt { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); flex: 1 1 auto; }
.ev-post-more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--green); }

.ev-empty {
  padding: 34px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  text-align: center; color: var(--muted); font-size: 14px; background: #fff;
}

/* -------------------------------- Reviews ------------------------------ */
.ev-reviews {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 2px;
}
.ev-reviews::-webkit-scrollbar { display: none; }
.ev-review {
  flex: 0 0 320px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.ev-review-mark { color: var(--green); opacity: 0.35; line-height: 0; }
.ev-review-quote {
  margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft);
  flex: 1 1 auto;
}
.ev-review-foot { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.ev-review-stars { color: var(--green); font-size: 12px; letter-spacing: 1px; line-height: 1; }
.ev-review-source {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--soft);
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.ev-review-source svg { color: var(--green); }

.ev-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.ev-rating-line .ev-proof-text { font-size: 13.5px; }

/* -------------------------------- Pricing ------------------------------ */
.ev-plans { display: grid; gap: 18px; }
.ev-plan-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; background: #fff;
}
.ev-plan-card.is-featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.ev-plan-tag {
  align-self: flex-start; margin-bottom: 12px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.ev-plan-tag.is-placeholder { visibility: hidden; }
.ev-plan-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.ev-plan-price { margin-top: 10px; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.ev-plan-period { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.ev-plan-desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.ev-plan-features { margin-top: 20px; display: grid; gap: 9px; font-size: 13.5px; color: var(--ink-soft); flex: 1 1 auto; }
.ev-plan-features li { display: flex; gap: 9px; align-items: flex-start; }
.ev-plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex: 0 0 auto; }
.ev-plan-card .ev-pill { margin-top: 24px; }

.ev-plan-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 12.5px; color: var(--muted); }
.ev-plan-note span { display: inline-flex; align-items: center; gap: 6px; }
.ev-plan-note svg { color: var(--green); }

/* -------------------------------- Footer ------------------------------- */
.ev-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.ev-footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.ev-footer-brand { display: inline-flex; text-decoration: none; }
.ev-footer-brand img { height: 24px; width: auto; }
.ev-footer p.ev-footer-text { margin-top: 14px; max-width: 320px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.ev-footer-text a { color: var(--ink-soft); text-decoration: none; }
.ev-footer-text a:hover { color: var(--green); }
.ev-footer-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.ev-footer-links { margin-top: 14px; display: grid; gap: 8px; }
.ev-footer-links a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.ev-footer-links a:hover { color: var(--green); }
.ev-footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--faint);
}
.ev-footer-bottom a { color: var(--muted); text-decoration: none; }
.ev-footer-bottom a:hover { color: var(--green); }

/* ---------------------------- Page headings --------------------------- */
main.ev-sheet { max-width: var(--container); margin: 0 auto; padding: 40px 24px 64px; }

.ev-page-head { padding: 0 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ev-page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 700; color: var(--ink); }
.ev-page-head p { margin-top: 8px; max-width: 660px; font-size: 14.5px; color: var(--muted); }
.ev-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); margin-bottom: 14px; }
.ev-breadcrumb a { color: var(--muted); text-decoration: none; }
.ev-breadcrumb a:hover { color: var(--green); }

/* ---------------------------- Articles list --------------------------- */
.ev-list-wrap { padding: 0; }

/* Blog layout with a recent-articles sidebar */
.ev-blog-grid { display: grid; gap: 36px; }
.ev-sidebar { align-self: start; }
.ev-sidebar-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.ev-sidebar-list { display: grid; }
.ev-sidebar-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.ev-sidebar-item:last-child { border-bottom: 0; }
.ev-sidebar-thumb {
  flex: 0 0 auto; width: 62px; height: 46px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(140deg, #0b6b45, #2f9a6d);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.ev-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-sidebar-text { min-width: 0; }
.ev-sidebar-name { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.ev-sidebar-item:hover .ev-sidebar-name { color: var(--green); }
.ev-sidebar-date { display: block; margin-top: 3px; font-size: 11px; color: var(--faint); }
.ev-sidebar-link { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--green); text-decoration: none; }
.ev-sidebar-link:hover { text-decoration: underline; }
.ev-list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.ev-list-tools h2 { font-size: 15px; font-weight: 600; color: var(--ink); }
.ev-list-tools p { margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.ev-list-search { display: flex; flex: 1 1 260px; max-width: 360px; }
.ev-list-search input {
  flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-right: 0; border-radius: 999px 0 0 999px;
  font-family: inherit; font-size: 13.5px; background: #fff; color: var(--ink);
}
.ev-list-search input:focus { outline: none; border-color: var(--green); }
.ev-list-search button {
  height: 42px; padding: 0 18px; border: 1px solid var(--green); border-radius: 0 999px 999px 0;
  background: var(--green); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}

.ev-articles { display: grid; gap: 4px; }
.ev-article-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.ev-article-row:last-child { border-bottom: 0; }
.ev-article-row:hover .ev-article-title { color: var(--green); }
.ev-article-thumb {
  flex: 0 0 auto; width: 128px; height: 86px; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(140deg, #0b6b45, #2f9a6d);
  display: flex; align-items: flex-end; padding: 10px; color: #fff; font-size: 18px; font-weight: 700;
}
.ev-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-article-body { min-width: 0; flex: 1 1 auto; }
.ev-article-cat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green);
}
.ev-article-cat .date { color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0; }
.ev-article-title { margin-top: 5px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.ev-article-excerpt { margin-top: 5px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.ev-pagination { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.ev-page-link {
  min-width: 38px; height: 38px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  color: var(--ink-soft); font-size: 13px; font-weight: 600; text-decoration: none;
}
.ev-page-link:hover { border-color: var(--green); color: var(--green); }
.ev-page-link.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.ev-page-link.is-disabled { opacity: 0.35; pointer-events: none; }

/* --------------------------- Article detail --------------------------- */
.ev-article-wrap { padding: 0; }
.ev-article-shell { max-width: 720px; margin: 0 auto; }
.ev-article-header h1 { font-size: clamp(1.7rem, 4vw, 2.35rem); font-weight: 700; line-height: 1.2; color: var(--ink); }
.ev-article-cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ev-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--soft);
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.ev-chip-green { background: var(--green-soft); border-color: var(--green-line); color: var(--green); }
.ev-chip-amber { background: var(--amber-soft); border-color: #f3e2c6; color: var(--amber); }
.ev-chip-gray { background: var(--soft); color: var(--muted); }

.ev-article-byline {
  margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: 13px; color: var(--faint);
}
.ev-article-byline strong { color: var(--ink-soft); font-weight: 600; }
.ev-article-source { color: var(--muted); }
.ev-article-source strong { color: var(--ink-soft); font-weight: 600; }
.ev-article-cover { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ev-article-cover img { width: 100%; object-fit: cover; }

.ev-prose { margin-top: 28px; font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }
.ev-prose > * + * { margin-top: 16px; }
.ev-prose .ev-h2 { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin-top: 34px; }
.ev-prose .ev-h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: 28px; }
.ev-prose .ev-h4 { font-size: 1.02rem; font-weight: 700; margin-top: 22px; }
.ev-prose .ev-ul, .ev-prose .ev-ol { padding-left: 22px; display: grid; gap: 7px; }
.ev-prose .ev-ul { list-style: disc; }
.ev-prose .ev-ol { list-style: decimal; }
.ev-prose .ev-link { color: var(--green); text-decoration: underline; text-underline-offset: 2px; border: 0; }
.ev-prose .ev-quote { border-left: 2px solid var(--green); background: var(--green-soft); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.ev-prose .ev-code { background: #111; color: #e8f5ec; padding: 14px 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ev-prose .ev-inline-code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ev-prose .ev-hr { border: 0; border-top: 1px solid var(--line); }
.ev-prose .ev-img { border-radius: var(--radius-sm); margin-top: 16px; }
.ev-prose .ev-table-wrap { overflow-x: auto; }
.ev-prose .ev-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ev-prose .ev-table th, .ev-prose .ev-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.ev-prose .ev-table th { background: var(--soft); }

.ev-article-cta {
  margin-top: 36px; padding: 24px;
  border: 1px solid var(--green-line); background: var(--green-soft);
  border-radius: var(--radius);
}
.ev-article-cta h3 { font-size: 15.5px; font-weight: 650; color: var(--ink); }
.ev-article-cta p { margin-top: 5px; font-size: 13.5px; color: var(--ink-soft); }
.ev-article-cta .ev-pill { margin-top: 16px; }

.ev-related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.ev-related h2 { font-size: 16px; font-weight: 650; color: var(--ink); margin-bottom: 10px; }

/* ----------------------------- Subscription --------------------------- */
.ev-checkout { max-width: 760px; margin: 0 auto; }
.ev-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 28px 24px;
}
.ev-panel + .ev-panel { margin-top: 16px; }
.ev-panel-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.ev-panel-sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.ev-steps { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.ev-step { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.ev-step-num {
  width: 22px; height: 22px; border-radius: 999px; background: var(--soft); color: var(--faint);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
}
.ev-step.is-active { color: var(--green); }
.ev-step.is-active .ev-step-num { background: var(--green); color: #fff; }
.ev-step.is-done .ev-step-num { background: var(--green-soft); color: var(--green); }

.ev-field { margin-top: 18px; }
.ev-label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.ev-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 15px; font-family: inherit;
}
.ev-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 107, 69, 0.1); }
.ev-help { margin-top: 7px; font-size: 12px; color: var(--faint); }

.ev-user-card { margin-top: 18px; border: 1px solid var(--green-line); background: var(--green-soft); border-radius: var(--radius); padding: 18px; }
.ev-user-head { display: flex; align-items: center; gap: 12px; }
.ev-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
}
.ev-user-name { font-size: 15px; font-weight: 650; color: var(--ink); }
.ev-user-sub { font-size: 12.5px; color: var(--muted); }
.ev-user-rows { margin-top: 14px; display: grid; gap: 9px; }
.ev-user-row { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: baseline; font-size: 13.5px; }
.ev-user-key { flex: 0 0 auto; min-width: 104px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.ev-user-val { color: var(--ink); font-weight: 500; word-break: break-word; }

.ev-plan-select { margin-top: 14px; display: grid; gap: 10px; }
.ev-plan-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
}
.ev-plan-option:hover { border-color: var(--green-line); }
.ev-plan-option input { accent-color: var(--green); width: 16px; height: 16px; }
.ev-plan-option.is-selected { border-color: var(--green); background: var(--green-soft); }
.ev-plan-option-main { flex: 1 1 auto; min-width: 0; }
.ev-plan-option-name { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
.ev-plan-option-desc { display: block; font-size: 12px; color: var(--muted); }
.ev-plan-option-price { flex: 0 0 auto; text-align: right; font-size: 15px; font-weight: 650; color: var(--green); }
.ev-plan-option-price span { display: block; font-size: 11px; font-weight: 500; color: var(--faint); }

.ev-notice {
  margin-top: 16px; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px;
  border: 1px solid var(--green-line); background: var(--green-soft); color: var(--green-deep);
}
.ev-notice.is-error { border-color: #f1d4d1; background: var(--red-soft); color: var(--red); }
.ev-notice.is-warn { border-color: #f3e2c6; background: var(--amber-soft); color: var(--amber); }

.ev-receipt { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: var(--soft); }
.ev-receipt-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 5px 0; }
.ev-receipt-key { color: var(--muted); }
.ev-receipt-val { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }

.ev-success-icon {
  width: 46px; height: 46px; border-radius: 999px; background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ev-fail-icon { background: var(--red-soft); color: var(--red); }
.ev-secure { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); }

/* ------------------------------- Badges -------------------------------- */
.ev-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: var(--green-soft); color: var(--green); border: 1px solid var(--green-line);
}
.ev-badge-amber { background: var(--amber-soft); color: var(--amber); border-color: #f3e2c6; }
.ev-badge-red { background: var(--red-soft); color: var(--red); border-color: #f1d4d1; }
.ev-badge-gray { background: var(--soft); color: var(--muted); border-color: var(--line); }

/* ------------------------------- Utilities ---------------------------- */
.ev-grid { display: grid; gap: 16px; }
.ev-grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ev-grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ev-grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ev-mt-0 { margin-top: 0; }
.ev-mt-2 { margin-top: 6px; }
.ev-mt-4 { margin-top: 12px; }
.ev-mt-6 { margin-top: 18px; }
.ev-mt-8 { margin-top: 24px; }
.ev-center { text-align: center; }

/* ----------------------------- Breakpoints ---------------------------- */
@media (min-width: 560px) {
  .ev-shell, .ev-container { padding: 0 32px; }
  .ev-exams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .ev-plan-select { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .ev-shell, .ev-container { padding: 0 40px; }
  .ev-home { padding-top: 48px; }
  .ev-home-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .ev-home-sidebar { position: sticky; top: 96px; }
  .ev-hero { padding: 96px 0 64px; }
  .ev-hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 64px; }
  .ev-section { padding: 80px 0; }
  .ev-exams { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ev-home-main .ev-exams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ev-footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
  .ev-plan-select { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-plan-option { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ev-plan-option-price { text-align: left; }
  .ev-panel { padding: 36px 32px; }
  .ev-blog-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .ev-sidebar { position: sticky; top: 96px; }
}

@media (max-width: 899px) {
  /* Phones and tablets get the full Latest Articles section instead. */
  .ev-home-sidebar { display: none; }
}

@media (max-width: 559px) {
  /* Reviews rail: full-bleed on phones with the next card peeking. */
  .ev-reviews { gap: 12px; margin-right: -24px; padding-right: 24px; }
  .ev-review { flex: 0 0 86%; }

  /* Footer: brand full width, then two link columns. */
  .ev-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ev-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ev-header-inner { min-height: 64px; gap: 12px; }
  .ev-nav { display: none; }
  .ev-header-actions { margin-left: auto; }
  .ev-hero { padding: 52px 0 56px; }
  .ev-hero-lead { font-size: 16px; }
  .ev-hero-panel { padding: 18px 18px 28px; }
  .ev-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ev-article-thumb { width: 96px; height: 68px; }
  .ev-article-excerpt { display: none; }
}

@media (max-width: 420px) {
  .ev-pill, .ev-btn { padding: 0 16px; font-size: 13px; }
  .ev-pill-sm, .ev-btn-sm { padding: 0 13px; font-size: 12.5px; }
  .ev-brand-logo { height: 23px; }
  .ev-hero-stats { gap: 10px; }
  .ev-stat-value { font-size: 17px; }
}

@media print {
  .ev-header, .ev-footer, .ev-alerts, .ev-article-cta, .ev-related { display: none !important; }
}
