@font-face { font-family: Inter; src: url("assets/fonts/Inter-0.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/Inter-1.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/Inter-2.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url("assets/fonts/Montserrat-1.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url("assets/fonts/Montserrat-2.ttf") format("truetype"); font-weight: 700; font-display: swap; }

.ap-home-root {
  --ap-home-night: #102B4E;
  --ap-home-blue: #2563EB;
  --ap-home-hover: #1D4ED8;
  --ap-home-active: #1E40AF;
  --ap-home-pale: #DBEAFE;
  --ap-home-soft: #EFF6FF;
  --ap-home-line: #E2E8F0;
  --ap-home-focus: #93C5FD;
  --ap-home-shadow-1: 0 2px 8px rgb(16 43 78 / .05);
  --ap-home-shadow-2: 0 8px 24px rgb(16 43 78 / .09);
  --ap-home-gutter: 32px;
  --ap-home-header: 80px;
  --ap-home-intro: 48px;
  color: #334155;
  background-color: #fff;
  font: 400 16px / 1.7 Inter, system-ui, sans-serif;
}

/* Layout helpers sit on Elementor wrappers. Widget sizing, typography and most surfaces use native controls. */
:where(.ap-home-root) {
  & *, & *::before, & *::after { box-sizing: border-box; }
  & .ap-home-node { min-inline-size: 0; }
  & .ap-home-node.e-con { --widgets-spacing: 0px; }
  & :where(.ap-home-node.elementor-widget) { --widgets-spacing: 0px; margin-block-end: 0; }
  & :where(.ap-home-t-p, .ap-home-t-label, .ap-home-t-span, .ap-home-t-text, .ap-home-t-strong, .ap-home-t-small) p { margin: 0; }
  & :where(.ap-home-t-h1, .ap-home-t-h2, .ap-home-t-h3) .elementor-heading-title { margin: 0; }
  & .ap-home-t-h2 .elementor-heading-title { text-wrap: balance; }
  & .ap-home-node[id] { scroll-margin-top: calc(var(--ap-home-header) + 16px); }
  & :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--ap-home-focus); outline-offset: 3px; }
  & strong { font-weight: 600; }

  & .ap-home-wrap.e-con { width: min(1200px, calc(100% - 2 * var(--ap-home-gutter))); margin-inline: auto; }
  & .ap-home-section-intro.e-con { margin-bottom: var(--ap-home-intro); max-width: 720px; }
  & .ap-home-section-intro .ap-home-eyebrow { margin-bottom: 16px; }
  & .ap-home-section-intro .ap-home-lead { margin-top: 16px; max-width: 64ch; }
  & .ap-home-experience-grid .ap-home-section-intro,
  & .ap-home-program-summary-grid .ap-home-section-intro { margin-bottom: 0; }

  & .ap-home-button { width: fit-content; max-width: 100%; align-self: flex-start; }
  & .ap-home-control .elementor-button,
  & button.ap-home-real-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
  & .ap-home-control .elementor-button-content-wrapper { display: flex; align-items: center; justify-content: center; gap: 8px; }
  & .ap-home-control .elementor-button-icon { font-size: 20px; line-height: 0; margin: 0; }
  & .ap-home-control .elementor-button-icon svg { width: 1em; height: 1em; fill: none; }
  & .ap-home-control .elementor-button-icon svg[fill="none"] > * { fill: none; }
  & .ap-home-button .elementor-button {
    min-height: 48px;
    transition: background-color 200ms, border-color 200ms, transform 150ms;
  }
  & .ap-home-button-large .elementor-button { min-height: 56px; }
  & .ap-home-button .elementor-button:active { transform: scale(.98); }
  & .ap-home-button-primary .elementor-button:hover { background-color: var(--ap-home-hover); border-color: var(--ap-home-hover); }
  & .ap-home-button-primary .elementor-button:active { background-color: var(--ap-home-active); border-color: var(--ap-home-active); }
  & .ap-home-button-secondary .elementor-button:hover { background-color: var(--ap-home-soft); }
  & .ap-home-button-icon .elementor-button-icon,
  & .ap-home-button-icon .elementor-button-content-wrapper::after { transition: transform 200ms; }
  & .ap-home-button-icon .elementor-button:hover :is(.elementor-button-icon, .elementor-button-content-wrapper)::after,
  & .ap-home-button-icon .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
  & .ap-home-button-icon .elementor-button:not(:has(.elementor-button-icon svg, .elementor-button-icon i)) .elementor-button-content-wrapper::after {
    content: ""; flex: 0 0 20px; width: 20px; height: 20px;
    background-color: currentColor; mask: url("assets/lucide-arrow.svg") center / contain no-repeat;
  }

  & :is(.ap-home-hero-v3, .ap-home-final-v3) {
    background-image: url("assets/blueprint.svg"); background-position: center; background-size: cover; background-repeat: no-repeat;
    text-align: center;
  }
  & :is(.ap-home-hero-v3, .ap-home-final-v3) :is(.ap-home-t-h1, .ap-home-t-h2, .ap-home-t-p) { text-align: center; }
  & .ap-home-hero-centered.e-con { max-width: 900px; }
  & .ap-home-hero .ap-home-t-h1 { margin-block: 16px; }
  & .ap-home-hero .elementor-heading-title { text-wrap: balance; }
  & .ap-home-hero .elementor-heading-title em { color: var(--ap-home-focus); font-style: normal; }
  & :is(.ap-home-hero-v3, .ap-home-final-v3) .ap-home-lead { max-width: 58ch; margin-inline: auto; text-wrap: pretty; }
  & .ap-home-actions { margin: 32px auto 0; }
  & .ap-home-actions > .ap-home-control { width: auto; align-self: center; }
  & .ap-home-hero-note { margin-top: 24px; }
  & .ap-home-hero-v3 .ap-home-button-secondary .elementor-button:hover { background-color: var(--ap-home-active); }
  & .ap-home-final-inner.e-con { max-width: 820px; }
  & .ap-home-final-v3 .ap-home-lead { margin-top: 16px; }
  & .ap-home-final-v3 .ap-home-button { margin: 32px auto 0; align-self: center; }

  & .ap-home-method-v2 .ap-home-section-intro.e-con { margin-bottom: 24px; max-width: 880px; }
  & .ap-home-tabs.e-con { width: fit-content; margin-bottom: 24px; }
  & .ap-home-tabs .elementor-button { min-height: 44px; width: 100%; white-space: nowrap; }
  & .ap-home-tabs.e-con .ap-home-control.elementor-widget .elementor-button[aria-selected="true"] { color: white; background-color: var(--ap-home-blue); }
  & .ap-home-tabs.e-con .ap-home-control.elementor-widget .elementor-button[aria-selected="false"]:hover { color: var(--ap-home-night); background-color: var(--ap-home-pale); }
  & .ap-home-method-panels.e-con.e-flex { display: grid; }
  & .ap-home-method-panel { grid-area: 1 / 1; animation: ap-home-enter 250ms ease-out; }
  & .ap-home-method-panel[hidden] { display: grid !important; visibility: hidden; animation: none; }
  & .ap-home-method-panels:not(.ap-home-tabs-ready) > .ap-home-comparison-after { visibility: hidden; }
  & .ap-home-method-panel .ap-home-t-h3 .elementor-heading-title { max-width: 26ch; }
  & .ap-home-comparison-points { display: grid; margin-top: 24px; gap: 16px; }
  & .ap-home-comparison-points .ap-home-t-p { margin-top: 4px; }
  & .ap-home-method-visual.e-con.e-flex {
    display: grid; place-items: center; width: min(100%, 460px); aspect-ratio: 1; max-height: 460px;
  }
  & .ap-home-revision-board.e-con { position: relative; width: min(100%, 460px); }
  & .ap-home-revision-chaos { aspect-ratio: 1; }
  & .ap-home-revision-paper.e-con { position: absolute; }
  & .ap-home-revision-archive.e-con { top: 10%; right: 8%; width: 64%; transform: rotate(9deg); }
  & .ap-home-revision-worksheet.e-con { top: 26%; left: 2%; width: 72%; transform: rotate(-7deg); }
  & .ap-home-revision-note.e-con { right: 4%; bottom: 6%; width: 56%; transform: rotate(7deg); }
  & .ap-home-document-lines.e-con {
    width: 100%; height: 64px; background: repeating-linear-gradient(to bottom, var(--ap-home-line) 0 6px, transparent 6px 13px);
  }
  & .ap-home-revision-archive .ap-home-document-lines { height: 110px; }
  & .ap-home-revision-note .ap-home-document-lines { height: 36px; }
  & .ap-home-revision-interface { overflow: hidden; }
  & .ap-home-revision-interface > header > .ap-home-t-span { margin-left: auto; }
  & .ap-home-revision-next.e-con { width: auto; margin: 0 16px 16px; }
  & .ap-home-progress-overview .ap-home-t-progress { margin-top: 8px; }
  & .ap-home-progress-overview .ap-home-t-strong strong { font-weight: inherit; }
  & .ap-home-progress-overview .elementor-progress-bar { border-radius: 8px; transition: none; }

  & .ap-home-icon-tile.e-con.e-flex { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; }
  & .ap-home-t-svg { flex: none; width: fit-content; align-self: flex-start; line-height: 0; }
  & .ap-home-t-svg .elementor-icon { display: block; line-height: 0; }
  & .ap-home-t-svg .elementor-icon svg { display: block; position: static; width: 1em; }
  & .ap-home-t-svg .elementor-icon svg[fill="none"] > * { fill: none; }
  & .ap-home-t-svg :is(i.fa-star, svg.e-fas-star, svg.e-fa-star, svg[data-icon="star"]) { display: none; }
  & .ap-home-t-svg .elementor-icon:not(:has(i:not(.fa-star), svg:not(.e-fas-star, .e-fa-star, [data-icon="star"])))::before {
    display: block; content: ""; width: 1em; height: 1em;
    background: currentColor; mask: var(--ap-home-icon-src) center / contain no-repeat;
  }
  & .ap-home-feature-grid .ap-home-icon-tile.e-con.e-flex { width: 56px; height: 56px; }
  & .ap-home-feature-grid .ap-home-t-h3 { margin-block: 16px 8px; text-wrap: pretty; }
  & .ap-home-feature-grid { grid-auto-rows: 1fr; }
  & .ap-home-step-head { margin-bottom: 16px; }
  & .ap-home-steps-grid { margin-bottom: 16px; }
  & .ap-home-steps-grid .ap-home-t-p { margin-top: 8px; }
  & .ap-home-experience-benefits .ap-home-t-svg,
  & .ap-home-drawing-benefits .ap-home-t-svg,
  & .ap-home-comparison-points .ap-home-t-svg,
  & .ap-home-revision-next > .ap-home-t-svg { margin-top: 3px; }

  & .ap-home-module-summary { margin-top: 16px; }
  & .ap-home-module-summary > .ap-home-t-li.e-con.e-flex { display: grid; grid-template-columns: 24px 36px minmax(0, 1fr); min-height: 56px; align-items: center; }
  & .ap-home-module-summary .ap-home-icon-tile.e-con.e-flex { width: 36px; height: 36px; }
  & .ap-home-module-number { font-variant-numeric: tabular-nums; }
  & .ap-home-program-complement { margin-block: 20px; }
  & .ap-home-drawing-grid { grid-template-areas: "image copy"; }
  & .ap-home-drawing-copy { grid-area: copy; }
  & .ap-home-drawing-copy .ap-home-t-h2 { margin-block: 12px 16px; }
  & .ap-home-drawing-benefits { display: grid; margin-block: 20px; gap: 8px; }
  & .ap-home-drawing-note { padding-left: 12px; border-left: 2px solid var(--ap-home-blue); }
  & .ap-home-drawing-copy .ap-home-button { margin-top: 24px; }
  & .ap-home-drawing-image { grid-area: image; }
  & :is(.ap-home-drawing-image, .ap-home-origin-visual) img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  & .ap-home-revision-paper img { display: block; width: 100%; height: auto; }

  & .ap-home-exam-grid .ap-home-eyebrow { margin-bottom: 16px; }
  & .ap-home-exam-grid :is(.ap-home-t-h2, .ap-home-t-p) + .ap-home-t-p { margin-top: 16px; }
  & .ap-home-exam-grid .ap-home-button { margin-top: 24px; }
  & .ap-home-exam-visual { min-height: 340px; }
  & .ap-home-exam-paper { transform: rotate(-5deg); }
  & .ap-home-mini-tag { width: fit-content; padding: 4px 8px; border-radius: 4px; background: var(--ap-home-pale); }
  & .ap-home-exam-options > .e-con { min-height: 20px; }
  & .ap-home-exam-screen-head > .ap-home-t-span.e-con { width: fit-content; white-space: nowrap; }

  & .ap-home-origin-copy :is(.ap-home-eyebrow, .ap-home-lead, .ap-home-t-h2) { margin-bottom: 16px; }
  & .ap-home-origin-copy .elementor-heading-title { text-wrap: initial; }
  & .ap-home-origin-copy em { display: block; color: var(--ap-home-blue); font-style: normal; }

  & .ap-home-accordion .e-n-accordion { display: block; border: 1px solid var(--ap-home-line); border-radius: 12px; background: white; }
  & .ap-home-accordion details { border: 0; scroll-margin-top: 16px; }
  & .ap-home-accordion details + details { border-top: 1px solid var(--ap-home-line); }
  & .ap-home-accordion details[open] { background: var(--ap-home-soft); }
  & .ap-home-accordion details:first-child { border-radius: 11px 11px 0 0; }
  & .ap-home-accordion details:last-child { border-radius: 0 0 11px 11px; }
  & .ap-home-accordion summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 56px; padding: var(--n-accordion-padding, 16px 24px); color: var(--n-accordion-title-normal-color, var(--ap-home-night));
    cursor: pointer; list-style: none;
    font: 600 16px / 1.45 Inter, system-ui, sans-serif;
  }
  & .ap-home-accordion summary::-webkit-details-marker { display: none; }
  & .ap-home-accordion details[open] summary { color: var(--n-accordion-title-active-color, var(--ap-home-night)); }
  & .ap-home-accordion summary:hover { color: var(--n-accordion-title-hover-color, var(--ap-home-hover)); }
  & .ap-home-accordion .e-n-accordion-item-title-text { font-size: var(--n-accordion-title-font-size, 16px); color: inherit; }
  & .ap-home-accordion summary :is(.e-n-accordion-item-title-icon, .e-n-accordion-item-title-icon svg) {
    width: var(--n-accordion-icon-size, 20px); height: var(--n-accordion-icon-size, 20px);
  }
  & .ap-home-accordion summary svg[fill="none"] > * { fill: none; }
  & .ap-home-accordion summary .e-n-accordion-item-title-icon,
  & .ap-home-accordion summary:not(:has(svg:not(.e-fas-plus, [data-icon="plus"])))::after {
    color: var(--n-accordion-icon-normal-color, var(--ap-home-hover)); flex: 0 0 var(--n-accordion-icon-size, 20px); transition: transform 250ms;
  }
  & .ap-home-accordion summary:not(:has(svg:not(.e-fas-plus, [data-icon="plus"]))) .e-n-accordion-item-title-icon { display: none; }
  & .ap-home-accordion summary:not(:has(svg:not(.e-fas-plus, [data-icon="plus"])))::after {
    content: ""; width: var(--n-accordion-icon-size, 20px); height: var(--n-accordion-icon-size, 20px);
    background: currentColor; mask: url("assets/lucide-plus.svg") center / contain no-repeat;
  }
  & .ap-home-accordion details[open] summary::after,
  & .ap-home-accordion details[open] summary .e-n-accordion-item-title-icon { transform: rotate(45deg); }
  & .ap-home-faq-answer .ap-home-t-p { animation: ap-home-enter 250ms ease-out; }
  & .ap-home-faq-answer a { color: var(--ap-home-blue); text-decoration: underline; text-underline-offset: 3px; }

  /* The floating control stays attached to this template, including in a theme with a global footer. */
  & .ap-home-whatsapp-float.e-con {
    --ap-home-whatsapp-size: 56px;
    position: fixed; z-index: 4; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom));
    width: var(--ap-home-whatsapp-size); height: var(--ap-home-whatsapp-size); pointer-events: none;
  }
  & .ap-home-whatsapp-button { width: 100%; height: 100%; transform: translateY(var(--ap-home-help-offset, 0px)); pointer-events: auto; }
  & .ap-home-whatsapp-button :is(.elementor-widget-container, .elementor-button-wrapper) { width: 100%; height: 100%; }
  & .ap-home-whatsapp-button .elementor-button {
    width: 100%; height: 100%; background-color: #25D366; box-shadow: var(--ap-home-shadow-2);
    transition: scale 200ms; animation: ap-home-help-appear 400ms ease-out;
  }
  & .ap-home-whatsapp-button .elementor-button:hover { scale: 1.05; }
  & .ap-home-whatsapp-button .elementor-button:focus-visible { outline-color: var(--ap-home-blue); box-shadow: 0 0 0 3px white, var(--ap-home-shadow-2); }
  & .ap-home-whatsapp-tip {
    position: absolute; right: calc(100% + 8px); top: 50%; width: max-content; padding: 4px 8px;
    border-radius: 4px; background: var(--ap-home-night); opacity: 0;
    transform: translateY(calc(-50% + var(--ap-home-help-offset, 0px))); transition: opacity 200ms;
  }
  & .ap-home-whatsapp-button:has(.elementor-button:is(:hover, :focus-visible)) + .ap-home-whatsapp-tip { opacity: 1; }
  & :is(.ap-home-whatsapp-button, .ap-home-preview-close) .elementor-button-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  & .ap-home-whatsapp-button .elementor-button-icon { font-size: 28px; }
  & .ap-home-whatsapp-button .elementor-button-icon svg { fill: currentColor; }
  & .ap-home-button-brand .elementor-button:not(:has(.elementor-button-icon svg, .elementor-button-icon i)) .elementor-button-content-wrapper::before {
    content: ""; width: 28px; height: 28px; background: url("assets/brand-whatsapp.svg") center / contain no-repeat;
  }

  /* The script attaches the three editable panels to native dialog elements on the public page. */
  & > .ap-home-preview-source.e-con { display: none; }
  & .ap-home-dialog {
    position: fixed; inset: 0; width: min(520px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto;
    padding: 24px; border: 1px solid var(--ap-home-line); border-radius: 16px; box-shadow: var(--ap-home-shadow-2); color: #334155; background: white;
  }
  & .ap-home-dialog[open] { animation: ap-home-enter 200ms ease-out; }
  & .ap-home-dialog::backdrop { background: rgb(16 43 78 / .56); }
  & .ap-home-dialog-top { margin-bottom: 16px; }
  & .ap-home-dialog-content > .ap-home-node { margin-top: 16px; }
  & .ap-home-dialog-content .ap-home-button { align-self: start; }
  & .ap-home-preview-close .elementor-button { width: 44px; height: 44px; }
  & .ap-home-preview-close .elementor-button-content-wrapper::after { mask-image: url("assets/lucide-x.svg"); }
  & .ap-home-preview-close .elementor-button:not(:has(.elementor-button-icon svg, .elementor-button-icon i)) .elementor-button-content-wrapper::after {
    width: 24px; height: 24px; flex-basis: 24px; mask-image: url("assets/lucide-x.svg");
  }
}

/* The fallback icon gives way to the SVG selected in the corresponding native control. */
:where(.ap-home-root) {
  & .ap-home-svg-book { --ap-home-icon-src: url("assets/lucide-book.svg"); }
  & .ap-home-svg-box { --ap-home-icon-src: url("assets/lucide-box.svg"); }
  & .ap-home-svg-cap { --ap-home-icon-src: url("assets/lucide-cap.svg"); }
  & .ap-home-svg-chart { --ap-home-icon-src: url("assets/lucide-chart.svg"); }
  & .ap-home-svg-circle-check { --ap-home-icon-src: url("assets/lucide-circle-check.svg"); }
  & .ap-home-svg-circle-x { --ap-home-icon-src: url("assets/lucide-circle-x.svg"); }
  & .ap-home-svg-clipboard { --ap-home-icon-src: url("assets/lucide-clipboard.svg"); }
  & .ap-home-svg-clock { --ap-home-icon-src: url("assets/lucide-clock.svg"); }
  & .ap-home-svg-devices { --ap-home-icon-src: url("assets/lucide-devices.svg"); }
  & .ap-home-svg-file { --ap-home-icon-src: url("assets/lucide-file.svg"); }
  & .ap-home-svg-globe { --ap-home-icon-src: url("assets/lucide-globe.svg"); }
  & .ap-home-svg-landmark { --ap-home-icon-src: url("assets/lucide-landmark.svg"); }
  & .ap-home-svg-languages { --ap-home-icon-src: url("assets/lucide-languages.svg"); }
  & .ap-home-svg-library { --ap-home-icon-src: url("assets/lucide-library.svg"); }
  & .ap-home-svg-list { --ap-home-icon-src: url("assets/lucide-list.svg"); }
  & .ap-home-svg-monitor { --ap-home-icon-src: url("assets/lucide-monitor.svg"); }
  & .ap-home-svg-play { --ap-home-icon-src: url("assets/lucide-play.svg"); }
  & .ap-home-svg-ruler { --ap-home-icon-src: url("assets/lucide-ruler.svg"); }
  & .ap-home-svg-target { --ap-home-icon-src: url("assets/lucide-target.svg"); }
  & .ap-home-svg-timer { --ap-home-icon-src: url("assets/lucide-timer.svg"); }
}

.elementor-editor-active .ap-home-root > .ap-home-preview-source { display: flex; }
.elementor-editor-active .ap-home-root .ap-home-method-panels:not(.ap-home-tabs-ready) > .ap-home-comparison-after { visibility: visible; }
.elementor-editor-active .ap-home-root .ap-home-method-panel { grid-area: auto; }

@keyframes ap-home-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ap-home-help-appear { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }

@media (hover: hover) and (pointer: fine) {
  :where(.ap-home-root) .ap-home-feature-grid > .ap-home-t-li:hover {
    border-color: var(--ap-home-focus); box-shadow: var(--ap-home-shadow-1);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :where(.ap-home-root) .ap-home-feature-grid > .ap-home-t-li { transition: transform 250ms, border-color 250ms, box-shadow 250ms; }
  :where(.ap-home-root) .ap-home-feature-grid .ap-home-t-svg { transition: transform 250ms; }
  :where(.ap-home-root) .ap-home-feature-grid > .ap-home-t-li:hover { transform: translateY(-4px); }
  :where(.ap-home-root) .ap-home-feature-grid > .ap-home-t-li:hover .ap-home-t-svg { transform: scale(1.06); }
}

@media (max-width: 1023px) {
  .ap-home-root { --ap-home-gutter: 24px; --ap-home-header: 72px; --ap-home-intro: 32px; }
  :where(.ap-home-root) {
    & .ap-home-method-visual.e-con.e-flex { width: 100%; aspect-ratio: auto; min-height: 360px; }
    & .ap-home-exam-visual { min-height: 300px; }
    & .ap-home-revision-archive.e-con { top: 2%; }
    & .ap-home-revision-note.e-con { bottom: 0; }
  }
}
@media (max-width: 900px) {
  :where(.ap-home-root) .ap-home-drawing-grid.e-con.e-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "image"; }
}
@media (640px <= width <= 767px) {
  :where(.ap-home-root) :is(.ap-home-exam-grid, .ap-home-origin-grid, .ap-home-program-summary-grid).e-con.e-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .ap-home-root { --ap-home-gutter: 20px; --ap-home-header: 64px; --ap-home-intro: 24px; }
  :where(.ap-home-root) {
    & :is(.ap-home-hero-v3, .ap-home-final-v3) { background-size: auto 120%; }
    & .ap-home-actions.e-con { width: min(100%, 352px); margin-top: 24px; }
    & .ap-home-actions > .ap-home-control, & .ap-home-actions .elementor-button { width: 100%; }
    & .ap-home-final-v3 .ap-home-button { width: min(100%, 352px); }
    & .ap-home-final-v3 .elementor-button { width: 100%; }
    & .ap-home-tabs.e-con { width: 100%; }
    & .ap-home-tabs > .ap-home-control { flex: 1; }
    & .ap-home-method-panels { grid-template-rows: auto auto; row-gap: 24px; }
    & .ap-home-method-panel.e-con.e-grid { grid-area: 1 / 1 / span 2; grid-template-rows: subgrid; align-items: start; }
    & .ap-home-method-visual.e-con.e-flex { max-height: none; }
    & .ap-home-revision-interface > header > .ap-home-t-span { margin-left: 0; }
    & .ap-home-revision-next.e-con { margin: 0 12px 12px; }
    & .ap-home-feature-grid { grid-auto-rows: auto; }
    & .ap-home-accordion summary { padding: var(--n-accordion-padding, 16px); }
    & .ap-home-whatsapp-float.e-con {
      --ap-home-whatsapp-size: 52px;
      right: max(16px, calc(env(safe-area-inset-right) + 8px));
      bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
    }
  }
}
@media (max-width: 399px) {
  :where(.ap-home-root) .ap-home-exam-visual.e-con.e-grid { grid-template-columns: minmax(0, 1fr); }
  :where(.ap-home-root) .ap-home-exam-paper { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-home-root *,
  .ap-home-root *::before,
  .ap-home-root *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.ap-home-root) { scroll-behavior: smooth; }
}
