/* ================================
BLOCK 01 — HERO
================================ */

.ym-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  background: var(--ym-color-surface);
  overflow-x: clip;
}

.ym-hero__bg-picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.ym-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ym-hero::after {
  display: none;
}

.ym-hero__inner {
  position: relative;
  z-index: 3;
  width: min(100%, var(--ym-layout-container-max));
  height: 100%;
  margin: 0 auto;
  padding: 150px var(--ym-hero-gutter-desktop) 58px;
  display: grid;
  grid-template-columns: var(--ym-hero-content-width) 1fr;
  align-items: start;
}

.ym-hero__content {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: var(--ym-hero-content-width);
}

.ym-hero__label {
  width: fit-content;
  max-width: 750px;
  min-height: 48px;
  margin: 0 0 38px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(25, 55, 102, 0.72);
  border-radius: 999px;
  background: rgba(227, 233, 241, 0.76);
  color: var(--ym-color-blue);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 500;
}

.ym-hero__label span {
  display: inline-flex;
  align-items: center;
}

.ym-hero__label span:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
}

.ym-hero__title {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--ym-color-ink);
  font-size: var(--ym-hero-title-size);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.ym-hero__text {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--ym-color-black);
  font-size: var(--ym-hero-description-size);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ym-hero__quote {
  position: relative;
  max-width: 600px;
  margin: 0 0 34px;
  padding: 0 0 0 18px;
  border-left: none;
}

.ym-hero__quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #203c52 0%, #444444 51%, #efeff1 100%);
  border-radius: 2px;
}

.ym-hero__quote img {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.ym-hero__quote p {
  margin: 0;
  padding-left: 14px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ym-hero__buttons {
  width: 100%;
  max-width: 860px;
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.ym-hero__button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ym-color-blue);
  color: var(--ym-color-blue);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ym-transition), color var(--ym-transition), transform var(--ym-transition);
}

.ym-hero__button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: filter var(--ym-transition);
}

.ym-hero__button--primary {
  min-width: 340px;
  background: var(--ym-color-blue);
  color: var(--ym-color-white);
}

.ym-hero__button--primary img {
  filter: brightness(0) invert(1);
}

.ym-hero__button--outline {
  min-width: 340px;
  background: rgba(255, 255, 255, 0.45);
}

.ym-hero__button--consultation {
  min-width: 340px;
}

.ym-hero__button:hover {
  transform: translateY(-1px);
}

.ym-hero__button--primary:hover {
  background: transparent;
  color: var(--ym-color-blue);
}

.ym-hero__button--primary:hover img {
  filter: none;
}

.ym-hero__button--outline:hover {
  background: var(--ym-color-blue);
  color: var(--ym-color-white);
}

.ym-hero__button--outline:hover img {
  filter: brightness(0) invert(1);
}

.ym-hero__links {
  width: 100%;
  max-width: var(--ym-hero-content-width);
  margin: 0 0 34px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.ym-hero__links a {
  position: relative;
  margin-right: 18px;
  padding: 0 18px 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(32, 60, 82, 0.95);
  color: var(--ym-color-blue);
  font-size: 21px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: opacity var(--ym-transition), transform var(--ym-transition);
}

.ym-hero__links a::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 1px;
  height: 32px;
  background: currentColor;
  opacity: 0.72;
  transform: translateY(-50%);
}

.ym-hero__links a:last-child {
  margin-right: 0;
  padding-right: 0;
}

.ym-hero__links a:last-child::after {
  display: none;
}

.ym-hero__links a:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.ym-hero__links img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.ym-hero__links a:first-child img {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.ym-hero__mobile-break {
  display: none;
}

.ym-hero__mobile-line {
  font-weight: 700;
  white-space: nowrap;
}

.ym-hero__tags {
  width: 100%;
  max-width: var(--ym-hero-content-width);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ym-hero__tag {
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(25, 55, 102, 0.72);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--ym-color-blue);
  font-size: 16px;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ym-hero__media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: calc(100% - 95px);
  width: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.ym-hero__media img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
}

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: none;
  }

  .ym-hero__inner {
    height: 100%;
    padding: clamp(82px, 7.1vw, 128px) var(--ym-hero-gutter-adaptive) clamp(30px, 2.4vw, 42px);
    grid-template-columns: clamp(500px, 45.6vw, 820px) 1fr;
  }

  .ym-hero__content {
    max-width: clamp(500px, 45.6vw, 820px);
  }

  .ym-hero__label {
    max-width: clamp(480px, 38.4vw, 690px);
    min-height: clamp(30px, 2.45vw, 44px);
    margin-bottom: clamp(14px, 1.7vw, 30px);
    padding: 0 clamp(12px, 1vw, 18px);
    font-size: clamp(10px, 0.84vw, 15px);
  }

  .ym-hero__title {
    max-width: clamp(455px, 39vw, 700px);
    margin-bottom: clamp(10px, 1.1vw, 20px);
    font-size: var(--ym-hero-title-size-adaptive);
    line-height: 0.96;
  }

  .ym-hero__text {
    max-width: clamp(405px, 31.2vw, 560px);
    margin-bottom: clamp(13px, 1.15vw, 20px);
    font-size: var(--ym-hero-description-size-adaptive);
    line-height: 1.16;
  }

  .ym-hero__quote {
    max-width: clamp(380px, 30vw, 540px);
    margin-bottom: clamp(16px, 1.45vw, 26px);
    padding-left: clamp(15px, 0.9vw, 18px);
  }

  .ym-hero__quote img {
    top: 3px;
    left: 7px;
    width: clamp(9px, 0.78vw, 14px);
    height: clamp(9px, 0.78vw, 14px);
  }

  .ym-hero__quote p {
    padding-left: clamp(10px, 0.78vw, 14px);
    font-size: clamp(9.5px, 0.78vw, 14px);
    line-height: 1.16;
  }

  .ym-hero__buttons {
    max-width: clamp(500px, 43.4vw, 780px);
    margin-bottom: clamp(16px, 1.55vw, 28px);
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(7px, 0.67vw, 12px);
  }

  .ym-hero__button {
    min-height: clamp(34px, 2.65vw, 48px);
    padding: 0 clamp(10px, 1.1vw, 20px);
    font-size: clamp(8.7px, 0.78vw, 14px);
  }

  .ym-hero__button img {
    width: clamp(9px, 0.7vw, 16px);
    height: clamp(9px, 0.7vw, 16px);
  }

  .ym-hero__button--primary,
  .ym-hero__button--outline,
  .ym-hero__button--consultation {
    min-width: clamp(150px, 13.9vw, 250px);
  }

  .ym-hero__links {
    max-width: clamp(480px, 43.4vw, 780px);
    margin-bottom: clamp(16px, 1.45vw, 26px);
  }

  .ym-hero__links a {
    margin-right: clamp(9px, 0.84vw, 15px);
    padding: 0 clamp(9px, 0.84vw, 15px) clamp(5px, 0.39vw, 7px) 0;
    gap: clamp(5px, 0.45vw, 8px);
    font-size: clamp(9.5px, 0.84vw, 15px);
  }

  .ym-hero__links a::after {
    right: clamp(-8px, calc(-2px - 0.33vw), -5px);
    height: clamp(17px, 1.34vw, 24px);
  }

  .ym-hero__links img {
    width: clamp(15px, 1.06vw, 19px);
    height: clamp(15px, 1.06vw, 19px);
    flex-basis: clamp(15px, 1.06vw, 19px);
  }

  .ym-hero__links a:first-child img {
    width: clamp(16px, 1.17vw, 21px);
    height: clamp(16px, 1.17vw, 21px);
    flex-basis: clamp(16px, 1.17vw, 21px);
  }

  .ym-hero__tags {
    max-width: clamp(500px, 45.6vw, 820px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(7px, 0.56vw, 10px);
  }

  .ym-hero__tag {
    min-height: clamp(36px, 2.9vw, 52px);
    padding: clamp(7px, 0.67vw, 12px) clamp(8px, 0.78vw, 14px);
    font-size: clamp(7.8px, 0.67vw, 12px);
    line-height: 1.12;
  }

  .ym-hero__media {
    right: clamp(-50px, calc(4.45vw - 90px), -10px);
    bottom: 0;
    height: calc(100% - clamp(45px, 7.9vw, 90px));
  }

}

@media (min-width: 768px) and (max-width: 900px) {
  .ym-hero {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    max-height: none;
    overflow: hidden;
  }

  .ym-hero__inner {
    height: 100%;
    padding: 82px var(--ym-hero-gutter-tablet) 34px;
    display: grid;
    grid-template-columns: 430px 1fr;
    align-items: start;
  }

  .ym-hero__content {
    display: block;
    max-width: 430px;
  }

  .ym-hero__label {
    width: fit-content;
    max-width: 430px;
    min-height: 32px;
    margin: 0 0 14px;
    padding: 5px 13px;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .ym-hero__title {
    max-width: 420px;
    margin: 0 0 10px;
    font-size: var(--ym-hero-title-size-tablet);
    line-height: 0.96;
  }

  .ym-hero__text {
    max-width: 390px;
    margin: 0 0 13px;
    font-size: var(--ym-hero-description-size-tablet);
    line-height: 1.13;
  }

  .ym-hero__quote {
    max-width: 370px;
    margin: 0 0 18px;
    padding-left: 15px;
  }

  .ym-hero__quote img {
    top: 3px;
    left: 6px;
    width: 9px;
    height: 9px;
  }

  .ym-hero__quote p {
    padding-left: 10px;
    font-size: 9.8px;
    line-height: 1.15;
  }

  .ym-hero__buttons {
    max-width: 430px;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .ym-hero__button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
  }

  .ym-hero__button--primary,
  .ym-hero__button--outline,
  .ym-hero__button--consultation {
    min-width: 190px;
  }

  .ym-hero__links {
    max-width: 430px;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    row-gap: 10px;
    background: transparent;
    padding: 0;
  }

  .ym-hero__links a {
    margin-right: 10px;
    padding: 0 10px 5px 0;
    display: inline-flex;
    min-height: auto;
    gap: 6px;
    font-size: 10px;
    line-height: 1;
  }

  .ym-hero__links a::after {
    display: block;
    right: -6px;
    height: 18px;
  }

  .ym-hero__links a:last-child {
    margin-right: 0;
    padding-right: 0;
  }

  .ym-hero__links a:last-child::after {
    display: none;
  }

  .ym-hero__links img {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .ym-hero__links a:first-child img {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .ym-hero__tags {
    max-width: 460px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  .ym-hero__tag {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(25, 55, 102, 0.72);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 9.5px;
    line-height: 1.12;
  }

  .ym-hero__media {
    position: absolute;
    right: -118px;
    bottom: 0;
    z-index: 4;
    height: calc(92% - 10px);
    width: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .ym-hero__media img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: bottom right;
  }

}

.ym-hero__mobile {
  display: none;
}

@media (max-width: 767px) {
  .ym-hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    overflow: hidden;
    background: var(--ym-color-white);
  }

  .ym-hero__inner {
    display: none !important;
  }

  .ym-hero__mobile {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
  }

  .ym-hero__bg-picture {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1;
    height: 700px;
    display: block;
    overflow: hidden;
    pointer-events: none;
  }

  .ym-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .ym-hero-mobile__top {
    position: relative;
    z-index: 3;
    width: 100%;
    background: transparent;
    overflow: hidden;
    padding: 68px var(--ym-hero-gutter-mobile) 0;
  }

  .ym-hero-mobile__title {
    color: var(--ym-color-ink);
    font-weight: 700;
    max-width: 330px;
    margin: 0 0 10px;
    font-size: var(--ym-hero-title-size-mobile);
    line-height: 0.98;
    letter-spacing: 0;
  }

  .ym-hero-mobile__text {
    color: var(--ym-color-black);
    font-weight: 400;
    max-width: 330px;
    margin: 0 0 10px;
    font-size: var(--ym-hero-description-size-mobile);
    line-height: 1.18;
    letter-spacing: 0;
  }

  .ym-hero-mobile__media {
    position: relative;
    z-index: 4;
    width: calc(100% + 36px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    margin: 10px -18px 0;
  }

  .ym-hero-mobile__media img {
    display: block;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    width: min(88vw, 300px);
  }

  .ym-hero-mobile__bottom {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 18px 28px 30px;
    background: var(--ym-color-white);
  }

  .ym-hero-mobile__label {
    max-width: 415px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid rgba(25, 55, 102, 0.85);
    border-radius: 999px;
    background: rgba(239, 243, 249, 0.98);
    color: var(--ym-color-blue);
    font-weight: 500;
    width: min(100%, 330px);
    min-height: 32px;
    margin: 10px auto 16px;
    padding: 5px 12px;
    justify-content: center;
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: 0;
    text-align: center;
  }

  .ym-hero-mobile__label span {
    display: inline-flex;
    align-items: center;
  }

  .ym-hero-mobile__label span:not(:last-child)::after {
    content: "•";
    margin: 0 4px;
  }

  .ym-hero-mobile__quote {
    width: 100%;
    padding: 0;
    border: none;
    max-width: 340px;
    margin: 0 auto 20px;
    text-align: center;
  }

  .ym-hero-mobile__quote p {
    margin: 0;
    padding: 0;
    color: var(--ym-color-black);
    font-weight: 400;
    font-size: clamp(12px, 3.4vw, 15px);
    line-height: 1.22;
    letter-spacing: 0;
  }

  .ym-hero-mobile__links {
    margin: 0 0 28px;
    flex-direction: column;
    width: calc(100% + 36px);
    max-width: none;
    margin-left: -18px;
    margin-right: -18px;
    margin-top: 0;
    padding: 28px 28px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ym-hero-mobile__links a {
    width: 100%;
    text-decoration: none;
    min-height: 72px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--ym-color-border);
    background: transparent;
    color: var(--ym-color-blue);
    font-size: 19px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: 0;
  }

  .ym-hero-mobile__links img {
    object-fit: contain;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .ym-hero-mobile__links span {
    display: block;
    min-width: 0;
  }

  .ym-hero-mobile__links strong {
    display: block;
    margin-top: 2px;
    font-size: 0.72em;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
  }

  .ym-hero-mobile__tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100% + 36px);
    margin: 0 -18px;
    padding: 0 28px 32px;
  }

  .ym-hero-mobile__tag {
    width: 100%;
    display: flex;
    align-items: center;
    border: 2px solid var(--ym-color-blue);
    border-radius: 4px;
    background: var(--ym-color-white);
    color: var(--ym-color-blue);
    font-weight: 400;
    letter-spacing: -0.035em;
    min-height: 54px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.16;
    text-align: center;
    justify-content: center;
  }

  .ym-hero-mobile__tag:last-child {
    border-color: var(--ym-color-black);
  }

}

@media (max-width: 390px) {
  .ym-hero__bg-picture {
    height: 650px;
  }

  .ym-hero-mobile__top {
    padding: 66px 18px 0;
  }

  .ym-hero-mobile__title {
    font-size: var(--ym-hero-title-size-mobile-sm);
    max-width: 292px;
  }

  .ym-hero-mobile__text {
    margin-bottom: 16px;
    font-size: var(--ym-hero-description-size-mobile-sm);
    max-width: 292px;
  }

  .ym-hero-mobile__media {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  .ym-hero-mobile__media img {
    width: min(86vw, 292px);
  }

  .ym-hero-mobile__bottom {
    padding: 17px 26px 28px;
  }

  .ym-hero-mobile__label {
    max-width: 392px;
    min-height: 31px;
    margin-bottom: 16px;
    padding: 5px 12px;
    font-size: 13px;
  }

  .ym-hero-mobile__quote {
    max-width: 292px;
    margin-bottom: 25px;
  }

  .ym-hero-mobile__quote p {
    font-size: 12.2px;
  }

  .ym-hero-mobile__links a {
    min-height: 63px;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
    font-size: 18px;
  }

  .ym-hero-mobile__links img {
    width: 30px;
    height: 30px;
  }

  .ym-hero-mobile__tag {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 12.6px;
  }

}

@media (max-width: 340px) {
  .ym-hero__bg-picture {
    height: 610px;
  }

  .ym-hero-mobile__top {
    padding-top: 76px;
  }

  .ym-hero-mobile__title {
    font-size: var(--ym-hero-title-size-mobile-xs);
  }

  .ym-hero-mobile__text {
    font-size: var(--ym-hero-description-size-mobile-xs);
  }

  .ym-hero-mobile__media img {
    width: min(87vw, 292px);
  }

  .ym-hero-mobile__bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ym-hero-mobile__label {
    font-size: 10px;
  }

  .ym-hero-mobile__quote p {
    font-size: 11.5px;
  }

  .ym-hero-mobile__links a {
    font-size: 16px;
  }

  .ym-hero-mobile__tag {
    font-size: 11.8px;
  }

}

/* ================================
BLOCK 02 — MEDIA
================================ */

.ym-media {
  position: relative;
  background: var(--ym-color-white);
  color: var(--ym-color-blue);
  overflow: hidden;
  overflow-x: clip;
}

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

.ym-media__inner {
  width: min(100%, var(--ym-layout-container-max));
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom);
}

.ym-media__top {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 750px);
  justify-content: space-between;
  align-items: start;
  gap: 80px;
}

.ym-media__content {
  max-width: 680px;
}

.ym-media__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ym-color-blue);
  justify-content: flex-start;
  text-align: left;
}

.ym-media__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-media__label {
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-media__title {
  max-width: 650px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-media__line {
  width: 100%;
  max-width: 640px;
  height: 2px;
  margin: 36px 0 32px;
  background: linear-gradient(90deg, #203c52 0%, var(--ym-color-white) 100%);
}

.ym-media__text {
  max-width: 650px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-media__gallery {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 280px);
  gap: 10px;
}

.ym-media__main-card,
.ym-media__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dfe4ec;
  text-decoration: none;
  cursor: pointer;
}

.ym-media__main-card {
  min-height: 460px;
  border-radius: 4px;
}

.ym-media__main-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.56) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.06) 62%);
  pointer-events: none;
}

.ym-media__main-card > img,
.ym-media__thumb > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ym-media__main-card:hover > img,
.ym-media__thumb:hover > img {
  transform: scale(1.04);
}

.ym-media__badge {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ym-color-blue);
  color: var(--ym-color-white);
  font-size: 17px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ym-media__play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  border: 3px solid var(--ym-color-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ym-media__play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 28px solid var(--ym-color-white);
}

.ym-media__quote {
  position: absolute;
  z-index: 4;
  left: 33px;
  bottom: 32px;
  width: 205px;
  min-height: 150px;
  display: block;
  color: var(--ym-color-white);
}

.ym-media__quote-icon {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.55;
  pointer-events: none;
}

.ym-media__quote-icon--start {
  top: 14px;
  left: 0;
}

.ym-media__quote-icon--end {
  right: 0;
  bottom: 0;
}

.ym-media__quote-text {
  position: relative;
  z-index: 2;
  display: block;
  padding: 42px 0 0 35px;
  color: var(--ym-color-white);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ym-media__thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ym-media__thumb {
  height: 146px;
  border-radius: 4px;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-media__inner {
    padding: clamp(32px, 4.2vw, 70px) var(--ym-layout-gutter-adaptive) clamp(30px, 3.6vw, 58px);
  }

  .ym-media__top {
    display: grid;
    grid-template-columns: minmax(300px, 40%) minmax(0, 46%);
    gap: 13.7%;
    justify-content: stretch;
    align-items: start;
  }

  .ym-media__content {
    max-width: none;
    width: 100%;
  }

  .ym-media__eyebrow {
    margin: 0 0 clamp(18px, 2vw, 32px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-media__number {
    min-height: clamp(31px, 3.05vw, 54px);
    padding: 0 clamp(9px, 0.9vw, 16px);
    border-left-width: clamp(1px, 0.15vw, 2px);
    border-right-width: clamp(1px, 0.15vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
    line-height: 1;
  }

  .ym-media__label {
    font-size: var(--ym-section-label-size-adaptive);
    line-height: 1;
  }

  .ym-media__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
    letter-spacing: var(--ym-section-title-letter-spacing);
  }

  .ym-media__line {
    max-width: 100%;
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(22px, 2.5vw, 30px) 0 clamp(18px, 2.2vw, 28px);
  }

  .ym-media__text {
    max-width: 100%;
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-media__gallery {
    --ym-media-gallery-gap: clamp(6px, 0.7vw, 10px);
    --ym-media-gallery-height: clamp(238px, 24vw, 398px);
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 61.2%) minmax(0, 37.5%);
    gap: var(--ym-media-gallery-gap);
  }

  .ym-media__main-card {
    height: var(--ym-media-gallery-height);
    min-height: 0;
    border-radius: 4px;
  }

  .ym-media__thumbs {
    gap: var(--ym-media-gallery-gap);
  }

  .ym-media__thumb {
    height: calc((var(--ym-media-gallery-height) - (var(--ym-media-gallery-gap) * 2)) / 3);
    border-radius: 4px;
  }

  .ym-media__badge {
    top: clamp(5px, 0.45vw, 8px);
    right: clamp(5px, 0.45vw, 8px);
    min-height: clamp(25px, 2.2vw, 36px);
    padding: 0 clamp(10px, 0.9vw, 15px);
    font-size: clamp(10px, 0.85vw, 14px);
  }

  .ym-media__play {
    width: clamp(48px, 4.7vw, 66px);
    height: clamp(48px, 4.7vw, 66px);
    border-width: clamp(2px, 0.18vw, 3px);
  }

  .ym-media__play span {
    margin-left: clamp(4px, 0.35vw, 6px);
    border-top-width: clamp(11px, 1.15vw, 16px);
    border-bottom-width: clamp(11px, 1.15vw, 16px);
    border-left-width: clamp(17px, 1.7vw, 24px);
  }

  .ym-media__quote {
    left: clamp(16px, 1.6vw, 25px);
    bottom: clamp(16px, 1.6vw, 24px);
    width: clamp(126px, 12.8vw, 180px);
    min-height: clamp(100px, 10vw, 132px);
  }

  .ym-media__quote-icon {
    width: clamp(20px, 2vw, 30px);
    height: clamp(20px, 2vw, 30px);
  }

  .ym-media__quote-text {
    padding: clamp(26px, 3vw, 38px) 0 0 clamp(22px, 2.5vw, 31px);
    font-size: clamp(11.5px, 1.18vw, 17px);
    line-height: 1.18;
  }

}

@media (min-width: 901px) and (max-width: 980px) {
  .ym-media__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .ym-media__top {
    grid-template-columns: minmax(295px, 40%) minmax(0, 46%);
    gap: 13.7%;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-media__inner {
    padding: 48px var(--ym-layout-gutter-tablet) 50px;
  }

  .ym-media__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ym-media__content {
    max-width: 100%;
  }

  .ym-media__eyebrow {
    margin-bottom: 24px;
    gap: 18px;
  }

  .ym-media__number {
    min-height: 50px;
    padding: 0 14px;
    font-size: var(--ym-section-number-size-tablet);
    border-left-width: 2px;
    border-right-width: 2px;
  }

  .ym-media__label {
    font-size: var(--ym-section-label-size-tablet);
    line-height: 1.08;
  }

  .ym-media__title {
    max-width: 650px;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-media__line {
    max-width: 650px;
    height: 2px;
    margin: 28px 0 24px;
  }

  .ym-media__text {
    max-width: 650px;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-media__gallery {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ym-media__main-card {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9.4;
    border-radius: 4px;
  }

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

  .ym-media__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9.4;
    border-radius: 4px;
  }

  .ym-media__badge {
    top: 10px;
    right: 10px;
    min-height: 34px;
    padding: 0 16px;
    font-size: 13px;
  }

  .ym-media__play {
    width: 68px;
    height: 68px;
    border-width: 2px;
  }

  .ym-media__play span {
    margin-left: 5px;
    border-top-width: 15px;
    border-bottom-width: 15px;
    border-left-width: 23px;
  }

  .ym-media__quote {
    left: 28px;
    bottom: 26px;
    width: 190px;
    min-height: 128px;
  }

  .ym-media__quote-icon {
    width: 30px;
    height: 30px;
  }

  .ym-media__quote-text {
    padding: 38px 0 0 31px;
    font-size: 17px;
    line-height: 1.18;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-media {
    overflow: hidden;
    background: var(--ym-color-white);
  }

  .ym-media__inner {
    width: 100%;
    padding: 46px var(--ym-layout-gutter-mobile) 44px;
  }

  .ym-media__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ym-media__content {
    max-width: 100%;
  }

  .ym-media__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-media__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-media__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-media__title {
    max-width: 440px;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-media__line {
    max-width: 100%;
    margin: 26px 0 24px;
  }

  .ym-media__text {
    max-width: 440px;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-media__gallery {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ym-media__main-card {
    min-height: 360px;
  }

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

  .ym-media__thumb {
    height: 96px;
  }

  .ym-media__badge {
    top: 8px;
    right: 8px;
    min-height: 32px;
    padding: 0 13px;
    font-size: 12px;
  }

  .ym-media__play {
    width: 62px;
    height: 62px;
    border-width: 2px;
  }

  .ym-media__play span {
    margin-left: 5px;
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 21px;
  }

  .ym-media__quote {
    left: 24px;
    bottom: 24px;
    width: 185px;
    min-height: 128px;
  }

  .ym-media__quote-icon {
    width: 28px;
    height: 28px;
  }

  .ym-media__quote-text {
    padding: 38px 0 0 31px;
    font-size: 16px;
  }

  .ym-media__title,
  .ym-media__text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ym-media__line {
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 480px) {
  .ym-media__inner {
    padding: 44px var(--ym-layout-gutter-mobile-sm) 42px;
  }

  .ym-media__eyebrow {
    margin-bottom: 22px;
    gap: 16px;
  }

  .ym-media__number {
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--ym-section-number-size-mobile);
  }

  .ym-media__label {
    font-size: var(--ym-section-label-size-mobile);
  }

  .ym-media__title {
    max-width: 450px;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-media__text {
    max-width: 450px;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-media__main-card {
    min-height: 330px;
  }

  .ym-media__thumb {
    height: 86px;
  }

  .ym-media__quote {
    left: 20px;
    bottom: 20px;
    width: 170px;
  }

  .ym-media__quote-text {
    font-size: 15px;
  }

}

@media (max-width: 390px) {
  .ym-media__inner {
    padding: 42px var(--ym-layout-gutter-mobile-sm) 40px;
  }

  .ym-media__eyebrow {
    margin-bottom: 18px;
    gap: 12px;
  }

  .ym-media__number {
    min-height: 38px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-mobile-sm);
  }

  .ym-media__label {
    font-size: var(--ym-section-label-size-mobile-sm);
  }

  .ym-media__title {
    max-width: 300px;
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-media__line {
    margin: 22px 0 20px;
  }

  .ym-media__text {
    max-width: 300px;
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-media__main-card {
    min-height: 290px;
  }

  .ym-media__thumbs {
    gap: 7px;
  }

  .ym-media__thumb {
    height: 74px;
  }

  .ym-media__badge {
    min-height: 28px;
    padding: 0 11px;
    font-size: 11px;
  }

  .ym-media__play {
    width: 54px;
    height: 54px;
  }

  .ym-media__play span {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  .ym-media__quote {
    left: 18px;
    bottom: 18px;
    width: 150px;
    min-height: 108px;
  }

  .ym-media__quote-icon {
    width: 23px;
    height: 23px;
  }

  .ym-media__quote-text {
    padding: 30px 0 0 26px;
    font-size: 13px;
  }

}

@media (max-width: 340px) {
  .ym-media__inner {
    padding: 40px var(--ym-layout-gutter-mobile-xs) 38px;
  }

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

  .ym-media__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-media__main-card {
    min-height: 260px;
  }

  .ym-media__thumb {
    height: 66px;
  }

}

/* ================================
BLOCK 02.1 — LIGHTBOX / CAROUSEL
================================ */

.ym-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 8, 18, 0.86);
}

.ym-lightbox.is-open {
  display: flex;
}

.ym-lightbox__dialog {
  position: relative;
  width: min(100%, 1120px);
  max-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ym-lightbox__content {
  width: 100%;
  max-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ym-lightbox__content img,
.ym-lightbox__content video,
.ym-lightbox__content iframe {
  display: block;
  width: 100%;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  border: 0;
  border-radius: 6px;
  background: #000;
}

.ym-lightbox__content iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.ym-lightbox__close,
.ym-lightbox__prev,
.ym-lightbox__next {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ym-lightbox__close:hover,
.ym-lightbox__prev:hover,
.ym-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ym-lightbox__close {
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.ym-lightbox__prev,
.ym-lightbox__next {
  top: 50%;
  width: 46px;
  height: 64px;
  font-size: 34px;
  transform: translateY(-50%);
}

.ym-lightbox__prev {
  left: -58px;
}

.ym-lightbox__next {
  right: -58px;
}

.ym-lightbox[data-mode="video"] .ym-lightbox__prev,
.ym-lightbox[data-mode="video"] .ym-lightbox__next {
  display: none;
}

@media (max-width: 767px) {
  .ym-lightbox {
    padding: 18px;
  }

  .ym-lightbox__dialog {
    max-height: calc(100vh - 36px);
  }

  .ym-lightbox__content img,
  .ym-lightbox__content video,
  .ym-lightbox__content iframe {
    max-height: calc(100vh - 36px);
  }

  .ym-lightbox__close {
    top: -14px;
    right: -10px;
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .ym-lightbox__prev,
  .ym-lightbox__next {
    width: 38px;
    height: 54px;
    font-size: 28px;
  }

  .ym-lightbox__prev {
    left: -8px;
  }

  .ym-lightbox__next {
    right: -8px;
  }

}

/* ================================
BLOCK 03 — TAX
================================ */

.ym-tax {
  position: relative;
  overflow: hidden;
  background: url("../img/tax/tax-bg.webp") center center / cover no-repeat;
}

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

.ym-tax__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop);
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(0, 650px);
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.ym-tax__content {
  max-width: 690px;
}

.ym-tax__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #18335f;
  justify-content: flex-start;
  text-align: left;
}

.ym-tax__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid #18335f;
  border-right: 2px solid #18335f;
  color: #18335f;
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-tax__label {
  color: #18335f;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-tax__title {
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-tax__line {
  width: 150px;
  height: 2px;
  margin: 36px 0 32px;
  background: #18335f;
}

.ym-tax__text {
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-tax__quote {
  margin: 32px 0 0;
  padding: 0 0 0 28px;
  border-left: 2px solid #18335f;
}

.ym-tax__quote p {
  margin: 0;
  color: #18335f;
  font-size: 21px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.025em;
}

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

.ym-tax__image {
  display: block;
  width: min(100%, 650px);
  height: auto;
  object-fit: contain;
}

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-tax__inner {
    padding: clamp(32px, 4.2vw, 78px) var(--ym-layout-gutter-adaptive-wide);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
    gap: clamp(34px, 5vw, 80px);
  }

  .ym-tax__eyebrow {
    margin-bottom: clamp(18px, 2vw, 38px);
    gap: clamp(12px, 1.5vw, 24px);
  }

  .ym-tax__number {
    min-height: clamp(31px, 3.05vw, 61px);
    padding: 0 clamp(9px, 0.9vw, 17px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-tax__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-tax__title {
    font-size: var(--ym-section-title-size-adaptive);
  }

  .ym-tax__line {
    width: clamp(78px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(22px, 2.5vw, 36px) 0 clamp(18px, 2.2vw, 32px);
  }

  .ym-tax__text,
  .ym-tax__quote p {
    font-size: var(--ym-section-description-size-adaptive);
  }

  .ym-tax__quote {
    margin-top: clamp(18px, 2vw, 32px);
    padding-left: clamp(16px, 1.8vw, 28px);
  }

  .ym-tax__image {
    width: min(100%, clamp(300px, 36vw, 650px));
  }

}

@media (min-width: 768px) and (max-width: 900px) {
  .ym-tax {
    background: url("../img/tax/tax-bg.webp") top right / cover no-repeat;
  }

  .ym-tax::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.62);
    pointer-events: none;
  }

  .ym-tax__inner {
    padding: 56px var(--ym-layout-gutter-tablet) 48px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 41%);
    gap: 36px;
    align-items: center;
  }

  .ym-tax__eyebrow {
    margin-bottom: 24px;
    gap: 24px;
  }

  .ym-tax__number {
    min-height: var(--ym-section-number-height);
    padding: 0 var(--ym-section-number-padding-x);
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-tax__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-tax__title {
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-tax__line {
    width: 150px;
    margin: 28px 0 25px;
  }

  .ym-tax__text,
  .ym-tax__quote p {
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-tax__quote {
    margin-top: 24px;
    padding-left: 20px;
  }

  .ym-tax__image {
    width: min(100%, 310px);
  }

}

@media (max-width: 767px) {
  .ym-tax {
    background: url("../img/tax/tax-bg.webp") top right / cover no-repeat;
  }

  .ym-tax::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgb(255 255 255 / 34%);
    pointer-events: none;
  }

  .ym-tax__inner {
    width: 100%;
    padding: 46px var(--ym-layout-gutter-mobile) 44px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ym-tax__content {
    max-width: 100%;
    display: contents;
  }

  .ym-tax__eyebrow {
    order: 1;
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-tax__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-tax__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-tax__title {
    order: 2;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-tax__line {
    order: 3;
    width: 100%;
    max-width: 225px;
    height: 1px;
    margin: 18px auto 20px;
  }

  .ym-tax__text {
    order: 4;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-tax__quote {
    order: 5;
    max-width: 440px;
    margin: 24px auto 0;
    padding: 18px 0 0;
    border-left: none;
    border-top: 2px solid #18335f;
  }

  .ym-tax__quote p {
    text-align: center;
    font-size: 16px;
    line-height: 1.3;
  }

  .ym-tax__visual {
    order: 6;
    width: 100%;
    margin-top: 28px;
  }

  .ym-tax__image {
    width: min(100%, 420px);
  }

}

@media (max-width: 390px) {
  .ym-tax__inner {
    padding: 42px var(--ym-layout-gutter-mobile-sm) 40px;
  }

  .ym-tax__eyebrow {
    margin-bottom: 20px;
    gap: 12px;
  }

  .ym-tax__number {
    min-height: 38px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-mobile-sm);
  }

  .ym-tax__label {
    font-size: var(--ym-section-label-size-mobile-sm);
  }

  .ym-tax__title {
    max-width: 300px;
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-tax__line {
    max-width: 210px;
    margin: 16px auto 18px;
  }

  .ym-tax__text,
  .ym-tax__quote p {
    max-width: 300px;
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-tax__quote {
    max-width: 300px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .ym-tax__visual {
    margin-top: 24px;
  }

  .ym-tax__image {
    width: min(100%, 300px);
  }

}

@media (max-width: 340px) {
  .ym-tax__inner {
    padding: 40px var(--ym-layout-gutter-mobile-xs) 38px;
  }

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

  .ym-tax__text,
  .ym-tax__quote p {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-tax__image {
    width: min(100%, 270px);
  }

}

/* ================================
BLOCK 04 — DIRECTIONS
================================ */

.ym-directions {
  position: relative;
  overflow: hidden;
  background: url("../img/directions-bg.webp") left bottom / cover no-repeat;
  color: var(--ym-color-blue);
  overflow-x: clip;
}

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

.ym-directions__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--ym-layout-container-max));
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-lg);
}

.ym-directions__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ym-color-blue);
  justify-content: flex-start;
  text-align: left;
}

.ym-directions__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  color: var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-directions__label {
  color: var(--ym-color-blue);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-directions__title {
  max-width: 1240px;
  margin: 0 0 40px;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-directions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 36px;
}

.ym-directions-card {
  display: grid;
  overflow: hidden;
  border: 1.5px solid var(--ym-color-border-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ym-color-blue);
   min-height: clamp(340px, 30.2vw, 450px);
  grid-template-rows: clamp(84px, 7.8vw, 116px) minmax(clamp(132px, 11.6vw, 172px), auto) minmax(0, 1fr);
}

.ym-directions-card__head {
  min-height: 116px;
  padding: 24px 22px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
}

.ym-directions-card__index {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--ym-color-blue);
  text-stroke: 2px var(--ym-color-blue);
  font-size: 76px;
  line-height: 0.74;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.ym-directions-card__title {
  margin: 6px 0 0;
  color: var(--ym-color-blue);
  font-size: 23px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.ym-directions-card__body {
    min-height: clamp(132px, 11.6vw, 172px);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  border-top: 0;
  border-bottom: 1.5px solid var(--ym-color-border-strong);
}

.ym-directions-card__body p,
.ym-directions-card__wide-content p {
  margin: 0;
  color: var(--ym-color-black);
  font-weight: 400;
  letter-spacing: -0.025em;
   font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.28;
}

.ym-directions-card__list {
  margin: 0;
  padding: 18px 22px 20px 34px;
  color: var(--ym-color-black);
  font-weight: 400;
  letter-spacing: -0.025em;
  font-size: var(--ym-font-size-card, 16px);
  line-height: 1.28;
}

.ym-directions-card__list li {
  margin: 0;
}

.ym-directions-card__list li::marker {
  color: var(--ym-color-black);
  font-size: 0.85em;
}

.ym-directions-card--wide {
  position: relative;
  grid-column: 1 / -1;
  grid-template-columns: 49.6% 50.4%;
  grid-template-rows: 1fr;
  min-height: 250px;
}

.ym-directions-card--wide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49.6%;
  z-index: 2;
  width: 1.5px;
  background: var(--ym-color-border-strong);
  pointer-events: none;
}

.ym-directions-card--wide .ym-directions-card__head {
  min-height: 218px;
  padding: 26px 22px 22px;
  border-right: 0;
}

.ym-directions-card--wide .ym-directions-card__wide-content {
  padding: 29px 24px 22px 58px;
}

.ym-directions-card--wide .ym-directions-card__list {
  padding: 18px 0 0 18px;
}

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-directions__inner {
    padding: clamp(32px, 4.2vw, 70px) clamp(52px, 8vw, 108px) clamp(46px, 4vw, 68px);
  }

  .ym-directions__eyebrow {
    margin: 0 0 clamp(18px, 2vw, 32px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-directions__number {
    min-height: clamp(31px, 3.05vw, 54px);
    padding: 0 clamp(9px, 0.9vw, 16px);
    border-left-width: clamp(1px, 0.15vw, 2px);
    border-right-width: clamp(1px, 0.15vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
    line-height: 1;
  }

  .ym-directions__label {
    font-size: var(--ym-section-label-size-adaptive);
    line-height: 1;
  }

  .ym-directions__title {
    max-width: 100%;
    margin-bottom: clamp(22px, 2.7vw, 38px);
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
    letter-spacing: var(--ym-section-title-letter-spacing);
  }

  .ym-directions__grid {
    gap: clamp(14px, 1.25vw, 20px) clamp(18px, 2.1vw, 36px);
  }

  .ym-directions-card {
  min-height: clamp(340px, 30.2vw, 450px);
  grid-template-rows: clamp(84px, 7.8vw, 116px) minmax(clamp(132px, 11.6vw, 172px), auto) minmax(0, 1fr);
    border-width: clamp(1px, 0.12vw, 1.5px);
    border-radius: clamp(4px, 0.45vw, 7px);
  }

  .ym-directions-card__head {
    min-height: clamp(84px, 7.8vw, 116px);
    padding: clamp(15px, 1.45vw, 24px) clamp(15px, 1.35vw, 22px) clamp(12px, 1.05vw, 18px);
    column-gap: clamp(14px, 1.45vw, 24px);
  }

  .ym-directions-card__index {
    -webkit-text-stroke-width: clamp(1px, 0.13vw, 2px);
    text-stroke-width: clamp(1px, 0.13vw, 2px);
    font-size: clamp(46px, 4.65vw, 76px);
    line-height: 0.74;
  }

  .ym-directions-card__title {
    margin-top: clamp(3px, 0.4vw, 6px);
    font-size: clamp(15px, 1.35vw, 23px);
    line-height: 0.98;
  }

  .ym-directions-card__body {
     min-height: clamp(132px, 11.6vw, 172px);
    padding: clamp(12px, 1.15vw, 18px) clamp(15px, 1.35vw, 22px);
    border-bottom-width: clamp(1px, 0.12vw, 1.5px);
  }

  .ym-directions-card__body p,
  .ym-directions-card__wide-content p,
  .ym-directions-card__list {
     font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.28;
  }

  .ym-directions-card__list {
    padding: clamp(12px, 1.1vw, 18px) clamp(15px, 1.35vw, 22px) clamp(15px, 1.25vw, 20px) clamp(24px, 2vw, 34px);
  }

  .ym-directions-card--wide {
    min-height: clamp(158px, 14.8vw, 220px);
    grid-template-columns: 49.6% 50.4%;
  }

  .ym-directions-card--wide::after {
    left: 49.6%;
    width: clamp(1px, 0.12vw, 1.5px);
  }

  .ym-directions-card--wide .ym-directions-card__head {
    min-height: clamp(156px, 14.7vw, 218px);
    padding: clamp(17px, 1.55vw, 26px) clamp(15px, 1.35vw, 22px) clamp(15px, 1.25vw, 22px);
  }

  .ym-directions-card--wide .ym-directions-card__wide-content {
    padding: clamp(18px, 1.75vw, 29px) clamp(16px, 1.45vw, 24px) clamp(14px, 1.25vw, 22px) clamp(32px, 3.5vw, 58px);
  }

  .ym-directions-card--wide .ym-directions-card__list {
    padding: clamp(12px, 1.15vw, 18px) 0 0 clamp(14px, 1.1vw, 18px);
  }

}

@media (min-width: 901px) and (max-width: 980px) {
  .ym-directions__inner {
    padding-left: clamp(46px, 8vw, 78px);
    padding-right: clamp(46px, 8vw, 78px);
  }

}

@media (max-width: 900px) {
  .ym-directions::before {
    background: url("../img/tax/tax-bg.webp") center center / cover no-repeat;
  }

  .ym-directions__inner {
    width: 100%;
    padding: 28px 18px 48px;
  }

  .ym-directions__eyebrow {
    width: auto;
    margin: 0 0 24px;
    justify-content: flex-start;
  }

  .ym-directions__title {
    max-width: 660px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: var(--ym-section-title-size);
    line-height: var(--ym-section-title-line-height);
    letter-spacing: var(--ym-section-title-letter-spacing);
  }

  .ym-directions-card__body {
    border-top: 0;
  }

}

@media (min-width: 768px) and (max-width: 900px) {
  .ym-directions__inner {
    padding: 56px var(--ym-layout-gutter-tablet) 52px;
  }

  .ym-directions__eyebrow {
    gap: 24px;
  }

  .ym-directions__number {
    min-height: var(--ym-section-number-height);
    padding: 0 var(--ym-section-number-padding-x);
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-directions__label {
    font-size: var(--ym-section-label-size-tablet);
    line-height: 1;
  }

  .ym-directions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .ym-directions-card {
    min-height: 360px;
    grid-template-rows: 106px 130px minmax(0, 1fr);
  }

  .ym-directions-card__head {
    min-height: 106px;
    padding: 20px 18px 16px;
    column-gap: 18px;
  }

  .ym-directions-card__index {
    font-size: 62px;
    letter-spacing: -0.055em;
  }

  .ym-directions-card__title {
    font-size: 19px;
  }

  .ym-directions-card__body {
    min-height: 130px;
    padding: 16px 18px;
  }

  .ym-directions-card__body p,
  .ym-directions-card__wide-content p,
  .ym-directions-card__list {
    font-size: 12px;
  }

  .ym-directions-card__list {
    padding: 16px 18px 18px 30px;
  }

  .ym-directions-card--wide {
    grid-column: 1 / -1;
    min-height: 210px;
    grid-template-columns: 49.6% 50.4%;
  }

  .ym-directions-card--wide::after {
    left: 49.6%;
  }

  .ym-directions-card--wide .ym-directions-card__head {
    min-height: 208px;
    padding: 23px 18px 18px;
  }

  .ym-directions-card--wide .ym-directions-card__wide-content {
    padding: 24px 20px 20px 34px;
  }

}

@media (max-width: 767px) {
  .ym-directions {
    overflow: hidden;
  }

  .ym-directions__inner {
    padding: 46px var(--ym-layout-gutter-mobile) 48px;
  }

  .ym-directions__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-directions__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-directions__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-directions__title {
    max-width: 440px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-directions__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ym-directions-card {
    border-radius: 6px;
    min-height: 0;
    grid-template-rows: auto auto auto;
  }

  .ym-directions-card__head {
    min-height: 92px;
    padding: 18px 18px 15px;
    column-gap: 16px;
  }

  .ym-directions-card__index {
    -webkit-text-stroke-width: 1.4px;
    text-stroke-width: 1.4px;
    font-size: 58px;
    letter-spacing: -0.055em;
  }

  .ym-directions-card__title {
    margin-top: 4px;
    font-size: 19px;
    line-height: 1;
  }

  .ym-directions-card__body {
    min-height: auto;
    padding: 15px 18px;
  }

  .ym-directions-card__body p,
  .ym-directions-card__wide-content p,
  .ym-directions-card__list {
    font-size: var(--ym-font-size-card, 16px);
    line-height: 1.34;
  }

  .ym-directions-card__list {
    padding: 15px 18px 18px 32px;
    font-size: var(--ym-font-size-card, 16px);
    line-height: 1.34;
  }

  .ym-directions-card--wide {
    grid-column: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ym-directions-card--wide::after {
    display: none;
  }

  .ym-directions-card--wide .ym-directions-card__head {
    min-height: 92px;
    border-right: 0;
  }

  .ym-directions-card--wide .ym-directions-card__wide-content {
    padding: 15px 18px 18px;
  }

  .ym-directions-card--wide .ym-directions-card__list {
    padding: 15px 0 0 18px;
  }

}

@media (max-width: 480px) {
  .ym-directions__inner {
    padding: 44px var(--ym-layout-gutter-mobile-sm) 46px;
  }

  .ym-directions__eyebrow {
    margin-bottom: 22px;
    gap: 16px;
  }

  .ym-directions__number {
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--ym-section-number-size-mobile);
  }

  .ym-directions__label {
    font-size: var(--ym-section-label-size-mobile);
  }

  .ym-directions__title {
    max-width: 450px;
    margin-bottom: 28px;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-directions-card__head {
    min-height: 88px;
  }

  .ym-directions-card__index {
    font-size: 54px;
  }

  .ym-directions-card__title {
    font-size: 18px;
  }

}

@media (max-width: 390px) {
  .ym-directions__inner {
    padding: 42px var(--ym-layout-gutter-mobile-sm) 44px;
  }

  .ym-directions__eyebrow {
    margin-bottom: 18px;
    gap: 12px;
  }

  .ym-directions__number {
    min-height: 38px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-mobile-sm);
  }

  .ym-directions__label {
    font-size: var(--ym-section-label-size-mobile-sm);
  }

  .ym-directions__title {
    max-width: 300px;
    font-size: var(--ym-section-title-size-mobile-sm);
    margin-bottom: 24px;
  }

  .ym-directions-card__head {
    min-height: 82px;
    padding: 16px 16px 13px;
  }

  .ym-directions-card__index {
    font-size: 48px;
  }

  .ym-directions-card__title {
    font-size: 16px;
  }

  .ym-directions-card__body {
    padding: 14px 16px;
  }

  .ym-directions-card__body p,
  .ym-directions-card__wide-content p,
  .ym-directions-card__list {
    font-size: 12.5px;
  }

  .ym-directions-card__list {
    padding: 14px 16px 16px 28px;
  }

}

@media (max-width: 340px) {
  .ym-directions__inner {
    padding: 40px var(--ym-layout-gutter-mobile-xs) 42px;
  }

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

  .ym-directions-card__index {
    font-size: 43px;
  }

  .ym-directions-card__title {
    font-size: 15px;
  }

  .ym-directions-card__body p,
  .ym-directions-card__wide-content p,
  .ym-directions-card__list {
    font-size: 11.5px;
  }

}

/* ================================
BLOCK 05 — SEQUENCE
================================ */

.ym-sequence {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 86% 14%, rgba(24, 51, 95, 0.13) 0, rgba(24, 51, 95, 0) 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef3f8 48%, #ffffff 100%);
  color: var(--ym-color-blue);
}

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

.ym-sequence__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(560px, 33vw, 640px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom);
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 760px);
  grid-template-areas: "hero cards" "copy cards";
  align-items: center;
  justify-content: space-between;
  column-gap: 80px;
  row-gap: 0;
}

.ym-sequence__hero {
  grid-area: hero;
  max-width: 680px;
  text-align: left;
}

.ym-sequence__copy {
  grid-area: copy;
  max-width: 650px;
  text-align: left;
}

.ym-sequence__cards {
  grid-area: cards;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  display: grid;
  gap: 18px;
  align-content: center;
}

.ym-sequence__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  text-align: left;
}

.ym-sequence__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-sequence__label {
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-sequence__title {
  max-width: 650px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
  text-align: left;
}

.ym-sequence__line {
  width: 100%;
  max-width: 150px;
  height: 2px;
  margin: 36px 0 32px;
  background: var(--ym-color-blue);
}

.ym-sequence__copy p {
  margin: 0;
  color: var(--ym-color-black);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ym-sequence__copy p + p {
  margin-top: 22px;
}

/* ================================
CARDS
================================ */

.ym-sequence-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  border: 1px solid rgba(24, 51, 95, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.ym-sequence-card__left {
  position: relative;
  padding: 44px 22px 22px;
  border-right: 1px solid var(--ym-color-border);
}

.ym-sequence-card__right {
  padding: 44px 24px 22px;
}

.ym-sequence-card__badge {
  position: absolute;
  top: 0;
  left: 42px;
  min-width: 156px;
  padding: 9px 18px 10px;
  border-radius: 0 0 8px 8px;
  background: var(--ym-color-blue);
  color: var(--ym-color-white);
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}

.ym-sequence-card__lead {
  margin: 0;
  color: #101010;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.ym-sequence-card__right p {
  margin: 0;
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ym-sequence-card--withdrawal .ym-sequence-card__lead {
  max-width: none;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-sequence__inner {
    min-height: clamp(520px, 34vw, 620px);
    padding: clamp(32px, 4.2vw, 70px) clamp(52px, 8vw, 108px) clamp(30px, 3.6vw, 58px);
    grid-template-columns: minmax(300px, 40%) minmax(0, 46%);
    column-gap: 13.7%;
    row-gap: clamp(8px, 0.8vw, 14px);
    justify-content: stretch;
  }

  .ym-sequence__hero,
  .ym-sequence__copy {
    max-width: none;
    width: 100%;
  }

  .ym-sequence__cards {
    max-width: none;
  }

  .ym-sequence__eyebrow {
    margin: 0 0 clamp(18px, 2vw, 32px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-sequence__number {
    min-height: clamp(31px, 3.05vw, 54px);
    padding: 0 clamp(9px, 0.9vw, 16px);
    border-left-width: clamp(1px, 0.15vw, 2px);
    border-right-width: clamp(1px, 0.15vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-sequence__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-sequence__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-sequence__line {
    max-width: clamp(92px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(18px, 2vw, 26px) 0 clamp(8px, 0.9vw, 14px);
  }

  .ym-sequence__copy p {
    font-size: clamp(12px, 1.2vw, 18px);
    line-height: 1.32;
  }

  .ym-sequence__copy p + p {
    margin-top: clamp(14px, 1.25vw, 22px);
  }

  .ym-sequence__cards {
    gap: clamp(12px, 1.05vw, 18px);
  }

  .ym-sequence-card {
    min-height: clamp(104px, 8.4vw, 150px);
    grid-template-columns: minmax(0, 39%) minmax(0, 61%);
    border-radius: clamp(7px, 0.55vw, 10px);
  }

  .ym-sequence-card__left {
    padding: clamp(30px, 2.6vw, 44px) clamp(14px, 1.3vw, 22px) clamp(16px, 1.4vw, 22px);
  }

  .ym-sequence-card__right {
    padding: clamp(30px, 2.6vw, 44px) clamp(16px, 1.45vw, 24px) clamp(16px, 1.4vw, 22px);
  }

  .ym-sequence-card__badge {
    left: clamp(28px, 2.45vw, 42px);
    min-width: clamp(112px, 8.7vw, 156px);
    padding: clamp(6px, 0.5vw, 9px) clamp(12px, 1vw, 18px) clamp(7px, 0.55vw, 10px);
    font-size: clamp(10px, 0.83vw, 15px);
  }

  .ym-sequence-card__lead {
    font-size: clamp(12px, 1.2vw, 21px);
  }

  .ym-sequence-card__right p {
    font-size: clamp(10px, 0.95vw, 17px);
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-sequence {
    background-position: top right;
  }

  .ym-sequence::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-sequence__inner {
    width: 100%;
    min-height: 0;
    padding: 56px var(--ym-layout-gutter-tablet) 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "hero copy" "cards cards";
    align-items: start;
    column-gap: 38px;
    row-gap: 34px;
  }

  .ym-sequence__hero,
  .ym-sequence__copy {
    max-width: none;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .ym-sequence__cards {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .ym-sequence__eyebrow {
    width: auto;
    margin: 0 0 24px;
    justify-content: flex-start;
    gap: 24px;
  }

  .ym-sequence__number {
    min-height: var(--ym-section-number-height);
    padding: 0 var(--ym-section-number-padding-x);
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-sequence__label {
    font-size: var(--ym-section-label-size-tablet);
    line-height: 1;
  }

  .ym-sequence__title {
    max-width: 320px;
    margin: 0;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
    text-align: left;
  }

  .ym-sequence__line {
    display: none;
  }

  .ym-sequence__copy p {
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.32;
  }

  .ym-sequence__copy p + p {
    margin-top: 14px;
  }

  .ym-sequence-card {
    min-height: 150px;
    grid-template-columns: 1fr 1fr;
  }

  .ym-sequence-card__left {
    padding: 34px 10px 12px;
  }

  .ym-sequence-card__right {
    padding: 34px 10px 12px;
  }

  .ym-sequence-card__badge {
    left: 8px;
    min-width: 92px;
    padding: 6px 10px 7px;
    font-size: 9px;
  }

  .ym-sequence-card__lead {
    font-size: 13px;
    line-height: 1.12;
  }

  .ym-sequence-card__right p {
    font-size: 10px;
    line-height: 1.3;
  }

  .ym-sequence-card--jurisdiction {
    order: 1;
  }

  .ym-sequence-card--withdrawal {
    order: 2;
  }

  .ym-sequence-card--structure {
    order: 3;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-sequence {
    background:
    radial-gradient(circle at 86% 14%, rgba(24, 51, 95, 0.13) 0, rgba(24, 51, 95, 0) 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef3f8 48%, #ffffff 100%);
  }

  .ym-sequence::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-sequence__inner {
    width: 100%;
    min-height: 0;
    padding: 46px var(--ym-layout-gutter-mobile) 48px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "copy" "cards";
    align-items: start;
    column-gap: 0;
  }

  .ym-sequence__hero,
  .ym-sequence__copy {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .ym-sequence__cards {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .ym-sequence__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-sequence__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-sequence__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-sequence__title {
    max-width: 440px;
    margin: 0 auto;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
    text-align: center;
  }

  .ym-sequence__line {
    display: none;
  }

  .ym-sequence__copy p {
    max-width: 610px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.34;
  }

  .ym-sequence__copy p + p {
    margin-top: 18px;
  }

  .ym-sequence-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ym-sequence-card__left {
    padding: 38px 12px 14px;
  }

  .ym-sequence-card__right {
    padding: 38px 12px 14px;
  }

  .ym-sequence-card__badge {
    padding: 6px 10px 7px;
  }

      .ym-sequence-card--jurisdiction {
    order: 1;
  }

  .ym-sequence-card--withdrawal {
    order: 2;
  }

  .ym-sequence-card--structure {
    order: 3;
  }

}

@media (max-width: 480px) {
  .ym-sequence__inner {
    padding: 44px var(--ym-layout-gutter-mobile-sm) 46px;
  }

  .ym-sequence__title {
    max-width: 360px;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-sequence__copy p {
    max-width: 350px;
    font-size: 16px;
    line-height: 1.3;
  }

  .ym-sequence__cards {
    max-width: 350px;
  }

  .ym-sequence-card {
    min-height: 130px;
  }

  .ym-sequence-card__lead {
    font-size: 14px;
  }

  .ym-sequence-card__right p {
    font-size: 12px;
  }

}

@media (max-width: 390px) {
  .ym-sequence__inner {
    padding: 42px var(--ym-layout-gutter-mobile-sm) 44px;
  }

  .ym-sequence__eyebrow {
    margin-bottom: 18px;
    gap: 12px;
  }

  .ym-sequence__number {
    min-height: 38px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-mobile-sm);
  }

  .ym-sequence__label {
    font-size: var(--ym-section-label-size-mobile-sm);
  }

  .ym-sequence__title {
    max-width: 300px;
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-sequence__copy p {
    max-width: 300px;
    font-size: 14px;
  }

  .ym-sequence__cards {
    max-width: 300px;
  }

    .ym-sequence-card__left {
    padding: 34px 10px 12px;
  }

  .ym-sequence-card__right {
    padding: 34px 10px 12px;
  }

      }

@media (max-width: 360px) {
  .ym-sequence__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-sequence__copy p {
    font-size: 13px;
  }

  .ym-sequence-card__lead {
    font-size: 11px;
  }

  .ym-sequence-card__right p {
    font-size: 10px;
  }

}

@media (max-width: 340px) {
  .ym-sequence__inner {
    padding: 40px var(--ym-layout-gutter-mobile-xs) 42px;
  }

}

/* ================================
BLOCK 06 — FORMATS
================================ */

.ym-formats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(24, 51, 95, 0.12) 0, rgba(24, 51, 95, 0) 32%),
    linear-gradient(135deg, #ffffff 0%, #eef3f8 52%, #f8fbff 100%);
  color: var(--ym-color-blue);
  overflow-x: clip;
}

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

.ym-formats__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(560px, 33vw, 640px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom);
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  column-gap: 80px;
  align-items: start;
}

.ym-formats__intro {
  min-width: 0;
  max-width: 560px;
}

.ym-formats__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  text-align: left;
}

.ym-formats__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  color: var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-formats__label {
  color: var(--ym-color-blue);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-formats__title {
  max-width: 560px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-formats__desktop-break {
  display: block;
}

.ym-formats__title-desktop {
  display: block;
}

.ym-formats__title-mobile {
  display: none;
}

.ym-formats__line {
  width: 100%;
  max-width: 150px;
  height: 2px;
  margin: 28px 0 30px;
  background: var(--ym-color-blue);
}

.ym-formats__text {
  max-width: 550px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-formats__cards {
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 44px;
  align-items: start;
}

.ym-format-card {
  position: relative;
  width: 100%;
  min-height: 156px;
  padding: 26px 66px 24px 28px;
  border: 1px solid rgba(24, 51, 95, 0.28);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.22);
  color: var(--ym-color-black);
}

.ym-format-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  background: var(--ym-color-blue);
}

.ym-format-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(24, 51, 95, 0.28);
  border-right: 1px solid rgba(24, 51, 95, 0.28);
  background: linear-gradient( 45deg, transparent 48%, rgba(24, 51, 95, 0.28) 49%, rgba(24, 51, 95, 0.28) 51%, rgba(255, 255, 255, 0.94) 52% );
  pointer-events: none;
}

.ym-format-card--top::before {
  top: -1px;
  left: 12px;
  right: 24px;
  height: 4px;
}

.ym-format-card--bottom::before {
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
}

.ym-format-card--left::before {
  top: 38px;
  bottom: 0;
  left: -1px;
  width: 4px;
}

.ym-format-card--right::before {
  top: 18px;
  right: -1px;
  bottom: 42px;
  width: 4px;
}

.ym-format-card--keynote {
  margin-top: 18px;
}

.ym-format-card--workshop {
  margin-left: 0;
}

.ym-format-card--panel {
  margin-top: 16px;
}

.ym-format-card--corporate {
  margin-left: 0;
}

.ym-format-card--podcast {
  margin-top: -12px;
}

.ym-format-card__meta {
  display: inline-block;
  min-width: 92px;
  padding: 0 0 4px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.54);
  color: var(--ym-color-ink);
  font-size: 15px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ym-format-card__title {
  max-width: 100%;
  margin: 4px 0 16px;
  color: var(--ym-color-blue);
  font-size: 25px;
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.ym-format-card__text {
  max-width: 100%;
  margin: 0;
  color: var(--ym-color-black);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-font-size-card, 16px);
  line-height: 1.34;
}

.ym-format-card__icon {
  position: absolute;
  top: 28px;
  right: 26px;
  z-index: 1;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--ym-color-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-format-card__icon--wide {
  width: 44px;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-formats__inner {
    min-height: clamp(560px, 38vw, 680px);
    padding: clamp(42px, 4.6vw, 78px) clamp(52px, 7.4vw, 118px) clamp(38px, 4vw, 64px);
    grid-template-columns: minmax(310px, 38%) minmax(0, 1fr);
    column-gap: clamp(44px, 6vw, 92px);
    justify-content: stretch;
    align-items: start;
  }

  .ym-formats__intro {
    max-width: none;
    width: 100%;
  }

  .ym-formats__eyebrow {
    margin: 0 0 clamp(20px, 2vw, 32px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-formats__number {
    min-height: clamp(34px, 3.15vw, 54px);
    padding: 0 clamp(9px, 0.9vw, 16px);
    border-left-width: clamp(1px, 0.15vw, 2px);
    border-right-width: clamp(1px, 0.15vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-formats__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-formats__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-formats__line {
    max-width: clamp(92px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(18px, 2vw, 26px) 0 clamp(16px, 1.8vw, 26px);
  }

  .ym-formats__text {
    max-width: 100%;
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-formats__cards {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.4vw, 22px) clamp(18px, 2vw, 34px);
    align-items: stretch;
  }

  .ym-format-card {
    min-height: clamp(142px, 11.6vw, 178px);
    height: 100%;
    margin: 0;
    padding: clamp(17px, 1.6vw, 25px) clamp(46px, 4.6vw, 66px) clamp(17px, 1.55vw, 24px) clamp(17px, 1.7vw, 28px);
    box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.18);
  }

  .ym-format-card--keynote,
  .ym-format-card--workshop,
  .ym-format-card--panel,
  .ym-format-card--corporate,
  .ym-format-card--podcast {
    margin: 0;
  }

  .ym-format-card__meta {
    min-width: clamp(72px, 7.8vw, 96px);
    padding-bottom: clamp(3px, 0.25vw, 4px);
    font-size: clamp(11.5px, 1vw, 15px);
    line-height: 1.08;
  }

  .ym-format-card__title {
    margin: clamp(3px, 0.35vw, 5px) 0 clamp(8px, 0.8vw, 14px);
    font-size: clamp(18px, 1.62vw, 25px);
    line-height: 1.12;
  }

  .ym-format-card__text {
    font-size: clamp(10.5px, 0.92vw, 14px);
    line-height: 1.26;
  }

  .ym-format-card__icon {
    top: clamp(17px, 1.8vw, 28px);
    right: clamp(15px, 2vw, 26px);
    width: clamp(24px, 2.35vw, 34px);
    height: clamp(24px, 2.35vw, 34px);
  }

  .ym-format-card__icon--wide {
    width: clamp(32px, 3.1vw, 44px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 1100px) {
  .ym-formats__inner {
    min-height: 0;
    padding: 40px 54px 44px;
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .ym-formats__intro {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: center;
  }

  .ym-formats__eyebrow {
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 0 22px 32px;
    justify-content: flex-start;
  }

  .ym-formats__title {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ym-formats__text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ym-formats__line {
    margin-left: auto;
    margin-right: auto;
  }

  .ym-formats__cards {
    max-width: 760px;
    margin: 0 auto;
    gap: 18px;
  }

  .ym-format-card {
    min-height: 158px;
    padding: 20px 58px 20px 22px;
  }

  .ym-format-card__meta {
    font-size: 12.5px;
  }

  .ym-format-card__title {
    font-size: 21px;
  }

  .ym-format-card__text {
    font-size: 12px;
    line-height: 1.28;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-formats {
    background-position: top right;
  }

  .ym-formats::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-formats__inner {
    width: 100%;
    min-height: 0;
    padding: 38px 42px 44px;
    display: block;
  }

  .ym-formats__intro {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
  }

  .ym-formats__eyebrow {
    margin: 0 0 24px;
    justify-content: center;
    gap: 14px;
  }

  .ym-formats__number {
    min-height: 40px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-formats__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-formats__title {
    max-width: 560px;
    margin: 0 auto;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-formats__line {
    max-width: 110px;
    height: 2px;
    margin: 16px auto 14px;
  }

  .ym-formats__text {
    max-width: 560px;
    margin: 0 auto;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-formats__cards {
    width: 100%;
    max-width: 680px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  .ym-format-card {
    min-height: 164px;
    height: 100%;
    margin: 0;
    padding: 20px 56px 20px 22px;
    box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.18);
  }

  .ym-format-card--keynote,
  .ym-format-card--workshop,
  .ym-format-card--panel,
  .ym-format-card--corporate,
  .ym-format-card--podcast {
    margin: 0;
  }

  .ym-format-card__meta {
    min-width: 76px;
    font-size: 12px;
    line-height: 1.08;
  }

  .ym-format-card__title {
    margin: 4px 0 10px;
    font-size: 20px;
    line-height: 1.1;
  }

  .ym-format-card__text {
    font-size: 11.8px;
    line-height: 1.28;
  }

  .ym-format-card__icon {
    top: 20px;
    right: 17px;
    width: 27px;
    height: 27px;
  }

  .ym-format-card__icon--wide {
    width: 35px;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-formats {
    overflow: hidden;
    background:
      radial-gradient(circle at 88% 14%, rgba(24, 51, 95, 0.10) 0, rgba(24, 51, 95, 0) 34%),
      linear-gradient(135deg, #f9fbff 0%, #eef3f8 54%, #ffffff 100%);
  }

  .ym-formats::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-formats__inner {
    width: 100%;
    min-height: 0;
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
    display: block;
  }

  .ym-formats__intro {
    max-width: 100%;
  }

  .ym-formats__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-formats__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-formats__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-formats__title {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-formats__desktop-break,
  .ym-formats__title-desktop {
    display: none;
  }

  .ym-formats__title-mobile {
    display: block;
  }

  .ym-formats__line {
    max-width: 190px;
    height: 1px;
    margin: 14px auto 12px;
  }

  .ym-formats__text {
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-formats__cards {
    width: 100%;
    max-width: 390px;
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .ym-format-card {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 51, 95, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.14);
    color: var(--ym-color-black);
  }

  .ym-format-card::after {
    top: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
  }

  .ym-format-card::before {
    z-index: 2;
  }

  .ym-format-card--top::before,
  .ym-format-card--bottom::before {
    height: 4px;
  }

  .ym-format-card--left::before,
  .ym-format-card--right::before {
    width: 4px;
  }

  .ym-format-card--top::before {
    top: -1px;
    left: 10px;
    right: 20px;
  }

  .ym-format-card--bottom::before {
    right: 0;
    bottom: -1px;
    left: 0;
  }

  .ym-format-card--left::before {
    top: 38px;
    bottom: 0;
    left: -1px;
  }

  .ym-format-card--right::before {
    top: 18px;
    right: -1px;
    bottom: 42px;
  }

  .ym-format-card--keynote,
  .ym-format-card--workshop,
  .ym-format-card--panel,
  .ym-format-card--corporate,
  .ym-format-card--podcast {
    margin: 0;
  }

  .ym-format-card__meta {
    min-width: 72px;
    max-width: calc(100% - 10px);
    padding: 0 0 3px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.54);
    line-height: 1.08;
  }

  .ym-format-card__title {
    max-width: 100%;
    margin: 5px 0 9px;
  }

  .ym-format-card__text {
    max-width: 100%;
    margin: 0;
  }

  .ym-format-card__icon {
    position: absolute;
    stroke-width: 1.8;
  }

  }

@media (max-width: 480px) {
  .ym-formats__inner {
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-formats__title {
    max-width: 330px;
    font-size: var(--ym-section-title-size-mobile);
  }

  .ym-formats__text {
    font-size: var(--ym-section-description-size-mobile);
  }

  .ym-formats__cards {
    max-width: 360px;
    gap: 11px;
  }

  .ym-format-card {
    padding: 15px 54px 16px 17px;
  }

  .ym-format-card__meta {
    min-width: 70px;
    font-size: 11px;
  }

    .ym-format-card__icon {
    right: 16px;
  }

}

@media (max-width: 390px) {
  .ym-formats__inner {
    padding: 22px 18px 40px;
  }

  .ym-formats__eyebrow {
    margin-bottom: 26px;
  }

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

  .ym-formats__text {
    max-width: 320px;
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-formats__cards {
    max-width: 330px;
    gap: 10px;
  }

    .ym-format-card__meta {
    min-width: 68px;
    font-size: 10.5px;
  }

    .ym-format-card__text {
    line-height: 1.26;
  }

  .ym-format-card__icon {
    top: 15px;
    right: 15px;
    width: 23px;
    height: 23px;
  }

  .ym-format-card__icon--wide {
    width: 30px;
  }

}

@media (max-width: 360px) {
  .ym-formats__inner {
    padding: 22px 16px 38px;
  }

  .ym-formats__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-formats__text {
    font-size: var(--ym-section-description-size);
  }

  .ym-formats__cards {
    gap: 9px;
  }

  .ym-format-card {
    padding: 13px 46px 14px 15px;
  }

  .ym-format-card__meta {
    min-width: 64px;
    font-size: 10px;
  }

  .ym-format-card__title {
    font-size: 14px;
  }

    .ym-format-card__icon {
    right: 14px;
    width: 22px;
    height: 22px;
  }

  .ym-format-card__icon--wide {
    width: 28px;
  }

}

/* ================================
BLOCK 07 — SPEECH TOPICS
================================ */

.ym-speech-topics {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(24, 51, 95, 0.12) 0, rgba(24, 51, 95, 0) 33%),
    linear-gradient(135deg, #f8fbff 0%, #f1f5fa 46%, #ffffff 100%);
  color: var(--ym-color-blue);
  overflow-x: clip;
}

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

.ym-speech-topics__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(860px, 64vw, 1220px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-xl);
}

.ym-speech-topics__top {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  column-gap: 86px;
  align-items: start;
  margin: 0 0 44px;
}

.ym-speech-topics__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  text-align: left;
}

.ym-speech-topics__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  color: var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-speech-topics__label {
  color: var(--ym-color-blue);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-speech-topics__title {
  max-width: 560px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-speech-topics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* ================================
CARDS
================================ */

.ym-topic-card {
  --topic-card-padding-x: 34px;
  --topic-card-padding-y: 28px;
  --topic-card-min-height: 292px;
  --topic-index-size: 112px;
  --topic-index-top: -16px;
  --topic-index-left: -8px;
  --topic-visual-width: 48%;
  --topic-visual-height: 154px;
  --topic-title-width: 58%;
  --topic-title-size: 27px;
  --topic-title-line: 1.24;
  --topic-title-gap: 18px;
  --topic-title-top-space: 76px;
  --topic-text-size: 14px;
  --topic-text-line: 1.34;
  position: relative;
  width: 100%;
  min-height: var(--topic-card-min-height);
  padding: var(--topic-card-padding-y) var(--topic-card-padding-x);
  overflow: hidden;
  border: 1px solid rgba(24, 51, 95, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  color: var(--ym-color-black);
}

.ym-topic-card__index {
  position: absolute;
  top: var(--topic-index-top);
  left: var(--topic-index-left);
  z-index: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(17, 17, 17, 0.12);
  text-stroke: 2px rgba(17, 17, 17, 0.12);
  font-size: var(--topic-index-size);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.ym-topic-card__visual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: var(--topic-visual-width);
  height: var(--topic-visual-height);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
}

.ym-topic-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.ym-topic-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

.ym-topic-card__title {
  width: var(--topic-title-width);
  max-width: 430px;
  margin: var(--topic-title-top-space) 0 var(--topic-title-gap);
  color: var(--ym-color-ink);
  font-size: var(--topic-title-size);
  line-height: var(--topic-title-line);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ym-topic-card__text {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ym-color-black);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: var(--ym-font-size-card, 16px);
  line-height: 1.34;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-speech-topics__inner {
    min-height: clamp(760px, 74vw, 1180px);
    padding: clamp(32px, 3.2vw, 58px) var(--ym-layout-gutter-adaptive) clamp(36px, 4.2vw, 74px);
  }

  .ym-speech-topics__top {
    grid-template-columns: minmax(250px, 34%) minmax(0, 1fr);
    column-gap: clamp(70px, 10.8vw, 126px);
    margin-bottom: clamp(34px, 4.2vw, 58px);
  }

  .ym-speech-topics__eyebrow {
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-speech-topics__number {
    min-height: clamp(37px, 3.8vw, 56px);
    padding: 0 clamp(10px, 1.1vw, 16px);
    border-left-width: clamp(1px, 0.12vw, 2px);
    border-right-width: clamp(1px, 0.12vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-speech-topics__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-speech-topics__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
    letter-spacing: var(--ym-section-title-letter-spacing);
  }

  .ym-speech-topics__grid {
    gap: clamp(16px, 2vw, 28px);
  }

  .ym-topic-card {
    --topic-card-padding-x: clamp(20px, 2vw, 34px);
    --topic-card-padding-y: clamp(20px, 1.8vw, 28px);
    --topic-card-min-height: clamp(266px, 21vw, 292px);
    --topic-index-size: clamp(82px, 7vw, 112px);
    --topic-index-top: clamp(-16px, -0.85vw, -8px);
    --topic-index-left: clamp(-8px, -0.5vw, -4px);
    --topic-visual-width: 48%;
    --topic-visual-height: clamp(128px, 11vw, 154px);
    --topic-title-width: 58%;
    --topic-title-size: clamp(22px, 1.85vw, 27px);
    --topic-title-line: 1.24;
    --topic-title-gap: clamp(13px, 1.1vw, 18px);
    --topic-title-top-space: clamp(58px, 5.4vw, 76px);
    --topic-text-size: clamp(12.5px, 1vw, 14px);
    --topic-text-line: 1.34;
    border-radius: clamp(7px, 0.75vw, 10px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 1100px) {
  .ym-speech-topics__inner {
    padding: 36px 54px 48px;
  }

  .ym-speech-topics__top {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    column-gap: 38px;
    margin-bottom: 34px;
  }

  .ym-speech-topics__grid {
    max-width: 920px;
    margin: 0 auto;
    gap: 18px;
  }

  .ym-topic-card {
    --topic-card-padding-x: 20px;
    --topic-card-padding-y: 20px;
    --topic-card-min-height: 260px;
    --topic-index-size: 84px;
    --topic-index-top: -10px;
    --topic-index-left: -7px;
    --topic-visual-width: 44%;
    --topic-visual-height: 118px;
    --topic-title-width: 58%;
    --topic-title-size: 20px;
    --topic-title-line: 1.24;
    --topic-title-gap: 12px;
    --topic-title-top-space: 56px;
    --topic-text-size: 12px;
    --topic-text-line: 1.34;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-speech-topics {
    background-position: top right;
  }

  .ym-speech-topics::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-speech-topics__inner {
    width: 100%;
    min-height: 0;
    padding: 32px var(--ym-layout-gutter-tablet) 44px;
  }

  .ym-speech-topics__top {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    column-gap: 32px;
    margin-bottom: 30px;
  }

  .ym-speech-topics__eyebrow {
    gap: 14px;
  }

  .ym-speech-topics__number {
    min-height: 40px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-speech-topics__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-speech-topics__title {
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-speech-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ym-topic-card {
    --topic-card-padding-x: 16px;
    --topic-card-padding-y: 18px;
    --topic-card-min-height: 238px;
    --topic-index-size: 78px;
    --topic-index-top: -9px;
    --topic-index-left: -8px;
    --topic-visual-width: 42%;
    --topic-visual-height: 104px;
    --topic-title-width: 59%;
    --topic-title-size: 17px;
    --topic-title-line: 1.22;
    --topic-title-gap: 10px;
    --topic-title-top-space: 52px;
    --topic-text-size: 10.8px;
    --topic-text-line: 1.32;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-speech-topics {
    background:
      radial-gradient(circle at 88% 14%, rgba(24, 51, 95, 0.10) 0, rgba(24, 51, 95, 0) 34%),
      linear-gradient(135deg, #f9fbff 0%, #eef3f8 54%, #ffffff 100%);
  }

  .ym-speech-topics::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-speech-topics__inner {
    width: 100%;
    min-height: 0;
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-speech-topics__top {
    display: block;
  }

  .ym-speech-topics__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-speech-topics__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-speech-topics__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-speech-topics__title {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-speech-topics__grid {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
  }

  .ym-topic-card {
    --topic-card-padding-x: 12px;
    --topic-card-padding-y: 11px;
    --topic-visual-width: 100%;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.17);
  }

  .ym-topic-card__visual {
    justify-content: flex-end;
  }

  .ym-topic-card__visual img {
    width: 62%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
  }

}

@media (max-width: 480px) {
  .ym-speech-topics__inner {
    padding: 24px 18px 42px;
  }

  .ym-speech-topics__title {
    max-width: 330px;
    font-size: var(--ym-section-title-size-mobile);
  }

  .ym-topic-card {
    --topic-card-padding-x: 11px;
    --topic-card-padding-y: 10px;
    --topic-title-width: 58%;
    --topic-title-line: 1.18;
    --topic-title-gap: 9px;
    --topic-text-line: 1.3;
  }

  .ym-topic-card__visual img {
    width: 63%;
  }

}

@media (max-width: 390px) {
  .ym-speech-topics__inner {
    padding: 22px 14px 40px;
  }

  .ym-speech-topics__eyebrow {
    margin-bottom: 26px;
  }

  .ym-speech-topics__title {
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-speech-topics__grid {
    max-width: 330px;
    gap: 12px;
  }

  .ym-topic-card {
    --topic-card-padding-x: 10px;
    --topic-card-padding-y: 9px;
    --topic-index-top: -8px;
    --topic-index-left: -6px;
    --topic-title-width: 58%;
    --topic-title-line: 1.17;
    --topic-title-gap: 8px;
    --topic-text-line: 1.28;
  }

  .ym-topic-card__visual img {
    width: 61%;
  }

}

@media (max-width: 360px) {
  .ym-speech-topics__inner {
    padding: 22px 12px 38px;
  }

  .ym-speech-topics__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-speech-topics__grid {
    gap: 11px;
  }

  .ym-topic-card {
    --topic-card-padding-x: 9px;
    --topic-card-padding-y: 8px;
    --topic-visual-height: 76px;
    --topic-title-gap: 7px;
    --topic-title-top-space: 32px;
  }

  .ym-topic-card__visual img {
    width: 60%;
  }

}

/* ================================
BLOCK 08 — PUBLIC MEDIA
================================ */

.ym-public-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(24, 51, 95, 0.12) 0, rgba(24, 51, 95, 0) 34%),
    linear-gradient(135deg, #ffffff 0%, #eef3f8 52%, #f8fbff 100%);
  color: var(--ym-color-blue, #18335f);
  overflow-x: clip;
}

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

.ym-public-media__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(420px, 31vw, 600px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-sm);
}

.ym-public-media__top {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  column-gap: 70px;
  align-items: start;
  margin: 0 0 48px;
}

.ym-public-media__content {
  min-width: 0;
}

.ym-public-media__eyebrow {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  text-align: left;
}

.ym-public-media__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue, #18335f);
  border-right: 2px solid var(--ym-color-blue, #18335f);
  color: var(--ym-color-blue, #18335f);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-public-media__label {
  color: var(--ym-color-blue, #18335f);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-public-media__title {
  max-width: 520px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-public-media__line {
  width: 150px;
  height: 2px;
  margin: 26px 0 24px;
  background: var(--ym-color-blue, #18335f);
}

.ym-public-media__text {
  max-width: 470px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

/* ================================
MEDIA CARDS
================================ */

.ym-public-media__cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ym-public-media-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ym-color-ink);
  color: var(--ym-color-white);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
}

.ym-public-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( 180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.14) 40%, rgba(0, 0, 0, 0.78) 100% );
  pointer-events: none;
}

.ym-public-media-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ym-public-media-card__content {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ym-public-media-card__title {
  min-height: 38px;
  margin: 0 0 12px;
  color: var(--ym-color-white);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-align: center;
}

.ym-public-media-card__button {
  min-width: 84px;
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #18335f;
  border-radius: 3px;
  color: var(--ym-color-white);
  text-decoration: none;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.14em;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ym-public-media-card__button:hover {
  border-color: var(--ym-color-white);
  background: rgba(255, 255, 255, 0.08);
}

/* ================================
OFFICIAL CHANNELS
================================ */

.ym-public-media__official {
  width: 100%;
}

.ym-public-media__official-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  margin: 0 0 30px;
  color: var(--ym-color-ink);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ym-public-media__official-head i {
  display: block;
  height: 2px;
  background: var(--ym-color-blue, #18335f);
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-public-media__inner {
    min-height: clamp(386px, 43vw, 560px);
    padding: clamp(32px, 3.2vw, 58px) var(--ym-layout-gutter-adaptive) clamp(36px, 4.2vw, 60px);
  }

  .ym-public-media__top {
    grid-template-columns: minmax(270px, 35%) minmax(0, 1fr);
    column-gap: clamp(34px, 5.2vw, 78px);
    margin-bottom: clamp(26px, 3.2vw, 48px);
  }

  .ym-public-media__eyebrow {
    margin-bottom: clamp(16px, 2vw, 28px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-public-media__number {
    min-height: clamp(37px, 3.8vw, 56px);
    padding: 0 clamp(10px, 1.1vw, 16px);
    border-left-width: clamp(1px, 0.12vw, 2px);
    border-right-width: clamp(1px, 0.12vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-public-media__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-public-media__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-public-media__line {
    width: clamp(78px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(18px, 2vw, 26px) 0 clamp(16px, 1.85vw, 24px);
  }

  .ym-public-media__text {
    max-width: clamp(260px, 33vw, 470px);
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-public-media__cards {
    gap: clamp(6px, 0.85vw, 12px);
  }

  .ym-public-media-card {
    min-height: clamp(226px, 23vw, 286px);
    border-radius: clamp(5px, 0.55vw, 8px);
  }

  .ym-public-media-card__content {
    left: clamp(6px, 0.7vw, 10px);
    right: clamp(6px, 0.7vw, 10px);
    bottom: clamp(10px, 1vw, 14px);
  }

  .ym-public-media-card__title {
    min-height: clamp(28px, 3vw, 38px);
    margin-bottom: clamp(8px, 1vw, 12px);
    font-size: clamp(8px, 0.82vw, 13px);
    letter-spacing: 0.28em;
  }

  .ym-public-media-card__button {
    min-width: clamp(66px, 6vw, 84px);
    min-height: clamp(24px, 2.4vw, 30px);
    padding: 0 clamp(7px, 0.75vw, 10px);
    font-size: clamp(8px, 0.12vw, 11px);
  }

  .ym-public-media__official-head {
    column-gap: clamp(10px, 1.2vw, 14px);
    margin-bottom: clamp(20px, 2.2vw, 30px);
    font-size: clamp(10px, 0.9vw, 14px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 980px) {
  .ym-public-media__inner {
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
  }

  .ym-public-media__top {
    grid-template-columns: minmax(260px, 35%) minmax(0, 1fr);
    column-gap: 32px;
    margin-bottom: 28px;
  }

  .ym-public-media-card {
    min-height: 226px;
  }

  .ym-public-media-card__title {
    font-size: 8px;
  }

  .ym-public-media-card__button {
    min-width: 66px;
    font-size: 7.6px;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-public-media {
    background-position: top right;
  }

  .ym-public-media::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-public-media__inner {
    width: 100%;
    min-height: 0;
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
  }

  .ym-public-media__top {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    grid-template-areas: "title text" "cards cards";
    column-gap: 36px;
    row-gap: 18px;
    margin: 0 0 28px;
  }

  .ym-public-media__content {
    display: contents;
  }

  .ym-public-media__eyebrow,
  .ym-public-media__title,
  .ym-public-media__line {
    grid-area: title;
  }

  .ym-public-media__eyebrow {
    align-self: start;
    margin: 0;
    gap: 14px;
  }

  .ym-public-media__title {
    align-self: start;
    margin-top: 58px;
    max-width: 300px;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-public-media__line {
    align-self: start;
    width: 90px;
    height: 1px;
    margin: 152px 0 0;
  }

  .ym-public-media__text {
    grid-area: text;
    max-width: 100%;
    padding-top: 34px;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-public-media__cards {
    grid-area: cards;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .ym-public-media__number {
    min-height: 40px;
    padding: 0 10px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-public-media__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-public-media-card {
    min-height: 244px;
    border-radius: 7px;
  }

  .ym-public-media-card__content {
    left: 8px;
    right: 8px;
    bottom: 12px;
  }

  .ym-public-media-card__title {
    min-height: 34px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.28em;
  }

  .ym-public-media-card__button {
    min-width: 78px;
    min-height: 28px;
    padding: 0 9px;
    font-size: 9px;
  }

  .ym-public-media__official-head {
    margin-bottom: 24px;
    font-size: 12px;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-public-media {
    background-position: top right;
  }

  .ym-public-media::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-public-media__inner {
    width: 100%;
    min-height: 0;
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-public-media__top {
    display: block;
    margin: 0 0 34px;
  }

  .ym-public-media__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-public-media__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-public-media__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-public-media__title {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-public-media__line {
    width: 178px;
    height: 1px;
    margin: 14px auto 16px;
  }

  .ym-public-media__text {
    max-width: 340px;
    margin: 0 auto 22px;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-public-media__cards {
    width: 100%;
    margin: 0 auto;
  }

    .ym-public-media-card__content {
    left: 8px;
    right: 8px;
    bottom: 12px;
  }

  .ym-public-media-card__title {
    letter-spacing: 0.28em;
  }

      }

@media (max-width: 480px) {
  .ym-public-media__inner {
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-public-media__title {
    font-size: var(--ym-section-title-size-mobile);
  }

  .ym-public-media__text {
    font-size: var(--ym-section-description-size-mobile);
  }

  .ym-public-media-card {
    min-height: 242px;
  }

}

@media (max-width: 390px) {
  .ym-public-media__inner {
    padding: 22px 30px 40px;
  }

  .ym-public-media__eyebrow {
    margin-bottom: 26px;
  }

  .ym-public-media__title {
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-public-media__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-public-media__cards {
    gap: 8px;
  }

    .ym-public-media-card__title {
    font-size: 13px;
  }

  .ym-public-media-card__button {
    min-width: 92px;
    font-size: 10px;
  }

}

@media (max-width: 360px) {
  .ym-public-media__inner {
    padding: 22px 24px 38px;
  }

  .ym-public-media__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-public-media__text {
    font-size: var(--ym-section-description-size);
  }

  .ym-public-media__cards {
    max-width: 312px;
    gap: 8px;
  }

      .ym-public-media-card__button {
    min-width: 86px;
    min-height: 30px;
    font-size: 9px;
  }

}

/* ================================
BLOCK 09 — CASES
================================ */

.ym-cases {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ym-color-white);
  overflow-x: clip;
}

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

.ym-cases__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: 600px;
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-sm);
  display: grid;
  grid-template-columns: minmax(0, 520px) 704px;
  justify-content: space-between;
  column-gap: 72px;
  align-items: start;
}

.ym-cases__intro {
  min-width: 0;
}

.ym-cases__eyebrow {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  text-align: left;
}

.ym-cases__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue);
  border-right: 2px solid var(--ym-color-blue);
  color: var(--ym-color-blue);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-cases__label {
  color: var(--ym-color-blue);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-cases__title {
  max-width: 520px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-cases__title-desktop {
  display: block;
}

.ym-cases__title-mobile {
  display: none;
}

.ym-cases__text {
  max-width: 470px;
  margin: 26px 0 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-cases__controls {
  width: 220px;
  margin-top: 28px;
}

.ym-cases__counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ym-color-black);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.ym-cases__progress {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background: rgba(17, 17, 17, 0.25);
}

.ym-cases__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16.666%;
  background: var(--ym-color-blue);
  transition: width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ym-cases__arrows {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 36px;
}

.ym-cases__arrow {
  width: 60px;
  height: 60px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: #b8c2d1;
  color: var(--ym-color-white);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: background-color 0.2s ease;
}

.ym-cases__arrow:hover {
  background: #9eabbc;
}

.ym-cases__viewport {
  min-width: 0;
  width: 704px;
  max-width: 704px;
  justify-self: start;
}

.ym-cases__cards {
  position: relative;
  width: 704px;
  max-width: 704px;
  min-height: 520px;
}

.ym-case-card {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  border-radius: 5px;
  background: var(--ym-color-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(760px, 24px) scale(0.96);
}

.ym-cases.is-ready .ym-case-card {
  transition: width 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease, visibility 0s linear 0.58s, transform 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ym-case-card.is-active,
.ym-case-card.is-next,
.ym-case-card.is-leaving {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ym-case-card.is-active,
.ym-case-card.is-next {
  pointer-events: auto;
}

.ym-case-card.is-active {
  width: 360px;
  transform: translate(0, 0);
  z-index: 2;
}

.ym-case-card.is-next {
  width: 318px;
  transform: translate(386px, 24px);
  z-index: 1;
}

.ym-case-card.is-leaving {
  width: 360px;
  pointer-events: none;
  z-index: 0;
}

.ym-case-card.is-leaving-forward {
  opacity: 0;
  transform: translate(-120px, 8px) scale(0.94);
}

.ym-case-card__image {
  width: 100%;
  height: 237px;
  display: block;
  object-fit: cover;
  transition: height 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ym-case-card.is-next .ym-case-card__image {
  height: 210px;
}

.ym-case-card__body {
  position: relative;
  height: 259px;
  padding: 29px 24px 72px;
  background: var(--ym-color-blue);
  color: var(--ym-color-white);
  transition: height 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.45s ease, color 0.45s ease;
}

.ym-case-card.is-next .ym-case-card__body {
  height: 228px;
  padding: 29px 24px 62px;
  background: var(--ym-color-white);
  color: var(--ym-color-black);
}

.ym-case-card__title {
  margin: 0;
  color: inherit;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.22em;
  transition: font-size 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), letter-spacing 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ym-case-card.is-next .ym-case-card__title {
  font-size: 22px;
  line-height: 1.23;
  letter-spacing: 0.11em;
}

.ym-case-card__title--compact {
  font-size: 22px;
  letter-spacing: 0.13em;
}

.ym-case-card__text {
  position: relative;
  max-width: 292px;
  margin: 18px 0 0;
  padding-left: 13px;
  color: inherit;
  font-weight: 400;
  letter-spacing: -0.012em;
  transition: max-width 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), font-size 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
  font-size: var(--ym-font-size-card, 16px);
  line-height: 1.34;
}

.ym-case-card__text::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 1px;
  background: currentColor;
  opacity: 0.7;
}

.ym-case-card.is-next .ym-case-card__text {
  max-width: 260px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.22;
}

.ym-case-card__link {
  position: absolute;
  right: 24px;
  bottom: 19px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  transition: right 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), bottom 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.58s cubic-bezier(0.22, 0.61, 0.36, 1), font-size 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ym-case-card.is-next .ym-case-card__link {
  right: 18px;
  bottom: 18px;
  width: 45px;
  height: 45px;
  font-size: 30px;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 981px) and (max-width: 1800px) {
  .ym-cases__inner {
    min-height: clamp(464px, 40.4vw, 600px);
    padding: clamp(50px, 5.25vw, 78px) clamp(60px, 6.6vw, 150px) clamp(40px, 4.1vw, 60px);
    grid-template-columns: minmax(0, clamp(284px, 30vw, 520px)) clamp(530px, 43.4vw, 704px);
    justify-content: space-between;
    column-gap: clamp(36px, 4.2vw, 72px);
  }

  .ym-cases__eyebrow {
    margin-bottom: clamp(26px, 1.9vw, 28px);
    gap: clamp(15px, 1.6vw, 24px);
  }

  .ym-cases__number {
    min-height: clamp(32px, 4.1vw, 61px);
    padding: 0 clamp(6px, 1.15vw, 17px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-cases__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-cases__title {
    max-width: clamp(284px, 35vw, 520px);
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-cases__text {
    max-width: clamp(292px, 31.6vw, 470px);
    margin-top: clamp(24px, 1.85vw, 27px);
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-cases__controls {
    width: clamp(145px, 14.8vw, 220px);
    margin-top: clamp(22px, 1.9vw, 28px);
  }

  .ym-cases__counter {
    font-size: clamp(11px, 0.95vw, 14px);
  }

  .ym-cases__arrows {
    margin-top: clamp(31px, 2.45vw, 36px);
  }

  .ym-cases__arrow {
    width: clamp(48px, 4.05vw, 60px);
    height: clamp(47px, 4.05vw, 60px);
  }

  .ym-cases__viewport {
    width: clamp(530px, 43.4vw, 704px);
    max-width: clamp(530px, 43.4vw, 704px);
    justify-self: start;
  }

  .ym-cases__cards {
    width: clamp(530px, 43.4vw, 704px);
    max-width: clamp(530px, 43.4vw, 704px);
    min-height: clamp(393px, 35vw, 520px);
  }

  .ym-case-card.is-active {
    width: clamp(268px, 24.3vw, 360px);
    transform: translate(0, clamp(0px, 0.5vw, 5px));
  }

  .ym-case-card.is-next {
    width: clamp(236px, 21.4vw, 318px);
    transform: translate(clamp(286px, 26vw, 386px), clamp(23px, 1.62vw, 24px));
  }

  .ym-case-card {
    transform: translate(clamp(590px, 50vw, 760px), clamp(23px, 1.62vw, 24px)) scale(0.96);
  }

  .ym-case-card.is-leaving {
    width: clamp(268px, 24.3vw, 360px);
  }

  .ym-case-card.is-leaving-forward {
    transform: translate(clamp(-120px, -8vw, -80px), clamp(5px, 0.55vw, 8px)) scale(0.94);
  }

  .ym-case-card__image {
    height: clamp(176px, 15.95vw, 237px);
  }

  .ym-case-card.is-next .ym-case-card__image {
    height: clamp(156px, 14.13vw, 210px);
  }

  .ym-case-card__body {
    height: clamp(192px, 17.43vw, 259px);
    padding: clamp(23px, 1.95vw, 29px) clamp(18px, 1.62vw, 24px) clamp(58px, 4.85vw, 72px);
  }

  .ym-case-card.is-next .ym-case-card__body {
    height: clamp(169px, 15.35vw, 228px);
    padding: clamp(24px, 1.95vw, 29px) clamp(18px, 1.62vw, 24px) clamp(46px, 4.2vw, 62px);
  }

  .ym-case-card__title {
    font-size: clamp(19px, 1.7vw, 25px);
  }

  .ym-case-card.is-next .ym-case-card__title {
    font-size: clamp(16px, 1.48vw, 22px);
  }

  .ym-case-card__title--compact {
    font-size: clamp(16px, 1.48vw, 22px);
    letter-spacing: 0.13em;
  }

  .ym-case-card__text {
    max-width: clamp(218px, 19.65vw, 292px);
    margin-top: clamp(14px, 1.22vw, 18px);
    padding-left: clamp(10px, 0.88vw, 13px);
    font-size: clamp(12px, 1.02vw, 15px);
  }

  .ym-case-card.is-next .ym-case-card__text {
    max-width: clamp(194px, 17.5vw, 260px);
    margin-top: clamp(9px, 0.82vw, 12px);
    font-size: clamp(10px, 0.88vw, 13px);
  }

  .ym-case-card__link {
    right: clamp(18px, 1.62vw, 24px);
    bottom: clamp(14px, 1.28vw, 19px);
    width: clamp(39px, 3.5vw, 52px);
    height: clamp(39px, 3.5vw, 52px);
    font-size: clamp(26px, 2.3vw, 34px);
  }

  .ym-case-card.is-next .ym-case-card__link {
    right: clamp(13px, 1.22vw, 18px);
    bottom: clamp(13px, 1.22vw, 18px);
    width: clamp(34px, 3.03vw, 45px);
    height: clamp(34px, 3.03vw, 45px);
    font-size: clamp(23px, 2.02vw, 30px);
  }

}

/* ================================
TABLET / LARGE MOBILE
================================ */

@media (min-width: 481px) and (max-width: 980px) {
  .ym-cases::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-cases__inner {
    min-height: 0;
    padding: clamp(34px, 5vw, 48px) clamp(34px, 6vw, 58px) clamp(36px, 5vw, 50px);
    display: block;
  }

  .ym-cases__intro {
    max-width: 620px;
    margin: 0 auto;
  }

  .ym-cases__eyebrow {
    margin: 0 0 clamp(24px, 3vw, 32px);
    justify-content: flex-start;
    gap: clamp(12px, 2vw, 18px);
  }

  .ym-cases__number {
    min-height: clamp(34px, 5vw, 46px);
    padding: 0 clamp(8px, 1.5vw, 12px);
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-cases__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-cases__title {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-cases__text {
    max-width: 520px;
    margin: clamp(14px, 2.2vw, 20px) auto 0;
    text-align: center;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-cases__controls {
    width: min(100%, 560px);
    margin: clamp(20px, 3vw, 26px) auto 0;
    display: grid;
    grid-template-columns: minmax(180px, 220px) auto;
    grid-template-areas: "counter arrows" "progress arrows";
    align-items: end;
    justify-content: space-between;
  }

  .ym-cases__counter {
    grid-area: counter;
    font-size: 14px;
  }

  .ym-cases__progress {
    grid-area: progress;
    margin-top: 9px;
  }

  .ym-cases__arrows {
    grid-area: arrows;
    margin: 0;
    gap: 2px;
  }

  .ym-cases__arrow {
    width: clamp(44px, 6vw, 56px);
    height: clamp(44px, 6vw, 56px);
    font-size: 17px;
  }

  .ym-cases__viewport {
    width: min(100%, 560px);
    max-width: 560px;
    margin: clamp(14px, 2.5vw, 18px) auto 0;
  }

  .ym-cases__cards {
    width: 100%;
    max-width: 560px;
    min-height: clamp(350px, 57vw, 430px);
  }

  .ym-case-card,
  .ym-case-card.is-active,
  .ym-case-card.is-leaving {
    width: 100%;
  }

  .ym-case-card {
    transform: translate(26px, 0);
  }

  .ym-case-card.is-active {
    transform: none;
    border-radius: 4px;
  }

  .ym-case-card.is-next {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(26px, 0);
  }

  .ym-case-card.is-leaving-forward {
    transform: translate(-26px, 0) scale(0.98);
  }

  .ym-case-card__image {
    height: clamp(150px, 24vw, 180px);
  }

  .ym-case-card__body {
    height: auto;
    min-height: clamp(185px, 29vw, 230px);
    padding: clamp(22px, 3.2vw, 28px) clamp(24px, 4vw, 34px) clamp(62px, 8vw, 76px);
  }

  .ym-case-card__title {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.15;
  }

  .ym-case-card__title--compact {
    font-size: clamp(17px, 2.6vw, 21px);
    letter-spacing: 0.12em;
  }

  .ym-case-card__text {
    max-width: min(100%, 420px);
    margin-top: clamp(12px, 2vw, 16px);
    padding-left: 12px;
    font-size: clamp(13px, 2vw, 15px);
    line-height: 1.34;
  }

  .ym-case-card__link {
    right: clamp(18px, 3vw, 24px);
    bottom: clamp(18px, 3vw, 24px);
    width: clamp(42px, 6vw, 50px);
    height: clamp(42px, 6vw, 50px);
    font-size: clamp(27px, 4vw, 33px);
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 480px) {
  .ym-cases::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-cases__inner {
    min-height: 0;
    padding: 23px var(--ym-layout-gutter-mobile) 30px;
    display: block;
  }

  .ym-cases__eyebrow {
    margin: 0 0 26px 5px;
    justify-content: flex-start;
    gap: 11px;
  }

  .ym-cases__number {
    min-height: 23px;
    padding: 0 7px;
    font-size: var(--ym-section-number-size-mobile);
  }

  .ym-cases__label {
    font-size: var(--ym-section-label-size-mobile);
  }

  .ym-cases__title {
    max-width: 354px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-cases__title-desktop {
    display: none;
  }

  .ym-cases__title-mobile {
    display: block;
  }

  .ym-cases__title::after {
    content: "";
    display: block;
    width: 194px;
    height: 1px;
    margin: 12px auto 0;
    background: var(--ym-color-blue);
  }

  .ym-cases__text {
    max-width: 352px;
    margin: 8px auto 0;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-cases__controls {
    width: 100%;
    margin: 12px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    grid-template-areas: "counter arrows" "progress arrows";
    column-gap: 8px;
    align-items: end;
    justify-content: stretch;
  }

  .ym-cases__counter {
    grid-area: counter;
    font-size: 14px;
  }

  .ym-cases__progress {
    grid-area: progress;
    margin-top: 8px;
  }

  .ym-cases__arrows {
    grid-area: arrows;
    width: 84px;
    min-width: 84px;
    margin: 0;
    display: flex;
    gap: 2px;
    justify-self: end;
    justify-content: flex-end;
  }

  .ym-cases__arrow {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    font-size: 16px;
  }

  .ym-cases__viewport {
    width: 100%;
    max-width: none;
    margin-top: 13px;
  }

  .ym-cases__cards {
    width: 100%;
    max-width: none;
    min-height: 318px;
  }

  .ym-case-card,
  .ym-case-card.is-active,
  .ym-case-card.is-leaving {
    width: 100%;
  }

  .ym-case-card {
    transform: translate(18px, 0);
  }

  .ym-case-card.is-active {
    transform: none;
    border-radius: 3px;
  }

  .ym-case-card.is-next {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(18px, 0);
  }

  .ym-case-card.is-leaving-forward {
    transform: translate(-18px, 0) scale(0.98);
  }

  .ym-case-card__image {
    height: 120px;
  }

  .ym-case-card__body {
    height: auto;
    min-height: 198px;
    padding: 16px 25px 58px;
  }

  .ym-case-card__title {
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: 0.22em;
  }

  .ym-case-card__title--compact {
    font-size: 15px;
    letter-spacing: 0.11em;
  }

  .ym-case-card__text {
    max-width: 270px;
    margin-top: 9px;
    padding-left: 10px;
    font-size: 10px;
    line-height: 1.35;
  }

  .ym-case-card__link {
    right: 14px;
    bottom: 15px;
    width: 41px;
    height: 41px;
    font-size: 27px;
  }

}

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

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

  .ym-cases__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

      }

@media (max-width: 360px) {
  .ym-cases__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ym-cases__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-cases__text {
    font-size: var(--ym-section-description-size);
  }

  .ym-cases__controls {
    grid-template-columns: minmax(0, 180px) auto;
  }

  .ym-cases__cards {
    min-height: 296px;
  }

  .ym-case-card__image {
    height: 108px;
  }

  .ym-case-card__body {
    min-height: 188px;
    padding-right: 20px;
    padding-left: 20px;
  }

  }

/* ================================
BLOCK 10 — ORGANIZERS
================================ */

.ym-organizers {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: url("../img/organizers/organizers-bg.webp") center center / cover no-repeat;
  color: var(--ym-color-blue, #18335f);
}

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

.ym-organizers__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(420px, 31vw, 600px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-sm);
}

.ym-organizers__eyebrow {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 42px;
  justify-content: flex-start;
  text-align: left;
}

.ym-organizers__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue, #18335f);
  border-right: 2px solid var(--ym-color-blue, #18335f);
  color: var(--ym-color-blue, #18335f);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-organizers__label {
  color: var(--ym-color-blue, #18335f);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-organizers__content {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.ym-organizers__title {
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-organizers__line {
  width: 150px;
  height: 2px;
  margin: 26px 0 24px;
  background: var(--ym-color-blue, #18335f);
}

.ym-organizers__text {
  max-width: 470px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-organizers__button {
  width: 250px;
  height: 50px;
  margin-top: 28px;
  border: 1px solid var(--ym-color-blue, #18335f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
  font-weight: 400;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ym-organizers__button:hover {
  background: var(--ym-color-blue, #18335f);
  color: var(--ym-color-white);
}

.ym-organizers__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(325px, 35.5vw, 458px);
  pointer-events: none;
}

.ym-organizers__image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.76;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-organizers__inner {
    min-height: clamp(386px, 43vw, 560px);
    padding: clamp(32px, 3.2vw, 58px) var(--ym-layout-gutter-adaptive) clamp(36px, 4.2vw, 60px);
  }

  .ym-organizers__eyebrow {
    gap: clamp(12px, 1.5vw, 22px);
    margin-bottom: clamp(28px, 3.1vw, 42px);
  }

  .ym-organizers__number {
    min-height: clamp(37px, 3.8vw, 56px);
    padding: 0 clamp(10px, 1.1vw, 16px);
    border-left-width: clamp(1px, 0.12vw, 2px);
    border-right-width: clamp(1px, 0.12vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-organizers__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-organizers__content {
    max-width: clamp(370px, 38vw, 560px);
  }

  .ym-organizers__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-organizers__line {
    width: clamp(78px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(18px, 2vw, 26px) 0 clamp(16px, 1.85vw, 24px);
  }

  .ym-organizers__text {
    max-width: clamp(260px, 33vw, 470px);
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-organizers__button {
    width: clamp(158px, 11vw, 236px);
    height: clamp(40px, 2.5vw, 54px);
    margin-top: clamp(22px, 2vw, 28px);
    font-size: clamp(17px, 0.95vw, 20px);
  }

  .ym-organizers__visual {
    width: clamp(325px, 35.5vw, 458px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 980px) {
  .ym-organizers__inner {
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
  }

  .ym-organizers__content {
    max-width: 340px;
  }

  .ym-organizers__visual {
    width: 310px;
    right: -12px;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-organizers::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-organizers__inner {
    width: 100%;
    min-height: 360px;
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
  }

  .ym-organizers__eyebrow {
    gap: 14px;
    margin-bottom: 28px;
  }

  .ym-organizers__number {
    min-height: 40px;
    padding: 0 10px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-organizers__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-organizers__content {
    max-width: 360px;
  }

  .ym-organizers__title {
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-organizers__line {
    width: 90px;
    height: 1px;
    margin: 16px 0 14px;
  }

  .ym-organizers__text {
    max-width: 330px;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-organizers__button {
    width: 132px;
    height: 30px;
    margin-top: 18px;
    gap: 7px;
    font-size: 12px;
  }

  .ym-organizers__visual {
    width: 300px;
    right: -18px;
    bottom: -4px;
  }

  .ym-organizers__image {
    opacity: 0.7;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-organizers {
    background-position: top right;
  }

  .ym-organizers::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-organizers__inner {
    width: 100%;
    min-height: 0;
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-organizers__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-organizers__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-organizers__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

    .ym-organizers__title {
    max-width: 340px;
    margin: 0 auto;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-organizers__line {
    width: 178px;
    height: 1px;
    margin: 14px auto 16px;
  }

  .ym-organizers__text {
    max-width: 340px;
    margin: 0 auto;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

    }

@media (max-width: 480px) {
  .ym-organizers__inner {
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-organizers__title {
    font-size: var(--ym-section-title-size-mobile);
  }

  .ym-organizers__text {
    font-size: var(--ym-section-description-size-mobile);
  }

}

@media (max-width: 390px) {
  .ym-organizers__inner {
    padding: 22px 30px 40px;
  }

  .ym-organizers__eyebrow {
    margin-bottom: 26px;
  }

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

  .ym-organizers__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-organizers__button {
    width: min(100%, 208px);
  }

  .ym-organizers__visual {
    width: 240px;
  }

}

@media (max-width: 360px) {
  .ym-organizers__inner {
    padding: 22px 24px 38px;
  }

  .ym-organizers__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-organizers__text {
    font-size: var(--ym-section-description-size);
  }

    .ym-organizers__visual {
    width: 220px;
    right: -18px;
  }

}

/* ================================
BLOCK 11 — ANNOUNCEMENTS
================================ */

.ym-announcements {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: url("../img/announcements/announcements-bg.webp") center center / cover no-repeat;
  color: var(--ym-color-blue, #18335f);
}

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

.ym-announcements__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--ym-layout-container-max));
  min-height: clamp(420px, 31vw, 600px);
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom-sm);
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(360px, 560px);
  justify-content: space-between;
  align-items: start;
  gap: 80px;
}

.ym-announcements__info {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 560px;
}

.ym-announcements__eyebrow {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 42px;
  color: var(--ym-color-blue, #18335f);
  justify-content: flex-start;
  text-align: left;
}

.ym-announcements__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue, #18335f);
  border-right: 2px solid var(--ym-color-blue, #18335f);
  color: var(--ym-color-blue, #18335f);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-announcements__label {
  color: var(--ym-color-blue, #18335f);
  font-weight: 400;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-announcements__title {
  max-width: 560px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-announcements__line {
  width: 150px;
  height: 2px;
  margin: 26px 0 24px;
  background: var(--ym-color-blue, #18335f);
}

.ym-announcements__text {
  max-width: 470px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-announcements__button {
  width: 250px;
  height: 50px;
  margin-top: 28px;
  border: 1px solid var(--ym-color-blue, #18335f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
  font-weight: 400;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ym-announcements__button:hover {
  background: var(--ym-color-blue, #18335f);
  color: var(--ym-color-white);
}

.ym-announcements__button-icon {
  font-size: 12px;
  line-height: 1;
}

.ym-announcements__card-wrap {
  min-width: 0;
  padding-top: 56px;
  display: flex;
  justify-content: flex-end;
}

.ym-event-card {
  width: min(100%, 520px);
  min-height: 205px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 34px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  box-shadow: 0 6px 22px rgba(25, 35, 54, 0.15);
  backdrop-filter: blur(3px);
}

.ym-event-card__date {
  padding-top: 0;
}

.ym-event-card__day {
  color: var(--ym-color-blue, #18335f);
  font-size: 52px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ym-event-card__month,
.ym-event-card__year {
  color: var(--ym-color-black);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.ym-event-card__month {
  margin-top: 14px;
}

.ym-event-card__year {
  margin-top: 10px;
}

.ym-event-card__content {
  min-width: 0;
}

.ym-event-card__place {
  color: rgba(17, 17, 17, 0.45);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.ym-event-card__title {
  margin: 12px 0 12px;
  color: var(--ym-color-blue, #18335f);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ym-event-card__text {
  max-width: 100%;
  margin: 0;
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 400;
}

.ym-event-card__link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ym-color-blue, #18335f);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.ym-event-card__link-icon {
  font-size: 20px;
  line-height: 1;
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-announcements__inner {
    min-height: clamp(386px, 43vw, 560px);
    padding: clamp(32px, 3.2vw, 58px) var(--ym-layout-gutter-adaptive) clamp(36px, 4.2vw, 60px);
    grid-template-columns: minmax(300px, 40%) minmax(360px, 46%);
    gap: 13.7%;
    justify-content: stretch;
  }

  .ym-announcements__info {
    max-width: none;
    width: 100%;
  }

  .ym-announcements__eyebrow {
    gap: clamp(12px, 1.5vw, 22px);
    margin: 0 0 clamp(28px, 3.1vw, 42px);
  }

  .ym-announcements__number {
    min-height: clamp(37px, 3.8vw, 56px);
    padding: 0 clamp(10px, 1.1vw, 16px);
    border-left-width: clamp(1px, 0.12vw, 2px);
    border-right-width: clamp(1px, 0.12vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-announcements__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-announcements__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-announcements__line {
    width: clamp(78px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(18px, 2vw, 26px) 0 clamp(16px, 1.85vw, 24px);
  }

  .ym-announcements__text {
    max-width: clamp(260px, 33vw, 470px);
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-announcements__button {
    width: clamp(248px, 11vw, 236px);
    height: clamp(40px, 2.5vw, 54px);
    margin-top: clamp(22px, 2vw, 28px);
    font-size: clamp(17px, 0.95vw, 20px);
  }

  .ym-announcements__card-wrap {
    padding-top: clamp(36px, 4vw, 56px);
    justify-content: flex-end;
  }

  .ym-event-card {
    width: min(100%, clamp(390px, 40vw, 520px));
    min-height: clamp(176px, 17vw, 205px);
    padding: clamp(16px, 1.8vw, 24px) clamp(22px, 2.4vw, 32px);
    grid-template-columns: clamp(72px, 7vw, 90px) minmax(0, 1fr);
    column-gap: clamp(22px, 2.4vw, 34px);
  }

  .ym-event-card__day {
    font-size: clamp(40px, 3.8vw, 52px);
  }

  .ym-event-card__month,
  .ym-event-card__year {
    font-size: clamp(12px, 1vw, 14px);
  }

  .ym-event-card__place {
    font-size: clamp(12px, 1vw, 16px);
  }

  .ym-event-card__title {
    margin: clamp(8px, 0.9vw, 12px) 0;
    font-size: clamp(18px, 1.9vw, 28px);
  }

  .ym-event-card__text {
    font-size: clamp(11px, 1vw, 16px);
  }

  .ym-event-card__link {
    margin-top: clamp(14px, 1.4vw, 22px);
    font-size: clamp(13px, 1.1vw, 18px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 980px) {
  .ym-announcements__inner {
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
    grid-template-columns: minmax(295px, 40%) minmax(0, 46%);
    gap: 13.7%;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-announcements::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .ym-announcements::after {
    left: 0;
    width: 100px;
    height: 120px;
    background-size: 10px 10px;
  }

  .ym-announcements__inner {
    width: 100%;
    min-height: 360px;
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    column-gap: 36px;
    align-items: start;
  }

  .ym-announcements__eyebrow {
    gap: 14px;
    margin: 0 0 28px;
  }

  .ym-announcements__number {
    min-height: 40px;
    padding: 0 10px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-announcements__label {
    font-size: var(--ym-section-label-size-tablet);
  }

  .ym-announcements__title {
    max-width: 320px;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-announcements__line {
    width: 90px;
    height: 1px;
    margin: 16px 0 14px;
  }

  .ym-announcements__text {
    max-width: 300px;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-announcements__button {
    width: 170px;
    height: 30px;
    margin-top: 18px;
    gap: 7px;
    font-size: 12px;
  }

  .ym-announcements__button-icon {
    font-size: 11px;
  }

  .ym-announcements__card-wrap {
    padding-top: 60px;
    justify-content: flex-end;
  }

  .ym-event-card {
    width: min(100%, 390px);
    min-height: 190px;
    padding: 18px 20px;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 20px;
  }

  .ym-event-card__day {
    font-size: 42px;
  }

  .ym-event-card__month {
    margin-top: 10px;
    font-size: 11px;
  }

  .ym-event-card__year {
    margin-top: 8px;
    font-size: 11px;
  }

  .ym-event-card__place {
    font-size: 12px;
  }

  .ym-event-card__title {
    margin: 8px 0 10px;
    font-size: 18px;
    line-height: 1.05;
  }

  .ym-event-card__text {
    font-size: 11px;
    line-height: 1.32;
  }

  .ym-event-card__link {
    margin-top: 14px;
    gap: 6px;
    font-size: 12px;
  }

  .ym-event-card__link-icon {
    font-size: 15px;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-announcements {
    background-position: top right;
  }

  .ym-announcements::before {
    background: rgba(255, 255, 255, 0.76);
  }

  .ym-announcements::after {
    left: 0;
    bottom: 48px;
    width: 116px;
    height: 136px;
    background-size: 12px 12px;
    opacity: 0.52;
  }

  .ym-announcements__inner {
    width: 100%;
    min-height: 0;
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
    display: block;
  }

  .ym-announcements__info {
    max-width: 100%;
    text-align: center;
  }

  .ym-announcements__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-announcements__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-announcements__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-announcements__title {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-announcements__line {
    width: 178px;
    height: 1px;
    margin: 14px auto 16px;
  }

  .ym-announcements__text {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-announcements__button {
    width: min(100%, 250px);
    height: 40px;
    margin: 18px auto 0;
    display: inline-flex;
    gap: 7px;
    font-size: 13px;
  }

  .ym-announcements__card-wrap {
    padding-top: 28px;
    justify-content: center;
  }

  .ym-event-card {
    width: 100%;
    min-height: 232px;
    padding: 20px 22px 18px;
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 18px;
  }

  .ym-event-card__day {
    font-size: 40px;
  }

  .ym-event-card__month {
    margin-top: 12px;
    font-size: 12px;
  }

  .ym-event-card__year {
    margin-top: 10px;
    font-size: 12px;
  }

  .ym-event-card__place {
    font-size: 14px;
  }

  .ym-event-card__title {
    margin: 8px 0 10px;
    font-size: 20px;
    line-height: 1.05;
  }

  .ym-event-card__text {
    font-size: 12px;
    line-height: 1.28;
  }

  .ym-event-card__link {
    margin-top: 18px;
    gap: 8px;
    font-size: 14px;
  }

  .ym-event-card__link-icon {
    font-size: 18px;
  }

}

@media (max-width: 480px) {
  .ym-announcements__inner {
    padding: 24px var(--ym-layout-gutter-mobile) 42px;
  }

  .ym-announcements__title {
    font-size: var(--ym-section-title-size-mobile);
  }

  .ym-announcements__text {
    font-size: var(--ym-section-description-size-mobile);
  }

}

@media (max-width: 390px) {
  .ym-announcements__inner {
    padding: 22px 30px 40px;
  }

  .ym-announcements__eyebrow {
    margin-bottom: 26px;
  }

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

  .ym-announcements__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-announcements__button {
    width: min(100%, 232px);
  }

  .ym-event-card {
    min-height: 220px;
    padding: 18px;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 14px;
  }

  .ym-event-card__day {
    font-size: 36px;
  }

  .ym-event-card__month,
  .ym-event-card__year {
    font-size: 11px;
  }

  .ym-event-card__place {
    font-size: 13px;
  }

  .ym-event-card__title {
    font-size: 18px;
  }

  .ym-event-card__text {
    font-size: 11px;
  }

  .ym-event-card__link {
    font-size: 13px;
  }

}

@media (max-width: 360px) {
  .ym-announcements__inner {
    padding: 22px 24px 38px;
  }

  .ym-announcements__title {
    font-size: var(--ym-section-title-size);
  }

  .ym-announcements__text {
    font-size: var(--ym-section-description-size);
  }

  .ym-announcements__button {
    width: min(100%, 216px);
    height: 38px;
    font-size: 12px;
  }

  .ym-event-card {
    min-height: 212px;
    padding: 16px;
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .ym-event-card__day {
    font-size: 34px;
  }

  .ym-event-card__month,
  .ym-event-card__year {
    font-size: 10px;
  }

  .ym-event-card__place {
    font-size: 12px;
  }

  .ym-event-card__title {
    font-size: 17px;
  }

  .ym-event-card__text {
    font-size: 10px;
  }

  .ym-event-card__link {
    font-size: 12px;
  }

}

/* ================================
BLOCK 12 — GROUP
================================ */

.ym-group {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ym-color-white);
  color: var(--ym-color-blue, #18335f);
  overflow-x: clip;
}

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

.ym-group::before {
  content: none;
  display: none;
}

.ym-group__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ym-layout-container-max));
  margin: 0 auto;
  padding: var(--ym-section-padding-top) var(--ym-layout-gutter-desktop) var(--ym-section-padding-bottom);
}

.ym-group__eyebrow {
  margin: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ym-color-blue, #18335f);
  justify-content: flex-start;
  text-align: left;
}

.ym-group__number {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--ym-color-blue, #18335f);
  border-right: 2px solid var(--ym-color-blue, #18335f);
  color: var(--ym-color-blue, #18335f);
  font-weight: 700;
  letter-spacing: -0.04em;
  min-height: var(--ym-section-number-height);
  padding: 0 var(--ym-section-number-padding-x);
  font-size: var(--ym-section-number-size);
  line-height: 1;
}

.ym-group__label {
  color: var(--ym-color-blue, #18335f);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: var(--ym-section-label-size);
  line-height: 1;
}

.ym-group__top {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 650px);
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.ym-group__content {
  max-width: 680px;
}

.ym-group__title {
  max-width: 680px;
  margin: 0;
  color: var(--ym-color-ink);
  font-size: var(--ym-section-title-size);
  line-height: var(--ym-section-title-line-height);
  font-weight: var(--ym-section-title-weight);
  letter-spacing: var(--ym-section-title-letter-spacing);
}

.ym-group__line {
  width: 150px;
  height: 2px;
  margin: 36px 0 32px;
  background: var(--ym-color-blue, #18335f);
}

.ym-group__text {
  max-width: 650px;
  margin: 0;
  color: var(--ym-color-black);
  font-size: var(--ym-section-description-size);
  line-height: var(--ym-section-description-line-height);
  font-weight: var(--ym-section-description-weight);
  letter-spacing: var(--ym-section-description-letter-spacing);
}

.ym-group__buttons {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ym-group__button {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--ym-color-blue, #18335f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ym-color-blue, #18335f);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ym-group__button:hover {
  background: var(--ym-color-blue, #18335f);
  color: var(--ym-color-white);
  transform: translateY(-1px);
}

.ym-group__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ym-group__brand-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
}

.ym-group__channels {
  margin-top: 54px;
}

.ym-group__channels-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  margin: 0 0 34px;
}

.ym-group__channels-head span {
  color: var(--ym-color-ink);
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ym-group__channels-head::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--ym-color-blue, #18335f);
}

/* ================================
DESKTOP ADAPTIVE
================================ */

@media (min-width: 901px) and (max-width: 1800px) {
  .ym-group__inner {
    padding: clamp(32px, 4.2vw, 70px) var(--ym-layout-gutter-adaptive) clamp(30px, 3.6vw, 58px);
  }

  .ym-group__top {
    grid-template-columns: minmax(300px, 40%) minmax(0, 46%);
    gap: 13.7%;
    justify-content: stretch;
    align-items: center;
  }

  .ym-group__content {
    max-width: none;
    width: 100%;
  }

  .ym-group__eyebrow {
    margin: 0 0 clamp(18px, 2vw, 32px);
    gap: clamp(12px, 1.5vw, 22px);
  }

  .ym-group__number {
    min-height: clamp(31px, 3.05vw, 54px);
    padding: 0 clamp(9px, 0.9vw, 16px);
    border-left-width: clamp(1px, 0.15vw, 2px);
    border-right-width: clamp(1px, 0.15vw, 2px);
    font-size: var(--ym-section-number-size-adaptive);
  }

  .ym-group__label {
    font-size: var(--ym-section-label-size-adaptive);
  }

  .ym-group__title {
    max-width: 100%;
    font-size: var(--ym-section-title-size-adaptive);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-group__line {
    width: clamp(78px, 8vw, 150px);
    height: clamp(1px, 0.12vw, 2px);
    margin: clamp(22px, 2.5vw, 30px) 0 clamp(18px, 2.2vw, 28px);
  }

  .ym-group__text {
    max-width: 100%;
    font-size: var(--ym-section-description-size-adaptive);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-group__buttons {
    margin-top: clamp(18px, 2vw, 30px);
    gap: clamp(7px, 0.7vw, 10px);
  }

  .ym-group__button {
    min-height: clamp(34px, 2.65vw, 48px);
    padding: 0 clamp(10px, 1.1vw, 20px);
    font-size: clamp(8.7px, 0.78vw, 14px);
  }

  .ym-group__brand-image {
    width: min(100%, clamp(300px, 33vw, 560px));
  }

  .ym-group__channels {
    margin-top: clamp(32px, 4vw, 58px);
  }

  .ym-group__channels-head {
    column-gap: clamp(10px, 1.2vw, 16px);
    margin-bottom: clamp(20px, 2.2vw, 34px);
  }

  .ym-group__channels-head span {
    font-size: clamp(10px, 0.9vw, 17px);
  }

}

/* ================================
SMALL DESKTOP
================================ */

@media (min-width: 901px) and (max-width: 980px) {
  .ym-group__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .ym-group__top {
    grid-template-columns: minmax(295px, 40%) minmax(0, 46%);
    gap: 13.7%;
  }

  .ym-group__button {
    font-size: 10px;
  }

}

/* ================================
TABLET
================================ */

@media (min-width: 768px) and (max-width: 900px) {
  .ym-group__inner {
    padding: 32px var(--ym-layout-gutter-tablet) 36px;
  }

  .ym-group__eyebrow {
    margin-bottom: 24px;
    gap: 24px;
  }

  .ym-group__number {
    min-height: var(--ym-section-number-height);
    padding: 0 var(--ym-section-number-padding-x);
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-tablet);
  }

  .ym-group__label {
    font-size: var(--ym-section-label-size-tablet);
    line-height: 1;
  }

  .ym-group__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
    gap: 36px;
    align-items: center;
  }

  .ym-group__content {
    max-width: 100%;
  }

  .ym-group__title {
    max-width: 640px;
    font-size: var(--ym-section-title-size-tablet);
    line-height: var(--ym-section-title-line-height);
  }

  .ym-group__line {
    max-width: 150px;
    margin: 28px 0 25px;
  }

  .ym-group__text {
    max-width: 620px;
    font-size: var(--ym-section-description-size-tablet);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-group__buttons {
    margin-top: 26px;
    gap: 9px;
  }

  .ym-group__button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
  }

  .ym-group__brand-image {
    max-width: 310px;
  }

  .ym-group__channels {
    margin-top: 46px;
  }

}

/* ================================
MOBILE
================================ */

@media (max-width: 767px) {
  .ym-group__inner {
    width: 100%;
    padding: 28px var(--ym-layout-gutter-mobile) 34px;
  }

  .ym-group__eyebrow {
    width: 100%;
    margin: 0 0 24px;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .ym-group__number {
    min-height: 32px;
    padding: 0 8px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: var(--ym-section-number-size-mobile);
    line-height: 1;
  }

  .ym-group__label {
    font-size: var(--ym-section-label-size-mobile);
    line-height: 1.12;
    text-align: left;
  }

  .ym-group__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .ym-group__content {
    display: contents;
  }

  .ym-group__title {
    order: 1;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-title-size-mobile);
    line-height: var(--ym-section-title-line-height);
    letter-spacing: var(--ym-section-title-letter-spacing);
  }

  .ym-group__line {
    order: 2;
    width: 225px;
    height: 1px;
    margin: 14px auto 16px;
    background: var(--ym-color-blue, #18335f);
  }

  .ym-group__text {
    order: 3;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--ym-section-description-size-mobile);
    line-height: var(--ym-section-description-line-height);
  }

  .ym-group__brand {
    order: 4;
    width: 100%;
    min-height: 0;
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
  }

  .ym-group__brand-image {
    width: min(100%, 310px);
    height: auto;
    display: block;
  }

  .ym-group__buttons {
    order: 5;
    width: 100%;
    margin: 26px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ym-group__button {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    font-size: 16px;
    line-height: 1;
  }

  .ym-group__channels {
    margin-top: 30px;
  }

  .ym-group__channels-head {
    display: block;
    margin-bottom: 22px;
  }

  .ym-group__channels-head::after {
    display: none;
  }

  .ym-group__channels-head span {
    font-size: 13px;
  }

}

@media (max-width: 390px) {
  .ym-group__inner {
    padding: 26px 18px 32px;
  }

  .ym-group__eyebrow {
    margin-bottom: 20px;
    gap: 10px;
  }

  .ym-group__number {
    min-height: 30px;
    padding: 0 7px;
    font-size: var(--ym-section-number-size-mobile-sm);
  }

  .ym-group__label {
    font-size: var(--ym-section-label-size-mobile-sm);
  }

  .ym-group__title {
    max-width: 320px;
    font-size: var(--ym-section-title-size-mobile-sm);
  }

  .ym-group__line {
    width: 210px;
    margin: 12px auto 14px;
  }

  .ym-group__text {
    max-width: 320px;
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-group__brand {
    margin-top: 22px;
  }

  .ym-group__brand-image {
    width: min(100%, 285px);
  }

  .ym-group__buttons {
    margin-top: 24px;
    gap: 9px;
  }

  .ym-group__button {
    min-height: 50px;
    font-size: 14px;
  }

  .ym-group__channels {
    margin-top: 28px;
  }

}

@media (max-width: 340px) {
  .ym-group__inner {
    padding: 24px 16px 30px;
  }

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

  .ym-group__text {
    font-size: var(--ym-section-description-size-mobile-sm);
  }

  .ym-group__brand-image {
    width: min(100%, 260px);
  }

  .ym-group__button {
    min-height: 48px;
    font-size: 13px;
  }

}

@media (max-width: 767px) {
  .ym-sequence__inner,
  .ym-formats__inner,
  .ym-speech-topics__inner,
  .ym-public-media__inner,
  .ym-cases__inner,
  .ym-organizers__inner {
    width: 100%;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .ym-sequence__eyebrow,
  .ym-formats__eyebrow,
  .ym-speech-topics__eyebrow,
  .ym-public-media__eyebrow,
  .ym-cases__eyebrow,
  .ym-organizers__eyebrow {
    width: 100%;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
  }

  .ym-sequence__number,
  .ym-formats__number,
  .ym-speech-topics__number,
  .ym-public-media__number,
  .ym-cases__number,
  .ym-organizers__number {
    min-height: 34px;
    padding: 0 9px;
    border-left-width: 2px;
    border-right-width: 2px;
    font-size: 23px;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .ym-sequence__label,
  .ym-formats__label,
  .ym-speech-topics__label,
  .ym-public-media__label,
  .ym-cases__label,
  .ym-organizers__label {
    font-size: 14px;
    line-height: 1.12;
    text-align: left;
  }

  .ym-sequence__title,
  .ym-formats__title,
  .ym-speech-topics__title,
  .ym-public-media__title,
  .ym-cases__title,
  .ym-organizers__title {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-align: center;
  }

  .ym-sequence__copy p,
  .ym-formats__text,
  .ym-speech-topics__text,
  .ym-public-media__text,
  .ym-cases__text,
  .ym-organizers__text {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.34;
    text-align: center;
  }

  .ym-sequence__line,
  .ym-formats__line,
  .ym-speech-topics__line,
  .ym-public-media__line,
  .ym-organizers__line {
    width: 180px;
    max-width: 180px;
    height: 1px;
    margin: 16px auto 18px;
  }

  .ym-sequence__cards,
  .ym-formats__cards,
  .ym-speech-topics__grid,
  .ym-public-media__cards,
  .ym-cases__viewport {
    width: 100%;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .ym-sequence__inner {
    row-gap: 22px;
  }

  .ym-sequence__cards {
    gap: 12px;
  }

  .ym-sequence-card {
    min-height: 128px;
    border-radius: 8px;
  }

  .ym-sequence-card__left,
  .ym-sequence-card__right {
    padding: 36px 12px 14px;
  }

  .ym-sequence-card__badge {
    left: 12px;
    min-width: 96px;
    font-size: 9px;
  }

  .ym-sequence-card__lead {
    font-size: 14px;
    line-height: 1.12;
  }

  .ym-sequence-card__right p {
    font-size: 12px;
    line-height: 1.3;
  }

  .ym-formats__cards {
    margin-top: 24px;
    gap: 12px;
  }

  .ym-format-card {
    padding: 16px 54px 17px 18px;
  }

  .ym-format-card__meta {
    font-size: 11px;
  }

  .ym-format-card__title {
    font-size: 16px;
    line-height: 1.1;
  }

  .ym-format-card__text {
    font-size: 13px;
    line-height: 1.34;
  }

  .ym-format-card__icon {
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .ym-format-card__icon--wide {
    width: 31px;
  }

  .ym-speech-topics__top {
    margin-bottom: 24px;
  }

  .ym-speech-topics__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ym-topic-card {
    --topic-card-min-height: 184px;
    --topic-index-size: 62px;
    --topic-index-top: -8px;
    --topic-index-left: -6px;
    --topic-visual-height: 84px;
    --topic-title-width: 58%;
    --topic-title-size: 16px;
    --topic-title-line: 1.18;
    --topic-title-gap: 8px;
    --topic-title-top-space: 36px;
    --topic-text-size: 10.6px;
    --topic-text-line: 1.32;
    border-radius: 8px;
  }

  .ym-public-media__top {
    margin-bottom: 28px;
  }

  .ym-public-media__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 326px;
  }

  .ym-public-media-card {
    min-height: 238px;
    border-radius: 7px;
  }

  .ym-public-media-card__title {
    min-height: 36px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  .ym-public-media-card__button {
    min-width: 92px;
    min-height: 31px;
    font-size: 10px;
  }

  .ym-public-media__official-head {
    display: block;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
  }

  .ym-public-media__official-head i {
    display: none;
  }

  .ym-cases__intro {
    max-width: 360px;
    margin: 0 auto;
  }

  .ym-cases__title-desktop {
    display: none;
  }

  .ym-cases__title-mobile {
    display: block;
  }

  .ym-cases__title::after {
    content: "";
    display: block;
    width: 180px;
    height: 1px;
    margin: 14px auto 0;
    background: var(--ym-color-blue);
  }

    .ym-cases__counter {
    font-size: 14px;
  }

      .ym-cases__arrow {
    font-size: 16px;
  }

  .ym-cases__cards {
    width: 100%;
    max-width: 360px;
    min-height: 332px;
    margin: 0 auto;
  }

  .ym-case-card,
  .ym-case-card.is-active,
  .ym-case-card.is-leaving {
    width: 100%;
  }

  .ym-case-card {
    transform: translate(18px, 0);
  }

  .ym-case-card.is-active {
    transform: none;
    border-radius: 4px;
  }

  .ym-case-card.is-next {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(18px, 0);
  }

  .ym-case-card.is-leaving-forward {
    transform: translate(-18px, 0) scale(0.98);
  }

  .ym-case-card__image {
    height: 126px;
  }

  .ym-case-card__body {
    height: auto;
    min-height: 206px;
    padding: 17px 22px 58px;
  }

  .ym-case-card__title {
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: 0.18em;
  }

  .ym-case-card__title--compact {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .ym-case-card__text {
    max-width: 286px;
    margin-top: 9px;
    padding-left: 10px;
    font-size: 11px;
    line-height: 1.34;
  }

  .ym-case-card__link {
    right: 14px;
    bottom: 15px;
    width: 41px;
    height: 41px;
    font-size: 27px;
  }

  .ym-organizers__content {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
  }

  .ym-organizers__button {
    width: min(100%, 218px);
    height: 40px;
    margin: 22px auto 0;
    display: flex;
    gap: 7px;
    font-size: 13px;
  }

  .ym-organizers__visual {
    width: 220px;
    right: -62px;
    bottom: -6px;
    opacity: 0.24;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .ym-sequence__inner,
  .ym-formats__inner,
  .ym-speech-topics__inner,
  .ym-public-media__inner,
  .ym-cases__inner,
  .ym-organizers__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .ym-sequence__title,
  .ym-formats__title,
  .ym-speech-topics__title,
  .ym-public-media__title,
  .ym-cases__title,
  .ym-organizers__title {
    max-width: 330px;
    font-size: 32px;
    line-height: 0.98;
  }

  .ym-sequence__copy p,
  .ym-formats__text,
  .ym-speech-topics__text,
  .ym-public-media__text,
  .ym-cases__text,
  .ym-organizers__text {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.34;
  }

  .ym-sequence__number,
  .ym-formats__number,
  .ym-speech-topics__number,
  .ym-public-media__number,
  .ym-cases__number,
  .ym-organizers__number {
    min-height: 32px;
    padding: 0 8px;
    font-size: 22px;
  }

  .ym-sequence__label,
  .ym-formats__label,
  .ym-speech-topics__label,
  .ym-public-media__label,
  .ym-cases__label,
  .ym-organizers__label {
    font-size: 13px;
  }

  .ym-sequence__cards,
  .ym-formats__cards,
  .ym-speech-topics__grid,
  .ym-cases__viewport {
    max-width: 330px;
  }

  .ym-format-card__text {
    font-size: 12.5px;
    line-height: 1.32;
  }

  .ym-topic-card {
    --topic-card-min-height: 176px;
    --topic-index-size: 58px;
    --topic-visual-height: 78px;
    --topic-title-size: 15px;
    --topic-title-top-space: 34px;
    --topic-text-size: 10px;
  }

  .ym-cases__controls,
  .ym-cases__cards {
    max-width: 330px;
  }
}

@media (max-width: 390px) {
  .ym-sequence__inner,
  .ym-formats__inner,
  .ym-speech-topics__inner,
  .ym-public-media__inner,
  .ym-cases__inner,
  .ym-organizers__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ym-sequence__eyebrow,
  .ym-formats__eyebrow,
  .ym-speech-topics__eyebrow,
  .ym-public-media__eyebrow,
  .ym-cases__eyebrow,
  .ym-organizers__eyebrow {
    margin-bottom: 18px;
  }

  .ym-sequence__title,
  .ym-formats__title,
  .ym-speech-topics__title,
  .ym-public-media__title,
  .ym-cases__title,
  .ym-organizers__title {
    max-width: 300px;
    font-size: 30px;
    line-height: 1;
  }

  .ym-sequence__copy p,
  .ym-formats__text,
  .ym-speech-topics__text,
  .ym-public-media__text,
  .ym-cases__text,
  .ym-organizers__text {
    max-width: 300px;
    font-size: 13px;
  }

  .ym-sequence__number,
  .ym-formats__number,
  .ym-speech-topics__number,
  .ym-public-media__number,
  .ym-cases__number,
  .ym-organizers__number {
    min-height: 30px;
    padding: 0 8px;
    font-size: 21px;
  }

  .ym-sequence__label,
  .ym-formats__label,
  .ym-speech-topics__label,
  .ym-public-media__label,
  .ym-cases__label,
  .ym-organizers__label {
    font-size: 12px;
  }

  .ym-sequence__cards,
  .ym-formats__cards,
  .ym-speech-topics__grid,
  .ym-cases__viewport,
  .ym-cases__controls,
  .ym-cases__cards {
    max-width: 300px;
  }

  .ym-sequence-card {
    min-height: 122px;
  }

  .ym-sequence-card__left,
  .ym-sequence-card__right {
    padding: 34px 10px 12px;
  }

  .ym-sequence-card__badge {
    left: 10px;
    min-width: 86px;
    font-size: 8px;
  }

  .ym-sequence-card__lead {
    font-size: 12px;
  }

  .ym-sequence-card__right p {
    font-size: 10.5px;
  }

  .ym-format-card {
    padding: 14px 48px 15px 16px;
  }

  .ym-format-card__title {
    font-size: 15px;
  }

  .ym-format-card__text {
    font-size: 11.8px;
  }

  .ym-topic-card {
    --topic-card-min-height: 168px;
    --topic-index-size: 54px;
    --topic-visual-height: 72px;
    --topic-title-size: 14px;
    --topic-title-top-space: 32px;
    --topic-text-size: 9.4px;
  }

  .ym-public-media__cards {
    max-width: 300px;
  }

  .ym-public-media-card {
    min-height: 224px;
  }

  .ym-cases__cards {
    min-height: 310px;
  }

  .ym-case-card__image {
    height: 114px;
  }

  .ym-case-card__body {
    min-height: 196px;
  }
}

@media (max-width: 360px) {
  .ym-sequence__title,
  .ym-formats__title,
  .ym-speech-topics__title,
  .ym-public-media__title,
  .ym-cases__title,
  .ym-organizers__title {
    font-size: 29px;
    line-height: 1;
  }

  .ym-sequence__copy p,
  .ym-formats__text,
  .ym-speech-topics__text,
  .ym-public-media__text,
  .ym-cases__text,
  .ym-organizers__text {
    font-size: 13px;
  }

  .ym-sequence__number,
  .ym-formats__number,
  .ym-speech-topics__number,
  .ym-public-media__number,
  .ym-cases__number,
  .ym-organizers__number {
    font-size: 20px;
  }

  .ym-format-card__text {
    font-size: 11.4px;
  }

  .ym-topic-card {
    --topic-card-min-height: 162px;
    --topic-index-size: 52px;
    --topic-title-size: 13.5px;
    --topic-text-size: 9px;
  }

  .ym-public-media-card {
    min-height: 216px;
  }

  .ym-public-media-card__title {
    font-size: 12px;
  }

  .ym-case-card__text {
    font-size: 9.8px;
  }

  .ym-organizers__button {
    width: min(100%, 196px);
    height: 38px;
    font-size: 12px;
  }
}

/* ================================
SAFE PERFORMANCE PATCH — LOWER HOME BLOCKS
================================ */

.ym-sequence::before,
.ym-formats::before,
.ym-speech-topics::before,
.ym-public-media::before {
  content: none !important;
  display: none !important;
}

.ym-sequence,
.ym-formats,
.ym-speech-topics,
.ym-public-media,
.ym-group {
  background-attachment: scroll !important;
}

.ym-sequence,
.ym-formats,
.ym-speech-topics,
.ym-public-media,
.ym-cases,
.ym-organizers,
.ym-announcements,
.ym-group {
  content-visibility: auto;
  contain-intrinsic-size: auto 780px;
}

.ym-sequence-card,
.ym-format-card,
.ym-topic-card,
.ym-public-media-card,
.ym-group__brand,
.ym-official-channel-card,
.ym-event-card {
  transition:
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.62s ease,
    background-color 0.62s ease;
}

.ym-case-card {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  transition:
    width 0.58s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.45s ease,
    visibility 0s linear 0.58s,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-media__main-card > img,
.ym-media__thumb > img,
.ym-public-media-card__image,
.ym-case-card__image,
.ym-topic-card__visual img,
.ym-organizers__image,
.ym-group__brand-image {
  transform-origin: center center;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-hero__button,
.ym-hero__links a,
.ym-group__button,
.ym-organizers__button,
.ym-announcements__button,
.ym-public-media-card__button,
.ym-case-card__link,
.ym-format-card__button,
.ym-event-card__link {
  transition:
    background-color 0.52s ease,
    color 0.52s ease,
    border-color 0.52s ease,
    opacity 0.52s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ym-sequence-card:hover,
  .ym-format-card:hover,
  .ym-topic-card:hover,
  .ym-public-media-card:hover,
  .ym-group__brand:hover,
  .ym-official-channel-card:hover,
  .ym-event-card:hover {
    transform: translateY(-1px) scale(1.003);
  }

  .ym-sequence-card:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.155);
  }

  .ym-format-card:hover {
    box-shadow: 4px 7px 12px rgba(0, 0, 0, 0.19);
  }

  .ym-topic-card:hover,
  .ym-public-media-card:hover {
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.165);
  }

  .ym-case-card.is-active:hover {
    transform: translateY(-1px) scale(1.002);
    box-shadow: 0 8px 17px rgba(0, 0, 0, 0.22);
  }

  .ym-event-card:hover {
    box-shadow: 0 9px 24px rgba(25, 35, 54, 0.17);
  }

  .ym-hero__button:hover,
  .ym-group__button:hover,
  .ym-organizers__button:hover,
  .ym-announcements__button:hover,
  .ym-public-media-card__button:hover,
  .ym-case-card__link:hover,
  .ym-format-card__button:hover,
  .ym-event-card__link:hover {
    transform: translateY(-1px);
  }

  .ym-hero__links a:hover {
    transform: translateY(-1px);
  }

  .ym-media__main-card:hover > img,
  .ym-media__thumb:hover > img,
  .ym-public-media-card:hover .ym-public-media-card__image,
  .ym-case-card:hover .ym-case-card__image,
  .ym-topic-card:hover .ym-topic-card__visual img,
  .ym-organizers__visual:hover .ym-organizers__image,
  .ym-group__brand:hover .ym-group__brand-image {
    transform: scale(1.012);
  }
}

.ym-sequence-card:focus-within,
.ym-format-card:focus-within,
.ym-topic-card:focus-within,
.ym-public-media-card:focus-within,
.ym-case-card:focus-within,
.ym-event-card:focus-within {
  outline: 2px solid rgba(24, 51, 95, 0.28);
  outline-offset: 3px;
}

/* ================================
PROJECT SUPPORT RULES
================================ */

@media (min-width: 901px) {
  .ym-organizers__visual {
    display: none;
  }
}

@media (max-width: 767px) {
  .ym-cases__controls {
    width: 100%;
    max-width: 330px;
    margin: 16px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    grid-template-areas:
      "counter arrows"
      "progress arrows";
    column-gap: 8px;
    align-items: end;
    justify-content: stretch;
  }

  .ym-cases__counter {
    grid-area: counter;
    min-width: 0;
  }

  .ym-cases__progress {
    grid-area: progress;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 8px;
    overflow: hidden;
  }

  .ym-cases__progress span {
    max-width: 100%;
  }

  .ym-cases__arrows {
    grid-area: arrows;
    width: 84px;
    min-width: 84px;
    margin: 0;
    display: flex;
    gap: 2px;
    justify-self: end;
    justify-content: flex-end;
  }

  .ym-cases__arrow {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
  }
}

@media (max-width: 390px) {
  .ym-cases__controls {
    max-width: 300px;
    grid-template-columns: minmax(0, 1fr) 78px;
    column-gap: 6px;
  }

  .ym-cases__arrows {
    width: 78px;
    min-width: 78px;
  }

  .ym-cases__arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ym-cases *,
  .ym-media *,
  .ym-public-media *,
  .ym-sequence *,
  .ym-formats *,
  .ym-speech-topics *,
  .ym-group * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 767px) {
  .ym-sequence,
  .ym-formats,
  .ym-speech-topics,
  .ym-public-media,
  .ym-cases,
  .ym-organizers,
  .ym-announcements,
  .ym-group {
    contain-intrinsic-size: auto 940px;
  }
}
