/* _______Основной контент */
.container {
  width: 100%;
  padding: 0 32px;
}

.main__container {
  display: flex;
  background: #FFF;
  gap: 170px;
  padding-bottom: 143px;
  flex-direction: column;
}

@media (max-width: 768px) {
  .main__container {
    gap: 100px;
  }
}

@media (max-width: 425px) {
  .main__container {
    padding-bottom: 100px;
  }
}

/* _____________Большая картинка */
.hero {
  background-color: #ffffff;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.full-width-image-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 32px;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width:1440px) {
  .full-width-image-section {
    max-width: 1440px;
  }
}

@media (max-width: 640px) {
  .full-width-image-section {
    margin-top: 16px;
  }
}

.full-width__wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.full-width__image {
  width: 100%;
}

.full-width__content {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.full-width__cta-button {
  display: flex;
  padding: 43px 0px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 120px;
  border: none;
  background: #FF5CF0;
  color: #0E1015;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.72px;
  font-weight: 500;
}

.full-width__image--desktop {
  display: flex;
}

.full-width__image--desktop2 {
  display: none;
}

.full-width__image--desktop3 {
  display: none;
}

.full-width__image--mobile {
  display: none;
}

.school_button_cont {
  display: none;
  height: 80px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 60px;
  background: #FF5CF0;
  color: #0E1015;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.6px;
  border: none;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .full-width__image--desktop {
    display: none;
  }

  .full-width__image--desktop2 {
    display: flex;
  }
}

@media (max-width: 768px) {
  .full-width__image--desktop3 {
    display: flex;
  }

  .full-width__image--desktop2 {
    display: none;
  }

  .full-width__content {
    display: none;
  }
}

@media (max-width: 500px) {

  .full-width__image--mobile {
    display: flex;
  }

  .full-width__image--desktop3 {
    display: none;
  }
}

.school_title--big {
  color: #0E1015;
  font-family: "IBM Plex Serif" !important;
  font-size: 70px;
  font-weight: 400;
  line-height: 94%;
  letter-spacing: -2.1px;
  max-width: 498px;
}

.school_title_gap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.school_title--small {
  color: #0E1015;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.72px;
  max-width: 750px;
  font-weight: 500;
}


@media (max-width: 1360px) {
  .school_title--big {
    font-size: 48px;
    line-height: 94%;
    /* 45.12px */
    letter-spacing: -1.44px;
    max-width: 360px;
  }

  .school_title--small {
    font-size: 20px;
    line-height: 130%;
    /* 26px */
    letter-spacing: -0.6px;
    max-width: 576px;
  }
}

@media (max-width: 1023px) {
  .school_title_gap {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .school_title--small {
    max-width: 100%;
  }
}

@media (min-width: 547px) and (max-width: 1023px) {
  .school_title--big {
    max-width: 100%;
  }
}


@media (max-width: 468px) {
  .school_title--big {
    max-width: 350px;
  }
}


.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

.hero-button {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #ec4899;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hero-button:hover {
  background-color: #db2777;
}



/* ________Листающийся банер */

.entrepreneur-ticker {
  width: 100%;
  overflow: hidden;
  background: #ECFF41;
  padding: 25px 0;
  font-weight: 600;
  display: flex;
  height: 72px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.entrepreneur-ticker__content {
  width: 100%;
  overflow: hidden;
}

.entrepreneur-ticker__track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.entrepreneur-ticker__text {
  color: #0E1015;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.48px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.entrepreneur-ticker__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

.entrepreneur-ticker__dot svg {
  width: 24px;
  height: 24px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}



/* ______3 карточки Твой проводник */

.features-zag {
  display: flex;
  gap: 20px;
  flex-direction: column;
  width: 100%;
}

.features-title {
  color: #0E1015;
  font-family: "IBM Plex Serif" !important;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 94%;
  /* 30.08px */
  letter-spacing: -0.96px;
  max-width: 698px;
  overflow-wrap: break-word;
}

.features-description {
  color: #0E1015;
  font-size: 16px;
  font-style: normal;
  line-height: 140%;
  letter-spacing: -0.16px;
  max-width: 578px;
  font-weight: 500;
}

.features-gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 100%;
}

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}


.feature-card img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.feature-card--desktop {
  display: none;
}

.feature-card--mobile {
  display: block;
}

@media (min-width: 481px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-title {
    font-size: 48px;
  }

  .features-zag {
    gap: 24px;
  }

  .features-gap {
    gap: 56px;
  }
}

@media (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card--desktop {
    display: block;
  }

  .feature-card--mobile {
    display: none;
  }

  .features-title {
    font-size: 56px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -2.24px;
  }
}


/* ________________Чему ты научишься */
@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* Блок карты 2 */

.learning-grid {
  display: grid;
  gap: 20px;
}


.learning-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.learning-image--desktop {
  display: none;
}

.learning-image--mobile {
  object-fit: cover;
  border-radius: 50px;
  width: 100%;
  height: 100%;
}

.learning-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pink-card {
  grid-row: span 2;
  height: 100%;
  border-radius: 24px;
  background: #FF5CF0;
}

.gray-card {
  height: calc((520px - 20px) / 2);
  border-radius: 24px;
  background: #EAE9F4;
}

.card-title-learning {
  color: #0E1015;
  font-size: 24px;
  font-weight: 600;
  line-height: 114%;
  /* 27.36px */
  letter-spacing: -0.48px;
  max-width: 226px;
}

.learning-title--mobile {
  display: block;
  margin-bottom: 36px;
}

.learning-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .learning-card {
    height: 220px;
  }
}

.card-number {
  color: #0E1015;
  font-family: "IBM Plex Serif" !important;
  font-size: 48px;
  font-weight: 400;
  line-height: 110%;
  /* 52.8px */
  letter-spacing: -1.92px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
}

@media (min-width: 769px) {
  .learning-image-container {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
  }

  .learning-image-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right;
  }

  .learning-right {
    grid-template-columns: 1fr 1fr;
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .thumbnail-image {
    height: 37.5rem;
  }
}

@media (min-width: 769px) and (max-width: 899px) {
  .learning-image-container {
    border-radius: 50px;
  }
}


@media (min-width: 900px) {
  .learning-image--desktop {
    display: block;
  }

  .learning-image--mobile {
    display: none;
  }

  .learning-title--mobile {
    display: none;
  }
}

@media (max-width: 950px) {
  .card-title-learning {
    font-size: 20px;
    line-height: 114%;
    letter-spacing: -0.4px;
    max-width: 200px;
    word-break: break-word;
  }
}

/* _______Видео */
/* _______Видео */
.video-section {
  margin: 30px 0;
  width: 100%;
}

.video-container {
  position: relative;
  cursor: pointer;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #EAE9F4;
  aspect-ratio: 16 / 9;
  /* Добавляем соотношение сторон */
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  transition: all 0.3s ease;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Меняем на cover */
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.play-button-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.play-button {
  width: 120px;
  height: 120px;
  background-color: rgba(255, 255, 255, 255);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.play-text {
  color: white;
  font-size: 1.5rem;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ripple-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ripple-effect::before {
  content: '';
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: ping 2s infinite;
}

/* Видеоплеер в контейнере */
.video-player {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
}

.video-player.active {
  display: flex;
}

.player-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.player-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Меняем на cover для обычного режима */
  outline: none;
}

/* Сохраняем contain для полноэкранного режима */
.video-container.fullscreen .local-video {
  object-fit: contain;
  /* В полноэкранном оставляем contain */
}

.fullscreen-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 4px;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.fullscreen-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.instructions {
  margin-top: 20px;
  text-align: center;
  color: #7f8c8d;
  font-size: 1rem;
}

.play-icon {
  width: 22px;
  height: 22px;
  margin-left: 5px;
}

/* Hover Effects */
.video-container:hover .thumbnail-image {
  transform: scale(1.05);
}

.video-container:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.video-container:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background-color: #fff;
}

.video-container:hover .ripple-effect {
  opacity: 1;
}

/* Анимация */
@keyframes ping {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Адаптив */
@media (max-width: 1024px) {
  .play-button {
    width: 100px;
    height: 100px;
  }

  .play-icon {
    width: 20px;
    height: 20px;
  }

  .play-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .video-container {
    border-radius: 24px;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .play-icon {
    width: 14px;
    height: 14px;
  }

  .play-text {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .fullscreen-button {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .play-button {
    width: 72px;
    height: 72px;
  }

  .play-text {
    font-size: 1rem;
    margin-top: 15px;
  }

  .fullscreen-button {
    padding: 6px 10px;
  }
}

/* Стили для полноэкранного режима */
.video-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  border-radius: 0;
}

.video-container.fullscreen .local-video {
  object-fit: contain;
  /* В полноэкранном оставляем contain */
}




/* Блок с навигационными карточками */

.entrepreneur-benefits {
  display: flex;
  gap: 48px;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.entrepreneur-benefits__header {
  width: 100%;
  overflow: hidden;
  padding-left: 32px;
  box-sizing: border-box;
}

.entrepreneur-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  padding-right: 32px;
  box-sizing: border-box;
}

.entrepreneur-cards__container {
  overflow: hidden;
  width: calc(100% + 32px);
  margin-left: -32px;
  padding-left: 32px;
}

.entrepreneur-cards__grid {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  width: max-content;
}

.entrepreneur-card {
  display: flex;
  justify-content: center;
}

.entrepreneur-card img {
  object-fit: cover;
  border-radius: 16px;
  width: 100%;
  max-width: 386px;
}




/* Навигация */
.entrepreneur-navigation {
  display: flex;
  gap: 32px;
}

.entrepreneur-nav__button {
  border: none;
  background: var(--button-secondary-bg-default, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-container {
    margin: 0 32px;
  }

  .entrepreneur-benefits__header {
    padding-left: 32px;
  }

  .entrepreneur-header {
    padding-right: 32px;
  }
}


@media (min-width: 680px) {
  .entrepreneur-card__image--large {
    display: block;
  }

  .entrepreneur-card__image--small {
    display: none;
  }
}

@media (max-width: 768px) {
  .entrepreneur-header {
    flex-direction: column;
    gap: 40px;
    width: calc(100% - 32px);
    padding-right: 32px;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .entrepreneur-cards__grid {
    gap: 16px;
  }

  .entrepreneur-card {
    width: 342px;
    height: 424px;
  }

  .entrepreneur-card__image--large {
    display: none;
  }

  .entrepreneur-card__image--small {
    display: block;
  }

  .entrepreneur-navigation {
    gap: 26px;
  }

  .entrepreneur-nav__button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    margin: 0 16px;
  }

  .entrepreneur-benefits__header {
    padding-left: 16px;
  }

  .entrepreneur-header {
    flex-direction: column;
    gap: 40px;
    width: calc(100% - 16px);
    padding-right: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .entrepreneur-cards__container {
    width: calc(100% + 16px);
    margin-left: -16px;
    padding-left: 16px;
  }

  .hero-section {
    margin-top: 16px;
  }
}




/* 7 блок фаг */

.entrepreneur-grid {
  display: flex;
  gap: 20px;
  width: 100%;

}

.entrepreneur-faq {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.entrepreneur-grid img {
  object-fit: cover;
  border-radius: clamp(1.5rem, -1.071rem + 5.36vw, 3.75rem);
  flex: 0 1 50%;
  width: 50%;
  max-height: 600px;
}

.entrepreneur-faq__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 50%;
  gap: 20px;
}

.entrepreneur-faq__card {
  width: 100%;
  display: flex;
  padding: 32px 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 32px;
  background: #EAE9F4;
}

.card-title {
  color: #0E1015;
  font-family: 'Inter', sans-serif !important;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}

.card-description {
  color: #0E1015;
  font-size: 18px;
  line-height: 120%;
  opacity: 0.7;
  font-weight: 500;
  margin-bottom: 0px;
}


@media (max-width: 768px) {
  .entrepreneur-grid {
    flex-direction: column;
  }

  .entrepreneur-grid img {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 1024px) {
  .entrepreneur-faq__card {
    padding: 24px;
    border-radius: 24px;
  }
}

/* 8 блок парень */

.entrepreneur-hero {
  width: 100%;
  padding-left: 32px;
  box-sizing: border-box;
}

.entrepreneur-hero__wrapper {
  position: relative;
  width: 100%;
}

.entrepreneur-hero__image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.entrepreneur-hero__image {
  width: 100%;
  height: auto;
  display: flex;
}


.entrepreneur-hero__content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  z-index: 10;
}

.entrepreneur-hero__button-container {
  background-color: white;
  border-top-right-radius: 50px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.entrepreneur-hero__title {
  color: #0E1015;
  font-family: "IBM Plex Serif" !important;
  font-size: clamp(3.75rem, -1.042rem + 5.56vw, 5.625rem);
  font-weight: 400;
  line-height: 94%;
  letter-spacing: -2.1px;
  margin: 0;
}

.entrepreneur-hero__cta-button {
  display: flex;
  width: 100%;
  max-width: 379px;
  height: 88px;
  justify-content: center;
  align-items: center;
  border-radius: 60px;
  background: #FF5CF0;
  color: #0E1015;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.72px;
  text-decoration: none;
  font-weight: 500;
}

/* Базовые стили для изображений */
.entrepreneur-hero__image--desktop {
  display: flex;
}

.entrepreneur-hero__image--desktop2 {
  display: none;
}

.entrepreneur-hero__image--mobile {
  display: none;
}

/* Медиа-запросы для адаптива */
@media (max-width: 1024px) and (min-width: 769px) {
  .has-two-buttons .entrepreneur-hero__image--desktop {
    display: none;
  }

  .has-two-buttons .entrepreneur-hero__image--desktop2 {
    display: flex;
    width: 100%;
  }
}

@media (max-width: 768px) {

  .entrepreneur-hero__image--desktop,
  .entrepreneur-hero__image--desktop2 {
    display: none;
  }

  .entrepreneur-hero__image--mobile {
    display: flex;
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .entrepreneur-hero__image--desktop {
    display: flex;
    width: 100%;
  }

  .entrepreneur-hero__image--desktop2 {
    display: none;
  }
}

/* Медиа-запросы для адаптации */

@media (max-width: 1240px) {
  .entrepreneur-hero__content {
    width: 45%;
  }

  .entrepreneur-hero__button-container {
    .entrepreneur-hero__content {
      width: 45%;
    }

    ;
    gap: 32px;
  }
}

@media (max-width: 1380px) {
  .entrepreneur-hero__title {
    font-size: 60px;
  }
}

@media (max-width: 1200px) {
  .entrepreneur-hero__title {
    font-size: 56px;
  }

  .entrepreneur-hero__cta-button {
    height: 72px;
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  .entrepreneur-hero__title {
    font-size: 48px;
  }
}

@media (max-width: 1024px) {

  .entrepreneur-hero__cta-button {
    font-size: 20px;
    width: 320px;
  }

  .entrepreneur-hero__title {
    width: 100%;
    line-height: 94%;
    letter-spacing: -0.96px;
  }
}

@media (max-width: 920px) {
  .entrepreneur-hero__cta-button {
    height: 67px;
    font-size: 18px;
    width: 260px;
  }
}

@media (max-width: 890px) {
  .entrepreneur-hero__title {
    line-height: 94%;
    letter-spacing: -0.96px;
  }
}



.button__add-style {
  gap: 25px;
  height: 72px;
  font-size: 20px;
  letter-spacing: normal;
}

/* Медиа-запрос для 850px - 1024px */
@media (max-width: 1024px) and (min-width: 850px) {
  .button__add-style {
    gap: calc(25px + (50 - 25) * ((100vw - 850px) / (1024 - 850)));
  }
}

/* Медиа-запрос для 1025px - 1149px */
@media (max-width: 1149px) and (min-width: 1025px) {
  .button__add-style {
    height: 70px;
    font-size: 14px;
  }
}

/* Медиа-запрос для 1150px - 1299px */
@media (max-width: 1299px) and (min-width: 1150px) {
  .button__add-style {
    height: 80px;
    font-size: 17px;
    letter-spacing: -0.6px;
  }
}

/* Медиа-запрос для 1300px и больше */
@media (min-width: 1300px) {
  .button__add-style {
    height: 80px;
    font-size: 20px;
    letter-spacing: -0.6px;
  }
}

@media (max-width: 920px) and (min-width: 769px) {
  .button__add-style {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .entrepreneur-hero__content {
    width: 100%;
    position: relative;
    margin-top: 32px;
  }

  .entrepreneur-hero__title {
    width: 420px;
  }

  .entrepreneur-hero__cta-button {
    font-size: 20px;
    width: 320px;
    height: 72px;
  }

  .learning-image--mobile {
    border-radius: 40px;
  }

  .button__add-style {
    height: 80px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .entrepreneur-hero__title {
    font-size: calc(6.27vw - 16.2px);
  }
}


@media (max-width: 510px) {
  .entrepreneur-hero__title {
    width: 100%;
  }

  .learning-image--mobile {
    border-radius: 30px;
  }
}

@media (max-width: 480px) {
  .features-title {
    color: #0E1015;
    font-size: 32px;
  }
}

@media (max-width: 425px) {
  .entrepreneur-hero__title {
    font-weight: 400;
  }

  .entrepreneur-hero__cta-button {
    width: 100%;
  }

  .entrepreneur-grid img {
    height: 355px;
  }

  .learning-image--mobile {
    border-radius: 20px;
  }
}

/* Показываем полную версию по умолчанию */
.hyphenated {
  display: none;
}

.hyphenated320 {
  display: none;
}

/* показываем версию с тире */
@media (max-width: 510px) {
  .full {
    display: none;
  }

  .hyphenated {
    display: flex;
  }
}

@media (max-width: 375px) {
  .hyphenated320 {
    display: flex;
  }

  .hyphenated {
    display: none;
  }
}


/* ___________________________________модальное окно_________________ */

.modal-overlay--dbsh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal--dbsh {
  display: flex;
  width: 680px;
  height: 454px;
  padding: 48px 32px 32px 32px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  background: #FFF;
}

.modal-content--dbsh {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal-content-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.modal-content-text p {
  color: #0E1015;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.6px;
  max-width: 424px;
}

.modal-content-text h3 {
  color: #0E1015;
  text-align: center;
  font-family: "IBM Plex Serif";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  /* 39.6px */
  letter-spacing: -1.44px;
}

/* для кнопок */
.modal-buttons {
  display: flex;
  gap: 10px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.btn-close--dbsh,
.btn-access {
  display: flex;
  height: 82px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  color: #0E1015;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.6px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  background: initial;
}

.btn-close--dbsh {
  background-color: #EAE9F4;
}

.btn-close--dbsh:hover {
  background-color: #D4D3E6;
}

.btn-access {
  background-color: #FF5CF0;
}

.btn-access:hover {
  background-color: #FF2FEC;
}

@media (max-width: 600px) {
  .modal-overlay--dbsh {
    padding: 20px;
  }

  .modal--dbsh {
    width: 100%;
    padding: 32px 24px 24px 24px;
  }

  .modal-content-text h3 {
    font-size: 32px;
    letter-spacing: -1.28px;
  }

  .modal-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .btn-close--dbsh,
  .btn-access {
    height: 72px;
    width: 100%;
    flex: none;
  }

  .btn-access {
    order: 1;
  }

  .btn-close--dbsh {
    order: 2;
  }
}

@media (max-width: 425px) {
  .modal--dbsh {
    height: 571px;
  }
}


.entrepreneur-hero__add-button {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-right: 32px;
}

.container__add-style {}

@media (min-width: 1025px) {
  .entrepreneur-cta__button--course {
    max-width: 231px;
  }
}

@media (max-width: 1024px) {
  .entrepreneur-hero__add-button {
    flex-direction: column;
    margin-right: 0;
  }
}

@media (max-width: 1024px) and (min-width: 850px) {
  .container__add-style {
    gap: calc(25px + (50 - 25) * ((100vw - 850px) / (1024 - 850)));
  }
}

@media (max-width: 850px) {
  .entrepreneur-hero__add-button {
    gap: 20px;
  }

  .container__add-style {
    gap: 25px;
  }
}

.btn-hover--pink {
  transition: background-color 0.3s ease;
}

.btn-hover--pink:hover {
  background: #FF2FEC;
}

.btn-hover--biruza {
  background: #20CAD3;
  transition: background-color 0.3s ease;
}

.btn-hover--biruza:hover {
  background: #0FB5BE;
}

@media (min-width: 1440px) {
  .learning-grid {
    grid-template-columns: auto 1fr auto;
  }

  .learning-right {
    grid-template-columns: 1fr 1fr;
  }
}