:root {
    --paper:  #FFFFFF;
    --mist:   #F5F5F7;
    --ink:    #1D1D1F;
    --muted:  #86868B;
    --orchid: #B57FCF;
    --amber:  #E8B844;
    --fresh:  #34C759;
    --coral:  #FF3B30;
    --hair:   rgba(29,29,31,0.08);

    --display: 'ArtegraSans', Arial, sans-serif;
    --display-num: 'ArtegraSans', Arial, sans-serif;
    --body:    'ArtegraSans', Arial, sans-serif;
    --ease:    cubic-bezier(.2,.8,.2,1);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; } /* padding НЕ сбрасывать: v6.css даёт body padding-top под fixed-шапку */
  body {
    font-family: var(--body); color: var(--ink); background: var(--paper);
    line-height: 1.5; -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img, svg { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  .container { width: 100%; max-width: 1240px; padding: 0 32px; margin: 0 auto; }
  @media (max-width: 640px) { .container { padding: 0 20px; } }

  /* Header styles живут в v6.css (floating dark pill, sticky на 16px от
     верха окна). Здесь раньше был дубликат — снёс, чтобы не оверрайдил. */

  /* BREADCRUMB переехал в v6.css — крошки есть и на /strany/. */

  /* ============= HERO ============= */
  .country-hero {
    position: relative; overflow: hidden;
    padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 128px);
  }
  .country-hero__grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
    align-items: center;
  }
  /* Каждая колонка должна сжиматься ниже min-content (грид по умолчанию
     этого не делает — длинное слово как «Великобританию» становится
     минимальной шириной первой колонки и душит вторую). Без min-width:0
     1.2fr/1fr не работает на длинных названиях. */
  .country-hero__grid > * { min-width: 0; }
  @media (max-width: 1024px) {
    .country-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  }
  .country-hero__eyebrow {
    /* 500: вес 600 ArtegraSans даёт ложный курсив на прямом лейбле */
    font-weight: 500; font-size: 13px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--orchid);
    margin-bottom: 24px;
  }
  .country-hero__title {
    font-family: var(--display);
    /* Меньший cap (был 144) и vw-коэффициент (был 9). На широких экранах
       «в Великобританию» теперь умещается в одну строку без переноса,
       а «в США» / «в Италию» — выглядят пропорционально с media-блоком.
       Если когда-то добавим страну с ещё более длинным названием
       («Объединённые Арабские Эмираты»), можно вешать класс
       .country-hero__title--narrow в рендерере и через nth-letter
       или просто прописать индивидуальный font-size в зависимости от
       длины строки — пока этого не требуется (12 стран влезают). */
    font-size: clamp(48px, 7vw, 112px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    /* Бэкстоп: длинное слово не должно выезжать из колонки под фото
       (на узких колонках перенесётся, а не наедет). */
    overflow-wrap: break-word;
  }
  /* Длинные названия («в Великобританию», «в Нидерланды») шире hero-колонки
     при 112px и наезжали на медиа-блок. Меньший cap/vw — умещаются в колонку
     на всех десктоп-ширинах (≥1024 двухколоночный hero). Класс вешает рендерер
     country-landing.php по длине самого длинного слова акцента (>=9). */
  .country-hero__title--narrow {
    /* Подобрано по факту: «Великобританию» при 100px = 858px, колонка ~607px
       на 1920 → одна строка влезает максимум при ~69px. 66px даёт запас и
       масштабируется вниз на 1024-1240 через 4.3vw, не ломая слово. */
    font-size: clamp(40px, 4.3vw, 66px);
  }
  .country-hero__title em {
    color: var(--orchid); font-style: normal;
  }
  .country-hero__lead {
    font-size: 19px; line-height: 1.55; color: var(--ink);
    max-width: 520px; margin: 0 0 40px;
  }
  .country-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary, .btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 28px; border-radius: 999px;
    font-weight: 500; font-size: 15px;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  }
  .btn-primary { background: #B15ECC; color: var(--paper); }
  .btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
  .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
  .btn-outline:hover { background: var(--ink); color: var(--paper); }
  .country-hero__media {
    position: relative; aspect-ratio: 4 / 5;
    border-radius: 32px; overflow: hidden;
    background: linear-gradient(135deg, #B57FCF 0%, #5e3aa0 100%);
    display: flex; align-items: flex-end; padding: 32px;
    /* width:100% + min-width:0 чтобы блок не растягивал grid-колонку
       при длинном названии страны («Великобритания»). Без min-width:0
       flex/grid считает inline-контент неперевариваемым и пушит ширину. */
    width: 100%; min-width: 0;
  }
  /* Когда есть hero-фото — оно перебивает gradient на cover-режиме.
     img.country-hero__img абсолютно позиционируется на весь блок;
     gradient под ней остаётся как fallback во время загрузки. */
  .country-hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Slow Ken Burns zoom — фото медленно приближается, добавляет
       ощущения «живого» материала вместо статичной картинки. */
    animation: kenBurns 18s ease-in-out infinite alternate;
    /* Стартовый scale + opacity для входа: вместе с .reveal-from-right
       выезжает справа с лёгким zoom-in. */
  }
  @keyframes kenBurns {
    0%   { transform: scale(1.0) translate(0, 0); }
    100% { transform: scale(1.08) translate(-2%, -2%); }
  }
  .country-hero__media--photo::after {
    /* На фото-варианте — тёмный градиент снизу для контраста с badge'ом */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  }
  .country-hero__media:not(.country-hero__media--photo)::after {
    /* Fallback gradient (без фото) — golden radial-glow на orchid-фоне */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at 30% 30%, rgba(232,184,68,0.4), transparent 60%);
  }
  .country-hero__flag {
    position: relative; z-index: 2;
    font-family: var(--display);
    /* Адаптивный размер: на маленьких блоках бейдж не должен распирать
       контейнер (раньше «Великобритания» при font-size:36px вылетала).
       clamp гарантирует масштабирование вниз на узких колонках. */
    font-size: clamp(20px, 2.6vw, 36px);
    font-weight: 800;
    color: var(--paper);
    letter-spacing: -0.01em;
    /* Лёгкая тень делает текст читаемым поверх любого фото */
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    /* Контейнер с фоном на фото-варианте делает label похожим на «бейдж» */
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
  .country-hero__media:not(.country-hero__media--photo) .country-hero__flag {
    /* На gradient-варианте бейдж тёмный фон не нужен */
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    padding: 0;
    font-size: clamp(28px, 4vw, 56px);
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  }

  /* ============= TABS NAV ============= */
  .tabs {
    /* Sticky под floating pill хедером: 12 wrap + 108 pill + 8 gap = 128. */
    position: sticky; top: 128px; z-index: 40;
    background: var(--paper);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
  }
  .tabs__inner {
    display: flex; gap: 32px; overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
  }
  .tabs__inner::-webkit-scrollbar { display: none; }
  .tabs a {
    flex-shrink: 0;
    font-weight: 500; font-size: 14px;
    color: var(--muted);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s var(--ease), border-color .2s var(--ease);
  }
  .tabs a:hover { color: var(--ink); }
  .tabs a.active { color: var(--ink); border-color: var(--orchid); }

  /* ============= STATS ============= */
  .stats { background: var(--mist); padding: 80px 0; }
  .stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  }
  @media (max-width: 768px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
  .stat__value {
    font-family: var(--display-num); font-size: clamp(48px, 6vw, 72px);
    line-height: 1; color: var(--ink); letter-spacing: 0.01em;
  }
  .stat__value sup { font-size: 0.5em; color: var(--orchid); margin-left: 4px; vertical-align: super; }
  .stat__label {
    margin-top: 12px; font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  }

  /* ============= SECTIONS ============= */
  .cl-section { padding: clamp(80px, 12vh, 140px) 0; }
  .cl-section--alt { background: var(--mist); }
  .section-head { max-width: 720px; margin-bottom: 64px; }
  .section-head__eyebrow {
    font-weight: 600; font-size: 13px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
  }
  .section-head__title {
    font-family: var(--display);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800; line-height: 0.95;
    letter-spacing: -0.02em; margin: 0 0 24px;
  }
  .section-head__title em { color: var(--orchid); font-style: normal; }
  .section-head__lead {
    font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 580px;
  }

  /* ============= PROGRAMS ============= */
  .programs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  @media (max-width: 1024px) { .programs { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px)  { .programs { grid-template-columns: 1fr; } }
  .program-card {
    padding: 32px; border-radius: 24px;
    background: var(--paper); border: 1px solid var(--hair);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  }
  .program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -16px rgba(29,29,31,0.12);
    border-color: var(--orchid);
  }
  .program-card__top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
  }
  .program-card__type {
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
  }
  .program-card__price {
    font-family: var(--display-num); font-size: 28px; color: var(--orchid);
    letter-spacing: 0.02em;
  }
  .program-card h3 {
    font-family: var(--display);
    font-size: 32px; font-weight: 700; line-height: 1.1;
    margin: 0 0 12px; color: var(--ink);
    letter-spacing: -0.015em;
  }
  .program-card p {
    font-size: 15px; line-height: 1.55; color: var(--muted);
    margin: 0 0 24px;
  }
  .program-card__meta {
    display: flex; gap: 8px; flex-wrap: wrap;
  }
  .program-card__meta span {
    padding: 4px 12px; border-radius: 999px;
    background: var(--mist); color: var(--ink);
    font-size: 12px; font-weight: 500;
  }

  /* ============= COST ============= */
  .cost-card {
    max-width: 760px; margin: 0 auto;
    background: var(--paper); border-radius: 24px;
    border: 1px solid var(--hair);
    overflow: hidden;
  }
  .cost-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 32px; border-bottom: 1px solid var(--hair);
  }
  .cost-row:last-child { border-bottom: none; }
  .cost-row__label { font-size: 15px; color: var(--ink); }
  .cost-row__value {
    font-family: var(--display-num); font-size: 28px;
    color: var(--ink); letter-spacing: 0.01em;
  }
  .cost-row__value.free { color: var(--fresh); }

  /* ============= FAQ ============= */
  .faq { max-width: 800px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid var(--hair);
    padding: 24px 0;
  }
  .faq-item summary {
    cursor: pointer; font-weight: 600; font-size: 18px;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+"; font-size: 24px; color: var(--orchid);
    transition: transform .3s var(--ease);
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    margin: 16px 0 0; color: var(--muted); line-height: 1.55;
  }

  /* ============= FINAL CTA ============= */
  .final-cta { text-align: center; padding: clamp(96px, 14vh, 160px) 0; }
  .final-cta__title {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 800;
    line-height: 0.95; letter-spacing: -0.02em;
    margin: 0 0 24px;
  }
  .final-cta__title em { color: var(--amber); font-style: normal; }
  .final-cta__lead { max-width: 560px; margin: 0 auto 40px; color: var(--muted); font-size: 18px; }

  /* ============= FOOTER ============= */
  /* Дубль-стиль футера удалён — футер унифицирован и стилизуется только из v6.css,
     чтобы быть идентичным на всех страницах (главная/страны/хабы/core). */

  @keyframes rise {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .country-hero__eyebrow,
  .country-hero__title,
  .country-hero__lead,
  .country-hero__ctas,
  .country-hero__media { animation: rise 0.85s var(--ease) backwards; }
  .country-hero__eyebrow { animation-delay: 0.05s; }
  .country-hero__title   { animation-delay: 0.15s; }
  .country-hero__lead    { animation-delay: 0.28s; }
  .country-hero__ctas    { animation-delay: 0.38s; }
  .country-hero__media   { animation-delay: 0.20s; }

  /* Subtle drift on hero media */
  @keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(8px, -8px) scale(1.02); }
  }
  .country-hero__media::after { animation: drift 12s ease-in-out infinite; }

  /* Scroll-reveal: видим по умолчанию (no-JS фолбэк), прячется только под html.js */
  .js .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
  }
  .js .reveal.in { opacity: 1; transform: translateY(0); }

  /* Hero media slides in from the right instead of bottom — даёт ощущение
     "карточка приехала", когда левый блок просто появляется снизу. */
  .js .reveal--from-right { transform: translate(48px, 0); }
  .js .reveal--from-right.in { transform: translate(0, 0); }

  /* Подсветка accent-текста ("в Австрию" / "в Германию") в hero и финальном
     CTA: один раз пробегает мягкий shimmer-градиент после появления. */
  .country-hero__title em,
  .final-cta__title em {
    background: linear-gradient(
      100deg,
      var(--orchid) 0%, var(--orchid) 35%,
      #fff1c6 50%,
      var(--orchid) 65%, var(--orchid) 100%
    );
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.6s var(--ease) .4s;
  }
  .country-hero__title.in em,
  .final-cta__title.in em { background-position: 0% 0; }
  .final-cta__title em { background-image: linear-gradient(100deg, var(--amber) 0%, var(--amber) 35%, #fff8d6 50%, var(--amber) 65%, var(--amber) 100%); }

  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
  .reveal[data-delay="4"] { transition-delay: .32s; }
  .reveal[data-delay="5"] { transition-delay: .40s; }
  .reveal[data-delay="6"] { transition-delay: .48s; }
  /* Stagger program cards (nth-child fallback when no explicit delay) */
  .programs .program-card.reveal:nth-child(1) { transition-delay: .04s; }
  .programs .program-card.reveal:nth-child(2) { transition-delay: .12s; }
  .programs .program-card.reveal:nth-child(3) { transition-delay: .20s; }
  .programs .program-card.reveal:nth-child(4) { transition-delay: .28s; }
  .programs .program-card.reveal:nth-child(5) { transition-delay: .36s; }
  .programs .program-card.reveal:nth-child(6) { transition-delay: .44s; }
  /* Stagger cost rows */
  .cost-card .cost-row.reveal:nth-child(1) { transition-delay: .04s; }
  .cost-card .cost-row.reveal:nth-child(2) { transition-delay: .10s; }
  .cost-card .cost-row.reveal:nth-child(3) { transition-delay: .16s; }
  .cost-card .cost-row.reveal:nth-child(4) { transition-delay: .22s; }
  .cost-card .cost-row.reveal:nth-child(5) { transition-delay: .28s; }
  .cost-card .cost-row.reveal:nth-child(6) { transition-delay: .34s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
  }
/* ============================================================
   AUSTRIA RICH (низ /postupit-v-avstriyu, 1:1 с оригиналом) — скоуп .at-rich
   ============================================================ */
.at-rich { --acc:#B15ECC; --dark:#403F3F; --mut:#6b6b6b; --card:#F6F6F6; --bd:#ececec; }
.at-rich * { box-sizing:border-box; }
.at-rich .container { max-width:1200px; margin:0 auto; padding:0 20px; }
.at-rich .at-sec { padding:72px 0; }
.at-rich .at-edu, .at-rich .at-unis { background:#fafafa; }
.at-rich .at-h { font-family:var(--display); font-size:clamp(30px,4.4vw,52px); font-weight:700; line-height:1.1; text-transform:uppercase; text-align:center; color:var(--dark); margin:0 0 14px; letter-spacing:-.5px; }
.at-rich .at-acc { color:var(--acc); }
.at-rich .at-sub { text-align:center; color:var(--mut); font-size:18px; line-height:1.5; max-width:760px; margin:0 auto 44px; }
.at-rich .at-h3 { font-family:var(--display); font-size:26px; font-weight:700; color:var(--dark); margin:48px 0 22px; text-align:left; }
.at-rich ul { list-style:none; margin:0; padding:0; }

/* 1. Почему Австрия */
.at-rich .at-why__grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.at-rich .at-why__photo img { width:100%; height:360px; object-fit:cover; border-radius:22px; display:block; }
.at-rich .at-why__feats { display:grid; grid-template-columns:1fr 1fr; gap:28px 32px; }
.at-rich .at-feat { display:flex; gap:14px; font-size:16px; line-height:1.4; color:var(--mut); align-items:flex-start; }
.at-rich .at-feat__emoji { flex:none; width:38px; height:38px; object-fit:contain; }
.at-rich .at-feat strong { font-family:var(--display); font-weight:700; font-size:20px; color:var(--dark); display:inline-block; margin-bottom:4px; }
.at-rich .at-why__note { display:grid; grid-template-columns:1fr 1fr; gap:24px 40px; background:#F4ECFB; border-radius:24px; padding:36px 40px; margin-top:40px; }
.at-rich .at-why__noteitem { display:flex; gap:14px; align-items:flex-start; }
.at-rich .at-why__noteitem p { margin:0; font-size:16px; line-height:1.6; color:var(--dark); }
.at-rich .at-ic { flex:none; width:24px; height:24px; display:inline-flex; }
.at-rich .at-ic svg { width:100%; height:100%; }

/* 2. Система образования (галерея бенто + карточки) */
.at-rich .at-gallery { display:grid; grid-template-columns:1.6fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:18px; margin-bottom:56px; }
.at-rich .at-gallery__big { grid-row:1 / span 2; }
.at-rich .at-gallery__big img, .at-rich .at-gallery__cell img { width:100%; height:100%; object-fit:cover; border-radius:20px; display:block; }
.at-rich .at-gallery__big img { min-height:340px; }
.at-rich .at-gallery__cell img { min-height:161px; }
.at-rich .at-degrees { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.at-rich .at-degree { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:34px 30px; }
.at-rich .at-degree--hl { background:#E9E9E9; }
.at-rich .at-degree__emoji { width:52px; height:52px; object-fit:contain; margin-bottom:16px; }
.at-rich .at-degree__name { font-family:var(--display); font-size:26px; font-weight:700; color:var(--dark); margin:0 0 4px; }
.at-rich .at-degree__meta { color:var(--mut); font-weight:500; font-size:15px; margin-bottom:22px; }
.at-rich .at-degree li { position:relative; padding-left:20px; margin-bottom:12px; font-size:15px; line-height:1.4; color:var(--dark); }
.at-rich .at-degree li::before { content:'•'; position:absolute; left:4px; color:var(--dark); font-weight:700; }
.at-rich .at-types { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:40px 44px; margin-top:24px; }
.at-rich .at-types__head { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.at-rich .at-types__emoji { width:46px; height:46px; object-fit:contain; }
.at-rich .at-types__head h3 { font-family:var(--display); font-size:28px; font-weight:700; color:var(--dark); margin:0; }
.at-rich .at-types__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.at-rich .at-type__name { font-family:var(--display); font-size:18px; font-weight:700; font-style:italic; color:var(--acc); margin:0 0 12px; }
.at-rich .at-type__count { font-size:16px; color:var(--dark); margin-bottom:16px; }
.at-rich .at-type li { position:relative; padding-left:20px; margin-bottom:10px; font-size:15px; line-height:1.4; color:var(--dark); }
.at-rich .at-type li::before { content:'•'; position:absolute; left:4px; color:var(--dark); font-weight:700; }

/* 3. Стоимость */
.at-rich .at-cost__grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:stretch; }
.at-rich .at-cost__col { display:flex; flex-direction:column; min-width:0; }
.at-rich .at-cost__title { font-family:var(--display); font-size:28px; font-weight:700; color:var(--dark); margin:0 0 20px; }
.at-rich .at-cost__card { background:#F6F6F6; border:1px solid #efefef; border-radius:20px; padding:26px 28px; margin-bottom:20px; }
/* Правая колонка («Стоимость жизни», 2 карточки) выравнивается по высоте левой
   (как в оригинале — низ обеих колонок на одном уровне, без правого «провала»).
   ВАЖНО: карточки НЕ растягиваем пустотой — лишнюю высоту равномерно раздаём
   строкам (строки чуть просторнее, ИТОГО идёт сразу после последней строки,
   как в оригинале). */
.at-rich .at-cost__col--live .at-cost__card { flex:1 1 auto; display:flex; flex-direction:column; }
.at-rich .at-cost__col--live .at-cost__card .at-cost__row { flex:1 1 auto; }
.at-rich .at-cost__card h4 { font-family:var(--display); font-size:20px; font-weight:700; color:var(--dark); margin:0 0 16px; }
.at-rich .at-cost__row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:11px 0; border-bottom:1px solid #e7e7e7; font-size:16px; color:var(--dark); }
.at-rich .at-cost__row:last-child { border-bottom:none; }
.at-rich .at-cost__row b { color:var(--acc); font-weight:700; font-style:italic; white-space:nowrap; }
.at-rich .at-cost__row b.free { color:var(--acc); }
.at-rich .at-cost__row--total { border-top:2px solid #ddd; margin-top:6px; padding-top:16px; font-weight:700; }
.at-rich .at-cost__row--total span { font-style:italic; font-weight:700; }
.at-rich .at-cost__note { color:var(--mut); font-size:14px; margin-top:12px; }
.at-rich .at-cost__cities-h { font-family:var(--display); font-style:italic; font-weight:700; font-size:18px; color:var(--acc); margin-bottom:16px; }
.at-rich .at-cities { display:grid; grid-template-columns:1fr 1fr; gap:14px 24px; }
.at-rich .at-cities__item { font-size:16px; color:var(--dark); }
.at-rich .at-cities__item b { font-weight:700; }
.at-rich .at-important { background:var(--acc); color:#fff; border-radius:24px; padding:36px 44px; margin-top:36px; }
.at-rich .at-important h3 { font-family:var(--display); font-size:24px; font-weight:700; margin:0 0 16px; font-style:italic; }
.at-rich .at-important p { font-size:17px; line-height:1.6; margin:0 0 12px; }
.at-rich .at-important p:last-child { margin-bottom:0; }

/* 4. Требования + альтернативные пути (одна фон-картинка на весь экран, fixed; карточки скроллятся поверх) */
.at-rich .at-req { padding-bottom:0; }
.at-rich .at-fixed { background-attachment:fixed; background-size:cover; background-position:center; padding:90px 0 100px; }
.at-rich .at-fixed .container { display:flex; flex-direction:column; gap:40px; }
.at-rich .at-req__cards { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.at-rich .at-card { background:#fff; border-radius:24px; padding:38px 40px; box-shadow:0 30px 70px rgba(0,0,0,.18); }
.at-rich .at-card__h { font-family:var(--display); font-size:26px; font-weight:700; color:var(--dark); margin:0 0 24px; }
.at-rich .at-req__item { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.at-rich .at-req__item:last-child { margin-bottom:0; }
.at-rich .at-req__item h4 { font-family:var(--display); font-size:18px; font-weight:700; font-style:italic; color:var(--acc); margin:0 0 6px; }
.at-rich .at-req__item p { font-size:15px; line-height:1.55; color:var(--mut); margin:0; }
.at-rich .at-req__item--dir { display:block; }
.at-rich .at-alt { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.at-rich .at-alt__card h4 { font-family:var(--display); font-size:18px; font-weight:700; font-style:italic; text-transform:uppercase; color:var(--acc); margin:0 0 10px; }
.at-rich .at-alt__card p { font-size:16px; line-height:1.55; color:var(--dark); margin:0; }

/* 5. Топовые вузы (пурпурная шапка карточки) */
.at-rich .at-unis__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.at-rich .at-uni { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; overflow:hidden; display:flex; flex-direction:column; }
.at-rich .at-uni__head { background:var(--acc); display:flex; align-items:center; gap:16px; padding:26px 28px; }
.at-rich .at-uni__logobox { flex:none; width:54px; height:54px; background:#fff; border-radius:14px; display:flex; align-items:center; justify-content:center; }
.at-rich .at-uni__logo { max-width:38px; max-height:38px; object-fit:contain; }
.at-rich .at-uni__name { font-family:var(--display); font-size:24px; font-weight:700; color:#fff; margin:0; }
.at-rich .at-uni__body { padding:26px 28px 30px; display:flex; flex-direction:column; flex:1; }
.at-rich .at-uni__topline { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.at-rich .at-uni__founded { font-size:13px; color:var(--dark); background:#EEDFF6; padding:6px 14px; border-radius:100px; }
.at-rich .at-uni__students { font-family:var(--display); font-style:italic; font-weight:700; font-size:18px; color:var(--dark); }
.at-rich .at-uni__desc { font-size:15px; line-height:1.55; color:var(--dark); margin:0 0 20px; }
.at-rich .at-uni__dirs-h { font-family:var(--display); font-style:italic; font-weight:700; font-size:16px; color:var(--acc); margin-bottom:12px; }
.at-rich .at-uni__dirs { margin:0 0 20px; }
.at-rich .at-uni__dirs li { position:relative; padding-left:20px; margin-bottom:8px; font-size:15px; color:var(--dark); }
.at-rich .at-uni__dirs li::before { content:'•'; position:absolute; left:4px; color:var(--dark); font-weight:700; }
.at-rich .at-uni__foot { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:18px; border-top:1px solid #e7e7e7; font-size:15px; }
.at-rich .at-uni__foot .at-acc { font-family:var(--display); font-style:italic; font-weight:700; }
.at-rich .at-uni__rank { color:var(--mut); }
.at-rich .at-others { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:40px 44px; margin-top:32px; }
.at-rich .at-others .at-h3 { margin-top:0; }
.at-rich .at-others__grid { display:grid; grid-template-columns:1fr 1fr; gap:28px 44px; }
.at-rich .at-other h4 { font-family:var(--display); font-size:18px; font-weight:700; font-style:italic; color:var(--acc); margin:0 0 8px; }
.at-rich .at-other p { font-size:15px; line-height:1.5; color:var(--dark); margin:0; }

/* 6. Кому подойдёт */
.at-rich .at-fit__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.at-rich .at-fit__card { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:34px 32px; }
.at-rich .at-fit__icon { width:54px; height:54px; border-radius:50%; background:#EEDFF6; display:inline-flex; align-items:center; justify-content:center; margin-bottom:20px; }
.at-rich .at-fit__icon svg { width:28px; height:28px; }
.at-rich .at-fit__card h3 { font-family:var(--display); font-size:22px; font-weight:700; color:var(--acc); margin:0 0 20px; line-height:1.2; }
.at-rich .at-fit__card li { position:relative; padding-left:20px; margin-bottom:14px; font-size:15px; line-height:1.45; color:var(--dark); }
.at-rich .at-fit__card li::before { content:'•'; position:absolute; left:4px; color:var(--dark); font-weight:700; }
.at-rich .at-ideal { margin-top:44px; }
.at-rich .at-ideal h3 { font-family:var(--display); font-style:italic; font-size:24px; font-weight:700; color:var(--acc); margin:0 0 26px; }
.at-rich .at-ideal__grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 40px; }
.at-rich .at-ideal__item { display:flex; align-items:center; gap:14px; font-size:17px; color:var(--dark); }

/* Финальная фиолетовая CTA-плашка (наезжает на чёрный футер — 1:1 с .final-cta остальных страниц) */
.at-rich .at-cta { width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); padding:clamp(56px,8vh,96px) 0 0; margin-bottom:-88px; position:relative; z-index:2; }
.at-rich .at-cta .container { max-width:1384px; }
.at-rich .at-cta__bar { background:var(--acc); border-radius:40px; padding:44px clamp(40px,4vw,64px); display:flex; align-items:center; justify-content:space-between; gap:clamp(24px,3vw,48px); flex-wrap:nowrap; box-shadow:0 40px 80px -40px rgba(177,94,204,.5); }
.at-rich .at-cta__text { flex:0 1 auto; min-width:0; }
.at-rich .at-cta__title { font-family:var(--display); font-size:clamp(28px,3vw,42px); font-weight:500; text-transform:uppercase; line-height:1.1; color:#fff; margin:0; white-space:nowrap; }
.at-rich .at-cta__sub { font-size:clamp(18px,2.4vw,31px); font-weight:500; color:#fff; margin:8px 0 0; line-height:1.2; }
.at-rich .at-cta__btn { flex-shrink:0; background:#fff; color:var(--dark); border-radius:30px; padding:28px 52px; font-family:var(--display); font-weight:500; font-size:17px; text-transform:uppercase; white-space:nowrap; transition:transform .2s, box-shadow .2s; }
.at-rich .at-cta__btn:hover { transform:translateY(-2px); box-shadow:0 14px 32px -12px rgba(0,0,0,.3); }

/* Форма «Хотите учиться в Австрии?» */
.at-rich .at-lead__grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.at-rich .at-lead__h { font-family:var(--display); font-size:clamp(28px,3.4vw,40px); font-weight:700; color:var(--dark); margin:0 0 18px; }
.at-rich .at-lead__sub { font-size:17px; line-height:1.6; color:var(--mut); margin:0 0 28px; max-width:520px; }
.at-rich .at-form { display:flex; flex-direction:column; gap:14px; }
.at-rich .at-form__input { width:100%; border:1px solid #e3e3e3; background:#fff; border-radius:100px; padding:18px 26px; font-size:16px; color:var(--dark); font-family:inherit; outline:none; transition:border-color .2s; }
.at-rich .at-form__input::placeholder { color:#9a9a9a; }
.at-rich .at-form__input:focus { border-color:var(--acc); }
.at-rich .at-form__select { appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 24px center; padding-right:48px; cursor:pointer; }
.at-rich .at-form__check { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--mut); margin:4px 0; }
.at-rich .at-form__check a { color:var(--acc); }
.at-rich .at-form__btn { background:var(--acc); color:#fff; border:none; border-radius:100px; padding:20px 28px; font-family:var(--display); font-weight:500; font-size:17px; cursor:pointer; transition:filter .2s, transform .2s; }
/* Форма заменена ссылкой в CRM (одна воронка заявок) — <a> нужно
   вернуть кнопочное поведение: <button> был блочным внутри flex-формы. */
.at-rich a.at-form__btn { display:inline-block; text-decoration:none; text-align:center; margin-top:8px; }
.at-rich .at-form__btn:hover { filter:brightness(1.06); transform:translateY(-1px); }
.at-rich .at-lead__photo img { width:100%; height:100%; max-height:560px; object-fit:cover; border-radius:24px; display:block; }
/* 3 услуги под формой */
.at-rich .at-serv { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:56px; }
.at-rich .at-serv__item { text-align:center; padding:0 16px; }
.at-rich .at-serv__ic { display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:50%; background:rgba(177,94,204,.10); margin-bottom:18px; }
.at-rich .at-serv__ic svg { width:30px; height:30px; }
.at-rich .at-serv__h { font-family:var(--display); font-size:21px; font-weight:700; color:var(--acc); margin:0 0 10px; }
.at-rich .at-serv__p { font-size:16px; line-height:1.55; color:var(--mut); margin:0; max-width:320px; margin-left:auto; margin-right:auto; }

/* Читайте далее */
.at-rich .at-readmore__h { font-family:var(--display); font-size:clamp(26px,3vw,36px); font-weight:700; text-transform:uppercase; text-align:center; color:var(--dark); margin:0 0 40px; }
.at-rich .at-readmore__grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; max-width:800px; margin:0 auto; }
.at-rich .at-article { position:relative; display:flex; flex-direction:column; background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.10); text-decoration:none; transition:transform .2s, box-shadow .2s; }
.at-rich .at-article__link { position:absolute; inset:0; z-index:3; text-indent:-9999px; overflow:hidden; }
.at-rich .at-article > p:empty, .at-rich .at-readmore__grid > p { display:none; }
.at-rich .at-article > p { margin:0; }
.at-rich .at-article:hover { transform:translateY(-4px); box-shadow:0 30px 60px rgba(0,0,0,.16); }
.at-rich .at-article__img { position:relative; height:240px; flex:none; }
.at-rich .at-article__img img { width:100%; height:100%; object-fit:cover; display:block; }
.at-rich .at-article__tag { position:absolute; top:16px; left:16px; background:rgba(40,40,40,.82); color:#fff; font-size:12px; font-weight:600; letter-spacing:.5px; padding:6px 14px; border-radius:6px; }
.at-rich .at-article__body { padding:24px 26px 28px; }
.at-rich .at-article__date { font-style:italic; font-size:14px; color:var(--mut); margin-bottom:10px; }
.at-rich .at-article__title { font-family:var(--display); font-size:22px; font-weight:700; color:var(--dark); margin:0 0 12px; line-height:1.2; }
.at-rich .at-article__desc { font-size:15px; line-height:1.55; color:var(--mut); margin:0; }

/* Мобайл */
@media (max-width:860px){
	.at-rich .at-why__grid, .at-rich .at-why__feats, .at-rich .at-why__note, .at-rich .at-cost__grid, .at-rich .at-others__grid, .at-rich .at-ideal__grid { grid-template-columns:minmax(0,1fr); }
	.at-rich .at-degrees, .at-rich .at-types__grid, .at-rich .at-unis__grid, .at-rich .at-fit__grid, .at-rich .at-alt, .at-rich .at-req__cards { grid-template-columns:minmax(0,1fr); }
	/* Грид-дети должны сжиматься до контейнера (иначе min-content раздувает колонку за край 320px) */
	.at-rich .at-card, .at-rich .at-degree, .at-rich .at-uni, .at-rich .at-type, .at-rich .at-alt__card, .at-rich .at-fit__col { min-width:0; }
	.at-rich .at-card, .at-rich .at-degree, .at-rich .de-lang, .at-rich .de-lang__list li { overflow-wrap:break-word; }
	/* Длинные значения стоимости (напр. UK «£348 + £470/год (Immigration Health Surcharge)») переносим, чтобы не вылезали за рамку */
	.at-rich .at-cost__row b { white-space:normal; text-align:right; }
	.at-rich .at-lead__grid { grid-template-columns:1fr; gap:32px; }
	.at-rich .at-lead__photo { order:-1; }
	.at-rich .at-serv { grid-template-columns:1fr; gap:36px; margin-top:40px; }
	.at-rich .at-readmore__grid { grid-template-columns:1fr; max-width:420px; margin:0 auto; }
	.at-rich .at-gallery { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
	.at-rich .at-gallery__big { grid-row:auto; grid-column:1 / -1; }
	.at-rich .at-gallery__big img { min-height:220px; }
	.at-rich .at-sec { padding:48px 0; }
	.at-rich .at-fixed { background-attachment:scroll; padding:40px 0 56px; }
	.at-rich .at-fixed .container { gap:24px; }
	.at-rich .at-card, .at-rich .at-types, .at-rich .at-others, .at-rich .at-important { padding:28px 24px; }
	.at-rich .at-cities { grid-template-columns:1fr 1fr; }
	.at-rich .at-cta { margin-bottom:-80px; }
	/* Фиолетовая плашка во всю ширину экрана (касается краёв, как на главной) */
	.at-rich .at-cta .container { padding:0; max-width:none; }
	.at-rich .at-cta__bar { flex-direction:column; align-items:center; text-align:center; border-radius:22px; position:relative; overflow:visible; padding-bottom:0; }
	.at-rich .at-cta__title { white-space:normal; }
	.at-rich .at-cta__btn { width:100%; text-align:center; white-space:normal; padding:24px; position:relative; z-index:2; margin-bottom:-36px; }
	/* Чёрная подложка под нижними углами — без белых пробелов на стыке с футером (1:1 главная) */
	.at-rich .at-cta__bar::after { content:""; position:absolute; left:0; right:0; bottom:0; height:28px; background:var(--ink); z-index:-1; }
}

/* ============================================================
   GERMANY RICH — новые блоки (.de-*) поверх .at-rich (Австрия).
   Скоуп строго .at-rich .de-*. Акцент #B15ECC, тёмный, серый картон.
   ============================================================ */

/* Блок-нот «Почему Германия популярна для учёбы» */
.at-rich .de-note { background:#F4ECFB; border-radius:24px; padding:36px 40px; margin-top:40px; }
.at-rich .de-note__h { font-family:var(--display); font-style:italic; font-size:22px; font-weight:700; color:var(--acc); margin:0 0 22px; }
.at-rich .de-note__grid { display:grid; grid-template-columns:1fr 1fr; gap:18px 40px; }
.at-rich .de-note .at-why__noteitem p { margin:0; font-size:16px; line-height:1.5; color:var(--dark); }

/* Вкладки язык обучения (англ/нем) */
.at-rich .de-tabs { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:8px; margin:0 0 40px; }
.at-rich .de-tabs__nav { display:flex; gap:8px; background:#ececec; border-radius:18px; padding:6px; margin-bottom:24px; }
.at-rich .de-tabs__btn { flex:1; border:none; background:transparent; border-radius:14px; padding:14px 18px; font-family:var(--display); font-weight:700; font-size:16px; color:var(--mut); cursor:pointer; transition:background .2s, color .2s; }
.at-rich .de-tabs__btn.is-active { background:var(--acc); color:#fff; box-shadow:0 8px 20px -8px rgba(177,94,204,.5); }
.at-rich .de-tabs__panel { display:none; padding:6px 28px 28px; }
.at-rich .de-tabs__panel.is-active { display:block; }
.at-rich .de-tabs__h { font-family:var(--display); font-style:italic; font-weight:700; font-size:18px; color:var(--acc); margin-bottom:14px; }
.at-rich .de-tabs__list { margin:0 0 18px; }
.at-rich .de-tabs__list li { position:relative; padding-left:20px; margin-bottom:10px; font-size:16px; line-height:1.45; color:var(--dark); }
.at-rich .de-tabs__list li::before { content:'•'; position:absolute; left:4px; color:var(--acc); font-weight:700; }
.at-rich .de-tabs__note { font-size:15px; line-height:1.55; color:var(--mut); margin:0; padding-top:16px; border-top:1px solid #e7e7e7; }

/* Стоимость: пометка про евро в подзаголовке */
.at-rich .de-eur { color:var(--mut); font-size:.8em; white-space:nowrap; }

/* Блокированный счёт */
.at-rich .de-blocked { display:grid; grid-template-columns:1.4fr 1fr; gap:36px; align-items:center; background:var(--acc); color:#fff; border-radius:24px; padding:40px 44px; margin-top:36px; }
.at-rich .de-blocked__h { font-family:var(--display); font-style:italic; font-size:26px; font-weight:700; margin:0 0 16px; }
.at-rich .de-blocked__p { font-size:16px; line-height:1.6; margin:0 0 12px; }
.at-rich .de-blocked__p--muted { color:rgba(255,255,255,.85); font-size:15px; margin-bottom:0; }
.at-rich .de-blocked__amount { text-align:center; background:rgba(255,255,255,.14); border-radius:20px; padding:28px 24px; }
.at-rich .de-blocked__sum { font-family:var(--display); font-weight:800; font-size:clamp(34px,4vw,48px); line-height:1; margin-bottom:12px; }
.at-rich .de-blocked__cap { font-size:14px; line-height:1.4; color:rgba(255,255,255,.9); }

/* Стипендии и гранты */
.at-rich .de-scholar { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:40px 44px; margin-top:24px; }
.at-rich .de-scholar__h { font-family:var(--display); font-size:24px; font-weight:700; color:var(--dark); margin:0 0 24px; }
.at-rich .de-scholar__grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 40px; }
.at-rich .de-scholar__item { display:flex; gap:14px; align-items:flex-start; }
.at-rich .de-scholar__item p { margin:0; font-size:16px; line-height:1.55; color:var(--dark); }
.at-rich .de-scholar__item strong { font-family:var(--display); font-style:italic; color:var(--acc); }

/* Языковые требования (внутри at-card на фоне) */
.at-rich .de-lang__h { font-family:var(--display); font-style:italic; font-weight:700; font-size:17px; color:var(--acc); margin:18px 0 12px; }
.at-rich .de-lang__h:first-child { margin-top:0; }
.at-rich .de-lang__list { margin:0; }
.at-rich .de-lang__list li { position:relative; padding-left:20px; margin-bottom:9px; font-size:15px; line-height:1.45; color:var(--dark); }
.at-rich .de-lang__list li::before { content:'•'; position:absolute; left:4px; color:var(--acc); font-weight:700; }
.at-rich .de-lang__important { margin-top:18px; background:#F4ECFB; border-radius:14px; padding:16px 18px; font-size:14px; line-height:1.55; color:var(--dark); }
.at-rich .de-lang__important strong { color:var(--acc); }

/* Процесс поступления — нумерованные шаги */
/* Процесс и сроки подачи — заголовок слева + 2 колонки чек-списков */
.at-rich .de-submit__h { font-family:var(--display); font-size:clamp(28px,3.4vw,40px); font-weight:700; color:var(--dark); text-align:left; margin:0 0 28px; }
.at-rich .de-submit__grid { display:grid; grid-template-columns:1fr 1fr; gap:40px 56px; }
.at-rich .de-submit__sub { font-family:var(--display); font-style:italic; font-weight:700; text-transform:uppercase; font-size:15px; letter-spacing:.02em; color:var(--acc); margin:0 0 20px; }
.at-rich .de-submit__item { display:flex; gap:13px; align-items:flex-start; margin-bottom:16px; }
.at-rich .de-submit__item .at-ic { flex:none; }
.at-rich .de-submit__item p { margin:0; font-size:17px; line-height:1.5; color:var(--dark); }
.at-rich .de-submit__item strong { color:var(--acc); font-weight:700; }
/* Светло-фиолетовый блок «Процесс поступления в Studienkolleg» */
.at-rich .de-stk { background:#F4ECFB; border-radius:24px; padding:36px 44px; margin-top:40px; }
.at-rich .de-stk__h { font-family:var(--display); font-weight:700; text-transform:uppercase; font-size:20px; color:var(--acc); margin:0 0 22px; }
.at-rich .de-stk__body { display:grid; grid-template-columns:2fr 1fr; gap:40px; align-items:start; }
.at-rich .de-stk__list { columns:2; column-gap:40px; list-style:none; margin:0; padding:0; }
.at-rich .de-stk__list li { position:relative; padding-left:20px; margin-bottom:14px; font-size:16px; line-height:1.45; color:var(--dark); break-inside:avoid; }
.at-rich .de-stk__list li::before { content:""; position:absolute; left:2px; top:8px; width:6px; height:6px; border-radius:50%; background:var(--dark); }
.at-rich .de-stk__note { margin:0; font-style:italic; font-size:16px; line-height:1.55; color:var(--mut); }

/* Видео-карточки (тёмные) */
.at-rich .de-videos { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin:48px 0 0; }
.at-rich .de-video { background:var(--acc); border-radius:24px; overflow:hidden; display:flex; flex-direction:column; padding:14px; }
.at-rich .de-video__embed { position:relative; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:#000; }
.at-rich .de-video__embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.at-rich .de-video__body { padding:20px 14px 12px; }
.at-rich .de-video__title { font-family:var(--display); font-size:20px; font-weight:700; color:#fff; margin:0; line-height:1.3; }
/* кнопки каналов под видео — синяя VK + красная YouTube, по центру */
.at-rich .de-video-btns { display:flex; justify-content:center; gap:20px; margin:26px 0 8px; flex-wrap:wrap; }
.at-rich .de-video-btn { border-radius:100px; padding:15px 30px; font-family:var(--display); font-weight:600; font-size:15px; color:#fff; transition:filter .2s, transform .2s; }
.at-rich .de-video-btn:hover { filter:brightness(1.06); transform:translateY(-1px); }
.at-rich .de-video-btn--vk { background:#2787F5; }
.at-rich .de-video-btn--yt { background:#FF1F1F; }
@media (max-width:860px){
	.at-rich .de-videos { grid-template-columns:1fr; }
	.at-rich .de-video-btns { flex-direction:column; align-items:center; }
}

/* Популярные студенческие города */
.at-rich .de-cities { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:8px; }
.at-rich .de-city { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:32px 30px; display:flex; flex-direction:column; }
.at-rich .de-city__name { font-family:var(--display); font-size:24px; font-weight:700; color:var(--acc); margin:0 0 12px; }
.at-rich .de-city__desc { font-size:15px; line-height:1.55; color:var(--dark); margin:0 0 18px; }
.at-rich .de-city__tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:20px; }
.at-rich .de-city__tags span { background:#EEDFF6; color:var(--acc); font-size:13px; font-weight:600; padding:6px 14px; border-radius:100px; }
.at-rich .de-city__unis-h { font-family:var(--display); font-style:italic; font-weight:700; font-size:15px; color:var(--dark); margin-bottom:10px; }
.at-rich .de-city__unis li { position:relative; padding-left:20px; margin-bottom:8px; font-size:15px; color:var(--dark); }
.at-rich .de-city__unis li::before { content:'•'; position:absolute; left:4px; color:var(--acc); font-weight:700; }
.at-rich .de-othercities { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:32px 36px; margin-top:28px; }
.at-rich .de-othercities__h { font-family:var(--display); font-size:20px; font-weight:700; color:var(--dark); margin:0 0 18px; }
.at-rich .de-othercities__grid { display:flex; flex-wrap:wrap; gap:12px; }
.at-rich .de-othercities__item { background:#fff; border:1px solid #ececec; color:var(--dark); font-size:15px; font-weight:500; padding:10px 18px; border-radius:100px; }

/* Sub-name под названием вуза (немецкое полное имя) */
.at-rich .de-uni__sub { font-family:var(--display); font-style:italic; font-size:14px; color:var(--mut); margin-bottom:14px; }

/* Испания — бизнес-школы (3 карточки: фото + название + кнопка) */
.at-rich .es-bs { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin:8px 0 8px; }
.at-rich .es-bs__card { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; overflow:hidden; display:flex; flex-direction:column; }
.at-rich .es-bs__img { aspect-ratio:16/10; background:#eee; overflow:hidden; }
.at-rich .es-bs__img img { width:100%; height:100%; object-fit:cover; display:block; }
.at-rich .es-bs__name { font-family:var(--display); font-weight:700; font-size:18px; line-height:1.25; margin:22px 26px 16px; flex:1 0 auto; }
.at-rich .es-bs__btn { align-self:flex-start; margin:0 26px 26px; border-radius:100px; padding:12px 28px; background:#b15ecc; color:#fff; font-family:var(--display); font-weight:600; font-size:15px; transition:filter .2s, transform .2s; }
.at-rich .es-bs__btn:hover { filter:brightness(1.06); transform:translateY(-1px); }

/* Венгрия — бюджет-сценарии (2 карточки: сумма + список) */
.at-rich .hu-budgets { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-bottom:20px; }
.at-rich .hu-budget { background:#F6F6F6; border:1px solid #efefef; border-radius:20px; padding:24px 22px; }
.at-rich .hu-budget--hl { background:#F4ECFB; border-color:#e4d2f2; }
.at-rich .hu-budget__sum { font-family:var(--display); font-weight:800; font-size:30px; color:var(--dark); line-height:1; }
.at-rich .hu-budget__sum small { font-size:14px; font-weight:600; color:var(--mut); }
.at-rich .hu-budget__title { font-family:var(--display); font-weight:700; font-size:16px; color:var(--acc); margin:6px 0 14px; }
.at-rich .hu-budget ul { list-style:none; margin:0; padding:0; }
.at-rich .hu-budget li { position:relative; padding-left:20px; margin-bottom:8px; font-size:15px; color:var(--dark); }
.at-rich .hu-budget li::before { content:""; position:absolute; left:3px; top:8px; width:6px; height:6px; border-radius:50%; background:var(--acc); }
.at-rich .de-scholar__grid--col { grid-template-columns:1fr; }
.at-rich .de-scholar--incol { margin-top:20px; }
/* Венгрия — одинаковая высота фиолетовых шапок в карточках вузов (имена разной длины) */
.at-rich .hu-unis .at-uni__head { min-height:152px; }
/* Венгрия/Нидерланды — фикс высоты галереи (фото разной ориентации, кроп через object-fit как у др. стран) */
.at-rich .hu-gallery, .at-rich .nl-gallery, .at-rich .cn-gallery, .at-rich .ko-gallery { grid-template-rows:161px 161px; }
.at-rich .nl-unis .at-uni__head { min-height:124px; }
/* Корея — лавандовая шапка вуза с иконкой (как в оригинале), тёмный текст */
.at-rich .ko-unis .at-uni__head { background:#F4ECFB; min-height:118px; align-items:flex-start; }
.at-rich .ko-unis .at-uni__name { color:var(--dark); font-size:21px; }
.at-rich .ko-uni__ic { flex:none; width:46px; height:46px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; }
.at-rich .ko-uni__ic svg { width:24px; height:24px; }
.at-rich .ko-lang__intro { font-size:15px; line-height:1.55; color:var(--mut); margin:0 0 20px; max-width:760px; }
/* Китай — шапка вуза без логотипа (английское + китайское название в колонку) */
.at-rich .cn-unis .at-uni__head--col { flex-direction:column; align-items:flex-start; gap:4px; min-height:104px; justify-content:center; }
.at-rich .cn-uni__zh { font-family:var(--display); font-size:17px; font-weight:600; color:rgba(255,255,255,.82); }
.at-rich .de-langcard__title--sm { font-size:20px; }
.at-rich .de-langs--tight { margin-top:18px; }
.at-rich .at-cost__note--top { margin:-4px 0 12px; }
/* Китай — «Кому подойдёт»: карточки по размеру контента, как в оригинале
   (Плюсы крупнее, Минусы компактнее — НЕ растягиваем до равной высоты). */
.at-rich .cn-fit { align-items:start; }
/* Левая колонка «Тип студентов» — в отдельной СЕРОЙ карточке (как в оригинале),
   а не просто текстом. Справа Плюсы/Минусы остаются лавандовыми карточками. */
.at-rich .cn-fit .us-types { background:#F6F6F6; border:1px solid #efefef; border-radius:24px; padding:36px 40px; }
/* Китай — лавандовый блок «Способы подачи документов» (3 колонки: сайт/агенты/процесс-нумерованный) */
.at-rich .cn-apply { background:#F4ECFB; border-radius:24px; padding:40px 44px; margin-top:28px; }
.at-rich .cn-apply__h { font-family:var(--display); font-style:italic; font-weight:700; font-size:18px; letter-spacing:.4px; text-transform:uppercase; color:var(--acc); margin:0 0 26px; }
.at-rich .cn-apply__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; align-items:start; }
.at-rich .cn-apply__col h4 { font-family:var(--display); font-weight:700; font-size:19px; color:var(--dark); margin:0 0 16px; }
.at-rich .cn-apply__list { margin:0; padding-left:20px; }
.at-rich .cn-apply__list li { font-size:15px; line-height:1.5; color:var(--dark); margin-bottom:11px; }
.at-rich .cn-apply__list--num { list-style:decimal; }
/* Китай — гос/частные вузы равной высоты + кнопка стипендий */
.at-rich .cn-unis-vuz .de-langcard { height:100%; }
.at-rich .de-scholar__cta { text-align:center; margin-top:28px; }

/* Мобайл — Германия */
@media (max-width:860px){
	.at-rich .de-note, .at-rich .de-note__grid, .at-rich .de-scholar__grid, .at-rich .de-submit__grid, .at-rich .de-stk__body, .at-rich .de-videos, .at-rich .de-cities, .at-rich .es-bs, .at-rich .hu-budgets, .at-rich .cn-apply__grid, .at-rich .uk-colleges { grid-template-columns:1fr; }
	.at-rich .de-note, .at-rich .de-scholar, .at-rich .de-othercities, .at-rich .de-stk { padding:28px 24px; }
	.at-rich .de-tabs__nav { flex-direction:column; }
	.at-rich .de-tabs__panel { padding:6px 16px 22px; }
	.at-rich .de-blocked { grid-template-columns:1fr; gap:24px; padding:28px 24px; text-align:left; }
	.at-rich .de-stk__list { columns:1; }
	.at-rich .hu-unis .at-uni__head { min-height:0; }
	.at-rich .nl-unis .at-uni__head { min-height:0; }
	.at-rich .cn-unis .at-uni__head--col { min-height:0; }
	.at-rich .ko-unis .at-uni__head { min-height:0; }
	.at-rich .hu-gallery, .at-rich .nl-gallery, .at-rich .cn-gallery, .at-rich .ko-gallery { grid-template-rows:auto; }
	/* ====== Анти-overflow на мобайле (320px-safe): схлопывание инлайн-гридов + сжатие колонок + паддинги ====== */
	.at-rich .cn-apply__grid { grid-template-columns:1fr !important; gap:26px !important; }
	.at-rich .us-fit__grid, .at-rich .us-scenarios, .at-rich .us-docs, .at-rich .us-alt,
	.at-rich .us-degrees, .at-rich .de-langs, .at-rich .hu-budgets { grid-template-columns:minmax(0,1fr) !important; }
	.at-rich .cn-apply__col, .at-rich .us-types, .at-rich .us-procon, .at-rich .us-pm,
	.at-rich .us-scenario, .at-rich .us-alt__card, .at-rich .us-type, .at-rich .us-type__body,
	.at-rich .de-langcard { min-width:0; }
	.at-rich .cn-fit .us-types, .at-rich .us-types { padding:28px 22px; }
	.at-rich .us-pm, .at-rich .us-scenario, .at-rich .de-langcard { padding:26px 22px; }
	.at-rich .cn-apply { padding:28px 22px; }
}

/* Германия — секция «Что нужно знать»: заголовок слева, факты в одну колонку (1:1 оригинал) */
.at-rich .at-h--left { text-align:left; }
.at-rich .at-why__feats--col { grid-template-columns:1fr; gap:22px; }

/* Германия — 2 статичные карточки «язык обучения» (после ступеней, 1:1 оригинал) */
.at-rich .de-langs { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:32px; }
.at-rich .de-langcard { background:#F6F6F6; border-radius:24px; padding:36px 40px; }
.at-rich .de-langcard__emoji { width:44px; height:44px; display:block; margin:0 0 14px; }
.at-rich .de-langcard__title { font-family:var(--display); font-size:24px; font-weight:700; color:var(--dark); margin:0 0 18px; }
.at-rich .de-langcard__h { font-size:15px; font-weight:600; color:var(--acc); margin-bottom:14px; }
.at-rich .de-langcard__list { list-style:none; margin:0 0 18px; padding:0; }
.at-rich .de-langcard__list li { position:relative; padding-left:22px; margin-bottom:10px; font-size:16px; line-height:1.5; color:var(--dark); }
.at-rich .de-langcard__list li::before { content:""; position:absolute; left:4px; top:9px; width:7px; height:7px; border-radius:50%; background:var(--acc); }
.at-rich .de-langcard__note { font-size:15px; line-height:1.55; color:var(--mut); margin:0; }

/* Германия — readmore из 3 карточек */
.at-rich .at-readmore__grid--3 { grid-template-columns:repeat(3,1fr); max-width:1180px; }
@media (max-width:860px){
	.at-rich .de-langs { grid-template-columns:1fr; }
	.at-rich .at-readmore__grid--3 { grid-template-columns:1fr; max-width:420px; }
}

/* Германия — вузы: рейтинг (курсив) и студенты в подвале справа */
.at-rich .de-uni__rank { font-family:var(--display); font-style:italic; font-weight:600; font-size:17px; color:var(--acc); margin:0 0 14px; }
.at-rich .de-uni__students { color:var(--mut); font-size:15px; }

/* ============================================================
   США (.us-*) — новые блоки: сценарии бюджета, плюсы/минусы,
   типы студентов, альтернативные пути, F-1 список. Скоуп .at-rich.
   ============================================================ */

/* Система образования: 5 карточек в 2-3 ряда (вместо 3) */
.at-rich .us-degrees { grid-template-columns:repeat(3,1fr); }

/* Финансовая помощь — список с галочками внутри cost-card */
.at-rich .us-fin { list-style:none; margin:0; padding:0; }
.at-rich .us-fin li { display:flex; align-items:flex-start; gap:10px; padding:9px 0; border-bottom:1px solid #e7e7e7; font-size:15px; line-height:1.5; color:var(--dark); }
.at-rich .us-fin li:last-child { border-bottom:0; }
.at-rich .us-fin .at-ic { flex:0 0 18px; width:18px; height:18px; margin-top:1px; }
.at-rich .us-fin .at-ic svg { width:18px; height:18px; }

/* Сценарии бюджета — две карточки под расходами */
.at-rich .us-scenarios { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.at-rich .us-scenario { background:#F4ECFB; border:1px solid #ecdcf7; border-radius:20px; padding:22px 24px; }
.at-rich .us-scenario__name { font-family:var(--display); font-weight:700; font-size:16px; color:var(--dark); margin-bottom:6px; }
.at-rich .us-scenario__sum { font-family:var(--display); font-weight:700; font-size:24px; color:var(--acc); margin-bottom:14px; }
.at-rich .us-scenario ul { list-style:none; margin:0; padding:0; }
.at-rich .us-scenario li { position:relative; padding-left:18px; margin-bottom:8px; font-size:15px; line-height:1.5; color:var(--mut); }
.at-rich .us-scenario li::before { content:""; position:absolute; left:2px; top:8px; width:6px; height:6px; border-radius:50%; background:var(--acc); }

/* Необходимые документы — широкая карточка, 2 колонки галочек */
.at-rich .us-docs { display:grid; grid-template-columns:1fr 1fr; gap:8px 40px; }

/* F-1 — нумерованный список в 2 колонки */
.at-rich .de-stk__body--full { display:block; }
.at-rich .us-stk__list--ol { list-style:none; counter-reset:fone; margin:0; padding:0; columns:2; column-gap:40px; }
.at-rich .us-stk__list--ol li { counter-increment:fone; position:relative; padding-left:34px; margin-bottom:14px; font-size:16px; line-height:1.5; color:var(--dark); break-inside:avoid; }
.at-rich .us-stk__list--ol li::before { content:counter(fone); position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; background:var(--acc); color:#fff; font-family:var(--display); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; }

/* Альтернативные пути — 2 карточки внутри светло-фиолетового блока */
.at-rich .us-alt { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.at-rich .us-alt__card { background:#fff; border-radius:18px; padding:24px 26px; }
.at-rich .us-alt__name { font-family:var(--display); font-weight:700; font-size:18px; color:var(--acc); margin:0 0 14px; }
.at-rich .us-alt__card ul { list-style:none; margin:0; padding:0; }
.at-rich .us-alt__card li { position:relative; padding-left:18px; margin-bottom:9px; font-size:15px; line-height:1.5; color:var(--dark); }
.at-rich .us-alt__card li::before { content:""; position:absolute; left:2px; top:9px; width:6px; height:6px; border-radius:50%; background:var(--acc); }

/* Кому подойдёт — 2 колонки: тип студентов (слева) + Плюсы/Минусы (справа) */
.at-rich .us-fit__grid { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; }
.at-rich .us-fit__grid > p { display:none; }
.at-rich .us-fit__grid > .us-types { grid-column:1; }
.at-rich .us-fit__grid > .us-procon { grid-column:2; }
/* Левая колонка — тип студентов (иконка + курсив-лейбл + описание) */
.at-rich .us-types__h { font-family:var(--display); font-weight:700; font-size:clamp(24px,2.4vw,30px); color:var(--acc); margin:0 0 26px; }
.at-rich .us-type { display:flex; gap:18px; align-items:flex-start; margin-bottom:26px; }
.at-rich .us-type__ic { flex:none; width:52px; height:52px; border-radius:50%; background:rgba(177,94,204,.10); display:flex; align-items:center; justify-content:center; }
.at-rich .us-type__ic svg { width:26px; height:26px; }
.at-rich .us-type__name { font-family:var(--display); font-style:italic; font-weight:700; font-size:19px; color:var(--acc); margin:0 0 6px; }
.at-rich .us-type__body p { font-size:16px; line-height:1.55; color:var(--dark); margin:0; }
/* Правая колонка — Плюсы + Минусы (лавандовые карточки, фиолетовые иконки) */
.at-rich .us-procon { display:flex; flex-direction:column; gap:24px; }
.at-rich .us-pm { background:#F4ECFB; border-radius:24px; padding:32px 36px; }
.at-rich .us-pm__h { font-family:var(--display); font-weight:700; font-size:24px; color:var(--dark); margin:0 0 22px; }
.at-rich .us-pm ul { list-style:none; margin:0; padding:0; }
.at-rich .us-pm li { display:flex; align-items:flex-start; gap:13px; margin-bottom:16px; font-size:16px; line-height:1.5; color:var(--dark); }
.at-rich .us-pm li:last-child { margin-bottom:0; }
.at-rich .us-pm .at-ic { flex:0 0 22px; width:22px; height:22px; margin-top:1px; }
.at-rich .us-pm .at-ic svg { width:22px; height:22px; }

/* США — вузы: тип/город подзаголовок в одну строку */
.at-rich .de-uni__sub { color:var(--mut); font-size:15px; }

@media (max-width:980px){
	.at-rich .us-degrees { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
	.at-rich .us-degrees,
	.at-rich .us-scenarios,
	.at-rich .us-docs,
	.at-rich .us-alt,
	.at-rich .us-fit__grid { grid-template-columns:1fr; gap:36px; }
	.at-rich .us-fit__grid > .us-types, .at-rich .us-fit__grid > .us-procon { grid-column:auto; }
	.at-rich .us-stk__list--ol { columns:1; }
}

/* ====== Великобритания (UK) — спец-блоки .uk-* ====== */

/* Особенности образования / типы заведений — карточки без эмодзи (3 в ряд) */
.at-rich .uk-edufeats { margin-bottom:28px; }
.at-rich .uk-edufeats .at-degree { padding:30px 28px; }
.at-rich .uk-edufeats .at-degree__name { font-size:22px; margin-bottom:16px; }

/* Сроки подачи — три колонки по уровням */
.at-rich .uk-deadlines { display:grid; grid-template-columns:repeat(3,1fr); gap:28px 40px; }
.at-rich .uk-deadline__name { font-family:var(--display); font-style:italic; font-weight:700; text-transform:uppercase; font-size:15px; letter-spacing:.02em; color:var(--acc); margin:0 0 16px; }

/* Языковые колледжи — три белые карточки с фото, городом и кнопкой */
.at-rich .uk-colleges { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.at-rich .uk-colleges > p { display:none; }
.at-rich .uk-college { background:#fff; border:1px solid var(--bd); border-radius:24px; overflow:hidden; box-shadow:0 18px 50px rgba(0,0,0,.08); display:flex; flex-direction:column; }
.at-rich .uk-college__img { aspect-ratio:16/10; overflow:hidden; }
.at-rich .uk-college__img img { width:100%; height:100%; object-fit:cover; display:block; }
.at-rich .uk-college__body { padding:26px 28px 30px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; flex:1; }
.at-rich .uk-college__name { font-family:var(--display); font-size:23px; font-weight:700; color:var(--dark); margin:0; }
.at-rich .uk-college__city { color:var(--mut); font-size:15px; margin-bottom:16px; }
.at-rich .uk-college__btn { margin-top:auto; display:inline-block; background:var(--acc); color:#fff; text-decoration:none; font-weight:600; font-size:15px; padding:11px 26px; border-radius:100px; transition:opacity .2s; }
.at-rich .uk-college__btn:hover { opacity:.88; }

@media (max-width:860px){
	.at-rich .uk-edufeats,
	.at-rich .uk-deadlines,
	.at-rich .uk-colleges { grid-template-columns:1fr; gap:24px; }
}

/* UK — Процедура подачи: этапы (нумерованный список) + сроки, 2 колонки на белом */
.at-rich .uk-stages__list { margin:0; padding:0 0 0 22px; }
.at-rich .uk-stages__list li { margin-bottom:14px; font-size:16px; line-height:1.5; color:var(--dark); padding-left:6px; }
.at-rich .uk-stages__list li::marker { color:var(--acc); font-weight:700; }
.at-rich .uk-deadline { margin-bottom:22px; }
.at-rich .uk-deadline__name { font-family:var(--display); font-weight:700; font-size:18px; color:var(--acc); margin:0 0 10px; }
.at-rich .uk-deadline__list { list-style:none; margin:0; padding:0; }
.at-rich .uk-deadline__list li { position:relative; padding-left:20px; margin-bottom:9px; font-size:16px; line-height:1.5; color:var(--dark); }
.at-rich .uk-deadline__list li::before { content:""; position:absolute; left:3px; top:9px; width:6px; height:6px; border-radius:50%; background:var(--acc); }
@media (max-width:860px){ .at-rich .uk-stages, .at-rich .uk-deadlines { grid-column:auto; } }

/* UK — видео VK в блоке «Что нужно знать» (вместо статичного фото) */
.at-rich .uk-why__video { position:relative; border-radius:22px; overflow:hidden; aspect-ratio:16/10; background:#000; height:auto; }
.at-rich .uk-why__video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

/* UK — подзаголовки «Особенности»/«Типы» с 3D-эмодзи (1:1 оригинал) */
.at-rich .uk-subhead { display:flex; align-items:center; gap:14px; text-align:left; justify-content:flex-start; }
.at-rich .uk-subhead__emoji { width:40px; height:40px; flex:none; }
