/* elgounatimes.com: one listing page, Red Sea teal and sand, system fonts only */
:root {
  --bg: #fbf8f2;
  --sand: #f1e7d4;
  --card: #ffffff;
  --ink: #1d2a2e;
  --ink-2: #5b6b70;
  --sea: #0e5e6f;
  --sea-2: #0a4855;
  --sun: #e2a93b;
  --line: #e4dccb;
  --shadow: 0 1px 2px rgba(10, 40, 50, .08), 0 8px 24px rgba(10, 40, 50, .08);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1719; --sand: #172225; --card: #1b2629; --ink: #e8efef; --ink-2: #9fb0b3; --sea: #4fb3c4; --sea-2: #79c9d6; --line: #2a383b; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: .15em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.top { border-bottom: 1px solid var(--line); background: var(--card); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.brand { font: 700 1.2rem var(--serif); color: var(--ink); text-decoration: none; }
.top-cta { font-weight: 600; text-decoration: none; }
.slider { position: relative; aspect-ratio: 1080 / 420; max-height: 460px; width: 100%; overflow: hidden; background: #0a3d48; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slider::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 25, 30, .55)); pointer-events: none; }
.slider-caption { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0 auto; max-width: 1120px; padding: 0 16px; z-index: 1; color: #fff; font: 700 clamp(1.1rem, 3vw, 1.8rem)/1.2 var(--serif); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; z-index: 1; }
.slider-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .2s, transform .2s; }
.slider-dots button[aria-current]::before { background: #fff; transform: scale(1.3); }
.hero { background: linear-gradient(180deg, var(--sand), var(--bg)); }
.hero-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--sea); margin: 0 0 10px; }
h1 { font: 700 clamp(2rem, 4.6vw, 3.1rem)/1.1 var(--serif); margin: 0 0 14px; }
h2 { font: 700 1.7rem/1.2 var(--serif); margin: 0 0 16px; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .92rem; font-weight: 600; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 20px; }
.price-main { font: 700 2rem/1 var(--serif); color: var(--sea); }
.price-sub { color: var(--ink-2); font-weight: 600; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.btn { display: inline-block; background: var(--sea); color: #fff; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; margin: 4px 6px 4px 0; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--sea-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--sea); box-shadow: inset 0 0 0 2px var(--sea); }
.btn.ghost:hover { background: var(--sea); color: #fff; }
.btn.big { font-size: 1.15rem; padding: 14px 26px; word-break: break-all; }
.block { padding-top: 40px; padding-bottom: 8px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.features li { position: relative; padding-left: 30px; }
.features li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.g-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.map { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 1px solid var(--line); }
.map { position: relative; }
.map > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-btn { position: absolute; right: 12px; bottom: 12px; margin: 0; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }
.ad { max-width: 1120px; margin: 40px auto 0; padding: 0 16px; min-height: 90px; }
.contact { text-align: center; padding-bottom: 40px; }
.contact p { color: var(--ink-2); }
.site-footer { border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; margin-top: 24px; }
.site-footer a { color: var(--ink-2); }
.lb-open, .lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 18, .95); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 56px 64px 16px; }
.lb-img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-cap { color: #cfdcde; font-size: .9rem; margin-top: 10px; text-align: center; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.25); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .slider { aspect-ratio: 16 / 9; }
  body { font-size: 16px; }
  .hero-row, .location { grid-template-columns: 1fr; }
  .hero-row { padding-top: 24px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: 340px; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .lb-fig { padding: 56px 8px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
