.ym-presskit,
.ym-presskit * {
  box-sizing: border-box;
}

.ym-presskit {
  --ym-presskit-container: 1920px;
  --ym-presskit-blue: var(--ym-color-blue, #203866);
  --ym-presskit-blue-dark: var(--ym-color-blue-dark, #07142f);
  --ym-presskit-text: var(--ym-color-ink, #07142f);
  --ym-presskit-muted: var(--ym-color-muted, rgba(7, 20, 47, 0.68));
  --ym-presskit-border: rgba(29, 49, 91, 0.14);
  --ym-presskit-border-soft: rgba(29, 49, 91, 0.09);
  --ym-presskit-card-bg: rgba(255, 255, 255, 0.88);
  --ym-presskit-page-bg: #f3f6fb;

  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  color: var(--ym-presskit-text);
  font-family: var(--ym-font-main);
  background:
    radial-gradient(circle at 86% 8%, rgba(32, 56, 102, 0.11) 0, rgba(32, 56, 102, 0) 30%),
    radial-gradient(circle at 8% 72%, rgba(32, 56, 102, 0.055) 0, rgba(32, 56, 102, 0) 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--ym-presskit-page-bg) 48%, #ffffff 100%);
}

.ym-presskit::before,
.ym-presskit::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

.ym-presskit::before {
  top: 120px;
  right: -160px;
  width: clamp(260px, 28vw, 540px);
  height: clamp(260px, 28vw, 540px);
  background: rgba(32, 56, 102, 0.045);
}

.ym-presskit::after {
  left: -190px;
  bottom: 16%;
  width: clamp(260px, 24vw, 480px);
  height: clamp(260px, 24vw, 480px);
  background: rgba(32, 56, 102, 0.035);
}

.ym-presskit-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding-left: 108px;
  padding-right: 108px;
  box-sizing: border-box;
}

.ym-presskit-hero {
  position: relative;
  min-height: clamp(560px, 38vw, 720px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(251, 253, 255, 0.98) 0%, rgba(251, 253, 255, 0.82) 42%, rgba(251, 253, 255, 0.38) 100%),
    var(--ym-presskit-hero-bg-desktop, none);
  background-repeat: no-repeat;
  background-position: center, center right;
  background-size: cover, cover;
}

.ym-presskit-hero::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 42%;
  pointer-events: none;
}

.ym-presskit-hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, 52vw);
  padding-top: clamp(86px, 6vw, 116px);
  padding-bottom: clamp(78px, 5.4vw, 112px);
}

.ym-presskit-hero h1 {
  margin: 0;
  color: #000000;
  font-size: var(--ym-hero-title-size-adaptive);
  line-height: var(--ym-section-title-line-height-tight);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-presskit-hero p {
  max-width: 560px;
  margin: clamp(22px, 1.7vw, 32px) 0 0;
  color: rgba(5, 5, 5, 0.68);
  font-size: var(--ym-font-size-body);
  line-height: 1.32;
}

.ym-presskit-button {
  width: fit-content;
  min-height: 48px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 3px;
  text-decoration: none;
  font-size: var(--ym-font-size-card);
  line-height: 1;
  white-space: nowrap;
  transition:
    opacity var(--ym-transition),
    transform var(--ym-transition),
    box-shadow var(--ym-transition),
    background var(--ym-transition),
    border-color var(--ym-transition);
}

.ym-presskit-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ym-presskit-button--primary {
  margin-top: clamp(24px, 1.9vw, 36px);
  color: var(--ym-color-white, #ffffff);
  background: var(--ym-presskit-blue);
  border: 1px solid var(--ym-presskit-blue);
  box-shadow: 0 16px 34px rgba(32, 56, 102, 0.18);
}

.ym-presskit-button--primary:hover {
  box-shadow: 0 20px 42px rgba(32, 56, 102, 0.24);
}

.ym-presskit-button--ghost {
  min-height: 44px;
  width: 100%;
  color: var(--ym-presskit-blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 49, 91, 0.18);
  box-shadow: 0 12px 28px rgba(20, 37, 73, 0.045);
}

.ym-presskit-button--ghost:hover {
  background: #ffffff;
  border-color: rgba(29, 49, 91, 0.26);
  box-shadow: 0 16px 34px rgba(20, 37, 73, 0.075);
}

.ym-presskit-button i {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  background: url("../icons/download.svg") center / contain no-repeat;
}

.ym-presskit-button--ghost i {
  filter: none;
}

.ym-presskit-button--primary i {
  filter: brightness(0) invert(1);
}

.ym-presskit-main {
  position: relative;
  z-index: 1;
  padding: clamp(62px, 5vw, 96px) 0 clamp(78px, 6vw, 118px);
}

.ym-presskit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.78fr);
  gap: clamp(20px, 1.65vw, 32px);
  align-items: start;
}

.ym-presskit-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ym-presskit-border-soft);
  border-radius: 22px;
  background: var(--ym-presskit-card-bg);
  box-shadow: 0 18px 46px rgba(20, 37, 73, 0.075);
  backdrop-filter: blur(10px);
}

.ym-presskit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 100% 0%, rgba(32, 56, 102, 0.065) 0, rgba(32, 56, 102, 0) 34%);
  pointer-events: none;
}

.ym-presskit-card__head,
.ym-presskit-bios,
.ym-presskit-photo-group,
.ym-presskit-card--list ul,
.ym-presskit-channel-list,
.ym-presskit-contact-text,
.ym-presskit-card--contact .ym-presskit-button {
  position: relative;
  z-index: 1;
}

.ym-presskit-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 1.7vw, 32px);
}

.ym-presskit-card__head img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ym-presskit-card__head h2 {
  margin: 0;
  color: var(--ym-presskit-text);
  font-size: clamp(var(--ym-section-title-size-mobile-sm), 1.65vw, var(--ym-section-title-size-tablet));
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.ym-presskit-card--bios {
  padding: clamp(28px, 2.4vw, 46px);
}

.ym-presskit-bios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.ym-presskit-bio {
  min-height: 560px;
  padding: 0 clamp(18px, 1.45vw, 28px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ym-presskit-border);
}

.ym-presskit-bio:first-child {
  padding-left: 0;
}

.ym-presskit-bio:last-child {
  padding-right: 0;
  border-right: 0;
}

.ym-presskit-bio__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 18px;
}

.ym-presskit-bio__top img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ym-presskit-bio h3 {
  margin: 0;
  color: var(--ym-presskit-blue);
  font-size: var(--ym-font-size-body);
  line-height: 1;
  font-weight: 600;
}

.ym-presskit-bio__text {
  color: rgba(5, 5, 5, 0.66);
  font-size: var(--ym-font-size-card-small);
  line-height: 1.34;
}

.ym-presskit-bio__text p {
  margin: 0;
}

.ym-presskit-copy {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  color: var(--ym-presskit-blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 49, 91, 0.18);
  border-radius: 8px;
  font-family: inherit;
  font-size: var(--ym-font-size-ui);
  cursor: pointer;
  transition:
    transform var(--ym-transition),
    border-color var(--ym-transition),
    background var(--ym-transition),
    box-shadow var(--ym-transition);
}

.ym-presskit-copy:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 49, 91, 0.28);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(20, 37, 73, 0.06);
}

.ym-presskit-stack {
  min-width: 0;
}

.ym-presskit-card--photos {
  padding: clamp(24px, 2vw, 38px);
}

.ym-presskit-photo-group + .ym-presskit-photo-group {
  margin-top: clamp(34px, 2.8vw, 54px);
}

.ym-presskit-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.ym-presskit-photo {
  position: relative;
  min-height: clamp(96px, 7vw, 134px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(243, 246, 251, 0.82);
  box-shadow: inset 0 0 0 1px rgba(29, 49, 91, 0.07);
}

.ym-presskit-photo::before {
  content: "";
  width: 28px;
  height: 28px;
  opacity: 0.28;
  background: url("../icons/presskit-image.svg") center / contain no-repeat;
}

.ym-presskit-photo:has(img)::before {
  display: none;
}

.ym-presskit-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ym-presskit-photo:hover img {
  transform: scale(1.035);
}

.ym-presskit-card--list {
  position: relative;
  min-height: clamp(260px, 17vw, 326px);
  padding: clamp(26px, 2.15vw, 42px);
}

.ym-presskit-card--list::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 42%;
  height: 75%;
  background-image: var(--ym-presskit-card-image);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  opacity: 0.42;
  pointer-events: none;
}

.ym-presskit-card--list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ym-presskit-card--list li {
  position: relative;
  color: var(--ym-presskit-text);
  font-size: var(--ym-font-size-body);
  line-height: 1.32;
}

.ym-presskit-card--list li + li {
  margin-top: 10px;
}

.ym-presskit-card--channels,
.ym-presskit-card--contact {
  min-height: clamp(340px, 22vw, 420px);
  padding: clamp(26px, 2.15vw, 42px);
}

.ym-presskit-channel-list {
  display: grid;
  gap: 10px;
}

.ym-presskit-channel {
  min-height: 58px;
  padding: 10px 14px 10px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  color: var(--ym-presskit-text);
  text-decoration: none;
  border: 1px solid rgba(29, 49, 91, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(20, 37, 73, 0.045);
  transition:
    transform var(--ym-transition),
    border-color var(--ym-transition),
    background var(--ym-transition),
    box-shadow var(--ym-transition);
}

.ym-presskit-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 49, 91, 0.24);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 37, 73, 0.075);
}

.ym-presskit-channel span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ym-presskit-blue);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(32, 56, 102, 0.14);
}

.ym-presskit-channel img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ym-presskit-channel strong {
  overflow: hidden;
  font-size: var(--ym-font-size-card);
  line-height: 1.08;
  text-overflow: ellipsis;
}

.ym-presskit-channel i {
  width: 18px;
  height: 18px;
  background: url("../icons/arrow-up-right.svg") center / contain no-repeat;
}

.ym-presskit-card--contact {
  display: flex;
  flex-direction: column;
}

.ym-presskit-contact-text {
  color: rgba(5, 5, 5, 0.66);
  font-size: var(--ym-font-size-body);
  line-height: 1.3;
}

.ym-presskit-contact-text p {
  margin: 0;
}

.ym-presskit-card--contact .ym-presskit-button {
  margin-top: auto;
}

.ym-presskit-bottom {
  display: flex;
  justify-content: center;
  margin-top: clamp(38px, 3.1vw, 60px);
}

.ym-presskit-bio__text::-webkit-scrollbar {
  width: 7px;
}

.ym-presskit-bio__text::-webkit-scrollbar-track {
  background: rgba(24, 51, 95, 0.12);
  border-radius: 20px;
}

.ym-presskit-bio__text::-webkit-scrollbar-thumb {
  background: var(--ym-presskit-blue);
  border-radius: 20px;
}

.ym-presskit-bio__text::-webkit-scrollbar-thumb:hover {
  background: var(--ym-presskit-blue-dark);
}

@media (min-width: 1281px) {
  .ym-presskit-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: stretch;
  }

  .ym-presskit-card--bios {
    grid-column: 1 / span 7;
  }

  .ym-presskit-stack {
    grid-column: 8 / span 3;
  }

  .ym-presskit-card--topics,
  .ym-presskit-card--formats,
  .ym-presskit-card--channels,
  .ym-presskit-card--contact {
    grid-column: span 5;
    width: 100%;
  }

  .ym-presskit-card--bios,
  .ym-presskit-stack,
  .ym-presskit-card--photos {
    height: clamp(520px, 35vw, 620px);
    min-height: 0;
  }

  .ym-presskit-card--bios,
  .ym-presskit-card--photos {
    padding: clamp(24px, 1.8vw, 34px);
  }

  .ym-presskit-card--bios {
    display: flex;
    flex-direction: column;
  }

  .ym-presskit-card--bios > .ym-presskit-card__head {
    flex: 0 0 auto;
    margin-bottom: clamp(18px, 1.35vw, 26px);
  }

  .ym-presskit-bios {
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
  }

  .ym-presskit-bio {
    height: 100%;
    min-height: 0;
  }

  .ym-presskit-bio__top {
    flex: 0 0 auto;
    margin-bottom: 14px;
  }

  .ym-presskit-bio__text {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--ym-presskit-blue) rgba(24, 51, 95, 0.12);
  }

  .ym-presskit-copy {
    flex: 0 0 auto;
    margin-top: 14px;
  }

  .ym-presskit-stack,
  .ym-presskit-card--photos {
    display: flex;
    flex-direction: column;
  }

  .ym-presskit-card--photos {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .ym-presskit-photo-group + .ym-presskit-photo-group {
    margin-top: clamp(24px, 1.7vw, 34px);
  }

  .ym-presskit-card--photos .ym-presskit-card__head {
    margin-bottom: clamp(16px, 1.1vw, 22px);
  }

  .ym-presskit-photo-grid {
    margin-bottom: clamp(16px, 1.15vw, 22px);
  }

  .ym-presskit-photo {
    min-height: clamp(82px, 5.8vw, 112px);
  }

  .ym-presskit-button--ghost {
    min-height: 42px;
  }
}

@media (max-width: 1800px) {
  .ym-presskit-container {
    padding-left: 96px;
    padding-right: 96px;
  }
}

@media (max-width: 1650px) {
  .ym-presskit-container {
    padding-left: 84px;
    padding-right: 84px;
  }
}

@media (max-width: 1450px) {
  .ym-presskit-container {
    padding-left: 72px;
    padding-right: 72px;
  }
}

@media (max-width: 1280px) {
  .ym-presskit-container {
    padding-left: 64px;
    padding-right: 64px;
  }

  .ym-presskit-grid {
    grid-template-columns: 1fr;
  }

  .ym-presskit-bio {
    min-height: 460px;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .ym-presskit-card--bios,
  .ym-presskit-stack,
  .ym-presskit-card--photos {
    height: auto;
    min-height: 0;
  }

  .ym-presskit-bio__text {
    max-height: 300px;
    overflow-y: auto;
  }
}

@media (max-width: 1100px) {
  .ym-presskit-container {
    padding-left: 52px;
    padding-right: 52px;
  }
}

@media (max-width: 900px) {
  .ym-presskit-container {
    padding-left: 38px;
    padding-right: 38px;
  }

  .ym-presskit-hero {
    min-height: 560px;
    background-image:linear-gradient(180deg, rgb(253 253 253 / 30%) 0%, rgb(253 253 253 / 10%) 42%, rgba(251, 253, 255, 0.44) 100%), var(--ym-presskit-hero-bg-mobile, var(--ym-presskit-hero-bg-desktop, none));
    background-position: center, center top;
    background-size: cover, cover;
  }

  .ym-presskit-hero__content {
    width: 100%;
    max-width: 620px;
    padding-top: 92px;
  }

  .ym-presskit-bios {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ym-presskit-bio {
    min-height: 0;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--ym-presskit-border);
  }

  .ym-presskit-bio:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ym-presskit-copy {
    margin-top: 22px;
  }

  .ym-presskit-card--topics,
  .ym-presskit-card--formats,
  .ym-presskit-card--channels,
  .ym-presskit-card--contact {
    min-height: 0;
  }

  .ym-presskit-card--bios,
  .ym-presskit-stack,
  .ym-presskit-card--photos {
    height: auto;
    min-height: 0;
  }

  .ym-presskit-bio__text {
    max-height: 280px;
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
  .ym-presskit-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ym-presskit::before {
    top: 70px;
    right: -190px;
    opacity: 0.75;
  }

  .ym-presskit-hero {
    min-height: 650px;
  }

  .ym-presskit-hero__content {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 92px;
    padding-bottom: 64px;
    text-align: center;
  }

  .ym-presskit-hero h1 {
    font-size: 31px;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-align: center;
  }

  .ym-presskit-hero p {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--ym-section-description-size-mobile-sm);
    line-height: var(--ym-section-description-line-height-mobile);
    text-align: center;
  }

  .ym-presskit-main {
    padding-top: 46px;
    padding-bottom: 72px;
  }

  .ym-presskit-grid {
    gap: 24px;
  }

  .ym-presskit-card {
    border-radius: 18px;
  }

  .ym-presskit-card--bios,
  .ym-presskit-card--photos,
  .ym-presskit-card--list,
  .ym-presskit-card--channels,
  .ym-presskit-card--contact {
    padding: 24px;
  }

  .ym-presskit-card__head h2 {
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-presskit-photo-grid {
    gap: 8px;
  }

  .ym-presskit-photo {
    border-radius: 10px;
  }

  .ym-presskit-channel {
    min-height: 54px;
    border-radius: 10px;
  }

  .ym-presskit-button {
    width: 100%;
  }

  .ym-presskit-hero .ym-presskit-button {
    width: fit-content;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 560px) {
  .ym-presskit-hero {
    min-height: 660px;
  }

  .ym-presskit-hero h1 {
    font-size: 31px;
  }

  .ym-presskit-hero p {
    font-size: var(--ym-font-size-card-small);
  }

  .ym-presskit-main {
    padding-top: 40px;
  }

  .ym-presskit-card--bios,
  .ym-presskit-card--photos,
  .ym-presskit-card--list,
  .ym-presskit-card--channels,
  .ym-presskit-card--contact {
    padding: 22px;
  }

  .ym-presskit-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ym-presskit-photo {
    min-height: 76px;
  }

  .ym-presskit-bio__text {
    max-height: 260px;
    padding-right: 10px;
  }

  .ym-presskit-bio__text::-webkit-scrollbar {
    width: 5px;
  }

  .ym-presskit-channel {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    gap: 10px;
  }

  .ym-presskit-channel span {
    width: 36px;
    height: 36px;
  }

  .ym-presskit-channel strong {
    font-size: var(--ym-font-size-card-small);
  }
}

@media (max-width: 480px) {
  .ym-presskit-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 390px) {
  .ym-presskit-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ym-presskit-card--bios,
  .ym-presskit-card--photos,
  .ym-presskit-card--list,
  .ym-presskit-card--channels,
  .ym-presskit-card--contact {
    padding-left: 18px;
    padding-right: 18px;
  }
}
