/* Вакансии и стажировки — стили страницы */
.slink.is-cur {
  background:#ffffff;
  color:#070B24;
}

.cr-hero {
  background:linear-gradient(90deg,rgba(7,11,36,0.95) 0%,rgba(7,11,36,0.7) 36%,rgba(7,11,36,0.12) 70%,rgba(7,11,36,0.35) 100%),linear-gradient(0deg,rgba(7,11,36,0.8) 0%,rgba(7,11,36,0) 50%),#070B24 url(../img/people-corridor.webp) 75% 40%/cover no-repeat;
}

.cr-sub {
  display:block;
  font-size:30px;
  font-weight:300;
  letter-spacing:-0.015em;
  line-height:1.25;
  color:rgba(255,255,255,0.88);
  max-width:620px;
}

.ct-chip {
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:14px;
  color:rgba(255,255,255,0.88);
}

.ct-chip a {
  display:inline-flex;
  align-items:center;
  height:40px;
  padding:0 16px;
  border-radius:var(--r-pill);
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.16);
  transition:background .3s,color .3s;
}

.ct-chip a:hover {
  background:#ffffff;
  color:#070B24;
}

.ct-chip a:focus-visible {
  outline:2px solid #9EBBEA;
  outline-offset:2px;
}

.vc-head {
  display:grid;
  grid-template-columns:120px minmax(0,1fr) 380px;
  gap:32px;
  padding-right:64px;
  margin-bottom:44px;
  align-items:start;
}

.vc-view {
  overflow:clip;
  padding:8px 0 110px 64px;
  margin:0 0 -102px -64px;
  -webkit-mask-image:linear-gradient(90deg,transparent 44px,#000 64px);
  mask-image:linear-gradient(90deg,transparent 44px,#000 64px);
}

.vc-track {
  --cw:300px;
  --aw:740px;
  display:flex;
  gap:20px;
  align-items:flex-end;
  transform:translateX(calc(var(--s) * -1 * (var(--cw) + 20px)));
  transition:transform .8s cubic-bezier(.16,1,.3,1);
}

.vc {
  flex:0 0 var(--cw);
  min-height:340px;
  padding:28px;
  border-radius:var(--r-card);
  background:#7E95D6;
  color:#0A1230;
  display:flex;
  flex-direction:column;
  gap:16px;
  transition:flex-basis .8s cubic-bezier(.16,1,.3,1),background .6s,transform .8s cubic-bezier(.16,1,.3,1),box-shadow .8s;
  transform:scale(.97);
  transform-origin:left bottom;
}

.vc:not(.is-on):hover {
  background:#93A6E0;
  transform:scale(.97) translateY(-8px);
}

.vc.is-on {
  flex-basis:var(--aw);
  background:#ffffff;
  transform:none;
  box-shadow:0 30px 70px rgba(7,11,36,0.38);
}

.vc-n {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  opacity:.8;
  font-variant-numeric:tabular-nums;
}

.vc-t {
  margin:0;
  font-size:27px;
  font-weight:400;
  line-height:1.15;
  letter-spacing:-0.015em;
}

.vc.is-on .vc-t {
  font-size:34px;
}

.vc-body {
  display:flex;
  flex-direction:column;
  gap:16px;
  animation:upsm .7s .2s cubic-bezier(.16,1,.3,1) both;
}

.vt {
  display:inline-flex;
  gap:4px;
  padding:4px;
  border-radius:var(--r-pill);
  background:#EEF1F7;
  align-self:flex-start;
  flex-wrap:wrap;
}

.vt button {
  height:40px;
  padding:0 16px;
  border-radius:var(--r-pill);
  border:0;
  background:transparent;
  color:#4A5263;
  font-size:13px;
  cursor:pointer;
  transition:background .3s,color .3s;
}

.vt button:hover {
  color:#0A1230;
}

.vt button.is-on {
  background:#070B24;
  color:#ffffff;
}

.vt button:focus-visible {
  outline:2px solid #2F5BFF;
  outline-offset:2px;
}

.vl {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 28px;
}

.vl li {
  position:relative;
  padding-left:22px;
  font-size:13.5px;
  line-height:1.5;
  color:#4A5263;
}

.vl li::before {
  content:"";
  position:absolute;
  left:0;
  top:.45em;
  width:10px;
  height:10px;
  background:#2F5BFF;
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
}

.vc-x {
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:#4A5263;
  max-width:520px;
}

.vc-x a {
  color:#1B4C9C;
}

.vc-foot {
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.vc-tag {
  display:inline-flex;
  align-items:center;
  height:30px;
  padding:0 12px;
  border-radius:var(--r-pill);
  background:rgba(255,255,255,0.4);
  font-size:12px;
  font-weight:500;
}

.vc.is-on .vc-tag {
  background:#E3EBF6;
  color:#1B4C9C;
}

.cn-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  align-items:start;
}

.cn {
  min-height:290px;
}

.cn .wc-n b {
  color:#B9C4D8;
}

.cn-1 {
  grid-column:1;
  grid-row:1;
}

.cn-2 {
  grid-column:2;
  grid-row:1;
}

.cn-ta {
  grid-column:4;
  grid-row:1;
  justify-self:end;
}

.cn-q {
  grid-column:1 / span 2;
  grid-row:2;
  align-self:center;
}

.cn-3 {
  grid-column:3;
  grid-row:2;
}

.cn-4 {
  grid-column:4;
  grid-row:2;
}

.cn-tb {
  grid-column:1;
  grid-row:3;
  align-self:end;
}

.cn-5 {
  grid-column:2;
  grid-row:3;
}

.cn-6 {
  grid-column:3;
  grid-row:3;
}

.cn-7 {
  grid-column:4;
  grid-row:3;
}

.q-box {
  padding:32px 34px;
  border-radius:var(--r-card);
  display:flex;
  flex-direction:column;
  gap:18px;
}

.q-box p {
  margin:0;
  font-size:30px;
  font-weight:300;
  line-height:1.3;
  letter-spacing:-0.02em;
}

.tile-img.bg-city {
  background:#070B24 url(../img/moscow-night.webp) 40% center/cover no-repeat;
}

.iq {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
}

.iq .poster {
  min-height:600px;
}

.iq-q {
  margin:0;
  font-size:21px;
  font-weight:300;
  line-height:1.5;
  letter-spacing:-0.005em;
  max-width:720px;
}

.iq-q + .iq-q {
  margin-top:14px;
}

.iq-mark {
  font-size:120px;
  line-height:.6;
  font-weight:300;
  color:#9EBBEA;
  height:56px;
  display:block;
}

.iq-sig {
  display:flex;
  align-items:center;
  gap:14px;
}

.iq-sig b {
  display:block;
  font-size:18px;
  font-weight:500;
}

.iq-sig span {
  font-size:13px;
  color:rgba(255,255,255,0.8);
}

.pcard {
  position:relative;
  border-radius:var(--r-card);
  overflow:clip;
  min-height:600px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:16px;
  isolation:isolate;
}

.pcard-img {
  position:absolute;
  inset:0;
  z-index:-1;
  background:#070B24 url(../img/people-corridor.webp) 30% center/cover no-repeat;
  transition:transform 1.6s cubic-bezier(.16,1,.3,1);
}

.pcard:hover .pcard-img {
  transform:scale(1.06);
}

.plate {
  border-radius:var(--r-card);
  background:#ffffff;
  color:#0A1230;
  padding:20px 22px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.plate b {
  font-size:20px;
  font-weight:400;
  letter-spacing:-0.01em;
  line-height:1.25;
}

.plate span {
  font-size:13px;
  color:#4A5263;
  line-height:1.5;
}

.wsh {
  position:relative;
  border-radius:var(--r-panel);
  overflow:clip;
  color:#0A1230;
  padding:80px 64px 72px;
  background:linear-gradient(180deg,#DCE6F8 0%,#FFFFFF 22%,#FFFFFF 70%,#E3EBF6 100%);
}

.cs-row {
  display:flex;
  gap:20px;
  align-items:stretch;
  min-height:520px;
}

.cs {
  position:relative;
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:22px 24px 26px;
  border-radius:var(--r-card);
  background:#ffffff;
  border:1px solid #E6EBF4;
  box-shadow:0 24px 60px rgba(27,76,156,0.14);
  cursor:pointer;
  text-align:left;
  color:#0A1230;
  font:inherit;
  transition:flex-grow .8s cubic-bezier(.16,1,.3,1),box-shadow .5s,transform .5s cubic-bezier(.2,.7,.2,1);
}

.cs:hover {
  transform:translateY(-6px);
  box-shadow:0 32px 70px rgba(27,76,156,0.24);
}

.cs:focus-visible {
  outline:3px solid #2F5BFF;
  outline-offset:3px;
}

.cs.is-on {
  flex-grow:1.7;
  cursor:default;
}

.cs-num {
  font-size:72px;
  font-weight:300;
  line-height:1;
  letter-spacing:-0.04em;
  color:#B9C4D8;
}

.cs-img {
  display:block;
  width:100%;
  height:230px;
  border-radius:var(--r-sm);
  animation:upsm .7s cubic-bezier(.16,1,.3,1) both;
}

.cs-t {
  margin-top:auto;
  font-size:19px;
  font-weight:400;
  line-height:1.25;
  letter-spacing:-0.01em;
  hyphens:auto;
  overflow-wrap:break-word;
}

.cs.is-on .cs-t {
  font-size:24px;
}

.cs-x {
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#4A5263;
  animation:upsm .7s .15s cubic-bezier(.16,1,.3,1) both;
}

.im-bars {
  background:#070B24 url(../img/bar-chart.webp) 70% center/cover no-repeat;
}

.im-stud {
  background:#070B24 url(../img/people-corridor.webp) center/cover no-repeat;
}

.im-hands {
  background:#070B24 url(../img/handshake.webp) center/cover no-repeat;
}

.im-stage {
  background:#070B24 url(../img/conference-stage.webp) center 30%/cover no-repeat;
}

.radiance {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  color:#4A5263;
}

.stp {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);
  gap:40px;
  align-items:end;
  padding:56px 56px 0;
  border-radius:var(--r-panel);
  overflow:clip;
}

.stp-img {
  display:block;
  width:100%;
  max-width:420px;
  height:auto;
  margin-bottom:24px;
  filter:drop-shadow(0 30px 50px rgba(47,91,255,0.5));
}

.stp-cols {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:end;
}

.sp {
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:26px 24px;
  border-radius:var(--r-card) var(--r-card) 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,0.16),rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.16);
  border-bottom:0;
}

.sp-1 {
  min-height:260px;
}

.sp-2 {
  min-height:330px;
}

.sp-3 {
  min-height:400px;
  background:linear-gradient(180deg,#ffffff,#E3EBF6);
  color:#0A1230;
}

.sp-n {
  font-size:64px;
  font-weight:300;
  letter-spacing:-0.04em;
  line-height:1;
}

.sp-t {
  font-size:20px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-0.01em;
}

.sp-k {
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
  color:#9EBBEA;
}

.sp-3 .sp-k {
  color:#1B4C9C;
}

.ct-h {
  font-size:60px;
}

.vc-h {
  font-size:52px;
}

.iq-lead {
  text-align:right;
}

.vchips {
  border:0;
  margin:0;
  padding:4px 0;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.vch {
  height:40px;
  padding:0 14px;
  border-radius:var(--r-pill);
  border:1px solid #D5DCEA;
  background:#ffffff;
  color:#0A1230;
  font-size:13px;
  cursor:pointer;
  transition:background .3s,color .3s,border-color .3s;
}

.vch:hover {
  border-color:#0A1230;
}

.vch.is-on {
  background:#070B24;
  color:#ffffff;
  border-color:#070B24;
}

.vch:focus-visible {
  outline:2px solid #2F5BFF;
  outline-offset:2px;
}

.mode {
  display:flex;
  gap:4px;
  padding:4px;
  border-radius:var(--r-pill);
  background:#EEF1F7;
  margin-bottom:12px;
}

.mode button {
  flex:1 1 0;
  height:44px;
  border:0;
  border-radius:var(--r-pill);
  background:transparent;
  color:#4A5263;
  font-size:14px;
  cursor:pointer;
  transition:background .3s,color .3s;
}

.mode button.is-on {
  background:#070B24;
  color:#ffffff;
}

.mode button:focus-visible {
  outline:2px solid #2F5BFF;
  outline-offset:2px;
}

@media (max-width:1180px) {
  .cn-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  /* планшет: 7 карточек, затем оба фото и цитата — без «висячих» одиночных ячеек */
  .cn-grid {
    align-items:stretch;
  }
  .cn-grid > * {
    grid-column:auto !important;
    grid-row:auto !important;
    justify-self:stretch !important;
    align-self:stretch !important;
  }
  .cn {
    min-height:0;
  }
  .cn-grid > .tile {
    max-width:none;
  }
  /* фото не растягивает рамку своей натуральной высотой */
  .cn-grid .tile-frame {
    position:relative;
    aspect-ratio:16 / 10;
  }
  .cn-grid .tile-img {
    position:absolute;
    inset:0;
    height:100%;
  }
  .cn-q {
    order:1;
    justify-content:center;
  }
  /* планшет: направления МГУ — сетка 2×2 без перестроения рядов при выборе */
  .cs-row {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    min-height:0;
  }
  .cs,
  .cs.is-on {
    min-height:260px;
  }
  .cs-img {
    height:180px;
  }
  .stp {
    grid-template-columns:1fr;
  }
  .stp-img {
    max-width:300px;
  }
}

@media (max-width:960px) {
  .cr-sub {
    font-size:21px;
  }
  .vc-head {
    grid-template-columns:1fr;
    padding-right:20px;
    gap:16px;
  }
  .vc-view {
    padding:8px 0 110px 20px;
    margin:0 0 -102px -20px;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .vc-track {
    --cw:72vw;
    --aw:84vw;
  }
  .vc.is-on .vc-t {
    font-size:26px;
  }
  .vl {
    grid-template-columns:1fr;
  }
  .q-box p {
    font-size:22px;
  }
  .iq {
    grid-template-columns:1fr;
  }
  .iq .poster {
    min-height:0;
  }
  .iq-q {
    font-size:17px;
  }
  .pcard {
    min-height:420px;
  }
  .wsh {
    padding:48px 20px;
  }
  .cs-num {
    font-size:52px;
  }
  .stp {
    padding:32px 20px 0;
  }
  .stp-cols {
    grid-template-columns:1fr;
    gap:10px;
  }
  .sp,
  .sp-1,
  .sp-2,
  .sp-3 {
    min-height:0;
    border-radius:var(--r-card);
    border-bottom:1px solid rgba(255,255,255,0.16);
  }
  .sp-3 {
    border-radius:var(--r-card);
  }
  .ct-h {
    font-size:38px;
  }
  .vc-h {
    font-size:32px;
  }
  .vc-arr {
    justify-content:flex-start !important;
  }
  .vt {
    border-radius:var(--r-card);
  }
  .iq-lead {
    text-align:left;
    margin-left:0 !important;
  }
  .cs {
    min-height:170px;
  }
}

@media (max-width:560px) {
  .cn-grid {
    grid-template-columns:1fr;
  }
  .cs-row {
    grid-template-columns:1fr;
  }
  .cs,
  .cs.is-on {
    min-height:0;
  }
}

/* Узкий десктоп/планшет: если заголовок секции перенёсся под кикер, он остаётся у правого края */
@media (min-width:961px) and (max-width:1180px) {
  .sec-head > .h2-r {
    margin-left:auto;
  }
}
