.media-page {
  padding: 48px 0 64px;
}

.media-page__inner {
  display: flex;
  flex-direction: column;
}

.media-page__section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.media-page__section--logos {
  margin-top: 40px;
}

.media-page__section--experts,
.media-page__section--about {
  margin-top: 90px;
}

.media-page__section--experts {
  padding: 56px 40px;
  border-radius: 32px;
  background-image: linear-gradient(
    356deg,
    rgb(23, 23, 96) -8.85%,
    rgb(3, 3, 64) 16.24%,
    rgb(9, 9, 49) 95.96%
  );
}

.media-page__section--experts .media-page__section-heading {
  color: #ffffff;
  text-align: center;
}

.media-page__section--experts .media-page__cta {
  min-width: 0;
  width: auto;
  min-height: 0;
  padding: 20px 35px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a3a;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.media-page__section--experts .media-page__cta:hover,
.media-page__section--experts .media-page__cta:focus {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.media-page__section--experts .media-page__cta-text {
  width: auto;
  font-size: 16px;
}

.media-page__section--experts .media-page__cta-icon {
  position: static;
  transform: none;
  width: 28px;
  height: 28px;
}

.media-page__section--experts .media-page__cta-icon svg {
  width: 28px;
  height: 28px;
}

.media-page__section-heading {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
}

.media-page__downloads {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-page__downloads--single {
  max-width: 540px;
}

.media-page__downloads--fit {
  align-items: flex-start;
}

.media-page__download-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 12px 25px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.media-page__downloads--fit .media-page__download-item {
  width: auto;
  max-width: 100%;
}

.media-page__download-item:hover,
.media-page__download-item:focus {
  border-color: #9ca3af;
  color: #0f5fd7;
  box-shadow: 0 4px 14px rgba(15, 95, 215, 0.08);
}

.media-page__download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.media-page__download-icon svg {
  width: 24px;
  height: 24px;
}

.media-page__download-title {
  flex-shrink: 1;
  min-width: 0;
  font-weight: 400;
  text-align: center;
}

.media-page__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px 40px;
}

.media-page__logo-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  margin: 0;
  padding: 8px 0;
}

.media-page__logo-image {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.media-page__cta-wrap {
  display: flex;
  justify-content: center;
}

.media-page__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 620px);
  min-height: 72px;
  padding: 18px 76px 18px 28px;
  border-radius: 12px;
  background: var(--color-primary-800);
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.media-page__cta:hover,
.media-page__cta:focus {
  background: var(--color-primary-900);
  transform: translateY(-1px);
}

.media-page__cta-text {
  display: block;
  width: 100%;
}

.media-page__cta-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.media-page__cta-icon svg {
  width: 40px;
  height: 40px;
}

.media-page__about-content {
  max-width: 100%;
  color: #111827;
}

.media-page__about-content p:first-child,
.media-page__about-content h1:first-child,
.media-page__about-content h2:first-child,
.media-page__about-content h3:first-child {
  margin-top: 0;
}

@media (max-width: 767px) {
  .media-page {
    padding: 32px 0 48px;
  }

  .media-page__inner {
    gap: 0;
  }

  .media-page__section {
    gap: 22px;
  }

  .media-page__section--logos {
    margin-top: 28px;
  }

  .media-page__section--experts,
  .media-page__section--about {
    margin-top: 72px;
  }

  .media-page__section--experts {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .media-page__download-item {
    min-height: 50px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .media-page__logos {
    gap: 20px 24px;
  }

  .media-page__logo-item {
    min-height: 96px;
  }

  .media-page__logo-image {
    max-height: 100px;
  }

  .media-page__cta {
    width: 100%;
    min-height: 64px;
    padding: 16px 62px 16px 18px;
    font-size: 22px;
  }

  .media-page__cta-icon {
    right: 16px;
    width: 32px;
    height: 32px;
  }

  .media-page__cta-icon svg {
    width: 32px;
    height: 32px;
  }

  .media-page__section--experts .media-page__cta {
    padding: 16px 28px;
  }
}
