.t1206__card {
  background: #fff; /* нужен фон, иначе тень «не видна» */
  box-shadow: 0px 2px 3px rgba(0,11,48,0.25);
  border-radius: 0px; /* опционально, чтобы смотрелось аккуратнее */
}

/* Делаем кликабельной всю карточку T1206 */
.t1206__card {
  position: relative;          /* якорь для растяжки */
  cursor: pointer;             /* рука при наведении */
}

.t1206__card .t1206__card-title a {
  position: static !important; /* важно: ссылка НЕ должна быть position: relative */
  z-index: 1;
}

/* Растягиваем кликабельную область ссылки на всю карточку */
.t1206__card .t1206__card-title a::after {
  content: "";
  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
  background: transparent;     /* невидимая «плёнка» */
}





/* =========================================================
   GOETHE EXAMS — FINAL GLOBAL CSS
   ========================================================= */

:root {
  --brand-green: #a0c814;
  --brand-white: #ffffff;
  --light-blue-bg: #f5f9ff;
  --light-green-bg: #ecf6db;
  --light-gray-bg: #e0e0e0;
  --label-bg: #eaf6ce;
  --label-color: #345800;
  --border-radius: 5px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 2px 10px rgba(0,0,0,0.08);
  --tilda-fonts: "TildaSans", "Tilda Sans", "TildaSansVF", "Tilda Sans VF", Arial, sans-serif;
}

/* =========================================================
   ОБЩИЙ КОНТЕЙНЕР И СЕТКА
   ========================================================= */

.t951__cont-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

.t951__sidebar,
.t951__sidebar-wrapper {
  padding-left: 24px !important;
  padding-right: 18px !important;
  box-sizing: border-box !important;
}

.t951__grid-cont {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (min-width: 1400px) {
  .t951__grid-cont {
    max-width: 900px !important;
  }
}

/* =========================================================
   СПИСОК КАРТОЧЕК
   ========================================================= */

.t-store__card-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.t-store__grid-separator {
  display: none !important;
}

.gi-exam-card {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: box-shadow .2s ease, border-color .2s ease !important;
}

.gi-exam-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.10) !important;
  border-color: rgba(0,0,0,.12) !important;
}

.gi-exam-card a {
  text-decoration: none !important;
}

/* =========================================================
   ВНУТРЕННОСТЬ КАРТОЧКИ
   ========================================================= */

.gi-exam-card .t-store__card__wrap_txt-and-btns {
  min-height: 92px !important;
  padding: 18px 24px 18px 28px !important;
  box-sizing: border-box !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 28px !important;
  row-gap: 18px !important;
  align-items: start !important;
}

.gi-exam-card .t-store__card__textwrapper {
  min-width: 0 !important;
  width: 100% !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.gi-exam-card .t-store__card__title {
  margin: 0 0 6px 0 !important;
  min-width: 0;
}

.gi-exam-card .t-store__card__descr,
.gi-exam-card .js-store-prod-descr {
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

/* =========================================================
   СТАНДАРТНУЮ ЦЕНУ ТИЛЬДЫ ПРЯЧЕМ
   ========================================================= */

.gi-exam-card .js-store-prod-price,
.gi-exam-card .t-store__card__price,
.gi-exam-card .t-store__card__price-wrapper,
.gi-exam-card .t-store__card__price_old {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* =========================================================
   ПРАВЫЙ БЛОК: ЦЕНА + КНОПКА
   НА ШИРОКОМ ЭКРАНЕ — КАК РАНЬШЕ: ЦЕНА И КНОПКА СПРАВА
   ========================================================= */

.gi-exam-card .t-store__card__btns-wrapper,
.gi-exam-card .js-store-buttons-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  min-width: 0;
  width: auto !important;
  align-self: center !important;

  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
}

.gi-exam-card .gi-showcase-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  min-width: 210px;
  max-width: 260px;
  line-height: 1.15;
  font-family: 'Montserrat', sans-serif !important;
  order: 1;
}

.gi-exam-card .gi-showcase-price__full {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}

.gi-exam-card .gi-showcase-price__sub {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.25;
  color: #2d2d2d;
  white-space: normal;
}

.gi-exam-card .gi-showcase-price__sub.is-muted {
  color: #6b6b6b;
}

.gi-exam-card.gi-hide-price .gi-showcase-price {
  display: none !important;
}

/* =========================================================
   КНОПКА
   ========================================================= */

.gi-exam-card .t-store__card__btn,
.gi-exam-card .t-btn {
  order: 2;
  width: 131px !important;
  min-width: 131px !important;
  max-width: 131px !important;
  height: 48px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.gi-exam-card .t-store__card__btn .t-btnflex__text {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

.gi-exam-card .t-store__card__btn_second {
  display: none !important;
}

/* состояния кнопок */
.gi-exam-card.gi-card-open-later .t-store__card__btn,
.gi-exam-card.gi-card-open-later .t-btn {
  background: #dce9b8 !important;
  border-color: #dce9b8 !important;
  color: #596126 !important;
  pointer-events: none !important;
  cursor: default !important;
  box-shadow: none !important;
}

.gi-exam-card.gi-card-closed .t-store__card__btn,
.gi-exam-card.gi-card-closed .t-btn,
.gi-exam-card.gi-card-no-places .t-store__card__btn,
.gi-exam-card.gi-card-no-places .t-btn {
  background: #dedede !important;
  border-color: #dedede !important;
  color: #666 !important;
  pointer-events: none !important;
  cursor: default !important;
  box-shadow: none !important;
}

/* =========================================================
   LEVEL BADGE
   ========================================================= */

.gi-exam-card .gi-levelwrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 6px 0;
  min-width: 0;
}

.gi-exam-card .gi-levelbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  min-width: 45px;
  height: 28px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  flex: 0 0 auto;
  background: #3f4b53;
}

.gi-exam-card .gi-levelbadge[data-lv^="A"] { background: #82055f !important; }
.gi-exam-card .gi-levelbadge[data-lv^="B"] { background: #eb6400 !important; }
.gi-exam-card .gi-levelbadge[data-lv^="C"] { background: #003969 !important; }

.gi-exam-card .gi-levelwrap .t-store__card__title,
.gi-exam-card .gi-levelwrap .js-product-name {
  margin: 0 !important;
  min-width: 0;
}

/* =========================================================
   STICKY САЙДБАР
   ========================================================= */

@media (min-width: 980px) {
  .t951__sidebar,
  .t951__sidebar-wrapper {
    position: sticky !important;
    top: 90px !important;
    align-self: flex-start !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
}

/* =========================================================
   ПЕРВЫЙ ВАЖНЫЙ БРЕЙКПОИНТ
   РАНЬШЕ ЛОМАЕМ РЯД И УНОСИМ КНОПКУ ВНИЗ
   ========================================================= */

@media (max-width: 1360px) {
  .gi-exam-card .t-store__card__wrap_txt-and-btns {
    grid-template-columns: 1fr !important;
  }

  .gi-exam-card .t-store__card__btns-wrapper,
  .gi-exam-card .js-store-buttons-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    align-self: start !important;
  }

  .gi-exam-card .gi-showcase-price {
    width: 100%;
    min-width: 0;
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .gi-exam-card .t-store__card__btn,
  .gi-exam-card .t-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   МОБИЛКА
   ========================================================= */

@media (max-width: 640px) {
  .t951__cont-wrapper,
  .t951__grid-cont,
  .t-store__card-list,
  .gi-exam-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .t951__cont-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .gi-exam-card .t-store__card__wrap_txt-and-btns {
    min-height: 0 !important;
    padding: 22px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .gi-exam-card .t-store__card__textwrapper {
    width: 100% !important;
  }

  .gi-exam-card .gi-levelwrap {
    gap: 10px;
    align-items: flex-start;
  }

  .gi-exam-card .gi-levelbadge {
    min-width: 45px;
    height: 28px;
    font-size: 14px;
    line-height: 1;
  }

  .gi-exam-card .gi-showcase-price {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .gi-exam-card .gi-showcase-price__full {
    font-size: 20px;
    line-height: 1.1;
  }

  .gi-exam-card .gi-showcase-price__sub {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.3;
  }

  .gi-exam-card .t-store__card__btns-wrapper,
  .gi-exam-card .js-store-buttons-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .gi-exam-card .t-store__card__btn,
  .gi-exam-card .t-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 48px !important;
  }
}


/* карточка не кликается */
.gi-exam-card {
  cursor: default !important;
}

.gi-exam-card,
.gi-exam-card *,
.gi-exam-card .t-store__card__wrap_txt-and-btns,
.gi-exam-card .t-store__card__textwrapper,
.gi-exam-card .t-store__card__title,
.gi-exam-card .t-store__card__descr,
.gi-exam-card .js-store-prod-descr,
.gi-exam-card .gi-levelwrap,
.gi-exam-card .gi-levelbadge,
.gi-exam-card .gi-showcase-price,
.gi-exam-card .gi-showcase-price__full,
.gi-exam-card .gi-showcase-price__sub {
  pointer-events: none !important;
  cursor: default !important;
}

/* кроме кнопки */
.gi-exam-card .t-store__card__btns-wrapper,
.gi-exam-card .js-store-buttons-wrapper,
.gi-exam-card .t-store__card__btn,
.gi-exam-card .t-store__card__btn *,
.gi-exam-card .t-btn,
.gi-exam-card .t-btn * {
  pointer-events: auto !important;
}

/* =========================================
   КУРСОР: ТОЛЬКО У АКТИВНОЙ КНОПКИ "ЗАПИСАТЬСЯ"
   ========================================= */

/* по умолчанию у всех кнопок курсор обычный */
.gi-exam-card .t-store__card__btn,
.gi-exam-card .t-store__card__btn *,
.gi-exam-card .t-btn,
.gi-exam-card .t-btn * {
  cursor: default !important;
}

/* pointer только у активной кнопки */
.gi-exam-card:not(.gi-card-open-later):not(.gi-card-closed):not(.gi-card-no-places) .t-store__card__btn,
.gi-exam-card:not(.gi-card-open-later):not(.gi-card-closed):not(.gi-card-no-places) .t-store__card__btn *,
.gi-exam-card:not(.gi-card-open-later):not(.gi-card-closed):not(.gi-card-no-places) .t-btn,
.gi-exam-card:not(.gi-card-open-later):not(.gi-card-closed):not(.gi-card-no-places) .t-btn * {
  cursor: pointer !important;
}