.detail-top { padding-block: clamp(21px, 3vw, 40px) clamp(34px, 4vw, 58px); }
.detail-breadcrumb { margin-bottom: clamp(17px, 2vw, 28px); }

.detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 0.9fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
}
.detail-gallery { min-width: 0; margin: 0; }
.gallery-stage {
  display: grid;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.56;
  border-radius: 14px;
  background: var(--soft-green);
}
.gallery-stage-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.gallery-stage-photo:disabled { cursor: default; }
.gallery-stage-photo > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.gallery-stage-photo:focus-visible { outline-color: var(--white); outline-offset: -4px; }
.gallery-zoom-icon {
  position: absolute;
  inset: 12px 12px auto auto;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid #ffffff6d;
  border-radius: 50%;
  background: #12342dda;
  color: var(--white);
  font-size: 1.08rem;
}
.gallery-stage-photo:disabled .gallery-zoom-icon { display: none; }
.gallery-stage-photo:hover .gallery-zoom-icon { background: var(--deep-green); }
.gallery-arrows {
  position: absolute;
  inset: auto 12px 12px auto;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #ffffff6d;
  border-radius: 24px;
  background: #12342dda;
  color: var(--white);
}
.gallery-arrows .control { width: 36px; }
.gallery-arrows .control:hover { background: #ffffff26; }
.gallery-arrows button:focus-visible { outline-color: var(--white); outline-offset: -1px; }
.gallery-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0 12px;
  min-height: 1.3em;
  color: var(--subtle);
  font-size: 0.875rem;
}
.gallery-foot [data-gallery-counter] { flex: none; font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: clamp(5px, 1vw, 10px); padding: 2px; }
.gallery-thumb {
  flex: 0 0 clamp(53px, 9vw, 96px);
  aspect-ratio: 1.35;
  overflow: hidden;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}
.gallery-thumb:hover { border-color: #71a18b; }
.gallery-thumb[aria-current="true"] { outline: 2px solid var(--green); border-color: transparent; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

body:has(.gallery-lightbox[open]) { overflow: hidden; }
.gallery-lightbox {
  width: min(1020px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #395049;
  border-radius: 13px;
  background: #101e1b;
  color: var(--white);
  box-shadow: 0 24px 72px #0008;
}
.gallery-lightbox::backdrop { background: #091512df; }
.lightbox-inner { padding: 8px clamp(9px, 1.8vw, 21px); }
.lightbox-header, .lightbox-controls { display: flex; align-items: center; gap: 10px; }
.lightbox-header { justify-content: space-between; padding-bottom: 6px; }
.lightbox-header p { color: #e4f1e9; font-weight: 750; font-size: 0.9375rem; }
.lightbox-photo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(880px, calc(100dvh - 146px));
  margin-inline: auto;
  object-fit: contain;
}
.lightbox-controls { justify-content: center; padding-top: 6px; }
.lightbox-controls [data-lightbox-counter] { min-width: 7ch; text-align: center; color: #d4e4dc; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.gallery-lightbox .control { flex: none; width: 44px; background: #ffffff13; }
.gallery-lightbox .control:hover:not(:disabled) { background: #ffffff29; }
.gallery-lightbox .control:focus-visible { outline-color: #d4f5e4; outline-offset: 2px; }
.gallery-lightbox .control:disabled { opacity: 0.4; cursor: default; }

.detail-summary {
  padding-block: clamp(0px, 1.5vw, 19px) 0;
  min-width: 0;
}
.detail-location { display: flex; align-items: center; gap: 6px; margin-bottom: 0.75rem; color: var(--green); font-size: 0.9rem; font-weight: 750; }
.detail-summary h1 { font-size: clamp(2rem, 3.45vw, 3.25rem); font-weight: 850; line-height: 1.16; letter-spacing: -0.06em; text-wrap: balance; }
.detail-lead { margin-top: 1rem; color: var(--subtle); }
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(15px, 2.8vw, 40px);
  margin-top: 1.35rem;
  padding-block: 0.85rem;
  border-block: 1px solid var(--border);
}
.detail-facts div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.detail-facts dt { font-size: 0.875rem; color: var(--subtle); }
.detail-facts dd { font-size: 0.9375rem; font-weight: 750; }
.detail-rate { margin-block: 1.2rem 1.3rem; }
.detail-rate p:first-child { display: flex; gap: 10px; align-items: baseline; }
.detail-rate-label { color: var(--green); font-size: 0.875rem; font-weight: 760; }
.detail-rate strong { font-size: 1.9rem; color: var(--ink); line-height: 1.1; font-weight: 850; letter-spacing: -0.045em; }
.detail-rate strong small { font-size: 0.65em; margin-left: 2px; }
.detail-rate .rate-note { margin: 7px 0 0; }
.detail-summary .button { min-width: 150px; }

.detail-jump { background: var(--white); border-block: 1px solid var(--border); }
.detail-jump ul { display: flex; flex-wrap: wrap; align-items: center; gap: 3px clamp(12px, 2.3vw, 28px); padding-block: 5px; }
.detail-jump a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--deep-green);
  font-size: 0.9375rem;
  font-weight: 750;
}
.detail-jump a:hover { background: var(--soft-green); }
.detail-content { padding-block: clamp(38px, 5vw, 68px) clamp(52px, 6vw, 90px); }
.detail-content > section + section {
  margin-top: clamp(28px, 4vw, 50px);
  padding-top: clamp(24px, 3.2vw, 42px);
  border-top: 1px solid var(--border);
}
.detail-content > section > h2 { color: var(--ink); font-size: clamp(1.55rem, 2.55vw, 2.14rem); line-height: 1.25; font-weight: 850; letter-spacing: -0.055em; }
.detail-richtext {
  margin-top: 0.9rem;
  color: #43594f;
  overflow-x: auto;
  overflow-wrap: anywhere;
}
.detail-richtext > * + * { margin-block-start: 0.8em; }
.detail-richtext :is(ul, ol) { padding-inline-start: 1.45em; }
.detail-richtext ul { list-style: disc; }
.detail-richtext li + li { margin-top: 0.3em; }
.detail-richtext a { color: var(--green); text-decoration: underline; text-underline-offset: 0.18em; }
.detail-richtext :is(img, video, iframe) { max-width: 100%; }
.detail-richtext :is(img, video) { height: auto; }
.detail-richtext table { max-width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.875rem; }
.detail-richtext :is(th, td) { padding: 7px clamp(6px, 1.4vw, 16px); border: 1px solid var(--border); text-align: start; }
.detail-richtext thead th { background: var(--soft-green); color: var(--deep-green); }
.detail-back { display: inline-flex; margin-top: 1.2rem; color: var(--green); font-weight: 750; }
.detail-back:hover { text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 850px) {
  .detail-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr); }
}
@media (max-width: 690px) {
  .detail-overview { grid-template-columns: minmax(0, 1fr); }
  .gallery-stage { aspect-ratio: 1.55; border-radius: 10px; }
  .gallery-thumbs { flex-wrap: nowrap; gap: 6px; padding: 3px; overflow-x: auto; }
  .gallery-thumb { flex-basis: clamp(48px, 13vw, 70px); }
  .gallery-foot { margin: 7px 0 9px; }
  .detail-summary { padding: 0; }
  .detail-summary h1 { text-wrap: wrap; }
  .detail-summary .button { width: 100%; }
}
@media (max-width: 480px) {
  .detail-jump ul { gap: 1px 5px; }
  .detail-jump a { min-height: 40px; padding-inline: 7px; font-size: 0.875rem; }
}