/* ==========================================================================
   content.css — article pages, <hotel-data> card, reviews grid
   Palette mirrors the recovered SPB Paradise (Adobe Muse 2018.1) design:
   accent blue #29ABE2 / #0071BC, warm brown text #534741, cream #FAF5E5,
   signature offset shadow 6px 6px 8px rgba(0,0,0,.35), 1-2px radii.
   Headings use the recovered Julius Sans One webfont (03_site/fonts/).
   The recovered Muse css files are never modified; everything new lives
   here under collision-free prefixes (ah-, af-, article, hd-, rg-).
   ========================================================================== */

@font-face {
  font-family: "Julius Sans One";
  src: url("../fonts/juliussansone-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #29abe2;
  --accent-dark: #0071bc;
  --accent-soft: #9fdbf3;
  --brown: #534741;
  --cream: #faf5e5;
  --text: #4a403a;
  --muted: #7d7269;
  --bg: #f4f3ec;
  --line: #e7e2d6;
  --shadow: 6px 6px 8px rgba(0, 0, 0, .35);
  --shadow-hover: 6px 6px 8px rgba(0, 0, 0, .3);
  --radius: 2px;
  --heading: "Julius Sans One", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.75 var(--body);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- article page header ------------------------------------------------ */
.ah-header { background: #fff; border-bottom: 1px solid var(--line); }
.ah-header__inner {
  max-width: 1024px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.ah-header__logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--brown);
}
.ah-header__logo img { height: 46px; width: auto; display: block; }
.ah-header__wordmark {
  font-family: var(--heading); font-size: 1.15rem; letter-spacing: .06em;
}
.ah-header__nav { display: flex; gap: 6px; flex-wrap: wrap; }
.ah-header__link {
  font-size: .82rem; letter-spacing: .04em; text-decoration: none;
  color: var(--brown); padding: 7px 14px; border-radius: var(--radius);
  transition: background-color .4s ease .1s, color .4s ease .1s;
}
/* mirrors the Muse menu: blue fill + white label on hover */
.ah-header__link:hover { background: var(--accent); color: #fff; }

/* ---- article ------------------------------------------------------------ */
.article {
  max-width: 900px; margin: 0 auto; padding: 34px 20px 60px;
}
.article > .article__body, .article > .article__annotation,
.article > .photo-row, .article > hotel-data {
  background: #fff;
}
.article__title {
  font-family: var(--heading); font-weight: 400;
  font-size: 1.9rem; line-height: 1.3; letter-spacing: .01em;
  color: var(--brown); margin: 0 0 .4em;
}
.article__lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.6em; }
.article__body h2 {
  font-family: var(--heading); font-weight: 400;
  font-size: 1.32rem; line-height: 1.4; color: var(--brown);
  margin: 2em 0 .55em; padding-left: .6em; border-left: 3px solid var(--accent);
}
.article__body h3 { font-size: 1.12rem; color: var(--brown); margin: 1.7em 0 .5em; }
.article__body p { margin: .85em 0; }
.article__body ul, .article__body ol { margin: .85em 0; padding-left: 1.5em; }
.article__body li { margin: .3em 0; }
.article__body blockquote {
  margin: 1.2em 0; padding: .2em 1.1em;
  border-left: 3px solid var(--accent); background: var(--cream);
  color: var(--muted); font-style: italic;
}
.article__body pre {
  background: var(--cream); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: var(--radius); overflow-x: auto; font-size: .9em;
}
.article__body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
.article__body table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95em; }
.article__body th, .article__body td {
  border: 1px solid var(--line); padding: 8px 12px;
  text-align: left; vertical-align: top;
}
.article__body th { background: var(--cream); color: var(--brown); }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.article__body img { border-radius: var(--radius); }

/* ---- human-written annotation --------------------------------------------- */
.article__annotation {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border: 1px solid #ece2c2; border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 34px;
}
.article__annotation svg { flex: 0 0 auto; color: var(--accent-dark); margin-top: 3px; }
.article__annotation p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--brown); }

/* ---- photo row (below the hotel-data card) -------------------------------- */
.photo-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 12px; margin: 0 0 34px;
}
.photo-row__item {
  padding: 0; border: 1px solid var(--line); background: none;
  cursor: zoom-in; border-radius: var(--radius); overflow: hidden; line-height: 0;
  box-shadow: var(--shadow);
  transition: box-shadow .16s ease;
}
.photo-row__item:hover { box-shadow: var(--shadow-hover); }
.photo-row__item img {
  display: block; width: 100%; height: 210px; object-fit: cover;
  transition: transform .18s ease, opacity .18s ease;
}
.photo-row__item:hover img { transform: scale(1.04); opacity: .9; }

/* ---- inline figure above h2 ------------------------------------------------ */
.article__inline-photo {
  margin: 2.4em 0 1.1em; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  cursor: zoom-in; line-height: 0;
}
.article__inline-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) {
  .photo-row__item img { height: 130px; }
}

/* ---- <hotel-data> card --------------------------------------------------- */
hotel-data { display: block; margin: 26px 0 30px; }
.hd__card {
  display: flex; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 22px;
}
.hd__rating { flex: 0 0 auto; text-align: center; min-width: 96px; }
.hd__score { font-size: 2.1rem; font-weight: 700; color: var(--accent-dark); line-height: 1.1; }
.hd__stars {
  position: relative; display: inline-block;
  font-size: .95rem; line-height: 1; letter-spacing: 2px; color: #d8d2c6;
}
.hd__stars-track { white-space: nowrap; }
.hd__stars-fill {
  position: absolute; top: 0; left: 0;
  overflow: hidden; white-space: nowrap; color: var(--accent);
}
.hd__reviews { font-size: .78rem; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.hd__body { flex: 1 1 auto; min-width: 0; }
.hd__name {
  font-family: var(--heading); font-weight: 400;
  font-size: 1.05rem; color: var(--brown); line-height: 1.35;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hd__chip {
  font-family: var(--body);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px;
}
.hd__rows { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.hd__row {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  font-size: .88rem; color: var(--muted); text-decoration: none;
}
.hd__row svg { flex: 0 0 auto; color: #a89e93; }
.hd__row:hover { color: var(--accent-dark); }
.hd__row:hover svg { color: var(--accent-dark); }

/* lightbox */
.hd-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(52, 44, 39, .93);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.hd-lightbox[hidden] { display: none; }
.hd-lightbox img {
  max-width: 92vw; max-height: 84vh;
  border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.hd-lightbox button {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  width: 44px; height: 44px; font-size: 22px; line-height: 1;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.hd-lightbox button:hover { background: var(--accent); border-color: var(--accent); }
.hd-lightbox__close { top: 18px; right: 18px; }
.hd-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.hd-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---- reviews grid (homepage section + /reviews/ index) ------------------- */
/* clear:both: the whole Muse page content lives inside the floated
   full-bleed hero (#ppslideshowu723, float:left). Without clearance the
   section's box overlaps that float and every line box inside is
   displaced past the float's bottom edge (stretching .rg__title etc.).
   Same mechanism Muse itself uses on .verticalspacer. */
.rg { padding: 44px 0 50px; clear: both; }
.rg__inner { max-width: 1024px; margin: 0 auto; padding: 0 20px; }
.rg__title {
  font-family: var(--heading); font-weight: 400;
  margin: 0 0 6px; text-align: center; font-size: 1.6rem; color: var(--brown);
}
.rg__sub { margin: 0 0 30px; text-align: center; color: var(--muted); font-size: .95rem; }
.rg__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.rg__list_page { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rg__card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  text-decoration: none; color: inherit; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.rg__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}
.rg__card-img {
  margin: -20px -22px 16px;
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.rg__card-img img { display: block; width: 100%; height: 150px; object-fit: cover; }
.rg__card-body { display: block; }
.rg__card-hotel {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 7px;
}
.rg__card-title { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.45; color: var(--brown); }
.rg__card-excerpt {
  margin: 0 0 12px; font-size: .88rem; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rg__card-meta { font-size: .8rem; color: var(--muted); }
.rg__more {
  display: table; margin: 30px auto 0; padding: 10px 26px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  color: var(--accent-dark); background: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  transition: background-color .4s ease .1s, color .4s ease .1s;
}
/* mirrors the Muse menu hover */
.rg__more:hover { background: var(--accent); color: #fff; }

/* Muse's site_global sets a:link {color:#00F; text-decoration:underline}
   (0,1,1) which outranks single-class selectors — re-assert our styles on
   the grid anchors with higher specificity. */
.rg a.rg__card, .rg a.rg__card:link { color: inherit; text-decoration: none; }
.rg a.rg__more, .rg a.rg__more:link { color: var(--accent-dark); text-decoration: none; }

/* ---- article page footer -------------------------------------------------- */
.af-footer { background: var(--brown); color: #efe9df; margin-top: 40px; }
.af-footer__inner {
  max-width: 1024px; margin: 0 auto; padding: 34px 20px 38px;
  text-align: center; font-size: .85rem; line-height: 1.8;
}
.af-footer__brand {
  font-family: var(--heading); letter-spacing: .06em;
  color: #fff;
}
.af-footer__address { color: #cfc6bb; }
.af-footer a { color: var(--accent-soft); text-decoration: none; }
.af-footer a:hover { color: #fff; }
.af-footer__copy { margin-top: 10px; color: #a89e93; font-size: .78rem; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 560px) {
  .hd__card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hd__rating { display: flex; align-items: baseline; gap: 10px; text-align: left; min-width: 0; }
}
@media (max-width: 640px) {
  .article { padding: 24px 16px 48px; }
  .article__title { font-size: 1.5rem; }
  .rg { padding: 32px 0 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .rg__card, .rg__more, .photo-row__item img, .ah-header__link { transition: none; }
}
