/* Scoped to the modern hero. Each duplicated group forms one seamless loop. */
.etest-modern-page .etest-hero,.etest-hero * {
  box-sizing:border-box;
}
.etest-modern-page .etest-hero {
  --etest-hero-unit:1px;
  background:#fafafa;
  color:#0e0e0e;
  font-family:"ETEST Inter",Inter,sans-serif;
  overflow:hidden;
}
.etest-hero .etest-hero__inner {
  display:grid;
  grid-template-columns:minmax(0,594fr) minmax(0,786fr);
  gap:calc(60 * var(--etest-hero-unit));
  max-width: var(--etest-content-max-width, 1440px);
  margin:0 auto;
  min-height:calc(754 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:calc(24 * var(--etest-hero-unit));
  min-width:0;
  padding:calc(48 * var(--etest-hero-unit)) 0;
}
.etest-hero .etest-hero__message {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:calc(24 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__heading {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  margin:0;
  font-family:inherit;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
  color:#9a1b1d;
}
.etest-hero .etest-hero__brand {
  font-size:calc(120 * var(--etest-hero-unit));
  line-height:calc(145 * var(--etest-hero-unit));
  background:linear-gradient(180deg,#fc2100,#790d0d);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  margin-bottom:calc(-10 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__tagline {
  font-size:calc(40 * var(--etest-hero-unit));
  line-height:calc(48 * var(--etest-hero-unit));
  font-weight:900;
}
.etest-hero .etest-hero__programs {
  font-size:calc(24 * var(--etest-hero-unit));
  line-height:calc(29 * var(--etest-hero-unit));
  font-weight:700;
  margin:0;
  letter-spacing:0;
}
.etest-hero .etest-hero__benefits {
  display:flex;
  flex-direction:column;
  gap:calc(12 * var(--etest-hero-unit));
  list-style:none;
  margin:0;
  padding:0;
}
.etest-hero .etest-hero__benefits li {
  display:flex;
  align-items:center;
  gap:calc(8 * var(--etest-hero-unit));
  margin:0;
  font-size:calc(16 * var(--etest-hero-unit));
  line-height:calc(19 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__benefits svg {
  width:calc(24 * var(--etest-hero-unit));
  height:calc(24 * var(--etest-hero-unit));
  flex:0 0 calc(24 * var(--etest-hero-unit));
  color:#9a1b1d;
}
.etest-hero .etest-hero__actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:calc(24 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__action {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-start;
  min-height:calc(184 * var(--etest-hero-unit));
  padding:calc(16 * var(--etest-hero-unit));
  border-radius:calc(12 * var(--etest-hero-unit));
  background:#9a1b1d;
  color:#fafafa;
  text-decoration:none;
  transition:background .2s;
}
.etest-hero .etest-hero__action:hover {
  background:#7d1517;
}
.etest-hero .etest-hero__action:focus-visible,.etest-hero .etest-hero__pause:focus-visible {
  outline:3px solid #0e0e0e;
  outline-offset:4px;
}
.etest-hero .etest-hero__arrow {
  display:grid;
  place-items:center;
  width:calc(44 * var(--etest-hero-unit));
  height:calc(44 * var(--etest-hero-unit));
  border-radius:50%;
  background:#fff;
  color:#0e0e0e;
}
.etest-hero .etest-hero__arrow svg {
  width:calc(24 * var(--etest-hero-unit));
  height:calc(24 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__action-label {
  font-size:calc(16 * var(--etest-hero-unit));
  line-height:calc(24 * var(--etest-hero-unit));
  font-weight:700;
  max-width:calc(130 * var(--etest-hero-unit));
  position:relative;
  z-index:1;
}
.etest-hero .etest-hero__action-photo {
  position:absolute;
  right:calc(16 * var(--etest-hero-unit));
  top:calc(16 * var(--etest-hero-unit));
  width:calc(120 * var(--etest-hero-unit));
  height:auto;
  aspect-ratio:120 / 118;
  object-fit:cover;
  border-radius:0;
  -webkit-mask-image:url("../images/hero-trial-mask.svg");
  mask-image:url("../images/hero-trial-mask.svg");
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
}
.etest-hero .etest-hero__gallery {
  position:relative;
  overflow:hidden;
  height:calc(754 * var(--etest-hero-unit));
  min-width:0;
}
.etest-hero .etest-hero__columns {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:calc(16 * var(--etest-hero-unit));
  align-items:start;
  height:100%;
}
.etest-hero .etest-hero__columns--2 {
  display:none;
}
.etest-hero .etest-hero__column {
  min-width:0;
}
.etest-hero .etest-hero__column:nth-child(even) {
  margin-top:calc(-146 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__track {
  animation:etest-hero-roll var(--roll-duration,120s) linear infinite;
  will-change:transform;
}
.etest-hero .etest-hero__group {
  display:flex;
  flex-direction:column;
  gap:calc(16 * var(--etest-hero-unit));
  padding-bottom:calc(16 * var(--etest-hero-unit));
}
.etest-hero .etest-hero__student {
  display:block;
  position:relative;
  aspect-ratio:2/3;
  width:100%;
  overflow:hidden;
  border-radius:calc(12 * var(--etest-hero-unit));
  margin:0;
  background:#eee;
}
.etest-hero .etest-hero__student>img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.etest-hero .etest-hero__student figcaption {
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:calc(4 * var(--etest-hero-unit));
  padding:calc(8 * var(--etest-hero-unit)) calc(6 * var(--etest-hero-unit));
  color:#fff;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.9));
  backdrop-filter:blur(2px);
  font-size:calc(14 * var(--etest-hero-unit));
  line-height:calc(17 * var(--etest-hero-unit));
  font-weight:700;
}
.etest-hero .etest-hero__name {
  min-width:0;
  overflow-wrap:anywhere;
}
.etest-hero .etest-hero__badge {
  flex-shrink:0;
  padding:calc(4 * var(--etest-hero-unit)) calc(6 * var(--etest-hero-unit));
  border-radius:calc(100 * var(--etest-hero-unit));
  background:#9a1b1d;
  white-space:nowrap;
}
.etest-hero .etest-hero__pause {
  position:absolute;
  right:8px;
  bottom:8px;
  display:grid;
  place-items:center;
  min-height:0;
  width:30px;
  height:30px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#0e0e0e;
  line-height:1;
  box-shadow:0 1px 4px #0003;
}
.etest-hero .etest-hero__pause[hidden] {
  display:none;
}
.etest-hero .etest-hero__play-symbol {
  display:none;
}
.etest-hero .etest-hero__pause[aria-pressed=true] .etest-hero__play-symbol {
  display:block;
}
.etest-hero .etest-hero__pause[aria-pressed=true] .etest-hero__pause-symbol {
  display:none;
}
.etest-hero.is-paused .etest-hero__track,.etest-hero.is-offscreen .etest-hero__track,.etest-hero__gallery:hover .etest-hero__track {
  animation-play-state:paused;
}
@keyframes etest-hero-roll {
  to {
    transform:translateY(-50%);
  }
}
@media(min-width:1441px) and (max-width:1487px), (min-width:768px) and (max-width:1023px) {
  .etest-hero .etest-hero__inner {
    width:calc(100% - 48px);
    margin-inline:auto;
    gap:32px;
  }
  .etest-hero .etest-hero__brand {
    font-size:clamp(72px,8.1vw,120px);
    line-height:1.21;
  }
  .etest-hero .etest-hero__tagline {
    font-size:clamp(30px,2.7vw,40px);
    line-height:1.2;
  }
  .etest-hero .etest-hero__programs {
    font-size:clamp(17px,1.6vw,24px);
    line-height:1.3;
  }
  .etest-hero .etest-hero__action-photo {
    width:100px;
  }
  .etest-hero .etest-hero__student figcaption {
    font-size:11px;
    line-height:15px;
    padding:6px 4px;
  }
  .etest-hero .etest-hero__badge {
    padding:4px;
  }
}
@media(min-width:768px) and (max-width:1023px) {
  .etest-hero .etest-hero__inner {
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .etest-hero .etest-hero__columns--4 {
    display:none;
  }
  .etest-hero .etest-hero__columns--2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .etest-hero .etest-hero__student figcaption {
    font-size:14px;
    line-height:17px;
    padding:8px 6px;
  }
  .etest-hero .etest-hero__badge { padding:4px 6px; }
  .etest-hero .etest-hero__action-photo {
    width:80px;
    right:12px;
    top:12px;
  }
  .etest-hero .etest-hero__actions {
    gap:12px;
  }
  .etest-hero .etest-hero__action {
    padding:12px;
  }
  .etest-hero .etest-hero__action-label {
    font-size:14px;
    line-height:20px;
    max-width:110px;
  }
  .etest-hero .etest-hero__benefits li {
    font-size:15px;
    line-height:20px;
  }
}
/* Scale the desktop composition with the shared 1080px laptop container. */
@media(min-width:1024px) and (max-width:1440px) {
  .etest-modern-page .etest-hero {
    --etest-hero-unit:min(.75px, calc((100vw - 48px) / 1440));
  }
  .etest-hero .etest-hero__inner {
    width:calc(100% - 48px);
  }
}
@media(max-width:767px) {
  .etest-hero .etest-hero__inner {
    display:flex;
    flex-direction:column;
    gap:0;
    min-height:0;
  }
  .etest-hero .etest-hero__copy {
    width:calc(100% - 32px);
    max-width:500px;
    margin:0 auto;
    padding:24px 0;
    gap:24px;
  }
  .etest-hero .etest-hero__message {
    gap:8px;
  }
  .etest-hero .etest-hero__brand {
    font-size:60px;
    line-height:73px;
  }
  .etest-hero .etest-hero__tagline {
    font-size:28px;
    line-height:34px;
  }
  .etest-hero .etest-hero__programs {
    font-size:16px;
    line-height:19px;
    letter-spacing:0;
  }
  .etest-hero .etest-hero__benefits {
    gap:8px;
  }
  .etest-hero .etest-hero__benefits li {
    font-size:15px;
    line-height:18px;
    gap:4px;
    min-height:20px;
  }
  .etest-hero .etest-hero__benefits svg {
    width:20px;
    height:20px;
    flex-basis:20px;
  }
  .etest-hero .etest-hero__actions {
    gap:8px;
  }
  .etest-hero .etest-hero__action {
    min-height:121px;
    padding:8px;
    border-radius:8px;
  }
  .etest-hero .etest-hero__arrow {
    width:40px;
    height:40px;
  }
  .etest-hero .etest-hero__arrow svg {
    width:20px;
    height:20px;
  }
  .etest-hero .etest-hero__action-label {
    font-size:12px;
    line-height:15px;
    max-width:94px;
  }
  .etest-hero .etest-hero__action-photo {
    width:72px;
    right:8px;
    top:8px;
  }
  .etest-hero .etest-hero__gallery {
    height:390px;
    width:calc(100% - 32px);
    max-width:500px;
    margin:0 auto;
  }
  .etest-hero .etest-hero__columns--4 {
    display:none;
  }
  .etest-hero .etest-hero__columns--2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .etest-hero .etest-hero__column:nth-child(even) {
    margin-top:-135px;
  }
  .etest-hero .etest-hero__group {
    gap:8px;
    padding-bottom:8px;
  }
  .etest-hero .etest-hero__student figcaption {
    padding:8px 4px;
  }
}
@media(max-width:370px) {
  .etest-hero .etest-hero__programs {
    font-size:14px;
  }
  .etest-hero .etest-hero__benefits li {
    font-size:13px;
  }
  .etest-hero .etest-hero__action-photo {
    width:58px;
  }
  .etest-hero .etest-hero__action-label {
    font-size:11px;
    max-width:88px;
  }
  .etest-hero .etest-hero__student figcaption {
    font-size:11px;
  }
  .etest-hero .etest-hero__badge {
    padding:4px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .etest-hero .etest-hero__track {
    animation:none;
    will-change:auto;
  }
  .etest-hero .etest-hero__action {
    transition:none;
  }
}
