@font-face {
  font-family: "CeraPro";
  src: url("../fonts/CeraPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/CeraPro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/CeraPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fonts/CeraPro-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Micra";
  src: url("../fonts/Micra.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Micra";
  src: url("../fonts/Micra-Bold.woff") format("woff");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #0f0f0f;
  --color-panel: #1c1c1c;
  --color-panel-soft: #202020;
  --color-text: #ffffff;
  --color-muted: #8d8d8d;
  --color-accent: #ff5a36;
  --color-green: #20ffa6;
  --container: 1190px;
  --font-base: "CeraPro", Arial, Helvetica, sans-serif;
  --font-heading: "Micra", "CeraPro", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-base);
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.section-title,
.hero-card__title,
.feature-card__title,
.content-card__title,
.news-card__title,
.footer__title,
.page-title,
.tabs-page__title,
.person__title,
.section-title--small,
.contacts-info__title,
.media-card__title,
.catalog-tabs__link,
.catalog-card__title,
.project-hero__title,
.project-title,
.award-item__title,
.search-page__title,
.legal-page__title,
.search-section__title {
  font-family: var(--font-heading);
}

.footer__title,
.footer__link,
.footer__text,
.footer__copy,
.footer__note {
  font-family: var(--font-base);
}

.news-card__title,
.media-card__title,
.person__title,
.award-item__title,
.contacts-info__title,
.tabs-page__tab,
.project-title {
  font-family: var(--font-base);
}

.tabs-page__tab {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.overflow-hidden {
  overflow: hidden;
}

.news-page .tabs-page__tab {
  font-size: 40px;
}

.news-list,
.search-results--mixed,
.project-news {
  gap: 40px 28px;
}

.news-card--listing .news-card__image,
.media-card__image {
  aspect-ratio: 408 / 250;
}

.news-card__title,
.media-card__title {
  font-size: 20px;
  line-height: 1.25;
  text-transform: none;
}

.about-intro {
  grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
  gap: 48px;
}

.about-intro__mark {
  min-height: 512px;
  border-radius: 12px;
}

.about-stats__value {
  font-family: var(--font-heading);
  font-size: 40px;
}

.about-text,
.person__text {
  color: #e5e5e8;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.person__title,
.project-title {
  font-size: 40px;
  font-weight: 900;
}

.person__position,
.team-card__role,
.project-facts dt,
.creator-list dt,
.award-item__event {
  color: var(--ui-muted);
  font-family: var(--font-base);
  font-weight: 400;
}

.team-card__name,
.project-facts dd,
.creator-list dd {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 700;
}

.project-hero {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 48px;
}

.project-hero__poster {
  border-radius: 12px;
}

.project-hero {
  grid-template-rows: auto auto;
  align-content: start;
  row-gap: 16px;
}

.project-hero__title {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}

.project-copy {
  max-width: 720px;
  color: #ffffff;
  font-family: var(--font-base);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.award-item__icon {
  background: var(--ui-surface);
  border-radius: 12px;
}

.award-item__title {
  font-size: 20px;
  font-weight: 900;
}

.gallery-grid button {
  border-radius: 8px;
}

.watch-dropdown {
  background: #1c1c1d;
  border: 0;
  border-radius: 8px;
}

.watch-dropdown a {
  font-family: var(--font-base);
  font-weight: 500;
}

@media (max-width: 1180px) {

  .about-intro,
  .contacts-layout,
  .person {
    grid-template-columns: 1fr;
  }

  .about-intro__mark {
    min-height: 360px;
  }

  .news-list,
  .search-results--mixed,
  .project-news {
    display: grid;
    grid-auto-columns: minmax(280px, 48%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .news-list::-webkit-scrollbar,
  .search-results--mixed::-webkit-scrollbar,
  .project-news::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767px) {
  .tabs-page__tabs {
    gap: 28px;
    margin-top: 54px;
    margin-bottom: 32px;
  }

  .tabs-page__tab,
  .news-page .tabs-page__tab {
    font-size: 28px;
  }

  .news-list,
  .search-results--mixed,
  .project-news {
    grid-auto-columns: minmax(260px, 86%);
    gap: 16px;
  }

  .news-card__title,
  .media-card__title {
    font-size: 16px;
  }

  .about-intro__mark {
    min-height: 270px;
  }

  .about-stats {
    gap: 22px;
  }

  .about-stats__value {
    font-size: 32px;
  }

  .about-text,
  .person__text,
  .project-copy {
    font-size: 16px;
  }

  .person__title,
  .project-title {
    font-size: 24px;
  }

  .project-hero__title {
    font-size: 44px;
  }

  .project-layout {
    gap: 42px;
  }

  .contacts-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Final home override */
.page:not(.page--inner) .hero {
  --hero-gap: 16px;
  --hero-peek: 0px;
}

.page:not(.page--inner) .hero__viewport {
  width: 100%;
  overflow: hidden;
}

.page:not(.page--inner) .hero__slide {
  flex-basis: 100%;
}

.page:not(.page--inner) .hero-card__title,
.page:not(.page--inner) .feature-card__title,
.page:not(.page--inner) .content-card__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.page:not(.page--inner) .hero-card__title {
  font-size: 48px;
  line-height: 0.92;
}

.page:not(.page--inner) .content-card__title {
  font-size: 17px;
  line-height: 1.08;
}

.page:not(.page--inner) .feature-card__title {
  line-height: 0.92;
}

@media (max-width: 1180px) {
  .page:not(.page--inner) .hero {
    --hero-gap: 14px;
    --hero-peek: 0px;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .main {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 12px;
    --hero-peek: 0px;
    width: calc(100vw - 24px);
    margin-left: 0;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: 28px;
    line-height: 0.95;
  }

  .page:not(.page--inner) .hero-card__text,
  .page:not(.page--inner) .feature-card__text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 12px;
    line-height: 1.35;
  }

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px;
  }

  .page:not(.page--inner) .hero-card__buttons .button,
  .page:not(.page--inner) .feature-card__buttons .button {
    min-width: 0;
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .page:not(.page--inner) .section-title {
    font-size: 27px;
  }

  .page:not(.page--inner) .section-link {
    font-size: 0;
  }

  .page:not(.page--inner) .content-card__title {
    font-size: 15px;
  }

  .page:not(.page--inner) .feature-card__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {

  .page:not(.page--inner) .hero-card__text,
  .page:not(.page--inner) .feature-card__text {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px;
  }

  .page:not(.page--inner) .hero-card__buttons .button,
  .page:not(.page--inner) .feature-card__buttons .button {
    box-sizing: border-box;
    min-width: 0 !important;
    width: 100% !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 13px;
  }
}

/* Restored home layout */
.page:not(.page--inner) .hero {
  --hero-gap: 16px;
  --hero-peek: 0px;
}

.page:not(.page--inner) .hero__viewport {
  overflow: hidden;
}

.page:not(.page--inner) .hero__slide {
  flex-basis: 100%;
}

.page:not(.page--inner) .hero-card__title,
.page:not(.page--inner) .feature-card__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.page:not(.page--inner) .hero-card__title {
  font-size: 48px;
  line-height: 0.92;
}

.page:not(.page--inner) .content-card__media {
  display: block;
}

.page:not(.page--inner) .content-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.page:not(.page--inner) .content-card__year {
  font-family: var(--font-base);
  font-weight: 400;
}

.page:not(.page--inner) .feature-card__title {
  line-height: 0.92;
}

.page:not(.page--inner) .feature--cream .feature-card::after {
  background: #f4ddcf;
}

@media (max-width: 1180px) {
  .page:not(.page--inner) .hero {
    --hero-peek: 0px;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .main {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 12px;
    --hero-peek: 0px;
    width: calc(100vw - 24px);
    margin-left: 0;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: calc(100vw - 24px);
  }

  .page:not(.page--inner) .hero-card {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .page:not(.page--inner) .hero-card__image {
    aspect-ratio: 351 / 226;
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: 28px;
    line-height: 0.95;
  }

  .page:not(.page--inner) .hero-card__text {
    font-size: 13px;
    line-height: 1.35;
  }

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page:not(.page--inner) .hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .page:not(.page--inner) .hero__dot {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #4f4f4f;
  }

  .page:not(.page--inner) .hero__dot--active {
    background: #ffffff;
  }

  .page:not(.page--inner) .section-title {
    font-size: 27px;
  }

  .page:not(.page--inner) .section-link {
    font-size: 0;
  }

  .page:not(.page--inner) .section-link__icon {
    font-size: 18px;
  }

  .page:not(.page--inner) .rail__track {
    width: calc(100vw - 24px);
    grid-auto-columns: 142px;
  }

  .page:not(.page--inner) .content-card__title {
    min-height: 54px;
    font-size: 15px;
  }

  .page:not(.page--inner) .content-card__year {
    font-size: 12px;
  }

  .page:not(.page--inner) .feature-card__title {
    font-size: 28px;
  }

  .page:not(.page--inner) .feature-card__text {
    font-size: 13px;
  }

  .page:not(.page--inner) .news-grid {
    display: grid;
    grid-auto-columns: 260px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page:not(.page--inner) .news-grid::-webkit-scrollbar {
    display: none;
  }
}

.page {
  position: relative;
  min-height: 0;
  padding-top: 68px;
  background: var(--color-bg);
}

.news-page {
  position: relative;
}

.page::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    url("../images/m-icon.svg") 100% 35% / 880px auto no-repeat,
    url("../images/m-icon.svg") 100% 104%/ 880px auto no-repeat;
  content: "";
  opacity: 0.24;
  pointer-events: none;
}

.news-page::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  bottom: -79%;
  right: -760px;
  background: url(../images/m-icon.svg) no-repeat center;
  content: "";
  opacity: 0.24;
  pointer-events: none;
}


.header,
.main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  height: 68px;
  padding: 0 20px;
  margin: 0 auto;
  gap: 46px;
  background: #0F0F0F;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.header--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 12, 0.98);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-size: 31px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__link,
.lang__link {
  position: relative;
  color: #d7d7d7;
  font-size: 18px;
  font-weight: 650;
}

.nav__link:first-child::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  content: "";
}

.nav__link:hover,
.footer__link:hover,
.section-link:hover {
  color: #ffffff;
}

.header__actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 22px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.icon-button__glyph {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.socials__link {
  display: inline-flex;
  overflow: hidden;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.socials__link[aria-label="VK"] {
  background-image: url("../images/vk.svg");
}

.socials__link[aria-label="MAX"] {
  background-image: url("../images/max.svg");
}

.socials__link[aria-label="Rutube"] {
  background-image: url("../images/rutube.svg");
}

.socials__link[aria-label="Instagram"] {
  background-image: url("../images/instagram.svg");
}

.socials__link[aria-label="Telegram"] {
  background-image: url("../images/telegram.svg");
}

.header__socials {
  padding-left: 22px;
}

.lang {
  display: flex;
  gap: 8px;
}

.lang__link {
  font-size: 16px;
  font-weight: 800;
  color: #777777;
}

.lang__link--active {
  color: #ffffff;
}

.header__burger {
  display: none;
}

.main {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  margin-top: 4px;
}

.hero__viewport {
  width: min(100%, 1050px);
  margin: 0 auto;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 526px;
  border-radius: 16px;
  background: var(--color-panel);
}

.hero-card__image,
.feature-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__image {
  object-position: center;
}

.hero-card__shade,
.feature-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-card__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%),
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-card__coner,
.feature-card::before,
.feature-card::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.hero-card__coner--left {
  top: -120px;
  left: -116px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-card__coner--right {
  right: -100px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-card__content,
.feature-card__content {
  position: absolute;
  z-index: 3;
  left: 42px;
  bottom: 44px;
  display: flex;
  width: min(610px, calc(100% - 84px));
  max-width: 100%;
  max-height: calc(100% - 88px);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent);
  ;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 13px;
  color: white;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.feature-card__content .badge,
.hero-card__content .badge {
  position: static !important;
  display: inline-flex !important;
  margin-bottom: 12px !important;
  color: #FF5A36 !important;
  background: transparent !important;
}


.hero-card__title,
.feature-card__title,
.section-title {
  margin: 0;
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-card__title {
  max-width: 660px;
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 58px);
}

.hero-card__text,
.feature-card__text {
  display: -webkit-box;
  overflow: hidden;
  max-width: 650px;
  min-width: 0;
  margin: 18px 0 0;
  color: #ededed;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-card__buttons,
.feature-card__buttons {
  position: relative;
  z-index: 4;
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 45px;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.button--primary {
  background: var(--color-accent);
}

.button--dark {
  border-radius: 12px !important;
  background: #DEDEEE24 !important;
  backdrop-filter: blur(40px);
}

.hero__arrow,
.rail__button {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero__arrow {
  top: 50%;
  width: 34px;
  height: 50px;
  font-size: 34px;
  transform: translateY(-50%);
}

.hero__arrow--prev {
  left: -7px;
}

.hero__arrow--next {
  right: -7px;
}

.hero__dots {
  display: none;
}

.content-section {
  margin-top: 78px;
}

.content-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(34px, 4vw, 48px);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 850;
}

.section-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1b1b1b;
  font-size: 18px;
  line-height: 1;
}

.rail {
  position: relative;
}

.rail__track {
  display: grid;
  grid-auto-columns: minmax(160px, 1fr);
  grid-auto-flow: column;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rail__track::-webkit-scrollbar {
  display: none;
}

.rail__button {
  top: 42%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.84);
  font-size: 26px;
}

.rail__button--prev {
  left: -43px;
}

.rail__button--next {
  right: -43px;
}

.content-card {
  min-width: 0;
}

.content-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 190 / 270;
  border-radius: 8px;
  background: var(--color-panel);
}

.content-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card__label {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 16px);
  padding: 6px 10px;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.content-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 58px;
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card__year {
  margin: 7px 0 0;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.feature {
  margin-top: 78px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 16px;
  background: var(--color-panel);
}

.feature-card::before {
  top: -170px;
  left: -154px;
  width: 335px;
  height: 335px;
  border-radius: 50%;
  background: var(--color-green);
}

.feature-card::after {
  right: -115px;
  bottom: -128px;
  width: 265px;
  height: 265px;
  border-radius: 50%;
  background: var(--color-green);
}

.feature--cream .feature-card::before {
  display: none;
}

.feature--cream .feature-card::after {
  right: -72px;
  bottom: -84px;
  width: 252px;
  height: 252px;
  background: #f5ddcd;
}

.feature-card__image {
  object-position: center;
}

.feature-card__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.08) 58%, transparent 100%),
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.8) 100%);
}

.feature-card__title {
  margin-top: 18px;
  font-size: clamp(34px, 4.8vw, 48px);
}

.content-section--news {
  margin-top: 82px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  overflow: hidden;
  border-radius: 8px;
  background: #1c1c1d;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 350 / 190;
  object-fit: cover;
}

.news-card__body {
  min-height: 122px;
  padding: 22px 22px 24px;
}

.news-card__date {
  display: block;
  margin-bottom: 8px;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.news-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.footer {
  width: min(1840px, calc(100% - 160px));
  margin: 110px auto 0;
  padding: 0 0 64px;
  background: var(--color-bg);
  border-top: 0;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(760px, 1.05fr);
  gap: 96px;
  align-items: start;
}

.footer__logo {
  font-size: 78px;
  line-height: 0.9;
}

.footer__socials {
  margin-top: 68px;
}

.footer__note {
  max-width: 300px;
  margin: 14px 0 0;
  color: #777777;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 110px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  font-style: normal;
}

.footer__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
}

.footer__link,
.footer__text {
  color: #838383;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copy {
  margin: 0;
  color: #777777;
  font-size: 18px;
  font-weight: 650;
}

.footer__legal {
  display: flex;
  gap: 32px;
}

.page--inner {
  background: var(--color-bg);
}

.page--inner::before,
.page--inner::after {
  display: none;
}

.tabs-page {
  padding-top: 48px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #EEEEFB7A;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.breadcrumbs__link {
  color: #F2F2F2;
}

.tabs-page__tabs {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 78px);
  margin-top: 115px;
  margin-bottom: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-page__tabs::-webkit-scrollbar {
  display: none;
}

.tabs-page__tab {
  flex: 0 0 auto;
  padding: 0;
  color: #4a4b50;
  background: transparent;
  border: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.tabs-page__tab--active {
  color: #ffffff;
}

.tabs-page__panel {
  min-height: 520px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about-intro__mark {
  overflow: hidden;
  min-height: 365px;
  padding: 16px 0 0;
  border-radius: 16px;
  background: var(--color-accent);
}

.about-intro__mark span {
  display: block;
  margin-left: -40px;
  color: #ffd8c8;
  font-size: 106px;
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 28px 70px;
  margin: 0 0 28px;
}

.about-stats__item {
  margin: 0;
}

.about-stats__value {
  color: var(--color-green);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
}

.about-stats__label {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
}

.about-text {
  color: #b2b2b2;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.about-text p {
  margin: 0 0 18px;
}

.person {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.person__image {
  width: 100%;
  aspect-ratio: 440 / 315;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
}

.person__title {
  margin: 0;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.person__position {
  margin: 6px 0 24px;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.person__text {
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.person__text p {
  margin: 0 0 16px;
}

.team-list {
  margin-top: 86px;
}

.section-title--small {
  font-size: 34px;
}

.team-list__controls {
  display: flex;
  gap: 8px;
}

.team-list__button {
  position: static;
  width: 28px;
  height: 28px;
  font-size: 20px;
  transform: none;
}

.team-list__track {
  display: grid;
  grid-auto-columns: 180px;
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.team-list__track::-webkit-scrollbar {
  display: none;
}

.team-card__image {
  width: 100%;
  aspect-ratio: 180 / 245;
  object-fit: cover;
  border-radius: 8px;
}

.team-card__name {
  margin: 13px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.team-card__role {
  margin: 4px 0 0;
  color: #777777;
  font-size: 11px;
  font-weight: 700;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 78px;
  align-items: start;
}

.contacts-layout__map {
  width: 0;
  aspect-ratio: 600 / 485;
  object-fit: cover;
  border-radius: 16px;
}

.contacts-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 86px;
}

.contacts-info__item {
  min-width: 0;
}

.contacts-info__title {
  margin: 0 0 12px;
  color: #737373;
  font-size: 16px;
  font-weight: 800;
}

.contacts-info__link,
.contacts-info__text {
  display: block;
  overflow-wrap: anywhere;
  margin: 0;
  color: #dedede;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.55;
}

.contacts-info__note {
  overflow-wrap: anywhere;
  margin: 7px 0 0;
  color: #737373;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

@media screen and (max-width: 768px) {
  .news-page .tabs-page__tabs {
    margin-top: 32px !important;
    margin-bottom: 24px !important;
  }

  .news-page {
    padding-top: 24px !important;
  }
}


.news-page__tabs {
  gap: 22px;
}

.news-page .tabs-page__tab {
  font-size: clamp(25px, 2.3vw, 34px);
}

.news-page .tabs-page__panel {
  min-height: 0;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card--listing,
.media-card {
  min-width: 0;
}

.news-card--listing .news-card__image,
.media-card__image {
  aspect-ratio: 350 / 216;
}

.news-card--listing .news-card__body {
  min-height: 124px;
  padding: 24px;
}

.news-card--listing .news-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-transform: none;
  overflow-wrap: anywhere;
}

.media-card {
  overflow: hidden;
  border-radius: 8px;
  background: #1c1c1d;
}

.media-card__image {
  width: 100%;
  object-fit: cover;
}

.media-card__body {
  min-height: 0;
  padding: 20px 20px 22px;
}

.media-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.media-card__text {
  display: -webkit-box;
  overflow: hidden;
  margin: 13px 0 0;
  color: #8c8c8c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.media-card__source {
  display: block;
  margin-top: 16px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
}

.load-more {
  display: none;
  align-items: center;
  justify-content: center;
  width: min(100%, 190px);
  min-height: 38px;
  margin: 28px auto 0;
  padding: 10px 18px;
  color: #ffffff;
  background: #2a2a2b;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.skeleton-line,
.skeleton-card {
  position: relative;
  overflow: hidden;
  background: #1b1b1b;
}

.skeleton-line::after,
.skeleton-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-line {
  width: 220px;
  height: 17px;
  border-radius: 999px;
}

.skeleton-card {
  min-height: 292px;
  border-radius: 10px;
}

.home-skeleton {
  display: block;
  padding-top: 28px;
}

.js .page--home-loading .home-skeleton[hidden] {
  display: block;
}

.js .page--home-loading .main> :not(.home-skeleton) {
  display: none;
}

.home-skeleton__hero,
.home-skeleton__banner,
.home-skeleton__card,
.home-skeleton__news-card,
.home-skeleton__title {
  position: relative;
  overflow: hidden;
  background: #1b1b1b;
  border-radius: 14px;
}

.home-skeleton__hero::after,
.home-skeleton__banner::after,
.home-skeleton__card::after,
.home-skeleton__news-card::after,
.home-skeleton__title::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s infinite;
}

.home-skeleton__hero {
  min-height: 520px;
  border-radius: 16px;
}

.home-skeleton__section,
.home-skeleton__banner {
  margin-top: 72px;
}

.home-skeleton__title {
  width: 220px;
  height: 24px;
  margin-bottom: 28px;
  border-radius: 999px;
}

.home-skeleton__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.home-skeleton__card {
  min-height: 320px;
}

.home-skeleton__banner {
  min-height: 420px;
}

.home-skeleton__news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-skeleton__news-card {
  min-height: 320px;
}

.news-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-skeleton-area {
  display: none;
}

.news-page--loading .news-skeleton-area {
  display: block;
}

.news-page--loading .tabs-page__panels {
  display: none;
}

.news-skeleton__head {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 1500px) {
  :root {
    --container: 1190px;
  }

  .hero__viewport {
    width: 1050px;
  }
}

@media (max-width: 1180px) {
  :root {
    --container: 860px;
  }

  .header {
    height: 96px;
    padding: 0 40px;
    gap: 24px;
  }

  .page {
    padding-top: 96px;
  }

  .logo {
    font-size: 48px;
  }

  .nav {
    display: none;
  }

  .header__socials,
  .lang {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

  .icon-button {
    width: 48px;
    height: 48px;
  }

  .icon-button__glyph {
    font-size: 42px;
  }

  .hero-card {
    min-height: 460px;
  }

  .hero__arrow--prev {
    left: -34px;
  }

  .hero__arrow--next {
    right: -34px;
  }

  .rail__track {
    grid-template-columns: none;
    grid-auto-columns: 172px;
    gap: 22px;
  }

  .home-skeleton__hero {
    min-height: 420px;
  }

  .home-skeleton__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer {
    width: calc(100% - 128px);
    margin-top: 96px;
    padding-bottom: 56px;
  }

  .footer__brand {
    display: contents;
  }

  .footer__logo {
    grid-column: 1 / -1;
    order: 0;
    font-size: 88px;
  }

  .footer__columns {
    display: contents;
  }

  .footer__column {
    order: 1;
    gap: 28px;
  }

  .footer__column--contacts {
    grid-column: 1 / -1;
    order: 2;
  }

  .footer__title,
  .footer__link,
  .footer__text {
    font-size: 30px;
  }

  .footer__socials {
    grid-column: 1 / -1;
    order: 3;
    margin-top: 0;
    gap: 40px;
  }

  .footer__socials .socials__link {
    width: 42px;
    height: 42px;
  }

  .footer__note {
    grid-column: 1 / -1;
    order: 4;
    max-width: 620px;
    margin-top: -58px;
    padding-top: 56px;
    font-size: 24px;
  }

  .footer__bottom {
    margin-top: 86px;
    padding-top: 46px;
  }

  .footer__copy {
    display: none;
  }

  .footer__legal {
    gap: 48px;
  }

  .news-list,
  .news-skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page {
    background:
      var(--color-bg);
  }

  .page::before {
    inset: 0;
    background-position: 50% 72px, 50% 980px;
    background-size: 520px auto, 520px auto;
    opacity: 0.2;
  }

  .page::after {
    width: 260px;
    height: 340px;
    right: -90px;
    bottom: 780px;
  }

  .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 64px;
    padding: 0 16px;
    gap: 16px;
    border-bottom: 1px solid transparent;
  }

  .page {
    padding-top: 64px;
  }

  .header::before {
    position: fixed;
    z-index: 31;
    top: 19px;
    right: auto;
    left: 292px;
    width: 22px;
    height: 22px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    content: "";
  }

  .header::after {
    position: fixed;
    z-index: 31;
    top: 23px;
    right: auto;
    left: 340px;
    width: 34px;
    height: 24px;
    background:
      linear-gradient(#f2f2f2, #f2f2f2) 0 0 / 34px 3px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 10px / 34px 3px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 20px / 34px 3px no-repeat;
    content: "";
  }

  .header__actions::before {
    position: fixed;
    z-index: 31;
    top: 39px;
    right: auto;
    left: 312px;
    width: 15px;
    height: 3px;
    background: #f2f2f2;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
  }

  .logo {
    font-size: 25px;
  }

  .header__nav {
    position: fixed;
    z-index: 20;
    top: 64px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: #171717;
  }

  .header--open .header__nav {
    display: flex;
  }

  .header__actions {
    position: fixed;
    z-index: 30;
    top: 15px;
    right: auto;
    left: 292px;
    gap: 20px;
    margin-left: 0;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .icon-button__glyph {
    font-size: 0;
  }

  .header__burger {
    display: inline-flex;
  }

  .main {
    width: calc(100% - 24px);
  }

  .hero {
    margin-top: 9px;
  }

  .hero__viewport {
    width: 100%;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-height: 0;
    border-radius: 12px;
    background: var(--color-panel);
  }

  .hero-card__image {
    position: relative;
    height: auto;
    aspect-ratio: 335 / 220;
    object-fit: cover;
  }

  .hero-card__shade,
  .hero-card__coner {
    display: none;
  }

  .hero-card__content {
    position: static;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 22px 22px 20px;
  }

  .badge {
    min-height: 23px;
    padding: 3px 10px;
    font-size: 10px;
  }

  .hero-card__title {
    margin-top: 14px;
    font-size: 30px;
    line-height: 0.95;
  }

  .hero-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    width: calc(100vw - 68px);
    max-width: calc(100vw - 68px);
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-card__buttons,
  .feature-card__buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    max-width: calc(100vw - 68px);
    gap: 10px;
    margin-top: 21px;
  }

  .button {
    min-width: 0;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 12px;
  }

  .hero__arrow {
    display: none;
  }

  .hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .hero__dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #5c5c5c;
  }

  .hero__dot--active {
    width: 34px;
    background: #ffffff;
  }

  .content-section {
    margin-top: 44px;
  }

  .content-section__head {
    margin-bottom: 17px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-link {
    font-size: 0;
  }

  .section-link__icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .rail__track {
    grid-auto-columns: 142px;
    gap: 12px;
    padding-right: 12px;
  }

  .rail__button {
    display: none;
  }

  .content-card__media {
    border-radius: 7px;
  }

  .content-card__label {
    top: 16px;
    left: 16px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .content-card__title {
    min-height: 54px;
    margin-top: 10px;
    font-size: 13px;
  }

  .feature {
    margin-top: 44px;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-height: 0;
    border-radius: 12px;
  }

  .feature-card::before,
  .feature-card::after,
  .feature-card__shade {
    display: none;
  }

  .feature-card__image {
    position: relative;
    aspect-ratio: 335 / 240;
    object-fit: cover;
  }

  .feature-card__content {
    position: static;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 20px 22px 22px;
  }

  .feature-card__title {
    margin-top: 13px;
    font-size: 20px;
    line-height: 0.98;
  }

  .feature-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    width: calc(100vw - 68px);
    max-width: calc(100vw - 68px);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .content-section--news {
    margin-top: 48px;
  }

  .news-grid {
    display: grid;
    grid-auto-columns: 178px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-right: 12px;
    scrollbar-width: none;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-card__image {
    aspect-ratio: 178 / 150;
  }

  .news-card__body {
    min-height: 128px;
    padding: 15px 14px 16px;
  }

  .news-card__title {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .footer {
    width: calc(100% - 40px);
    margin-top: 76px;
    padding: 0 0 36px;
    border-top: 0;
  }

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

  .footer__logo {
    grid-column: 1 / -1;
    font-size: 66px;
  }

  .footer__columns {
    display: contents;
  }

  .footer__brand {
    display: contents;
  }

  .footer__socials {
    grid-column: 1 / -1;
    order: initial;
    gap: 26px;
    margin-top: 4px;
  }

  .footer__socials .socials__link {
    width: 32px;
    height: 32px;
  }

  .footer__note {
    grid-column: 1 / -1;
    order: 4;
    max-width: 330px;
    margin-top: -26px;
    padding-top: 24px;
    font-size: 14px;
    line-height: 1.35;
  }

  .footer__column--contacts {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 28px;
  }

  .footer__copy {
    display: none;
  }

  .footer__title,
  .footer__link,
  .footer__text {
    font-size: 22px;
  }

  .footer__column {
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .tabs-page {
    padding-top: 36px;
  }

  .tabs-page__tabs {
    margin-top: 76px;
    margin-bottom: 42px;
  }

  .about-intro,
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-intro__mark {
    min-height: 310px;
  }

  .about-intro__content {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
  }

  .contacts-layout__info {
    order: -1;
  }

  .person {
    grid-template-columns: 1fr;
  }

  .person__image {
    max-width: 560px;
  }
}

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

  .breadcrumbs {
    font-size: 16px;
  }

  .tabs-page__tabs {
    gap: 28px;
    width: calc(100vw - 12px);
    margin-top: 46px;
    margin-right: -12px;
    margin-bottom: 30px;
  }

  .tabs-page__tab {
    font-size: 25px;
  }

  .about-intro {
    display: flex;
    flex-direction: column;
  }

  .about-intro__mark {
    width: 100%;
    min-height: 188px;
    border-radius: 7px;
  }

  .about-intro__mark span {
    margin-left: -24px;
    font-size: 62px;
  }

  .about-intro__content {
    display: block;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 48px;
    margin-bottom: 24px;
  }

  .about-stats__value {
    font-size: 28px;
  }

  .about-text {
    font-size: 12px;
    line-height: 1.55;
  }

  .person__image {
    aspect-ratio: 335 / 230;
  }

  .person__title {
    font-size: 18px;
  }

  .person__text {
    font-size: 12px;
    line-height: 1.62;
  }

  .team-list {
    margin-top: 48px;
  }

  .section-title--small {
    font-size: 26px;
  }

  .team-list__controls {
    display: none;
  }

  .team-list__track {
    grid-auto-columns: 118px;
    gap: 12px;
  }

  .contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .contacts-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: calc(100vw - 24px);
    gap: 24px;
    order: -1;
  }

  .contacts-info__item {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .contacts-info__title {
    overflow-wrap: anywhere;
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
    margin-bottom: 7px;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
  }

  .contacts-info__link,
  .contacts-info__text {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
    font-size: 17px;
    white-space: normal;
    word-break: break-word;
  }

  .contacts-info__note {
    width: calc(100vw - 70px);
    max-width: calc(100vw - 70px);
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }

  .contacts-layout__map {
    border-radius: 12px;
  }

  .news-page .tabs-page__tabs {
    gap: 16px;
    width: 100%;
    margin-top: 28px;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .news-page .tabs-page__panels,
  .news-page .tabs-page__panel {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .news-page .tabs-page__tab {
    font-size: 20px;
  }

  .news-list,
  .news-skeleton {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-card--listing,
  .media-card {
    width: 100%;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border-radius: 7px;
  }

  .news-card--listing .news-card__body,
  .media-card__body {
    width: 100%;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
  }

  .news-card--listing .news-card__image,
  .media-card__image {
    aspect-ratio: 335 / 205;
  }

  .news-card--listing .news-card__body,
  .media-card__body {
    min-height: 0;
    padding: 24px;
  }

  .news-card--listing .news-card__title,
  .media-card__title {
    display: block;
    overflow: visible;
    font-size: 18px;
    line-height: 24px;
    white-space: normal;
    word-break: break-word;
    -webkit-line-clamp: unset;
  }

  .media-card__text {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  .load-more {
    display: flex;
  }

  .skeleton-line {
    width: 42%;
    max-width: 150px;
  }

  .skeleton-card {
    min-height: 230px;
  }
}

@media (max-width: 374px) {
  .rail__track {
    grid-auto-columns: 132px;
  }

  .hero-card__title,
  .feature-card__title {
    font-size: 25px;
  }
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

a.media-card {
  display: block;
}

.catalog-page,
.project-page,
.search-page,
.legal-page {
  min-width: 0;
  padding-top: 40px;
}

.catalog-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 24px;
  margin-top: 38px;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 60px;
}

.catalog-tabs__link {
  white-space: nowrap;
  color: #5f5f5f;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-tabs__link--active,
.catalog-tabs__link:hover {
  color: #ffffff;
}

.catalog-page__search {
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 800;
}

.catalog-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  margin-top: 24px;
}

.catalog-filter {
  display: grid;
  gap: 7px;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.catalog-filter select,
.search-form__input {
  width: 100%;
  height: 38px;
  color: #ffffff;
  background: #171717;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  outline: 0;
}

.catalog-filter select {
  padding: 0 13px;
}


.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 24px;
  margin-top: 30px;
}

.catalog-card {
  position: relative;
  display: block;
  min-width: 0;
}

.catalog-card__image {
  width: 100%;
  aspect-ratio: 216 / 310;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-card__meta {
  margin: 8px 0 0;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.catalog-page__more {
  display: flex;
  margin: 42px auto 0;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 48px;
  margin-top: 36px;
}

.project-hero__poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #191919;
}

.project-hero__poster img {
  width: 100%;
  aspect-ratio: 360 / 520;
  object-fit: cover;
}

.project-hero__age {
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.project-hero__caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.project-hero__main {
  align-self: end;
  padding-bottom: 4px;
}

.project-hero__title {
  margin: 22px 0 0;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0;
}

.project-facts div {
  min-width: 110px;
}

.project-facts dt,
.creator-list dt {
  margin-bottom: 7px;
  color: #777777;
  font-size: 13px;
  font-weight: 700;
}

.project-facts dd,
.creator-list dd {
  margin: 0;
  color: #eeeeee;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.project-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.watch-dropdown {
  display: grid;
  width: min(100%, 310px);
  margin-top: 12px;
  padding: 10px;
  background: #191919;
  border: 1px solid #303030;
  border-radius: 10px;
}

.watch-dropdown a {
  padding: 11px 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 7px;
}

.watch-dropdown a:hover {
  background: #242424;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 58px;
  margin-top: 72px;
}

.project-block+.project-block {
  margin-top: 56px;
}

.project-title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.project-copy {
  max-width: 650px;
  color: #d8d8d8;
  font-size: 20px;
  line-height: 1.55;
}

.project-copy p {
  margin: 0;
}

.project-copy p+p {
  margin-top: 16px;
}

.project-copy:not(.project-copy--open) p:nth-child(n + 2) {
  display: none;
}

.project-more {
  margin-top: 16px;
  padding: 0;
  color: var(--color-accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.award-list {
  display: grid;
  gap: 24px;
}

.award-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  max-width: 720px;
}

.award-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: #202020;
  border-radius: 14px;
  font-weight: 900;
}

.award-item__event {
  margin: 0 0 6px;
  color: #777777;
  font-size: 15px;
}

.award-item__title {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid button {
  overflow: hidden;
  padding: 0;
  background: #191919;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.project-creators {
  position: sticky;
  top: 24px;
  align-self: start;
}

.creator-list {
  display: grid;
  gap: 24px;
  margin: 0;
}

.search-page__title,
.legal-page__title {
  margin: 38px 0 0;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 430px) auto;
  gap: 10px;
  margin-top: 24px;
}

.search-form__input {
  padding: 0 15px;
  font-size: 14px;
}

.search-form__button {
  min-width: 96px;
  height: 38px;
  color: #ffffff;
  background: var(--color-accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.search-section {
  margin-top: 48px;
}

.search-section__title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.search-results--cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.search-results--mixed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.search-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 58px 20px;
  color: #8d8d8d;
  background: #141414;
  border-radius: 12px;
}

.legal-page__content {
  display: grid;
  gap: 30px;
  max-width: 820px;
  margin-top: 34px;
  color: #d8d8d8;
  font-size: 18px;
  line-height: 1.6;
}

.legal-page__content h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 24px;
}

.legal-page__content p {
  margin: 0;
}

.legal-page__content a {
  color: var(--color-accent);
  font-weight: 800;
}

.footer__bottom--solo {
  width: min(var(--container), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.cookie-panel {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  max-width: 705px;
  width: 100%;
  gap: 18px;
  padding: 16px 24px;
  background: #191919;
  border: 1px solid #303030;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  @media screen and (max-width:768px) {
    max-width: calc(100% - 40px);
  }
}

.cookie-panel p {
  margin: 0;
  color: #d8d8d8;
  font-size: 16px;

  @media screen and (max-width:768px) {
    font-size: 14px;
  }
}

.cookie-panel a {
  text-decoration-line: underline;
  color: #F2F2F2;
}

@media (max-width: 1180px) {

  .catalog-grid,
  .search-results--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-creators {
    position: static;
  }

  .creator-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {

  .catalog-page,
  .project-page,
  .search-page,
  .legal-page {
    width: 100%;
    max-width: calc(100vw - 48px);
    padding-top: 32px;
  }

  .catalog-page__head {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }

  .catalog-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    gap: 16px;
    scrollbar-width: none;
  }

  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-tabs__link {
    font-size: 23px;
  }

  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .search-results--cards {
    width: 100%;
    max-width: calc(100vw - 48px);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-card {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .catalog-card__title {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .project-hero {
    width: 100%;
    max-width: calc(100vw - 48px);
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-hero__poster {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .project-hero__title {
    max-width: 100%;
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 16px 12px;
  }

  .project-facts div {
    min-width: 0;
  }

  .project-hero__buttons {
    gap: 12px;
  }

  .project-facts dd {
    font-size: 15px;
  }

  .project-layout {
    width: 100%;
    max-width: calc(100vw - 48px);
    gap: 42px;
    margin-top: 46px;
  }

  .project-layout__content,
  .project-block,
  .award-list,
  .creator-list,
  .project-creators {
    width: 100%;
    max-width: calc(100vw - 72px);
    min-width: 0;
  }

  .project-title {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .project-copy {
    width: min(300px, calc(100vw - 72px));
    max-width: min(300px, calc(100vw - 72px));
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .project-copy p {
    width: min(300px, calc(100vw - 72px));
    max-width: min(300px, calc(100vw - 72px));
  }

  .award-item {
    width: min(300px, calc(100vw - 72px));
    max-width: min(300px, calc(100vw - 72px));
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .award-item__title,
  .award-item__event,
  .creator-list dd {
    overflow-wrap: anywhere;
  }

  .gallery-grid,
  .project-news,
  .creator-list,
  .search-results--mixed {
    grid-template-columns: 1fr;
  }

  .search-page__title,
  .legal-page__title {
    font-size: 30px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form__button {
    width: 100%;
  }

  .legal-page__content {
    width: min(300px, calc(100vw - 72px));
    max-width: min(300px, calc(100vw - 72px));
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .cookie-panel {
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    width: calc(100vw - 48px);
  }

  .cookie-panel p {
    overflow-wrap: anywhere;
  }

  .cookie-panel .button {
    width: 100%;
    min-width: 0;
  }
}

/* Home page refinements */
.page:not(.page--inner) .main {
  width: min(1296px, calc(100% - 96px));
}

.page:not(.page--inner) .hero {
  --hero-gap: 16px;
  --hero-peek: 80px;
  margin-top: 26px;
}

.page:not(.page--inner) .hero__viewport {
  width: 100%;
}

.page:not(.page--inner) .hero__track {
  display: flex;
  gap: var(--hero-gap);
  transition: transform 480ms ease;
  will-change: transform;
}

.page:not(.page--inner) .hero__slide {
  flex: 0 0 calc(100% - (var(--hero-peek) * 2));
  opacity: 0.42;
  transform: scale(0.96);
  transform-origin: center center;
  transition: transform 480ms ease;

}

.page:not(.page--inner) .hero__slide[data-hero-clone] {
  pointer-events: none;
}

.page:not(.page--inner) .hero__slide--active {
  opacity: 1;
  transform: scale(1);

}

.hero__slide .hero-card__buttons .button {
  height: 56px;
  font-family: var(--font-base);
  font-style: normal;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #F2F2F2;

  @media screen and (max-width: 481px) {
    font-size: 14px !important;
    line-height: 18px !important;
    height: 40px !important;
  }
}



.page:not(.page--inner) .hero-card {
  min-height: 670px;
  border-radius: 18px;
}

.page:not(.page--inner) .hero-card__coner--left {
  top: -142px;
  left: -134px;
  width: 286px;
  height: 286px;
}

.page:not(.page--inner) .hero-card__coner--right {
  right: -112px;
  bottom: -110px;
  width: 286px;
  height: 286px;
}

.page:not(.page--inner) .hero-card__content {
  left: 58px;
  bottom: 58px;
  width: min(705px, calc(100% - 116px));
}

.page:not(.page--inner) .hero-card__title {
  max-width: 720px;
  margin-top: 18px;
  font-size: 48px;
  line-height: 0.88;
}

.page:not(.page--inner) .hero-card__text {
  display: -webkit-box;
  overflow: hidden;
  max-width: 720px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.page:not(.page--inner) .hero__arrow {
  width: 56px;
  height: 56px;
  font-size: 42px;
}

.page:not(.page--inner) .hero__arrow--prev {
  left: -58px;
}

.page:not(.page--inner) .hero__arrow--next {
  right: -58px;
}

.page:not(.page--inner) .content-section,
.page:not(.page--inner) .feature {
  margin-top: 108px;
}

.page:not(.page--inner) .content-section__head {
  margin-bottom: 42px;
}

.page:not(.page--inner) .section-title {
  font-size: 56px;
}

.page:not(.page--inner) .rail__track {
  grid-auto-columns: calc((100% - 96px) / 5);
  grid-template-columns: none;
  gap: 24px;
  scroll-snap-type: x mandatory;
}

.page:not(.page--inner) .content-card {
  scroll-snap-align: start;
}

.page:not(.page--inner) .content-card__media {
  aspect-ratio: 228 / 320;
}

.page:not(.page--inner) .feature-card {
  min-height: 620px;
  border-radius: 18px;
}

.page:not(.page--inner) .feature-card::before {
  width: 286px;
  height: 286px;
}

.page:not(.page--inner) .feature-card::after {
  width: 286px;
  height: 286px;
}

.page:not(.page--inner) .feature-card__content {
  left: 58px;
  bottom: 58px;
  width: min(700px, calc(100% - 116px));
}

.page:not(.page--inner) .feature-card__title {
  font-size: 48px;
}

@media (min-width: 1500px) {
  .page:not(.page--inner) .main {
    width: 1296px;
  }

  .page:not(.page--inner) .hero-card {
    min-height: 670px;
  }
}

@media (max-width: 1024px) {
  .page:not(.page--inner) .hero-card__coner--left {
    display: none;
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: clamp(40px, 4.7vw, 48px);
    line-height: 0.92;
  }

  .page:not(.page--inner) .hero-card__title br {
    display: none;
  }
}

@media (max-width: 480px) {

  .page:not(.page--inner) .hero-card__coner,
  .page:not(.page--inner) .feature-card::before,
  .page:not(.page--inner) .feature-card::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  .page:not(.page--inner) .main {
    width: calc(100% - 64px);
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 14px;
    --hero-peek: 54px;
    margin-top: 24px;
  }

  .page:not(.page--inner) .hero-card {
    min-height: 520px;
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: clamp(42px, 6vw, 58px);
  }

  .page:not(.page--inner) .rail__track {
    grid-auto-columns: calc((100% - 48px) / 3);
  }

  .page:not(.page--inner) .feature-card {
    min-height: 520px;
  }
}

@media (max-width: 1024px) {
  .page:not(.page--inner) .hero-card__title {
    font-size: clamp(40px, 4.7vw, 48px);
    line-height: 0.92;
  }

  .page:not(.page--inner) .hero-card__title br {
    display: none;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .main {
    width: calc(100% - 24px);
  }

  .home-skeleton {
    padding-top: 12px;
  }

  .home-skeleton__hero {
    min-height: 250px;
    border-radius: 12px;
  }

  .home-skeleton__section,
  .home-skeleton__banner {
    margin-top: 44px;
  }

  .home-skeleton__title {
    width: 132px;
    height: 16px;
    margin-bottom: 16px;
  }

  .home-skeleton__rail,
  .home-skeleton__news {
    display: grid;
    grid-auto-columns: 142px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow: hidden;
  }

  .home-skeleton__card {
    min-height: 202px;
  }

  .home-skeleton__banner {
    min-height: 244px;
    border-radius: 12px;
  }

  .home-skeleton__news-card {
    min-height: 278px;
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 12px;
    --hero-peek: 0px;
    overflow: hidden;
    width: calc(100vw - 24px);
    margin-top: 10px;
  }

  .page:not(.page--inner) .hero__viewport {
    overflow: hidden;
  }

  .page:not(.page--inner) .hero__track {
    align-items: stretch;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: calc(100vw - 24px);
    opacity: 0.48;
    transform: none;
  }

  .page:not(.page--inner) .hero__slide--active {
    opacity: 1;
  }

  .page:not(.page--inner) .hero-card {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-height: 0;
    border-radius: 12px;
  }

  .page:not(.page--inner) .hero-card__image {
    aspect-ratio: 351 / 226;
  }

  .page:not(.page--inner) .hero-card__content {
    width: 100%;
    max-width: 100%;
    padding: 22px 22px 20px;
    box-sizing: border-box;
  }

  .page:not(.page--inner) .hero-card__title {
    max-width: 100%;
    margin-top: 14px;
    font-size: 30px;
    line-height: 0.92;
  }

  .page:not(.page--inner) .hero-card__title br {
    display: initial;
  }

  .page:not(.page--inner) .hero-card__text {
    display: -webkit-box;
    overflow: hidden;
    width: calc(100vw - 68px) !important;
    max-width: calc(100vw - 68px) !important;
    font-size: 13px;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .page:not(.page--inner) .hero-card__buttons {
    width: calc(100vw - 68px) !important;
    max-width: calc(100vw - 68px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page:not(.page--inner) .hero-card__buttons .button,
  .page:not(.page--inner) .feature-card__buttons .button {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .page:not(.page--inner) .content-section,
  .page:not(.page--inner) .feature {
    margin-top: 56px;
  }

  .page:not(.page--inner) .content-section__head {
    margin-bottom: 18px;
  }

  .page:not(.page--inner) .section-title {
    font-size: 27px;
  }

  .page:not(.page--inner) .rail__track {
    width: calc(100vw - 24px);
    grid-auto-columns: 142px;
    gap: 12px;
    overflow-x: auto;
  }

  .page:not(.page--inner) .content-card__media {
    aspect-ratio: 142 / 205;
  }

  .page:not(.page--inner) .feature-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 12px;
  }

  .page:not(.page--inner) .feature-card__image {
    position: relative;
    aspect-ratio: 351 / 226;
  }

  .page:not(.page--inner) .feature-card__content {
    width: 100%;
    max-width: 100%;
    padding: 22px;
  }

  .page:not(.page--inner) .feature-card__title {
    font-size: 28px;
  }

  .page:not(.page--inner) .feature-card__text,
  .page:not(.page--inner) .feature-card__buttons {
    width: calc(100vw - 68px) !important;
    max-width: calc(100vw - 68px) !important;
  }
}

/* UI-kit alignment */
:root {
  --ui-container-max: 1280px;
  --ui-page-gutter: 80px;
  --ui-surface: #1f1f23;
  --ui-surface-hover: #29292e;
  --ui-border: #3f3f48;
  --ui-muted: #8f8f9c;
}

.main,
.footer,
.footer__bottom--solo {
  width: min(var(--ui-container-max), calc(100% - (var(--ui-page-gutter) * 2)));
}

.page:not(.page--inner) .main {
  width: min(var(--ui-container-max), calc(100% - (var(--ui-page-gutter) * 2)));
}

@media (min-width: 1600px) {

  .main,
  .footer,
  .footer__bottom--solo,
  .page:not(.page--inner) .main {
    width: min(1440px, calc(100% - 160px));
  }
}

.button,
.load-more,
.search-form__button,
.catalog-page__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 12px;
  border: 0;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.button--primary,
.search-form__button {
  background: var(--color-accent);
  color: #ffffff;
}

.button--primary:hover,
.search-form__button:hover {
  background: #e64826;
}

.button--dark,
.load-more,
.catalog-page__more {
  background: #303036;
  color: #ffffff;
}

.button--dark:hover,
.load-more:hover,
.catalog-page__more:hover {
  background: #3a3a42;
}

.button--dark:hover {
  border-radius: 12px;
  background: (#DEDEEE24, rgba(222, 222, 238, 0.14));
  backdrop-filter: blur(40px);
}

.badge,
.content-card__label {
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 500;

  @media screen and (max-width: 481px) {
    font-size: 12px;
    padding: 2px 10px;
    min-height: 24px;
  }
}

.content-card__label {
  color: #ffffff;
  background: var(--color-accent);
}

.catalog-tabs__link {
  font-size: 40px;
  line-height: 1.05;
}

.catalog-tabs__link sup {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #F2F2F2;
  position: relative;
  top: -10px;
  left: 12px;
}

.catalog-page__head {
  align-items: flex-end;
  margin-top: 40px;
}

.catalog-page__search,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.catalog-page__search::after,
.section-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ui-surface);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.catalog-page__search::after {
  content: "РІРЉвЂў";
  font-size: 17px;
}

.catalog-filters {
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 16px;
  margin-top: 28px;
}

.catalog-filter {
  gap: 8px;
  color: var(--ui-muted);
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 500;
}

.catalog-filter select,
.search-form__input {
  min-height: 56px;
  padding: 0 44px 0 20px;
  color: #ffffff;
  background: var(--ui-surface);
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  outline: 0;
}

.catalog-filter select:hover,
.search-form__input:hover {
  background: var(--ui-surface-hover);
}

.catalog-filter select:focus,
.search-form__input:focus {
  border-color: var(--ui-border);
}

.search-form {
  grid-template-columns: minmax(0, 560px) auto;
  gap: 12px;
  margin-top: 32px;
  justify-content: start;
}

.search-form__label {
  position: relative;
  display: block;
}

.search-form__label::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  color: var(--ui-muted);
  content: "РІРЉвЂў";
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-form__input {
  padding-left: 56px;
}

.search-form__button {
  width: 160px;
}

.catalog-grid,
.search-results--cards {
  gap: 40px 24px;
}

.catalog-card__image,
.content-card__media {
  border-radius: 8px;
}

.catalog-card__title,
.content-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
}

.catalog-card__meta,
.content-card__year {
  color: var(--ui-muted);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
}

.news-card,
.media-card {
  background: #19191a;
  border-radius: 8px;
}

.news-card__body,
.media-card__body {
  padding: 18px;
}

.news-card__date,
.media-card__source {
  color: #C2C2C280;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
}

.news-page .news-card__date {
  color: #E9E9FA54;
}

.news-card__title,
.media-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.search-empty {
  min-height: 420px;
  place-content: center;
  background: transparent;
  border-radius: 0;
}

.search-empty::before {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  background: var(--ui-surface);
  color: #ffffff;
  content: "РІРЉвЂў";
  font-size: 26px;
}

.search-empty p {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-base);
  font-size: 20px;
  font-weight: 700;
}

.hero-card__title,
.feature-card__title,
.section-title {
  font-size: 40px;
  line-height: 1;
}

.hero-card__text,
.feature-card__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  :root {
    --ui-page-gutter: 80px;
  }

  .main,
  .footer,
  .footer__bottom--solo,
  .page:not(.page--inner) .main {
    width: calc(100% - 160px);
  }

  .catalog-grid,
  .search-results--cards {
    display: grid;
    grid-auto-columns: minmax(196px, 32%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .catalog-grid::-webkit-scrollbar,
  .search-results--cards::-webkit-scrollbar {
    display: none;
  }

  .catalog-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  :root {
    --ui-page-gutter: 24px;
  }

  .main,
  .footer,
  .footer__bottom--solo,
  .page:not(.page--inner) .main {
    width: calc(100% - 48px);
  }

  .catalog-page,
  .project-page,
  .search-page,
  .legal-page {
    max-width: 100%;
  }

  .catalog-tabs__link {
    font-size: 18px;
    line-height: 1.15;
  }

  .catalog-page__head {
    gap: 18px;
  }

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

  .catalog-filter:nth-child(3) {
    grid-column: 1 / -1;
  }

  .catalog-filter select,
  .search-form__input {
    min-height: 54px;
    border-radius: 10px;
    font-size: 14px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form__button {
    width: 100%;
  }

  .catalog-grid,
  .search-results--cards {
    max-width: 100%;
    grid-auto-columns: 142px;
    gap: 16px;
  }

  .catalog-card {
    max-width: none;
  }

  .catalog-card__title,
  .content-card__title {
    font-size: 16px;
  }

  .catalog-card__meta,
  .content-card__year {
    font-size: 14px;
  }

  .hero-card__title,
  .feature-card__title,
  .section-title {
    font-size: 20px;
  }

  .hero-card__text,
  .feature-card__text {
    font-size: 14px;
  }

  .button,
  .load-more,
  .search-form__button,
  .catalog-page__more {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .footer__title,
  .footer__link,
  .footer__text {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer__note,
  .footer__copy {
    font-size: 11px;
  }

  .footer__columns {
    gap: 30px 24px;
  }
}

/* Final UI-kit pass for inner pages */
.footer__title,
.footer__link,
.footer__text,
.footer__copy,
.footer__note,
.news-card__title,
.media-card__title,
.person__title,
.award-item__title,
.contacts-info__title,
.tabs-page__tab,
.project-title {
  font-family: var(--font-base);
}

.tabs-page__tab {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.news-page .tabs-page__tab {
  font-family: "Micra", sans-serif;
  font-size: 30px;
  line-height: 36px;

  @media screen and (max-width: 768px) {
    font-size: 20px !important;
    line-height: 28px !important;
  }
}

.news-list,
.search-results--mixed,
.project-news {
  gap: 40px 28px;
}

.news-card,
.media-card {
  position: relative;
  overflow: hidden;
  background: #1C1C1C;
  border-radius: 24px;
}

.news-card--listing .news-card__image,
.media-card__image {
  aspect-ratio: 408 / 250;
  border-radius: 24px;
}

.news-card__body,
.media-card__body {
  padding: 24px 18px;
}

.news-card__title,
.media-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-transform: none;
}

.about-intro {
  grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
  gap: 48px;
}

.about-intro__mark {
  min-height: 512px;
  border-radius: 12px;
}

.about-stats__value {
  font-family: var(--font-heading);
  font-size: 40px;
}

.about-text,
.person__text,
.project-copy {
  color: #e5e5e8;
  font-family: var(--font-base);
  font-weight: 400;
  line-height: 1.55;
}

.about-text,
.person__text {
  font-size: 18px;
}

.person__title,
.project-title {
  font-size: 40px;
  font-weight: 900;
}

.person__position,
.team-card__role,
.project-facts dt,
.creator-list dt,
.award-item__event {
  color: var(--ui-muted);
  font-family: var(--font-base);
  font-weight: 400;
}

.team-card__name,
.project-facts dd,
.creator-list dd {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 700;
}

.project-hero {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 48px;
}

.project-hero__poster,
.gallery-grid button {
  border-radius: 8px;
}

.project-hero__title {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}

.project-copy {
  max-width: 720px;
  font-size: 20px;
}

.award-item__icon {
  background: var(--ui-surface);
  border-radius: 12px;
}

.award-item__title {
  font-size: 20px;
  font-weight: 900;
}

.watch-dropdown {
  background: #1c1c1d;
  border: 0;
  border-radius: 8px;
}

.watch-dropdown a {
  font-family: var(--font-base);
  font-weight: 500;
}

.search-empty::before {
  content: "?";
}

@media (max-width: 1180px) {

  .about-intro,
  .contacts-layout,
  .person {
    grid-template-columns: 1fr;
  }

  .about-intro__mark {
    min-height: 360px;
  }

  .news-list,
  .search-results--mixed,
  .project-news {
    display: grid;
    grid-auto-columns: minmax(280px, 48%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .news-list::-webkit-scrollbar,
  .search-results--mixed::-webkit-scrollbar,
  .project-news::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .main,
  .footer,
  .footer__bottom--solo {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .footer {
    width: calc(100vw - 0) !important;
    max-width: calc(100vw - 0) !important;
  }

  .tabs-page,
  .catalog-page,
  .project-page,
  .search-page,
  .legal-page {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .tabs-page__panels,
  .tabs-page__panel,
  .about-intro,
  .about-intro__content,
  .about-intro__mark,
  .about-text,
  .person,
  .project-layout,
  .project-hero,
  .catalog-page__head,
  .catalog-filters,
  .catalog-grid,
  .search-results--cards,
  .news-list,
  .search-results--mixed,
  .project-news {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .tabs-page__panels,
  .tabs-page__panel {
    width: calc(100% - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .about-intro,
  .about-intro__content,
  .about-intro__mark,
  .about-text,
  .catalog-page__head,
  .catalog-filters {
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
  }

  .tabs-page__tabs {
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin-top: 54px;
    margin-bottom: 32px;
    overflow-x: auto;
  }

  .tabs-page__tab,
  .news-page .tabs-page__tab {
    font-size: 25px;
  }

  .catalog-tabs {
    width: 100%;
    max-width: 100%;
  }

  .catalog-tabs__link {
    font-size: 16px;
  }

  .catalog-filters {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-filter {
    min-width: 0;
  }

  .catalog-filter:nth-child(3) {
    grid-column: auto;
  }

  .news-list,
  .search-results--mixed,
  .project-news {
    grid-auto-columns: minmax(260px, 86%);
    gap: 16px;
  }

  .news-card__title,
  .media-card__title {
    font-size: 16px;
  }

  .about-intro__mark {
    min-height: 270px;
  }

  .about-stats {
    gap: 22px;
  }

  .about-stats__value {
    font-size: 32px;
  }

  .about-text,
  .person__text,
  .project-copy {
    font-size: 16px;
  }

  .person__title,
  .project-title {
    font-size: 24px;
  }

  .project-hero__title {
    font-size: 44px;
  }

  .project-hero__poster img {
    aspect-ratio: 360 / 460;
  }

  .project-layout {
    gap: 42px;
  }

  .contacts-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Home final cascade */
.page:not(.page--inner) .hero {
  --hero-gap: 16px;
  --hero-peek: 0px;
}

.page:not(.page--inner) .hero__viewport {
  width: 100%;
  overflow: visible;
}

.page:not(.page--inner) .hero__slide {
  flex-basis: 100%;
}

.page:not(.page--inner) .hero-card__title,
.page:not(.page--inner) .feature-card__title,
.page:not(.page--inner) .content-card__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.page:not(.page--inner) .hero-card__title {
  font-size: 48px;
  line-height: 0.92;
}

.page:not(.page--inner) .content-card__title {
  font-size: 17px;
  line-height: 1.08;
}

.page:not(.page--inner) .feature-card__title {
  line-height: 0.92;
}

@media (max-width: 1180px) {
  .page:not(.page--inner) .hero {
    --hero-gap: 14px;
    --hero-peek: 0px;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .main {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 12px;
    --hero-peek: 0px;
    width: calc(100vw - 24px);
    margin-left: 0;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: 28px;
    line-height: 0.95;
  }

  .page:not(.page--inner) .hero-card__text,
  .page:not(.page--inner) .feature-card__text {
    font-size: 13px;
    line-height: 1.35;
  }

  .page:not(.page--inner) .section-title {
    font-size: 27px;
  }

  .page:not(.page--inner) .section-link {
    font-size: 0;
  }

  .page:not(.page--inner) .content-card__title {
    font-size: 15px;
  }

  .page:not(.page--inner) .feature-card__title {
    font-size: 20px;
  }
}

/* Home mobile button fix */
@media (max-width: 767px) {

  .page:not(.page--inner) .hero-card__text,
  .page:not(.page--inner) .feature-card__text {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px;
  }

  .page:not(.page--inner) .hero-card__buttons .button,
  .page:not(.page--inner) .feature-card__buttons .button {
    min-width: 0 !important;
    width: 100% !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 13px;
  }
}

/* Audit fixes */
@media (max-width: 767px) {

  .page:not(.page--inner) .hero-card__content,
  .page:not(.page--inner) .feature-card__content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    box-sizing: border-box !important;
  }

  .project-hero__poster {
    align-self: start;
  }
}

/* Home mobile exact button grid */
@media (max-width: 767px) {

  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
}

/* Project mobile hero restore */
@media (max-width: 767px) {
  .project-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .project-hero__main {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }
}

/* Final responsive slider geometry */
@media (min-width: 768px) {
  .page:not(.page--inner) .hero {
    --hero-gap: 40px;
  }

  .page:not(.page--inner) .hero__slide {
    flex-basis: min(calc(100% - 160px), 1440px);
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .hero {
    width: 100%;
    max-width: 100%;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .page:not(.page--inner) .hero-card__text,
  .page:not(.page--inner) .feature-card__text,
  .page:not(.page--inner) .hero-card__buttons,
  .page:not(.page--inner) .feature-card__buttons {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Figma page geometry */
.page:not(.page--inner) {
  padding-top: 64px;
}

.page:not(.page--inner) .main {
  width: 100% !important;
  max-width: none !important;
}

.page:not(.page--inner) .hero {
  width: 100%;
  max-width: none;
  margin-top: 32px;
}

.page:not(.page--inner) .hero__viewport {
  width: 100%;
}

.page:not(.page--inner) .hero-card {
  min-height: 700px;
  height: 700px;
}

.page:not(.page--inner) .content-section,
.page:not(.page--inner) .feature {
  width: min(1440px, calc(100% - 160px));
  margin: 100px auto 0;
}

.page:not(.page--inner) .content-section__head {
  min-height: 48px;
  margin-bottom: 40px;
}

.page:not(.page--inner) #films {
  min-height: 560px;
}

.page:not(.page--inner) #series {
  min-height: 587px;
}

.page:not(.page--inner) .rail__track {
  gap: 40px;
  grid-auto-columns: calc((100% - 160px) / 5);
}

.page:not(.page--inner) .content-card {
  min-height: 472px;
}

.page:not(.page--inner) .content-card__media {
  aspect-ratio: 224 / 360;
}

.page:not(.page--inner) .feature-card {
  min-height: 700px;
  height: 700px;
}

.page:not(.page--inner) .content-section--news {
  min-height: 500px;
}

.page:not(.page--inner) .news-grid {
  gap: 40px;
}

.page:not(.page--inner) .news-card {
  min-height: 412px;
}

.page:not(.page--inner) .news-card__image {
  aspect-ratio: 400 / 260;
}

.page:not(.page--inner) .news-card__body {
  min-height: 152px;
}

.page:not(.page--inner)+.footer,
.page:not(.page--inner) .footer {
  margin-top: 100px;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .page:not(.page--inner) .rail__track {
    grid-auto-columns: 224px;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) {
    padding-top: 64px;
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 16px;
    width: 100%;
    margin-top: 24px;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: calc(100% - 48px);
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  .page:not(.page--inner) .hero-card {
    min-height: 620px;
    height: 620px;
  }

  .page:not(.page--inner) .content-section,
  .page:not(.page--inner) .feature {
    width: calc(100% - 48px);
    margin-top: 50px;
  }

  .page:not(.page--inner) .content-section__head {
    min-height: 28px;
    margin-bottom: 16px;
  }

  .page:not(.page--inner) #films,
  .page:not(.page--inner) #series {
    min-height: 418px;
    width: 100%;
    margin-top: 50px;
    margin-left: 24px;
  }

  .page:not(.page--inner) .rail__track {
    gap: 16px;
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .page:not(.page--inner) .content-card {
    min-height: 374px;
  }

  .page:not(.page--inner) .content-card__media {
    aspect-ratio: 200 / 270;
  }

  .page:not(.page--inner) .feature-card {
    min-height: 620px;
    height: 620px;
  }

  .page:not(.page--inner) .content-section--news {
    min-height: 444px;
  }

  .page:not(.page--inner) .news-card {
    min-height: max-content;
  }

  .page:not(.page--inner) .news-card__body {
    min-height: max-content;
    padding: 20px 24px;
  }
}

/* Inner pages aligned to the Figma frames */
.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tabs-page__tabs {
  margin-top: 60px;
  margin-bottom: 34px;
}

.about-intro {
  grid-template-columns: minmax(0, 620px) minmax(0, 620px);
  gap: 40px;
}

.about-intro__mark {
  position: relative;
  min-height: 500px;
  padding: 0;
  background: var(--color-accent);
}

.about-intro__mark span {
  display: none;
}

.about-intro__mark::before {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #f6d9c8;
  font-family: var(--font-heading);
  font-size: 520px;
  line-height: 0.8;
  content: "M";
  transform: translate(-50%, -50%) scaleX(1.35);
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(280px, 392px) 196px 196px 48px;
  gap: 16px;
  align-items: end;
}

.catalog-filter--search input,
.catalog-filter select,
.catalog-filter__sort {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  color: #f3f3f3;
  background: #202023;
  border: 0;
  border-radius: 8px;
}

.catalog-filter--search input {
  position: relative;
  padding: 0 18px 0 42px;

  @media screen and (max-width: 768px) {
    height: 52px;
  }
}

.catalog-filter--search {
  position: relative;
}

.catalog-filter--search::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  content: '';
  background: url(../images/search.svg) no-repeat center;
  width: 24px;
  height: 24px;
  z-index: 2;
}

.catalog-filter__sort {
  cursor: pointer;
}

.catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}

.catalog-card__image {
  aspect-ratio: 224 / 360;
}

.catalog-page__more,
.news-page .load-more {
  display: none;
}

.news-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.news-page .tabs-page {
  min-height: 1468px;
}

.news-page .tabs-page__tabs {
  margin-bottom: 40px;
}

.news-card--listing .news-card__image {
  aspect-ratio: 365 / 236;
}

.news-card--listing .news-card__body {
  min-height: 146px;
}

.legal-page__date {
  display: block;
  margin-top: 4px;
  color: #68686d;
  font-size: 16px;
}

.legal-page__content {
  gap: 24px;
  margin-top: 58px;
}

.legal-page {
  min-height: 1180px;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .catalog-grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    overflow: visible;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .catalog-grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .tabs-page__tabs {
    margin-top: 40px;
    margin-bottom: 28px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__mark {
    min-height: 270px;
  }

  .about-intro__mark::before {
    font-size: 300px;
  }

  .catalog-filters {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-filter--search {
    grid-column: 1 / -1;
  }

  .catalog-filter__sort {
    display: none;
  }

  .catalog-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    overflow: visible;
  }

  .catalog-card__image {
    aspect-ratio: 142 / 205;
  }

  .news-list {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
  }

  .news-page .tabs-page,
  .legal-page {
    min-height: 0;
  }

  .legal-page__content {
    width: 100%;
    max-width: 100%;
    margin-top: 38px;
  }

  .page:not(.page--inner) .footer {
    min-height: 660px;
  }
}

/* Project page geometry from the Figma frames */
.project-page {
  width: min(1440px, calc(100% - 160px));
  max-width: 1440px;
  padding-top: 0;
}

.project-page>.breadcrumbs {
  position: relative;
  z-index: 3;
  padding-top: 40px;
}

.project-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 750px;
  margin-top: -59px;
  margin-left: -50vw;
  background: #171717;
}

.project-banner__image,
.project-banner__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-banner__image {
  object-fit: cover;
}

.project-banner__shade {
  top: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.project-banner::before {
  display: none;
}

@media screen and (max-width: 768px) {
  .project-banner__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 100%);
  }


  .project-banner::before {
    display: block;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
  }


}

.project-banner__content {
  position: absolute;
  bottom: 58px;
  left: max(60px, calc((100vw - 1280px) / 2));
  width: min(560px, calc(100% - 120px));
}

.project-banner__title {
  margin: 22px 0 14px;
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 0.94;
  text-transform: uppercase;
}

.project-banner__meta {
  margin: 0;
  color: #d3d3d3;
  font-size: 16px;
  font-weight: 700;
}

.project-hero {
  grid-template-columns: 330px minmax(0, 453px);
  gap: 165px;
  min-height: 856px;
  margin-top: 50px;
}

.project-hero__poster {
  align-self: start;
  border-radius: 8px;
}

.project-hero__poster img {
  aspect-ratio: 330 / 494;
}

.project-hero__main {
  display: none;
}

.project-hero__title {
  font-size: 56px;
}

.project-layout {
  position: relative;
  display: block;
  margin-top: -856px;
}

.project-content {
  display: grid;
  grid-template-columns: 330px 453px 1fr;
  column-gap: 165px;
}

.project-content>.project-block:nth-child(1),
.project-content>.project-block:nth-child(2) {
  grid-column: 2;
}

/* .project-content>.project-block:nth-child(2) {
  margin-top: 48px;
} */

.project-creators {
  position: absolute;
  top: 0;
  right: 0;
  width: 330px;
  margin-top: 0;
  margin-left: auto;
}

.project-content .project-trailer,
.project-content .project-gallery,
.project-content .project-media {
  grid-column: 1 / -1;
  margin-top: 100px;
}

.project-title {
  margin-bottom: 40px;
  font-size: 48px;
}

.project-copy {
  max-width: 453px;
  font-size: 18px;
}

.project-trailer__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 720px;
  padding: 0;
  background: #191919;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.project-trailer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-trailer__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #fff;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.project-gallery {
  min-height: max-content;
}

.gallery-grid {
  gap: 20px;
}

.gallery-grid img {
  aspect-ratio: 413 / 260;
}

.project-gallery__more {
  display: flex;
  margin: 40px auto 0;
}

.project-news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.project-media {
  min-height: 500px;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .project-hero {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
  }

  .project-layout {
    margin-top: 60px;
  }

  .project-content {
    display: block;
  }

  .project-creators {
    position: static;
    width: 100%;
    margin: 80px 0 0;
  }
}

@media (max-width: 767px) {
  .project-page {
    width: 100vw !important;
    max-width: none !important;
    padding-top: 0;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .project-page>.breadcrumbs {
    width: calc(100% - 48px);
    padding-top: 24px;
    margin: 0 auto;
  }

  .project-banner {
    left: auto;
    width: 100%;
    height: 620px;
    margin-top: -43px;
    margin-left: 0;
  }

  .project-banner__image {
    object-position: 55% center;
  }

  .project-banner__shade {
    top: 42%;
  }

  .project-banner__content {
    right: 24px;
    bottom: 88px;
    left: 24px;
    width: auto;
  }

  .project-hero {
    min-height: 0;
  }

  .project-banner__title {
    margin-top: 18px;
    font-size: 28px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .project-hero {
    width: calc(100% - 48px);
    max-width: none;
    min-height: 1070px;
    margin: 32px auto 0;
  }

  .project-hero__main {
    display: block;
    order: -1;
    width: 100%;
  }

  .project-hero__poster {
    width: 100%;
    max-width: none;
  }

  .project-hero__main {
    padding-top: 0;
  }

  .project-hero__title {
    font-size: 28px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .project-layout {
    width: calc(100% - 48px);
    max-width: none;
    margin: 24px auto 0;
  }

  .project-content {
    display: block;
  }

  .project-content>.project-block,
  .project-creators,
  .project-copy,
  .project-copy p,
  .award-item {
    width: 100%;
    max-width: 100%;
  }

  .project-content>.project-block+.project-block {
    margin-top: 40px;
  }

  .project-title {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .project-creators {
    margin: 40px 0 0;
  }

  .project-trailer__media {
    height: 252px;
  }

  .project-trailer__play {
    width: 56px;
    height: 56px;
  }

  .project-gallery {
    min-height: 252px;
  }

  .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
  }

  .project-gallery__more {
    display: none;
  }

  .project-news {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
  }

  .project-media {
    min-height: 444px;
  }

  .legal-page {
    box-sizing: border-box;
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    margin-right: auto;
    margin-left: auto;
  }

  .legal-page__title,
  .legal-page__content,
  .legal-page__content p,
  .legal-page__content li {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Final 375px audit: prevent nested containers from subtracting gutters twice. */
@media (max-width: 767px) {
  .page:not(.page--inner) .main {
    width: 100vw !important;
    max-width: none !important;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    flex-basis: calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .tabs-page__panels,
  .tabs-page__panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-intro,
  .about-intro__content,
  .about-intro__mark,
  .about-text,
  .news-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  .project-hero {
    min-height: 0;
  }

  .project-hero__main {
    align-self: start;
    min-height: 492px;
  }

  .legal-page__title {
    font-size: 26px;
    line-height: 32px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .legal-page__content h2 {
    font-size: 22px;
    line-height: 28px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .header::before {
    right: 68px;
    left: auto;
  }

  .header::after {
    right: 24px;
    left: auto;
    width: 28px;
    background-size: 28px 3px, 28px 3px, 28px 3px;
  }

  .header__actions {
    right: 16px;
    left: auto;
  }

  .header__actions::before {
    right: 55px;
    left: auto;
  }
}

/* Working hero controls and catalog filters */
@media (min-width: 768px) {
  .page:not(.page--inner) .hero__arrow--prev {
    left: 12px;
  }

  .page:not(.page--inner) .hero__arrow--next {
    right: 12px;
  }
}

.page:not(.page--inner) .hero {
  touch-action: pan-y;
}

.page:not(.page--inner) .hero__arrow {
  z-index: 8;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  color: #f4f4f4;
  background: #202023;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.custom-select__trigger:hover,
.custom-select--open .custom-select__trigger {
  background: #28282c;
  border-color: rgba(255, 85, 61, 0.7);
}

.custom-select__trigger:focus-visible,
.custom-select__option:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.custom-select__chevron {
  width: 8px;
  height: 8px;
  margin-left: 16px;
  border-right: 2px solid #f4f4f4;
  border-bottom: 2px solid #f4f4f4;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select--open .custom-select__chevron {
  transform: translateY(2px) rotate(225deg);
}

.custom-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 6px;
  background: #202023;
  border: 1px solid #38383d;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
}

.custom-select__option {
  position: relative;
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 34px 9px 12px;
  color: #b9b9bf;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 15px;
  text-align: left;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  color: #fff;
  background: #2b2b2f;
}

.custom-select__option--selected {
  color: #fff;
}

.custom-select__option--selected::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  content: "";
  transform: translateY(-65%) rotate(-45deg);
}

@media (max-width: 767px) {
  .catalog-page__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
  }

  .catalog-tabs {
    flex-wrap: nowrap;
    min-width: 0;
    gap: 22px;
    overflow-x: auto;
  }

  .catalog-tabs__link {
    flex: none;
    font-size: 18px;
    min-height: 28px;
    align-items: center;
    display: flex;
  }

  .catalog-page__search {
    align-self: end;
    padding-bottom: 3px;
    font-size: 0;
  }

  .catalog-page__search::after {
    font-size: 20px;
  }

  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .catalog-filter--search {
    grid-column: 1 / -1;
  }

  .custom-select__trigger {
    height: 48px;
    font-size: 14px;
  }
}

/* Project photography and image viewer */
.project-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.project-gallery .gallery-grid button {
  position: relative;
  border-radius: 8px;
}

.project-gallery .gallery-grid button::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.project-gallery .gallery-grid button:hover::after,
.project-gallery .gallery-grid button:focus-visible::after {
  opacity: 1;
}

.project-gallery .gallery-grid img {
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
}

.gallery-is-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 48px 80px;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-lightbox--open {
  opacity: 1;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 7, 7, 0.9);
  border: 0;
  cursor: zoom-out;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1280px, calc(100vw - 160px));
  max-height: calc(100vh - 96px);
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 24px;
}

.gallery-lightbox__figure {
  display: grid;
  min-width: 0;
  max-height: calc(100vh - 96px);
  margin: 0;
  place-items: center;
  gap: 12px;
}

.gallery-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border-radius: 8px;
}

.gallery-lightbox__counter {
  min-height: 20px;
  color: #a0a0a5;
  font-size: 14px;
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #202023;
  border: 1px solid #343438;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.gallery-lightbox__close:focus-visible,
.gallery-lightbox__arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.gallery-lightbox__close {
  position: absolute;
  z-index: 2;
  top: -42px;
  right: 72px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.gallery-lightbox__arrow {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 767px) {
  .project-gallery .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project-gallery .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .project-gallery .gallery-grid button {
    scroll-snap-align: start;
  }

  .gallery-lightbox {
    padding: 20px 16px;
  }

  .gallery-lightbox__dialog {
    width: 100%;
    max-height: calc(100vh - 40px);
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .gallery-lightbox__figure {
    max-height: calc(100vh - 40px);
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 92px);
  }

  .gallery-lightbox__arrow {
    width: 36px;
    height: 44px;
    font-size: 26px;
  }

  .gallery-lightbox__close {
    top: -46px;
    right: 0;
    width: 36px;
    height: 36px;
  }
}

/* Project page order and hero content from the supplied exports */
.project-banner__title {
  margin: 0;
}

.project-banner__description {
  max-width: 560px;
  margin: 18px 0 0;
  color: #f1f1f1;
  font-size: 16px;
  line-height: 24px;
}

.project-banner__buttons,
.project-poster__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-banner__buttons {
  margin-top: 24px;
}

.project-hero__poster {
  grid-column: 1;
  grid-row: 1;
}

.project-poster__buttons {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
}

@media (max-width: 767px) {
  .project-page {
    display: flex;
    flex-direction: column;
  }

  .project-page>.breadcrumbs {
    order: 0;
  }

  .project-banner {
    order: 1;
  }

  .project-layout {
    order: 2;
  }

  .project-layout,
  .project-content {
    display: contents;
  }

  .project-content>.project-block:nth-child(1) {
    order: 2;
    width: calc(100% - 48px);
    margin: 32px auto 0;
  }

  .project-hero {
    order: 3;
    margin-top: 24px;
  }

  .project-hero__main {
    display: none;
  }

  .project-hero__poster {
    grid-row: 2;
  }

  .project-poster__buttons {
    order: -1;
    grid-row: 1;
    margin-top: 0;
  }

  .project-content>.project-block:nth-child(2) {
    order: 4;
    width: calc(100% - 48px);
    margin: 40px auto 0;
  }

  .project-creators {
    position: static !important;
    order: 5;
    width: calc(100% - 48px);
    margin: 40px auto 0;
  }

  .project-trailer {
    order: 6;
  }

  .project-gallery {
    order: 7;
  }

  .project-media {
    order: 8;
  }

  .project-trailer,
  .project-gallery,
  .project-media {
    width: calc(100% - 48px);
    margin: 20px auto 0 !important;
  }

  .project-banner__content {
    bottom: 40px;
  }

  .project-banner__title {
    font-size: 28px;
    line-height: 34px;
  }

  .project-banner__description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .project-banner__buttons {
    margin-top: 16px;
  }

  .project-banner__buttons .button,
  .project-poster__buttons .button {
    min-width: 0;
    flex: 1 1 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .project-gallery .gallery-grid {
    grid-auto-columns: 100%;
  }
}

/* Project sections must keep the 24px mobile gutters after display: contents. */
@media (max-width: 767px) {

  .project-content>.project-trailer,
  .project-content>.project-gallery,
  .project-content>.project-media {
    box-sizing: border-box;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    grid-column: auto !important;
    align-self: center;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .project-trailer .project-title,
  .project-gallery .project-title,
  .project-media .project-title {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow-wrap: normal;
  }

  .project-trailer__media,
  .project-gallery .gallery-grid,
  .project-news {
    width: 100%;
    max-width: 100%;
  }

  .project-gallery .gallery-grid {
    grid-auto-columns: 100%;
  }
}

/* Header and footer dimensions measured from the supplied 1440/375 exports. */
.header {
  height: 64px;
  padding-right: 20px;
  padding-left: 20px;
  gap: 64px;
}

.header .header__logo {
  font-size: 21px;
  line-height: 1;
}

.header .nav {
  gap: 48px;
}

.header .nav__link {
  font-size: 14px;
  font-weight: 500;
}

.header .nav__link:first-child::after {
  bottom: -10px;
  height: 1px;
}

.header__actions {
  gap: 24px;
}

/* Real tablet/mobile controls replace the old decorative pseudo-icons. */
@media (max-width: 1180px) {
  .header {
    height: 64px;
    padding-right: 20px;
    padding-left: 20px;
    gap: 24px;
  }

  .page {
    padding-top: 64px;
  }

  .header::before,
  .header::after,
  .header__actions::before {
    display: none !important;
    pointer-events: none !important;
  }

  .header__nav {
    position: fixed;
    z-index: 49;
    top: 64px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 22px;
    background: #171719;
    border: 1px solid #303034;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .header--open .header__nav {
    display: flex;
  }

  .header__nav .nav__link {
    width: 100%;
    padding: 4px 0;
    font-size: 16px;
  }

  .header__socials,
  .header__lang {
    display: none;
  }

  .header__actions {
    position: static;
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 24px;
  }

  .header__actions>.icon-button {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    pointer-events: auto;
  }

  .header__actions>.icon-button .icon-button__glyph {
    display: none;
  }

  .header__actions>a.icon-button::before {
    position: absolute;
    top: 8px;
    left: 7px;
    width: 18px;
    height: 18px;
    border: 2px solid #f2f2f2;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .header__actions>a.icon-button::after {
    position: absolute;
    top: 27px;
    left: 26px;
    width: 10px;
    height: 2px;
    background: #f2f2f2;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
  }

  .header__burger {
    position: relative;
  }

  .header__burger::before {
    position: absolute;
    top: 9px;
    left: 8px;
    width: 24px;
    height: 22px;
    background:
      linear-gradient(#f2f2f2, #f2f2f2) 0 0 / 24px 2px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 10px / 24px 2px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 20px / 24px 2px no-repeat;
    content: "";
    pointer-events: none;
  }
}

.header__socials {
  padding-left: 20px;
}

.header__socials.socials {
  gap: 18px;
}

.header__socials .socials__link {
  width: 16px;
  height: 16px;
}

.header .lang__link {
  font-size: 14px;
}

.footer {
  width: 100%;
  min-height: 382px;
  margin-top: 100px;
  padding-bottom: 40px;
}

.footer__inner {
  max-width: 1640px;
  padding: 0 80px;
  margin: 0 auto;
  grid-template-columns: minmax(224px, 332px) minmax(0, 1fr);
  gap: 100px;

  @media screen and (max-width: 768px) {
    padding: 0 51px;
  }
}

.footer .footer__logo {
  font-size: 62px;
  line-height: 0.9;
}

.footer__socials {
  margin-top: 52px;
}

.footer__socials .socials__link {
  width: 20px;
  height: 20px;
}

.footer__note {
  max-width: 300px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 16px;
}

.footer__columns {
  gap: 80px;
}

.footer__column {
  gap: 20px;
}

.footer__title {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 20px;
}

.footer__link,
.footer__text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.footer__text {
  margin: 0;
}

.footer__bottom {
  max-width: 1640px;
  padding: 28px 80px 0;
  margin: 48px auto 0;
}

.footer__copy,
.footer__bottom .footer__link {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

@media (max-width: 767px) {
  .header {
    height: 64px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .header .header__logo {
    font-size: 21px;
  }

  .header::before {
    top: 20px;
    right: 62px;
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .header__actions::before {
    top: 38px;
    right: 51px;
    width: 12px;
    height: 2px;
  }

  .header::after {
    top: 22px;
    right: 20px;
    width: 24px;
    height: 22px;
    background-size: 24px 2px, 24px 2px, 24px 2px;
    background-position: 0 0, 0 9px, 0 18px;
  }

  .footer {
    box-sizing: border-box;
    width: calc(100% - 48px);
    min-height: 660px;
    margin-top: 40px;
    padding-bottom: 32px;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
    padding: 0;
  }

  .footer__brand,
  .footer__columns {
    display: contents;
  }

  .footer .footer__logo {
    grid-column: 1 / -1;
    order: 0;
    font-size: 48px;
  }

  .footer__column {
    order: 1;
    gap: 14px;
  }

  .footer__column:nth-child(3) {
    grid-column: 1 / -1;
    order: 2;
  }

  .footer__title {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
  }

  .footer__link,
  .footer__text {
    font-size: 12px;
    line-height: 18px;
  }

  .footer__socials {
    grid-column: 1 / -1;
    order: 3;
    gap: 20px;
    margin-top: 0;
  }

  .footer__socials .socials__link {
    width: 24px;
    height: 24px;
  }

  .footer__note {
    grid-column: 1 / -1;
    order: 4;
    max-width: 300px;
    padding-top: 0;
    margin-top: -24px;
    font-size: 10px;
    line-height: 14px;
  }

  .footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
  }

  .footer__copy {
    display: none;
  }

  .footer__legal {
    gap: 28px;
  }

  .footer__bottom .footer__link {
    font-size: 12px;
    line-height: 18px;
  }
}

/* About page: layout from the supplied About / Team / Contacts frames. */
.about-page {
  width: min(1500px, calc(100% - 160px));
  padding-top: 48px;
}

.about-page .tabs-page__tabs {
  width: 100%;
  margin-top: 68px;
  margin-bottom: 30px;
  gap: 40px;
}

.about-page .tabs-page__tab {
  color: #45464b;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.about-page .tabs-page__tab--active {
  color: #f2f2f2;
}

.about-page .tabs-page__panel {
  min-height: 0;
}

.about-page .about-intro {
  display: flex;
  gap: 40px;
  align-items: start;
  flex-wrap: nowrap;

  @media screen and (max-width: 1024px) {
    flex-wrap: wrap;
    flex-direction: column;
  }
}

.about-page .about-intro__mark {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.4;
  padding: 0;
  background: var(--color-accent);
  border-radius: 16px;
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    flex-basis: 100%;
    max-height: 500px;
  }
}

.about-page .about-intro__mark::before {
  display: none;
}

.about-page .about-intro__mark span {
  display: block;
  flex: 0 0 auto;
  color: #f7dcca;
  font-family: var(--font-heading);
  font-size: clamp(92px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.83;
  white-space: nowrap;
}

.about-page .about-intro__mark span:nth-child(odd) {
  margin-left: -82px;
}

.about-page .about-intro__mark span:nth-child(even) {
  margin-left: 22px;
}

.about-page .about-intro__content {
  min-width: 0;
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    flex-basis: 100%;
  }
}

.about-page .about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 8px 0 40px;
}

.about-page .about-stats__item,
.about-page .about-stats__value,
.about-page .about-stats__label {
  margin: 0;
}

.about-page .about-stats__value {
  color: #0df2a0;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.about-page .about-stats__label {
  margin-top: 8px;
  color: #d5d5d7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding-left: 7px;
}

.about-page .about-text {
  color: #d7d7d9;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.about-page .about-text p {
  margin: 0 0 24px;
}

.about-page .person {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: start;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
  }
}

.about-page .person__media {
  position: sticky;
  top: 88px;
  display: block;
  width: 100%;
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    position: unset;
    top: 0;
    max-height: 500px;
    flex-basis: 100%;
  }
}

.person__content {
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    flex-basis: 100%;
  }
}

.about-page .person__image {
  position: static;
  width: 100%;
  aspect-ratio: 1.39;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 8px;
}

.about-page .person__title {
  margin: 0;
  color: #f2f2f2;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-page .person__position {
  margin: 7px 0 30px;
  color: #65656a;
  font-size: 14px;
  font-weight: 400;
}

.about-page .person__text {
  color: #d0d0d2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
}

.about-page .person__text p {
  margin: 0 0 22px;
}

.about-page .person__text ul {
  padding-left: 22px;
  margin: -12px 0 0;
}

.about-page .person__text li {
  margin: 0 0 3px;
}

.about-page .team-list {
  margin-top: 88px;
}

.about-page .team-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.about-page .section-title--small {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.about-page .team-list__controls {
  display: flex;
  gap: 8px;
}

.about-page .team-list__button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: #f2f2f2;
  background: #222226;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
}

.about-page .team-list__track {
  display: grid;
  grid-auto-columns: calc((100% - 112px) / 5);
  grid-auto-flow: column;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.about-page .team-card {
  min-width: 0;
  scroll-snap-align: start;
}

.about-page .team-list__track::-webkit-scrollbar {
  display: none;
}

.about-page .team-card__image {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 8px;
}

.about-page .team-card__name {
  margin: 12px 0 0;
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 700;
}

.about-page .team-card__role {
  margin: 4px 0 0;
  color: #55555a;
  font-size: 12px;
  font-weight: 400;
}

.about-page .contacts-layout {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: start;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.about-page .contacts-layout__map {
  width: 0;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 16px;
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    flex-basis: 100%;
    width: 100%;
  }
}

.about-page .contacts-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 62px;
  flex-basis: 50%;

  @media screen and (max-width: 1024px) {
    flex-basis: 100%;
  }
}

.about-page .contacts-info__item {
  min-width: 0;
}

.about-page .contacts-info__title {
  margin: 0 0 8px;
  color: #65656a;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

.about-page .contacts-info__link,
.about-page .contacts-info__text {
  display: block;
  margin: 0;
  color: #dedee0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.about-page .contacts-info__note {
  margin: 5px 0 0;
  color: #65656a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .about-page {
    width: calc(100% - 160px);
    padding-top: 42px;
  }

  .about-page .tabs-page__tabs {
    margin-top: 62px;
    margin-bottom: 36px;
    gap: 36px;
  }

  .about-page .about-intro,
  .about-page .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-page .about-intro__mark,
  .about-page .contacts-layout__map {
    max-height: 500px;
    height: 100%;
  }

  .about-page .about-intro__content {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 48px;
  }

  .about-page .about-stats {
    margin-top: 0;
  }

  .about-page .person {
    grid-template-columns: 1fr;
  }

  .about-page .person__image {
    position: static;
    max-width: 100%;
    aspect-ratio: 1.72;
    width: 100%;
  }

  .about-page .person__media {
    position: static;
  }

  .about-page .contacts-info {
    order: -1;
  }
}

@media (max-width: 767px) {
  .about-page {
    width: calc(100% - 48px);
    padding-top: 40px;
  }

  .about-page .breadcrumbs {
    font-size: 16px;
  }

  .about-page .tabs-page__tabs {
    width: calc(100vw - 24px);
    max-width: none;
    margin-top: 44px;
    margin-right: -24px;
    margin-bottom: 28px;
    padding-right: 24px;
    gap: 32px;
    scroll-padding-inline: 24px;
  }

  .about-page .tabs-page__tab {
    font-size: 20px;
  }

  .about-page .about-intro {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }

  .about-page .about-intro__mark {
    min-height: 0;
    aspect-ratio: 1.02;
    background: #f7ddcc;
    border-radius: 8px;
  }

  .about-page .about-intro__mark span {
    display: none;
  }

  .about-page .about-intro__content {
    display: block;
  }

  .about-page .about-stats {
    gap: 38px 48px;
    margin: 0 4px 38px;
  }

  .about-page .about-stats__item:nth-child(4) {
    order: 2;
  }

  .about-page .about-stats__item:nth-child(3) {
    order: 3;
  }

  .about-page .about-stats__item:nth-child(2) {
    order: 4;
  }

  .about-page .about-stats__value {
    font-size: clamp(32px, 9vw, 40px);
  }

  .about-page .about-stats__label {
    margin-top: 7px;
    font-size: 14px;
  }

  .about-page .about-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .about-page .about-text p {
    margin-bottom: 0;
  }

  .about-page .about-text p+p {
    display: none;
  }

  .about-page .person {
    gap: 24px;
  }

  .about-page .person__image {
    width: 100%;
    aspect-ratio: 1.43;
    object-position: center 25%;
  }

  .about-page .person__title {
    font-size: 18px;
  }

  .about-page .person__position {
    margin: 5px 0 22px;
    font-size: 12px;
  }

  .about-page .person__text {

    font-family: var(--font-base);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #F2F2F2;
  }

  .about-page .person__text p {
    margin-bottom: 18px;
  }

  .about-page .person__text ul {
    padding-left: 18px;
  }

  .about-page .team-list {
    margin-top: 54px;
  }

  .about-page .team-list__header {
    margin-bottom: 24px;
  }

  .about-page .section-title--small {
    font-size: 24px;
  }

  .about-page .team-list__controls {
    display: none;
  }

  .about-page .team-list__track {
    grid-auto-columns: 150px;
    gap: 12px;
    scroll-snap-type: x proximity;
  }

  .about-page .team-card__name {
    margin-top: 9px;
    font-size: 11px;
  }

  .about-page .team-card__role {
    font-size: 10px;
  }

  .about-page .contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .about-page .contacts-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 28px;
    order: -1;
  }

  .about-page .contacts-info__title,
  .about-page .contacts-info__link,
  .about-page .contacts-info__text,
  .about-page .contacts-info__note {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
  }

  .about-page .contacts-info__title {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .about-page .contacts-info__link,
  .about-page .contacts-info__text {
    font-size: 17px;
  }

  .about-page .contacts-info__note {
    font-size: 13px;
  }

  .about-page .contacts-layout__map {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
  }
}

/* Home page corrections from the client review, July 2026. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Shared header */
.header {
  height: 64px;
  padding-right: 20px;
  padding-left: 20px;
  gap: 64px;
}

.logo,
.header .header__logo {
  display: block;
  overflow: hidden;
  width: 94px;
  height: 16px;
  flex: 0 0 94px;
  background: url("../images/mars-logo.svg") center / contain no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.header .nav {
  gap: 32px;
}

.header .nav__link {
  font-size: 18px;
  font-weight: 400;
}

.header .nav__link:first-child::after {
  bottom: -6px;
  height: 1px;
}

.header__actions {
  gap: 0;
}

.header__actions>a.icon-button {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-right: 48px;
}

.header__actions>a.icon-button .icon-button__glyph {
  display: none;
}

.header__actions>a.icon-button::before {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  background: transparent url("../images/search.svg") center / contain no-repeat;
  border: 0;
  border-radius: 0;
  content: "";
}

.header__actions>a.icon-button::after {
  position: absolute;
  top: -4px;
  right: -24px;
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.header__socials,
.header__socials.socials {
  height: 32px;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  gap: 20px;
}

.header__socials .socials__link {
  width: 24px;
  height: 24px;
}

.header__lang {
  margin-left: 24px;
}

.header .lang__link {
  font-size: 18px;
  font-weight: 400;
}

.header .lang__link--active {
  font-weight: 500;
}

/* Home slider */
.page:not(.page--inner) .hero {
  --hero-gap: 40px;
  width: 100%;
  overflow: visible;
  max-width: 1600px;
  margin-top: 32px;
  overflow: visible;
  margin: 32px auto 0;
}

.page:not(.page--inner) .hero__viewport {
  width: 100%;
  overflow: visible;
}

.page:not(.page--inner) .hero__track {
  gap: var(--hero-gap);
}

.page:not(.page--inner) .hero__slide {
  flex: 0 0 min(calc(100% - 160px), 1440px);
  opacity: 0.42;
  transform: none;
}

.page:not(.page--inner) .hero__slide--active {
  opacity: 1;
  transform: none;
}

.page:not(.page--inner) .hero-card {
  width: 100%;
  max-width: none;
  min-height: 700px;
  height: 700px;
  border-radius: 32px;
}

.page:not(.page--inner) .hero-card__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.13) 58%, transparent 78%),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.48) 100%);
}

.page:not(.page--inner) .hero-card__content {
  bottom: 52px;
  left: 56px;
  width: min(720px, calc(100% - 112px));
  max-height: calc(100% - 104px);
}

.page:not(.page--inner) .hero-card__title {
  max-width: 600px;
  margin-top: 18px;
  font-size: 48px;
  line-height: 54px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.page:not(.page--inner) .hero-card__text {
  max-width: 600px;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.page:not(.page--inner) .hero-card__buttons {
  margin-top: 26px;
}

.page:not(.page--inner) .button {
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
}

.page:not(.page--inner) .hero-card__content .badge,
.page:not(.page--inner) .feature-card__content .badge {
  position: static;
  min-height: 28px;
  padding: 6px 16px;
  align-self: flex-start;
  color: var(--color-accent);
  background: rgba(12, 12, 12, 0.36);
  border: 1px solid currentColor;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
}

.page:not(.page--inner) .badge--series {
  color: var(--color-accent);
}

.page:not(.page--inner) .badge--news {
  color: var(--color-green);
}

.page:not(.page--inner) .hero__slide--series .hero-card__coner {
  background-color: var(--color-green);
}

.page:not(.page--inner) .hero__slide--active .hero-card__coner {
  background-color: var(--color-accent);
}

.page:not(.page--inner) .hero__slide--news .hero-card__coner--left {
  display: none;
}

.page:not(.page--inner) .hero__slide--news .hero-card__coner--right {
  right: -118px;
  bottom: -148px;
  width: 470px;
  height: 400px;
  background: url("../images/m-fill.svg") center / contain no-repeat;
  border-radius: 0;
}

.page:not(.page--inner) .hero-card__coner--left {
  top: -150px;
  left: -142px;
  width: 280px;
  height: 280px;
}

.page:not(.page--inner) .hero-card__coner--right {
  right: -118px;
  bottom: -122px;
  width: 280px;
  height: 280px;
}

.page:not(.page--inner) .hero__dot {
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.page:not(.page--inner) .hero__dot--active {
  width: 32px;
}

/* Home content */
.page:not(.page--inner) .content-section,
.page:not(.page--inner) .feature {
  width: min(1440px, calc(100% - 160px));
  margin-right: auto;
  margin-left: auto;
}

.page:not(.page--inner) .section-title {
  font-size: 40px;
  line-height: 1;
}

.page:not(.page--inner) .content-card__title {
  min-height: 0;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;

  @media screen and (max-width: 481px) {
    font-size: 16px;
  }
}

.page:not(.page--inner) .content-card__year {
  font-size: 16px;
  font-weight: 400;
}

.page:not(.page--inner) .feature-card {
  min-height: 700px;
  height: 700px;
  border-radius: 32px;
}

.page:not(.page--inner) .feature-card__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.1) 62%, transparent 80%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.46) 100%);
}

.page:not(.page--inner) .feature-card__title {
  max-width: 720px;
  font-size: 48px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.page:not(.page--inner) .feature-card__text {
  max-width: 520px;
  font-size: 18px;
  font-weight: 400;
}

.page:not(.page--inner) .feature:not(.feature--cream) .feature-card::before,
.page:not(.page--inner) .feature:not(.feature--cream) .feature-card::after {
  background-color: var(--color-green);
}

.page:not(.page--inner) .feature--cream .feature-card::before {
  display: none;
}

.page:not(.page--inner) .feature--cream .feature-card::after {
  right: -266px;
  bottom: -176px;
  width: 560px;
  height: 480px;
  background: url(../images/m-fill.svg) center / contain no-repeat;
  border-radius: 0;
  transform: rotate(-7deg);
}

.page:not(.page--inner) .news-card__title {
  font-weight: 500;
}

/* Shared footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 64px;
}

.footer .footer__logo {
  width: 272px;
  height: 46px;
  flex-basis: 272px;
}

.footer__socials {
  gap: 20px;
}

.footer__column {
  gap: 12px;
}

.footer__title {
  margin-bottom: 2px;
}

@media (max-width: 1180px) {
  .header {
    gap: 24px;
  }

  .header__actions {
    gap: 0;
  }

  .header__actions>a.icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-right: 0;
  }

  .header__actions>a.icon-button::before {
    inset: 10px;
    width: 20px;
    height: 20px;
  }

  .header__actions>a.icon-button::after {
    display: none;
  }

  .header__burger {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .header__burger::before {
    top: 12px;
    left: 10px;
    width: 20px;
    height: 16px;
    background:
      linear-gradient(#f2f2f2, #f2f2f2) 0 0 / 20px 2px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 7px / 20px 2px no-repeat,
      linear-gradient(#f2f2f2, #f2f2f2) 0 14px / 20px 2px no-repeat;
  }

  .page:not(.page--inner) .hero-card__coner--left {
    display: none;
  }

  .page:not(.page--inner) .hero-card__title {
    font-size: 44px;
  }

  .page:not(.page--inner) .section-title {
    font-size: 36px;
  }

  .page:not(.page--inner) .feature-card__title {
    font-size: 44px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .page:not(.page--inner) .rail__track {
    grid-auto-columns: calc((100% - 120px) / 4);
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .page:not(.page--inner) .rail__track {
    grid-auto-columns: calc((100% - 80px) / 3);
  }
}

@media (max-width: 767px) {
  .header {
    height: 64px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .page:not(.page--inner) {
    padding-top: 64px;
  }

  .page:not(.page--inner) .main {
    width: 100vw !important;
    max-width: none !important;
  }

  .page:not(.page--inner) .hero {
    --hero-gap: 12px;
    width: 100vw;
    margin-top: 24px;
    overflow: visible;
  }

  .page:not(.page--inner) .hero__viewport {
    overflow: visible;
  }

  .page:not(.page--inner) .hero__slide,
  .page:not(.page--inner) .hero-card {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    flex-basis: calc(100vw - 48px);
  }

  .page:not(.page--inner) .hero-card {
    display: grid;
    min-height: 620px;
    height: 620px;
    grid-template-rows: auto minmax(0, 1fr);
    background: #191919;
    border-radius: 24px;
  }

  .page:not(.page--inner) .hero-card__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    aspect-ratio: auto;
    object-position: center;
    border-radius: 24px;
  }

  .page:not(.page--inner) .hero-card__shade,
  .page:not(.page--inner) .hero-card__coner {
    display: none;
  }

  .page:not(.page--inner) .hero-card__content {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 24px;
    flex-direction: column;
    max-height: 100%;
  }

  .page:not(.page--inner) .hero-card__title {
    max-width: 100%;
    margin-top: 12px;
    font-size: 20px;
    line-height: 28px;
    overflow: clip;
  }

  .page:not(.page--inner) .hero-card__text {
    display: -webkit-box;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #F2F2F2;
    text-overflow: ellipsis;
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  .page:not(.page--inner) .hero-card__buttons {
    display: grid !important;
    width: 90% !important;
    max-width: 100% !important;
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    position: absolute;
    bottom: 24px;
  }

  .page:not(.page--inner) .hero-card__buttons .button {
    min-height: 40px;
    font-size: 14px !important;
    line-height: 18px !important;
  }

  .page:not(.page--inner) .hero__slide--news .hero-card__buttons {
    grid-template-columns: 1fr !important;
  }

  .page:not(.page--inner) .hero__arrow {
    display: none;
  }

  .page:not(.page--inner) .hero__dots {
    margin-top: 18px;
  }

  .page:not(.page--inner) .content-section,
  .page:not(.page--inner) .feature {
    width: calc(100% - 48px);
    margin-top: 50px;

  }

  .page:not(.page--inner) .content-section.content-section--news {
    width: 100%;
    margin-left: 28px;
  }

  .page:not(.page--inner) #films,
  .page:not(.page--inner) #series,
  .page:not(.page--inner) .content-section--news {
    min-height: 0;
  }

  .page:not(.page--inner) .content-section__head {
    position: relative;
    min-height: 24px;
    margin-bottom: 16px;
  }


  .content-section__head .section-link,
  .page:not(.page--inner) .section-link__icon {
    position: absolute;
    top: 0;
    right: 20px;
  }

  .page:not(.page--inner) .section-title {
    font-size: 20px;
  }

  .page:not(.page--inner) .rail__track {
    width: 100%;
    gap: 16px;
    grid-auto-columns: 200px;
  }

  .news-card__date {
    color: rgba(233, 233, 250, 0.33);
    font-family: var(--font-base);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
  }

  .page:not(.page--inner) .content-card {
    min-height: 0;
    padding: 20px 24px;
  }

  .page:not(.page--inner) .rail__track .content-card {
    padding: 0;
  }

  .page:not(.page--inner) .content-card__media {
    aspect-ratio: 200 / 270;
  }

  .page:not(.page--inner) .content-card__label {
    min-height: 24px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .page:not(.page--inner) .rail__track .content-card__label {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 12px;
  }

  .page:not(.page--inner) .content-card__title {
    margin-top: 12px;
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    text-transform: none;
  }

  .page:not(.page--inner) .content-card__year {
    margin-top: 6px;
    font-size: 14px;
  }

  .page:not(.page--inner) .feature-card {
    display: grid;
    min-height: 0;
    height: 620px;
    grid-template-rows: auto minmax(0, 1fr);
    background: #191919;
    border-radius: 24px;
    width: auto;
  }

  .page:not(.page--inner) .feature-card__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    aspect-ratio: auto;
    border-radius: 24px;
  }

  @media screen and (max-width: 500px) {

    .page:not(.page--inner) .feature-card__corner {
      display: none !important;
    }
  }

  .page:not(.page--inner) .feature-card__shade,
  .page:not(.page--inner) .feature-card::before,
  .page:not(.page--inner) .feature-card::after {
    display: none;
  }

  .page:not(.page--inner) .feature-card__content {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 24px;
    flex-direction: column;
    max-height: 100%;
  }

  .page:not(.page--inner) .feature-card__title {
    max-width: 100%;
    margin-top: 12px;
    font-size: 20px;
    line-height: 28px;
     overflow: clip;

     @media screen and (max-width:430px) {
      margin-top: 0;
     }
  }

  .page:not(.page--inner) .feature-card__text {
    display: -webkit-box;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px;
    font-size: 16px;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: clip;
  }

  .page:not(.page--inner) .feature-card__buttons {
        display: grid !important;
        width: 100% !important;
        max-width: -webkit-fill-available !important;
        margin-top: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
        position: absolute;
        bottom: 24px;
        margin-right: 20px;
  }

  .page:not(.page--inner) .feature--cream .feature-card__buttons {
    grid-template-columns: 1fr !important;
  }

  .page:not(.page--inner) .feature-card__buttons .button {
    width: 100%;
    min-height: 40px;
    font-size: 14px;
    

    @media screen and (max-width: 400px) {
      font-size: 12px;
      white-space: nowrap;
    }
  }
   .page:not(.page--inner) .feature-card__content .feature-card__buttons {
    position: absolute;
    bottom: 24px;
    width: 90% !important;
   }
  .page:not(.page--inner) .news-grid {
    display: grid;
    width: 100%;
    grid-auto-columns: minmax(260px, 82%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page:not(.page--inner) .news-grid::-webkit-scrollbar {
    display: none;
  }

  .page:not(.page--inner) .news-card__title {
    overflow: hidden;
    color: #F2F2F2;
    text-overflow: ellipsis;
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
  }

  .footer {
    width: calc(100% - 48px);
    padding-top: 48px;
  }

  .footer .footer__logo {
    width: 211px;
    height: 35px;
    flex-basis: 211px;
  }

  .footer__column {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .page:not(.page--inner) .hero-card__image {
    object-position: 100% center;
  }
}

/* Client page directory */
.pages-index {
  min-height: 100vh;
  background: #0c0c0c;
}

.pages-index__main {
  width: min(100% - 96px, 1440px);
  margin: 0 auto;
  padding: 88px 0 120px;
}

.pages-index__intro {
  max-width: 760px;
  margin-bottom: 88px;
}

.pages-index__eyebrow {
  margin: 0 0 18px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pages-index__intro h1 {
  max-width: 100%;
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1.12;
}

.pages-index__intro>p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--color-muted);
  font-size: 20px;
}

.pages-index__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 96px;
}

.pages-index__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.pages-index__heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.pages-index__heading>span {
  color: #565656;
  font-size: 13px;
  font-weight: 700;
}

.pages-index__links {
  border-top: 1px solid #2a2a2a;
}

.pages-index__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
  color: #d7d7d7;
  font-size: 18px;
  transition: color 180ms ease, padding 180ms ease;
}

.pages-index__links a>span:first-child {
  min-width: 0;
}

.pages-index__links a>span:last-child {
  flex: 0 0 auto;
  color: #565656;
  font-size: 12px;
  font-weight: 700;
}

@media (hover: hover) {
  .pages-index__links a:hover {
    padding-left: 12px;
    color: var(--color-accent);
  }
}

@media (max-width: 900px) {
  .pages-index__main {
    width: min(100% - 48px, 720px);
    padding: 64px 0 88px;
  }

  .pages-index__intro {
    margin-bottom: 64px;
  }

  .pages-index__groups {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 600px) {
  .pages-index__main {
    width: calc(100% - 40px);
    padding: 44px 0 64px;
  }

  .pages-index__intro {
    margin-bottom: 52px;
  }

  .pages-index__eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .pages-index__intro h1 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .pages-index__intro>p:last-child {
    font-size: 16px;
  }

  .pages-index__heading h2 {
    font-size: 16px;
  }

  .pages-index__links a {
    min-height: 60px;
    font-size: 16px;
  }
}

.header .nav__link--active {
  position: relative;
}

.header .nav__link--active::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  display: block;
  height: 1px;
  background: var(--color-accent);
  content: "";
}

.breadcrumbs {
  gap: 0;
}

.breadcrumbs>*+*::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px;
  background: #68686d;
  border-radius: 50%;
  content: "";
}

/* Catalog */
.catalog-page {
  min-height: 900px;
}

.catalog-tabs {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  width: stretch;
}

.catalog-tabs::-webkit-scrollbar {
  display: none;
}

.catalog-tabs__link {
  display: inline-flex;
  flex: none;
  align-items: flex-start;
  padding: 0;
  color: #56565b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 36px;
  text-transform: uppercase;
}

.catalog-tabs__link sup {
  top: -7px;
  left: 8px;
  color: #68686d;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
}

.catalog-tabs__link--active {
  color: #f2f2f2;
}

.catalog-tabs__link--active sup {
  color: #f2f2f2;
}

.catalog-filters {
  grid-template-columns: minmax(280px, 392px) 220px 240px 48px;
}

.catalog-dropdown {
  position: relative;
}

.catalog-dropdown__menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 260px);
  padding: 10px;
  background: #202023;
  border: 1px solid #38383d;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.catalog-dropdown--open .custom-select__trigger {
  background: #28282c;
  border-color: rgba(255, 85, 61, 0.7);
}

.catalog-dropdown--open .custom-select__chevron {
  transform: translateY(2px) rotate(225deg);
}

.catalog-filter-option {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px;
  gap: 12px;
  color: #d0d0d4;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
}

.catalog-filter-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.catalog-filter-option__text {
  min-width: 0;

  @media screen and (max-width:481px) {
    font-family: var(--font-base);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #F2F2F2;
  }
}

.catalog-dropdown__actions {
  display: grid;
  margin-top: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-dropdown__actions .button {
  padding: 0 10px;
  font-size: 12px !important;
  min-height: 24px;
  max-height: 24px;
  font-family: var(--font-base);
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #F2F2F2;
}

.catalog-filter__sort {
  display: grid;
  place-items: center;
  transition: background-color 160ms ease;
}

.catalog-filter__sort:hover {
  background: #2c2c31;
}

.catalog-filter__sort svg {
  transition: transform 180ms ease;
}

.catalog-filter__sort--ascending svg {
  transform: rotate(180deg);
}

.catalog-card__title {
  min-height: 34px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.catalog-card__meta {
  margin-top: 7px;
  font-size: 14px;
}

.catalog-skeleton {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}

.catalog-skeleton span,
.search-skeleton span {
  position: relative;
  overflow: hidden;
  background: #1b1b1e;
  border-radius: 8px;
}

.catalog-skeleton span {
  aspect-ratio: 224 / 390;
}

.catalog-skeleton span::after,
.search-skeleton span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  content: "";
  transform: translateX(-100%);
  animation: marsme-skeleton 1.1s infinite;
}

@keyframes marsme-skeleton {
  to {
    transform: translateX(100%);
  }
}

.catalog-empty {
  display: grid;
  min-height: 420px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.catalog-empty__icon,
.search-empty__icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  background: #202023 url("../images/search.svg") center / 20px no-repeat;
  border-radius: 10px;
}

.catalog-empty h2,
.catalog-empty p {
  margin: 0;
}

.catalog-empty h2 {
  text-transform: none;
  font-weight: 700;
  font-size: 22px;
  color: #F2F2F2;
}

.catalog-empty p {
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #F2F2F2;
}

/* Global search */
.search-page {
  min-height: 760px;
}

.search-page__title {
  margin-top: 50px;
  font-family: var(--font-heading);
}

.search-form {
  display: block;
  width: min(760px, 100%);
}

.search-form__label {
  width: 100%;
}

.search-form__label::before {
  width: 22px;
  height: 22px;
  background: url("../images/search.svg") center / 18px no-repeat;
  content: "";
}

.search-form__input {
  padding-right: 56px;
}

.search-form__input::-webkit-search-cancel-button {
  display: none;
}

.search-form__clear {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  padding: 0;
  background: #E4E4FB4A;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
  border-radius: 50%;
}

.search-form__clear::before,
.search-form__clear::after {
  position: absolute;
  top: 10px;
  left: 5px;
  width: 10px;
  height: 1px;
  background: #000000;
  content: "";
}

.search-form__clear::before {
  transform: rotate(45deg);
}

.search-form__clear::after {
  transform: rotate(-45deg);
}

.search-section__title {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0;
}

.search-skeleton {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.search-skeleton span {
  aspect-ratio: 453 / 360;
}

.search-results>.search-section {
  margin-top: 56px;
}

.search-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

.search-result-card {
  position: relative;
  overflow: hidden;
  background: #19191a;
  border-radius: 12px;
}

.search-result-card__image {
  width: 100%;
  aspect-ratio: 453 / 260;
  object-fit: cover;
}

.search-result-card__body {
  min-height: 104px;
  padding: 18px;
}

.search-result-card__title,
.search-result-card__meta {
  margin: 0;
}

.search-result-card__title {
  color: #f2f2f2;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.2;
}

.search-result-card__meta {
  margin-top: 10px;
  color: #85858b;
  font-size: 14px;
}

.search-result-card__tag {
  position: relative;
  display: block;
  z-index: 2;
  margin: 0 18px 18px;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  color: #FF9D5A;
}

.search-empty {
  min-height: 420px;
}

.search-empty::before {
  display: none;
}

/* Shared loading and empty states */
.content-empty {
  display: grid;
  min-height: 420px;
  padding: 48px 24px;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.content-empty__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  background: #202023 url("../images/search.svg") center / 22px no-repeat;
  border-radius: 10px;
}

.content-empty h2,
.content-empty p {
  margin: 0;
}

.content-empty h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.content-empty p {
  color: #77777d;
  font-size: 15px;
}

.content-empty .button {
  margin-top: 4px;
}

.page-content-skeleton {
  padding-top: 44px;
  padding-bottom: 110px;
}

.page-content-skeleton__crumb,
.page-content-skeleton__title,
.page-content-skeleton__tabs,
.page-content-skeleton__hero,
.page-content-skeleton__media,
.page-content-skeleton__poster,
.page-content-skeleton__copy span {
  position: relative;
  overflow: hidden;
  background: #1b1b1e;
  border-radius: 10px;
}

.page-content-skeleton__crumb::after,
.page-content-skeleton__title::after,
.page-content-skeleton__tabs::after,
.page-content-skeleton__hero::after,
.page-content-skeleton__media::after,
.page-content-skeleton__poster::after,
.page-content-skeleton__copy span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  content: "";
  transform: translateX(-100%);
  animation: marsme-skeleton 1.1s infinite;
}

.page-content-skeleton__crumb {
  width: 180px;
  height: 14px;
}

.page-content-skeleton__title {
  width: min(460px, 72%);
  height: 54px;
  margin-top: 48px;
}

.page-content-skeleton__tabs {
  width: min(520px, 80%);
  height: 42px;
  margin-top: 54px;
}

.page-content-skeleton__hero {
  width: 100%;
  min-height: 520px;
  margin-top: 42px;
  border-radius: 16px;
}

.page-content-skeleton__company,
.page-content-skeleton__columns {
  display: grid;
  margin-top: 44px;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.5fr);
  gap: 48px;
}

.page-content-skeleton__media {
  min-height: 340px;
}

.page-content-skeleton__poster {
  min-height: 460px;
}

.page-content-skeleton__copy {
  display: flex;
  padding-top: 8px;
  flex-direction: column;
  gap: 16px;
}

.page-content-skeleton__copy span {
  display: block;
  width: 100%;
  height: 18px;
}

.page-content-skeleton__copy span:nth-child(2n) {
  width: 88%;
}

.page-content-skeleton__copy span:last-child {
  width: 62%;
}

.page-content-skeleton__copy--text {
  max-width: 900px;
  margin-top: 54px;
}

@media (max-width: 767px) {
  .content-empty {
    min-height: 360px;
  }

  .content-empty h2 {
    font-size: 20px;
  }

  .page-content-skeleton {
    width: calc(100% - 48px);
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .page-content-skeleton__title {
    height: 34px;
    margin-top: 32px;
  }

  .page-content-skeleton__tabs {
    height: 32px;
    margin-top: 36px;
  }

  .page-content-skeleton__hero {
    min-height: 280px;
    margin-top: 32px;
  }

  .page-content-skeleton__company,
  .page-content-skeleton__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-content-skeleton__media,
  .page-content-skeleton__poster {
    min-height: 300px;
  }
}

/* Project pages */
.project-page {
  width: min(1440px, calc(100% - 160px));
  max-width: 1440px;
}

.project-banner__content {
  bottom: 80px;
  left: max(80px, calc((100vw - min(1440px, calc(100vw - 160px))) / 2));
}

.project-banner__title,
.project-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
}

.project-banner__title {
  max-width: 760px;
  font-size: 48px;
}

[data-watch-toggle]::after {
  width: 7px;
  height: 7px;
  margin-left: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

[data-watch-toggle][aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.project-banner__content .watch-dropdown {
  width: 250px;
  margin-top: 8px;
}

.project-hero {
  position: relative;
  z-index: 2;
  grid-template-columns: 330px;
  min-height: 620px;
  gap: 12px;
  pointer-events: none;
}

.project-hero__poster,
.project-poster__buttons,
.project-hero__buttons {
  pointer-events: auto;
}

.project-layout {
  margin-top: -620px;
}

.project-content {
  grid-template-columns: 330px 453px 330px;
  justify-content: space-between;
  column-gap: 0;
}

.project-title {
  margin-bottom: 30px;
  font-size: 32px;
  line-height: 1.05;
}

.project-content>.project-block:nth-child(1),
.project-content>.project-block:nth-child(2) {
  grid-column: 2;
}

.project-content>.project-block:nth-child(1) .project-more {
  display: none;
}

.project-content>.project-block:nth-child(1) .project-copy p {
  display: block;
}

.project-copy {
  font-size: 18px;
}

.project-creators {
  width: 330px;
}

.creator-list> :nth-child(n + 7) {
  display: none;
}

.project-creators--open .creator-list> :nth-child(n + 7) {
  display: block;
}

.project-creators__more {
  display: flex;
  align-items: center;
  padding: 0;
  margin-top: 28px;
  gap: 12px;
  color: #f2f2f2;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}


.creator-tooltip {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  padding: 0;
  place-items: center;
  margin-left: 5px;
  color: #bdbdc2;
  background: #35353a;
  border: 0;
  border-radius: 50%;
  cursor: help;
  font-size: 11px;
  vertical-align: 2px;
}

.creator-tooltip [role="tooltip"] {
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 10px);
  left: 50%;
  display: none;
  width: 210px;
  padding: 10px 12px;
  color: #f2f2f2;
  background: #2a2a2f;
  border: 1px solid #424248;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  line-height: 1.35;
  transform: translateX(-50%);
}

.creator-tooltip:hover [role="tooltip"],
.creator-tooltip:focus-visible [role="tooltip"],
.creator-tooltip--open [role="tooltip"] {
  display: block;
}

.award-item__icon {
  position: relative;
  font-size: 0;
}

.award-item__icon::before {
  width: 13px;
  height: 13px;
  border: 2px solid #f2f2f2;
  border-radius: 50%;
  content: "";
}

.award-item__icon::after {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #f2f2f2;
  border-radius: 50%;
  content: "";
}

.award-item__title {
  font-size: 18px;
  font-weight: 700;
}

.project-trailer__media {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
}

.project-trailer__play {
  width: 72px;
  height: 72px;
  font-size: 0;
}

.project-trailer__play::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  content: "";
}

.project-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.project-gallery .gallery-grid button,
.project-gallery .gallery-grid img,
.project-news .news-card,
.project-news .news-card__image {
  border-radius: 24px;
}

.project-gallery .gallery-grid img,
.project-news .news-card__image {
  aspect-ratio: 453.33 / 260;
}

.project-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.project-media .project-section-head {
  margin-bottom: 0;
}

.project-section-head .project-title {
  margin: 0;
}

.project-section-controls {
  display: flex;
  gap: 8px;

  @media screen and (max-width: 481px) {
    display: none !important;
  }
}

.project-section-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: #f2f2f2;
  background: #242428;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
}

.project-news {
  display: grid;
  grid-auto-columns: calc((100% - 80px) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.project-news::-webkit-scrollbar {
  display: none;
}

.footer__columns .footer__column:last-child {
  max-width: 230px;
}

.footer__columns .footer__column:last-child .footer__text {
  max-width: 230px;
}

@media (min-width: 1600px) {
  .project-page {
    width: 1440px;
  }
}

@media (max-width: 1282px) {
  .catalog-tabs {
    gap: 36px;
  }

}

@media (max-width: 1180px) and (min-width: 768px) {
  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr) minmax(200px, 0.65fr) 48px;
  }

  .catalog-skeleton {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-page {
    display: grid;
    width: calc(100% - 160px);
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 0 48px;
  }

  .project-page>.breadcrumbs {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .project-banner {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-hero,
  .project-layout,
  .project-content {
    display: contents;
  }

  .project-hero__poster {
    grid-column: 1;
    grid-row: 3;
    margin-top: 50px;
  }

  .project-poster__buttons {
    grid-column: 1;
    grid-row: 4;
    margin-top: 16px;
  }

  .project-content>.project-block:nth-child(1) {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin-top: 50px;
  }

  .project-content>.project-block:nth-child(2) {
    grid-column: 1;
    grid-row: 5;
    margin-top: 72px;
  }

  .project-creators {
    position: static;
    width: 100%;
    grid-column: 2;
    grid-row: 5;
    margin-top: 72px;
  }

  .project-content .project-trailer {
    grid-column: 1 / -1;
    grid-row: 6;
    margin-top: 90px;
  }

  .project-content .project-gallery {
    grid-column: 1 / -1;
    grid-row: 7;
    margin-top: 90px;
  }

  .project-content .project-media {
    grid-column: 1 / -1;
    grid-row: 8;
    margin-top: 90px;
  }

  .project-title {
    font-size: 24px;
  }

  .project-copy {
    font-size: 16px;
  }

  .project-gallery .gallery-grid {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project-gallery .gallery-grid button {
    scroll-snap-align: start;
  }

  .project-news {
    grid-auto-columns: calc((100% - 40px) / 2);
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
  }

  .catalog-filter--search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .header .nav__link--active::after {
    bottom: -3px;
  }

  .breadcrumbs {
    overflow: hidden;
    white-space: nowrap;
  }

  .breadcrumbs>* {
    flex: none;
  }

  .breadcrumbs>*+*::before {
    margin-right: 8px;
    margin-left: 8px;
  }

  .catalog-page {
    padding-top: 40px;
  }

  .catalog-page__head {
    display: block;
    margin-top: 32px !important;
  }

  .catalog-tabs {
    width: 100%;
    gap: 24px;
  }

  .catalog-tabs__link {
    font-size: 20px;
    line-height: 28px;
  }

  .catalog-tabs__link sup {
    top: -4px;
    left: 4px;
    font-size: 10px;
  }

  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
    gap: 12px;
    margin-top: 24px;
  }

  .catalog-filter--search {
    grid-column: 1 / -1;
  }

  .catalog-filter__sort {
    display: grid;
    width: 48px;
  }

  .catalog-dropdown__menu {
    width: min(280px, calc(100vw - 48px));
  }

  .catalog-dropdown:nth-of-type(3) .catalog-dropdown__menu {
    right: -60px;
    left: auto;
  }

  .catalog-grid {
    gap: 28px 16px;
    margin-top: 24px;
  }

  .catalog-card__title {
    min-height: 46px;
    font-size: 12px;
  }

  .catalog-card__meta {
    font-size: 12px;
    min-height: max-content;
    font-family: var(--font-base);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(233, 233, 250, 0.33);
  }

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

  .search-page {
    padding-top: 32px;
  }

  .search-page__title {
    margin-top: 32px;
    font-size: 28px;
  }

  .search-form {
    display: block;
    grid-template-columns: none;
  }

  .search-section__title {
    font-size: 18px;
  }

  .search-skeleton {
    grid-template-columns: 1fr;
  }

  .search-results__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .search-result-card__image {
    aspect-ratio: 327 / 188;
  }

  .project-banner__content {
    right: 24px;
    bottom: 54px;
    left: 24px;
  }

  .project-banner__title {
    font-size: 48px !important;
    line-height: 54px !important;
  }

  .project-hero {
    min-height: 0;
  }

  .project-title {
    font-size: 20px !important;
  }

  .project-copy {
    font-size: 16px;
    line-height: 1.5;
  }

  .project-content>.project-block:nth-child(1) .project-copy p+p {
    margin-top: 16px;
  }

  .project-trailer__media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-gallery .gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-gallery .gallery-grid button {
    width: 100%;
    scroll-snap-align: start;
  }

  .project-gallery .gallery-grid button,
  .project-gallery .gallery-grid img,
  .project-news .news-card,
  .project-news .news-card__image {
    border-radius: 24px;
  }

  .project-news {
    grid-auto-columns: auto;
    gap: 16px !important;
  }

  .project-section-controls button {
    width: 32px;
    height: 32px;
  }

  .creator-tooltip [role="tooltip"] {
    right: -18px;
    left: auto;
    transform: none;
  }
}






/* Coner assets override */
.page:not(.page--inner) .hero-card__coner,
.page:not(.page--inner) .feature-card__coner {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
  object-fit: contain;
  background: none;
  border-radius: 0;
}

.page:not(.page--inner) .hero-card__coner--left {
  top: 0;
  left: -30px;
  width: 230px;
  height: 230px;
}

.page:not(.page--inner) .hero-card__coner--right {
  right: -60px;
  bottom: 0;
  width: 250px;
  height: 250px;
}

.page:not(.page--inner) .hero__slide--series .hero-card__coner,
.page:not(.page--inner) .hero__slide--active .hero-card__coner,
.page:not(.page--inner) .hero__slide--news .hero-card__coner {
  background: none;
}

.page:not(.page--inner) .hero__slide--news .hero-card__coner--left {
  display: block;
}

.page:not(.page--inner) .hero__slide--news .hero-card__coner--right {
  right: -100px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 0;
}

.page:not(.page--inner) .feature-card::before,
.page:not(.page--inner) .feature-card::after {
  content: none !important;
  display: none !important;
}

.page:not(.page--inner) .feature-card__coner--left {
  top: -170px;
  left: -154px;
  width: 335px;
  height: 335px;
}

.page:not(.page--inner) .feature-card__coner--right {
  right: -115px;
  bottom: -128px;
  width: 265px;
  height: 265px;
}

@media (max-width: 1024px) {

  .page:not(.page--inner) .hero-card__coner,
  .page:not(.page--inner) .feature-card__coner {
    display: none;
  }
}

@media (max-width: 480px) {
  .project-banner__title {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .page:not(.page--inner) .hero-card__coner,
  .page:not(.page--inner) .feature-card__coner {
    display: none;
  }
}

.feature-card__content .badge.badge--green,
.hero-card__content .badge.badge--green {
  position: unset !important;
  color: var(--color-green) !important;
  border-color: var(--color-green) !important;
  background: transparent !important;
  backdrop-filter: blur(5px);

}

.feature-card__content .badge.badge--light,
.hero-card__content .badge.badge--light {
  position: unset !important;
  color: #FDE2CF !important;
  border-color: #FDE2CF !important;
  background: transparent !important;
  backdrop-filter: blur(10px);

}

.hero .feature-card__content .badge.badge--green,
.hero .hero-card__content .badge.badge--green {
  border-color: #20FFA6 !important;
  color: #20FFA6 !important;
  backdrop-filter: blur(5px);

}

.hero .feature-card__content .badge.badge--light,
.hero .hero-card__content .badge.badge--light {
  border-color: #FDE2CF !important;
  color: #FDE2CF !important;
  backdrop-filter: blur(5px);

}


/* РћР±С‰Р°СЏ РїР°РіРёРЅР°С†РёСЏ РєР°С‚Р°Р»РѕРіРѕРІ Рё РЅРѕРІРѕСЃС‚РµР№ */
.app-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px auto 8px;
}

.app-pagination__page,
.app-pagination__arrow {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  color: var(--color-text);
  border: 1px solid #343434;
  border-radius: 50%;
  background: var(--color-panel-soft);
  font: 700 15px/1 var(--font-base);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.app-pagination__arrow {
  margin: 0 6px;
  font-size: 25px;
  font-weight: 400;
}

.app-pagination__page:hover,
.app-pagination__arrow:not(:disabled):hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.app-pagination__page--active {
  color: #fff;
  border-color: var(--color-accent);
  background: var(--color-accent);
  cursor: default;
}

.app-pagination__arrow:disabled {
  color: #5b5b5b;
  opacity: .55;
  cursor: not-allowed;
}

.app-pagination__ellipsis {
  min-width: 22px;
  color: var(--color-muted);
  text-align: center;
  font-size: 18px;
}

@media (max-width: 600px) {
  .app-pagination {
    gap: 5px;
    margin-top: 34px;
  }

  .app-pagination__page,
  .app-pagination__arrow {
    min-width: 36px;
    height: 36px;
    padding: 0 7px;
    font-size: 13px;
  }

  .app-pagination__arrow {
    margin: 0 2px;
    font-size: 22px;
  }
}

/* Final project-detail overrides: keep every film/series page on the same layout. */
.project-watch-actions>a.button--primary::after,
.project-watch-actions>.button--primary:not([data-watch-toggle])::after {
  display: none !important;
  content: none !important;
}

.project-banner__buttons .watch-dropdown,
.project-hero__buttons .watch-dropdown,
.project-poster__buttons .watch-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(310px, 100vw - 48px);
  margin-top: 0;
}

.project-watch-actions {
  align-items: flex-start;
}

.project-page .project-banner {
  min-height: 650px;
}

.project-page .project-banner__content {
  bottom: 72px;
}

.project-page .project-banner__title {
  font-family: 'Micra', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #F2F2F2;

  @media screen and (max-width: 480px) {
    font-size: 20px !important;
    line-height: 28px !important;
  }
}

.project-page .project-banner__description {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.45;
}

.project-page .project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(72px, 9vw, 150px);
  margin-top: 72px;
}

.project-page .project-content {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 453px);
  gap: 56px clamp(56px, 6vw, 120px);
  align-items: start;
  justify-content: start;
}

.project-page .project-hero {
  display: contents;
  min-height: 0;
  pointer-events: auto;
}

.project-page .project-hero__poster {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 100%;
}

.project-page .project-poster__buttons {
  grid-column: 1;
  grid-row: 4;
  margin-top: -32px;
}

.project-page .project-hero__main {
  display: none;
}

.project-page .project-description {
  grid-column: 2;
  grid-row: 1;
}

.project-page .project-awards {
  grid-column: 2;
  grid-row: 2;
  margin-top: 14px;
}

.project-page .project-trailer {
  grid-column: 1 / -1;
  grid-row: 5;
  margin-top: 48px;
}

.project-page .project-gallery {
  grid-column: 1 / -1;
  grid-row: 6;
  margin-top: 56px;
}

.project-page .project-media,
.project-page .project-news {
  grid-column: 1 / -1;
  grid-row: 7;
  margin-top: 48px;
}

.project-page .project-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;

  @media screen and (max-width: 481px) {
    font-size: 16px !important;
    line-height: 20px !important;
  }
}

.project-page .project-copy {
  font-size: 18px;
  line-height: 1.55;
}

.project-page .project-copy p {
  margin: 0 0 18px;

  @media screen and (max-width:768px) {
    margin: 0;
  }
}

.project-page .project-description .project-more {
  display: none !important;
}

.project-page .project-creators {
  width: 330px;
  align-self: start;
}

.project-page .project-creators__list {
  max-height: 500px;
}

.project-page .creator-list> :nth-child(n + 7),
.project-page .project-creators--open .creator-list> :nth-child(n + 7) {
  display: revert;
}

.project-page .project-creators__names {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.project-page .project-creators__name {
  min-height: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.35;
}

.project-page .project-creators__name--outlined {
  padding: 2px 7px;
}

.project-page .project-awards__title {
  font-size: 18px;
  line-height: 1.35;
}

.project-page .project-trailer__media {
  width: min(100%, 1440px);
  aspect-ratio: 2 / 1;
  border-radius: 16px;
}

.project-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.project-page .gallery-grid button,
.project-page .gallery-grid img {
  border-radius: 16px;
}

.project-page .gallery-grid img {
  aspect-ratio: 453.33 / 260;
  object-fit: cover;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .project-page .project-banner {
    min-height: 560px;
  }

  .project-page .project-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-top: 56px;
  }

  .project-page .project-content {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 48px 48px;
  }

  .project-page .project-description {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .project-page .project-awards {
    grid-column: 1;
    grid-row: 5;
    margin-top: 16px;
  }

  .project-page .project-creators {
    width: 100%;
    max-width: 360px;
  }

  .project-page .project-trailer {
    grid-row: 6;
    margin-top: 42px;
  }

  .project-page .project-gallery {
    grid-row: 7;
    margin-top: 42px;
  }

  .project-page .gallery-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-page .gallery-grid button {
    flex: 0 0 400px;
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .project-page .project-banner {
    min-height: 560px;
  }

  .project-page .project-banner__content {
    left: 24px;
    right: 24px;
    bottom: 40px;
  }

  .project-page .project-banner__title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .project-page .project-banner__description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
  }

  .project-page .project-layout {
    display: block;
    width: calc(100% - 48px);
    margin: 40px auto 0;
  }

  .project-page .project-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .project-page .project-hero__poster,
  .project-page .project-poster__buttons,
  .project-page .project-description,
  .project-page .project-awards,
  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .project-page .project-poster__buttons {
    margin-top: 16px;
  }

  .project-page .project-description {
    margin-top: 36px;
  }

  .project-page .project-awards,
  .project-page .project-creators,
  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    margin-top: 40px;
  }

  .project-page .project-title {
    font-size: 20px;
  }

  .project-page .project-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .project-page .project-creators {
    width: 100%;
  }

  .project-page .gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-page .gallery-grid button {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }

  .project-page .project-news .news-card {
    width: 300px;
  }
}

/* Unified project-detail composition: poster, about, awards and creators keep
   their design positions regardless of which optional CMS blocks are empty. */
.project-page .project-layout {
  display: block;
  margin-top: 72px;
}

.project-page .project-content {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(360px, 1fr) minmax(260px, 330px);
  gap: 48px clamp(48px, 7vw, 150px);
  align-items: start;
}

.project-page .project-hero {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-page .project-hero__poster {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.project-page .project-poster__buttons {
  grid-column: 1;
  grid-row: 4;
  margin-top: 0 !important;
}

.project-page .project-description {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  margin-top: 0 !important;
}

.project-page .project-awards {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  margin-top: auto !important;
}

.project-page .project-creators {
  position: static;
  grid-column: 3;
  grid-row: 1 / span 4;
  width: 100%;
  margin: 0;
}

.project-page .project-trailer,
.project-page .project-gallery,
.project-page .project-media,
.project-page .project-news {
  grid-column: 1 / -1;
  width: 100%;
  margin: 32px 0 0;
}

.project-page .project-trailer {
  grid-row: 5;
}

.project-page .project-gallery {
  grid-row: 6;
}

.project-page .project-media,
.project-page .project-news {
  grid-row: 7;
}

.project-page .project-media .project-title,
.project-page .project-trailer .project-title {
  font-family: 'Micra', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: #F2F2F2;

  @media screen and (max-width: 481px) {
    font-family: 'Micra', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px !important;
    line-height: 28px;
    color: #F2F2F2;
  }
}

.project-page .project-gallery .project-title {
  font-family: 'Micra', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #F2F2F2;

  @media screen and (max-width: 481px) {
    font-family: 'Micra', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
  }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .project-page {
    display: block;
  }

  .project-page .project-layout {
    margin-top: 56px;
  }

  .project-page .project-content {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 48px;
  }

  .project-page .project-hero__poster {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
  }

  .project-page .project-poster__buttons {
    grid-column: 1;
    grid-row: 2;
    margin-top: -24px;
  }

  .project-page .project-content>.project-description {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .project-page .project-content>.project-awards {
    grid-column: 1;
    grid-row: 2;
    margin-top: 24px !important;
  }

  .project-page .project-creators {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin-top: 24px;
  }

  .project-page .project-trailer {
    grid-row: 4;
  }

  .project-page .project-gallery {
    grid-row: 5;
  }

  .project-page .project-media,
  .project-page .project-news {
    grid-row: 6;
  }

  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  .project-page .project-layout {
    display: block;
    width: calc(100% - 48px);
    margin: 40px auto 0;
  }

  .project-page .project-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .project-page .project-content>.project-hero {
    display: contents !important;
  }

  .project-page .project-hero__poster,
  .project-page .project-poster__buttons,
  .project-page .project-description,
  .project-page .project-awards,
  .project-page .project-creators,
  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .project-page .project-content>.project-description {
    order: 1 !important;
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
  }

  .project-page .project-content .project-poster__buttons {
    order: 2 !important;
    margin-top: 24px;
  }

  .project-page .project-content .project-hero__poster {
    order: 3 !important;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 8px;
  }

  .project-page .project-awards {
    order: 4;
    margin-top: 40px;
  }

  .project-page .project-creators {
    order: 5;
    margin-top: 40px;
  }

  .project-page .project-trailer {
    order: 6;
    margin-top: 40px;
  }

  .project-page .project-gallery {
    order: 7;
    margin-top: 40px;
  }

  .project-page .project-media,
  .project-page .project-news {
    order: 8;
    margin-top: 40px;
  }
}

/* Final home artwork and copy constraints from the supplied correction file. */
.page:not(.page--inner) .hero-card__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  @media screen and (max-width: 767px) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 50px;
    height: max-content;
  }
}

.page:not(.page--inner) .hero-card__corner,
.page:not(.page--inner) .feature-card__corner {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.page:not(.page--inner) .hero-card__corner--left {
  top: 0;
  left: 0;
  width: 202px;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

.page:not(.page--inner) .hero-card__corner--right {
  right: 0;
  bottom: 0;
  width: 177px;
}

.page:not(.page--inner) .hero-card__corner--mark {
  right: 0;
  bottom: 0;
  width: 292px;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

.page:not(.page--inner) .feature-card__corner--left {
  top: 0;
  left: 0;
  width: 334px;

  @media screen and (max-width: 767px) {
    display: none !important;
  }
}

.page:not(.page--inner) .feature-card__corner--right {
  right: 0;
  bottom: 0;
  width: 176px;
}

@media (max-width: 1024px) {

  .page:not(.page--inner) .hero-card__corner.hero-card__corner--left,
  .page:not(.page--inner) .feature-card__corner.hero-card__corner--left {
    display: none;
  }
}

@media (max-width: 767px) {

  .feature .page:not(.page--inner) .hero-card__corner,
  .feature .page:not(.page--inner) .feature-card__corner,
  .page:not(.page--inner) .hero-card__corner.hero-card__corner--right,
  .page:not(.page--inner) .feature-card__corner.hero-card__corner--right {
    display: none;
  }

}

/* Corrections: catalog filters, search cards and project detail controls (2026-08-13). */
.search-section--projects .search-results__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}

.search-result-card--project {
  overflow: visible;
  min-width: 0;
  background: transparent;
  border-radius: 0;
}

.search-result-card--project>a {
  display: block;
}

.search-result-card--project .search-result-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  background: #1c1c1f;
}

.search-result-card--project .search-result-card__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.search-result-card--project .search-result-card__label {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  padding: 9px 14px;
  color: #fff;
  border-radius: 999px;
  background: #ff5a36;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-card--project .search-result-card__body {
  min-height: 0;
  padding: 14px 4px 0;
  background: transparent;
}

.search-result-card--project .search-result-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.search-result-card--project .search-result-card__meta {
  margin-top: 8px;
  font-size: 14px;
}

.project-page .project-trailer__play {
  display: flex;
  width: 64px;
  height: 64px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #ff5a36;
  border-radius: 13.7143px;
}

.project-page .project-trailer__play::before,
.project-page .project-trailer__play::after {
  display: none;
  content: none;
}

.project-page .project-trailer__play svg {
  display: block;
  width: 28px;
  height: 28px;
}

.project-page .project-watch-actions {
  position: relative;
  z-index: 20;
}

.project-page .project-watch-actions .watch-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  width: min(310px, calc(100vw - 48px));
  max-width: 310px;
  margin: 0;
}

.project-page .project-gallery+.project-media {
  margin-top: 24px;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .search-section--projects .search-results__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .project-page .gallery-grid button {
    width: 400px;
    height: 260px;
    flex: 0 0 400px;
    aspect-ratio: auto;
  }

  .project-page .gallery-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .search-section--projects .search-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 12px;
  }

  .search-result-card--project .search-result-card__media {
    border-radius: 14px;
  }

  .search-result-card--project .search-result-card__label {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 11px;
    font-size: 11px;
  }

  .search-result-card--project .search-result-card__body {
    padding: 12px 4px 0;
  }

  .search-result-card--project .search-result-card__title {
    font-size: 16px;
  }

  .project-page .gallery-grid button {
    width: 320px;
    height: 180px;
    flex: 0 0 320px;
    aspect-ratio: auto;
  }

  .project-page .gallery-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .project-page .project-news .news-card {
    width: 300px;
    flex: 0 0 300px !important;
  }

  .project-page .project-news .news-card__image {
    width: 300px;
    height: 260px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .project-page .project-gallery+.project-media {
    margin-top: 24px !important;
  }
}


.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.news-card__tag {
  font-family: var(--font-base);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #FF9D5A;
}

/* Final search empty state, project spacing and mobile menu corrections. */
.header__burger {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  background: transparent !important;
  appearance: none;
  cursor: pointer;
}

.header__burger::before {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 20px;
  height: 16px;
  background:
    linear-gradient(#f2f2f2, #f2f2f2) 0 0 / 20px 2px no-repeat,
    linear-gradient(#f2f2f2, #f2f2f2) 0 7px / 20px 2px no-repeat,
    linear-gradient(#f2f2f2, #f2f2f2) 0 14px / 20px 2px no-repeat;
  content: "";
}

.search-results:has(.search-empty) {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.search-empty {
  display: grid;
  min-height: 0;
  padding: 24px;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.search-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: #202023 url("../images/search.svg") center / 24px no-repeat;
}

.search-empty h2,
.search-empty p {
  margin: 0;
}

.search-empty h2 {
  color: #f2f2f2;
  font-family: var(--font-base);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-transform: none;
}

.search-empty p {
  color: rgba(238, 238, 251, 0.78);
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.search-empty__reset {
  margin-top: 12px;
  min-width: 132px;
}

.project-page .project-layout {
  margin-top: 48px;
}

.project-page .project-content {
  gap: 40px clamp(56px, 6vw, 120px);

  @media screen and (max-width:768px) {
    gap: 24px;
  }
}

.project-page .project-gallery,
.project-page .project-media{
  margin-top: 80px;
}

.project-page .project-news {
  margin-top: 0 !important;
}

.project-page .project-trailer+.project-gallery,
.project-page .project-gallery+.project-media,
.project-page .project-gallery+.project-news,
.project-page .project-media+.project-news {
  margin-top: 80px;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .project-page .project-layout {
    margin-top: 48px;
  }

  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    margin-top: 64px;
  }
}

@media (max-width: 767px) {
  .search-results:has(.search-empty) {
    min-height: 360px;
  }

  .search-empty {
    padding: 20px 0;
  }

  .search-empty h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .search-empty p {
    font-size: 16px;
    line-height: 24px;
  }

  .project-page .project-layout {
    margin-top: 32px;
  }

  .project-page .project-awards,
  .project-page .project-creators,
  .project-page .project-trailer,
  .project-page .project-gallery,
  .project-page .project-media,
  .project-page .project-news {
    margin-top: 48px;
  }
}

.search-form__floating-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 56px;
  max-width: calc(100% - 112px);
  overflow: hidden;
  color: var(--Text-Secondary, rgba(238, 238, 251, 0.48));
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-base);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transform: translateY(-50%);
  transition: top 160ms ease, transform 160ms ease, font-size 160ms ease, line-height 160ms ease;
}

.search-form__label:focus-within .search-form__floating-label,
.search-form__label--filled .search-form__floating-label {
  top: 9px;
  font-size: 13px;
  line-height: 18px;
  transform: none;
}

.search-form__label:focus-within .search-form__input,
.search-form__label--filled .search-form__input {
  padding-top: 18px;
}

/* Final project gallery lightbox controls. */
.gallery-lightbox {
  padding: 76px 116px;
}

.gallery-lightbox__dialog {
  width: 100%;
  max-width: 1400px;
  max-height: calc(100vh - 152px);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
}

.gallery-lightbox__figure {
  max-height: calc(100vh - 152px);
  gap: 0;
}

.gallery-lightbox__image {
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 152px);
  border-radius: 16px;
  object-fit: cover;
}

.gallery-lightbox__counter {
  display: none !important;
}

.gallery-lightbox__close {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: rgba(225, 225, 248, 0.08) !important;
  color: transparent;
  font-size: 0;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #f2f2f2;
  content: "";
}

.gallery-lightbox__close::before {
  transform: rotate(45deg);
}

.gallery-lightbox__close::after {
  transform: rotate(-45deg);
}

.gallery-lightbox__arrow {
  position: fixed;
  top: 50%;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 12px;
  background: rgba(225, 225, 248, 0.08) !important;
  font-size: 42px;
  transform: translateY(-50%);
}

.gallery-lightbox__arrow--prev {
  left: 30px;
}

.gallery-lightbox__arrow--next {
  right: 30px;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover {
  background: #2c2c31 !important;
}

@media (max-width: 767px) {
  .gallery-lightbox {
    padding: 76px 16px 28px;
  }

  .gallery-lightbox__dialog,
  .gallery-lightbox__figure {
    width: 100%;
    max-height: calc(100vh - 104px);
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 104px);
    border-radius: 12px;
  }

  .gallery-lightbox__close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .gallery-lightbox__close::before,
  .gallery-lightbox__close::after {
    top: 18px;
    left: 13px;
    width: 10px;
  }

  .gallery-lightbox__arrow {
    width: 36px;
    height: 36px;
    font-size: 24px;
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    justify-content: center;
    transform: translateY(0);
    background: rgba(225, 225, 248, 0.08) !important;
  }

  .gallery-lightbox__close:hover,
  .gallery-lightbox__arrow:hover {
    background: rgba(225, 225, 248, 0.3) !important;
  }

  .gallery-lightbox__arrow--prev {
    left: 16px;
  }

  .gallery-lightbox__arrow--next {
    right: 16px;
  }
}

/* Mobile opened header menu. */
@media (max-width: 767px) {
  .header.header--open {
    align-items: flex-start;
    height: 489px;
    padding: 20px;
    background: #0f0f0f;
  }

  .header.header--open .header__actions {
    position: static;
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 32px;
    margin-left: auto;
  }

  .header.header--open .header__logo {
    margin-top: 13px;
  }

  .header.header--open .header__nav {
    position: absolute;
    z-index: 51;
    top: 95px;
    left: 20px;
    display: flex;
    width: calc(100% - 40px);
    height: auto;
    padding: 20px 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background: transparent;
    border: 0;
    border-top: 1px solid white;
    border-radius: 0;
  }

  .header.header--open .header__nav .nav__link {
    width: auto;
    padding: 0;
    color: #f2f2f2;
    font-family: var(--font-base);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
  }

  .header.header--open .header__nav .nav__link::after {
    display: none;
  }

  .header.header--open .header__lang {
    position: absolute;
    z-index: 52;
    top: 105px;
    right: 20px;
    display: flex;
    gap: 16px;
    margin: 0;
  }

  .header.header--open .header__lang .lang__link {
    color: rgba(238, 238, 251, 0.33);
    font-family: var(--font-base);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
  }

  .header.header--open .header__lang .lang__link--active {
    color: #f2f2f2;
    font-weight: 500;
  }

  .header.header--open .header__socials,
  .header.header--open .header__socials.socials {
    position: absolute;
    z-index: 52;
    bottom: 32px;
    left: 20px;
    display: flex;
    height: 24px;
    gap: 20px;
    padding: 0;
    border: 0;
  }

  .header.header--open .header__socials .socials__link {
    width: 24px;
    height: 24px;
  }

  .header.header--open .header__burger {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .header.header--open .header__burger::before,
  .header.header--open .header__burger::after {
    position: absolute;
    top: 19px;
    left: 0;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #f2f2f2;
    content: "";
  }

  .header.header--open .header__burger::before {
    transform: rotate(45deg);
  }

  .header.header--open .header__burger::after {
    transform: rotate(-45deg);
  }
}

/* Mobile news media page corrections. */
.news-page__load-more {
  display: none;
}

.news-card__external {
  display: none;
}

.news-card__description {
  display: none;
}

@media (max-width: 767px) {
  .news-page .news-list--media {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    overflow: visible;
  }

  .news-page .news-card--media-listing {
    width: 100%;
    min-height: 0;
    border-radius: 16px;
    background: #1c1c1d;
  }

  .news-page .news-card--media-listing>a {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
  }

  .news-page .news-card--media-listing .news-card__image {
    width: 100%;
    height: 260px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 16px;
  }

  .news-page .news-card--media-listing .news-card__external {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: block;
    width: 48px;
    height: 48px;
  }

  .news-page .news-card--media-listing .news-card__body {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 20px 24px 20px;
  }

  .news-page .news-card--media-listing .news-card__date {
    margin-bottom: 8px;
    color: rgba(233, 233, 250, 0.33);
    font-family: var(--font-base);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
  }

  .news-page .news-card--media-listing .news-card__title {
    -webkit-line-clamp: 3;
    color: #f2f2f2;
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    overflow-wrap: normal;
  }

  .news-page .news-card--media-listing .news-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: rgba(238, 238, 251, 0.48);
    font-family: var(--font-base);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .news-page .news-card--media-listing .news-card__tags {
    gap: 8px;
    margin-top: 16px;
  }

  .news-page .news-card--media-listing .news-card__tag {
    color: #ff9d5a;
    font-size: 14px;
    line-height: 20px;
  }

  .news-page__load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 24px 0 0;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #2d2d31;
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
  }
}

/* Catalog search uses the same floating input as /search. */
.catalog-filters>.search-form.catalog-filter--search {
  display: block;
  width: 100%;
  margin-top: 0;
}

.catalog-filters>.search-form.catalog-filter--search::before {
  display: none;
}

.catalog-filters>.search-form.catalog-filter--search .search-form__label {
  width: 100%;
}

.catalog-filters>.search-form.catalog-filter--search .search-form__input {
  min-height: 48px;
  height: 48px;
  padding-right: 44px;
  border: 0;
  border-radius: 8px;
  background: #202023;
  font-size: 14px;
  font-weight: 400;
  padding-left: 50px;
}

.catalog-filters>.search-form.catalog-filter--search .search-form__floating-label {
  font-size: 14x;
  line-height: 20px;
  left: 50px;
}

.catalog-filters>.search-form__label:focus-within .search-form__floating-label {
  top: 5px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .catalog-filters>.search-form.catalog-filter--search .search-form__input {
    height: 52px;
  }
}
