/* The English / Gujarati switch and the Gujarati typefaces (language.js, gujarati.js; 13-11-2026). */

/* The switch: a small smoky pill, on every screen. Phones: top right (the navigation is along the
   bottom). Wider screens: bottom left (the navigation is along the top). */
.lang-switch {
  position: fixed;
  z-index: 45;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: calc(env(safe-area-inset-right, 0px) + 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(255, 248, 238, .55);
  border-radius: 999px;
  background: rgba(18, 10, 5, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #FFF8EE;
  font: 600 14px/1 "Noto Sans Gujarati", "Archivo", system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 22px -12px rgba(18, 10, 5, .6);
  transition: background-color .3s ease, border-color .3s ease;
}
.lang-switch::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; } /* a 44px touch area */
.lang-switch [lang="en"] { font: 600 12px/1 "Archivo", system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.lang-switch:hover { background: rgba(18, 10, 5, .75); border-color: #FFF8EE; }
.lang-switch:focus-visible { outline: 2px solid #D9A55B; outline-offset: 2px; }
@media (min-width: 721px) {
  .lang-switch { top: auto; right: auto; left: 18px; bottom: 18px; }
}

/* Gujarati text: a Gujarati typeface in place of the Latin one, which has no Gujarati letters, and
   no letter-spacing or capitals, which break up Gujarati letters. */
.gu-serif, .gu-sans { letter-spacing: 0 !important; text-transform: none !important; }
.gu-serif { font-family: "Noto Serif Gujarati", "Nirmala UI", "Shruti", "Gujarati Sangam MN", serif !important; }
.gu-sans { font-family: "Noto Sans Gujarati", "Nirmala UI", "Shruti", "Gujarati Sangam MN", sans-serif !important; }
/* Gujarati vowel signs reach above and below the line: room for them in the tight headings. */
.j-cinema__title.gu-serif { line-height: 1.35 !important; padding-top: .06em; font-weight: 600; }
.j-cinema__kicker.gu-serif, .j-cinema__tagline.gu-serif, .j-cinema__countdown-heading.gu-serif { line-height: 1.45 !important; }
.j-cinema__announcement-text.gu-serif { line-height: 1.4 !important; }
.ev__mark.gu-serif { line-height: 1.35 !important; }
/* The small capital labels relied on spacing and capitals to stand out; in Gujarati they have
   neither, so they are set larger instead. */
.ev-card__label.gu-sans, .ev-card__label.gu-serif { font-size: 15px !important; font-weight: 600 !important; }
.j-family__relation.gu-sans, .j-family__relation.gu-serif { font-size: 17px !important; }
.j-kicker.gu-sans, .j-kicker.gu-serif { font-size: 17px !important; }
.j-temps__name.gu-sans { font-size: 14px !important; }
.ev-plan__when.gu-sans { font-size: 15px !important; }
.j-cinema__countdown-label.gu-serif { font-size: clamp(16px, 2.6vw, 28px) !important; }
