/* =====================================================================
   Astra Travel — Single exhibition (rich layout)
   BEM, RTL-aware. Navy hero + green CTAs, sticky TOC, content cards.
   Full-bleed hero relies on body { overflow-x: hidden }.
   ===================================================================== */
.exs {
  display: block;
  color: var(--ast-ink);
}

/* ── Buttons ── */
.exs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.exs-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.exs-btn--primary,
.exs-btn--accent {
  background: var(--ast-accent);
  color: #fff;
}

.exs-btn--primary:hover,
.exs-btn--accent:hover {
  filter: brightness(0.93);
}

.exs-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.exs-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

[dir="rtl"] .exs-btn svg,
[dir="rtl"] .exs-video__link svg {
  transform: scaleX(-1);
}

/* =====================================================================
   HERO
   ===================================================================== */
.exs__hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background-image:
    linear-gradient(
      115deg,
      rgba(15, 27, 76, 0.94) 35%,
      rgba(15, 27, 76, 0.7) 100%
    ),
    var(--ast-hero, none);
  background-size: cover;
  background-position: center;
  background-color: var(--ast-dark);
  color: #fff;
}

.exs__hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 40px;
  max-width: var(--ast-maxw);
  margin-inline: auto;
  padding: 48px 20px 56px;
  box-sizing: border-box;
}

.exs__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.exs__crumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.exs__crumb a:hover {
  color: #fff;
}

.exs__crumb svg {
  width: 15px;
  height: 15px;
}

.exs__crumb-sep {
  color: rgba(255, 255, 255, 0.45);
}

.exs__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: var(--ast-accent);
  border-radius: 999px;
}

.exs__status--cancelled,
.exs__status--canceled {
  background: #dc2626;
}

.exs__status--postponed,
.exs__status--delayed {
  background: #d97706;
}

.exs__title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
}

.exs__subtitle {
  max-width: 52ch;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.exs__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 26px;
}

.exs__hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.exs__hero-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--ast-accent);
}

/* Persian (Jalali) date shown alongside the Gregorian one. */
.exs__hero-meta-dates {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.35;
}

.exs__hero-meta-dates .exs__date--gregorian,
.exs-info__row dd .exs__date--gregorian {
  font-size: 0.85em;
  opacity: 0.75;
}

.exs-info__row dd .exs__date {
  display: block;
}

.exs__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Countdown card */
.exs__countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ast-radius);
  backdrop-filter: blur(8px);
}

.exs__countdown-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.exs__countdown .exhibition-countdown__detailed {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.exs__countdown .exhibition-countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.exs__countdown .exhibition-countdown__number {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.exs__countdown .exhibition-countdown__unit-label {
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Status that fills the card once the countdown is gone (ongoing/held/custom). */
.exs__countdown-state {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

/* Colour the countdown card by current state (matches the card badges). */
.exs__countdown--soon {
  background: rgba(249, 115, 22, 0.16);
  border-color: rgba(249, 115, 22, 0.55);
}

.exs__countdown--imminent {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.55);
}

.exs__countdown--ongoing {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.6);
}

.exs__countdown--held {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
}

.exs__countdown--custom {
  background: rgba(51, 65, 85, 0.4);
  border-color: rgba(148, 163, 184, 0.55);
}

.exs__countdown-cta {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--ast-dark);
  box-sizing: border-box;
}

.exs__countdown-cta:hover {
  filter: none;
  background: #f0f2f8;
}

.exs__countdown-cta svg {
  color: var(--ast-accent);
}

/* =====================================================================
   LAYOUT
   ===================================================================== */
.exs__layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 300px;
  align-items: start;
  gap: 28px;
  max-width: var(--ast-maxw);
  margin-inline: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* No categories/video aside → let the main column reclaim its space. */
.exs__layout--no-aside {
  grid-template-columns: 232px minmax(0, 1fr);
}

.exs__wide {
  max-width: var(--ast-maxw);
  margin-inline: auto;
  padding: 0 20px 64px;
  box-sizing: border-box;
}

/* ── Card + section primitives ── */
.exs-card {
  background: #fff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  padding: 26px;
}

.exs-section {
  margin-bottom: 30px;
}

.exs-section:last-child {
  margin-bottom: 0;
}

.exs-section__title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ast-dark);
}

#key-information .exs-section__title {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ast-accent);
}

.exs-section__title--q,
.exs-section__title--icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exs-section__title--q::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  color: var(--ast-accent);
  border: 1.5px solid var(--ast-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.exs-section__title--icon::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--ast-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E")
    center/contain no-repeat;
  flex-shrink: 0;
}

.exs-prose {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #374151;
}

.exs-prose p {
  margin: 0 0 1rem;
}

.exs-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ast-radius-sm);
}

/* ── Key information table ── */
.exs-info {
  margin: 0;
}

.exs-info__row {
  display: grid;
  grid-template-columns: 72x 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ast-line);
}

.exs-info__row:last-child {
  border-bottom: none;
}

.exs-info__row dt {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ast-muted);
}

.exs-info__row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ast-dark);
}

.exs-info__row dd a {
  color: var(--ast-accent);
  text-decoration: none;
}

.exs-info__row dd a:hover {
  text-decoration: underline;
}

/* ── Checklist (why visit) ── */
.exs-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.exs-checklist li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}

.exs-checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ast-accent);
}

/* ── Exhibited products grid ── */
.exs-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 12px;
}

.exs-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius-sm);
  transition: 0.2s ease;
}

.exs-prod:hover {
  border-color: var(--ast-accent);
  box-shadow: 0 8px 22px rgba(15, 27, 76, 0.08);
}

.exs-prod__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ast-accent);
}

/* Size only — colour comes from currentColor (wrap) so both stroke- and
   fill-based icons inherit the accent without flattening outline icons. */
.exs-prod__icon,
.exs-prod__icon-wrap svg,
.exs-prod__icon-wrap img {
  width: 26px;
  height: 26px;
}

.exs-prod__icon-wrap img {
  object-fit: contain;
}

.exs-prod__icon-wrap .dashicons {
  width: 26px;
  height: 26px;
  font-size: 26px;
  line-height: 26px;
}

.exs-prod__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ast-ink);
}

/* ── Gallery ── */
.exs-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.exs-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--ast-radius-sm);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.exs-gallery__item {
  cursor: pointer;
}

.exs-gallery__item.is-hidden {
  display: none;
}

.exs-gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: rgba(15, 27, 76, 0.6);
}

/* ── Lightbox ── */
.exs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(8, 13, 38, 0.92);
}

.exs-lightbox.is-open {
  display: flex;
}

.exs-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.exs-lightbox__close,
.exs-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.exs-lightbox__close:hover,
.exs-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.exs-lightbox__close {
  top: 22px;
  inset-inline-end: 22px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.exs-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.exs-lightbox__prev {
  inset-inline-start: 22px;
}

.exs-lightbox__next {
  inset-inline-end: 22px;
}

/* Video lightbox (reuses .exs-lightbox overlay + close button). */
.exs-vbox__stage {
  position: relative;
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
  max-height: 85vh;
}

.exs-vbox__frame,
.exs-vbox__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.exs-vbox__video {
  object-fit: contain;
}

/* ── Aside: categories + video ── */
.exs__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exs-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--ast-chip-color, var(--ast-primary));
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s ease;
}

/* Tighten the icon side so the round badge hugs the edge. */
.exs-chip:has(.exs-chip__icon) {
  padding-inline-start: 5px;
}

.exs-chip:hover {
  filter: brightness(0.92);
}

.exs-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.exs-chip__icon:empty {
  display: none;
}

.exs-chip__icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.exs-video__player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--ast-radius-sm);
  overflow: hidden;
}

.exs-video__player .exs-video__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.exs-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.exs-video__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--ast-radius-sm);
  background: #000 center/cover no-repeat;
  overflow: hidden;
  cursor: pointer;
}

.exs-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ast-primary);
}

.exs-video__play svg {
  width: 22px;
  height: 22px;
  margin-inline-start: 3px;
}

.exs-video__caption {
  display: block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ast-dark);
  line-height: 1.4;
}

.exs-video__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ast-accent);
  text-decoration: none;
}

.exs-video__link svg {
  width: 15px;
  height: 15px;
}

/* ── TOC ── */
.exs__toc {
  height: 100%;
}

.exs__toc-sticky {
  position: sticky;
  top: 100px;
  padding: 20px;
  background: var(--ast-soft);
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
}

/* Anchor targets clear the 100px sticky offset on jump. */
.exs [id] {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

.exs__toc-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ast-dark);
}

.exs__toc-nav {
  display: flex;
  flex-direction: column;
}

.exs__toc-link {
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--ast-muted);
  text-decoration: none;
  border-radius: 8px;
  border-inline-start: 2px solid transparent;
  transition: 0.18s ease;
}

.exs__toc-link:hover {
  color: var(--ast-dark);
  background: #fff;
}

.exs__toc-link.is-active {
  color: var(--ast-accent);
  background: #fff;
  border-inline-start-color: var(--ast-accent);
  font-weight: 700;
}

/* =====================================================================
   WIDE: FAQ + Venue + Services
   ===================================================================== */
.exs__wide-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

/* Only FAQ or only Venue present → take the full width. */
.exs__wide-row--single {
  grid-template-columns: 1fr;
}

/* FAQ */
.exs-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exs-faq__item {
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius-sm);
  overflow: hidden;
}

.exs-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ast-dark);
  cursor: pointer;
  list-style: none;
}

.exs-faq__q::-webkit-details-marker {
  display: none;
}

.exs-faq__q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ast-muted);
  transition: transform 0.2s ease;
}

.exs-faq__item[open] .exs-faq__q svg {
  transform: rotate(180deg);
}

.exs-faq__a {
  padding: 0 16px 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Venue */
.exs-venue__map {
  aspect-ratio: 16 / 10;
  border-radius: var(--ast-radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ast-soft);
}

.exs-venue__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.exs-venue__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exs-venue__name {
  font-size: 0.98rem;
  color: var(--ast-dark);
}

.exs-venue__addr {
  font-size: 0.86rem;
  color: var(--ast-muted);
}

.exs-venue__dir {
  align-self: flex-start;
  margin-top: 8px;
}

/* Choose your exhibition path (visitor / exhibitor) */
.exs-path {
  --exs-go: var(--ast-accent);
  --exs-go-dark: var(--ast-accent-dark);
  --exs-blue: #2456c8;
  --exs-soft: #eef1f7;
}

.exs-path__head {
  text-align: center;
  margin-bottom: 30px;
}

.exs-path__title {
  display: inline-block;
  margin: 0 0 10px;
  padding-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ast-primary);
  border-bottom: 3px solid var(--exs-go);
}

.exs-path__sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ast-muted);
}

.exs-path__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* The visitor card must stay on the left and the exhibitor on the right in
   both directions. LTR (tr) already does this; for RTL (fa) we lay the grid
   tracks left-to-right while restoring each card's own RTL text flow. */
[dir="rtl"] .exs-path__grid {
  direction: ltr;
}

[dir="rtl"] .exs-path__card {
  direction: rtl;
}

.exs-path__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  box-shadow: 0 10px 30px rgba(15, 27, 76, 0.05);
}

.exs-path__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.exs-path__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--exs-soft);
}

.exs-path__icon svg {
  width: 38px;
  height: 38px;
}

.exs-path__heading {
  min-width: 0;
}

.exs-path__name {
  margin: 0 0 2px;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ast-primary);
}

.exs-path__tag {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--exs-blue);
}

.exs-path__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ast-ink);
}

.exs-path__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.exs-path__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ast-dark);
}

.exs-path__tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--exs-go);
}

.exs-path__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.exs-path__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--ast-radius-sm);
  background: var(--exs-go);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.exs-path__btn:hover {
  background: var(--exs-go-dark);
  color: #fff;
  transform: translateY(-1px);
}

.exs-path__arrow {
  width: 18px;
  height: 18px;
}

[dir="rtl"] .exs-path__arrow {
  transform: scaleX(-1);
}

.exs-path__more {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--exs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.exs-path__more:hover {
  color: var(--ast-primary);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .exs__hero-inner {
    grid-template-columns: 1fr;
  }
  .exs__countdown {
    max-width: 420px;
  }
  .exs__layout {
    grid-template-columns: 1fr;
  }
  /* TOC becomes a fixed bottom bar with horizontally-scrolling pills. */
  .exs__toc {
    display: block;
    height: auto;
    position: fixed;
    inset-inline: 0;
    top: 72px;
    z-index: 900; /* below the mobile offcanvas (1100) so the menu covers it */
    margin: 0;
  }
  .exs__toc-sticky {
    position: static;
    top: auto;
    padding: 8px 0;
    border: 0;
    border-top: 1px solid var(--ast-line);
    border-radius: 0;
    background: var(--ast-accent-dark);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  }
  .exs__toc-title {
    display: none;
  }
  .exs__toc-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 12px;
    padding-inline: 12px;
    /* Hide the scrollbar (Firefox / IE / WebKit). */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .exs__toc-nav::-webkit-scrollbar {
    display: none;
  }
  .exs__toc-link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    background: var(--ast-soft);
    border-inline-start: 0;
    border-radius: 999px;
  }
  .exs__toc-link.is-active {
    background: var(--ast-accent);
    color: #fff;
    border-inline-start-color: transparent;
  }
  /* Keep the last of the page content clear of the fixed bar. */
  body {
    padding-bottom: 64px;
  }
  .exs__wide-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .exs-path__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .exs__hero-inner {
    padding: 36px 18px 44px;
  }
  .exs-card {
    padding: 20px;
  }
  .exs-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .exs-path__card {
    padding: 22px;
  }
  .exs__countdown .exhibition-countdown__block {
    width: 56px;
  }
}

/* =====================================================================
   HOTELS NEAR THE VENUE
   ===================================================================== */
#nearby-hotels {
  margin-top: 28px;
}

.exs-nearby__note {
  margin: -4px 0 18px;
  color: var(--ast-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.exs-nearby__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exs-nearby__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius-sm);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.exs-nearby__card:hover {
  border-color: var(--ast-accent);
  box-shadow: 0 10px 28px rgba(15, 27, 76, 0.1);
  transform: translateY(-2px);
}

.exs-nearby__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ast-soft);
}

.exs-nearby__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exs-nearby__img--placeholder {
  background: linear-gradient(135deg, #eef1f8, #dfe4f2);
}

.exs-nearby__badge {
  position: absolute;
  inset-block-end: 8px;
  inset-inline-start: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 27, 76, 0.82);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

.exs-nearby__badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.exs-nearby__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px 14px;
}

.exs-nearby__name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ast-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exs-nearby__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ast-accent);
}

.exs-nearby__stars svg {
  width: 14px;
  height: 14px;
}

.exs-nearby__city {
  font-size: 0.85rem;
  color: var(--ast-muted);
}

.exs-nearby__distance {
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ast-primary);
}

@media (max-width: 560px) {
  .exs-nearby__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
