.etest-modern-page .etest-students,
.etest-modern-page .etest-students * { box-sizing: border-box; }
.etest-modern-page .etest-students { --etest-student-unit: 1px; padding-block-start: calc(80 * var(--etest-student-unit)); background: #fff; color: #0e0e0e; font: 400 16px/1.5 "ETEST Inter", sans-serif; text-align: left; scroll-margin-top: 100px; }
.etest-students .etest-students__container { display: flex; flex-direction: column; gap: calc(40 * var(--etest-student-unit)); width: calc(100% - 48px); max-width: var(--etest-content-max-width, 1440px); margin-inline: auto; }
.etest-students .etest-students__heading { margin: 0; padding: 0; color: #0e0e0e; font: 700 calc(42 * var(--etest-student-unit))/calc(51 * var(--etest-student-unit)) "ETEST Inter", sans-serif; text-align: center; text-transform: none; }
.etest-students .etest-students__layout { display: grid; grid-template-columns: minmax(0, 464fr) minmax(0, 952fr); align-items: start; gap: calc(24 * var(--etest-student-unit)); }
.etest-students .etest-students__featured { min-width: 0; height: calc(916 * var(--etest-student-unit)); scroll-margin-top: 100px; }
.etest-students .etest-students__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(24 * var(--etest-student-unit)); min-width: 0; }
.etest-students .etest-students__item { display: block; width: 100%; height: 100%; min-height: calc(446 * var(--etest-student-unit)); min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1.5px solid #fff; border-radius: calc(20 * var(--etest-student-unit)); background: #fff; color: #0e0e0e; box-shadow: 0 3px 8px #0000001a; font: inherit; letter-spacing: normal; text-align: left; text-transform: none; cursor: pointer; }
.etest-students .etest-students__item:hover { border-color: #d6d6d6; background: #fff; }
.etest-students .etest-students__item[aria-pressed="true"] { border-color: #9a1b1d; box-shadow: none; }
.etest-students .etest-students__item:focus-visible { outline: 2px solid #9a1b1d; outline-offset: 3px; }
.etest-students .etest-student-card { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; background: #fff; font: inherit; }
.etest-students .etest-student-card__portrait { display: block; flex: none; position: relative; width: 100%; aspect-ratio: 1; padding: calc(2 * var(--etest-student-unit)); }
.etest-students .etest-student-card__photo { position: absolute; inset: calc(2 * var(--etest-student-unit)); display: block; width: calc(100% - 4 * var(--etest-student-unit)); height: calc(100% - 4 * var(--etest-student-unit)); object-fit: cover; object-position: center; border-radius: calc(20 * var(--etest-student-unit)); }
.etest-students .etest-student-card__logo { position: absolute; top: 0; right: 0; display: flex; justify-content: center; align-items: flex-start; width: calc(64 * var(--etest-student-unit)); height: calc(80 * var(--etest-student-unit)); padding: calc(8 * var(--etest-student-unit)) calc(4 * var(--etest-student-unit)) calc(16 * var(--etest-student-unit)); background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); }
.etest-students .etest-student-card__logo img { display: block; width: calc(56 * var(--etest-student-unit)); height: calc(56 * var(--etest-student-unit)); margin: 0; object-fit: contain; }
.etest-students .etest-student-card__copy { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; gap: calc(8 * var(--etest-student-unit)); padding: calc(16 * var(--etest-student-unit)); }
.etest-students .etest-student-card__identity { display: flex; flex-direction: column; min-width: 0; gap: calc(4 * var(--etest-student-unit)); }
.etest-students .etest-student-card__name { display: block; color: #0e0e0e; font-size: calc(18 * var(--etest-student-unit)); font-weight: 600; line-height: calc(22 * var(--etest-student-unit)); overflow-wrap: anywhere; }
.etest-students .etest-student-card__school { display: block; min-width: 0; overflow: hidden; color: #68686d; font-size: calc(16 * var(--etest-student-unit)); font-weight: 400; line-height: calc(19 * var(--etest-student-unit)); white-space: nowrap; text-overflow: ellipsis; }
.etest-students .etest-student-card__metrics { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: calc(8 * var(--etest-student-unit)) calc(12 * var(--etest-student-unit)); min-width: 0; }
.etest-students .etest-student-card__metrics:has(> :nth-child(3)) { justify-content: space-between; }
.etest-students .etest-student-card__score { display: flex; flex-direction: column; flex: none; align-items: center; justify-content: center; }
.etest-students .etest-student-card__value,
.etest-students .etest-student-card__exam,
.etest-students .etest-student-card__award-value { color: #9a1b1d; background: linear-gradient(180deg, #fc2100, #790d0d); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.etest-students .etest-student-card__value { font-size: calc(28 * var(--etest-student-unit)); font-weight: 800; line-height: calc(34 * var(--etest-student-unit)); }
.etest-students .etest-student-card__exam { font-size: calc(18 * var(--etest-student-unit)); font-weight: 700; line-height: calc(22 * var(--etest-student-unit)); text-transform: uppercase; }
.etest-students .etest-student-card__scholarship { display: flex; flex: none; align-items: center; justify-content: center; gap: calc(2 * var(--etest-student-unit)); min-width: 0; }
.etest-students .etest-student-card__scholarship::before,
.etest-students .etest-student-card__scholarship::after { content: ""; display: block; flex: none; width: calc(14 * var(--etest-student-unit)); height: calc(60 * var(--etest-student-unit)); background: url('../images/scholarship-leaf.svg') center / 100% 100% no-repeat; }
.etest-students .etest-student-card__scholarship::after { transform: scaleX(-1); }
.etest-students .etest-student-card__award { display: flex; flex-direction: column; min-width: 0; align-items: center; text-align: center; }
.etest-students .etest-student-card__award-label { color: #9a1b1d; font-size: calc(14 * var(--etest-student-unit)); font-weight: 400; line-height: calc(17 * var(--etest-student-unit)); white-space: nowrap; }
.etest-students .etest-student-card__award-value { max-width: calc(100 * var(--etest-student-unit)); font-size: calc(24 * var(--etest-student-unit)); font-weight: 800; line-height: calc(29 * var(--etest-student-unit)); }
.etest-students .etest-student-card__award-unit { display: block; }
.etest-students .etest-student-card__scholarship--money .etest-student-card__award-value { font-size: calc(16 * var(--etest-student-unit)); line-height: calc(19 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured { overflow: hidden; border-radius: calc(20 * var(--etest-student-unit)); box-shadow: 0 4px 12px #0000001a; }
.etest-students .etest-student-card--featured .etest-student-card__portrait { padding: calc(12 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__photo { inset: calc(12 * var(--etest-student-unit)); width: calc(100% - 24 * var(--etest-student-unit)); height: calc(100% - 24 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__copy { gap: calc(20 * var(--etest-student-unit)); padding: calc(24 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__identity { gap: calc(8 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__name { font-size: calc(24 * var(--etest-student-unit)); line-height: calc(29 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__school { font-size: calc(18 * var(--etest-student-unit)); line-height: calc(22 * var(--etest-student-unit)); white-space: normal; }
.etest-students .etest-student-card--featured .etest-student-card__logo { width: calc(96 * var(--etest-student-unit)); height: calc(120 * var(--etest-student-unit)); padding: calc(12 * var(--etest-student-unit)) calc(8 * var(--etest-student-unit)) calc(28 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__logo img { width: calc(80 * var(--etest-student-unit)); height: calc(80 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__metrics { gap: calc(12 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__value { font-size: clamp(32px, 3vw, 48px); line-height: 1.2; }
.etest-students .etest-student-card--featured .etest-student-card__exam { font-size: calc(24 * var(--etest-student-unit)); line-height: calc(29 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__scholarship::before,
.etest-students .etest-student-card--featured .etest-student-card__scholarship::after { width: calc(24 * var(--etest-student-unit)); height: calc(87 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__award-label { font-size: calc(16 * var(--etest-student-unit)); line-height: calc(19 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__award-value { max-width: calc(140 * var(--etest-student-unit)); font-size: calc(40 * var(--etest-student-unit)); line-height: calc(48 * var(--etest-student-unit)); }
.etest-students .etest-student-card--featured .etest-student-card__scholarship--money .etest-student-card__award-value { font-size: calc(28 * var(--etest-student-unit)); line-height: calc(34 * var(--etest-student-unit)); }
.etest-students .etest-student-card__schools { display: block; flex: 1; min-height: 0; overflow-y: auto; color: #0e0e0e; font-size: calc(16 * var(--etest-student-unit)); font-weight: 400; line-height: 1.8; overscroll-behavior: contain; }
.etest-students .etest-student-card__schools:focus-visible { outline: 2px solid #9a1b1d; outline-offset: -2px; }
.etest-students .etest-student-card__school-item { display: block; position: relative; padding-left: calc(16 * var(--etest-student-unit)); }
.etest-students .etest-student-card__school-item::before { content: "•"; position: absolute; left: 3px; }
.etest-students .etest-students__link { display: inline-flex; align-items: center; justify-content: center; align-self: center; gap: calc(4 * var(--etest-student-unit)); min-height: calc(48 * var(--etest-student-unit)); padding: calc(11 * var(--etest-student-unit)) calc(24 * var(--etest-student-unit)); border: calc(1 * var(--etest-student-unit)) solid #d6d6d6; border-radius: 100px; color: #0e0e0e; font-size: calc(16 * var(--etest-student-unit)); font-weight: 600; line-height: calc(24 * var(--etest-student-unit)); text-decoration: none; }
.etest-students .etest-students__link svg { width: calc(24 * var(--etest-student-unit)); height: calc(24 * var(--etest-student-unit)); }
.etest-students .etest-students__link:hover { background: #fafafa; border-color: #9a1b1d; }
/* Preserve the 1440px design proportions inside the laptop's 1080px container.
   Below 1128px, the available width also accounts for the 24px page gutters. */
@media (min-width: 1024px) and (max-width: 1440px) {
  .etest-modern-page .etest-students { --etest-student-unit: min(.75px, calc((100vw - 48px) / 1440)); }
  .etest-students .etest-student-card--featured .etest-student-card__value { font-size: calc(48 * var(--etest-student-unit)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .etest-students .etest-students__layout { grid-template-columns: minmax(0, 280fr) minmax(0, 416fr); }
  .etest-students .etest-students__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etest-students .etest-students__item { min-height: 360px; }
  .etest-students .etest-student-card--featured .etest-student-card__copy { padding: 16px; }
}
@media (max-width: 767px) {
  .etest-modern-page .etest-students { padding-block-start: 48px; }
  .etest-students .etest-students__container { width: calc(100% - 32px); gap: 16px; }
  .etest-students .etest-students__heading { align-self: center; max-width: 269px; font-size: 28px; line-height: 1.2; }
  .etest-students .etest-students__layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .etest-students .etest-students__featured { height: 708px; }
  .etest-students .etest-students__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .etest-students .etest-students__item { min-height: 112px; border-width: 1px; border-radius: 12px; }
  .etest-students .etest-students__item .etest-student-card { flex-direction: row; align-items: center; }
  .etest-students .etest-students__item .etest-student-card__portrait { width: 110px; padding: 1px; }
  .etest-students .etest-students__item .etest-student-card__photo { inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); border-radius: 10px; }
  .etest-students .etest-students__item .etest-student-card__copy { padding: 6px 12px; gap: 8px; }
  .etest-students .etest-students__item .etest-student-card__name { font-size: 14px; line-height: 17px; }
  .etest-students .etest-students__item .etest-student-card__school { font-size: 14px; line-height: 17px; }
  .etest-students .etest-students__item .etest-student-card__metrics { gap: 6px 16px; }
  .etest-students .etest-students__item .etest-student-card__value { font-size: 16px; line-height: 19px; }
  .etest-students .etest-students__item .etest-student-card__exam { font-size: 14px; line-height: 17px; }
  .etest-students .etest-students__item .etest-student-card__award-label { font-size: 10px; line-height: 12px; }
  .etest-students .etest-students__item .etest-student-card__award-value { max-width: 72px; font-size: 20px; line-height: 24px; }
  .etest-students .etest-students__item .etest-student-card__scholarship--money .etest-student-card__award-value { font-size: 14px; line-height: 17px; }
  .etest-students .etest-students__item .etest-student-card__scholarship::before,
  .etest-students .etest-students__item .etest-student-card__scholarship::after { width: 9px; height: 36px; }
  .etest-students .etest-students__item .etest-student-card__logo { width: 35px; height: 44px; padding: 6px 3px 10px; }
  .etest-students .etest-students__item .etest-student-card__logo img { width: 28px; height: 28px; }
  .etest-students .etest-student-card--featured { border-radius: 16px; }
  .etest-students .etest-student-card--featured .etest-student-card__photo { border-radius: 14px; }
  .etest-students .etest-student-card--featured .etest-student-card__copy { padding: 12px; gap: 12px; }
  .etest-students .etest-student-card--featured .etest-student-card__identity { gap: 4px; }
  .etest-students .etest-student-card--featured .etest-student-card__name { font-size: 20px; line-height: 24px; }
  .etest-students .etest-student-card--featured .etest-student-card__school { font-size: 15px; line-height: 18px; }
  .etest-students .etest-student-card--featured .etest-student-card__metrics { gap: 8px clamp(6px, 3vw, 12px); }
  .etest-students .etest-student-card--featured .etest-student-card__value { font-size: clamp(28px, 9vw, 36px); line-height: 44px; }
  .etest-students .etest-student-card--featured .etest-student-card__exam { font-size: clamp(16px, 5vw, 20px); line-height: 24px; }
  .etest-students .etest-student-card--featured .etest-student-card__scholarship::before,
  .etest-students .etest-student-card--featured .etest-student-card__scholarship::after { width: clamp(12px, 4.8vw, 19px); height: 67px; }
  .etest-students .etest-student-card--featured .etest-student-card__award-value { max-width: 100px; font-size: 28px; line-height: 32px; }
  .etest-students .etest-student-card--featured .etest-student-card__scholarship--money .etest-student-card__award-value { font-size: clamp(16px, 5vw, 20px); line-height: 24px; }
  .etest-students .etest-student-card__schools { font-size: 15px; line-height: 1.8; }
  .etest-students .etest-students__link { min-height: 44px; padding: 11px 24px; font-size: 14px; line-height: 20px; }
  .etest-students .etest-students__link svg { width: 20px; height: 20px; }
}
@media (max-width: 359px) {
  .etest-students .etest-students__item .etest-student-card__portrait { width: 92px; }
  .etest-students .etest-students__item .etest-student-card__copy { padding-inline: 8px; }
  .etest-students .etest-students__item .etest-student-card__metrics { gap: 6px; }
  .etest-students .etest-students__item .etest-student-card__value { font-size: 15px; }
  .etest-students .etest-students__item .etest-student-card__exam { font-size: 13px; }
  .etest-students .etest-students__item .etest-student-card__scholarship--money .etest-student-card__award-value { font-size: 12px; }
}
