/* ==========================================================================
   content.css — article pages, <hotel-data> card, reviews grid
   Palette mirrors the recovered site design system:
   gold #b98d2f / #97731f, charcoal #22232a / #1d1e22, Open Sans.
   The recovered style@r_1743928094.css is never modified; everything
   new lives here under collision-free prefixes (ah-, af-, article, hd-, rg-).
   ========================================================================== */

:root {
  --gold: #b98d2f;
  --gold-dark: #97731f;
  --dark: #22232a;
  --darker: #1d1e22;
  --text: #1f2328;
  --muted: #6a6e77;
  --bg: #f4f5f8;
  --line: #e8eaee;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 17px/1.75 "Open Sans", "Segoe UI", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- article page header ------------------------------------------------ */
.ah-header { background: #fff; border-bottom: 1px solid var(--line); }
.ah-header__inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ah-header__logo img { height: 44px; width: auto; display: block; }
.ah-header__nav { display: flex; gap: 22px; }
.ah-header__link {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--dark);
}
.ah-header__link:hover { color: var(--gold-dark); }

/* ---- article ------------------------------------------------------------ */
.article { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; }
.article__title {
  font-size: 2.05rem; line-height: 1.25; letter-spacing: -.01em;
  color: var(--dark); margin: 0 0 .5em;
}
.article__lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.6em; }
.article__body h2 {
  font-size: 1.45rem; line-height: 1.35; color: var(--dark);
  margin: 2.1em 0 .55em; padding-left: .6em; border-left: 3px solid var(--gold);
}
.article__body h3 { font-size: 1.18rem; color: var(--dark); margin: 1.8em 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(--gold); background: var(--bg);
  color: var(--muted); font-style: italic;
}
.article__body pre {
  background: var(--bg); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 8px; 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(--bg); color: var(--dark); }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.article__body img { border-radius: 8px; }

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

/* ---- photo row (below the hotel-data card) -------------------------------- */
.photo-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px; margin: 0 0 36px;
}
.photo-row__item {
  padding: 0; border: 1px solid var(--line); background: none;
  cursor: zoom-in; border-radius: 10px; overflow: hidden; line-height: 0;
  box-shadow: 0 1px 3px rgba(29, 30, 34, .06);
}
.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: 10px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(29, 30, 34, .06);
  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(--gold);
  border-radius: 10px; box-shadow: 0 1px 3px rgba(29, 30, 34, .06);
  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(--gold-dark); line-height: 1.1; }
.hd__stars {
  position: relative; display: inline-block;
  font-size: .95rem; line-height: 1; letter-spacing: 2px; color: #cfd2d8;
}
.hd__stars-track { white-space: nowrap; }
.hd__stars-fill {
  position: absolute; top: 0; left: 0;
  overflow: hidden; white-space: nowrap; color: var(--gold);
}
.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-size: 1.08rem; font-weight: 700; color: var(--dark); line-height: 1.35;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hd__chip {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--bg);
  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: #9aa0a8; }
.hd__row:hover { color: var(--gold-dark); }
.hd__row:hover svg { color: var(--gold-dark); }

/* lightbox */
.hd-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(23, 24, 28, .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: 8px; 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(--gold); border-color: var(--gold); }
.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) ------------------- */
.rg { background: var(--bg); padding: 56px 0; }
.rg__inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.rg__title { margin: 0 0 6px; text-align: center; font-size: 1.7rem; color: var(--dark); }
.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: 18px; }
.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: 10px; padding: 20px 22px;
  text-decoration: none; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.rg__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(29, 30, 34, .10);
  border-color: #d9c08a; color: inherit;
}
.rg__card-img {
  margin: -20px -22px 16px;
  border-radius: 9px 9px 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(--gold-dark); margin-bottom: 7px;
}
.rg__card-title { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.45; color: var(--dark); }
.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: 11px 26px;
  border: 2px solid var(--gold); border-radius: 6px;
  color: var(--gold-dark); font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.rg__more:hover { background: var(--gold); color: #fff; }

/* ---- article page footer -------------------------------------------------- */
.af-footer { background: var(--darker); color: #cfd2d8; margin-top: 40px; }
.af-footer__inner {
  max-width: 1140px; margin: 0 auto; padding: 34px 20px 38px;
  text-align: center; font-size: .85rem; line-height: 1.8;
}
.af-footer__brand { color: #fff; font-weight: 700; letter-spacing: .04em; }
.af-footer__address { color: #9aa0a8; }
.af-footer a { color: var(--gold); text-decoration: none; }
.af-footer a:hover { color: #d9c08a; }
.af-footer__copy { margin-top: 10px; color: #6a6e77; 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: 30px 18px 56px; }
  .article__title { font-size: 1.65rem; }
  .rg { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rg__card, .rg__more { transition: none; }
}
