/* Shiora global access
   A calm, editorial language utility for the white navigation shell. */

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto/NotoSansArabic-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Devanagari";
  src: url("/assets/fonts/noto/NotoSansDevanagari-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sh-language-pink: #f0568c;
  --sh-language-pink-deep: #c7266a;
  --sh-language-pink-soft: #fff1f6;
  --sh-language-purple: #6d3fa0;
  --sh-language-purple-soft: #f7f2fb;
  --sh-language-ink: #150c26;
  --sh-language-muted: #5d5268;
  --sh-language-line: rgba(21, 12, 38, 0.14);
  --sh-language-shadow: 0 30px 80px rgba(21, 12, 38, 0.18), 0 8px 24px rgba(21, 12, 38, 0.08);
}

.sh-header__language {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--sh-language-ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.sh-header__language > summary {
  width: auto;
  min-width: 74px;
  min-height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(21, 12, 38, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--sh-language-pink-deep) !important;
  box-shadow: 0 1px 0 rgba(21, 12, 38, 0.03);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  list-style: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.sh-header__language > summary::-webkit-details-marker {
  display: none;
}

.sh-header__language > summary:hover,
.sh-header__language > summary:focus-visible,
.sh-header__language[open] > summary {
  border-color: rgba(199, 38, 106, 0.72);
  background: var(--sh-language-pink-soft);
  color: var(--sh-language-pink-deep) !important;
  box-shadow: 0 5px 18px rgba(199, 38, 106, 0.11);
}

.sh-header__language > summary:focus-visible {
  outline: 3px solid rgba(109, 63, 160, 0.34);
  outline-offset: 3px;
}

.sh-language__globe {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.sh-header__language .sh-nav__chevron {
  width: 6px;
  height: 6px;
  margin: 0 0 3px 1px;
  color: currentColor;
  transition: transform 180ms ease;
}

.sh-header__language[open] .sh-nav__chevron {
  transform: rotate(180deg);
}

.sh-language__mobile,
.sh-language__backdrop {
  display: none;
}

.sh-header__language .sh-language__menu {
  position: absolute;
  z-index: 360;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: min(680px, calc(100vw - 32px));
  max-height: min(700px, calc(100svh - var(--sh-nav-h, 70px) - 28px));
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  border: 1px solid var(--sh-language-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: var(--sh-language-shadow);
  color: var(--sh-language-ink);
  direction: ltr;
  display: grid;
  gap: 18px;
  text-align: left;
  transform-origin: 92% 0;
  animation: sh-language-panel-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sh-language-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sh-language__panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.sh-language__panel-head > div {
  min-width: 0;
}

.sh-language__eyebrow {
  margin: 0 0 7px;
  color: var(--sh-language-pink-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sh-header__language .sh-language__heading {
  margin: 0;
  padding: 0;
  color: var(--sh-language-ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-transform: none;
}

.sh-language__intro {
  max-width: 39ch;
  margin: 8px 0 0;
  color: var(--sh-language-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.sh-language__close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--sh-language-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sh-language-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sh-language__close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.65;
}

.sh-language__close:hover,
.sh-language__close:focus-visible {
  border-color: var(--sh-language-pink-deep);
  background: var(--sh-language-pink-soft);
  color: var(--sh-language-pink-deep);
  transform: rotate(3deg);
}

.sh-language__close:focus-visible {
  outline: 3px solid rgba(109, 63, 160, 0.28);
  outline-offset: 2px;
}

.sh-language__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: min(430px, 56svh);
  padding: 2px 5px 2px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: 6px;
}

.sh-language__option {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  margin: 0;
  padding: 13px 12px;
  border: 1px solid var(--sh-language-line);
  border-radius: 14px;
  background: #fff;
  color: var(--sh-language-ink);
  box-shadow: 0 1px 0 rgba(21, 12, 38, 0.025);
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  font: inherit;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.sh-language__option:first-child {
  grid-column: auto;
}

.sh-language__option:hover {
  border-color: rgba(199, 38, 106, 0.44);
  background: #fffafd;
  box-shadow: 0 10px 22px rgba(21, 12, 38, 0.075);
  transform: translateY(-1px);
}

.sh-language__option:focus-visible {
  outline: 3px solid rgba(109, 63, 160, 0.3);
  outline-offset: 2px;
  border-color: var(--sh-language-purple);
}

.sh-language__option[aria-checked="true"] {
  border-color: rgba(199, 38, 106, 0.82);
  background: linear-gradient(135deg, var(--sh-language-pink-soft), #fff 72%);
  box-shadow: 0 10px 24px rgba(199, 38, 106, 0.08);
}

.sh-language__code {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(109, 63, 160, 0.17);
  border-radius: 12px;
  background: var(--sh-language-purple-soft);
  color: var(--sh-language-purple);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
}

.sh-language__option[aria-checked="true"] .sh-language__code {
  border-color: rgba(199, 38, 106, 0.22);
  background: #fff;
  color: var(--sh-language-pink-deep);
}

.sh-language__label {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.sh-language__label strong {
  overflow: hidden;
  color: var(--sh-language-ink);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-language__label small {
  overflow: hidden;
  color: var(--sh-language-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  padding-inline-end: 66px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-language__mode {
  position: absolute;
  inset-inline-end: 39px;
  bottom: 13px;
  padding: 5px 7px;
  border: 1px solid rgba(21, 12, 38, 0.09);
  border-radius: 999px;
  background: #f8f6fa;
  color: var(--sh-language-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-language__option[aria-checked="true"] .sh-language__mode {
  border-color: rgba(199, 38, 106, 0.16);
  background: #fff;
  color: var(--sh-language-pink-deep);
}

.sh-language__check {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--sh-language-pink-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-language__option[aria-checked="true"] .sh-language__check {
  opacity: 1;
  transform: scale(1);
}

.sh-language__notice {
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(109, 63, 160, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sh-language-purple-soft), #fff 92%);
  color: var(--sh-language-muted);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.sh-language__notice svg {
  width: 21px;
  height: 21px;
  margin-top: 1px;
  fill: none;
  stroke: var(--sh-language-purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.sh-language__notice p {
  margin: 0;
  color: inherit;
  font-size: 11.5px;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.5;
}

.sh-language__feedback {
  min-height: 16px;
  margin: -7px 2px 0;
  color: var(--sh-language-purple);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.sh-language__feedback:empty {
  display: none;
}

.sh-language__feedback[data-tone="error"] {
  color: #a31945;
}

.sh-language__feedback[data-tone="success"] {
  color: #42634d;
}

.sh-language-transition {
  position: fixed;
  z-index: 4000;
  inset: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sh-language-ink);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: blur(18px) saturate(125%);
  display: grid;
  place-items: center;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

html[data-language-transition="true"] .sh-language-transition {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.sh-language-transition__inner {
  width: min(380px, 100%);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.sh-language-transition__inner img {
  width: 76px;
  height: auto;
  margin-bottom: 9px;
  object-fit: contain;
}

.sh-language-transition__logo {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 9px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  display: block;
  contain: paint;
}

.sh-language-transition__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sh-language-transition__inner p {
  margin: 0;
  color: var(--sh-language-pink-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sh-language-transition__inner strong {
  max-width: 18ch;
  color: var(--sh-language-ink);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.sh-language-transition__inner span {
  max-width: 37ch;
  color: var(--sh-language-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.sh-language-transition__inner i {
  position: relative;
  width: min(240px, 68vw);
  height: 3px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(109, 63, 160, 0.12);
}

.sh-language-transition__inner i::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sh-language-purple), var(--sh-language-pink));
  content: "";
  animation: sh-language-progress 900ms ease-in-out infinite;
  transform-origin: left;
}

@keyframes sh-language-progress {
  0% { transform: translateX(-108%) scaleX(0.35); }
  55% { transform: translateX(8%) scaleX(0.8); }
  100% { transform: translateX(108%) scaleX(0.35); }
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Geeza Pro", Tahoma, "Segoe UI", sans-serif;
}

html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif;
}

html[lang="ko"] body {
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}

html[lang="ja"] body {
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
}

.sh-language__option[lang="ko"] {
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}

.sh-language__option[lang="ja"] {
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
}

.sh-locale-source-text {
  direction: ltr;
  unicode-bidi: isolate;
}

.sh-locale-status {
  position: relative;
  z-index: 12;
  border-bottom: 1px solid rgba(109, 63, 160, 0.12);
  background: linear-gradient(90deg, #fbf8fd, #fff 62%);
  color: var(--sh-language-ink);
}

html[data-shiora-translation-status]:not([data-shiora-translation-status="reviewed"]) {
  --sh-locale-status-height: 54px;
}

html[data-shiora-translation-status]:not([data-shiora-translation-status="reviewed"]) :is(.sh-hero--home, .sh-hero--photo, .sh-page-hero) {
  height: calc(var(--sh-hero-height) - var(--sh-locale-status-height));
  min-height: calc(var(--sh-hero-height) - var(--sh-locale-status-height));
  max-height: calc(var(--sh-hero-height) - var(--sh-locale-status-height));
}

.sh-locale-status__inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.sh-locale-status__marker {
  padding: 6px 9px;
  border: 1px solid rgba(199, 38, 106, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--sh-language-pink-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-locale-status p {
  margin: 0;
  color: var(--sh-language-muted);
  font-size: 11px;
  font-weight: 520;
  line-height: 1.45;
}

.sh-locale-status a {
  color: var(--sh-language-purple);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-locale-status a:hover,
.sh-locale-status a:focus-visible {
  color: var(--sh-language-pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[dir="rtl"] main,
html[dir="rtl"] .sh-footer,
html[dir="rtl"] .sh-locale-status {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .sh-nav__dropdown,
html[dir="rtl"] .sh-search__panel,
html[dir="rtl"] .sh-privacy__dialog {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .sh-nav__dropdown a,
html[dir="rtl"] .sh-footer__main,
html[dir="rtl"] .sh-newsletter__copy,
html[dir="rtl"] .sh-newsletter__field,
html[dir="rtl"] .sh-newsletter__consent {
  text-align: right;
}

/* Photography is composed with a calm text field on the physical left. Arabic
   keeps that clear field while its typography and controls read right to left. */
html[dir="rtl"] .sh-hero__content > :is(
  .sh-hero__eyebrow,
  .sh-section__eyebrow,
  .sh-hero__title,
  .sh-hero__sub,
  .sh-hero__lead,
  .sh-hero__body,
  .sh-hero__actions
) {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}

html[dir="rtl"] .sh-hero__content > :is(.sh-hero__eyebrow, .sh-section__eyebrow, .sh-hero__actions) {
  width: min(100%, 800px);
}

html[dir="rtl"] .sh-ui-arrow--east,
html[dir="rtl"] .sh-ui-arrow--west,
html[dir="rtl"] .sh-ui-arrow--north-east,
html[dir="rtl"] .sh-search__arrow {
  transform: scaleX(-1);
}

.sh-language__menu[data-interface-language="ar"] {
  direction: rtl;
  text-align: right;
}

.sh-language__menu[data-interface-language="ar"] .sh-language__option {
  direction: rtl;
  text-align: right;
}

.sh-language__menu[data-interface-language="ar"] .sh-language__label small {
  padding-inline-start: 66px;
  padding-inline-end: 0;
}

@media (max-width: 720px) {
  html[data-shiora-translation-status]:not([data-shiora-translation-status="reviewed"]) {
    --sh-locale-status-height: 72px;
  }

  .sh-locale-status__inner {
    padding-block: 12px;
    grid-template-columns: auto 1fr;
    gap: 7px 10px;
  }

  .sh-locale-status p {
    font-size: 10px;
  }

  .sh-locale-status a {
    grid-column: 2;
    justify-self: start;
  }

  html[dir="rtl"] .sh-locale-status a {
    justify-self: end;
  }
}

html[dir="rtl"] .sh-header__language {
  direction: rtl;
}

/* Longer localized navigation labels stay architectural at desktop widths.
   The search affordance becomes its compact keyboard form before any label
   is allowed to push the edition selector outside the viewport. */
@media (min-width: 961px) and (max-width: 1599px) {
  html[data-shiora-locale] .sh-header__inner {
    gap: 16px;
  }

  html[data-shiora-locale] .sh-header .sh-nav {
    gap: 14px;
  }

  html[data-shiora-locale] .sh-nav__menu,
  html[data-shiora-locale] .sh-nav__links {
    gap: 14px;
  }

  html[data-shiora-locale] .sh-nav__item > a,
  html[data-shiora-locale] .sh-nav__details > summary {
    font-size: 10px;
    letter-spacing: 0.095em;
  }

  html[data-shiora-locale] .sh-search-trigger--desktop {
    width: 54px;
    min-width: 54px;
    padding-inline: 11px;
    justify-content: center;
  }

  html[data-shiora-locale] .sh-search-trigger--desktop > span {
    display: none;
  }

  html[data-shiora-locale] .sh-button--nav {
    padding-inline: 13px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  html[data-shiora-locale] .sh-button--nav {
    display: none;
  }
}

.sh-language__option[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.sh-language__option[dir="rtl"] .sh-language__label {
  direction: rtl;
}

@media (max-width: 960px) {
  body.is-language-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .sh-search-trigger--mobile {
    order: 1;
  }

  .sh-header__language {
    z-index: 2300;
    order: 2;
  }

  .sh-nav__toggle {
    order: 3;
  }

  .sh-header .sh-nav {
    order: 4;
  }

  .sh-header__language > summary {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .sh-header__language .sh-language__compact,
  .sh-header__language .sh-nav__chevron {
    display: none;
  }

  .sh-header__language .sh-language__globe {
    width: 19px;
    height: 19px;
  }

  .sh-header__language .sh-language__backdrop {
    position: fixed;
    z-index: 2200;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(21, 12, 38, 0.5);
    cursor: default;
    display: block;
    backdrop-filter: blur(3px);
    animation: sh-language-backdrop-in 180ms ease both;
  }

  @keyframes sh-language-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .sh-header__language .sh-language__menu {
    position: fixed;
    z-index: 2300;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(86svh, 760px);
    padding: 27px 18px calc(22px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--sh-language-line);
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -24px 70px rgba(21, 12, 38, 0.23);
    gap: 17px;
    overscroll-behavior: contain;
    transform-origin: 50% 100%;
    animation: sh-language-sheet-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .sh-header__language .sh-language__menu::before {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(21, 12, 38, 0.15);
    content: "";
    transform: translateX(-50%);
  }

  @keyframes sh-language-sheet-in {
    from {
      opacity: 0;
      transform: translateY(36px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .sh-language__options {
    grid-template-columns: 1fr;
    max-height: min(440px, 52svh);
  }

  .sh-language__option:first-child {
    grid-column: auto;
  }

  .sh-language__option {
    min-height: 70px;
    padding-block: 11px;
  }
}

@media (max-width: 560px) {
  .sh-header__inner {
    gap: 7px;
  }

  .sh-language__panel-head {
    gap: 12px;
  }

  .sh-header__language .sh-language__heading {
    font-size: 23px;
  }

  .sh-language__intro {
    font-size: 12px;
  }

  .sh-language__option {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 9px;
  }

  .sh-language__code {
    width: 40px;
    height: 40px;
  }

  .sh-language__mode {
    padding-inline: 6px;
    font-size: 7.5px;
  }

  .sh-language__notice {
    padding: 12px;
  }
}

@media (min-width: 621px) and (max-width: 960px) {
  .sh-header__language .sh-language__menu {
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
    max-height: calc(100svh - 40px);
    padding: 30px 24px 24px;
    border: 1px solid var(--sh-language-line);
    border-radius: 24px;
  }

  .sh-header__language .sh-language__menu::before {
    display: none;
  }

  .sh-language__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(500px, 58svh);
  }

  .sh-language__option:first-child {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .sh-header__language .sh-language__menu {
    max-height: 90svh;
    padding-inline: 14px;
  }

  .sh-language__option {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
  }

  .sh-language__code {
    width: 38px;
    height: 38px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .sh-header__language > summary,
  .sh-language__option,
  .sh-language__close,
  .sh-language__check,
  .sh-language-transition {
    transition: none;
  }

  .sh-header__language .sh-language__menu,
  .sh-header__language .sh-language__backdrop {
    animation: none;
  }

  .sh-language__option:hover,
  .sh-language__close:hover {
    transform: none;
  }

  .sh-language-transition__inner i::after {
    animation: none;
    transform: none;
  }
}
