/* ---------- Cooperation page ------------ */
.cooperation-page {
  --cooperation-teal: #2ab0b1;
  --cooperation-teal-dark: #179091;
  --cooperation-teal-soft: rgba(42, 176, 177, 0.12);
  --cooperation-accent: #ff9f67;
  --cooperation-text: #34485b;
  --cooperation-muted: #7a8793;
  --cooperation-card: #fff;
  --cooperation-border: rgba(42, 176, 177, 0.16);
  --cooperation-shadow: 0 12px 28px rgba(42, 65, 78, 0.08);
  direction: rtl;
  color: var(--cooperation-text);
  padding: 48px 0 10px;
}

.cooperation-page .container {
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.cooperation-page a {
  color: inherit;
}

.cooperation-page img {
  display: block;
}

.cooperation-page .cooperation-section {
  margin-block-end: 64px;
}

.cooperation-page .cooperation-section__header {
  margin-block-end: 22px;
  text-align: right;
}

.cooperation-page .cooperation-section__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cooperation-teal-dark);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}


.cooperation-page .cooperation-section__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: var(--cooperation-teal);
}

.cooperation-page .cooperation-hero__identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block-end: 22px;
}

.cooperation-page .cooperation-hero__logo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(42, 176, 177, 0.16),
    rgba(255, 159, 103, 0.12)
  );
  border: 1px solid var(--cooperation-border);
}

.cooperation-page .cooperation-hero__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.cooperation-page .cooperation-hero__heading h1 {
  color: #243a4d;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.55;
}

.cooperation-page .cooperation-hero__eyebrow {
  color: var(--cooperation-teal-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.cooperation-page .cooperation-hero__card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  width: 50%;
  background: var(--cooperation-card);
  box-shadow: var(--cooperation-shadow);
  height: auto;
  margin: auto;
}

.cooperation-page .cooperation-hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(42, 176, 177, 0.16),
    rgba(255, 255, 255, 0.9)
  );
}

.cooperation-page .cooperation-documentary-card__image img,
.cooperation-page .cooperation-song-card__artwork img,
.cooperation-page .cooperation-competition-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cooperation-page .cooperation-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.cooperation-page .cooperation-hero__content {
  padding: 24px 28px 28px;
}

.cooperation-page .cooperation-hero__content h2 {
  color: #243a4d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-block-end: 8px;
}

.cooperation-page .cooperation-hero__content p,
.cooperation-page .cooperation-song-card__description {
  color: #566575;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  text-align: justify;
}

.cooperation-page .cooperation-media-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cooperation-page .cooperation-media-rail--documentaries {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cooperation-page .cooperation-media-rail--competitions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cooperation-page .cooperation-documentary-card,
.cooperation-page .cooperation-competition-card {
  min-width: 0;
}

.cooperation-page .cooperation-documentary-card a,
.cooperation-page .cooperation-competition-card a {
  display: block;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cooperation-page .cooperation-documentary-card a {
  overflow: hidden;
  border-radius: 20px;
  background: var(--cooperation-card);
  border: 1px solid rgba(42, 176, 177, 0.1);
  box-shadow: 0 8px 20px rgba(42, 65, 78, 0.06);
}

.cooperation-page .cooperation-documentary-card__image,
.cooperation-page .cooperation-competition-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(42, 176, 177, 0.14),
    rgba(255, 255, 255, 0.86)
  );
}

.cooperation-page .cooperation-documentary-card__image {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.cooperation-page .cooperation-documentary-card__duration {
  position: absolute;
  /* inset-block-start: 12px; */
  /* inset-inline-start: 12px; */
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(23, 144, 145, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.cooperation-page .cooperation-documentary-card__body {
  display: block;
  padding: 16px 18px 18px;
}

.cooperation-page .cooperation-documentary-card__title,
.cooperation-page .cooperation-competition-card__title {
  display: block;
  color: #2e3f50;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.cooperation-page .cooperation-documentary-card__meta {
  display: block;
  color: var(--cooperation-teal-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  margin-block-start: 2px;
  text-align: justify;
}

.cooperation-page .cooperation-song-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 34px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #fff 62%,
    rgba(42, 176, 177, 0.1) 100%
  );
  border: 1px solid var(--cooperation-border);
  box-shadow: var(--cooperation-shadow);
}

.cooperation-page .cooperation-section__header--song {
  margin-block-end: 12px;
}

.cooperation-page .cooperation-song-card__description {
  max-width: 680px;
  margin-block-end: 24px;
}

.cooperation-page .cooperation-song-card__artwork {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(42, 176, 177, 0.16),
    rgba(255, 159, 103, 0.14)
  );
}

.cooperation-page .cooperation-audio {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 620px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(42, 176, 177, 0.08);
  border: 1px solid rgba(42, 176, 177, 0.18);
}

.cooperation-page .cooperation-audio__element {
  display: none;
}

.cooperation-page .cooperation-audio__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--cooperation-teal);
  color: #fff;
  box-shadow: 0 8px 16px rgba(42, 176, 177, 0.22);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.cooperation-page .cooperation-audio__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 17px;
  line-height: 1;
}

.cooperation-page .cooperation-audio__main {
  min-width: 0;
}

.cooperation-page .cooperation-audio__time {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #596877;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  margin-block-end: 8px;
}

.cooperation-page .cooperation-audio__progress {
  display: block;
  width: 100%;
  height: 8px;
  direction: ltr;
  border-radius: 999px;
  background: rgba(42, 176, 177, 0.18);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.cooperation-page .cooperation-audio__progress::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--cooperation-teal) var(--cooperation-audio-progress, 0%),
    rgba(42, 176, 177, 0.18) var(--cooperation-audio-progress, 0%)
  );
}

.cooperation-page .cooperation-audio__progress::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-block-start: -5px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cooperation-teal-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  -webkit-appearance: none;
  appearance: none;
}

.cooperation-page .cooperation-audio__progress::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 176, 177, 0.18);
}

.cooperation-page .cooperation-audio__progress::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--cooperation-teal);
}

.cooperation-page .cooperation-audio__progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cooperation-teal-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cooperation-page .cooperation-competition-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.cooperation-page .cooperation-competition-card__title {
  padding-block-start: 12px;
  font-size: 16px;
}

@media (hover: hover) {
  .cooperation-page .cooperation-documentary-card a:hover,
  .cooperation-page .cooperation-competition-card a:hover {
    transform: translateY(-2px);
  }

  .cooperation-page .cooperation-documentary-card a:hover {
    box-shadow: 0 12px 26px rgba(42, 65, 78, 0.1);
  }

  .cooperation-page .cooperation-audio__play:hover {
    background: var(--cooperation-teal-dark);
    transform: translateY(-1px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .cooperation-page .cooperation-section {
    margin-block-end: 56px;
  }

  .cooperation-page .cooperation-song-card {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cooperation-page {
    padding-block-start: 40px;
  }

  .cooperation-page .cooperation-section {
    margin-block-end: 48px;
  }

  .cooperation-page .cooperation-section__title {
    font-size: 25px;
  }

  .cooperation-page .cooperation-hero__media {
    aspect-ratio: auto;
  }

  .cooperation-page .cooperation-hero__heading h1 {
    font-size: 29px;
  }

  .cooperation-page .cooperation-media-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-page .cooperation-media-rail--documentaries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-page .cooperation-media-rail--competitions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cooperation-page .cooperation-song-card {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    padding: 24px;
  }

  .cooperation-page .cooperation-hero__card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: var(--cooperation-card);
    box-shadow: var(--cooperation-shadow);
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) {
  .cooperation-page {
    padding-block-start: 30px;
  }

  .cooperation-page .container {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .cooperation-page .cooperation-section {
    margin-block-end: 38px;
  }

  .cooperation-page .cooperation-section__header {
    margin-block-end: 16px;
  }

  .cooperation-page .cooperation-section__title {
    gap: 10px;
    font-size: 22px;
  }

  .cooperation-page .cooperation-section__title::after {
    width: 42px;
    height: 3px;
  }

  .cooperation-page .cooperation-hero__identity {
    gap: 14px;
    margin-block-end: 18px;
  }

  .cooperation-page .cooperation-hero__logo-shell {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 18px;
  }

  .cooperation-page .cooperation-hero__logo {
    width: 50px;
    height: 50px;
  }

  .cooperation-page .cooperation-hero__eyebrow {
    font-size: 15px;
  }

  .cooperation-page .cooperation-hero__heading h1 {
    font-size: 24px;
  }

  .cooperation-page .cooperation-hero__card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: var(--cooperation-card);
    box-shadow: var(--cooperation-shadow);
    width: 100%;
    height: auto;
  }

  .cooperation-page .cooperation-hero__media {
    aspect-ratio: auto;
  }

  .cooperation-page .cooperation-hero__content {
    padding: 18px;
  }

  .cooperation-page .cooperation-hero__content h2 {
    font-size: 20px;
  }

  .cooperation-page .cooperation-hero__content p,
  .cooperation-page .cooperation-song-card__description {
    font-size: 14px;
    line-height: 1.9;
  }

  .cooperation-page .cooperation-media-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-block-end: 10px;
    padding-inline-start: 0;
    padding-inline-end: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cooperation-page .cooperation-media-rail::-webkit-scrollbar {
    display: none;
  }

  .cooperation-page .cooperation-documentary-card {
    flex: 0 0 72%;
    min-width: 70%;
    max-width: 320px;
    scroll-snap-align: start;
  }

  .cooperation-page .cooperation-documentary-card__body {
    padding: 14px 15px 16px;
  }

  .cooperation-page .cooperation-documentary-card__title,
  .cooperation-page .cooperation-competition-card__title {
    font-size: 15px;
  }

  .cooperation-page .cooperation-documentary-card__meta {
    font-size: 13px;
  }

  .cooperation-page .cooperation-song-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 20px;
  }

  .cooperation-page .cooperation-song-card__description {
    margin-block-end: 18px;
  }

  .cooperation-page .cooperation-song-card__artwork {
    width: min(190px, 56vw);
    justify-self: start;
    border-radius: 18px;
  }

  .cooperation-page .cooperation-audio {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .cooperation-page .cooperation-audio__play {
    width: 48px;
    height: 48px;
  }

  .cooperation-page .cooperation-audio__time {
    font-size: 12px;
  }

  .cooperation-page .cooperation-competition-card {
    flex: 0 0 56vw;
    max-width: 230px;
    scroll-snap-align: start;
  }
}

@media (max-width: 515px) {
  .cooperation-page .cooperation-documentary-card {
    flex-basis: 74vw;
    max-width: 300px;
  }

  .cooperation-page .cooperation-competition-card {
    flex-basis: 62vw;
    max-width: 210px;
  }
}

@media (max-width: 991px) {
  .cooperation-page .cooperation-song-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .cooperation-page .cooperation-song-card__content {
    display: contents;
  }

  .cooperation-page .cooperation-section__header--song {
    order: 1;
    margin-block-end: 0;
  }

  .cooperation-page .cooperation-song-card__artwork {
    order: 2;
    width: min(260px, 70vw);
    max-width: 100%;
    margin: 0;
    justify-self: center;
  }

  .cooperation-page .cooperation-audio {
    order: 3;
    width: 100%;
    box-sizing: border-box;
    justify-self: center;
  }

  .cooperation-page .cooperation-song-card__description {
    order: 4;
    max-width: 100%;
    margin-block-end: 0;
  }
}
