.egypt-page {
  --egypt-sand: #f7f2e8;
  --egypt-gold: #f4cb75;
  --egypt-text: #4c6172;
}

.egypt-page h1,
.egypt-page h2,
.egypt-page h3,
.egypt-page p,
.egypt-page figure {
  margin: 0;
}

.egypt-page a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.egypt-hero {
  background: radial-gradient(ellipse at 50% 0%, #1a4766 0%, transparent 70%), var(--navy-deep);
  color: white;
}

.egypt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 70px);
}

.egypt-host {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--egypt-gold);
  font-size: .9rem;
  font-weight: 700;
}

.egypt-host img {
  border-radius: 2px;
}

.egypt-hero h1 {
  margin-block: 12px 16px;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  line-height: 1.15;
  font-weight: 800;
}

.egypt-hero .egypt-hero-intro {
  max-width: 37ch;
  color: #e5edf3;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
}

.egypt-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-block-start: 28px;
  padding: 10px 18px;
  border: 1px solid var(--egypt-gold);
  border-radius: 8px;
  color: var(--navy-deep);
  background: var(--egypt-gold);
  text-decoration: none;
  font-weight: 800;
}

.egypt-hero-action:hover {
  background: #ffe1a3;
}

.egypt-hero-action:focus-visible {
  outline-color: var(--egypt-gold);
}

.egypt-hero-photo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #c9ae83;
}

.egypt-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.67;
  object-fit: cover;
  object-position: 65% 55%;
}

.egypt-hero-photo figcaption {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-end: 14px;
  padding: 4px 12px;
  border-radius: 5px;
  background: rgba(9, 43, 73, .92);
  color: white;
  font-size: .78rem;
  font-weight: 600;
}

.egypt-section-nav {
  border-block-end: 1px solid var(--line);
  background: #fff;
}

.egypt-section-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.egypt-section-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 16px 8px;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 750;
}

.egypt-section-links a + a {
  border-inline-start: 1px solid var(--line);
}

.egypt-section-links a::after {
  content: '↓' / '';
  flex-shrink: 0;
  color: var(--blue);
}

.egypt-section-links a:hover {
  background: var(--blue-light);
}

.egypt-section-links a:focus-visible {
  outline-offset: -4px;
}

.egypt-section {
  padding-block: clamp(40px, 6vw, 82px);
}

.egypt-section h2 {
  color: var(--navy-deep);
  font-size: clamp(1.9rem, 3.45vw, 3rem);
  line-height: 1.28;
  font-weight: 800;
}

.egypt-section h2::before {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin-block-end: 14px;
  background: var(--gold);
}

.egypt-section .egypt-section-intro {
  max-width: 62ch;
  margin-block-start: 13px;
  color: var(--egypt-text);
}

.egypt-overview,
.egypt-dining-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 6vw, 80px);
  align-items: center;
}

.egypt-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 20px 0;
  border-radius: 14px;
  background: var(--egypt-sand);
}

.egypt-facts div {
  padding-inline: clamp(10px, 2vw, 23px);
}

.egypt-facts div + div {
  border-inline-start: 1px solid #ded4c1;
}

.egypt-facts dt {
  color: var(--egypt-text);
  font-size: .84rem;
}

.egypt-facts dd {
  margin: 4px 0 0;
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.45;
}

.egypt-facts .egypt-currency-code {
  color: var(--egypt-text);
  font-size: .72rem;
  font-weight: 650;
}

.egypt-culture-grid {
  display: grid;
  gap: 18px;
  margin-block-start: 26px;
}

.egypt-landmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.egypt-landmark h3 {
  color: var(--navy-deep);
  font-size: clamp(1.16rem, 1.75vw, 1.5rem);
  font-weight: 800;
  line-height: 1.4;
}

.egypt-landmark-copy > p:not(.egypt-location) {
  margin-block: 8px 16px;
  color: var(--egypt-text);
  font-size: .94rem;
}

.egypt-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #145b91;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #92bbd5;
}

.egypt-link:hover {
  text-decoration-color: currentColor;
}

.egypt-culture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.egypt-landmark {
  overflow: hidden;
  align-items: stretch;
}

.egypt-gallery {
  display: grid;
  gap: 3px;
  width: 100%;
  aspect-ratio: 2.15;
  overflow: hidden;
  background: var(--line);
}

.egypt-gallery-gem {
  grid-template: minmax(0, 1fr) / minmax(0, 2.2fr) minmax(0, 1fr);
}

.egypt-gallery-nmec {
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 2.2fr) minmax(0, 1fr);
}

.egypt-gallery-nmec img:first-child {
  grid-row: span 2;
}

.egypt-gallery img {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.egypt-landmark-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(17px, 2.4vw, 28px);
}

.egypt-landmark-copy .egypt-location {
  margin-block-end: 5px;
  color: #7b5320;
  font-size: .82rem;
  font-weight: 800;
}

.egypt-landmark-copy > p.egypt-hours {
  margin-block-start: auto;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--egypt-sand);
  font-weight: 700;
}

.egypt-landmark-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.egypt-dining {
  background: var(--egypt-sand);
}

.egypt-dining-grid {
  align-items: start;
}

.egypt-destinations {
  padding: clamp(15px, 2.4vw, 27px);
  border: 1px solid #e3dac9;
  border-radius: 14px;
  background: white;
}

.egypt-destinations h3 {
  color: var(--navy-deep);
  font-size: 1rem;
}

.egypt-destinations ul {
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.egypt-destinations li {
  border-block-start: 1px solid var(--line);
}

.egypt-destinations li:last-child {
  border-block-end: 1px solid var(--line);
}

.egypt-destinations li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 4px 8px;
  padding-block: 12px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.45;
}

.egypt-destinations li a:hover .egypt-map,
.egypt-destinations li a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.egypt-drive,
.egypt-destinations p {
  color: var(--egypt-text);
  font-size: .82rem;
}

.egypt-map,
.egypt-map-arrow {
  color: #145b91;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 800px) {
  .egypt-overview,
  .egypt-dining-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 670px) {
  .egypt-hero-grid,
  .egypt-culture-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .egypt-hero-photo img {
    aspect-ratio: 1.85;
  }

  .egypt-section-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .egypt-section-links a {
    padding-block: 12px;
  }

  .egypt-section-links a:nth-child(3) {
    grid-column: 1 / -1;
    border-inline-start: 0;
  }

  .egypt-section-links a:nth-child(n + 3) {
    border-block-start: 1px solid var(--line);
  }
}

@media (max-width: 450px) {
  .egypt-destinations li a {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .egypt-destinations strong {
    grid-column: 1 / -1;
  }
}
