/* Surf & travel guides (/guides/ and /guides/<slug>/). Builds on main.css tokens. */

/* Hero tweaks for articles */
.g-hero { min-height: min(78vh, 720px); }
.g-hero .eyebrow a { color: inherit; text-decoration: none; }
.g-hero .eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.g-byline { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: rgba(255,255,255,.72); margin: -12px 0 32px; }

/* At a glance */
.g-glance { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--white); }
.g-glance > div { padding: 20px 22px; border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); margin-right: -1px; margin-bottom: -1px; }
.g-glance dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.g-glance dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.g-glance dd small { display: block; font-weight: 400; font-size: 14px; color: var(--grey); margin-top: 2px; }

/* Contents */
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.g-toc a { display: inline-block; padding: 8px 14px; border: 1px solid var(--mist); border-radius: 999px;
  font-size: 14.5px; text-decoration: none; color: var(--navy); background: var(--white); }
.g-toc a:hover { border-color: var(--navy); }

/* Article body */
.g-body { max-width: 760px; }
.g-body > h2 { margin: 0 0 20px; }
.g-body p { font-size: 18px; }
.g-body ul { padding-left: 1.2em; margin: 0 0 1.2em; font-size: 17px; }
.g-body li { margin-bottom: .45em; }
.g-body a:not(.ui-btn):not(.link) { color: var(--cobalt); }
.g-body h3 { font-size: 22px; margin: 1.6em 0 .5em; }

/* Season chart: peak in electric blue */
.g-season { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-size: 14px; }
.g-season caption { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding-bottom: 12px; }
.g-season th { font-weight: 600; text-align: left; padding: 0 10px 0 0; width: 170px; line-height: 1.2; }
.g-season thead th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--grey); text-align: center; padding: 0 0 4px; width: auto; }
.g-season thead th:first-child { text-align: left; }
.g-season td { height: 30px; border-radius: 4px; background: var(--mist-soft); }
.g-season td.pk { background: var(--cobalt); }
.g-season td.gd { background: var(--skylight); }
.g-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--grey); }
.g-key li { display: flex; align-items: center; gap: 8px; }
.g-key i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; background: var(--mist-soft); border: 1px solid var(--mist); }
.g-key .pk { background: var(--cobalt); border-color: var(--cobalt); }
.g-key .gd { background: var(--skylight); border-color: var(--skylight); }
.g-season-wrap { overflow-x: auto; }
@media (max-width: 560px) {
  .g-season { font-size: 13px; border-spacing: 2px; }
  .g-season th { width: 92px; }
  .g-season thead th { font-size: 10px; }
  .g-season td { height: 26px; }
}

/* Regions */
.g-regions { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.g-region { border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.g-region__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.g-region__img img { width: 100%; height: 100%; object-fit: cover; }
.g-region__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.g-region__body .eyebrow { margin-bottom: 10px; font-size: 12px; }
.g-region h3 { font-size: 24px; margin-bottom: 10px; }
.g-region p { font-size: 16px; color: #2b3a46; }
.g-region dl { margin: auto 0 16px; display: grid; gap: 6px; font-size: 14.5px; }
.g-region dl div { display: flex; gap: 12px; justify-content: space-between; border-top: 1px solid var(--mist); padding-top: 6px; }
.g-region dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding-top: 2px; }
.g-region dd { margin: 0; text-align: right; }

/* Ways to travel */
.g-ways { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 32px; }
.g-way { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--mist); }
.g-way h3 { font-size: 21px; margin-bottom: 8px; }
.g-way p { font-size: 16px; margin: 0; color: #2b3a46; }

/* Checklists and notes */
.g-check { list-style: none; padding: 0 !important; }
.g-check li { position: relative; padding-left: 30px; }
.g-check li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.g-note { border-left: 3px solid var(--cobalt); background: var(--mist-soft); padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 0 0 1.5em; }
.g-note p { font-size: 16px; margin: 0; }
.g-note p + p { margin-top: .6em; }

/* Featured stays and expeditions */
.g-feature { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.g-feature .badge--own { background: var(--cobalt); color: var(--white); }
.g-stays { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.g-stays a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--mist); border-radius: 8px;
  background: var(--white); text-decoration: none; color: var(--navy); transition: border-color .2s; }
.g-stays a:hover { border-color: var(--navy); }
.g-stays strong { font-size: 17px; }
.g-stays span { font-size: 14.5px; color: var(--grey); }
.g-stays em { font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin-top: 4px; }

/* Sources */
.g-sources { font-size: 14px; color: var(--grey); }
.g-sources ul { padding-left: 1.1em; margin: .5em 0 1em; }
.g-sources li { margin-bottom: .3em; }
.g-sources a { color: var(--grey); }

/* Hub */
.g-hub .card__body h3 { font-size: 23px; }

.g-strip { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 0 0 20px; }
.g-strip img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: 100%; border-radius: 8px; }
@media (max-width: 600px) { .g-strip { grid-template-columns: 1fr 1fr; } .g-strip img:first-child { grid-column: span 2; } }

/* Comparison tables in guides (Nov 2026) */
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; margin: 8px 0 20px; }
.g-table caption { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding-bottom: 12px; }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--mist); }
.g-table thead th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); border-bottom: 2px solid var(--navy); }
.g-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }
.g-table td strong { color: var(--cobalt); }
@media (max-width: 640px) {
  .g-table thead { display: none; }
  .g-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .g-table th, .g-table td { display: block; border: 0; padding: 2px 0; white-space: normal; }
  .g-table tbody th { font-size: 16px; padding-bottom: 4px; }
  .g-table td[data-label]::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
}

/* "How we choose" route (journal/how-we-choose-places) */
.g-flow { overflow: hidden; }
.g-funnel { display: grid; gap: 8px; justify-items: center; margin: 40px auto 56px; max-width: 900px; }
.g-funnel > div { width: var(--w); min-width: 210px; padding: 13px 16px; text-align: center; border-radius: 6px;
  background: rgba(127,168,242,.12); border: 1px solid rgba(127,168,242,.28); }
.g-funnel > div:nth-child(2) { background: rgba(127,168,242,.18); }
.g-funnel > div:nth-child(3) { background: rgba(127,168,242,.26); }
.g-funnel > div:nth-child(4) { background: rgba(127,168,242,.36); }
.g-funnel > .is-live { background: var(--cobalt); border-color: var(--cobalt); }
.g-funnel span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.g-route { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.g-route::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 40px; border-left: 2px dashed rgba(127,168,242,.45); }
.g-route__phase { position: relative; margin: 8px 0 22px; padding-left: 72px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--skylight); }
.g-route__phase::before { content: ""; position: absolute; left: 21px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; background: var(--skylight); box-shadow: 0 0 0 6px rgba(127,168,242,.18); }
.g-route__phase:not(:first-child) { margin-top: 44px; }
.g-stage { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin: 0 0 18px; }
.g-stage__n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 15px; color: #fff; background: var(--navy); border: 2px solid rgba(127,168,242,.6); }
.g-stage > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 24px; }
.g-stage__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--skylight); margin: 0 0 6px; }
.g-stage h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.g-stage p { color: rgba(255,255,255,.82); font-size: 16.5px; margin: 0; }
.g-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.g-chips li { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(127,168,242,.4); color: #fff; }
.g-stage.is-live .g-stage__n { background: var(--cobalt); border-color: var(--cobalt); }
.g-stage.is-live > div { border-color: rgba(127,168,242,.55); background: rgba(21,84,209,.18); }
@media (max-width: 600px) {
  .g-funnel > div { min-width: 0; padding: 11px 10px; }
  .g-funnel > div:nth-child(2) { width: 88%; } .g-funnel > div:nth-child(3) { width: 76%; }
  .g-funnel > div:nth-child(4) { width: 62%; } .g-funnel > div:nth-child(5) { width: 50%; }
  .g-funnel span { font-size: 10.5px; letter-spacing: .1em; }
  .g-route::before { left: 19px; }
  .g-route__phase { padding-left: 52px; }
  .g-route__phase::before { left: 13px; }
  .g-stage { grid-template-columns: 40px 1fr; gap: 12px; }
  .g-stage__n { width: 40px; height: 40px; font-size: 13px; }
  .g-stage > div { padding: 18px; }
}
