/* params custom classes */

.margin-bottom {
  margin-bottom: 40px;
}

/* 
  ADMISSION BLOCK
*/

.block-text p {
  line-height: 30px;
}

.block_margin {
  margin-bottom: 50px;
}

.title_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title_wrapper a {
  border-bottom: 2px solid rgb(var(--main-color), 1);
}
/* more in UI-Blocks.css */
/* popular queries site */

.popular-searches-wrapper {
  text-align: center;
  margin: 10px 0;
}

.popular-searches-label {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  color: rgb(var(--black-color), 1);
  vertical-align: middle;
}

.popular-searches-list {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  vertical-align: middle;
}

.popular-search-item {
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
  color: rgb(var(--black-color), 1);
  background-color: rgba(var(--gray-color), 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}

.popular-search-item:hover {
  background-color: rgba(var(--blue-color), 0.1);
  border-color: rgba(var(--blue-color), 0.25);
}

/* ── 1200px ── */
@media (max-width: 1200px) {
  .popular-searches-label {
    font-size: 15px;
  }
  .popular-search-item {
    font-size: 14px;
  }
  .popular-searches-list {
    gap: 7px;
  }
}

/* ── 992px ── */
@media (max-width: 992px) {
  /* .popular-searches-wrapper {
    text-align: left;
    padding: 0 10px;
  } */
  .popular-searches-label {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .popular-searches-list {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .popular-searches-label {
    font-size: 13px;
  }
  .popular-search-item {
    font-size: 12px;
    padding: 4px 10px;
  }
  .popular-searches-list {
    gap: 5px;
  }
}
/* ================================
   NEWS IMAGE
   ================================ */
.image_block {
  width: 220px;
  height: 220px;
  min-width: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 8px;
}

.image_block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* NEWS CARD AND EVENTS CARD */
/* ========================================================= */

.home_news_events .events .events_cards .event_card .event_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.5px solid rgb(var(--gold-color), 1);
}

/* ===== FIX NEWS CARD TEXT OVERFLOW ===== */

.main_text_events {
  font-size: 15px;
  line-height: 1.4;
  color: rgb(var(--blue-color), 1);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}
/* ================================
   LATEST NEWS BLOCK
   ================================ */

/* ── Карточка ── */
.latest_news_block .news_card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(21, 66, 210, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-top: 10px;
}

.latest_news_block .news_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(21, 66, 210, 0.13);
}

/* ── Изображение ── */
.latest_news_block .news_card .image_wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #dce6f8 0%, #c8d8f4 100%);
}

.latest_news_block .news_card .image_wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  filter: brightness(90%) saturate(90%);
}

/* ── Дата — бейдж поверх фото ── */
.latest_news_block .news_card .image_wrapper time {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: rgb(var(--blue-color), 1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 7px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 42px;
  font-family: "Kz_Century_Gothic", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: lowercase;
  line-height: 1;
}

.latest_news_block .news_card .image_wrapper time h2 {
  font-family: "Kz_Century_Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: rgb(var(--white-color), 1);
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0;
}

/* ── Тело карточки ── */
.latest_news_block .news_card .text-section {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Заголовок ── */
.latest_news_block .news_card .text-section .news_card__title_link {
  text-decoration: none;
  flex: 1;
  display: flex !important;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0;
}

.latest_news_block .news_card .text-section .news_card__title_link h5 {
  font-family: "Kz_Century_Gothic", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: rgb(var(--black-color), 1);
  line-height: 1.45;
  letter-spacing: -0.2px;
  margin: 0;
  transition: color 0.15s ease;
}

.latest_news_block .news_card .text-section .news_card__title_link:hover h5 {
  color: rgb(var(--blue-color), 1);
}

/* ── Читать далее ── */
.latest_news_block .news_card .news_card__read_more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  border-top: 1px solid #f0f0f0;
  font-family: "Kz_Century_Gothic", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--blue-color), 1);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.latest_news_block .news_card .news_card__read_more:hover {
  background: rgb(var(--blue-color), 1);
  color: rgb(var(--white-color), 1);
}

.latest_news_block .news_card .news_card__read_more svg {
  transition: transform 0.2s ease;
}

.latest_news_block .news_card .news_card__read_more:hover svg {
  transform: translateX(4px);
}

/* ── Отступы ── */
.latest_news_block .mb-5 {
  margin-bottom: 24px !important;
}

/* ================================
   АДАПТИВ
   ================================ */

@media screen and (max-width: 991px) {
  .latest_news_block .news_card .image_wrapper {
    height: 180px;
  }
}

@media screen and (max-width: 767px) {
  .latest_news_block .news_card .image_wrapper {
    height: 200px;
  }

  .latest_news_block .news_card .text-section .news_card__title_link h5 {
    font-size: 15px;
  }

  .latest_news_block .mb-5 {
    margin-bottom: 16px !important;
  }
}

.text_events_card {
  display: flex;
  justify-content: space-between;
  color: rgb(var(--black-color), 1);
  align-items: center;
  border-radius: 15px;
  border: 0.5px solid rgb(var(--gray-color), 0.5);
  padding: 20px;
  margin-bottom: 20px;
}

.styled-text {
  color: rgb(var(--blue-color), 1);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.5;
}

.caretRever {
  transition: transform 0.6s ease;
}

.caretRever:hover {
  transform: rotate(360deg);
}
/* ===== NEWS ===== */

@media (max-width: 991px) {
  .home_news_events {
    row-gap: 40px;
  }
}

@media (max-width: 767px) {
  .home_news_events .news .news_cards .news_card .image_wrapper {
    min-height: 260px;
  }

  .mainArticle_text {
    top: auto;
    left: 10px;
    bottom: 10px;
  }
}
/* ================================
   EVENTS BLOCK — Timeline стиль
   ================================ */

.hne-events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
  position: relative;
}

/* Вертикальная линия */
.hne-events-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgb(var(--blue-color),0.2)
}

.hne-ev-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 0;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.hne-ev-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 15px 0px;
  text-decoration: none;
  position: relative;
}

/* .hne-ev-item:first-child {
  padding-top: 0;
}

.hne-ev-item:last-child {
  padding-bottom: 0;
} */

/* ── Дата-бейдж ── */
.hne-ev-date {
  min-width: 46px;
  height: 46px;
  background: rgb(var(--blue-color), 1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(24, 95, 165, 0.28);
  padding: 6px 8px;
  position: relative;
  z-index: 1;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.hne-ev-item:hover .hne-ev-date {
  background: rgba(var(--blue-color), 0.85);
  transform: scale(1.06);
}

.hne-ev-day {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hne-ev-mon {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  margin-top: 2px;
  text-transform: lowercase;
  font-weight: 600;
}

/* ── Карточка текста справа ── */
.hne-ev-text {
  font-size: 12px;
  font-weight: 500;
  color: #0c447c;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 14px 16px;
  margin-left: 20px;
  background: #fff;
  border: 1px solid #e6f1fb;
  border-radius: 14px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.hne-ev-item:hover .hne-ev-text {
  border-color: #185fa5;
  box-shadow: 0 4px 16px rgba(24, 95, 165, 0.08);
  color: rgb(var(--blue-color), 1);
}

/* ── Стрелка ── */
.hne-ev-arr {
  color: #b5d4f4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-left: 10px;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.hne-ev-item:hover .hne-ev-arr {
  color: rgb(var(--blue-color), 1);
  transform: translateX(3px);
}

/* ── Адаптив ── */
@media (max-width: 767px) {
  .hne-events-list::before {
    left: 20px;
  }
  .hne-ev-date {
    min-width: 40px;
    height: 40px;
  }
  .hne-ev-text {
    padding: 10px 12px;
    margin-left: 14px;
  }
}

/* 
  RECTOR BLOCK
*/
.home_rector_block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.home_rector_block .text_block {
  max-width: 635px;
}
.home_rector_block .text_block .message {
  text-align: justify;
}
.home_rector_block .text_block div.text-right {
  text-align: right;
}
.home_rector_block .image_wrapper {
  position: relative;
  background-color: rgb(var(--white-color), 1);
  height: 370px;
  width: 370px;
  min-width: 300px;
  overflow: hidden;
  border-radius: 10px;
}
.home_rector_block .image_wrapper img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 1400px) {
  .home_rector_block .text_block {
    max-width: 750px;
  }
}
@media screen and (max-width: 991px) {
  .home_rector_block {
    gap: 40px;
    align-items: center;
  }
  .home_rector_block .image_wrapper {
    min-width: 250px;
  }
}
@media screen and (max-width: 767px) {
  .home_rector_block {
    gap: 0;
    flex-direction: column;
    justify-content: start;
    align-items: flex-end;
  }
  .home_rector_block .image_wrapper {
    height: 75px;
    width: 75px;
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 50%;
    margin-top: -55px;
  }
  .home_rector_block .text_block div.text-right {
    margin-right: 100px;
    margin-top: 50px !important;
  }
}

/* input-search */

.search_main {
  width: 100%;
  height: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
  padding-left: 45px;
  border-radius: 12px;
  border: none;
  background-color: rgb(var(--gray-color), .2);
}

input:focus {
  outline: none;
  border: none;
}

h2 {
  color: rgb(var(--black-color), 1);
}

.main_search_icon {
  display: block;
}

.main_search_icon {
  position: relative;
  top: 42px;
  left: 18px;
  transform: translatey(-50%);
  border: none;
  outline: none;
  background: none;
  color: rgb(var(--gray-color), 1);
  padding: 0 15px 0 0;
}

.bi-search {
  width: 40px;
  height: 40px;
}

.card_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* ===== SEARCH ===== */

@media (max-width: 767px) {
  .search_container {
    padding-bottom: 20px;
  }

  .search_main {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
  }

  .main_search_icon {
    top: 39px;
  }
}

/* ===== ADMISSION CARDS ===== */

@media (max-width: 991px) {
  .big_and_small_cards-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .big_and_small_cards-block {
    grid-template-columns: 1fr;
  }

  .big_and_small_cards-block .card {
    text-align: center;
  }
}

/* ===== PARTNERS ===== */

@media (max-width: 767px) {
  /* .home_page_partners_slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home_page_partners_slider img {
    max-width: 120px;
  } */
}

/* ===== GLOBAL ===== */

@media (max-width: 767px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }
}

/* Education programs block */
.ep2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ep2-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.25rem;
  border-radius: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.ep2-card:hover {
  transform: translateY(-4px);
}

.ep2-card-bachelor {
  background: rgb(var(--blue-color), 1);
}
.ep2-card-master {
  background: rgb(var(--white-color), 1);
  border: 0.5px solid rgba(24, 95, 165, 0.07);
}
.ep2-card-doctoral {
  background: rgb(var(--blue-color), 1);
}

/* Декоративный круг */
.ep2-deco {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  pointer-events: none;
}
.ep2-card-bachelor .ep2-deco {
  background: rgba(255, 255, 255, 0.06);
}
.ep2-card-master .ep2-deco {
  background: rgba(24, 95, 165, 0.07);
}
.ep2-card-doctoral .ep2-deco {
  background: rgba(255, 255, 255, 0.05);
}

/* Бейдж */
.ep2-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.ep2-card-bachelor .ep2-badge {
  background: rgba(255, 255, 255, 0.15);
  color: rgb(var(--white-color), 1);
  padding: 10px;
}
.ep2-card-master .ep2-badge {
  background: #185fa5;
  color: rgb(var(--white-color), 1);
  padding: 10px;
}
.ep2-card-doctoral .ep2-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgb(var(--white-color), 1);
  padding: 10px;
}

/* Цифра */
.ep2-count {
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 4px;
}
.ep2-card-bachelor .ep2-count {
  color: rgb(var(--white-color), 1);
}
.ep2-card-master .ep2-count {
  color: #0c447c;
}
.ep2-card-doctoral .ep2-count {
  color: rgb(var(--white-color), 1);
}

/* "образовательных программ" */
.ep2-sublabel {
  font-size: 14px;
  margin: 0 0 10px;
}
.ep2-card-bachelor .ep2-sublabel {
  color: rgb(var(--white-color), 1);
}
.ep2-card-master .ep2-sublabel {
  color: rgb(var(--input-background-color), 1);
}
.ep2-card-doctoral .ep2-sublabel {
  color: rgb(var(--white-color), 1);
}

/* Слоган */
.ep2-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 1.25rem;
}
.ep2-card-bachelor .ep2-title {
  color: rgb(var(--white-color), 1);
}
.ep2-card-master .ep2-title {
  color: rgb(var(--input-background-color), 1);
}
.ep2-card-doctoral .ep2-title {
  color: rgb(var(--white-color), 1);
}

/* Подвал */
.ep2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid;
}
.ep2-card-bachelor .ep2-footer {
  border-color: rgba(255, 255, 255, 0.15);
}
.ep2-card-master .ep2-footer {
  border-color: #b5d4f4;
}
.ep2-card-doctoral .ep2-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.ep2-link {
  font-size: 14px;
}
.ep2-card-bachelor .ep2-link {
  color: rgb(var(--white-color), 1);
}
.ep2-card-master .ep2-link {
  color: rgb(var(--input-background-color), 1);
}
.ep2-card-doctoral .ep2-link {
  color: rgb(var(--white-color), 1);
}

/* Кнопка-стрелка */
.ep2-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ep2-card-bachelor .ep2-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.ep2-card-master .ep2-btn {
  background: #185fa5;
  color: #fff;
}
.ep2-card-doctoral .ep2-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

@media (max-width: 768px) {
  .ep2-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   USEFUL CARDS
   ================================ */

.v3-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.v3-card {
  border-radius: 20px;
  padding: 24px;
}

.v3-card-white {
  background: #fff;
  border: 0.5px solid rgb(var(--blue-color), 0.2);
}

.v3-card-blue {
  background: rgb(var(--blue-color), 1);
}

.v3-inactive {
  opacity: 0.5;
  pointer-events: none;
}

/* ── Заголовок ── */
.v3-card-white .v3-card-title {
  font-size: 25px;
  font-weight: 700;
  color: rgb(var(--blue-color), 1);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6f1fb;
}
.v3-card-blue .v3-card-title {
  font-size: 25px;
  font-weight: 700;
  color: rgb(var(--white-color), 1);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Список ── */
.v3-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Айтем белая ── */
.v3-card-white .v3-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
  line-height: 25px;
}
.v3-card-white .v3-item:hover {
  background: #e6f1fb;
}
.v3-card-white .v3-item-text {
  font-size: 18px;
  font-weight: 500;
  color: #0c447c;
  flex: 1;
}
.v3-card-white .v3-item-arr {
  color: #b5d4f4;
  display: flex;
  align-items: center;
  transition:
    color 0.15s,
    transform 0.15s;
}
.v3-card-white .v3-item:hover .v3-item-arr {
  color: #185fa5;
  transform: translateX(3px);
}

/* ── Айтем синяя ── */
.v3-card-blue .v3-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
  line-height: 25px;
}
.v3-card-blue .v3-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.v3-card-blue .v3-item-text {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
}
.v3-card-blue .v3-item-arr {
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  transition:
    color 0.15s,
    transform 0.15s;
}
.v3-card-blue .v3-item:hover .v3-item-arr {
  color: #fff;
  transform: translateX(3px);
}

/* ── Disabled ── */
.v3-item-disabled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  opacity: 0.35;
  cursor: not-allowed;
}
.v3-card-white .v3-item-disabled .v3-item-text {
  color: rgb(var(--blue-color), 1);
  font-size: 14px;
}
.v3-card-blue .v3-item-disabled .v3-item-text {
  color: rgb(var(--white-color), 1);
  font-size: 14px;
}

/* ── Кнопка ── */
.v3-desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.v3-card-white .v3-desc {
  color: rgb(var(--blue-color), 0.8);
}
.v3-card-blue .v3-desc {
  color: rgba(255, 255, 255, 0.7);
}

.v3-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease;
}
.v3-card-white .v3-btn {
  background: #185fa5;
  color: #fff;
}
.v3-card-white .v3-btn:hover {
  background: #0c447c;
}
.v3-card-blue .v3-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.v3-card-blue .v3-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.v3-btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Лого на фоне ── */
.v3-card {
  position: relative;
  overflow: hidden;
}

.v3-card > *:not(.v3-card-logo) {
  position: relative;
  z-index: 1;
}

.v3-card-logo {
  position: absolute;
  bottom: -30px;
  right: -60px;
  z-index: 0;
  pointer-events: none;
  width: fit-content;
}
.v3-card-logo a {
  display: block;
  cursor: default;
}

.v3-card-logo svg {
  width: 260px;
  height: auto;
  opacity: 0.07;
}

a.logo-small {
  display: block;
  width: fit-content;
}

.v3-card-white .v3-card-logo a.logo-small svg .alikhanov,
.v3-card-white .v3-card-logo a.logo-small svg .niversity,
.v3-card-white .v3-card-logo a.logo-small svg .ulogo {
  fill: rgb(var(--blue-color), 1);
}

.v3-card-white .v3-card-logo a.logo-small svg .shoqan {
  fill: rgb(var(--blue-color), 1);
}

.v3-card-logo a.logo-small {
  display: block;
  width: 360px;
}

.v3-card-logo a.logo-small svg {
  width: 60px !important;
  height: 60px !important;
  opacity: 0.07;
  display: block;
}
/* ── Адаптив ── */
@media (max-width: 768px) {
  .v3-grid {
    grid-template-columns: 1fr;
  }
}

/* =============== HERO BLOCK =============== */

.hero_wrapper {
  position: relative;
  margin-top: -180px;
}

.hero_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./e0064e2e824d51c0c54040e8ddb29c5987efe1b0.5d7359a2d6b0.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero_bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--blue-color), 0.95);
}

.hero_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  pointer-events: none;
}

.hero_block {
  width: 100%;
  height: 620px;
  padding-top: 110px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero_inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  width: 100%;
  flex: 1;
  padding-top: 60px;
}

.text_block {
  flex: 1;
  max-width: 55%;
}

/* ── Badge ── */
.hero_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 20px;
}

.hero_badge_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero_badge_text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.text_block h1 {
  font-weight: 500;
  font-size: 64.5px;
  line-height: 70px;
  letter-spacing: -3.43px;
  margin-bottom: 28px;
}

.container_text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
  line-height: 70px;
}

.container_text span {
  font-weight: 600;
  font-size: 19.22px;
  line-height: 25px;
  letter-spacing: -0.64px;
  max-width: 160px;
}

.hero_divider {
  width: 100%;
  max-width: 55%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 28px;
}

/* ── Carousel ── */
.carousel_block {
  flex-shrink: 0;
  width: 820px;
  height: 360px;
  align-self: center;
  margin-left: 60px;
}

.carousel_block .home_page_main_slider {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.35); */
}

.carousel_block .home_page_main_slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.carousel_block .home_page_main_slider .swiper-slide {
  border-radius: 20px;
  height: 100%;
  position: relative;
}

.home_page_main_slider .swiper-slide .image_wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home_page_main_slider .swiper-slide .image_wrapper img,
.home_page_main_slider .swiper-slide .image_wrapper .homeMainSliderImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel_block .swiper-button-next,
.carousel_block .swiper-button-prev {
  color: #ffffff;
  background: rgba(0, 106, 236, 0.15);
  border: 1px solid rgba(0, 109, 241, 0.25);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  backdrop-filter: blur(4px);
  transition: background 0.15s;
}

.carousel_block .swiper-button-next:hover,
.carousel_block .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel_block .swiper-button-next::after,
.carousel_block .swiper-button-prev::after {
  font-size: 12px;
  font-weight: 700;
}

.carousel_block .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition:
    background 0.2s,
    transform 0.2s;
}

.carousel_block .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.3);
}

/* ── Footer buttons ── */
.hero_footer_buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.hero_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  font-family: "Kz_Century_Gothic", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hero_btn:hover {
  transform: translateY(-1px);
}

.hero_btn.btn_gold {
  background: #f5c842;
  color: #07207a;
  box-shadow: 0 3px 16px rgba(245, 200, 66, 0.35);
}
.hero_btn.btn_gold:hover {
  box-shadow: 0 6px 24px rgba(245, 200, 66, 0.5);
}

.hero_btn.btn_white {
  background: #ffffff;
  color: #1542d2;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}
.hero_btn.btn_white:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.hero_btn.btn_ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.hero_btn.btn_ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.hero_btn_sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
/* ================================
   MEDIA QUERIES
   ================================ */

@media (min-width: 1601px) {
  .image_block {
    width: 140px;
    height: 140px;
    min-width: 140px;
  }
}

/* === НОВЫЙ: ~1588px === */
@media (max-width: 1600px) and (min-width: 1201px) {
  .image_block {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  .hero_block {
    height: 600px;
  }

  .text_block h1 {
    font-size: 52px;
    line-height: 56px;
    letter-spacing: -2px;
  }

  .container_text span {
    font-size: 15px;
  }

  .carousel_block {
    width: 820px;
    height: 360px;
    margin-left: 24px;
  }
}

@media (max-width: 1200px) {
  .hero_block {
    height: 560px;
  }

  .text_block h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -2px;
  }

  .container_text span {
    font-size: 16px;
  }

  .carousel_block {
    width: 320px;
    height: 300px;
    margin-left: 20px;
  }
}

@media (max-width: 991px) {
  .hero_block {
    height: auto;
    min-height: 500px;
  }

  .hero_inner {
    gap: 24px;
  }

  .text_block h1 {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -1.5px;
  }

  .container_text span {
    font-size: 14px;
  }

  .carousel_block {
    width: 260px;
    height: 260px;
    margin-left: 0;
  }

  .image_block {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }
}

@media (max-width: 767px) {
  .hero_block {
    height: auto;
    padding-top: 72px;
    padding-bottom: 24px;
  }

  .hero_inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 0;
    gap: 12px;
  }

  .text_block {
    max-width: 100%;
    width: 100%;
    flex: unset;
  }

  .text_block h1 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .hero_badge {
    padding: 4px 12px 4px 8px;
    margin-bottom: 12px;
  }

  .hero_badge_text {
    font-size: 11px;
  }

  .hero_divider {
    max-width: 100%;
    margin-top: 12px;
  }

  .container_text {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    line-height: normal;
  }

  .container_text span {
    flex: 1;
    max-width: unset;
    font-size: 10.5px;
    line-height: 1.3;
    letter-spacing: 0;
    padding: 11px 6px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .container_text span:last-child {
    border-right: none;
  }

  .carousel_block {
    width: 100%;
    height: 220px;
    margin: 8px 0 0;
  }

  .carousel_block .home_page_main_slider {
    height: 220px;
  }

  .hero_footer_buttons {
    padding: 16px 20px 0;
    gap: 8px;
  }

  .hero_btn {
    flex: 1;
    min-width: calc(50% - 4px);
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
  }

  .hero_btn_sep {
    display: none;
  }
}

@media (max-width: 480px) {
  .text_block h1 {
    font-size: 22px;
    text-align: center;
  }

  .hero_btn {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  /* .popular-searches-wrapper {
    padding: 0 12px;
  } */

  .popular-search-item {
    font-size: 13px;
    padding: 4px 12px;
  }

  .popular-searches-list {
    gap: 6px;
  }

  .hero_wrapper {
    margin-top: -80px !important;
  }
}

/* ==========HERO-BLOCK-END============== */
