/* ==========================================================================
   JoyZone chrome — header bar, drawer, footer
   --------------------------------------------------------------------------
   Built from the sidebar reference in the brand kit. Every offset is a logical
   property, so the whole thing mirrors on `dir` and there is not one `left` or
   `right` in the file.

   The drawer opens from the START side: left in English, right in Arabic. That
   is what Arabic sites do, and getting it backwards is the most common RTL
   mistake there is.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. The bar
   -------------------------------------------------------------------------- */

.jz-bar {
  position: relative;
  z-index: 30;
  background: transparent;                 /* it floats on the ground */
}

.jz-bar__inner {
  max-width: 1120px;
  min-height: 64px;
  margin-inline: auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jz-logo { display: inline-flex; align-items: center; }
.jz-logo img { display: block; width: 112px; height: auto; }   /* 132 → 112: the new mark, a touch smaller (2026-09-15) */

.jz-bar__start,
.jz-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* The pills: white, edged, fully round — the same shape in the bar, the drawer
   and the footer, so they read as one family. */
/* Circles, not ovals.

   reset.css gives every button 0.5rem 1rem of padding, so a 20px icon inside a
   44px-tall button came out 52px wide and the "circle" was an egg. The size is
   fixed in both directions and the padding zeroed, which is the only way to be
   sure a round thing is round. */
.jz-pill,
.jz-burger,
.jz-close,
.jz-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
.jz-pill { font-size: .9rem; }

/* The way in is yellow, as it is on both platforms. Yellow is the loudest
   thing the palette has and this is the loudest thing on the bar - ink on it
   measures 12.10:1, the strongest pairing in the whole system. */
.jz-burger { background: var(--jz-yellow); color: var(--jz-yellow-ink); }

/* Hello Elementor's reset.css carries `button:focus, button:hover { background:
   #c36 }` — an old default that turned the drawer's close button magenta the
   moment it took focus, which it does automatically when the drawer opens. Its
   selector is [type="button"]:focus, so answering needs the state named here
   too; a plain class cannot outrank it. */
.jz-pill:hover, .jz-pill:focus, .jz-pill:active,
.jz-close:hover, .jz-close:focus, .jz-close:active,
.jz-social:hover, .jz-social:focus, .jz-social:active {
  background: var(--jz-panel);
  color: var(--jz-ink);
}
.jz-burger:hover, .jz-burger:focus, .jz-burger:active {
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
}

@media (hover: hover) {
  .jz-pill:hover,
  .jz-burger:hover,
  .jz-close:hover,
  .jz-social:hover { transform: translateY(-2px); box-shadow: 0 5.5px 0 var(--jz-line); }
}
.jz-pill:active,
.jz-burger:active,
.jz-close:active { transform: translateY(1px); box-shadow: 0 1.5px 0 var(--jz-line); }

.jz-pill:focus-visible,
.jz-burger:focus-visible,
.jz-close:focus-visible,
.jz-social:focus-visible,
.jz-row:focus-visible {
  outline: 3px solid var(--jz-line);        /* the keyline colour, not a browser blue */
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .jz-logo img { width: 92px; }
  .jz-bar__inner { padding: 8px 12px; }
}

/* --------------------------------------------------------------------------
   2. The drawer
   -------------------------------------------------------------------------- */

.jz-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.jz-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* The panel itself must not scroll: the spine and Joy are pinned to it, and an
   absolutely positioned child of a scroll container only covers one viewport
   of it and then slides away. An inner region scrolls instead. */
.jz-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: min(400px, 92vw);
  background: var(--jz-panel);
  color: var(--jz-ink);
  border-inline-end: 3px solid var(--jz-line);
  transform: translateX(-100%);
  transition: transform .32s var(--jz-ease);
}
[dir="rtl"] .jz-drawer { transform: translateX(100%); }
.jz-drawer[data-open="true"] { transform: translateX(0); }

.jz-spine {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 5px;
  background: var(--jz-yellow);
}

.jz-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.jz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
}
.jz-head img { display: block; width: 118px; height: auto; }

/* margin-block: auto rather than flex: 1 — flex:1 makes the nav swallow every
   spare pixel and dump it all below the last row, which shows badly when what
   sits under it is short. */
.jz-nav {
  margin-block: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

/* Rows are stickers on a rotating brand cycle. Every pairing is measured:
   ink on yellow 12.10:1, white on red 4.69:1, ink on cyan 8.11:1. */
.jz-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: "Komika Axis", system-ui, sans-serif;
  font-size: 1.06rem;
  text-align: start;
  text-decoration: none;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease),
              rotate .18s var(--jz-ease);
}
[dir="rtl"] .jz-row {
  font-family: "FF Hekaya", system-ui, sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0;
}
@media (hover: hover) {
  .jz-row:hover { transform: translateY(-2px); box-shadow: 0 5.5px 0 var(--jz-line); rotate: 0deg; }
}

.jz-row:nth-child(3n + 1) { background: var(--jz-yellow); color: var(--jz-yellow-ink); rotate: -1deg; }
.jz-row:nth-child(3n + 2) { background: var(--jz-red);    color: var(--jz-red-ink);    rotate: 1deg; }
.jz-row:nth-child(3n + 3) { background: var(--jz-cyan);   color: var(--jz-ink);        rotate: -1deg; }

/* The tilt mirrors with the layout; a tilt that stays put looks like a bug. */
[dir="rtl"] .jz-row:nth-child(3n + 1) { rotate: 1deg; }
[dir="rtl"] .jz-row:nth-child(3n + 2) { rotate: -1deg; }
[dir="rtl"] .jz-row:nth-child(3n + 3) { rotate: 1deg; }

/* The current page states itself with a keyline rather than a fourth colour;
   the row already has one of the three. */
.jz-row.is-current {
  border-width: 4px;
  box-shadow: 0 6px 0 var(--jz-line);
}

/* The bottom padding clears Joy, who overhangs the corner at -30px and is
   132px wide — without it the last icon sits underneath her. */
.jz-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 148px;
}
@media (max-width: 420px) { .jz-drawer-foot { padding-bottom: 122px; } }

/* Centred, in the drawer and in the footer both. Left to itself a flex row
   starts at the start edge, which in Arabic is the right - and a row of five
   circles hugging one side reads as unfinished. */
.jz-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.jz-social svg { width: 20px; height: 20px; }

/* Joy peeks over the bottom outer corner and bobs. */
.jz-joy {
  position: absolute;
  inset-inline-start: -30px;
  inset-block-end: -26px;
  width: 150px;
  opacity: .95;
  pointer-events: none;
}
.jz-joy img { display: block; width: 100%; height: auto; }
@media (max-width: 420px) { .jz-joy { width: 120px; } }

@media (prefers-reduced-motion: reduce) {
  .jz-drawer, .jz-scrim, .jz-row, .jz-close, .jz-burger, .jz-social, .jz-pill {
    transition: none;
  }
  .jz-row { rotate: 0deg; }
}

/* --------------------------------------------------------------------------
   3. The footer — one row

   Copyright at the start, contact circles centred, developer credit at the end.
   The circles are the same pill shape as everywhere else, so the page ends in
   the vocabulary it began with.
   -------------------------------------------------------------------------- */

.jz-foot {
  margin-block-start: 48px;
  padding: 20px 16px;
  background: var(--jz-ground);
  border-block-start: 3px solid var(--jz-line);
  color: var(--jz-ink);
}

.jz-foot__inner {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* The circles take the middle and stay there: the two ends are different
   widths, so centring them on the row rather than in the leftover space is
   what keeps them under the middle of the page. */
.jz-foot .jz-socials {
  flex: 1 1 auto;
  justify-content: center;
  gap: 10px;
}

.jz-foot__fine {
  margin: 0;
  flex: 0 1 auto;
  font-size: .9rem;
  color: var(--jz-ink);                      /* 13.98:1 on the ground */
}

.jz-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  text-decoration: none;
  font-size: .88rem;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
.jz-credit strong { font-weight: 400; font-size: 1rem; }
.jz-credit__mark { display: block; width: 92px; height: auto; }   /* the mark carries its tagline now; 74px made it unreadable */
@media (hover: hover) {
  .jz-credit:hover { transform: translateY(-2px); box-shadow: 0 5.5px 0 var(--jz-line); }
}
.jz-credit:focus-visible { outline: 3px solid var(--jz-line); outline-offset: 3px; }

/* Below about 860px the three parts stop fitting on one line, so they stack
   and centre rather than squeezing the circles into a scroll. */
@media (max-width: 860px) {
  .jz-foot__inner { flex-direction: column; gap: 16px; }
  .jz-foot__fine { order: 3; text-align: center; }
  .jz-foot .jz-socials { order: 1; flex-wrap: wrap; }
  .jz-credit { order: 2; }
}

/* --------------------------------------------------------------------------
   4. The location card — drawer only
   -------------------------------------------------------------------------- */

.jz-loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  text-decoration: none;
  min-height: 56px;
}
.jz-loc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: .9rem;
  font-weight: 700;
}
.jz-loc-label > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jz-loc-label svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .75; }

.jz-loc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 14px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);              /* 12.10:1 */
  font-size: .82rem;
}

/* ==========================================================================
   5. The page sections — hero, game types, the closing band

   These dress Elementor sections that already exist. The structure stays in
   the builder and is still editable there; only the look comes from here, so
   the tokens live in one place and the page cannot drift away from the rest
   of the site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   5a. The hero
   -------------------------------------------------------------------------- */

.jz-brand #jz-hero, .jz-brand .jz-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block-end: 3px solid var(--jz-line);
}

/* A very slow drift across the photograph. Twenty-eight seconds is long
   enough that it is felt rather than watched, which is the point: it must not
   compete with the words on top of it. */
@keyframes jz-kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(0, -1.2%, 0); }
}
.jz-brand #jz-hero, .jz-brand .jz-hero > .elementor-background-overlay { z-index: 1; }
.jz-brand #jz-hero, .jz-brand .jz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  animation: jz-kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
.jz-brand #jz-hero, .jz-brand .jz-hero > .elementor-container,
.jz-brand #jz-hero, .jz-brand .jz-hero > .e-con-inner { position: relative; z-index: 2; }

@media (max-width: 767px) {
  .jz-brand #jz-hero, .jz-brand .jz-hero { min-height: 55vh; }
}

/* The poster title: yellow fill, black stroke, hard cast. Against the ink
   overlay the yellow measures 8.6:1, and the stroke carries it over any part
   of the photograph underneath. */
.jz-brand .jz-hero__title .elementor-heading-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: .5px;
  color: var(--jz-yellow);
  -webkit-text-stroke: 3px var(--jz-line);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--jz-line);
  margin: 0;
}
[dir="rtl"] .jz-brand .jz-hero__title .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.26;
}
@supports not (paint-order: stroke) {
  .jz-brand .jz-hero__title .elementor-heading-title { -webkit-text-stroke: 0; }
}

/* White on the ink overlay is 12.4:1. */
.jz-brand .jz-hero__lede,
.jz-brand .jz-hero__lede p {
  font-family: "Baloo Bhaijaan 2", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.8;
  color: #fff;
  margin: 14px 0 0;
}

/* The kicker is the tab from the kit: a tilted red sticker on the open ground.
   It mirrors its tilt in Arabic like every other one. */
.jz-brand .jz-hero__kicker .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  padding: .44rem 1.06rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  background: var(--jz-red);
  color: var(--jz-red-ink);                  /* 4.69:1 */
  box-shadow: 0 3.5px 0 var(--jz-line);
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: .4px;
  rotate: -1deg;
  margin-block-start: 22px;
}
[dir="rtl"] .jz-brand .jz-hero__kicker .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
  rotate: 1deg;
}

/* The buttons are the kit's, not Elementor's. */
.jz-brand .jz-hero__cta .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .7rem 1.6rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  background: var(--jz-cyan);
  color: var(--jz-ink);                      /* 8.11:1 — never white */
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: .4px;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
[dir="rtl"] .jz-brand .jz-hero__cta .elementor-button {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
}
.jz-brand .jz-hero__cta--quiet .elementor-button {
  background: var(--jz-panel);
  color: var(--jz-ink);
}
@media (hover: hover) {
  .jz-brand .jz-hero__cta .elementor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6.5px 0 var(--jz-line);
    background: var(--jz-cyan);
    color: var(--jz-ink);
  }
  .jz-brand .jz-hero__cta--quiet .elementor-button:hover {
    background: var(--jz-panel);
    color: var(--jz-ink);
  }
}
.jz-brand .jz-hero__cta .elementor-button:active {
  transform: translateY(2px);
  box-shadow: 0 1.5px 0 var(--jz-line);
}

/* The two buttons sit side by side rather than stacked. */
.jz-brand .jz-hero__cta { display: inline-block; margin: 22px 6px 0; }

/* --------------------------------------------------------------------------
   5b. The game types
   -------------------------------------------------------------------------- */

.jz-brand #jz-types, .jz-brand .jz-types { background: var(--jz-ground); }

/* The card frame itself is drawn in 5h/5j below. The first draft here put
   the frame on the column and, through a comma in the wrong place, gave every
   column a permanent transform that the hover rule then removed - so a card
   shrank when pointed at. Gone. */

.jz-brand .jz-type__shot { overflow: hidden; margin: 0; }
.jz-brand .jz-type__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.jz-brand .jz-type__name,
.jz-brand .jz-type__name p {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: .4px;
  color: var(--jz-ink);
  margin: 16px 14px 0;
}
[dir="rtl"] .jz-brand .jz-type__name,
[dir="rtl"] .jz-brand .jz-type__name p {
  font-family: "FF Hekaya", system-ui, sans-serif;
  font-size: 1.14rem;
  letter-spacing: 0;
  line-height: 1.32;
}

/* --------------------------------------------------------------------------
   5c. The closing band, where the rabbit stands
   -------------------------------------------------------------------------- */

.jz-brand #jz-joyband, .jz-brand .jz-joyband { background: var(--jz-ground); position: relative; }

.jz-brand #jz-joyband, .jz-brand .jz-joyband .elementor-heading-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.28;
  color: var(--jz-ink);
}
[dir="rtl"] .jz-brand #jz-joyband, .jz-brand .jz-joyband .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.32;
}

/* She bobs, gently, and stops when the visitor has asked for less movement. */
.jz-brand .jz-joyband__joy img {
  animation: jz-bob 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(16, 42, 47, .26));
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand #jz-hero, .jz-brand .jz-hero::before { animation: none; }
  .jz-brand .jz-joyband__joy img { animation: none; }
  .jz-brand .jz-hero__cta .elementor-button { transition: none; }
}

/* --------------------------------------------------------------------------
   5d. Widths, and the pixel of horizontal scroll

   The Ken Burns layer grows past the section on its long edge; without
   clipping it, the page gains a few pixels of sideways scroll at every width.
   The cards also need saying explicitly: Elementor keeps four 25% columns down
   to its own mobile breakpoint, which leaves two 164px cards side by side on a
   360px phone.
   -------------------------------------------------------------------------- */

.jz-brand { overflow-x: clip; }

.jz-brand #jz-hero { max-width: 100%; }
.jz-brand #jz-hero::before { inset: -2%; }

@media (max-width: 1024px) {
  .jz-brand #jz-types .elementor-column { width: 50%; }
}
@media (max-width: 600px) {
  .jz-brand #jz-types .elementor-column { width: 100%; }
}

/* Elementor's own column padding fights the card edge, so the gutter is put
   between the cards instead of inside them. */
.jz-brand [id^="jz-type-"] > .elementor-widget-wrap,
.jz-brand [id^="jz-type-"] > .elementor-element-populated { padding: 0; }
.jz-brand #jz-types .elementor-column { padding-inline: 17px; padding-block: 17px; }

/* --------------------------------------------------------------------------
   5e. The closed drawer must not widen the page

   The drawer is position:fixed and parked off-screen with translateX(100%).
   A fixed element still counts towards the document's scroll width, so the
   page gained a few pixels of sideways scroll at every width - and body
   clipping cannot contain it, because fixed elements escape it.

   Hiding it while closed removes it from that calculation, and has the second
   benefit of taking it out of the tab order without needing an inert
   attribute.
   -------------------------------------------------------------------------- */

.jz-drawer {
  visibility: hidden;
  transition: transform .32s var(--jz-ease), visibility 0s linear .32s;
}
.jz-drawer[data-open="true"] {
  visibility: visible;
  transition: transform .32s var(--jz-ease), visibility 0s;
}

/* The closed drawer is fixed and parked off-screen; a fixed element escapes
   body clipping and Chrome still counts a few of its pixels towards the
   document width. Clipping at the root is what actually settles it, and there
   is no sticky positioning on this site that depends on the root scrolling. */
html { overflow-x: hidden; }

/* --------------------------------------------------------------------------
   5f. The hero photograph

   Elementor wrote the overlay rule but not the background image: this build
   defers section backgrounds to a lazy-load path that never resolved here, so
   the section rendered as an overlay over nothing. The photograph is named
   directly instead - it is a fixed asset in the media library, and one line
   here is steadier than a control that silently produced no rule.

   The Ken Burns layer carries the image; the section itself stays clear so the
   overlay above it is the only thing between the photo and the words.
   -------------------------------------------------------------------------- */

.jz-brand #jz-hero::before {
  background-image: url("/wp-content/uploads/2022/08/0C3A8403-min-scaled.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

/* The two calls to action belong on one line, not stacked. */
.jz-brand #jz-hero .elementor-widget-wrap,
.jz-brand #jz-hero .elementor-element-populated {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jz-brand .jz-hero__cta {
  display: inline-block;
  width: auto;
  max-width: none;
}
.jz-brand #jz-hero .elementor-widget-button { width: auto; }

/* Side by side: the primary sits at the start, the quiet one after it. */
@media (min-width: 481px) {
  .jz-brand #jz-hero .elementor-widget-wrap,
  .jz-brand #jz-hero .elementor-element-populated {
    flex-flow: row wrap;
    justify-content: center;
    gap: 0 12px;
  }
  .jz-brand #jz-hero .elementor-widget-heading,
  .jz-brand #jz-hero .elementor-widget-icon { flex: 1 0 100%; }
}

/* The photograph goes on the section itself.

   Putting it on a ::before layer looked right on paper - a separate layer is
   the clean way to animate a background without moving the content - but the
   layer never showed: Elementor's own overlay element sits above it inside the
   same stacking context and the section paints its background first. Rather
   than fight the order, the image is the section's background and the drift is
   applied with background-position, which needs no extra layer at all. */
.jz-brand #jz-hero {
  background-image: url("/wp-content/uploads/2022/08/0C3A8403-min-scaled.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  animation: jz-drift 30s ease-in-out infinite alternate;
}
.jz-brand #jz-hero::before { content: none; }

@keyframes jz-drift {
  from { background-size: cover;      background-position: center 42%; }
  to   { background-size: 112% auto;  background-position: center 46%; }
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand #jz-hero { animation: none; }
}

/* --------------------------------------------------------------------------
   5g. The About page

   Same vocabulary as the homepage: a photograph behind a poster title, then
   framed panels with a red tab above each. Not one word of the page changed -
   only how it is set.
   -------------------------------------------------------------------------- */

.jz-brand #jz-about-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block-end: 3px solid var(--jz-line);
  background-image: url("/wp-content/uploads/2022/08/0C3A8410-min-scaled.jpg");
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  animation: jz-drift 30s ease-in-out infinite alternate;
}
@media (max-width: 767px) { .jz-brand #jz-about-hero { min-height: 46vh; } }

.jz-brand #jz-about-hero-title .elementor-heading-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: .5px;
  color: var(--jz-yellow);
  -webkit-text-stroke: 3px var(--jz-line);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--jz-line);
  margin: 0;
}
[dir="rtl"] .jz-brand #jz-about-hero-title .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.26;
}
@supports not (paint-order: stroke) {
  .jz-brand #jz-about-hero-title .elementor-heading-title { -webkit-text-stroke: 0; }
}

/* Joy is not in this hero. The widget stays in the builder so nothing has to
   be deleted there; it is simply not drawn, and the title has the banner to
   itself. */
.jz-brand #jz-about-joy { display: none; }

.jz-brand #jz-about { background: var(--jz-ground); padding-block: 44px 56px; }

/* The opening paragraph reads as a lede, in one comfortable measure. */
.jz-brand #jz-about-lede,
.jz-brand #jz-about-lede p {
  font-family: "Baloo Bhaijaan 2", system-ui, sans-serif;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--jz-muted);                    /* 8.27:1 on the ground */
  max-width: 68ch;
  margin-inline: auto;
}

.jz-brand #jz-about-title .elementor-heading-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.28;
  color: var(--jz-ink);
}
[dir="rtl"] .jz-brand #jz-about-title .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.32;
}

/* Each of the three labels is the kit's tab: a tilted red sticker sitting on
   the open ground above its panel, never inside it. */
.jz-brand [id^="jz-about-tab-"] .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  padding: .46rem 1.2rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  background: var(--jz-red);
  color: var(--jz-red-ink);                  /* 4.69:1 */
  box-shadow: 0 3.5px 0 var(--jz-line);
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: .4px;
  rotate: -1deg;
}
[dir="rtl"] .jz-brand [id^="jz-about-tab-"] .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.35;
  rotate: 1deg;
}
.jz-brand [id^="jz-about-tab-"] { margin-block: 40px 14px; }

/* The photographs become panels: keyline, hard cast, and the picture clipped
   to the frame so the corners stay concentric. */
.jz-brand [id^="jz-about-shot-"] {
  max-width: 900px;
  margin-inline: auto;
}
.jz-brand [id^="jz-about-shot-"] figure,
.jz-brand [id^="jz-about-shot-"] .elementor-widget-container {
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: hidden;
  background: var(--jz-panel);
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
.jz-brand [id^="jz-about-shot-"] img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
@media (hover: hover) {
  .jz-brand [id^="jz-about-shot-"] figure:hover,
  .jz-brand [id^="jz-about-shot-"] .elementor-widget-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 0 var(--jz-line), 0 22px 40px rgba(16, 42, 47, .26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand #jz-about-hero { animation: none; }
  .jz-brand #jz-about-joy img { animation: none; }
  .jz-brand [id^="jz-about-shot-"] figure,
  .jz-brand [id^="jz-about-shot-"] .elementor-widget-container { transition: none; }
}

/* The photograph has to fill its frame.

   Elementor's image widget keeps the picture at its natural width inside a
   full-width container, so a 900px panel around a 600px photo left a white
   band down one side - and in Arabic it landed on the left, which read as a
   layout fault rather than a margin. The rule below is written against
   Elementor's own class so it outranks the widget's default. */
.jz-brand [id^="jz-about-shot-"] .elementor-widget-container img,
.jz-brand [id^="jz-about-shot-"] figure img,
.jz-brand [id^="jz-about-shot-"] .elementor-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}
.jz-brand [id^="jz-about-shot-"] figure,
.jz-brand [id^="jz-about-shot-"] .elementor-image { margin: 0; line-height: 0; }

/* The hero centres its title; the flex column is kept so anything added to
   the banner later lands centred as well. */
.jz-brand #jz-about-hero .elementor-widget-wrap,
.jz-brand #jz-about-hero .elementor-element-populated {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
@media (min-width: 900px) {
  .jz-brand #jz-about-hero .elementor-widget-wrap,
  .jz-brand #jz-about-hero .elementor-element-populated {
    flex-direction: row;
    justify-content: center;
    gap: 34px;
  }
  .jz-brand #jz-about-hero-title { width: auto; }
}

/* --------------------------------------------------------------------------
   5h. The game-type cards, rebuilt

   The photograph fills the top of the card edge to edge and is clipped by the
   card's own radius, so there is one rounded shape rather than three
   disagreeing ones. The name sits under it on white, in the display face.

   The picture grows on hover inside its frame and nowhere else - the frame is
   what does the clipping, so nothing spills over the keyline.
   -------------------------------------------------------------------------- */

.jz-brand #jz-types { padding-block: 10px 56px; }

.jz-brand [id^="jz-type-"] {
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: hidden;
  padding: 0;
  display: flex;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}

/* Elementor puts its own padded wrapper inside the column; it is zeroed so the
   photograph can reach the keyline. */
.jz-brand [id^="jz-type-"] > .elementor-widget-wrap,
.jz-brand [id^="jz-type-"] > .elementor-element-populated {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* The photograph -------------------------------------------------------- */

.jz-brand [id^="jz-type-"] .elementor-widget-image {
  margin: 0;
  overflow: hidden;                          /* the frame that clips the zoom */
  line-height: 0;
  border-block-end: 3px solid var(--jz-line);
}
.jz-brand [id^="jz-type-"] .elementor-widget-image .elementor-widget-container,
.jz-brand [id^="jz-type-"] .elementor-widget-image figure,
.jz-brand [id^="jz-type-"] .elementor-widget-image .elementor-image {
  margin: 0;
  line-height: 0;
  overflow: hidden;
}
.jz-brand [id^="jz-type-"] .elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;                          /* the card does the rounding */
}

/* The name -------------------------------------------------------------- */

.jz-brand [id^="jz-type-"] .elementor-widget-text-editor {
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jz-brand [id^="jz-type-"] .elementor-widget-text-editor .elementor-widget-container {
  background: transparent;
  border-radius: 0;
  padding: 16px 14px 18px;
  width: 100%;
}
.jz-brand [id^="jz-type-"] .elementor-widget-text-editor p {
  margin: 0;
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: .4px;
  color: var(--jz-ink);                      /* 16.3:1 on white */
  text-align: center;
}
[dir="rtl"] .jz-brand [id^="jz-type-"] .elementor-widget-text-editor p {
  font-family: "FF Hekaya", system-ui, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.38;
}

/* A small yellow rule under the name, the width of the word. It is the one
   piece of colour on an otherwise white lower half, and it stops the card
   ending on nothing. */
.jz-brand [id^="jz-type-"] .elementor-widget-text-editor p::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin: 11px auto 0;
  border-radius: 999px;
  background: var(--jz-yellow);
  border: 2px solid var(--jz-line);
}

/* Each card leans a degree, alternating - the sticker-book move from the kit,
   used on two things per view rather than everything. The lean stays put on
   hover: the card only grows, see 5j. */
.jz-brand [id^="jz-type-"]:nth-child(odd)  { rotate: -.6deg; }
.jz-brand [id^="jz-type-"]:nth-child(even) { rotate:  .6deg; }
[dir="rtl"] .jz-brand [id^="jz-type-"]:nth-child(odd)  { rotate:  .6deg; }
[dir="rtl"] .jz-brand [id^="jz-type-"]:nth-child(even) { rotate: -.6deg; }

@media (prefers-reduced-motion: reduce) {
  .jz-brand [id^="jz-type-"] { transition: none; rotate: 0deg; }
}

/* --------------------------------------------------------------------------
   5i. The About panels: one radius, not two

   The photographs there carry a radius in their own Elementor settings too,
   which showed through the frame as a 39px corner inside an 18px one.
   -------------------------------------------------------------------------- */

.jz-brand [id^="jz-about-shot-"] .elementor-widget-container,
.jz-brand [id^="jz-about-shot-"] figure {
  border-radius: 18px;
}
.jz-brand [id^="jz-about-shot-"] img { border-radius: 0; }

/* --------------------------------------------------------------------------
   5j. The card is the inner wrapper, not the column

   The column carries the gutter between cards. While the card WAS the column,
   that gutter sat inside the keyline and held the photograph 22px off the
   edge - the thing that made the row look unfinished. So the frame moves one
   level in: the column stays transparent and spaces the cards, and Elementor's
   own populated wrapper becomes the card.
   -------------------------------------------------------------------------- */

.jz-brand [id^="jz-type-"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 17px;
  rotate: 0deg;
}

.jz-brand [id^="jz-type-"] > .elementor-widget-wrap,
.jz-brand [id^="jz-type-"] > .elementor-element-populated {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: hidden;
  transition: transform .22s var(--jz-ease);
}

/* The lean moves to the frame with it. */
.jz-brand [id^="jz-type-"]:nth-child(odd) > .elementor-element-populated  { rotate: -.6deg; }
.jz-brand [id^="jz-type-"]:nth-child(even) > .elementor-element-populated { rotate:  .6deg; }
[dir="rtl"] .jz-brand [id^="jz-type-"]:nth-child(odd) > .elementor-element-populated  { rotate:  .6deg; }
[dir="rtl"] .jz-brand [id^="jz-type-"]:nth-child(even) > .elementor-element-populated { rotate: -.6deg; }

/* On hover the card grows a touch and nothing else moves: no lift, no
   straightening, no zoom inside the photograph. Three things moving at once
   read as a glitch rather than a response, and one is enough to say "this is
   the one you are pointing at". The lean is a separate property, so the
   scale does not disturb it. */
@media (hover: hover) {
  .jz-brand [id^="jz-type-"]:hover > .elementor-element-populated { transform: scale(1.035); }
  .jz-brand [id^="jz-type-"]:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand [id^="jz-type-"] > .elementor-element-populated { transition: none; rotate: 0deg; }
  .jz-brand [id^="jz-type-"]:hover > .elementor-element-populated { transform: none; }
}

/* The source photographs are square (800x800) and a 4:3 frame took a quarter
   of their height off. Taller frame, and the crop is pulled up towards the top
   of the picture - in three of the four a child's face is in the upper half,
   and that is the part worth keeping. */
.jz-brand [id^="jz-type-"] .elementor-widget-image img {
  aspect-ratio: 5 / 4;
  object-position: center 28%;
}

/* --------------------------------------------------------------------------
   5k. The closing band, rebuilt: Joy points at the buttons

   The band was a heading, Joy, and a second heading dressed as a red pill
   that linked nowhere - and she stood under the first heading pointing at
   empty ground. inc/page-sections.php turns the second heading into three
   real buttons and marks the two heading widgets, so the whole thing can be
   set as one panel: Joy at the START edge, the title and the buttons beside
   her, in the direction her arm points.

   Her arm points to the screen's left. In Arabic the start edge is the right,
   so she faces the buttons on her own; in English she is mirrored so she
   still does. `scale` is its own property, so the bob animation - which owns
   `transform` - is not disturbed.
   -------------------------------------------------------------------------- */

.jz-brand #jz-joyband { padding-block: 24px 64px; }

.jz-brand #jz-joyband > .elementor-container > .elementor-column > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr);
  grid-template-areas:
    "joy title"
    "joy cta";
  align-items: center;
  column-gap: clamp(16px, 4vw, 48px);
  row-gap: 0;
  position: relative;
  margin-block-start: 64px;                  /* room for her ears above the keyline */
  padding: clamp(18px, 3vw, 34px) clamp(20px, 4vw, 48px) clamp(18px, 3vw, 30px);
  background:
    radial-gradient(var(--jz-tint) 2px, transparent 2.6px) 0 0 / 22px 22px,
    var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: visible;
}

/* Joy ------------------------------------------------------------------- */

.jz-brand #jz-joyband .jz-joyband__joy {
  grid-area: joy;
  align-self: end;
  margin: 0;
  width: 100%;
}
.jz-brand #jz-joyband .jz-joyband__joy > .elementor-widget-container {
  margin: 0;
  padding: 0;
  line-height: 0;
  text-align: center;
}
.jz-brand #jz-joyband .jz-joyband__joy img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-inline: auto;
  margin-block-start: -92px;                 /* she stands taller than the panel */
  animation: jz-bob 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(16, 42, 47, .26));
}
[dir="ltr"] .jz-brand #jz-joyband .jz-joyband__joy img { scale: -1 1; }

/* The title ------------------------------------------------------------- */

.jz-brand #jz-joyband .jz-joyband__title {
  grid-area: title;
  margin: 0;
  width: 100%;
  text-align: start;
}
/* The burst behind the words is Elementor's own background image and stays;
   only its box is re-set so it hugs the words instead of a 20% margin. */
.jz-brand #jz-joyband .jz-joyband__title > .elementor-widget-container {
  display: inline-block;
  margin: 0;
  margin-inline-start: -34px;                /* the burst has its own clear edge; this lines the drawn shape up with the buttons */
  padding: 62px 74px 58px;                  /* the burst needs air around the words */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
}
.jz-brand #jz-joyband .jz-joyband__title .elementor-heading-title {
  margin: 0;
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: .5px;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--jz-line);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--jz-line);
  text-align: center;
}
[dir="rtl"] .jz-brand #jz-joyband .jz-joyband__title .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
}
@supports not (paint-order: stroke) {
  .jz-brand #jz-joyband .jz-joyband__title .elementor-heading-title { -webkit-text-stroke: 0; }
}

/* The buttons ----------------------------------------------------------- */

.jz-brand #jz-joyband .jz-joyband__ctawrap {
  grid-area: cta;
  margin: 0;
  width: 100%;
  text-align: start;
}
/* Elementor drew the old red pill on this container; every part of it is
   cleared so the buttons sit on the panel itself. */
.jz-brand #jz-joyband .jz-joyband__ctawrap > .elementor-widget-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.jz-brand .jz-joyband__lede {
  margin: 0 0 18px;
  max-width: 46ch;
  font-family: "Baloo Bhaijaan 2", system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  line-height: 1.8;
  color: var(--jz-muted);                    /* 8.27:1 on white */
}
.jz-brand .jz-joyband__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
}
.jz-brand .jz-joyband__btns .jz-btn {
  min-height: 52px;
  padding: .7rem 1.6rem;
  font-size: 1.08rem;
  text-decoration: none;
}
.jz-brand .jz-joyband__btns .jz-btn:hover,
.jz-brand .jz-joyband__btns .jz-btn:focus-visible { text-decoration: none; }

/* Narrow: one column, everything centred, and she stands between the title
   and the buttons rather than beside them. */
@media (max-width: 760px) {
  .jz-brand #jz-joyband > .elementor-container > .elementor-column > .elementor-widget-wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "joy"
      "cta";
    margin-block-start: 24px;
    padding: 22px 18px 24px;
    row-gap: 6px;
  }
  .jz-brand #jz-joyband .jz-joyband__title,
  .jz-brand #jz-joyband .jz-joyband__ctawrap { text-align: center; }
  .jz-brand #jz-joyband .jz-joyband__title > .elementor-widget-container { padding: 54px 60px 50px; margin-inline-start: 0; }
  .jz-brand #jz-joyband .jz-joyband__joy img { max-width: 190px; margin-block-start: 0; }
  .jz-brand .jz-joyband__lede { margin-inline: auto; }
  .jz-brand .jz-joyband__btns { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand #jz-joyband .jz-joyband__joy img { animation: none; }
}

/* --------------------------------------------------------------------------
   5l. The About page: the three panels become three cards, side by side

   inc/page-sections.php wraps each label + photograph pair in .jz-about-card,
   photograph first. From there the card has the same anatomy as the game-type
   cards on the home page: photo on top clipped by the frame, name under it on
   white with the yellow rule, a degree of lean, and a touch of growth on
   hover. The section's own title and lede stay full-width above the row.
   -------------------------------------------------------------------------- */

.jz-brand #jz-about > .elementor-container > .elementor-column > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  align-items: stretch;
}
.jz-brand #jz-about #jz-about-title,
.jz-brand #jz-about #jz-about-lede {
  grid-column: 1 / -1;
  width: 100%;
}
.jz-brand #jz-about #jz-about-title { margin-block-end: 0; }
.jz-brand #jz-about #jz-about-lede  { margin-block-end: 14px; }

.jz-brand #jz-about .jz-about-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: hidden;
  transition: transform .22s var(--jz-ease);
}
/* Title and lede are the first two children, so the cards start at three:
   odd leans one way, even the other, mirrored in Arabic like the home page. */
.jz-brand #jz-about .jz-about-card:nth-child(odd)  { rotate: -.6deg; }
.jz-brand #jz-about .jz-about-card:nth-child(even) { rotate:  .6deg; }
[dir="rtl"] .jz-brand #jz-about .jz-about-card:nth-child(odd)  { rotate:  .6deg; }
[dir="rtl"] .jz-brand #jz-about .jz-about-card:nth-child(even) { rotate: -.6deg; }
@media (hover: hover) {
  .jz-brand #jz-about .jz-about-card:hover { transform: scale(1.035); }
}

/* The photograph: the frame in 5g/5i came off the widget and onto the card,
   so everything the widget used to carry is cleared here. */
.jz-brand #jz-about .jz-about-card [id^="jz-about-shot-"] {
  margin: 0;
  max-width: none;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  border-block-end: 3px solid var(--jz-line);
}
.jz-brand #jz-about .jz-about-card [id^="jz-about-shot-"] .elementor-widget-container,
.jz-brand #jz-about .jz-about-card [id^="jz-about-shot-"] figure,
.jz-brand #jz-about .jz-about-card [id^="jz-about-shot-"] .elementor-image {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  line-height: 0;
  transform: none;
  transition: none;
}
.jz-brand #jz-about .jz-about-card [id^="jz-about-shot-"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 0;                          /* the card does the rounding */
}

/* The name: the red sticker becomes the plain name under the photograph. */
.jz-brand #jz-about .jz-about-card [id^="jz-about-tab-"] {
  margin: 0;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 18px;
  text-align: center;
}
.jz-brand #jz-about .jz-about-card [id^="jz-about-tab-"] > .elementor-widget-container {
  margin: 0;
  padding: 0;
  width: 100%;
}
.jz-brand #jz-about .jz-about-card [id^="jz-about-tab-"] .elementor-heading-title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  rotate: 0deg;
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: .4px;
  color: var(--jz-ink);                      /* 16.3:1 on white */
  text-align: center;
}
[dir="rtl"] .jz-brand #jz-about .jz-about-card [id^="jz-about-tab-"] .elementor-heading-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.38;
}
.jz-brand #jz-about .jz-about-card [id^="jz-about-tab-"] .elementor-heading-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin: 11px auto 0;
  border-radius: 999px;
  background: var(--jz-yellow);
  border: 2px solid var(--jz-line);
}

@media (max-width: 700px) {
  .jz-brand #jz-about > .elementor-container > .elementor-column > .elementor-widget-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .jz-brand #jz-about .jz-about-card { max-width: 420px; width: 100%; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .jz-brand #jz-about .jz-about-card { transition: none; rotate: 0deg; }
  .jz-brand #jz-about .jz-about-card:hover { transform: none; }
}

/* ==========================================================================
   6. Site-wide details
   ========================================================================== */

/* --------------------------------------------------------------------------
   6a. Everything that can be pressed says so

   The kit's buttons carry cursor: pointer; the pills, the burger, the day
   cells and Elementor's own buttons did not, and a hand cursor is how a
   desktop visitor tells a control from a label.
   -------------------------------------------------------------------------- */
.jz-brand a[href],
.jz-brand button:not(:disabled),
.jz-brand [role="button"],
.jz-brand input[type="submit"],
.jz-brand input[type="button"],
.jz-brand input[type="checkbox"],
.jz-brand input[type="radio"],
.jz-brand select,
.jz-brand summary,
.jz-brand label[for],
.jz-brand .jz-btn,
.jz-brand .jz-pill,
.jz-brand .jz-burger,
.jz-brand .jz-close,
.jz-brand .jz-row,
.jz-brand .jz-social,
.jz-brand .elementor-button,
.jz-brand .elementor-button-link,
.jz-brand .jz-hero__cta,
.jz-brand .jz-joyband__btns a,
.jz-brand .mwai-trigger,
.jz-brand .mwai-send,
.jz-brand .mwai-mobile-header-close { cursor: pointer; }
.jz-brand button:disabled,
.jz-brand .jz-btn:disabled,
.jz-brand .jz-btn[aria-disabled="true"] { cursor: not-allowed; }

/* --------------------------------------------------------------------------
   6b. English weight

   Geist at 400 is a light face at body size, and next to Komika's heavy
   display setting it read as thin all over the English site. Body copy,
   ledes and form text move to 500; labels and the small caption strings to
   600. The Arabic side (Cairo) already sits at these weights and is left
   alone - the rule is scoped to the LTR document.
   -------------------------------------------------------------------------- */
html:not([dir="rtl"]) .jz-brand,
html:not([dir="rtl"]) .jz-brand p,
html:not([dir="rtl"]) .jz-brand li,
html:not([dir="rtl"]) .jz-brand input,
html:not([dir="rtl"]) .jz-brand select,
html:not([dir="rtl"]) .jz-brand textarea,
html:not([dir="rtl"]) .jz-brand .elementor-widget-text-editor,
html:not([dir="rtl"]) .jz-brand .jz-lede,
html:not([dir="rtl"]) .jz-brand .jzps-wrap,
html:not([dir="rtl"]) .jz-brand .jz-booking-container,
html:not([dir="rtl"]) .jz-brand .jz-foot__fine {
  font-weight: 500;
}
html:not([dir="rtl"]) .jz-brand label,
html:not([dir="rtl"]) .jz-brand small,
html:not([dir="rtl"]) .jz-brand .jz-loc-label,
html:not([dir="rtl"]) .jz-brand .jz-credit span,
html:not([dir="rtl"]) .jz-brand .jz-booking-container .step-label,
html:not([dir="rtl"]) .jz-brand .jz-booking-container .form-group label,
html:not([dir="rtl"]) .jz-brand .jz-calendar-legend,
html:not([dir="rtl"]) .jz-brand .jz-weekday,
html:not([dir="rtl"]) .jz-brand .jzps-row > span:first-child {
  font-weight: 600;
}
html:not([dir="rtl"]) .jz-brand strong,
html:not([dir="rtl"]) .jz-brand b { font-weight: 600; }
/* Slightly darker ink for the muted tone so 500 does not go grey. */
html:not([dir="rtl"]) .jz-brand { --jz-muted: #3f3839; }

/* --------------------------------------------------------------------------
   6c. The chat window on a phone

   AI Engine's "messages" theme takes the whole screen below 760px: the
   window is pinned to every edge, the page underneath disappears and the
   only way back is a small × the theme draws itself. It is now a sheet
   from the bottom - the top fifth of the page stays visible, the sheet
   has the kit's keyline and radius, and the header the plugin hides on
   phones is restored (it carries the close button). Above 760px the
   plugin's own window is left as it is.
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .jz-brand .mwai-chat.mwai-window.mwai-open {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: min(82dvh, 700px) !important;
    min-height: 0 !important;
    max-height: min(82dvh, 700px) !important;
    border-radius: 18px 18px 0 0 !important;
    border: 2.5px solid var(--jz-line) !important;
    border-bottom: 0 !important;
    box-shadow: 0 -18px 34px rgba(16, 42, 47, .28) !important;
    background: var(--jz-panel) !important;
    padding-top: 0 !important;
  }
  /* The scrim behind the sheet: a tap on the page closes nothing, it only
     dims, so the sheet reads as a layer over the page rather than the page. */
  .jz-brand .mwai-chat.mwai-window.mwai-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(35, 31, 32, .35);
    z-index: -1;
    pointer-events: none;
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-window-box {
    height: 100% !important;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden !important;
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-mobile-header {
    display: flex !important;
    min-height: 54px;
    padding-top: 0 !important;
    background: var(--jz-cyan) !important;
    border-bottom: 2.5px solid var(--jz-line) !important;
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
    color: var(--jz-ink) !important;
    font-family: "Komika Axis", system-ui, sans-serif;
    font-weight: 400;
    font-size: 1rem;
  }
  [dir="rtl"] .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
    font-family: "FF Hekaya", system-ui, sans-serif;
    font-size: 1.15rem;
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
    width: 38px !important;
    height: 38px !important;
    border: 2.5px solid var(--jz-line) !important;
    border-radius: 999px !important;
    background: var(--jz-panel) !important;
    box-shadow: 0 3px 0 var(--jz-line);
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
    stroke: var(--jz-ink) !important;
  }
  .jz-brand .mwai-chat.mwai-window.mwai-open .mwai-body {
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
  }
}
