/* Guide pages: photo on top, title below it, a single readable column. */
.g-top { background: var(--band); border-bottom: 1px solid rgba(28, 77, 82, .15); }
.g-top .wrap { padding-block: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.g-top .brand { min-width: 0; }
.g-links { display: flex; gap: 18px; flex-wrap: wrap; }
.g-links a { color: var(--band-ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.g-links a:hover { text-decoration: underline; }

.g-hero { width: 100%; height: clamp(180px, 34vw, 370px); overflow: hidden; background: var(--sand); }
.g-hero img { width: 100%; height: 100%; object-fit: cover; }
.g-credit { max-width: 1100px; margin: 6px auto 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); font-size: 12px; color: var(--muted); text-align: right; }
.g-credit a { color: inherit; }
.g-hero-sun, .g-hero-summit, .g-hero-city { height: clamp(110px, 16vw, 180px); }
.g-hero-sun, .g-thumb-sun { background: linear-gradient(180deg, #e9d6a6 0%, #b88d3f 100%); }
.g-hero-summit, .g-thumb-summit { background: linear-gradient(180deg, #7fa9b3 0%, #1c4d52 100%); }
.g-hero-city, .g-thumb-city { background: linear-gradient(180deg, #a9c6d6 0%, #4f7487 100%); }

.g-article { padding-block: 28px 64px; max-width: 760px; display: grid; gap: 28px; }
.g-index { padding-block: 32px 64px; display: grid; gap: 24px; }
.g-head { display: grid; gap: 10px; }
.g-head .tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.g-head h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.02em; }
.g-dek { font-size: 19px; color: var(--muted); max-width: 60ch; }
.g-back { font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; }
.g-back::before { content: "← "; }

.g-glance { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.g-glance div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.g-glance div:nth-child(odd) { border-right: 1px solid var(--line); }
.g-glance div:nth-last-child(-n+2) { border-bottom: 0; }
.g-glance dt { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.g-glance dd { margin: 4px 0 0; font-size: 15px; }

.g-body { display: grid; gap: 26px; font-size: 17px; line-height: 1.65; }
.g-body section { display: grid; gap: 10px; }
.g-body h2 { font-size: 24px; letter-spacing: -.01em; }
.g-body p { max-width: 68ch; }
.g-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.g-tips { background: var(--sand); color: var(--sand-ink); border-radius: 14px; padding: 18px 20px; display: grid; gap: 10px; }
.g-tips h2 { font-size: 20px; color: var(--sand-ink); }

.g-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.g-cta h2 { font-size: 22px; }
.g-cta p { color: var(--muted); margin-top: 4px; max-width: 48ch; }
.g-more { display: grid; gap: 14px; }
.g-more h2 { font-size: 22px; }

@media (max-width: 560px) {
  .g-glance { grid-template-columns: 1fr; }
  .g-glance div:nth-child(odd) { border-right: 0; }
  .g-glance div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .g-links a:not(:last-child) { display: none; }
  .g-links a { white-space: nowrap; font-weight: 600; }
  .g-top .brand { font-size: 15px; gap: 8px; }
  .g-top .brand img { width: 36px; height: 36px; }
}

/* Resort pages and "Where to stay" lists */
.g-body h3 { font-size: 18px; margin-top: 6px; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.g-table th, .g-table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.g-body .table-wrap { overflow-x: auto; }
.g-stays { display: grid; gap: 12px; }
.g-stays h2 { font-size: 22px; }
.g-stay-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.g-stay { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.g-stay strong { font-size: 16px; }
.g-stay span { color: var(--muted); font-size: 14px; }
.g-stay .more { color: var(--teal); font-weight: 600; }
.g-stay:hover { border-color: var(--teal); }
.g-cols { columns: 2; column-gap: 28px; }
.g-cols li { break-inside: avoid; }
.g-sub { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .g-table { font-size: 14px; } .g-table th:nth-child(4), .g-table td:nth-child(4) { display: none; } }
.g-acc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.g-acc + .g-acc { margin-top: 8px; }
.g-acc summary { cursor: pointer; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.g-acc summary::-webkit-details-marker { display: none; }
.g-acc summary::after { content: "+"; font-size: 20px; color: var(--muted); margin-left: 10px; }
.g-acc[open] summary::after { content: "−"; }
.g-acc summary span { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.g-acc ul, .g-acc p { padding: 0 16px 14px 36px; margin: 0; }
.g-acc p { padding-left: 16px; }
.g-todo { display: grid; gap: 10px; }
.g-todo-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Resort page: content plus a booking panel on the right on desktop */
main .r-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 0 48px; }
.r-main { padding-bottom: 0; }
.r-side { min-width: 0; }
.r-book { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 12px; box-shadow: 0 6px 24px rgba(28, 77, 82, .08); }
.r-book h2 { font-size: 21px; }
.r-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r-book .field { display: grid; gap: 4px; }
.r-btn { width: 100%; justify-content: center; }
.r-fine { margin: 0; }
main .r-after { padding-block: 0 56px; }
@media (min-width: 960px) {
  main .r-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
  .r-main { max-width: none; }
  .r-side { position: sticky; top: 20px; padding-top: 28px; }
}

/* Shorter pages: tabs on resort pages, collapsible sections on guides */
.r-hero { height: clamp(150px, 22vw, 260px); }
.r-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: -8px; }
.r-tabs button { flex: none; font: 600 15px var(--body, inherit); padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); cursor: pointer; }
.r-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.r-js .r-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.r-panel { display: grid; gap: 12px; }
.r-panel h3 { margin-top: 6px; }
.g-sec { border-bottom: 1px solid var(--line); }
.g-sec summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.g-sec summary::-webkit-details-marker { display: none; }
.g-sec summary::after { content: "+"; font-size: 22px; color: var(--muted); }
.g-sec[open] summary::after { content: "−"; }
.g-sec summary h2 { font-size: 21px; }
.g-sec-body { display: grid; gap: 10px; padding-bottom: 16px; }
.g-body:has(> .g-sec) { gap: 0; }
.g-body:has(> .g-sec) > .g-tips { margin-top: 22px; }
@media (max-width: 560px) {
  /* Swipe rows instead of long stacks on phones */
  .g-stay-list, .g-more .ideas { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
  .g-stay-list > *, .g-more .ideas > * { scroll-snap-align: start; }
  .g-stays .g-dek { display: none; }
}
