/* TRUE GROUP — страница вакансий (кадр «NEW Страница вакансий», 1440×4133).
   Общие классы (.a, .sec, шрифты, цвета, шапка, футер, пилюли, карточки) — из style.css.
   От 900 px — сцена с координатами макета (масштаб — js/main.js), ниже — блоки в потоке */

.cr { height: 4133px; }

/* ---------- Сцена: координаты макета ---------- */

.cr-grain-1 { --x: -40.012; --y: -0.099; --w: 1519.789; --h: 2699.347; }
.cr-grain-2 { --x: -40.012; --y: 2580.126; --w: 1519.789; --h: 2699.347; }

/* Фон первого блока: три WebP-плитки с рисунком (размытие уже внутри файлов), под шапкой и текстом */
.cr-hbg { max-width: none; pointer-events: none; }
.cr-hbg-1 { --x: -269.47; --y: -38.37; --w: 915.958; --h: 927.327; }
.cr-hbg-2 { --x: 596.514; --y: 11.83; --w: 816.048; --h: 826.916; }
.cr-hbg-3 { --x: 1421.649; --y: 11.831; --w: 816.048; --h: 826.915; }

/* Шапка: размытие 5 px (линия снизу — общая, в style.css) */
.cr .d-hbg { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.cr .d-12492 { z-index: 10; }

/* Логотип — ссылка на главную */
.home-link { transition: opacity 0.3s ease; }
.home-link:hover, .home-link:focus-visible { opacity: 0.75; }

/* Первый экран */
.cr-hero { --sx: 113.203; --sy: 202.162; --sw: 1206.878; --sh: 467.501; }
.cr-14036 { --x: 118.203; --y: 202.162; --w: 427.691; --h: 24.952; }
.cr-14037 { --x: 113.203; --y: 242.293; --w: 1043.93; --h: 190.37; }
.cr-14039 { --x: 119.203; --y: 492.663; --w: 550.163; --h: 141; }
.cr-text { font-size: 18px; line-height: 21px; }
.cr-text p + p { margin-top: 15px; }
.cr-text strong { font-weight: 700; }

/* Список вакансий на светлой подложке */
.cr-jobs { --sx: -0.713; --sy: 799.402; --sw: 1440.712; --sh: 2132.275; }
.cr-13981 { --x: -0.713; --y: 799.402; --w: 1440.712; --h: 2131.433; }
.cr-13982 { --x: -0.237; --y: 799.402; --w: 1440.236; --h: 2132.275; }
.cr-light { mix-blend-mode: lighten; }

.cr-jobs-title { --x: 116.203; --y: 919.028; --w: 480.302; --h: 88.939; }
.cr-jobs-title > span { position: absolute; top: 0; white-space: nowrap; }
.cr-14043 { left: 0; }
.cr-14042 { left: 166.765px; }

.cr-search {
  --x: 884.393; --y: 936.296; --w: 435.688; --h: 68.732;
  border-radius: 80px;
  background: rgba(214, 218, 238, 0.2);
  box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.15), inset 0 0 0 1px #fefefe;
}
.cr-search-label { position: absolute; inset: 0 70px 0 0; display: block; cursor: text; }
.cr-14195 { position: absolute; left: 40.201px; top: 23.824px; font-size: 20px; line-height: 21px; pointer-events: none; }
.cr-search.has-value .cr-14195 { visibility: hidden; }
.cr-search-input {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 0 0 40.201px;
  border: 0; background: none; color: var(--c-dark); font-size: 20px; line-height: 21px; outline: none;
}
.cr-search-input::-webkit-search-cancel-button { display: none; }
.cr-search:focus-within { box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.15), inset 0 0 0 2px var(--c-lilac); }
.cr-search-btn {
  position: absolute; left: 367.802px; top: 0.883px; width: 66.966px; height: 66.966px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: url("../img/cr-search-btn.svg") center / 100% 100% no-repeat;
}
.cr-search-btn img { position: absolute; left: 17.57px; top: 17.57px; width: 31.815px; height: 31.814px; max-width: none; }
/* hover: подсветка отдельным слоем, без filter */
.cr-search-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 16px 2px rgba(135, 148, 200, 0.8);
  opacity: 0; transition: opacity 0.3s ease;
}
.cr-search-btn:hover::before, .cr-search-btn:focus-visible::before { opacity: 1; }
.cr-search-input:focus-visible { border-radius: 80px; box-shadow: inset 0 0 0 2px var(--c-lilac); }

.cr-list {
  --x: 120.004; --y: 1087.812; --w: 1200.077; --h: 1611.436;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 40.155px;
}
.cr-job {
  position: relative; flex: none; height: 290.245px;
  border-radius: 40px; background: var(--c-cream);
  box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.15);
}
.cr-job[hidden] { display: none; }
/* hover: фон плавно меняется на градиент макета (градиент не анимируется напрямую — через слой с opacity) */
.cr-job { isolation: isolate; }
.cr-job::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(96.57deg, #8794C8 5.16%, #BAC1E0 141.52%);
  opacity: 0; transition: opacity 0.2s;
}
@media (hover: hover) {
  .cr-job:hover::before { opacity: 1; }
}
.cr-job-format { position: absolute; right: 61px; top: 44.647px; font-size: 50px; line-height: 52px; white-space: nowrap; }
/* название: низ строки на месте макета (top 145.123 + 52), длинное переносится вверх на вторую строку — высота карточки не меняется */
.cr-job-title {
  position: absolute; left: 61.299px; bottom: 93.122px; width: 900px; font-size: 50px; line-height: 52px;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.cr-job-meta { position: absolute; left: 65px; top: 222.123px; font-size: 25px; line-height: 26px; }
.cr-job-more {
  position: absolute; left: 1024.233px; top: 213.463px; width: 110.844px; height: 30.66px;
  border: 1px solid var(--c-dark); border-radius: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 19px; transition: background-color 0.3s ease, color 0.3s ease;
}
.cr-job-more > span { transition: color 0.3s ease; }
.cr-job-more:hover, .cr-job-more:focus-visible { background-color: var(--c-dark); color: var(--c-cream); }
.cr-empty { --x: 120.004; --y: 1087.812; --w: 1200.077; --h: 52; font-size: 25px; line-height: 52px; }

.cr-pager { --x: 1022.473; --y: 2759.249; --w: 297.608; --h: 52.803; }
.cr-page-arrow {
  position: absolute; top: 0; width: 52.803px; height: 52.803px; padding: 0;
  border: 0.92px solid var(--c-lilac); border-radius: 50%;
  background: rgba(214, 218, 238, 0.5); box-shadow: 0 4px 10px rgba(135, 148, 200, 0.3);
  cursor: pointer; display: grid; place-items: center;
}
.cr-page-arrow::before { content: ""; position: absolute; inset: 6.9px; border-radius: 50%; }
.cr-prev { left: 0; }
.cr-prev::before { background: #8f9bcc; }
.cr-next { left: 244.804px; }
.cr-next::before { background: linear-gradient(150deg, #8f9bcc 0%, var(--c-lilac-light) 100%); }
.cr-chev {
  position: relative; width: 14.464px; height: 25.312px;
  -webkit-mask: url(../img/icon-arrow.svg) center / contain no-repeat; mask: url(../img/icon-arrow.svg) center / contain no-repeat;
}
.cr-prev .cr-chev { background: var(--c-lilac-light); transform: rotate(180deg); }
.cr-next .cr-chev { background: var(--c-cream); }
.cr-page-arrow:hover::before { filter: brightness(1.08); }
.cr-pages { position: absolute; left: 72.803px; top: 20.057px; width: 152px; height: 19px; font-size: 18px; line-height: 19px; color: #000; }
.cr-pages > span { position: absolute; top: 0; white-space: nowrap; }
.cr-pages > span:nth-child(1) { left: 0; }
.cr-pages > span:nth-child(2) { left: 23px; }
.cr-pages > span:nth-child(3) { left: 50px; }
.cr-pages > span:nth-child(4) { left: 103px; }
.cr-pages > span:nth-child(5) { left: 130px; }
.cr-page.is-current { color: var(--c-lilac); font-weight: 700; }
/* пагинацию строит скрипт (данные из API) — номера в потоке */
.cr-pages.is-dynamic { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.cr-pages.is-dynamic > * { position: static; }
.cr-pages button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }

/* What you get */
.cr-get { --sx: 109.971; --sy: 3215.677; --sw: 1219.57; --sh: 407.535; }
.cr-14189 { --x: -14.548; --y: 3025.988; --w: 328; --h: 190; }
.cr-14109 { --x: 441.066; --y: 3046.677; --w: 881.991; --h: 109; line-height: 110px; text-align: right; white-space: nowrap; }
.cr-grad { background: linear-gradient(110deg, var(--c-pale) 0%, var(--c-cream) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-14114 { --x: 109.971; --y: 3215.677; --w: 1219.57; --h: 407.535; border-radius: 54.153px; }
.cr-card { overflow: hidden; }
.cr-14115 { --x: 120.102; --y: 3225.778; --w: 391.971; --h: 387.334; border-radius: 48.351px 7.736px 7.736px 48.351px; }
.cr-14116 { --x: 523.786; --y: 3225.778; --w: 391.971; --h: 387.334; border-radius: 7.736px; }
.cr-14117 { --x: 927.469; --y: 3225.778; --w: 392.611; --h: 387.334; border-radius: 7.736px 48.351px 48.351px 7.736px;
  background: radial-gradient(120% 120% at 85% 95%, var(--c-cream) 0%, var(--c-lilac-light) 43.1%, var(--c-lilac) 87%); }
.cr-card > img { position: absolute; max-width: none; object-fit: cover; }
.cr-14126 { transform: rotate(-8.093deg); transform-origin: 50% 50%; }
.cr-card > img.cr-14129 { left: 125.563px; top: 181.938px; width: 271.243px; height: 247.881px; }
.cr-card > img.cr-14132 { left: 74.99px; top: 166.176px; width: 316.981px; height: 316.981px; }
/* подарок повёрнут на −8.093°: в макете дан бокс уже повёрнутой картинки (315.96×295.3), сама картинка 282.44×258.11 */
.cr-card > img.cr-14126 { left: 98.237px; top: 195.089px; width: 282.44px; height: 258.11px; }
.cr-card-title { position: absolute; left: 40.063px; top: 45.485px; white-space: nowrap; }
.cr-14116 .cr-card-title, .cr-14117 .cr-card-title, .cr-14116 .cr-card-text, .cr-14117 .cr-card-text { left: 41.316px; }
.cr-card-text { position: absolute; left: 40.063px; top: 113.794px; width: 309.339px; font-size: 20px; line-height: 22px; }
.cr-card-text-w { width: 319.901px; }

/* Футер: те же классы, что на главной; секция смещена так, что логотип стоит на y 3823 макета */
.cr-foot { --sx: 118.152; --sy: 6492.64; --sw: 1203.692; --sh: 257.049; top: 3823.212px; }

/* Мобильная шапка: как на главной; сцена высотой с шапку, меню выпадает поверх страницы */
.cr-mwrap { position: fixed; left: 0; top: 0; right: 0; z-index: 10; overflow: visible; }
.cr-mstage { height: 52px; overflow: visible; }
.cr-mhome { position: absolute; left: 0; top: 0; width: 100px; height: 52px; display: block; }

/* ---------- Ниже 900 px: те же блоки в потоке ---------- */
@media (max-width: 899px) {
  .cr {
    display: block; position: static; left: auto; width: auto; height: auto; margin: 0;
    padding: 56px 20px 40px; overflow: hidden; zoom: 1;
    /* шапка fixed: высота 52 × масштаб кадра 390 (на 768 — ~102 px), не меньше 56 px */
    padding-top: max(56px, calc(52px * var(--fit, 1)));
  }
  .cr .sec, .cr .a { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .cr-grain-1, .cr-grain-2, .cr-hbg, .cr-13981, .cr-13982, .cr-14189, .cr-14114, .cr-nav, .d-hbg { display: none; }

  /* шапка: мобильная, как на главной (.cr-mwrap выше сцены); десктопная скрыта */
  .d-12492 { display: none; }

  /* первый экран */
  .cr-hero { padding: 40px 0 48px; }
  .cr-14036 { font-size: 16px; line-height: 20px; }
  .cr-14037 { margin-top: 12px; font-size: 40px; line-height: 44px; }
  .cr-text { margin-top: 20px; font-size: 14px; line-height: 18px; }
  .cr-text br { display: none; }

  /* список */
  .cr-jobs { margin: 0 -20px; padding: 32px 20px 40px; border-radius: 24px; background: linear-gradient(to bottom left, var(--c-pale) 0%, var(--c-cream) 100%); }
  .cr-jobs-title { display: flex; align-items: flex-start; gap: 12px; }
  .cr-jobs-title > span { position: static; }
  .cr-14043 { font-size: 24px; line-height: 26px; }
  .cr-14042 { font-size: 48px; line-height: 52px; }
  .cr .cr-search { height: 56px; margin-top: 20px; }
  .cr-14195 { left: 24px; top: 17px; font-size: 16px; }
  .cr-search-input { padding-left: 24px; font-size: 16px; }
  .cr-search-label { right: 60px; }
  .cr-search-btn { left: auto; right: 4px; top: 4px; width: 48px; height: 48px; }
  .cr-search-btn img { left: 12.6px; top: 12.6px; width: 22.8px; height: 22.8px; }
  .cr-list { margin-top: 24px; gap: 16px; }
  .cr-job { height: auto; padding: 24px 20px; border-radius: 24px; }
  .cr-job > * { position: static; }
  .cr-job-format { font-size: 20px; line-height: 24px; }
  .cr-job-title { display: block; width: auto; margin-top: 16px; font-size: 26px; line-height: 30px; white-space: normal; }
  .cr-job-meta { margin-top: 8px; font-size: 16px; line-height: 20px; }
  .cr-job-more { margin-top: 16px; }
  .cr .cr-empty { height: auto; margin-top: 24px; }
  .cr .cr-pager { width: 297.608px; height: 52.803px; margin: 24px 0 0 auto; }

  /* What you get */
  .cr-get { padding-top: 48px; }
  .cr-14109 { font-size: 40px; line-height: 44px; text-align: left; white-space: normal; }
  .cr .cr-card { height: 236px; margin-top: 12px; border-radius: 24px; }
  .cr-card-title { left: 20px; top: 24px; font-size: 36px; line-height: 40px; }
  .cr-14116 .cr-card-title, .cr-14117 .cr-card-title, .cr-14116 .cr-card-text, .cr-14117 .cr-card-text { left: 20px; }
  .cr-card-text { left: 20px; top: 76px; width: auto; right: 20px; font-size: 16px; line-height: 20px; }
  .cr-card-text-w { width: auto; }
  .cr .cr-card > img.cr-14129, .cr .cr-card > img.cr-14132, .cr .cr-card > img.cr-14126 { left: auto; right: -8px; top: auto; bottom: -34px; width: 150px; height: auto; }

  /* футер: те же координаты и размеры, что у футера мобильного кадра главной (390 px), масштаб — по ширине экрана (--fit) */
  .cr .cr-foot { position: relative; display: block; width: 390px; height: 240px; margin: 40px -20px 0; padding: 0; zoom: var(--fit, 1); }
  .cr .cr-foot .a { position: absolute; width: auto; height: auto; white-space: nowrap; }
  .cr .cr-foot .cr-flogo { position: absolute; left: 20px; top: 0; width: 104px; height: 30px; }
  .cr .cr-flogo .d-12264 { left: 0; top: 0; width: 54.346px; height: 30px; }
  .cr .cr-flogo .d-stem { left: 11px; top: 11.14px; width: 9px; height: 19px; }
  .cr .cr-flogo .d-12258 { left: 54.047px; top: 0; width: 24.408px; height: 30px; }
  .cr .cr-flogo .d-12248 { left: 79.778px; top: 0; width: 23.748px; height: 30px; }
  .cr .cr-flogo .d-12257 { left: 82.176px; top: 13.57px; width: 21px; height: 4px; }
  .cr .cr-foot .d-12281 { left: 19.2px; top: 42.39px; font-size: 10px; line-height: 13px; }
  .cr .cr-foot .d-12280 { left: auto; right: 20px; top: 52.19px; font-size: 12px; line-height: 16px; text-align: right; }
  .cr .cr-foot .d-12284, .cr .cr-foot .d-12285, .cr .cr-foot .d-12287, .cr .cr-foot .d-12288 { font-size: 14px; line-height: 18px; }
  .cr .cr-foot .d-12284 { left: 19.2px; top: 100.02px; }
  .cr .cr-foot .d-12285 { left: 19.2px; top: 130.41px; }
  .cr .cr-foot .d-12287 { left: 272.2px; top: 101.02px; }
  .cr .cr-foot .d-12288 { left: 272.2px; top: 131.41px; }
  .cr .cr-foot .d-fline { left: 20px; top: 184.14px; width: 350px; height: 1px; }
  .cr .cr-foot .d-12243 { left: 20px; top: 222px; font-size: 10px; line-height: 13px; }
  .cr .cr-foot .soc img { width: 100%; height: 100%; }
  .cr .cr-foot .d-12234 { left: 249.88px; top: 221.06px; width: 13.45px; height: 13.45px; }
  .cr .cr-foot .d-12235 { left: 287.52px; top: 221.06px; width: 37.05px; height: 13.45px; }
  .cr .cr-foot .d-12236 { left: 348.74px; top: 219.41px; width: 20.93px; height: 18.66px; }
}
