/**
 * HTML Sitemap — Ajman · isolated (#22/#26)
 * Structure aligned with Golden Master (uae-lawyer gp-subhero + lists).
 * Tokens: navy #0b1f33 · gold #c9a84c · mist #f2f0e8 · local Tajawal / Inter.
 */
body[data-page="sitemap"] .site-main {
  font-family: "Tajawal", system-ui, sans-serif;
  background: #fff;
  color: #1a1a1a;
  max-width: 100%;
  overflow-x: hidden;
}
html[lang="en"] body[data-page="sitemap"] .site-main {
  font-family: "Inter", system-ui, sans-serif;
}

.sm-page {
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.sm-wrap {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
  padding: 24px 0;
  box-sizing: border-box;
}

/* Hero — same composition as FAQ / About */
.sm-hero {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f33;
  overflow: hidden;
  border-bottom: 3px solid #c9a84c;
}
.sm-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}
.sm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 21, 34, 0.58) 0%, rgba(7, 21, 34, 0.82) 100%),
    linear-gradient(90deg, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.08) 55%, rgba(7, 21, 34, 0.45) 100%);
}
.sm-hero__inner {
  position: relative;
  z-index: 2;
  padding: 44px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sm-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}
.sm-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.sm-crumb a:hover { color: #c9a84c; }
.sm-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.5;
  max-width: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
}
.sm-hero__line {
  display: block;
  white-space: nowrap;
}
/* Mobile: one flowing title (no forced two-line split) */
@media (max-width: 720px) {
  .sm-hero h1 {
    display: block;
    max-width: 100%;
  }
  .sm-hero__line {
    display: inline;
    white-space: normal;
  }
}
.sm-hero__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 16px;
  background: #c9a84c;
  border-radius: 2px;
}
.sm-hero__lede {
  margin: 0;
  max-width: 42em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Body */
.sm-body {
  background: #fff;
  padding-bottom: 12px;
}
.sm-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 760px) {
  .sm-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sm-block--wide {
    grid-column: 1 / -1;
  }
}

.sm-block h2 {
  margin: 0 0 0.85rem;
  color: #0b1f33;
  font-size: 1.15rem;
  font-weight: 800;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #c9a84c;
}

/* List — GP side-list parity, Ajman tokens */
.sm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sm-list a {
  display: block;
  padding: 0.55rem 0;
  border-top: 1px solid #e8e4d8;
  font-size: 0.95rem;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.sm-list li:first-child a { border-top: 0; }
.sm-list a:hover { color: #c9a84c; }

.sm-list--cols {
  columns: 1;
  column-gap: 2rem;
}
@media (min-width: 640px) {
  .sm-list--cols { columns: 2; }
}
@media (min-width: 980px) {
  .sm-list--cols { columns: 3; }
}
.sm-list--cols li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* CTA */
.sm-cta {
  margin-top: 2.25rem;
  padding: 1.5rem 1.25rem;
  background: #f2f0e8;
  border-inline-start: 4px solid #c9a84c;
  text-align: center;
}
.sm-cta p {
  margin: 0 0 1rem;
  color: #0b1f33;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
}
.sm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sm-btn--gold {
  background: #c9a84c;
  color: #0b1f33;
  border-color: #c9a84c;
}
.sm-btn--gold:hover {
  background: #0b1f33;
  color: #fff;
  border-color: #0b1f33;
}
.sm-btn--ghost {
  background: transparent;
  color: #0b1f33;
  border-color: #0b1f33;
}
.sm-btn--ghost:hover {
  background: #0b1f33;
  color: #fff;
}

@media (max-width: 560px) {
  .sm-hero { min-height: 260px; }
  .sm-hero__inner { padding: 36px 0 28px; }
  .sm-cta__actions { flex-direction: column; align-items: stretch; }
  .sm-btn { width: 100%; }
}
