.ycl-case-page .ym-header-shell {
  --header: 70px;
  --ycl-scroll-header: 64px;
}
.ycl-case-page .ym-header-shell .ym-site-header.ym-is-scrolled { height: var(--ycl-scroll-header); }
.ycl-case-page .ym-header-shell .ym-site-header .ym-brand img { width: 42px; height: 40px; }
.ycl-case-page .ym-header-shell .ym-site-header .ym-brand strong { font-size: 24px; }
.ycl-case-page .ycl-library { scroll-margin-top: 78px; }

.ycl .ycl-hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(350px, 26vw, 522px);
  box-sizing: border-box;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #11263e;
}
.ycl-hero [hidden] { display: none !important; }
.ycl-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ycl-hero-slides, .ycl-hero-slide { display: grid; align-items: center; }
.ycl-hero-image, .ycl-hero-image::after { position: absolute; inset: 0; }
.ycl-hero-image { z-index: -1; }
.ycl-hero-image::after {
  content: '';
  background: linear-gradient(90deg, rgb(7 21 39 / 57%), rgb(7 21 39 / 36%) 40%, transparent 69%),
              linear-gradient(0deg, rgb(7 21 39 / 45%), transparent 28%);
}
.ycl-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ycl-hero-content { padding-block: 17px 24px; }
.ycl-hero-label { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 20px; color: #acd7ff; font-size: 13px; }
.ycl-hero-label span { padding-left: 8px; border-left: 1px solid #8ca8c0; color: #e0ecfa; }
.ycl-hero-content h2 { max-width: 680px; color: #fff; font-size: clamp(28px, 3.14vw, 56px); line-height: 1.22; font-weight: 720; overflow-wrap: anywhere; }
.ycl-hero-content p { max-width: 635px; margin-top: 20px; color: #eef5fd; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.65; overflow-wrap: anywhere; }
.ycl-hero-links { display: flex; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.ycl-hero-links a {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 42px; padding: 8px 17px; border: 1px solid transparent; border-radius: 7px;
  color: #fff; font-size: 14px; font-weight: 650;
}
.ycl-hero-links .ycl-hero-primary { background: #1471e5; }
.ycl-hero-links .ycl-hero-primary:hover { background: #0b5ec7; }
.ycl-hero-controls { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 16px; }
.ycl-hero-indicators { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.ycl-hero-controls button { appearance: none; color: #fff; cursor: pointer; padding: 0; }
.ycl-hero-indicators button { display: grid; align-items: center; width: 23px; height: 40px; background: transparent; border: 0; }
.ycl-hero-indicators button span { display: block; height: 2px; border-radius: 8px; background: #afc5db; }
.ycl-hero-indicators button[aria-current] { width: 37px; }
.ycl-hero-indicators button[aria-current] span { height: 3px; background: #72c7ff; }
.ycl-hero :is(a, button):focus-visible { outline: 2px solid #a4d6ff; outline-offset: 3px; }
.ycl-hero-noscript { display: flex; flex-wrap: wrap; gap: 8px 15px; padding-bottom: 17px; }
.ycl-hero-noscript a { color: #d3e9fc; text-decoration: underline; }
@media (max-width: 760px) {
  .ycl-case-page .ym-header-shell { --header: 56px; --ycl-scroll-header: 56px; }
  .ycl-case-page .ym-header-shell .ym-site-header .ym-brand img { width: 34px; height: 32px; }
  .ycl-case-page .ym-header-shell .ym-site-header .ym-brand strong { font-size: 20px; }
  .ycl-case-page .ym-header-shell .ym-main-nav { top: calc(var(--header) - 1px); max-height: calc(100dvh - var(--header)); }
  .ycl-case-page .ycl-library { scroll-margin-top: 65px; }
  .ycl .ycl-hero { min-height: 336px; }
  .ycl-hero-image img { object-position: 70% center; }
  .ycl-hero-image::after { background: linear-gradient(90deg, rgb(7 21 39 / 76%), rgb(7 21 39 / 42%)), linear-gradient(0deg, rgb(7 21 39 / 42%), transparent 70%); }
  .ycl-hero-content { padding-block: 18px 13px; }
  .ycl-hero-content h2 { font-size: clamp(25px, 6.8vw, 37px); }
  .ycl-hero-label { margin-bottom: 14px; }
  .ycl-hero-content p { margin-top: 14px; }
  .ycl-hero-links { margin-top: 21px; }
    .ycl-hero-controls { padding-bottom: 13px; }
}
