/*
Theme Name: CME Prep Block Theme
Theme URI: https://example.invalid/cme-prep
Author: CME Prep
Description: Gutenberg-first bilingual theme for the CME Prep learner and marketing site.
Version: 1.5.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: cme-prep
*/

:root {
  --cme-ink: #0b2345;
  --cme-ink-soft: #20395d;
  --cme-teal: #007f7b;
  --cme-teal-dark: #006761;
  --cme-gold: #d99b2b;
  --cme-gold-soft: #f4dfb2;
  --cme-sand: #f8f3ea;
  --cme-surface: #ffffff;
  --cme-line: #dfe5ec;
  --cme-muted: #64748b;
  --cme-radius: 18px;
  --cme-shadow: 0 18px 42px rgba(11, 35, 69, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cme-sand);
  color: var(--cme-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.is-cme-ar { direction: rtl; }
body.is-cme-ar .wp-block-navigation__container { direction: rtl; }
body.is-cme-ar .cme-site-header__actions { direction: ltr; }
.entry-content.wp-block-post-content { margin-top: 0 !important; }

a { color: var(--cme-teal-dark); }
a:hover { color: var(--cme-ink); }
h1, h2, h3, h4, h5, h6 { color: var(--cme-ink); letter-spacing: -.035em; }
body.is-cme-ar h1,
body.is-cme-ar h2,
body.is-cme-ar h3,
body.is-cme-ar h4 { letter-spacing: 0; line-height: 1.35; }

.cme-site-shell { min-height: 100vh; }
.cme-site-header {
  background: var(--cme-ink);
  color: #fff;
  position: relative;
  z-index: 10;
}
.cme-site-header__inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1536px;
  min-height: 82px;
  padding: 14px 42px;
}
.cme-site-header__brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  gap: 11px;
  letter-spacing: -.03em;
  text-decoration: none;
}
.cme-site-header__brand-mark {
  align-items: center;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 42px;
}
.cme-site-header__brand-mark svg { height: 48px; width: 42px; }
.cme-site-header__brand-mark svg path:first-child { fill: none; stroke: var(--cme-gold); stroke-width: 2.5; }
.cme-site-header__brand-mark svg path:last-child { fill: none; stroke: var(--cme-gold); stroke-linecap: round; stroke-width: 2.8; }
.cme-site-header__nav { align-items: center; display: flex; gap: clamp(20px, 3.2vw, 54px); margin-left: auto; }
.cme-site-header__nav a { color: #fff; font-size: 16px; text-decoration: none; white-space: nowrap; }
.cme-site-header__nav a:hover { color: var(--cme-gold-soft); }
.cme-site-header__actions { align-items: center; display: flex; gap: 18px; }
.cme-site-header__globe { align-items: center; color: #fff; display: inline-flex; height: 28px; justify-content: center; width: 28px; }
.cme-site-header__globe svg { height: 26px; stroke: currentColor; stroke-width: 1.55; width: 26px; }
.cme-site-header__account { color: #fff; text-decoration: none; }
.cme-site-header__account:hover { color: var(--cme-gold-soft); }
.cme-site-header__language {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
}
.cme-site-header__language span { padding: 8px 14px; }
.cme-site-header__language span + span { border-left: 1px solid var(--cme-gold); }
.cme-site-header__language span.is-active { background: transparent; color: #fff; }

.cme-page-wrap { margin: 0 auto; max-width: 1440px; padding: 0 32px 72px; }
.cme-page-wrap > .wp-block-group { margin-left: auto; margin-right: auto; max-width: 1376px; }
.wp-block-post-content > .cme-home {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100%;
}
.cme-hero {
  background: var(--cme-sand);
  overflow: hidden;
  min-height: 0;
  padding: 30px clamp(28px, 5.6vw, 86px) 24px;
  position: relative;
}
.cme-hero::after {
  border: 1px solid rgba(217,155,43,.35);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -230px;
  top: -170px;
  width: 520px;
}
.cme-hero__content { margin: 0 auto; max-width: 1376px; padding-left: 170px; position: relative; z-index: 1; }
.cme-hero .wp-block-columns { align-items: start; display: grid; gap: clamp(28px, 4vw, 70px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
.cme-hero .wp-block-column { min-width: 0; }
.cme-hero .wp-block-column:first-child { padding-top: 15px; }
.cme-hero .wp-block-column:last-child .cme-progress-card { margin-right: -50px; width: calc(100% + 50px); }
.cme-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 3.65vw, 58px); line-height: 1.05; margin: 0; max-width: 700px; white-space: nowrap; }
.cme-hero h1 em { color: var(--cme-gold); font-style: normal; }
.cme-hero h2 { color: var(--cme-teal-dark); font-family: Tahoma, Arial, sans-serif; font-size: clamp(30px, 3.1vw, 50px); line-height: 1.22; margin: 0; max-width: 650px; }
.cme-gold-rule { background: var(--cme-gold); height: 3px; margin: 20px 0 12px; width: 88px; }
.cme-eyebrow { color: var(--cme-teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 12px; text-transform: uppercase; }
.cme-lede, .cme-hero__sub { color: var(--cme-ink-soft); font-size: clamp(16px, 1.4vw, 20px); max-width: 760px; }
.cme-hero .wp-block-buttons { align-items: stretch; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.cme-hero .wp-block-button { margin: 0 !important; }
.cme-hero .wp-block-button__link {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  display: flex;
  gap: 12px;
  justify-content: center;
  line-height: 1.35;
  padding: 0 !important;
}
.cme-button__icon { align-items: center; color: var(--cme-gold); display: inline-flex; flex: 0 0 24px; height: 24px; justify-content: center; width: 24px; }
.cme-button__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 100%; }
.cme-button-secondary .cme-button__icon { font-size: 24px; order: 2; }
.cme-button-primary,
.cme-button-secondary { border-radius: 9px !important; font-weight: 700; padding: 14px 24px !important; text-decoration: none !important; }
.cme-button-primary { background: var(--cme-ink) !important; color: #fff !important; }
.cme-button-secondary { background: var(--cme-teal-dark) !important; color: #fff !important; }
.cme-button-primary:hover, .cme-button-secondary:hover { filter: brightness(1.1); }
.cme-hero__benefits { margin: -125px auto 0; max-width: 1376px; padding-left: 0; position: relative; width: 100%; z-index: 1; }
.cme-hero__benefits .cme-benefits { max-width: 740px; }
.cme-skyline { bottom: -110px; color: rgba(217,155,43,.62); left: -14px; pointer-events: none; position: absolute; width: 360px; z-index: 0; }
.cme-skyline svg { fill: none; height: auto; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.15; width: 100%; }

.cme-progress-card {
  background: var(--cme-surface);
  border: 1px solid rgba(11,35,69,.08);
  border-radius: var(--cme-radius);
  box-shadow: var(--cme-shadow);
  padding: 22px 22px 20px;
}
.cme-progress-card h3 { font-family: Georgia, "Times New Roman", serif; margin: 0; }
.cme-progress-card__head { align-items: center; border-bottom: 1px solid var(--cme-line); display: flex; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; }
.cme-select { align-items: center; border: 1px solid var(--cme-line); border-radius: 8px; color: var(--cme-ink-soft); display: inline-flex; font-size: 12px; gap: 10px; padding: 7px 10px; }
.cme-progress-card__metrics { align-items: center; display: grid; gap: 16px; grid-template-columns: 1.35fr repeat(3, 1fr); }
.cme-score-ring { align-items: center; background: conic-gradient(var(--cme-teal) 0 72%, #e1e6eb 72% 100%); border-radius: 50%; display: flex; flex-direction: column; height: 142px; justify-content: center; position: relative; text-align: center; width: 142px; }
.cme-score-ring::after { background: #fff; border-radius: 50%; content: ""; inset: 9px; position: absolute; }
.cme-score-ring strong, .cme-score-ring small { position: relative; z-index: 1; }
.cme-score-ring strong { font-size: 32px; line-height: 1; }
.cme-score-ring small { color: var(--cme-muted); font-size: 10px; margin-top: 5px; }
.cme-stat-block { border-left: 1px solid var(--cme-line); min-height: 116px; padding-left: 14px; }
.cme-stat-block__icon { color: var(--cme-ink-soft); display: block; height: 28px; margin: 3px auto 10px; width: 28px; }
.cme-stat-block__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; width: 100%; }
.cme-stat-number { color: var(--cme-ink); font-size: 27px; font-weight: 800; line-height: 1; margin: 0; text-align: center; }
.cme-stat-label { color: var(--cme-muted); font-size: 12px; }
.cme-stat-block .cme-stat-label { margin: 8px 0 0; text-align: center; }
.cme-progress-bar { background: #e9eef3; border-radius: 99px; height: 8px; overflow: hidden; }
.cme-progress-bar span { background: var(--cme-teal); border-radius: inherit; display: block; height: 100%; }
.cme-progress-card__section-title { font-family: inherit !important; font-size: 16px; line-height: 1.25; margin: 6px 0 0 !important; }
.cme-progress-row { align-items: center; display: grid; gap: 10px; grid-template-columns: 24px minmax(0, 1fr) 38px 10px; margin: 5px 0; }
.cme-progress-row__icon { color: var(--cme-ink-soft); display: inline-flex; height: 23px; width: 23px; }
.cme-progress-row__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; width: 100%; }
.cme-progress-row__content strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.cme-progress-row small { color: var(--cme-muted); font-size: 12px; text-align: right; }
.cme-progress-row__arrow, .cme-pill__arrow { color: #8391a2; font-size: 28px; line-height: 1; }
.cme-pill { align-items: center; background: rgba(0,127,123,.09); border: 1px solid rgba(0,127,123,.12); border-radius: 10px; color: var(--cme-teal-dark); display: grid; gap: 13px; grid-template-columns: 38px minmax(0, 1fr) 16px; margin: 12px 0 4px; padding: 12px 14px; }
.cme-pill__icon { color: var(--cme-teal-dark); display: inline-flex; height: 31px; width: 31px; }
.cme-pill__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; width: 100%; }
.cme-pill strong, .cme-pill small { display: block; }
.cme-pill small { color: var(--cme-ink-soft); font-size: 12px; margin-top: 2px; }
.cme-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; max-width: none; }
.cme-benefit { align-items: center; border-right: 1px solid var(--cme-line); display: flex; gap: 12px; min-height: 62px; padding: 8px 14px; }
.cme-benefit:first-child { padding-left: 0; }
.cme-benefit:last-child { border-right: 0; padding-right: 0; }
.cme-benefit__icon { align-items: center; border: 2px solid var(--cme-teal); border-radius: 50%; color: var(--cme-teal-dark); display: inline-flex; flex: 0 0 34px; font-size: 20px; height: 34px; justify-content: center; width: 34px; }
.cme-benefit strong, .cme-benefit small { display: block; }
.cme-benefit strong { color: var(--cme-ink); font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 600; white-space: nowrap; }
.cme-benefit small { color: var(--cme-ink-soft); font-size: 11.5px; white-space: nowrap; }

.cme-feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cme-feature-card { background: #fff; border: 1px solid var(--cme-line); border-radius: var(--cme-radius); box-shadow: 0 8px 26px rgba(11,35,69,.04); padding: 24px; }
.cme-feature-card h3 { font-size: 20px; margin: 10px 0 4px; }
.cme-feature-card h4 { color: var(--cme-ink-soft); font-size: 15px; font-weight: 500; margin: 14px 0 3px; }
.cme-feature-card p { color: var(--cme-muted); font-size: 14px; margin: 0; }
.cme-feature-card__arabic { direction: rtl; font-size: 13px !important; }
.cme-icon-circle { align-items: center; background: rgba(0,127,123,.1); border-radius: 50%; color: var(--cme-teal-dark); display: inline-flex; font-size: 25px; height: 58px; justify-content: center; width: 58px; }

.cme-pathway { background: #fff; border: 1px solid var(--cme-line); border-radius: var(--cme-radius); box-shadow: var(--cme-shadow); padding: 14px 32px; }
.cme-pathway__head { align-items: center; display: flex; justify-content: space-between; gap: 18px; }
.cme-pathway__head h2 { font-size: 20px; line-height: 1.2; margin: 0; }
.cme-pathway__legend { color: var(--cme-muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 16px; }
.cme-pathway__line { display: grid; gap: 0; grid-template-columns: repeat(10, 1fr); height: 15px; margin: 12px 4px 0; position: relative; }
.cme-pathway__line::before { background: linear-gradient(90deg, var(--cme-teal) 0 25%, #cbd5df 25% 100%); content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 6px; }
.cme-pathway__dot { background: #fff; border: 3px solid #aeb7c1; border-radius: 50%; height: 13px; justify-self: center; position: relative; width: 13px; z-index: 1; }
.cme-pathway__dot.is-complete { border-color: var(--cme-teal); }
.cme-pathway__dot.is-current { border-color: #397bd8; height: 17px; margin-top: -2px; width: 17px; }
.cme-pathway__cards { display: grid; gap: 10px; grid-template-columns: repeat(10, minmax(90px, 1fr)); margin-top: 4px; }
.cme-course-card { background: #fff; border: 1px solid #d8e0e8; border-radius: 10px; min-height: 108px; padding: 13px 8px 9px; text-align: center; }
.cme-course-card.is-complete { border-color: var(--cme-teal); }
.cme-course-card.is-current { border: 2px solid #397bd8; }
.cme-course-card.is-locked { color: #778392; }
.cme-course-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.cme-course-card__icon { color: var(--cme-ink); display: block; font-size: 29px; line-height: 1; margin: 8px 0 5px; }
.cme-course-card.is-locked .cme-course-card__icon { color: #9da5ad; }
.cme-course-card small { color: var(--cme-muted); display: block; font-size: 11px; margin-top: 0; }
.cme-course-card__status { align-items: center; border-radius: 50%; display: inline-flex; font-size: 16px; font-weight: 800; height: 24px; justify-content: center; margin-top: 0; min-width: 24px; }
.cme-course-card__status.is-complete { background: var(--cme-teal); color: #fff; }
.cme-course-card__status.is-current { background: #397bd8; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 600; height: auto; padding: 4px 8px; }
.cme-course-card__status.is-locked { background: #aeb5bd; color: #fff; font-size: 14px; }
.cme-course-card__status.is-locked svg { fill: none; height: 15px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 15px; }

.cme-content-section { padding: 70px clamp(22px, 6vw, 84px); }
.cme-policy, .cme-faq, .cme-course-detail { margin: 0 auto; max-width: 1120px; }
.cme-policy { color: var(--cme-ink-soft); font-size: 16px; line-height: 1.75; }
.cme-policy h1 { color: var(--cme-ink); margin-bottom: 10px; }
.cme-policy h2 { color: var(--cme-ink); font-size: clamp(21px, 2vw, 27px); margin: 38px 0 10px; }
.cme-policy ul { padding-inline-start: 24px; }
.cme-policy li { margin-bottom: 9px; }
.cme-policy a { overflow-wrap: anywhere; }
.cme-policy-date { color: var(--cme-muted); font-size: 14px; }
.cme-policy-identity { background: #f6f8fa; border-inline-start: 4px solid var(--cme-teal); border-radius: 8px; font-style: normal; margin: 16px 0; padding: 18px 20px; }
.cme-policy-warning { background: #fff7df; border: 1px solid #e9c86d; border-radius: 10px; color: #5a4513; padding: 18px 20px; }
.cme-faq-list { display: grid; gap: 12px; margin-top: 30px; }
.cme-faq-item { background: #fff; border: 1px solid var(--cme-line); border-radius: 10px; box-shadow: 0 5px 16px rgba(11,35,69,.03); padding: 0 20px; }
.cme-faq-item summary { color: var(--cme-ink); cursor: pointer; font-weight: 700; padding: 18px 0; }
.cme-faq-item p { color: var(--cme-ink-soft); margin: 0; padding: 0 0 20px; }
.cme-exam-facts { margin: 28px 0; }
.cme-exam-facts h2 { font-size: 18px; margin: 0 0 8px; }
.cme-course-detail > section { margin: 38px 0 26px; }
.cme-source-review, .cme-independent-disclaimer { color: var(--cme-muted); font-size: 14px; }
.cme-independent-disclaimer { border-top: 1px solid var(--cme-line); margin-top: 26px; padding-top: 18px; }
.cme-home__pathway-section { background: transparent !important; padding: 0 36px 10px; }
.cme-home__features-section { padding: 0 36px 26px; }
.cme-home__features-section > .cme-feature-grid { margin: 0; max-width: none; width: 100%; }
.cme-home__features-section .cme-feature-grid { background: #fff; border: 1px solid rgba(11,35,69,.06); border-radius: var(--cme-radius); box-shadow: var(--cme-shadow); gap: 0; padding: 16px 14px; }
.cme-home__features-section .cme-feature-card { align-items: center; background: transparent; border: 0; border-right: 1px solid var(--cme-line); border-radius: 0; box-shadow: none; display: grid; gap: 16px; grid-template-columns: 94px minmax(0, 1fr); min-height: 132px; padding: 10px 22px; }
.cme-home__features-section .cme-feature-card:last-child { border-right: 0; }
.cme-home__features-section .cme-icon-circle { background: rgba(0,127,123,.1); flex: 0 0 94px; font-size: 37px; height: 94px; width: 94px; }
.cme-home__features-section .cme-feature-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 17px; margin: 0 0 3px; }
.cme-home__features-section .cme-feature-card p { font-size: 11.5px; line-height: 1.35; }
.cme-home__features-section .cme-feature-card h4 { font-size: 11.5px; margin: 5px 0 2px; }
.cme-content-section--white { background: #fff; }
.cme-content-section--navy { background: var(--cme-ink); color: #fff; }
.cme-content-section--navy h1, .cme-content-section--navy h2, .cme-content-section--navy h3 { color: #fff; }
.cme-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cme-card-grid > .wp-block-group { background: #fff; border: 1px solid var(--cme-line); border-radius: var(--cme-radius); padding: 24px; }
.cme-table-scroll { overflow-x: auto; }
.cme-table-scroll table { border-collapse: collapse; min-width: 720px; width: 100%; }
.cme-table-scroll th, .cme-table-scroll td { border-bottom: 1px solid var(--cme-line); padding: 14px; text-align: start; }
.cme-table-scroll th { background: #f2f6fa; color: var(--cme-ink); }
.cme-site-footer { background: var(--cme-ink); color: #cbd5e1; padding: 45px 32px; }
.cme-site-footer a { color: #fff; }
.cme-site-footer__inner { margin: 0 auto; max-width: 1376px; }
.cme-site-footer__brand { align-items: center; color: #fff; display: flex; gap: 12px; }
.cme-site-footer__brand .cme-site-header__brand-mark { background: rgba(104, 215, 202, .12); color: var(--cme-gold); }

body.is-cme-ar .cme-progress-row small { text-align: left; }
body.is-cme-ar .cme-course-card small { direction: rtl; }
body.is-cme-ar .cme-hero h1 { font-family: Tahoma, Arial, sans-serif; font-size: clamp(44px, 3.35vw, 52px); line-height: 1.2; }
body.is-cme-ar .cme-hero h2 { direction: ltr; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 3vw, 48px); line-height: 1.05; text-align: left; white-space: nowrap; }
body.is-cme-ar .cme-hero__content { padding-left: 0; padding-right: 170px; }
body.is-cme-ar .cme-hero__benefits { padding-left: 0; padding-right: 0; }
body.is-cme-ar .cme-hero .wp-block-column:last-child .cme-progress-card { margin-left: -50px; margin-right: 0; }
body.is-cme-ar .cme-hero::after { left: -230px; right: auto; }
body.is-cme-ar .cme-stat-block { border-left: 0; border-right: 1px solid var(--cme-line); padding-left: 0; padding-right: 14px; }
body.is-cme-ar .cme-benefit { border-left: 1px solid var(--cme-line); border-right: 0; }
body.is-cme-ar .cme-benefit:first-child { padding-left: 14px; padding-right: 0; }
body.is-cme-ar .cme-benefit:last-child { border-left: 0; padding-left: 0; padding-right: 14px; }
body.is-cme-ar .cme-home__features-section .cme-feature-card { border-left: 1px solid var(--cme-line); border-right: 0; }
body.is-cme-ar .cme-home__features-section .cme-feature-card:last-child { border-left: 0; }
body.is-cme-ar .cme-stat-block { text-align: center; }
body.is-cme-ar .cme-pathway__line::before { background: linear-gradient(270deg, var(--cme-teal) 0 25%, #cbd5df 25% 100%); }

@media (max-width: 1060px) {
  .cme-hero__content, body.is-cme-ar .cme-hero__content { padding-left: 30px; padding-right: 30px; }
  .cme-hero__benefits, body.is-cme-ar .cme-hero__benefits { margin-top: 16px; padding-left: 30px; padding-right: 30px; }
  .cme-hero .wp-block-column:last-child .cme-progress-card,
  body.is-cme-ar .cme-hero .wp-block-column:last-child .cme-progress-card { margin-left: 0; margin-right: 0; width: 100%; }
  .cme-site-header__nav { gap: 14px; }
  .cme-site-header__nav a { font-size: 13px; }
  .cme-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cme-benefits { grid-template-columns: 1fr; }
  .cme-benefit, .cme-benefit:first-child, .cme-benefit:last-child { border-bottom: 1px solid var(--cme-line); border-right: 0; padding: 12px 0; }
  .cme-benefit:last-child { border-bottom: 0; }
  .cme-pathway { overflow-x: auto; }
  .cme-pathway__cards { min-width: 1060px; }
  .cme-home__features-section .cme-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cme-home__features-section .cme-feature-card:nth-child(2) { border-right: 0; }
  .cme-home__features-section .cme-feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--cme-line); }
}
@media (max-width: 780px) {
  .cme-site-header__inner { align-items: flex-start; flex-wrap: wrap; min-height: 0; padding: 15px 20px; }
  .cme-site-header__nav { flex-basis: 100%; justify-content: space-between; order: 3; overflow-x: auto; }
  .cme-site-header__nav a { white-space: nowrap; }
  .cme-page-wrap { padding: 0 12px 40px; }
  .cme-hero { min-height: 0; padding: 48px 22px 34px; }
  .cme-hero__content, body.is-cme-ar .cme-hero__content { padding-left: 0; padding-right: 0; }
  .cme-hero__benefits, body.is-cme-ar .cme-hero__benefits { padding-left: 0; padding-right: 0; }
  .cme-hero .wp-block-columns { grid-template-columns: 1fr; }
  .cme-skyline { opacity: .42; width: 250px; }
  .cme-hero h1 { font-size: clamp(38px, 11vw, 58px); white-space: normal; }
  .cme-hero h2 { font-size: clamp(28px, 8vw, 42px); }
  body.is-cme-ar .cme-hero h1,
  body.is-cme-ar .cme-hero h2 { text-align: inherit; white-space: normal; }
  .cme-feature-grid, .cme-card-grid { grid-template-columns: 1fr; }
  .cme-progress-card__metrics { grid-template-columns: 1fr 1fr; }
  .cme-score-ring { grid-row: span 2; }
  .cme-progress-row { grid-template-columns: 24px minmax(0, 1fr) 34px 8px; }
  .cme-hero .wp-block-buttons { flex-direction: column; gap: 12px; }
  .cme-hero .wp-block-button { width: 100%; }
  .cme-hero .wp-block-button__link { text-align: center; width: 100%; }
  .cme-hero__benefits { margin-top: 26px; width: 100%; }
  .cme-home__features-section .cme-feature-grid { grid-template-columns: 1fr; }
  .cme-home__features-section .cme-feature-card,
  .cme-home__features-section .cme-feature-card:nth-child(2) { border-bottom: 1px solid var(--cme-line); border-right: 0; min-height: 118px; }
  .cme-home__features-section .cme-feature-card:last-child { border-bottom: 0; }
  body.is-cme-ar .cme-home__features-section .cme-feature-card,
  body.is-cme-ar .cme-home__features-section .cme-feature-card:nth-child(2) { border-left: 0; }
  .cme-content-section { padding: 46px 22px; }
  .cme-home__pathway-section, .cme-home__features-section { padding-left: 12px; padding-right: 12px; }
}
