.rasput-hero { display: none; }
@media (max-width: 1199.98px) {
  .rasput-hero { display: block; }
.rasput-home .page_header { background: #202020; }
.rasput-hero { position: relative; isolation: isolate; overflow: hidden; color: #f5e8d6; background: #202020; }
.rasput-hero__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transform: translateX(22%); }
.rasput-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #18151290, #18151220 60%, #18151235), linear-gradient(0deg, #202020, #20202010 45%, #20202060); pointer-events: none; }
.rasput-hero__inner { width: min(100% - 96px, 1344px); margin: 0 auto; }
.rasput-hero__slide { display: flex !important; flex-direction: column; justify-content: center; min-height: 610px; padding: 52px 0 50px; }
/* Ardeco ink widths at 1em: МУЖСКОЙ 3.33; КЛУБ 1.65. Both rows share the same columns. */
.rasput-hero__composition { --hero-gap: 20px; --hero-word-size: calc((100cqw - var(--hero-gap)) / 4.98); container-type: inline-size; display: grid; grid-template-columns: 3.33fr 1.65fr; column-gap: var(--hero-gap); row-gap: 16px; width: 100%; }
.rasput-hero__row { display: contents; }
.rasput-hero__word { display: block; min-width: 0; margin-left: -.07em; margin-right: -.07em; font: 400 var(--hero-word-size)/1 'e', serif; text-box-trim: trim-both; text-box-edge: cap alphabetic; text-transform: uppercase; white-space: nowrap; }
.rasput-hero__row:nth-child(2) .rasput-hero__word { margin-right: -.04em; }
.rasput-hero__button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; margin: 0; padding: 8px 20px; border: 1px solid #e2c6a4; border-radius: 0; background: #16141033; color: #f5e8d6; font: 24px/1.2 'g', sans-serif; text-align: center; text-decoration: none; transition: background .18s, color .18s; }
.rasput-hero__button:hover { color: #202020; background: #e2b087; text-decoration: none; }
.rasput-hero__button:focus-visible { outline: 2px solid #f5e8d6; outline-offset: 5px; }
.rasput-hero .rasput-mobile-hero-dots .slick-dots { position: static; padding-bottom: 24px; }
html[lang='en'] .rasput-hero__composition { --hero-word-size: calc((100cqw - var(--hero-gap)) / 3.51); grid-template-columns: 1.87fr 1.64fr; }
html[lang='zh-hans'] .rasput-hero__composition { --hero-word-size: calc((100cqw - var(--hero-gap)) / 5); grid-template-columns: 2fr 3fr; }
html[lang='zh-hans'] .rasput-hero__word { margin-left: 0; margin-right: 0; }
@media (max-width: 1199.98px) {
  .rasput-home .page_header { padding-top: 0; }
  .rasput-hero__inner { width: calc(100% - 48px); }
  .rasput-hero__slide { min-height: clamp(500px, calc(100svh - var(--rasput-mobile-header-height) - 61px), 760px); padding: 36px 0 30px; }
}
@media (max-width: 767.98px) {
  .rasput-hero::after { background: linear-gradient(180deg, #20202000 0%, #20202000 25%, #20202080 55%, #202020 100%); }
  .rasput-hero__photo { top: -20%; height: 120%; object-position: 50% 50%; transform: none; }
  .rasput-hero__slide { justify-content: flex-end; min-height: clamp(360px, calc(100svh - var(--rasput-mobile-header-height) - 61px - env(safe-area-inset-bottom)), 760px); padding: 28px 0; }
  .rasput-hero__composition { --hero-gap: 12px; row-gap: 12px; }
  .rasput-hero__button { padding: 3px 8px; font-size: clamp(13px, 4.5cqw, 20px); white-space: nowrap; }
}
@supports (height: round(nearest, 10.5px, 1px)) and (text-box-trim: trim-both) {
  .rasput-hero__word, .rasput-hero__button { height: round(nearest, calc(var(--hero-word-size) * .7), 1px); }
  html[lang='zh-hans'] .rasput-hero__word, html[lang='zh-hans'] .rasput-hero__button { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .rasput-hero__button { transition: none; } }
.rasput-hero__composition--motto { --hero-word-size: calc(100cqw / 4.22); grid-template-columns: minmax(0, 1fr); }
.rasput-hero__composition--motto .rasput-hero__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--hero-gap); align-items: stretch; }
.rasput-hero__composition--motto .rasput-hero__row:last-child { grid-template-columns: minmax(0, 1fr) auto; }
.rasput-hero__composition--motto .rasput-hero__word { width: max-content; margin-inline: -.07em; }
.rasput-hero__composition--motto .rasput-hero__row:last-child .rasput-hero__word { margin-right: -.04em; }
.rasput-hero__motto-line { min-width: 0; }
.rasput-hero__composition--motto .rasput-hero__button { height: auto; padding: 6px 8px; font-size: clamp(13px, 4cqw, 22px); white-space: normal; }
/* Tablet: keep the word/button composition beside the portrait, not across it. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .rasput-hero__slide {
    min-height: clamp(420px, calc(100svh - var(--rasput-mobile-header-height) - 61px - env(safe-area-inset-bottom)), 760px);
    padding: 32px 0;
  }
  .rasput-hero__composition {
    width: min(56%, 600px);
    --hero-gap: 16px;
    row-gap: 16px;
  }
}
@supports (height: round(nearest, 10.5px, 1px)) and (text-box-trim: trim-both) {
  /* Include the descender of Д in the last row's shared button/letter edge. */
  .rasput-hero__composition--motto .rasput-hero__row:last-child .rasput-hero__word { height: round(nearest, calc(var(--hero-word-size) * .84), 1px); }
}
}
