@import url("https://fonts.googleapis.com/css2?family=Gveret+Levin:wght@400&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* ===================================================================
   Unit 1 — Page 3: שלבי הכניסה להוראה
   Self-contained. Note flip animation kept from the legacy interaction.
   =================================================================== */

:root {
  --white: #ffffff;
  --teal: #49bbbd;
  --navy: #1f3d64;
  --ink: #1a202c;
  --rose: #c37f80;
  --pink-soft: #ebc0db;
  --sky: #b9e4ed;
  --ice: #ccebec;
  --pipe: #c9898a;
  --green: #a9d48f;
  --nav-rule: #e3cbcb;
  --footer-rule: #feece9;
  --muted: #5b5b5b;
  --shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
  --font: "Rubik", sans-serif;
  --font-email: "Plus Jakarta Sans", "Rubik", sans-serif;
  --content: 75rem;
  --text-h1: clamp(2rem, 1.15rem + 2.6vw, 2.625rem);
  --text-h2: clamp(1.5rem, 1.05rem + 1.6vw, 1.875rem);
  --text-h3: clamp(1.25rem, 1.05rem + 0.55vw, 1.3125rem);
  --text-h4: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --text-lead: 1rem;
  --text-body: 1rem;
  --lh-heading: 1.2;
  --lh-body: 1.7;
  --prose-measure: 47em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--navy);
  background: var(--white);
  position: relative;
  overflow-x: hidden;
}

.font-handwriting {
  font-family: "Gveret Levin", cursive, sans-serif !important;
  font-size: 1.25rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  cursor: pointer;
  transition: all 0.3s ease;
}

button {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--text-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 600;
}

p {
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image: url("../assets/home/homeBG.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-attachment: scroll;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  background: var(--white);
  border-bottom: 0.625rem solid var(--nav-rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 10.25rem;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
}

.main-nav a {
  width: fit-content;
  max-width: 100%;
  font-weight: 700;
  font-size: var(--text-body);
  padding: 0.75rem 0;
  white-space: nowrap;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

.active-nav-link {
  position: relative;
  color: #c37f80 !important;
  font-weight: 800;
}

.main-nav a.active-nav-link:hover,
.main-nav a.active-nav-link:focus-visible,
.footer-nav a.active-nav-link:hover,
.footer-nav a.active-nav-link:focus-visible {
  text-decoration: none;
}

.main-nav .active-nav-link::after,
.footer-nav .active-nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0.4rem;
  height: 0.125rem;
  background: #c37f80;
  border-radius: 999px;
}

.footer-nav .active-nav-link::after {
  bottom: -0.2rem;
}

.nav-toggle,
.nav-toggle-btn {
  display: none;
}

.site-footer {
  background: var(--white);
  border-top: 0.625rem solid var(--footer-rule);
  padding: 3rem 3rem 1.25rem;
}

.footer-grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) auto minmax(14rem, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand img {
  width: 12.5rem;
  object-fit: contain;
}

.footer-tagline {
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.02em;
  color: var(--teal);
}

.footer-support {
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.02em;
  max-width: 25rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-email);
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.02em;
  direction: ltr;
  color: var(--navy);
  cursor: pointer;
}

.footer-email svg,
.footer-email img,
.footer-email-icon {
  width: 1.25rem;
  height: auto;
  flex-shrink: 0;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--teal);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
  padding-top: 0.5rem;
}

.footer-nav a {
  width: fit-content;
  max-width: 100%;
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.02em;
  color: var(--teal);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

.footer-partners {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-partners img {
  width: auto;
  height: 4.75rem;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-partners img.logo-mofet {
  height: 5rem;
}

.footer-partners img.logo-hinuch {
  height: 6rem;
}

.footer-partners img.logo-leon {
  height: 6.5rem;
}

.ata-sequential-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 3rem;
}

.ata-nav-prev,
.ata-nav-next {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.ata-nav-prev:hover,
.ata-nav-prev:focus-visible,
.ata-nav-next:hover,
.ata-nav-next:focus-visible {
  opacity: 0.75;
}

.ata-nav-prev-text,
.ata-nav-next-text {
  color: var(--navy);
}

.ata-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
}

.ata-nav-prev:hover .ata-nav-arrow,
.ata-nav-prev:focus-visible .ata-nav-arrow {
  transform: translateX(0.2rem);
}

.ata-nav-next:hover .ata-nav-arrow,
.ata-nav-next:focus-visible .ata-nav-arrow {
  transform: translateX(-0.2rem);
}

.ata-unit-page {
  max-width: var(--content);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
  overflow-x: hidden;
}

.ata-unit-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 2rem;
  padding: 0;
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: right;
}

.ata-unit-title-index,
.ata-unit-title-name {
  color: var(--teal);
}

.ata-unit-title-divider {
  color: var(--rose);
  padding: 0 0.3em;
}

/* Entry process */
#athalta-entry-process {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  color: var(--navy);
  container-type: inline-size;
  container-name: aep;
}

#athalta-entry-process .aep-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.aep-intro {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 0;
}

.aep-title {
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0;
  color: var(--teal);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: right;
}

.aep-intro-text {
  width: 100%;
  max-width: var(--prose-measure);
  text-wrap: pretty;
  margin: 0;
  color: var(--navy);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.02em;
  text-align: right;
}

.aep-intro-emphasis {
  color: var(--navy);
  font-weight: 700;
  white-space: normal;
}

.aep-instruction {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  margin: 1.25rem 0 0.125rem auto;
  color: var(--teal);
  font-size: var(--text-lead);
  font-weight: 700;
  line-height: 1.5;
}

.aep-click-icon {
  display: block;
  width: 3.125rem;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.aep-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 59rem;
  margin-top: 0.25rem;
  overflow: visible;
}

.aep-note-wrap {
  position: absolute;
  z-index: 10;
  width: min(32rem, 44%);
  max-width: 44%;
  container-type: inline-size;
  container-name: aep-note;
}

.aep-note-wrap-1 {
  top: 0;
  right: 0;
}

.aep-note-wrap-2 {
  top: 16.5rem;
  left: 0;
  right: auto;
}

.aep-note-wrap-3 {
  top: 34rem;
  right: 0;
}

@media (min-width: 769px) {
  .aep-note-wrap-3 {
    margin-top: 8rem;
  }
}

.aep-note {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
}

.aep-note-wrap-2 .aep-note,
.aep-note-wrap-3 .aep-note {
  aspect-ratio: 7 / 5;
}

.aep-note-animation {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.18s ease-in;
}

.aep-note.aep-turning .aep-note-animation {
  transform: scaleX(0.025);
}

.aep-note-image {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.aep-note-image-closed {
  opacity: 1;
  visibility: visible;
}

.aep-note-image-open {
  opacity: 0;
  visibility: hidden;
}

.aep-note.aep-open .aep-note-image-closed {
  opacity: 0;
  visibility: hidden;
}

.aep-note.aep-open .aep-note-image-open {
  opacity: 1;
  visibility: visible;
}

.aep-note-closed-copy,
.aep-note-open-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.aep-note-open-copy {
  display: none;
}

.aep-note.aep-open .aep-note-closed-copy {
  display: none;
}

.aep-note.aep-open .aep-note-open-copy {
  display: block;
}

.aep-note-year.font-handwriting {
  position: absolute;
  top: 9.5%;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) rotate(-3deg);
  transform-origin: center center;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
}

.aep-note-open-copy .aep-note-year.font-handwriting {
  top: 9%;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
}

.aep-note-content-overlay {
  position: absolute;
  top: 29.6%;
  right: 14.5%;
  left: auto;
  width: 68%;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.22rem 0.2rem 0 0;
  transform: rotate(-2.8deg) translateY(0.06rem);
  transform-origin: 85% 0;
  color: var(--navy);
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
}

.aep-note-open-copy .aep-note-content-overlay {
  top: 22.4%;
  left: 17%;
  right: auto;
  width: 66%;
  padding: 0.08rem 0.3rem 0 0.05rem;
  transform: rotate(4.6deg) translateY(0.18rem);
  transform-origin: 20% 0;
}

.aep-note-wrap-1 .aep-note-closed-copy .aep-note-content-overlay {
  top: 28.4%;
  right: 15%;
  left: 17%;
  width: auto;
  transform: rotate(-4deg) translateY(0.05rem);
  transform-origin: 85% 0;
}

.aep-note-heading.font-handwriting {
  display: block;
  margin: 0 0 1.5rem;
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: 1.5rem;
}

.aep-note-closed-copy .aep-note-heading.font-handwriting {
  margin-bottom: 1.5rem;
  line-height: 1.5rem;
}

.aep-note-sub.font-handwriting {
  display: block;
  font-family: "Rubik", sans-serif !important;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5rem;
}

.aep-note-closed-copy .aep-note-sub.font-handwriting {
  line-height: 1.5rem;
}

.aep-note-body.font-handwriting {
  display: block;
  font-family: "Rubik", sans-serif !important;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5rem;
}

.aep-note:focus-visible {
  border-radius: 0.875rem;
}

.aep-note:hover .aep-note-animation {
  filter: drop-shadow(0 0.3125rem 0.3125rem rgba(31, 61, 100, 0.1));
}

.aep-arrow {
  position: absolute;
  z-index: 20;
  display: block;
  width: 18%;
  max-width: 12rem;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.aep-arrow-1 {
  top: 6.75rem;
  left: 41%;
  width: 11%;
  transform: scaleX(-1);
}

.aep-arrow-2 {
  top: 33.25rem;
  right: 42%;
  width: 12%;
}

.aep-note-wrap,
.aep-arrow {
  opacity: 0;
  visibility: hidden;
  translate: 0 1.35rem;
  transition:
    opacity 0.65s ease-out,
    translate 0.65s ease-out,
    visibility 0s linear 0.65s;
}

.aep-note-wrap.is-in,
.aep-arrow.is-in {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition:
    opacity 0.65s ease-out,
    translate 0.65s ease-out,
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .aep-note-animation {
    transition: none;
  }

  .aep-note:hover .aep-note-animation {
    filter: none;
  }

  .aep-note-wrap,
  .aep-arrow {
    opacity: 1;
    visibility: visible;
    translate: none;
    transition: none;
  }
}

@media (max-width: 1150px) and (min-width: 661px) {
  .aep-stage {
    height: 52.5rem;
  }

  .aep-note-wrap {
    width: min(26rem, 46%);
    max-width: 46%;
  }

  .aep-note-wrap-2 {
    top: 14.5rem;
    left: 0;
    right: auto;
  }

  .aep-note-wrap-3 {
    top: 30.5rem;
    right: 0;
  }

  .aep-arrow-1 {
    top: 5.75rem;
    left: 42%;
  }

  .aep-arrow-2 {
    top: 29.5rem;
    right: 42%;
  }

  .aep-note-year.font-handwriting {
    font-size: 1.2rem;
  }

  .aep-note-heading.font-handwriting {
    font-size: 1.35rem;
    line-height: 1.15rem;
    margin-bottom: 1.15rem;
  }

  .aep-note-closed-copy .aep-note-heading.font-handwriting {
    margin-bottom: 1.15rem;
    line-height: 1.15rem;
  }

  .aep-note-sub.font-handwriting,
  .aep-note-body.font-handwriting {
    font-size: 0.85rem;
    line-height: 1.15rem;
  }

  .aep-note-closed-copy .aep-note-sub.font-handwriting {
    line-height: 1.15rem;
  }
}

@media (min-width: 1151px) {
  .aep-stage {
    height: 66.5rem;
  }
}

@media (min-width: 769px) {
  .aep-note-wrap-1 .aep-note-sub.font-handwriting,
  .aep-note-wrap-1 .aep-note-body.font-handwriting {
    margin-top: 1.15rem;
  }
}

@media (max-width: 1150px) and (min-width: 769px) {
  .aep-stage {
    height: 60rem;
  }
}

@container aep-note (max-width: 28rem) {
  .aep-note-year.font-handwriting {
    font-size: 1.2rem;
  }

  .aep-note-heading.font-handwriting {
    font-size: 1.35rem;
    line-height: 1.15rem;
    margin-bottom: 1.15rem;
  }

  .aep-note-closed-copy .aep-note-heading.font-handwriting {
    margin-bottom: 1.15rem;
    line-height: 1.15rem;
  }

  .aep-note-sub.font-handwriting,
  .aep-note-body.font-handwriting {
    font-size: 0.85rem;
    line-height: 1.15rem;
  }

  .aep-note-closed-copy .aep-note-sub.font-handwriting {
    line-height: 1.15rem;
  }
}

@container aep-note (max-width: 22rem) {
  .aep-note-year.font-handwriting {
    font-size: 1.05rem;
  }

  .aep-note-heading.font-handwriting {
    font-size: 1.15rem;
    line-height: 1rem;
    margin-bottom: 1rem;
  }

  .aep-note-closed-copy .aep-note-heading.font-handwriting {
    margin-bottom: 1rem;
    line-height: 1rem;
  }

  .aep-note-sub.font-handwriting,
  .aep-note-body.font-handwriting {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .aep-note-closed-copy .aep-note-sub.font-handwriting {
    line-height: 1rem;
  }
}

@media (max-width: 660px) {
  #athalta-entry-process {
    overflow: visible;
  }

  .aep-title {
    white-space: normal;
  }

  .aep-intro-text {
    font-size: var(--text-body);
    line-height: var(--lh-body);
  }

  .aep-instruction {
    font-size: 1.125rem;
    margin-top: 0.9375rem;
  }

  .aep-click-icon {
    width: 2.5rem;
  }

  .aep-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0.625rem 0 2.1875rem;
    overflow: visible;
    left: auto;
    transform: none;
    margin-bottom: 0;
  }

  .aep-note-wrap {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
  }

  .aep-note {
    width: 100%;
  }

  .aep-note-heading.font-handwriting {
    font-size: 1.35rem;
    line-height: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .aep-note-closed-copy .aep-note-heading.font-handwriting {
    margin-bottom: 1.2rem;
    line-height: 1.2rem;
  }

  .aep-note-year.font-handwriting {
    font-size: 1.2rem;
  }

  .aep-note-sub.font-handwriting,
  .aep-note-body.font-handwriting {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .aep-note-closed-copy .aep-note-sub.font-handwriting {
    line-height: 1.2rem;
  }

  .aep-arrow {
    display: none;
  }
}

@media (max-width: 64rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-partners {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 51.25rem) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.75rem;
    margin-inline-start: auto;
  }

  .nav-toggle-btn span {
    display: block;
    width: 1.375rem;
    height: 0.2rem;
    background: var(--teal);
    border-radius: 2px;
  }

  .main-nav {
    display: none;
    width: 100%;
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 47.9375rem) {
  :root {
    --text-h1: 2rem;
    --text-h2: 1.5rem;
    --text-h3: 1.25rem;
    --text-lead: 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.75rem;
  }

  .logo img {
    width: 8.25rem;
  }

  .nav-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.75rem;
    margin-inline-start: auto;
  }

  .nav-toggle-btn span {
    display: block;
    width: 1.375rem;
    height: 0.2rem;
    background: var(--teal);
    border-radius: 2px;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    order: 4;
  }

  .site-footer {
    padding: 2rem 1.25rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
    padding-top: 0;
    text-align: right;
  }

  .footer-nav a,
  .footer-nav .about-nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.35rem 0;
    line-height: 1.45;
    box-sizing: border-box;
  }

  .footer-brand img {
    width: 10.25rem;
  }

  .footer-partners {
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .footer-partners img {
    height: 3.5rem;
  }

  .footer-partners img.logo-mofet {
    height: 3.75rem;
  }

  .footer-partners img.logo-hinuch {
    height: 4.5rem;
  }

  .footer-partners img.logo-leon {
    height: 5rem;
  }

  .ata-unit-page {
    padding: 2rem 1.25rem 4.5rem;
  }

  .ata-sequential-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Keyboard focus: one turquoise ring on every interactive control. */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid #49BBBD;
  outline-offset: 2px;
}

@media (max-width: 47.9375rem) {
  .ata-nav-prev-text,
  .ata-nav-next-text {
    font-size: 0;
    line-height: 1;
  }

  .ata-nav-prev-text::after,
  .ata-nav-next-text::after {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
    white-space: nowrap;
  }

  .ata-nav-prev-text::after {
    content: "אחורה";
  }

  .ata-nav-next-text::after {
    content: "קדימה";
  }
}

html,
body {
  background-color: #ffffff;
  background-image: none;
}

.page-bg {
  display: none;
  background-image: none;
}

.u1p3-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
  background-color: #ffffff;
  background-image: none;
}

.u1p3-pipes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.u1p3-pipe {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

.u1p3-pipe-side {
  top: 5.5rem;
  left: -0.75rem;
  width: 15.5rem;
}

.u1p3-pipe-bottom {
  left: 18rem;
  bottom: 0.5rem;
  width: 32rem;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  background-image: none;
}

.ata-unit-title,
.ata-sequential-nav,
.ata-nav-prev,
.ata-nav-next {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .u1p3-pipe-side {
    top: 4rem;
    left: -6.5rem;
    width: 8rem;
  }

  .u1p3-pipe-bottom {
    left: 4rem;
    bottom: 0.25rem;
    width: 14rem;
  }
}
