/* Use local copies of the shared Latin fonts on Russian pages. */
@font-face {
  font-family: "Bebas Neue";
  src: url("lsl-bebas-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("lsl-bebas-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fontfabric Bold matches the shared Latin face at these display weights. */
@font-face {
  font-family: "Bebas Neue";
  src: url("lsl-bebas-ru.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
  ascent-override: 90%;
  descent-override: 30%;
  line-gap-override: 0%;
  unicode-range: U+0401, U+0410-044F, U+0451;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("lsl-bebas-ru.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  ascent-override: 90%;
  descent-override: 30%;
  line-gap-override: 0%;
  unicode-range: U+0401, U+0410-044F, U+0451;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("lsl-bebas-ru.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  ascent-override: 90%;
  descent-override: 30%;
  line-gap-override: 0%;
  unicode-range: U+0401, U+0410-044F, U+0451;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-500-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-500-nav-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-500-nav-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  src: url("lsl-inter-tight-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  src: url("lsl-inter-tight-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-600-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-600-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alumni Sans";
  src: url("lsl-alumni-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Let longer Russian headlines wrap at word boundaries. */
:lang(ru) #lsl-mk-overview-title span[class$="-title-line"] {
  white-space: normal;
}

:lang(ru) .ga-review-name {
  font-weight: 500 !important;
}

/* Keep the shared heading sizes and let longer translations wrap. */
html:lang(ru) #allrecords .lsl-home-hero h1,
html:lang(ru) .lsl-gift-landing-page .gc-hero h1 > span {
  white-space: normal;
}

:lang(ru) .lsl-ru-gift-button {
  min-width: 0;
}
:lang(ru) .gc-option-bottom .lsl-ru-gift-button > svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
:lang(ru) .lsl-ru-gift-button > .lsl-ru-gift-label {
  white-space: normal;
}
:lang(ru) :is(.gc-hero, .gc-last) .lsl-ru-gift-button {
  box-sizing: border-box;
}
:lang(ru) .gc-last .lsl-ru-gift-button {
  max-width: calc(100% - 28px);
}
@media (max-width: 380px) {
  :lang(ru) .lsl-ru-gift-button.lsl-mobile-cta-gift {
    line-height: 1.1;
  }
}

:lang(ru) #gc-exp-title {
  scroll-margin-top: 100px;
}
:lang(ru) #gc-exp-title .gc-title-workshop {
  display: inline;
  white-space: nowrap;
}

/* Match the gallery's initial fitDesignViewport dimensions before its script runs. */
:lang(ru) .lsl-gift-builder-page {
  --ru-gift-header-height: 80px;
  --ru-gift-card-height: 433px;
  --ru-gift-gallery-space: 276px;
}
@media (max-width: 900px) {
  :lang(ru) .lsl-gift-builder-page {
    --ru-gift-header-height: 72px;
    --ru-gift-card-height: 338.5px;
    --ru-gift-gallery-space: 250px;
  }
}
@media (max-width: 600px) {
  :lang(ru) .lsl-gift-builder-page {
    --ru-gift-header-height: 68px;
  }
}
:lang(ru) .lsl-gift-builder-page #lsl-gift-builder.is-design:not(.has-approved-designs) .ga-arrow {
  top: calc(clamp(160px, 100dvh - var(--ru-gift-header-height) - var(--ru-gift-gallery-space), var(--ru-gift-card-height)) / 2);
}

/* Use the display face on the main desktop menu at its shared sizes. */
html:lang(ru) #lsl-main-header .lsl-header-links a {
  font-family: var(--lsl-font-display, "Bebas Neue", sans-serif) !important;
  font-weight: var(--lsl-weight-display, 400) !important;
}

/* Preserve the Russian hero's editorial breaks. */
html:lang(ru) body .lsl-mk-hero h1 > .lsl-ru-title-line {
  display: block !important;
  white-space: normal;
}

html:lang(ru) body #lsl-event-overview-title span[class$="-title-line"] {
  white-space: normal;
}

@media (max-width: 374px) {
  html:lang(ru) body #lsl-event-experiences.lsl-workshop-carousel .card-footer:has(.lsl-kids-price) {
    flex-wrap: wrap;
  }
}

html:lang(ru) body #lsl-voucher-promo-en .gift-link.lsl-ru-gift-button {
  box-sizing: border-box;
  max-width: 100%;
  height: auto !important;
  padding-block: .5em !important;
}

html:lang(ru) body #lsl-voucher-promo-en .gift-link.lsl-ru-gift-button > svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

html:lang(ru) body #lsl-voucher-promo-en .gift-link.lsl-ru-gift-button > .lsl-ru-gift-label {
  min-width: 0;
  line-height: 1.15;
  text-align: center;
}
