/* QA4Exam product UI - theme-locked, contained, symmetric */
.ed-matrix {
  --qa-blue: #007bff;
  --qa-blue-deep: #0873c3;
  --qa-blue-mid: #0095eb;
  --qa-orange: #fda00a;
  --qa-orange-hot: #e4600f;
  --qa-ink: #212121;
  --qa-muted: #505050;
  --qa-line: #e6edf5;
  --qa-surface: #f4f8fc;
  --qa-void: #eaf1f8;
  --qa-white: #ffffff;
  --qa-pad-x: clamp(0.9rem, 2.4vw, 1.5rem);
  --qa-pad-y: clamp(1.35rem, 4vw, 3rem);
  color: var(--qa-ink);
  clear: both;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  position: relative;
  overflow-x: clip;
  font-family: Roboto, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ed-matrix *,
.ed-matrix *::before,
.ed-matrix *::after {
  box-sizing: border-box;
}

/* ---------- Hero animations ---------- */
@keyframes ed-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ed-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ed-anim {
  opacity: 0;
  animation: ed-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ed-anim-d1 { animation-delay: 0.05s; }
.ed-anim-d2 { animation-delay: 0.14s; }
.ed-anim-d3 { animation-delay: 0.24s; }
.ed-anim-d4 { animation-delay: 0.34s; }
.ed-anim-d5 { animation-delay: 0.44s; }

.ed-split__panel.ed-anim {
  animation-name: ed-fade-in;
  animation-duration: 0.7s;
  animation-delay: 0.18s;
}

/* ---------- Split hero ---------- */
.ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--qa-white);
  border: 1px solid var(--qa-line);
  overflow: hidden;
}

.ed-split__copy {
  padding: var(--qa-pad-y) var(--qa-pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.ed-split__copy > .ed-kicker { margin-bottom: 0.75rem; }
.ed-split__copy > .ed-display { margin-bottom: 0.9rem; }
.ed-split__copy > .ed-lede { margin-bottom: 0; }
.ed-split__copy > .ed-cta-row { margin-top: 1.75rem; }

.ed-split__panel {
  background: var(--qa-blue-deep);
  color: #fff;
  padding: var(--qa-pad-y) var(--qa-pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.ed-split__panel--soft {
  background: var(--qa-void);
  color: var(--qa-ink);
}

.ed-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--qa-blue-deep);
}

.ed-split__panel-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--qa-orange);
}

.ed-split__panel--soft .ed-split__panel-kicker {
  color: var(--qa-blue-deep);
}

.ed-split__panel-title {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ed-split__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-split__stats li {
  display: grid;
  gap: 0.2rem;
}

.ed-stat-label {
  font-size: 0.8rem;
  opacity: 0.85;
}

.ed-split__panel--soft .ed-stat-label {
  color: var(--qa-muted);
  opacity: 1;
}

.ed-stat-value {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ed-display,
.ed-band__title,
.ed-item-title,
.ed-plan__name,
.ed-split__panel-title,
.ed-card h3,
.ed-prep h3 {
  text-transform: capitalize;
}

.ed-display {
  margin: 0;
  font-size: clamp(1.45rem, 5.4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--qa-ink);
  text-align: left;
  max-width: 22ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ed-lede {
  margin: 0;
  font-size: clamp(0.98rem, 2.8vw, 1.05rem);
  line-height: 1.55;
  color: var(--qa-muted);
  max-width: min(52ch, 100%);
  text-align: left;
}

.ed-lede--wide {
  max-width: min(52ch, 100%);
}

.ed-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  width: 100%;
}

.ed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  max-width: 100%;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}

.ed-cta:hover {
  transform: translateY(-1px);
}

.ed-cta--primary {
  background: var(--qa-blue);
  color: #fff !important;
}

.ed-cta--primary:hover,
.ed-cta--primary:focus {
  background: var(--qa-blue-deep);
  color: #fff !important;
}

.ed-cta--accent {
  background: var(--qa-orange-hot);
  color: #fff !important;
}

.ed-cta--accent:hover,
.ed-cta--accent:focus {
  background: var(--qa-orange);
  color: #fff !important;
}

.ed-cta--ghost {
  background: transparent;
  color: var(--qa-blue-deep) !important;
  padding-left: 0.1rem;
}

.ed-arrow { line-height: 1; }

.ed-matrix a:focus-visible,
.ed-matrix button:focus-visible {
  outline: 3px solid var(--qa-blue-mid);
  outline-offset: 3px;
}

.ed-muted {
  color: var(--qa-muted);
  font-size: 0.95rem;
}

/* ---------- Bands ---------- */
.ed-band {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: var(--qa-pad-y) var(--qa-pad-x);
}

.ed-band--white { background: var(--qa-white); }
.ed-band--surface { background: var(--qa-surface); }
.ed-band--void { background: var(--qa-void); }
.ed-band--ink {
  background: var(--qa-blue-deep);
  color: #fff;
}

.ed-band--ink .ed-lede,
.ed-band--ink .ed-muted { color: rgba(255, 255, 255, 0.85); }
.ed-band--ink .ed-band__title { color: #fff; }

.ed-band__inner {
  max-width: 100%;
  margin: 0 auto;
}

.ed-band__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 4.6vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ed-index {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--qa-blue);
  line-height: 1;
  margin: 0 0 0.65rem;
}

.ed-band--ink .ed-index { color: var(--qa-orange); }

/* ---------- Spec list (legacy) ---------- */
.ed-spec {
  display: grid;
  grid-template-columns: minmax(7rem, 9.5rem) 1fr;
  gap: 0.85rem 1.25rem;
  margin: 0;
  max-width: 48rem;
  text-align: left;
}

.ed-spec dt {
  margin: 0;
  font-weight: 700;
  color: var(--qa-blue-deep);
  font-size: 0.92rem;
}

.ed-spec dd {
  margin: 0;
  color: var(--qa-ink);
  font-size: 1rem;
  line-height: 1.45;
}

/* ---------- Exam facts grid ---------- */
.ed-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.ed-fact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--qa-line);
  border-radius: 10px;
  background: var(--qa-white);
  box-shadow: 0 8px 22px rgba(8, 115, 195, 0.06);
  text-align: left;
}

.ed-fact--wide {
  grid-column: 1 / -1;
}

.ed-fact__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qa-blue-mid);
  line-height: 1.2;
}

.ed-fact__value {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--qa-ink);
  word-break: break-word;
}

.ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ed-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 149, 235, 0.1);
  color: var(--qa-blue-deep);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Symmetric grids ---------- */
.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.ed-card {
  background: var(--qa-white);
  border: 1px solid var(--qa-line);
  padding: 1.5rem 1.25rem;
  text-align: left;
  height: 100%;
}

.ed-card .ed-stat-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--qa-ink);
  margin: 0 0 0.5rem;
}

.ed-card h3,
.ed-card .ed-item-title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.ed-card p {
  margin: 0;
  color: var(--qa-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ed-prep {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  background: var(--qa-surface);
  border: 1px solid var(--qa-line);
}

.ed-prep h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.ed-prep p {
  margin: 0;
  color: var(--qa-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Pricing equal columns ---------- */
.pricing_container .ed-matrix {
  background: var(--qa-white) !important;
  padding: 0 !important;
}

.pricing_container.ed-matrix #container.ed-pricing,
.ed-matrix .ed-pricing#container,
.ed-matrix .ed-pricing {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.15rem !important;
  width: 100% !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
  align-items: stretch !important;
  padding: var(--qa-pad-y) 0 !important;
}

.pricing_container.ed-matrix .ed-plan.whole,
.pricing_container.ed-matrix .whole.ed-plan,
.ed-matrix .ed-plan {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--qa-line) !important;
  border-radius: 2px !important;
  min-height: 100%;
  font-family: inherit !important;
  font-size: 16px !important;
  text-align: left !important;
  color: var(--qa-ink) !important;
  background: var(--qa-white) !important;
  box-shadow: none !important;
  grid-column: auto !important;
  position: relative;
  overflow: hidden;
}

.ed-matrix .ed-plan > .ed-index {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  line-height: 1 !important;
  margin: 1.15rem 1.2rem 0.55rem !important;
  color: var(--qa-blue-deep) !important;
  text-transform: uppercase;
}

.ed-matrix .ed-plan:nth-child(2) {
  background: var(--qa-blue-deep) !important;
  color: #fff !important;
  border-color: var(--qa-blue-deep) !important;
  box-shadow: none !important;
  transform: none;
}

.ed-matrix .ed-plan:nth-child(2) .ed-index {
  color: var(--qa-orange) !important;
}

.ed-matrix .ed-plan:nth-child(2) .ed-plan__name,
.ed-matrix .ed-plan:nth-child(2) .ed-plan__list,
.ed-matrix .ed-plan:nth-child(2) .ed-plan__list li {
  color: #fff !important;
}

.ed-plan__name {
  margin: 0 1.2rem 0.85rem !important;
  font-size: clamp(1.18rem, 2.6vw, 1.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
  text-align: left !important;
  color: inherit !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
}

.ed-plan__name span {
  display: block;
  font-weight: 600;
  font-size: 0.82em;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.ed-plan__price {
  display: flex !important;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0.04em;
  margin: 0 0 1rem !important;
  padding: 0.95rem 1.2rem 0.8rem !important;
  font-size: clamp(2.75rem, 6.8vw, 3.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em;
  line-height: 0.9 !important;
  color: #fff !important;
  text-align: left !important;
  background: var(--qa-blue) !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.ed-matrix .ed-plan:nth-child(2) .ed-plan__price {
  background: #065a9a !important;
  color: var(--qa-orange) !important;
}

.ed-plan__price span,
.ed-plan__price #lbl_pricepdf,
.ed-plan__price #lbl_price_bundle,
.ed-plan__price #lbl_price {
  font-size: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
}

.ed-plan__price span:first-child {
  font-size: 0.46em !important;
  font-weight: 800 !important;
  align-self: flex-start;
  margin-top: 0.28em;
  margin-right: 0.08em;
  opacity: 0.95;
}

.ed-plan__price sup {
  font-size: 0.38em !important;
  top: 0.28em;
  position: relative;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.95;
}

.ed-matrix .ed-plan .content,
.ed-matrix .ed-plan .type,
.ed-matrix .ed-plan .header,
.ed-matrix .ed-plan .plan {
  background: transparent !important;
  width: auto !important;
  padding: 0 1.2rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: inherit !important;
  color: inherit !important;
  text-align: left !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-plan__list {
  list-style: none !important;
  margin: 0.35rem 0 1.35rem !important;
  padding: 0 !important;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  flex: 1;
}

.ed-plan__list li,
.pricing_container.ed-matrix #container .ed-plan li,
.pricing_container.ed-matrix .ed-plan li,
.ed-matrix .ed-plan li {
  position: relative;
  height: auto !important;
  line-height: 1.5 !important;
  text-align: left !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--qa-ink) !important;
  padding: 0.55rem 0 0.55rem 2rem !important;
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
}

.ed-matrix .ed-plan:nth-child(2) .ed-plan__list li {
  color: rgba(255, 255, 255, 0.96) !important;
}

/* Encoding-safe check icon (no UTF-8 glyph in the stylesheet) */
.ed-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background-color: rgba(0, 149, 235, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' stroke='%230095eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.7rem 0.7rem;
  font-size: 0;
  color: transparent;
}

.ed-matrix .ed-plan:nth-child(2) .ed-plan__list li::before {
  background-color: rgba(253, 160, 10, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' stroke='%23fda00a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ed-matrix .ed-plan .price,
.ed-matrix .ed-plan .empty_price,
.ed-matrix .ed-plan .b_pdfDemo,
.ed-matrix .ed-plan form {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 0 0.85rem !important;
  padding: 0 !important;
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  background: transparent !important;
}

.ed-matrix .ed-plan .b_pdfDemo {
  margin-top: 0.15rem !important;
}

.ed-matrix .ed-plan .price,
.ed-matrix .ed-plan .empty_price {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0 1.2rem 1.2rem !important;
}

.ed-matrix .ed-plan .btn,
.ed-matrix .ed-plan button.btn {
  border-radius: 2px !important;
  min-height: 3.1rem;
  width: 100% !important;
  justify-content: center;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.15rem !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  box-shadow: none;
}

.ed-matrix .ed-plan:nth-child(2) .btn,
.ed-matrix .ed-plan:nth-child(2) button.btn {
  background: var(--qa-orange) !important;
  border-color: var(--qa-orange) !important;
  color: #1a1200 !important;
  box-shadow: none;
}

.ed-matrix .ed-plan .compatibilityBox {
  display: block;
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 2px;
  background: rgba(0, 149, 235, 0.06);
}

.ed-matrix .ed-plan .compatibilityBox img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Question list ---------- */
.ed-qlist {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ed-qitem {
  padding: 1.75rem 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
  outline: 0 !important;
}

.ed-qitem + .ed-qitem {
  box-shadow: inset 0 1px 0 var(--qa-line);
}

.ed-qitem__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ed-qitem__head .ed-index {
  margin: 0;
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--qa-blue);
  line-height: 1;
  min-width: 2.5rem;
}

.ed-qitem__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--qa-muted);
}

.ed-qitem .question-body,
.ed-qitem .card-body {
  padding: 0 !important;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--qa-ink);
  text-align: left;
  background: transparent !important;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ed-qitem img,
.ed-matrix img,
.ed-cms img,
.greycontentbox img,
.question-body img,
.answer-description img {
  max-width: 100% !important;
  height: auto !important;
}

.ed-qitem table,
.ed-cms table,
.greycontentbox table,
.question-body table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
}

.ed-qitem .card-header,
.ed-qitem .bg-primary {
  display: none !important;
}

.ed-qitem .question-choices-container {
  margin: 1rem 0 1.15rem;
}

.ed-qitem .question-answer {
  margin-top: 1rem !important;
  padding: 1rem 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--qa-ink) !important;
}

.ed-qitem .btn.reveal-solution,
.ed-qitem .btn.hide-solution {
  border-radius: 2px !important;
  min-height: 2.85rem;
  font-weight: 700;
  background: var(--qa-blue) !important;
  border: 0 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* CMS / AI content */
.ed-matrix .greycontentbox,
.ed-matrix .ed-cms {
  float: none !important;
  width: 100% !important;
  margin: 0 auto;
  text-align: left !important;
  color: var(--qa-ink);
}

.ed-matrix .ed-cms h1,
.ed-matrix .greycontentbox h1,
.ed-matrix .ed-cms h2,
.ed-matrix .greycontentbox h2,
.ed-matrix .ed-cms h3,
.ed-matrix .greycontentbox h3,
.ed-matrix .ed-cms h2.mb-4,
.ed-matrix .greycontentbox h2.mb-4 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem !important;
  text-align: left !important;
  text-transform: capitalize;
}

.ed-matrix .ed-cms table,
.ed-matrix .greycontentbox table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  overflow-x: auto;
}

.ed-matrix .ed-cms table th,
.ed-matrix .ed-cms table td,
.ed-matrix .greycontentbox table th,
.ed-matrix .greycontentbox table td {
  border: 0 !important;
  border-bottom: 1px solid var(--qa-line) !important;
  padding: 0.75rem 0.55rem !important;
  text-align: left !important;
  vertical-align: top;
}

.ed-matrix .ed-cms table thead th,
.ed-matrix .greycontentbox table thead th {
  background: var(--qa-blue-deep) !important;
  color: #fff !important;
}

.ed-matrix hr { display: none; }

@media (max-width: 1199px) {
  .pricing_container.ed-matrix #container.ed-pricing,
  .ed-matrix .ed-pricing#container,
  .ed-matrix .ed-pricing,
  .pricing_container .ed-pricing#container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .ed-matrix .ed-plan:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 991px) {
  .ed-split {
    grid-template-columns: 1fr;
  }

  .ed-grid-3 {
    grid-template-columns: 1fr;
  }

  .ed-spec {
    grid-template-columns: 1fr;
    gap: 0.2rem 0;
  }

  .ed-spec dt { margin-top: 0.75rem; }

  .ed-facts {
    grid-template-columns: 1fr 1fr;
  }

  .ed-fact--wide {
    grid-column: 1 / -1;
  }

  .ed-cta,
  .ed-cta--ghost {
    width: 100%;
  }

  .ed-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-display,
  .ed-lede,
  .ed-lede--wide {
    max-width: 100%;
  }

  .ed-qitem {
    padding: 1.25rem 0;
  }

  .rowQuestion,
  .rowQuestion .col-12,
  .exam-questions-stack,
  .questions-container {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 575px) {
  .ed-facts {
    grid-template-columns: 1fr;
  }

  .ed-split__stats {
    grid-template-columns: 1fr;
  }

  .ed-plan {
    padding: 0 !important;
  }

  .ed-plan__price {
    font-size: clamp(2.7rem, 12vw, 3.4rem) !important;
    padding: 0.95rem 1rem !important;
  }

  .ed-qitem__head {
    flex-wrap: wrap;
  }

  .ed-qitem .btn.reveal-solution,
  .ed-qitem .btn.hide-solution,
  .ed-matrix .ed-plan .btn,
  .ed-matrix .ed-plan button.btn {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-anim,
  .ed-split__panel.ed-anim {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .ed-cta {
    transition: none;
  }

  .ed-cta:hover {
    transform: none;
  }
}
