/* The three buyer guides (guide-buying, guide-eco, guide-sailing-power).
   Loaded after site.css and pages.css. Reading column with a viewing checklist that fills up while you read,
   one sea block per guide for its feature, and the split photo intro of the sailing or power guide. */

/* ---------- photo intro ---------- */

.gh-hero > img { object-position: var(--pos, 50% 50%); }
.gh-hero h1 { max-width: 18ch; }
.gh-hero .nowrap { white-space: nowrap; }
/* the words sit on the left: a soft shade behind them keeps the yacht on the right untouched */
@media (min-width: 761px) {
  .gh-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgb(6 16 25 / .55) 0%, rgb(6 16 25 / .3) 34%, rgb(6 16 25 / 0) 58%);
  }
}
/* photos with the yacht left of centre: on wide screens the words sit on the open water to her right */
@media (min-width: 1100px) {
  .gh-hero.is-right::before { background: linear-gradient(270deg, rgb(6 16 25 / .5) 0%, rgb(6 16 25 / .25) 34%, rgb(6 16 25 / 0) 55%); }
  .gh-hero.is-right .p-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
  .gh-hero.is-right .p-hero-inner > * { grid-column: 2; }
}

/* ---------- split photo intro: sail | power ---------- */

@property --d { syntax: "<number>"; inherits: true; initial-value: 0.5; }

.gs-stage { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--sea); cursor: pointer; --d: 0.5; }
.gs-pane { position: absolute; inset: 0; overflow: hidden; }
.gs-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; }
/* each photo stays centred in its own side: it follows the line at half its speed (transforms only) */
.gs-sail { clip-path: inset(0 calc((1 - var(--d)) * 100%) 0 0); }
.gs-sail img { transform: translateX(calc((var(--d) / 2 - 0.5) * 100%)); }
.gs-power img { transform: translateX(calc(var(--d) / 2 * 100%)); }

.gs-divider { position: absolute; top: 0; bottom: 0; left: calc(var(--d) * 100%); width: 56px; margin-left: -28px; z-index: 2; cursor: ew-resize; touch-action: none; }
.gs-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgb(0 0 0 / .35); }
.gs-grip { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); display: flex; }
.gs-tag {
  min-width: 92px; padding: 11px 16px; color: #fff; font-weight: 600; font-size: 0.9375rem; line-height: 1;
  background: rgb(8 18 27 / .5); border: 1px solid rgb(255 255 255 / .4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); user-select: none;
}
.gs-tag:first-child { text-align: right; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.gs-tag:last-child { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.gs-divider:hover .gs-tag, .gs-stage.is-dragging .gs-tag { background: rgb(8 18 27 / .7); border-color: #fff; }
.gs-range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gs-range:focus-visible ~ .gs-divider .gs-grip { outline: 2px solid #fff; outline-offset: 4px; border-radius: var(--radius); }
.gs-range:focus-visible ~ .gs-divider .gs-tag { background: rgb(8 18 27 / .75); border-color: #fff; }
/* nothing covers the two yachts: the words follow below the photos, on the sea colour */
.gs-hero { display: block; min-height: 0; }
.gs-hero .gs-stage { position: relative; inset: auto; z-index: 0; height: clamp(420px, 64dvh, 700px); }
.gh-hero.gs-hero::before { content: none; }
.gs-hero::after { z-index: 1; inset: 0 0 auto 0; height: 160px; background: linear-gradient(180deg, rgb(6 16 25 / .55) 0%, rgb(6 16 25 / 0) 100%); }
.gs-hero .p-hero-inner { padding-top: 40px; padding-bottom: 56px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px 64px; align-items: end; }
.gs-hero .p-hero-inner .crumbs, .gs-hero .p-hero-inner h1 { grid-column: 1; }
.gs-hero .p-hero-inner .gh-lede, .gs-hero .p-hero-inner .gh-credit { grid-column: 2; }
.gs-hero .p-hero-inner h1 { grid-row: 2 / 4; align-self: end; }
.gs-hero .p-hero-inner .gh-lede { grid-row: 2; align-self: end; }
.gs-hero .p-hero-inner .gh-credit { grid-row: 3; }

@media (max-width: 960px) {
  .gs-hero .p-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .gs-hero .p-hero-inner > * { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 760px) {
  .gs-hero .gs-stage { height: auto; aspect-ratio: 4 / 3; }
  .gs-hero::after { height: 90px; aspect-ratio: auto; }
  .gs-hero .p-hero-inner { padding-top: 22px; padding-bottom: 32px; }
  .gs-grip { top: 50%; }
  .gs-tag { min-width: 66px; padding: 9px 12px; font-size: 0.8125rem; }
}

/* ---------- reading column and the checklist beside it ---------- */

.ga-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: clamp(40px, 6vw, 96px);
  align-items: start; padding-top: clamp(64px, 8vw, 112px);
}
.ga-read { justify-self: center; width: 100%; }
.ga-read .ga-sec h2 { margin-top: 0; }
.ga-sec + .ga-sec { margin-top: clamp(52px, 5vw, 72px); }
.ga-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.ga-sec h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

.ga-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.ga-aside-in {
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 12px; align-content: start;
  max-height: calc(100dvh - var(--header-h) - 64px); padding: 2px 0 4px 28px; border-left: 1px solid var(--line);
}
.ga-aside h2 { font-size: 1.55rem; line-height: 1.1; }
.ga-count { font-size: 0.875rem; color: var(--muted); }
/* the list scrolls on its own when it outgrows the screen; heading, count and link stay put */
.ga-list {
  position: relative; display: grid; gap: 18px; align-content: start; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 8px 8px 12px 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 14px), transparent 100%);
}
.ga-list:empty { display: none; }
.ga-list .ck { font-size: 0.875rem; }
.ga-group-h { font-size: 0.8125rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.ga-group ul, .ck-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ga-jump { font-size: 0.875rem; font-weight: 600; color: var(--sky-ink); text-underline-offset: 3px; justify-self: start; }

.ck { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9rem; line-height: 1.45; color: var(--ink); }
.ck input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sky-ink); cursor: pointer; }
.ck label { cursor: pointer; transition: color .3s ease; }
.ck.is-ticked label { color: var(--muted); }

/* new checks arrive calmly, one after another */
@media (prefers-reduced-motion: no-preference) {
  .ga-group.is-new .ga-group-h { animation: ckIn .5s ease both; }
  .ga-group.is-new li { animation: ckIn .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 140ms); }
}
@keyframes ckIn { from { opacity: 0; transform: translateY(10px); } }

/* phones: a quiet note under each section; the full list follows the article */
.ga-added { display: none; }
@media (max-width: 980px) {
  .ga-layout { grid-template-columns: minmax(0, 1fr); }
  .ga-aside { display: none; }
  .ga-added { display: block; margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--sky); font-size: 0.875rem; color: var(--muted); }
  .ga-added a { color: var(--sky-ink); text-underline-offset: 3px; }
}
@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .ga-added { animation: ckIn .6s ease both; }
}

/* ---------- the full checklist ---------- */

.ga-full { margin-top: clamp(72px, 9vw, 120px); scroll-margin-top: calc(var(--header-h) + 16px); }
.ga-full-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; padding-top: 40px; border-top: 1px solid var(--line); }
.ga-full h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); line-height: 1.04; }
.ga-full .lede { margin-top: 12px; max-width: 56ch; }
.ga-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ga-status { min-height: 1.6em; margin-top: 16px; font-size: 0.9rem; font-weight: 600; color: var(--sky-ink); }
.ga-status.is-error { color: #b42318; }
@media (prefers-color-scheme: dark) { .ga-status.is-error { color: #ff8a7a; } }
.ga-full-list { columns: 2 340px; column-gap: 64px; margin-top: 12px; }
.ck-group { break-inside: avoid; padding: 20px 0 26px; border-top: 1px solid var(--line); }
.ck-group h3 { font-size: 1.3rem; margin-bottom: 14px; }
.ck-group .ck { font-size: 1rem; }
.ga-print-title, .ga-print-lines { display: none; }
@media (max-width: 760px) {
  .ga-full-head { grid-template-columns: minmax(0, 1fr); }
  .ga-actions .btn { flex: 1 1 auto; }
}

/* print only the checklist (the print button adds .print-checklist to the body) */
@media print {
  @page { margin: 16mm; }
  body.print-checklist { background: #fff !important; color: #000; color-scheme: light; }
  body.print-checklist > :not(main), .print-checklist main > :not(#checklist) { display: none !important; }
  .print-checklist main { margin-top: 0 !important; }
  .print-checklist #checklist {
    --ink: #000; --ink-2: #222; --muted: #555; --line: #bbb; --paper: #fff; --sky-ink: #000;
    max-width: none; margin: 0; padding: 0; color: #000; color-scheme: light;
  }
  .print-checklist .ga-full-head { display: block; border: 0; padding: 0; }
  .print-checklist .ga-full h2 { font-size: 26pt; }
  .print-checklist .ga-actions, .print-checklist .ga-status, .print-checklist #checklist .lede { display: none !important; }
  .print-checklist .ga-print-title { display: block; margin-top: 4pt; font-size: 10pt; color: #555; }
  .print-checklist .ga-full-list { columns: 1; margin-top: 10pt; }
  .print-checklist .ck-group { padding: 10pt 0 12pt; }
  .print-checklist .ck-group h3 { font-size: 14pt; margin-bottom: 8pt; }
  .print-checklist .ck { font-size: 11pt; color: #000; }
  .print-checklist .ck input { accent-color: #000; }
  .print-checklist .ga-print-lines { display: flex; gap: 32pt; margin-top: 24pt; font-size: 10pt; color: #555; }
  .print-checklist .ga-print-lines span { flex: 1; padding-bottom: 22pt; border-bottom: 1px solid #000; }
}

/* ---------- sea blocks (one per guide) ---------- */

.gp, .ge, .ht { padding: clamp(72px, 9vw, 120px) 0; }
.ge, .ht { margin-top: clamp(72px, 9vw, 120px); }
.gp-head, .ht-head { display: grid; gap: 14px; max-width: 62ch; }
.gp h2, .ge h2, .ht h2 { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); line-height: 1.02; max-width: 16ch; }
.gp .lede, .ge .lede, .ht .lede { color: var(--ink-2); max-width: 58ch; }

/* ---------- buying: same name, different yacht ---------- */

.gp-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.gp-models button {
  display: inline-grid; gap: 4px; padding: 10px 16px 9px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink-2);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.05; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.gp-models button small { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); }
.gp-models button:hover { border-color: var(--ink-2); color: var(--ink); }
.gp-models button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gp-models button[aria-pressed="true"] small { color: var(--paper); opacity: .75; }

.gp-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px 16px; align-items: end; margin-top: 22px; max-width: 920px; }

.gp-result { margin-top: clamp(44px, 5vw, 72px); display: grid; gap: 12px; }
.gp-line { font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem); line-height: 1.08; max-width: 34ch; color: var(--ink); text-wrap: balance; }
.gp-more { color: var(--ink-2); font-size: 1.05rem; max-width: 64ch; }

.gp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: clamp(14px, 3vw, 44px); margin-top: 36px; }
.gp-card { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 18px; align-content: start; min-width: 0; }
.gp-media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--paper-raised); }
.gp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.gp-media:hover img { transform: scale(1.03); }
.gp-title h3 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.02; overflow-wrap: anywhere; }
.gp-title h3 a { text-decoration: none; }
.gp-title h3 a:hover { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gp-model { margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
.gp-facts { margin: 0; border-top: 1px solid var(--line); align-self: start; }
.gp-facts div { display: grid; grid-template-columns: minmax(92px, 36%) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.gp-facts dt { color: var(--muted); }
.gp-facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.gp-facts dd.is-missing { font-weight: 400; color: var(--muted); }
.gp-plan { margin: 0; display: grid; gap: 8px; align-content: start; }
.gp-plan-img { aspect-ratio: 16 / 10; padding: 10px; border-radius: var(--radius); background: #fff; }
.gp-plan-img img { width: 100%; height: 100%; object-fit: contain; }
.gp-plan figcaption { font-size: 0.8125rem; color: var(--muted); }
.gp-plan.is-none { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.gp-plan.is-none p { max-width: 30ch; font-size: 0.9rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .gp-card.is-in { animation: gpIn .7s cubic-bezier(.16, 1, .3, 1) both; }
  .gp-card.is-in + .gp-card.is-in { animation-delay: .1s; }
}
@keyframes gpIn { from { opacity: 0; transform: translateY(14px); } }
.gp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 40px; }
.gp-note { font-size: 0.8125rem; color: var(--muted); }
.gp-foot .btn { margin-left: auto; }

@media (max-width: 760px) {
  .gp-models { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px; }
  .gp-models::-webkit-scrollbar { display: none; }
  .gp-models button { flex: none; font-size: 1.05rem; }
  .gp-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gp-controls .btn { grid-column: 1 / -1; }
  .gp-controls .select { font-size: 0.875rem; padding-left: 10px; }
  .gp-card { row-gap: 12px; }
  .gp-title h3 { font-size: 1.3rem; }
  .gp-model { font-size: 0.75rem; }
  .gp-facts div { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 0; font-size: 0.8125rem; }
  .gp-facts dt { font-size: 0.75rem; }
  .gp-plan-img { padding: 4px; }
  .gp-plan.is-none { padding: 10px; }
  .gp-plan.is-none p { font-size: 0.75rem; }
  .gp-plan figcaption { font-size: 0.75rem; }
  .gp-foot .btn { margin-left: 0; width: 100%; }
}

/* ---------- eco: the yachts on the market now ---------- */

.ge-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.ge-head-copy { display: grid; gap: 14px; }
.ge-ask { color: var(--ink-2); max-width: 58ch; padding-left: 14px; border-left: 2px solid var(--sky); }
.ge-filter { flex: none; }
.ge-rail {
  --lead: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 27vw, 400px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 6px var(--lead); scroll-padding-left: var(--lead);
}
.ge-rail::-webkit-scrollbar { display: none; }
.ge-card { scroll-snap-align: start; display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.ge-media { display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: var(--radius); overflow: hidden; background: var(--paper-raised); }
.ge-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.ge-card:hover .ge-media img { transform: scale(1.04); }
.ge-model { font-size: 0.8125rem; color: var(--muted); }
.ge-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.08; }
.ge-card:hover .ge-name { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 5px; }
.ge-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--ink-2); }
.ge-meta strong { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ge .rail-controls { margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .ge-rail.is-waiting .ge-card { opacity: 0; }
  .ge-rail.is-dealt .ge-card { animation: geIn 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(min(var(--i, 0), 6) * 90ms); }
}
@keyframes geIn { from { opacity: 0; transform: translateX(56px); } }
@media (max-width: 760px) {
  .ge-rail { grid-auto-columns: minmax(240px, 80%); gap: 14px; }
  .ge-name { font-size: 1.35rem; }
}

/* ---------- sailing or power: the three holidays test ---------- */

.ht-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ht-form fieldset { min-width: 0; margin: 0; padding: 22px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .3s ease; }
.ht-form fieldset.is-answered { border-color: var(--sky); }
.ht-form legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; display: grid; gap: 4px; }
.ht-form legend span { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.ht-form legend small { font-size: 0.875rem; color: var(--muted); }
.ht-opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); font-weight: 600;
  transition: border-color .2s ease, background-color .2s ease;
}
.ht-opt:hover { border-color: var(--line-strong); }
.ht-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--sky); }
.ht-opt input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.ht-opt:has(input:checked) { border-color: var(--sky); background: color-mix(in srgb, var(--sky) 18%, var(--paper-raised)); }
.ht-verdict { margin-top: 44px; }
.ht-wait { color: var(--muted); }
.ht-verdict-head h3 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1; }
.ht-verdict-head p { margin-top: 12px; max-width: 58ch; font-size: 1.1rem; color: var(--ink-2); }
.ht-verdict .rail-wrap { margin-top: 32px; }
.ht-rail { grid-auto-columns: clamp(240px, 22vw, 320px); }
.ht-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.ht-again { margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .ht-verdict.is-shown > * { animation: ckIn .8s cubic-bezier(.16, 1, .3, 1) both; }
  .ht-verdict.is-shown > :nth-child(2) { animation-delay: .15s; }
  .ht-verdict.is-shown > :nth-child(3) { animation-delay: .3s; }
}
@media (max-width: 860px) {
  .ht-form { grid-template-columns: minmax(0, 1fr); }
  .ht-rail { grid-auto-columns: minmax(230px, 78%); }
  .ht-links .btn { flex: 1 1 auto; }
}

/* ---------- continue exploring ---------- */

.ga-more { margin-top: clamp(72px, 9vw, 120px); }
.ga-more > h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); line-height: 1.04; margin-bottom: 32px; }
.ga-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 64px; align-items: start; }
.ga-more h3 { font-family: var(--sans); font-size: 0.875rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.ga-links { list-style: none; margin: 0; padding: 0; }
.ga-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.ga-links li:last-child a { border-bottom: 1px solid var(--line); }
.ga-links span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.ga-links small { flex: none; font-size: 0.875rem; color: var(--muted); }
.ga-links a:hover span, .ga-reads a:hover span { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 5px; }
.ga-reads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ga-reads a { display: grid; gap: 6px; align-content: start; text-decoration: none; }
.ga-reads img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 8px; border-radius: var(--radius); background: var(--line); }
.ga-reads span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.ga-reads small { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 900px) { .ga-more-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .ga-reads { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ga-reads a { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .ga-reads img { grid-row: 1 / 3; margin: 0; }
  .ga-reads span { font-size: 1.2rem; align-self: end; }
}

/* two photo credits (sail and power) each on their own line, so they never read as one model name */
.gh-credit a + a { display: block; margin-top: 4px; }
.gh-credit a:has(+ a) { display: block; }
