:root {
  --cream: #f7f2ea;
  --paper: #fffaf3;
  --sand: #e7d7c4;
  --clay: #a06a45;
  --brown: #3c2f28;
  --green: #243e35;
  --blue: #6d8791;
  --line: rgba(60, 47, 40, 0.16);
  --shadow: 0 22px 60px rgba(60, 47, 40, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand span {
  color: #7c543e;
  font-family: var(--serif);
  font-size: 28px;
  white-space: nowrap;
}

.brand small {
  margin-top: 5px;
  color: #a47c62;
  font-family: "Brush Script MT", cursive;
  font-size: 19px;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #44372f;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 28px 0;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 160px;
  padding: 11px 13px;
  border: 1px solid rgba(60, 47, 40, 0.38);
  background: transparent;
}

.header-search input,
.site-search input,
.newsletter input,
.footer-form input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brown);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--brown);
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 74px 10vw;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(22, 20, 17, 0.74), rgba(22, 20, 17, 0.24) 48%, rgba(22, 20, 17, 0.06)),
    radial-gradient(circle at 75% 28%, rgba(255, 226, 183, 0.42), transparent 28%),
    linear-gradient(135deg, #2d3327 0%, #9b6643 48%, #d5b99b 100%);
}

.magazine-hero {
  min-height: 455px;
  padding: 68px 8vw;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.82), rgba(23, 21, 18, 0.42) 42%, rgba(23, 21, 18, 0.06)),
    url("./assets/optimized/hero-riad.jpg") center / cover no-repeat;
}

.magazine-hero .hero-content {
  max-width: 620px;
}

.magazine-hero h1 {
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 0.98;
}

.magazine-hero p {
  max-width: 500px;
  margin: 24px 0 24px;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-button {
  min-width: 180px;
  background: var(--paper);
  color: var(--brown);
}

.hero::after,
.image-placeholder::after,
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 44%, rgba(255,255,255,0.16) 45%, transparent 46%),
    radial-gradient(circle at 26% 22%, rgba(255,255,255,0.24) 0 2px, transparent 3px);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.eyebrow,
.kicker,
.crumbs,
.card-meta {
  color: #8d725f;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 24px 0 28px;
  font-size: clamp(18px, 2.2vw, 24px);
}

.site-search {
  display: flex;
  width: min(100%, 640px);
  min-height: 58px;
  padding: 6px;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: var(--shadow);
}

.site-search input {
  padding: 0 18px;
}

.site-search button,
.button,
.newsletter button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button.alt {
  background: var(--brown);
}

.section {
  padding: 70px 7vw;
}

.section.tight {
  padding-top: 42px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header h2,
.template-block h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: #6d5b4f;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 20px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.trust-item:hover {
  background: #f1e6d8;
  color: var(--green);
}

.trust-icon {
  color: var(--clay);
  font-size: 28px;
}

.trust-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trust-item small {
  color: #7b6b60;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.9fr 2.4fr;
  gap: 42px;
  align-items: center;
}

.home-feature {
  padding-top: 38px;
  padding-bottom: 54px;
  background: var(--paper);
}

.magazine-feature {
  grid-template-columns: 0.65fr 1.85fr;
}

.magazine-feature h2 {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.magazine-feature p {
  max-width: 280px;
  margin-bottom: 26px;
  color: #594b42;
  font-size: 17px;
}

.destination-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-latest {
  padding-top: 44px;
  background: #f2ece4;
}

.magazine-latest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 270px;
  gap: 22px;
  align-items: start;
}

.magazine-latest .article-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  height: 100%;
}

.magazine-latest .article-card .image-placeholder {
  min-height: 180px;
}

.magazine-latest .article-card .card-body {
  padding: 18px 0 0;
  min-height: 250px;
}

.magazine-latest .article-card h3 {
  margin-top: 8px;
  font-size: 22px;
}

.magazine-latest .article-card .article-tags {
  display: none;
}

.home-newsletter {
  min-height: 345px;
  padding: 38px 34px;
  background: #e9ded3;
  text-align: center;
}

.script-note {
  color: #a98067;
  font-family: "Brush Script MT", cursive;
  font-size: 21px;
}

.home-newsletter h2 {
  margin: 8px 0 16px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.home-newsletter p {
  color: #5f5148;
}

.home-newsletter form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.home-newsletter input {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  background: var(--paper);
}

.home-newsletter button {
  min-height: 46px;
  border: 0;
  background: var(--brown);
  color: white;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-categories {
  padding-top: 10px;
  padding-bottom: 30px;
  background: #f2ece4;
}

.magazine-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(60, 47, 40, 0.2);
  background: var(--paper);
}

.magazine-category {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px 12px;
  border-right: 1px solid rgba(60, 47, 40, 0.16);
  text-align: center;
}

.magazine-category:last-child {
  border-right: 0;
}

.magazine-category span {
  color: #a98067;
  font-size: 25px;
}

.magazine-category strong {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.magazine-category small {
  max-width: 130px;
  color: #6d5b4f;
  line-height: 1.35;
}

.mini-destination {
  background: var(--paper);
  text-align: center;
}

.mini-destination .image-placeholder {
  min-height: 220px;
}

.mini-destination h3 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.mini-destination p {
  margin: 2px 0 20px;
  color: #6d5b4f;
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.destinations {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.cities,
.grid.categories,
.grid.articles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.region-card {
  display: flex;
  flex-direction: column;
}

.region-card .image-placeholder {
  min-height: 235px;
}

.region-card .button {
  width: fit-content;
  margin-top: auto;
}

.image-credit {
  display: block;
  margin: 0 0 18px;
  color: #7b6b60;
  font-size: 11px;
  line-height: 1.4;
}

.image-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-image-credit {
  max-width: 760px;
  margin-top: 8px;
  opacity: 0.7;
}

.card {
  overflow: hidden;
  border: 1px solid rgba(60, 47, 40, 0.14);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(60, 47, 40, 0.06);
}

.grid .card {
  display: flex;
  flex-direction: column;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.card p {
  margin: 0 0 18px;
  color: #66564b;
}

.image-placeholder {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(135deg, var(--img-a, #d5b99b), var(--img-b, #6d8791));
}

.image-placeholder.has-photo {
  background-position: center;
  background-size: cover;
}

.image-placeholder.has-photo::before,
.image-placeholder.has-photo::after {
  display: none;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 55%;
  border-radius: 100% 100% 0 0;
  background: rgba(36, 62, 53, 0.2);
  filter: blur(1px);
}

.category-card {
  min-height: 152px;
  padding: 24px;
  text-align: center;
}

.category-card .icon {
  color: var(--clay);
  font-size: 26px;
}

.category-card h3 {
  margin: 12px 0 6px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-card .image-placeholder {
  min-height: 230px;
}

.article-card h3 {
  font-size: 25px;
}

.article-card {
  cursor: pointer;
}

.guide-content .template-block .grid.articles {
  grid-template-columns: 1fr;
  gap: 14px;
}

.guide-content .template-block .article-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: stretch;
  min-height: 132px;
  box-shadow: none;
}

.guide-content .template-block .article-card .image-placeholder {
  min-height: 100%;
}

.guide-content .template-block .article-card .card-body {
  min-width: 0;
  padding: 16px 18px;
}

.guide-content .template-block .article-card .card-meta {
  font-size: 10px;
  line-height: 1.35;
}

.guide-content .template-block .article-card h3 {
  margin: 6px 0 6px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.guide-content .template-block .article-card p {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  color: #66564b;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-content .template-block .article-card .button {
  display: none;
}

.guide-content .template-block .article-card .article-tags {
  margin-top: auto;
}

.guide-content .template-block .article-card .tag {
  min-height: 24px;
  font-size: 11px;
}

.related-article-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.related-article-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 130px;
  overflow: hidden;
  border: 1px solid rgba(60, 47, 40, 0.14);
  border-radius: 8px;
  background: #fffaf3;
}

.related-article-card .image-placeholder {
  min-height: 100%;
}

.related-article-card > div {
  min-width: 0;
  padding: 16px 18px 16px 0;
}

.related-article-card h3 {
  margin: 6px 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.related-article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #66564b;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-more-button {
  width: fit-content;
  margin-top: 18px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-body .button {
  margin-top: auto;
  align-self: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #705f54;
  font-size: 12px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 22px;
  align-items: center;
  margin: 42px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.newsletter h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.newsletter p {
  max-width: 520px;
  margin: 0;
  color: #66564b;
}

.newsletter form {
  display: flex;
  gap: 10px;
  min-height: 48px;
}

.newsletter input {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: white;
}

.newsletter button {
  min-width: 112px;
  border: 0;
  background: var(--green);
  color: white;
  cursor: pointer;
}

.page-hero,
.article-hero {
  display: grid;
  gap: 28px;
  padding: 58px 7vw 42px;
  background: var(--paper);
}

.page-hero h1,
.article-hero h1 {
  color: var(--green);
}

.page-hero p,
.article-hero p {
  max-width: 760px;
  margin: 0;
  color: #655448;
  font-size: 19px;
}

.hero-figure {
  margin: 0;
}

.hero-figure .image-placeholder {
  border-radius: 8px;
}

.hero-figure figcaption {
  margin-top: 8px;
  color: #8d725f;
  font-size: 12px;
}

.hero-figure figcaption a {
  color: #7c543e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.filter-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.filter-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.filter-panel label {
  display: block;
  margin: 16px 0 6px;
  color: #705f54;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--brown);
}

.filter-panel .filter-button {
  width: 100%;
  margin-top: 20px;
}

.template-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
}

.guide-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px) 300px;
  gap: 30px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-nav,
.guide-rail {
  position: sticky;
  top: 94px;
}

.guide-nav {
  max-height: calc(100vh - 118px);
  overflow: auto;
}

.guide-nav h2,
.guide-rail h2 {
  margin-top: 0;
}

.guide-rail {
  display: grid;
  gap: 22px;
}

.guide-rail .desktop-only,
.guide-rail .desktop-only + .link-list,
.article-shell .guide-rail h2,
.article-shell .guide-rail > a {
  display: none;
}

.ad-slot {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(60, 47, 40, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.92), rgba(231, 215, 196, 0.64)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(109, 135, 145, 0.08) 10px 20px);
  color: #8d725f;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ad-slot-leaderboard {
  min-height: 94px;
  margin: 28px 7vw 0;
}

.ad-slot-rail {
  min-height: 620px;
}

.template-block {
  margin-bottom: 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.capital-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: center;
}

.capital-intro p {
  max-width: 620px;
  color: #655448;
  font-size: 18px;
}

.capital-section h2,
.capital-intro h2 {
  margin: 6px 0 14px;
}

.capital-article-section {
  scroll-margin-top: 100px;
}

.capital-article-section p {
  color: #5f5148;
  font-size: 18px;
  line-height: 1.75;
}

.capital-article-section strong {
  color: var(--green);
  font-weight: 700;
}

.capital-article-section a,
.capital-area-list a {
  color: #8c5c3f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.capital-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding-left: 22px;
  color: #5f5148;
}

.capital-area-list {
  display: grid;
  gap: 20px;
}

.capital-area-list article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.capital-area-list article:last-child {
  border-bottom: 0;
}

.capital-area-list h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.capital-image-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 14px;
  margin: 20px 0;
}

.capital-image-slot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #efe3d5;
}

.capital-image-slot span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  background: rgba(255, 250, 243, 0.86);
  color: #705f54;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capital-image-slot .image-credit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  margin: 0;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(36, 32, 28, 0.42);
  color: rgba(255, 250, 243, 0.82);
  font-size: 9px;
  line-height: 1.25;
}

.capital-image-slot .image-credit a {
  color: inherit;
  text-decoration-color: rgba(255, 250, 243, 0.45);
}

.capital-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 0;
}

.fact {
  padding: 16px;
  background: #f2e7da;
}

.fact strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 44px;
  align-items: start;
}

.article-body {
  font-size: 18px;
}

.article-body h2 {
  margin: 42px 0 12px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
}

.toc {
  position: sticky;
  top: 94px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #6d5b4f;
}

.pinterest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
}

.pinterest-grid .image-placeholder:nth-child(2) {
  min-height: 310px;
}

.article-inline-image {
  max-width: 430px;
  margin: 24px 0 34px;
}

.article-inline-image .image-placeholder {
  border-radius: 8px;
}

.article-inline-image figcaption {
  margin-top: 8px;
  color: #8d725f;
  font-size: 12px;
  line-height: 1.45;
}

.article-inline-image figcaption a {
  color: #7c543e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: #2f2b25;
  color: #f8efe4;
}

.insta-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--cream);
}

.photo {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--img-a), var(--img-b));
}

.warm { --img-a: #b9784c; --img-b: #e3c6a5; }
.blue { --img-a: #477484; --img-b: #d9c6ad; }
.green { --img-a: #243e35; --img-b: #bca083; }
.terracotta { --img-a: #a05d3f; --img-b: #e2b178; }
.coast { --img-a: #6d8791; --img-b: #f4e4cf; }

.follow-card {
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--paper);
  color: var(--brown);
}

.follow-card small {
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.follow-card strong {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 42px;
  padding: 44px 7vw;
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #dccdbc;
}

.footer-grid p {
  color: #dccdbc;
}

.footer-form {
  display: flex;
  background: #fffaf3;
}

.footer-form input {
  padding: 0 14px;
}

.footer-form button {
  width: 44px;
  border: 0;
  background: #77604e;
  color: white;
}

.empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-search {
    display: none;
  }

  .site-header.open .main-nav {
    position: absolute;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-header.open .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-layout,
  .newsletter,
  .filter-layout,
  .template-grid,
  .guide-shell,
  .article-layout,
  .capital-intro {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .toc,
  .guide-nav,
  .guide-rail {
    position: static;
  }

  .guide-nav {
    max-height: none;
  }

  .guide-rail {
    order: 3;
  }

  .ad-slot-rail {
    min-height: 180px;
  }

  .grid.destinations,
  .grid.cities,
  .grid.categories,
  .grid.articles,
  .region-grid,
  .destination-strip,
  .magazine-latest,
  .magazine-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 66px;
  }

  .brand span {
    font-size: 25px;
  }

  .hero,
  .section,
  .page-hero,
  .article-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ad-slot-leaderboard {
    margin-left: 22px;
    margin-right: 22px;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: 44px;
  }

  .site-search,
  .newsletter form {
    display: grid;
  }

  .trust-row,
  .grid.destinations,
  .grid.cities,
  .grid.categories,
  .grid.articles,
  .region-grid,
  .destination-strip,
  .magazine-latest,
  .magazine-categories,
  .facts,
  .capital-info-grid,
  .capital-image-grid,
  .pinterest-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .guide-content .template-block .article-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 118px;
  }

  .guide-content .template-block .article-card .card-body {
    padding: 13px 14px;
  }

  .guide-content .template-block .article-card h3 {
    font-size: 15px;
  }

  .guide-content .template-block .article-card p,
  .guide-content .template-block .article-card .article-tags {
    display: none;
  }

  .related-article-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 118px;
  }

  .related-article-card > div {
    padding: 13px 14px 13px 0;
  }

  .related-article-card h3 {
    font-size: 15px;
  }

  .related-article-card p {
    display: none;
  }

  .newsletter {
    padding: 22px 0;
  }

  .insta-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(48, 43, 37, 0.16);
  box-shadow: 0 20px 45px rgba(36, 31, 27, 0.16);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 18px;
}

.cookie-banner p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cookie-actions a {
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions .button {
  padding: 11px 15px;
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .cookie-actions .button {
    flex: 1;
  }
}
