/* Atlas UAE design system
   Montserrat · White / Off-white · Deep slate · Luxury gold
   Utility-inspired layout classes + editorial components
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --ink: #0f172a;
  --gold: #d97706;
  --gold-deep: #b45309;
  --heading: #1e293b;
  --body: #64748b;
  --line: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --font: "Montserrat", system-ui, sans-serif;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4,
button,
.atlas-btn,
.atlas-chip,
.atlas-tag,
.atlas-kicker,
.atlas-logo,
.atlas-search__tab {
  font-family: var(--font);
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0.2rem 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.atlas-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.atlas-skip:focus {
  left: 1rem;
}

.atlas-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.atlas-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.atlas-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fbbf24, var(--gold));
}

.atlas-header__bar {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.atlas-logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--ink);
}

.atlas-logo__mark {
  color: var(--gold);
  font-size: 1.1rem;
}

.atlas-logo__word {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  max-width: 14rem;
  line-height: 1.2;
}


.atlas-logo__tag {
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  font-weight: 600;
}

.atlas-nav__list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.atlas-nav__list a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
}

.atlas-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.atlas-nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.atlas-hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  color: #fff;
  min-height: 28rem;
}

.atlas-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.atlas-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.72));
}

.atlas-hero__copy,
.atlas-hero .atlas-wrap:last-child {
  position: relative;
  z-index: 1;
}

.atlas-hero__copy {
  max-width: 760px;
  margin-bottom: 2rem;
}

.atlas-hero h1 {
  color: #fff;
}

.atlas-hero__lede {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 640px;
}

.atlas-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.atlas-hero .atlas-kicker {
  color: #fbbf24;
}

/* Search */
.atlas-search {
  background: #fff;
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.atlas-search__tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.atlas-search__tab {
  border: 0;
  background: var(--bg-soft);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}

.atlas-search__tab.is-active {
  background: var(--ink);
  color: #fff;
}

.atlas-search__row {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 0.7rem;
}

.atlas-search__field input,
.atlas-search__field select,
.atlas-planner select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 0.9rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--heading);
  background: #fff;
}

.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  min-height: 52px;
}

.atlas-btn--gold {
  background: var(--gold);
  color: #fff;
}

.atlas-btn--gold:hover {
  background: var(--gold-deep);
  color: #fff;
}

.atlas-btn--ink {
  background: var(--ink);
  color: #fff;
}

.atlas-btn--ink:hover {
  background: #1e293b;
  color: #fff;
}

.atlas-btn--sm {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
}

/* Sections */
.atlas-section {
  padding: 4.5rem 0;
}

.atlas-section--soft {
  background: var(--bg-soft);
}

.atlas-section__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.atlas-section__head p:last-child {
  margin-top: 0.4rem;
}

/* Category grid */
.atlas-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.atlas-cat {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 180px;
  display: block;
  box-shadow: var(--shadow-sm);
}

.atlas-cat__img {
  position: absolute;
  inset: 0;
  display: block;
  height: 180px;
  overflow: hidden;
  background: #e2e8f0;
}

.atlas-cat img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.atlas-cat:hover img {
  transform: scale(1.08);
}

.atlas-cat__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
}

.atlas-cat__label,
.atlas-cat__count {
  display: block;
  color: #fff;
}

.atlas-cat__label {
  font-weight: 700;
}

.atlas-cat__count {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Cards */
.atlas-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.atlas-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.atlas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.atlas-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}

.atlas-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.atlas-chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.atlas-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.atlas-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.atlas-card__body p {
  margin: 0;
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.atlas-card__top,
.atlas-card__tags,
.atlas-listing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.atlas-rating {
  color: var(--gold);
  font-size: 0.85rem;
}

.atlas-rating strong {
  color: var(--heading);
  font-weight: 700;
}

.atlas-rating__count {
  color: var(--body);
  font-weight: 500;
}

.star--empty {
  color: #cbd5e1;
}

.star--half {
  opacity: 0.65;
}

.atlas-price {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.atlas-tag {
  display: inline-flex;
  background: var(--bg-soft);
  color: var(--heading);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Planner */
.atlas-planner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.atlas-planner__form {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 0.8rem;
  align-items: end;
  margin-top: 1.2rem;
}

.atlas-planner label span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 0.35rem;
}

.atlas-swap {
  height: 52px;
  width: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 1.1rem;
  cursor: pointer;
}

.atlas-planner__result {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.atlas-fare-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 0.8rem 0;
}

.atlas-fare-pills div {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 0.8rem;
}

.atlas-fare-pills span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.atlas-fare-pills strong {
  color: var(--heading);
  font-size: 1.3rem;
}

.atlas-planner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.atlas-planner__links a {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}

.atlas-small {
  font-size: 0.82rem;
}

.atlas-muted {
  color: var(--body);
}

/* Map — reserved aspect ratio to avoid CLS while Leaflet boots */
.atlas-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e8f0;
}

.atlas-map--side {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.atlas-map--hero {
  aspect-ratio: 21 / 9;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.atlas-map__hint {
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.atlas-pin {
  background: var(--gold);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* Listing */
.atlas-listing {
  padding: 2rem 0 4rem;
}

.atlas-listing__header h1 {
  max-width: 18ch;
}

.atlas-listing__addr {
  color: var(--heading);
  font-weight: 500;
}

.atlas-listing__cta {
  display: flex;
  gap: 0.7rem;
  margin: 1rem 0 0.4rem;
}

.atlas-eeat {
  font-size: 0.8rem;
  color: var(--body);
}

.atlas-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.atlas-crumbs a {
  color: var(--gold);
  font-weight: 600;
}

.atlas-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: minmax(140px, 1fr) minmax(140px, 1fr);
  min-height: 320px;
  gap: 0.55rem;
  margin: 1.6rem 0 2rem;
}

.atlas-gallery__item {
  border: 0;
  padding: 0;
  background: #0f172a;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3 / 2;
}

.atlas-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.atlas-gallery__item--hero {
  grid-row: 1 / span 2;
  aspect-ratio: auto;
}

.atlas-gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.atlas-gallery-credit {
  font-size: 0.78rem;
  color: var(--body);
  margin: -1.1rem 0 2rem;
  line-height: 1.55;
  max-width: 72ch;
}

.atlas-source-box {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 0 0 2rem;
}

.atlas-source-box h2 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.atlas-source-box p,
.atlas-source-box li {
  font-size: 0.92rem;
}

.atlas-source-box a {
  color: var(--gold-deep);
  font-weight: 600;
}

.atlas-cite {
  font-size: 0.9rem;
  color: var(--body);
}

.atlas-cite a {
  color: var(--gold-deep);
  font-weight: 600;
}

.atlas-split {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 340px;
  gap: 2rem;
  align-items: start;
}

.atlas-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.atlas-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.atlas-side-card--gold {
  border-left: 4px solid var(--gold);
}

.atlas-side-card h2,
.atlas-highlights h2,
.atlas-block h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.atlas-side-card__actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.atlas-transit-list,
.atlas-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atlas-transit-list li + li,
.atlas-contact li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.atlas-transit-list a,
.atlas-contact li {
  display: grid;
  gap: 0.15rem;
}

.atlas-transit-list strong,
.atlas-contact span {
  color: var(--heading);
}

.atlas-transit-list span,
.atlas-contact a {
  font-size: 0.85rem;
}

.atlas-transit-list__fare {
  color: var(--gold) !important;
  font-weight: 700;
}

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

.atlas-prose a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.atlas-prose .atlas-btn {
  display: inline-flex;
  align-items: center;
  margin: 0.25rem 0 1rem;
  text-decoration: none;
  color: #fff;
}

.atlas-prose .atlas-btn:hover {
  color: #fff;
}

.atlas-highlights {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  margin: 1.5rem 0;
}

.atlas-highlights dl {
  margin: 0;
}

.atlas-highlights dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.9rem;
}

.atlas-highlights dt:first-child {
  margin-top: 0;
}

.atlas-highlights dd {
  margin: 0.2rem 0 0;
  color: var(--heading);
}

.atlas-table-wrap {
  overflow-x: auto;
}

.atlas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.atlas-table th,
.atlas-table td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.atlas-table th {
  color: var(--heading);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.atlas-table tr.is-current {
  background: #fff7ed;
}

.atlas-reviews-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.atlas-reviews-score strong {
  display: block;
  font-size: 3rem;
  color: var(--heading);
  line-height: 1;
}

.atlas-star-bars__row {
  display: grid;
  grid-template-columns: 42px 1fr 40px;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.atlas-star-bars__track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.atlas-star-bars__track span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.atlas-review-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.atlas-review {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  min-height: 8.5rem;
}

.atlas-lightbox img {
  width: min(90vw, 1200px);
  height: min(70vh, 800px);
  object-fit: contain;
  aspect-ratio: 3 / 2;
}

.atlas-review header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--heading);
}

.atlas-faq {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}

.atlas-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
}

/* Route */
.atlas-route-banner {
  background: var(--ink);
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.atlas-route-banner h1,
.atlas-route-banner p,
.atlas-route-banner .atlas-kicker,
.atlas-route-banner a {
  color: #fff;
}

.atlas-route-banner .atlas-kicker {
  color: #fbbf24;
}

.atlas-route-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.atlas-route-stats div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem;
}

.atlas-route-stats span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
}

.atlas-route-stats strong {
  color: #fff;
}

.atlas-listing--route {
  padding-top: 0;
}

.atlas-split--route {
  margin-top: 2.2rem;
}

.atlas-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #fde68a;
}

.atlas-timeline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
  padding: 0 0 1.2rem 1rem;
  position: relative;
}

.atlas-timeline__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: -2.05rem;
}

.atlas-timeline h3 {
  margin: 0;
  font-size: 1rem;
}

.atlas-timeline p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.atlas-departures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}

.atlas-departures li {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.atlas-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.atlas-mini {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
}

.atlas-mini span {
  font-size: 0.8rem;
  color: var(--body);
}

.atlas-subh {
  font-size: 1rem;
  margin: 1.4rem 0 0.6rem;
}

.atlas-block {
  margin: 2rem 0;
}

.atlas-page {
  padding: 2.5rem 0 4rem;
}

.atlas-pagehead {
  margin-bottom: 1.5rem;
}

.atlas-empty {
  padding: 3rem 0;
  text-align: center;
}

/* WordPress blog (existing posts) */
.atlas-blog-list {
  display: grid;
  gap: 1.25rem;
}

.atlas-blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.atlas-blog-card__media {
  display: block;
  height: 180px;
  background: #e2e8f0;
  overflow: hidden;
}

.atlas-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-blog-card__body {
  padding: 1.15rem 1.35rem;
}

.atlas-blog-card__date,
.atlas-blog-card__more {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.atlas-blog-card h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.15rem;
}

.atlas-blog-card h2 a {
  color: var(--heading);
}

.atlas-blog-card__body p {
  color: var(--body);
  margin: 0 0 0.75rem;
}

.atlas-blog-single__hero {
  margin: 0 0 1.5rem;
}

.atlas-blog-single__img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.atlas-blog-single__back {
  margin-top: 2rem;
}

.navigation.pagination {
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}

.navigation.pagination .page-numbers.current {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 700px) {
  .atlas-blog-card {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
.atlas-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.atlas-lightbox[hidden] {
  display: none;
}

.atlas-lightbox img {
  max-height: 80vh;
  max-width: min(1100px, 100%);
  object-fit: contain;
}

.atlas-lightbox__close,
.atlas-lightbox__prev,
.atlas-lightbox__next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
}

.atlas-lightbox__close {
  top: 1rem;
  right: 1.4rem;
}

.atlas-lightbox__prev {
  left: 1rem;
}

.atlas-lightbox__next {
  right: 1rem;
}

.atlas-lightbox__cap {
  color: #e2e8f0;
}

.atlas-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.atlas-form-note {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.atlas-form-note--ok {
  background: #ecfdf5;
  color: #065f46;
}

.atlas-form-note--err {
  background: #fff7ed;
  color: #9a3412;
}

.atlas-news {
  position: relative;
  padding: 4.5rem 0;
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(217, 119, 6, 0.22), transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  color: #e2e8f0;
}

.atlas-news::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fbbf24, var(--gold));
}

.atlas-news__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.atlas-news__copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.8rem;
}

.atlas-news__copy p {
  margin: 0;
  max-width: 36rem;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.atlas-kicker--gold {
  color: #fbbf24;
}

.atlas-news__card {
  background: #fff;
  color: var(--heading);
  border-radius: 22px;
  padding: 1.5rem 1.45rem 1.25rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.atlas-news__form {
  display: grid;
  gap: 0.7rem;
}

.atlas-news__form input,
.atlas-contact-form input,
.atlas-contact-form select,
.atlas-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--heading);
  background: #fff;
}

.atlas-news__form input {
  min-height: 52px;
}

.atlas-news__form .atlas-btn,
.atlas-contact-form .atlas-btn {
  width: 100%;
}

.atlas-news__fine {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--body);
}

.atlas-contact-panel {
  margin: 2.5rem 0 0;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--bg-soft);
  border-radius: 22px;
  border-top: 4px solid var(--gold);
}

.atlas-contact-panel h2 {
  margin: 0 0 0.4rem;
}

.atlas-contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.atlas-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.atlas-contact-form label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 0.35rem;
}

.atlas-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Footer */
.atlas-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 3rem 0 0;
}

.atlas-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.atlas-footer a,
.atlas-logo--foot {
  color: #e2e8f0;
}

.atlas-footer__h {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.atlas-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atlas-footer li + li {
  margin-top: 0.4rem;
}

.atlas-footer__blurb,
.atlas-footer .atlas-muted {
  color: #94a3b8;
  font-size: 0.9rem;
}

.atlas-footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.atlas-footer__base-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  padding: 1rem 0;
}

/* Leaflet popup polish */
.leaflet-popup-content-wrapper {
  font-family: var(--font);
  border-radius: 12px;
}

.leaflet-popup-content a {
  color: var(--gold);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .atlas-cat-grid,
  .atlas-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atlas-split,
  .atlas-search__row,
  .atlas-planner__form,
  .atlas-footer__grid,
  .atlas-route-stats {
    grid-template-columns: 1fr;
  }

  .atlas-sidebar {
    position: static;
  }

  .atlas-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 120px;
  }

  .atlas-gallery__item--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
}

@media (max-width: 780px) {
  .atlas-nav {
    display: none;
  }

  .atlas-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .atlas-nav.is-open .atlas-nav__list {
    flex-direction: column;
  }

  .atlas-nav-toggle {
    display: flex;
  }

  .atlas-card-grid,
  .atlas-cat-grid,
  .atlas-mini-grid,
  .atlas-reviews-head,
  .atlas-departures,
  .atlas-fare-pills {
    grid-template-columns: 1fr;
  }

  .atlas-hero {
    padding-top: 2.5rem;
  }

  .atlas-logo__tag {
    display: none;
  }

  .atlas-footer__base-row {
    flex-direction: column;
  }

  .atlas-news__grid,
  .atlas-contact-form__row {
    grid-template-columns: 1fr;
  }

  .atlas-news {
    padding: 3rem 0;
  }
}

@media (min-width: 1100px) {
  .atlas-logo__tag {
    display: inline;
  }
}
