/*
Theme Name: Gujju Diary
Theme URI: https://gujjudiary.com/
Author: Gujju Diary
Description: The look of gujjudiary.com: home page, itinerary pages with a per-trip colour palette, Destinations map, bucket list, the Start Wandering guides and a blank full-width template for embedded albums. Itineraries are managed by the Gujju Diary Core plugin, so the theme can be changed or updated without touching your trips.
Version: 1.19.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gujju-diary
*/

/* ==========================================================================
   1. Brand tokens — change the site-wide look here
   ========================================================================== */
:root {
  --brand: #A1185A;          /* magenta: buttons, links, active states */
  --brand-deep: #6E0F3D;
  --brand-soft: #F6E3EC;
  --cream: #FBF7F2;          /* page background */
  --paper: #FFFFFF;
  --ink: #1F1A1C;            /* main text */
  --body: #4A4145;
  --muted: #5F5559;
  --line: #EADFD6;
  --line-strong: #D8CBC0;
  --dark: #1F1A1C;           /* footer */
  --radius: 16px;
  --radius-lg: 20px;
  --font-head: 'Josefin Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --wrap: 100%;          /* full width; set e.g. 1200px to centre content in a column */
  --gutter: clamp(16px, 4vw, 56px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.gd-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.gd-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brand); }
.gd-section { padding-top: 96px; }
.gd-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gd-section-head h2 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; }
.gd-section-head p { margin: 0; color: var(--muted); }

/* Buttons */
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.gd-btn--primary { background: var(--brand); color: #fff; }
.gd-btn--primary:hover { background: var(--brand-deep); color: #fff; }
.gd-btn--light { background: #fff; color: var(--ink); }
.gd-btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.gd-btn--outline:hover { background: var(--brand); color: #fff; }
.gd-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.gd-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ==========================================================================
   3. Header & footer
   ========================================================================== */
.gd-header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.gd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.gd-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.gd-brand img, .gd-brand .custom-logo { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; border: 1.5px solid var(--ink); }
.gd-brand__mark { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.gd-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 26px; padding-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-brand { min-width: 0; }
.gd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 26px; }
.gd-nav a { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.gd-nav a:hover, .gd-nav .current-menu-item > a, .gd-nav .current_page_item > a, .gd-nav .current-menu-ancestor > a { color: var(--brand); }
.gd-nav li { position: relative; }
/* Drop-down sub-menus (add them in Appearance → Menus by dragging an item to the right under its parent) */
.gd-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.gd-nav .sub-menu { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 230px; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.gd-nav li:hover > .sub-menu, .gd-nav li:focus-within > .sub-menu { display: flex; }
.gd-nav .sub-menu a { display: block; padding: 9px 12px; font-size: 15px; border-radius: 8px; white-space: nowrap; }
.gd-nav .sub-menu a:hover { background: var(--brand-soft); }
.gd-nav .sub-menu .sub-menu { top: -9px; left: 100%; }
.gd-nav .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-bottom: 1px; }
.gd-sub-toggle { display: none; }
.gd-header__tools { display: flex; align-items: center; gap: 8px; }
.gd-icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; text-decoration: none; }
.gd-icon-btn svg { width: 18px; height: 18px; }
.gd-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.gd-badge[hidden] { display: none; }
.gd-menu-toggle { display: none; }
.gd-search-panel { border-top: 1px solid var(--line); background: var(--cream); }
.gd-search-panel form { display: flex; gap: 10px; max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); }
.gd-search-panel input[type=search] { flex: 1; height: 48px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 20px; font: inherit; background: #fff; }

@media (max-width: 900px) {
  .gd-menu-toggle { display: inline-grid; }
  .gd-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .gd-nav.is-open { display: block; }
  .gd-nav ul { flex-direction: column; gap: 4px; }
  .gd-nav a { display: block; padding: 10px 0; }
  .gd-nav .menu-item-has-children > a { padding-right: 48px; }
  .gd-nav .menu-item-has-children > a::after { display: none; }
  .gd-nav .sub-menu, .gd-nav .sub-menu .sub-menu { position: static; display: none; min-width: 0; box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0; background: transparent; padding: 0 0 6px 14px; margin-left: 4px; }
  .gd-nav li:hover > .sub-menu, .gd-nav li:focus-within > .sub-menu { display: none; }
  .gd-nav li.is-open > .sub-menu { display: flex; }
  .gd-nav .sub-menu a { padding: 8px 0; white-space: normal; }
  .gd-sub-toggle { display: grid; place-items: center; position: absolute; top: 2px; right: 0; width: 44px; height: 44px; border: none; background: none; color: var(--ink); cursor: pointer; }
  .gd-sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
  .gd-nav li.is-open > .gd-sub-toggle::before { transform: rotate(-135deg); }
  .gd-brand__name { font-size: 22px; }
}

.gd-footer {
  --af-red: #C8323A; --af-blue: #1F4E96; --af-paper: #F5EFE6; --af-ink: #1E2A28; --af-green: #1F4A3A; --af-gold: #E9C27A;
  background: #172120; color: #E8E3DA; margin-top: 110px; padding: 28px var(--gutter) 22px;
}
/* Airmail envelope */
.gd-footer__envelope {
  max-width: 1180px; margin: 0 auto; padding: 12px; border-radius: 8px;
  background: repeating-linear-gradient(-45deg, var(--af-red) 0 14px, var(--af-paper) 14px 20px, var(--af-blue) 20px 34px, var(--af-paper) 34px 40px);
}
.gd-footer__card { background: var(--af-paper); color: var(--af-ink); border-radius: 3px; padding: 30px 36px 20px; }
.gd-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.gd-footer__headline { margin: 0; font-family: var(--font-hand); font-weight: 600; font-size: 32px; line-height: 1.1; color: var(--af-ink); }
.gd-footer__aavjo { display: inline-block; margin-right: 6px; font-family: 'Caveat Brush', var(--font-hand); font-style: italic; font-weight: 400; font-size: 50px; color: var(--af-red); transform: rotate(-3deg); }
.gd-footer__sign { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 14px; }
.gd-footer__signature { font-family: var(--font-hand); font-size: 28px; color: var(--af-blue); }
.gd-footer .gd-footer__btn { display: inline-block; background: var(--af-green); color: #fff; font-family: 'Space Grotesk', var(--font-body); font-weight: 700; font-size: 16px; padding: 9px 20px; border-radius: 999px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.gd-footer .gd-footer__btn:hover { background: #163A2D; transform: translateY(-1px) rotate(-1deg); }
.gd-footer .gd-footer__btn:focus-visible { outline: 2px dashed var(--af-red); outline-offset: 3px; }
.gd-footer__stamp { flex: 0 0 auto; width: 76px; margin-top: -10px; transform: rotate(4deg); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.gd-footer__stamp svg { display: block; width: 100%; height: auto; }
.gd-footer__rule { border: 0; border-top: 1px solid rgba(30,42,40,.18); margin: 26px 0 14px; }
.gd-footer .gd-footer__stats { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-family: var(--font-hand); font-size: 24px; color: var(--af-ink); }
.gd-footer__stats b { color: var(--af-red); font-weight: 700; margin-right: 4px; }
/* Bottom bar: © + dynamic footer menu + social */
.gd-footer__bottom { max-width: 1180px; margin: 18px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-family: 'Space Grotesk', var(--font-body); font-weight: 600; font-size: 16px; color: #E8E3DA; }
.gd-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.gd-footer .gd-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.gd-footer__menu a { color: var(--af-gold); text-decoration: none; }
.gd-footer__menu a:hover, .gd-footer__menu a:focus-visible { text-decoration: underline; }
.gd-footer__social a { color: #E8E3DA; }
@media (max-width: 600px) {
  .gd-footer__envelope { padding: 9px; }
  .gd-footer__card { padding: 22px 20px 16px; }
  .gd-footer__headline { font-size: 26px; }
  .gd-footer__aavjo { font-size: 40px; }
  .gd-footer__signature { font-size: 24px; }
  .gd-footer__stamp { width: 56px; }
  .gd-footer .gd-footer__stats { font-size: 21px; }
}

/* ==========================================================================
   4. Home
   ========================================================================== */
.gd-hero { padding-top: 32px; }
.gd-hero__box { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; background: #2E4A5C; display: flex; align-items: flex-end; }
.gd-hero__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-hero__box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.05) 65%); }
.gd-hero__content { position: relative; z-index: 1; padding: 56px; max-width: 700px; color: #fff; }
.gd-hero__content .gd-eyebrow { color: #F4D9E6; }
.gd-hero__content h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; }
.gd-hero__content p { font-size: 18px; color: #EDE6EA; margin-bottom: 28px; }
.gd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .gd-hero__content { padding: 28px; } .gd-hero__box { min-height: 480px; } }

.gd-about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.gd-about__media { flex: 1 1 300px; min-height: 320px; border-radius: var(--radius); background: #E9DCCF; overflow: hidden; }
.gd-about__media img { width: 100%; height: 100%; object-fit: cover; }
.gd-about__text { flex: 1 1 420px; }
.gd-about__text h2 { font-size: clamp(28px, 3.5vw, 36px); }
.gd-about__text p { color: var(--body); font-size: 17px; }
@media (max-width: 640px) { .gd-about { padding: 24px; } }

.gd-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gd-guide { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.gd-guide__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.gd-guide h3 { font-size: 22px; margin: 0; }
.gd-guide p { color: var(--muted); font-size: 15px; margin: 0; }
.gd-guide span.more { color: var(--brand); font-weight: 600; font-size: 15px; }

.gd-postal-band { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; background: #F3E6D8; border-radius: var(--radius-lg); padding: 56px; }
.gd-postal-band__text { flex: 1 1 380px; }
.gd-postal-band__text h2 { font-size: clamp(30px, 4vw, 40px); }
.gd-postal-band__text p { color: var(--body); }
.gd-postal-band__stamps { flex: 1 1 320px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) { .gd-postal-band { padding: 28px; } }

.gd-admin-hint { font-size: 14px; background: #FFF5EC; border: 1px dashed #E2B98F; border-radius: 12px; padding: 12px 16px; color: #6B3D12; }

/* ==========================================================================
   5. Itinerary cards & filters (home, archive)
   ========================================================================== */
.gd-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.gd-filter { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.gd-filter[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.gd-trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.gd-trip-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.gd-trip-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); color: var(--ink); }
.gd-trip-card[hidden] { display: none; }
.gd-trip-card__media { position: relative; height: 230px; background: var(--p, #8a6a4a); }
.gd-trip-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gd-trip-card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--s, transparent); }
.gd-trip-card__tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gd-trip-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.gd-trip-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.gd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--p, var(--brand)); flex: 0 0 auto; }
.gd-trip-card h3 { font-size: 22px; margin: 0; }
.gd-trip-card p { font-size: 15px; color: var(--muted); margin: 0; }
.gd-empty { color: var(--muted); padding: 24px 0; }

/* ==========================================================================
   6. Single itinerary
      Per trip: --p (main colour), --s (accent), --l (light colour).
      Everything else is mixed from those three.
   ========================================================================== */
.gd-trip {
  --p-deep: color-mix(in srgb, var(--p) 75%, #000);
  --t-bg: color-mix(in srgb, var(--p) 7%, #fff);
  --t-line: color-mix(in srgb, var(--p) 22%, #fff);
  --t-zebra: color-mix(in srgb, var(--p) 4%, #fff);
  --t-muted: color-mix(in srgb, var(--p) 35%, #3a3f3d);
  --t-text: color-mix(in srgb, var(--p) 25%, #1b1f1e);
  --note-bg: #FFF8E6; --note-line: color-mix(in srgb, var(--l) 70%, #b8995a);
  --t-head: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  background: var(--t-bg);
  color: var(--t-text);
  font-family: var(--t-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.gd-trip h1, .gd-trip h2, .gd-trip h3 { font-family: var(--t-head); color: var(--p); line-height: 1.15; margin: 0; }
.gd-trip a { color: var(--s); text-underline-offset: 3px; }

/* Hero with mountain ranges */
.gd-trip-hero { position: relative; overflow: hidden; background: var(--p); color: #F3F7F5; }
.gd-trip-hero__photo { position: absolute; inset: 0; z-index: 0; }
.gd-trip-hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.gd-trip-hero__inner { position: relative; z-index: 2; padding-top: 2.2rem; padding-bottom: 11rem; }
.gd-trip .gd-crumbs { font-family: var(--t-head); font-size: .95rem; color: var(--l); margin: 0; }
.gd-trip .gd-crumbs a { color: var(--l); text-decoration: none; font-weight: 700; }
.gd-trip-hero__eyebrow { font-family: var(--t-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l); margin: 1.4rem 0 0; }
.gd-trip-hero h1 { color: #F3F7F5; font-size: clamp(2.6rem, 7.5vw, 5.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 1.2rem 0 .6rem; max-width: 14ch; }
.gd-trip-hero__dek { font-size: 1.2rem; max-width: 36rem; opacity: .92; margin: 0; }
.gd-trip-hero__when { font-family: var(--t-head); color: var(--l); font-weight: 500; margin: 1.1rem 0 0; }
.gd-trip-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.gd-tbtn { font-family: var(--t-head); font-weight: 700; font-size: 1rem; border-radius: 999px; padding: .7rem 1.3rem; min-height: 44px; cursor: pointer; border: 2px solid transparent; text-decoration: none; display: inline-flex; align-items: center; }
.gd-tbtn--bucket { background: var(--s); color: #fff; }
.gd-tbtn--bucket[aria-pressed="true"] { background: transparent; border-color: var(--l); color: var(--l); }
.gd-trip .gd-tbtn--ghost { background: transparent; color: #F3F7F5; border-color: rgba(255,255,255,.4); }
.gd-ranges { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; width: 100%; height: auto; display: block; }
.gd-ranges .r1 { fill: color-mix(in srgb, var(--p) 70%, #fff); }
.gd-ranges .r2 { fill: var(--l); opacity: .55; }
.gd-ranges .r3 { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .gd-ranges path { transform-origin: bottom; animation: gd-rise 1.1s ease-out both; }
  .gd-ranges .r2 { animation-delay: .12s; }
  .gd-ranges .r3 { animation-delay: .24s; }
  @keyframes gd-rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; } }
}
@media (max-width: 760px) { .gd-trip-hero__inner { padding-bottom: 7rem; } }

/* At a glance */
.gd-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: -1px 0 0; border-top: 4px solid var(--s); background: #fff; }
.gd-glance div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--t-line); }
.gd-glance div:last-child { border-right: 0; }
.gd-glance dt { font-family: var(--t-head); font-size: .85rem; color: var(--t-muted); }
.gd-glance dd { margin: .15rem 0 0; font-family: var(--t-head); font-weight: 700; font-size: 1.15rem; color: var(--p); line-height: 1.3; }

/* Sections */
.gd-tsec { padding: 3.5rem 0; }
.gd-tsec--surface { background: #fff; }
.gd-tsec__title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin-bottom: 1rem !important; }
.gd-lede { font-size: 1.15rem; color: var(--t-muted); margin-top: 0; max-width: 46rem; }

/* Route spine */
.gd-route { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.gd-route__group h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--t-muted); }
.gd-spine { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--l); }
.gd-spine li { position: relative; padding: .35rem 0 .35rem .4rem; }
.gd-spine li::before { content: ""; position: absolute; left: -1.4rem; top: .95rem; transform: translateX(-58%); width: 12px; height: 12px; border-radius: 50%; background: var(--t-bg); border: 3px solid var(--p); }
.gd-spine strong { font-family: var(--t-head); font-weight: 700; }
.gd-spine span { color: var(--t-muted); font-size: .95rem; }
.gd-transfer { font-family: var(--t-head); color: var(--s); font-weight: 700; margin: 1rem 0; font-size: .98rem; }

/* Story: chapters (group blocks with class gd-chapter) */
.gd-story > p, .gd-story > h3 { max-width: 46rem; }
.gd-chapter { display: grid; grid-template-columns: 9rem minmax(0, 1fr); column-gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--t-line); }
.gd-story > .gd-chapter:first-child { border-top: 0; padding-top: .5rem; }
.gd-chapter > .wp-block-group__inner-container { display: contents; }
.gd-chapter > *, .gd-chapter > .wp-block-group__inner-container > * { grid-column: 2; }
.gd-chapter .gd-chapter__days { grid-column: 1; grid-row: 1 / span 30; font-family: var(--t-head); font-weight: 800; color: var(--s); font-size: 1.05rem; line-height: 1.3; margin: .3rem 0 0; }
.gd-chapter .gd-chapter__days small { display: block; font-weight: 500; color: var(--t-muted); font-size: .85rem; margin-top: .2rem; }
.gd-chapter h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .6rem; }
.gd-chapter p { margin: 0 0 1rem; max-width: 40rem; }
.gd-story .wp-block-image { margin: 0 0 1rem; max-width: 40rem; }
.gd-story .wp-block-image img { border-radius: 10px; }
.gd-story h3 { margin-bottom: .6rem; }
/* "Our memory" / draft note box */
.gd-memory, .wp-block-group.gd-memory { border: 2px dashed var(--note-line); background: var(--note-bg); padding: .75rem 1rem; border-radius: 8px; max-width: 40rem; margin: 0 0 1rem; }
.gd-memory p, .gd-story .gd-memory p { font-style: italic; color: var(--t-muted); font-size: .97rem; margin: 0; }
@media (max-width: 760px) {
  .gd-chapter { grid-template-columns: 1fr; }
  .gd-chapter > *, .gd-chapter > .wp-block-group__inner-container > *, .gd-chapter .gd-chapter__days { grid-column: 1; grid-row: auto; }
  .gd-chapter .gd-chapter__days { margin-bottom: .5rem; }
}

/* Day-by-day table → cards on phones */
.gd-table-wrap { overflow-x: auto; border: 1px solid var(--t-line); border-radius: 10px; background: #fff; }
.gd-days { border-collapse: collapse; width: 100%; min-width: 860px; font-size: .95rem; line-height: 1.5; }
.gd-days th, .gd-days td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--t-line); }
.gd-days thead th { font-family: var(--t-head); font-weight: 700; background: var(--p); color: #F3F7F5; }
.gd-days tbody tr:nth-child(even) td { background: var(--t-zebra); }
.gd-days tr.gd-leg td { background: var(--t-bg) !important; font-family: var(--t-head); font-weight: 800; color: var(--s); font-size: 1rem; padding-top: 1.1rem; }
.gd-days td.day { font-family: var(--t-head); font-weight: 700; white-space: nowrap; color: var(--p); }
.gd-days .km { white-space: nowrap; }
.gd-adv { color: var(--s); }
@media (max-width: 760px) {
  .gd-days { min-width: 0; }
  .gd-table-wrap { border: 0; background: transparent; overflow: visible; }
  .gd-days thead { display: none; }
  .gd-days, .gd-days tbody, .gd-days tr, .gd-days td { display: block; width: 100%; }
  .gd-days tbody tr { background: #fff; border: 1px solid var(--t-line); border-radius: 10px; margin-bottom: .9rem; overflow: hidden; }
  .gd-days tbody tr:nth-child(even) td { background: transparent; }
  .gd-days tr.gd-leg { border: 0; background: transparent; margin: 1.4rem 0 .4rem; }
  .gd-days tr.gd-leg td { padding: 0; border: 0; }
  .gd-days td { padding: .6rem .9rem; }
  .gd-days td:last-child { border-bottom: 0; }
  .gd-days td[data-label]:not(.day)::before { content: attr(data-label); display: block; font-family: var(--t-head); font-weight: 700; font-size: .82rem; color: var(--t-muted); }
  .gd-days td.day { background: var(--p) !important; color: #F3F7F5; }
  .gd-days td:empty { display: none; }
}

/* What has changed */
.gd-changed { border-left: 6px solid var(--s); background: #fff; padding: 1.4rem 1.5rem; border-radius: 0 10px 10px 0; max-width: 46rem; }
.gd-changed h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.gd-changed ul, .gd-tips { margin: 0; padding-left: 1.2rem; }
.gd-changed li, .gd-tips li { margin-bottom: .6rem; }
.gd-checked { font-size: .9rem; color: var(--t-muted); margin: .8rem 0 0; }
.gd-tips { columns: 2 22rem; column-gap: 2.5rem; }
.gd-tips li { break-inside: avoid; }
.gd-refs { padding-left: 1.2rem; margin: 0; }
.gd-refs li { margin-bottom: .4rem; }

/* Previous / next trip */
.gd-adjacent { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gd-adjacent a { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--t-line, var(--line)); border-radius: var(--radius); padding: 24px 28px; }
.gd-adjacent small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; font-family: var(--t-head, inherit); }
.gd-adjacent strong { font-family: var(--t-head, var(--font-head)); font-size: 22px; color: var(--p, var(--ink)); }
.gd-adjacent .next { text-align: right; }
.gd-trip-comments { padding-bottom: 3rem; }

/* Maps (Destinations, bucket list) */
.gd-map { height: 420px; border-radius: 18px; overflow: hidden; background: #E9E4DE; border: 1px solid var(--line); z-index: 1; }
.gd-map-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

@media print {
  .gd-header, .gd-footer, .gd-trip-hero__actions, .gd-ranges, .gd-memory, .gd-trip-comments, .gd-adjacent, .gd-crumbs { display: none !important; }
  .gd-trip-hero { background: none; color: #000; }
  .gd-trip-hero h1 { color: #000; }
  .gd-trip-hero__inner { padding: 1rem 0; }
  .gd-tsec { padding: 1.2rem 0; }
  .gd-days thead th { background: #ddd; color: #000; }
  .gd-table-wrap { overflow: visible; }
}

/* ==========================================================================
   7. Destinations map & bucket list
   ========================================================================== */
.gd-page-head { padding: 64px 0 32px; }
.gd-page-head h1 { font-size: clamp(40px, 6vw, 56px); }
.gd-page-head p { color: var(--muted); font-size: 18px; max-width: 680px; }
.gd-map--big { height: 520px; flex: none; width: 100%; }
.gd-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.gd-region h2 { font-size: 32px; margin: 0 0 20px; }
.gd-bucket-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gd-bucket-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c, var(--brand)); border-radius: 12px; padding: 14px 18px; }
.gd-bucket-list .gd-bucket-title { flex: 1 1 200px; font-weight: 600; color: var(--ink); text-decoration: none; }
.gd-bucket-list .gd-bucket-title small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.gd-bucket-list li.is-been .gd-bucket-title { text-decoration: line-through; color: var(--muted); }
.gd-bucket-list label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.gd-bucket-list button { border: none; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 14px; text-decoration: underline; min-height: 44px; }

/* ==========================================================================
   8. The Postal Era teaser on the home page
   ========================================================================== */
.gd-postcard { display: block; width: 150px; height: 200px; background: #fff; border-radius: 6px; padding: 10px; box-shadow: 0 10px 24px rgba(60,30,20,.15); background-image: linear-gradient(#D9C7B5, #D9C7B5); background-size: calc(100% - 20px) calc(100% - 40px); background-position: 10px 10px; background-repeat: no-repeat; }

/* Blank page template (for embedded albums, flipbooks, etc.) */
.gd-blank { padding: 0 var(--gutter); }

/* ==========================================================================
   9. Generic pages, posts, comments
   ========================================================================== */
.gd-content { max-width: none; }
.gd-content p, .gd-content li { color: var(--body); font-size: 18px; line-height: 1.8; }
.gd-content h2 { font-size: 32px; margin-top: 48px; }
.gd-content img { border-radius: var(--radius); }
.gd-post-list { display: grid; gap: 24px; }
.gd-post-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.gd-post-item h2 { font-size: 26px; }
.gd-post-item h2 a { color: var(--ink); text-decoration: none; }
.pagination, .nav-links { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; }
.page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.comments-area { max-width: none; margin-top: 56px; }
.comments-area textarea, .comments-area input[type=text], .comments-area input[type=email], .comments-area input[type=url] { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px; font: inherit; background: #fff; }
.comments-area .submit { background: var(--brand); color: #fff; border: none; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100%; }

/* Pages that end in a coloured block run straight into the footer */
body.single-itinerary .gd-footer { margin-top: 0; }

/* Previous / next post links (blog posts) */
.post-navigation { margin: 56px 0 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.post-navigation .nav-previous, .post-navigation .nav-next { min-width: 0; }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.post-navigation a { display: block; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.post-navigation a:hover { border-color: var(--brand); color: var(--ink); }
.post-navigation .gd-nav-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.post-navigation .gd-nav-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.25; }
@media (max-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; } }

/* ==========================================================================
   10. Home page built from blocks (pasted "home page blocks")
   ========================================================================== */
.gd-home-content { padding: 32px var(--gutter) 0; }
.gd-home-content > * + * { margin-top: 96px; }
.gd-home-content h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 6px; }
.gd-home-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.gd-home-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid var(--brand); }
.gd-home-content .wp-block-button__link:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.gd-home-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--brand); }
.gd-home-content .is-style-outline .wp-block-button__link:hover { background: var(--brand); color: #fff; }
.gd-home-content .gd-hp-lead { color: var(--muted); margin-bottom: 28px; }

/* Hero */
.gd-hp-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; background: #2E4A5C; display: flex; align-items: flex-end; }
.gd-hp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.05) 65%); z-index: 1; pointer-events: none; }
.gd-hp-hero .gd-hp-hero__img { position: absolute; inset: 0; margin: 0; }
.gd-hp-hero .gd-hp-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.gd-hp-hero > .wp-block-group__inner-container { display: contents; }
.gd-hp-hero__text { position: relative; z-index: 2; padding: 56px; max-width: 720px; color: #fff; }
.gd-hp-hero__text .gd-eyebrow { color: #F4D9E6; }
.gd-hp-hero__text h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; color: #fff; }
.gd-hp-hero__text p { font-size: 18px; color: #EDE6EA; }
.gd-hp-hero .is-style-outline .wp-block-button__link { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 640px) { .gd-hp-hero__text { padding: 28px; } .gd-hp-hero { min-height: 480px; } }

/* About */
.gd-hp-about { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
/* WordPress may wrap group contents in an inner container; style both cases */
.gd-hp-about, .gd-hp-about > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.gd-hp-about > .wp-block-group__inner-container { width: 100%; }
.gd-hp-about .wp-block-image { flex: 1 1 300px; margin: 0; }
.gd-hp-about .wp-block-image img { width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--radius); background: #F3ECE4; }
.gd-hp-about .wp-block-group .wp-block-group, .gd-hp-about > .wp-block-group__inner-container > .wp-block-group, .gd-hp-about > .wp-block-group { flex: 1 1 420px; }
.gd-hp-about p { color: var(--body); }
@media (max-width: 640px) { .gd-hp-about { padding: 24px; } }

/* The Postal Era band */
.gd-hp-postal { background: #F3E6D8; border-radius: var(--radius-lg); padding: 56px; }
.gd-hp-postal p { color: var(--body); max-width: 640px; }
@media (max-width: 640px) { .gd-hp-postal { padding: 28px; } }
.gd-trip .comments-area .submit { background: var(--s); font-family: var(--t-head); }
.gd-trip .comments-area h2, .gd-trip .comment-reply-title { font-family: var(--t-head); color: var(--p); }

/* ==========================================================================
   11. Start Wandering guides (hub + Travel Planning, Money Management,
       Pack Your Bags, Bucket List)
   Each guide gets its own palette, the same way each itinerary does.
   Put one tone class on the <article>: gd-gpage--plan / --money / --pack /
   --bucket. No class = brand magenta (used on the hub).
   ========================================================================== */

/* 11.1 Palettes ---------------------------------------------------------- */
.gd-gpage,
.gd-gtone {
  --g: var(--brand);
  --g-deep: var(--brand-deep);
  --g-soft: var(--brand-soft);
  --g-accent: #E9A23B;
  --g-paper: #FFF7DD;
}
.gd-gpage--plan,   .gd-gtone--plan   { --g: #1E5F74; --g-deep: #123E4C; --g-soft: #E2EFF2; --g-accent: #E9A23B; }
.gd-gpage--money,  .gd-gtone--money  { --g: #2E6B45; --g-deep: #1C4630; --g-soft: #E4F0E6; --g-accent: #D9A21B; }
.gd-gpage--pack,   .gd-gtone--pack   { --g: #B0502A; --g-deep: #7A3418; --g-soft: #F8E5DA; --g-accent: #2E6B8A; }
.gd-gpage--bucket, .gd-gtone--bucket { --g: #3E3A8C; --g-deep: #26235E; --g-soft: #E7E6F5; --g-accent: #E58AB0; }

/* 11.2 Hero band ---------------------------------------------------------- */
.gd-gpage .gd-ghero {
  position: relative;
  overflow: hidden;
  background: var(--g);
  background-image: radial-gradient(rgba(255,255,255,.10) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px) clamp(78px, 10vw, 120px);
  margin: 4px 0 0;
}
.gd-gpage .gd-gkicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
  margin: 0 0 10px;
}
.gd-gpage .gd-ghand {
  font-family: var(--font-hand);
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.08;
  color: #fff;
  max-width: 20ch;
  margin: 0 0 18px;
}
.gd-gpage .gd-gchips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gd-gpage .gd-gchips li {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 5px 13px;
}
.gd-gpage .gd-gstamp {
  position: absolute;
  top: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 48px);
  width: 118px; height: 118px;
  border: 2px dashed rgba(255,255,255,.65);
  border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-hand);
  font-size: 22px; line-height: 1.05;
  color: #fff;
  transform: rotate(-12deg);
  padding: 10px;
}
.gd-gpage .gd-gstamp small { display: block; font-family: var(--font-head); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.gd-gpage .gd-gwave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(40px, 7vw, 90px);
  display: block;
}
.gd-gpage .gd-gwave .w1 { fill: var(--cream); opacity: .35; }
.gd-gpage .gd-gwave .w2 { fill: var(--cream); }

/* 11.3 Body text ---------------------------------------------------------- */
.gd-gpage .gd-gbody { max-width: 1100px; }
.gd-gpage .gd-gbody > p,
.gd-gpage .gd-gbody > ul,
.gd-gpage .gd-gbody > ol:not(.gd-g-steps):not(.gd-g-timeline),
.gd-gpage .gd-gbody > h2,
.gd-gpage .gd-gbody > h3 { max-width: 760px; }
.gd-gpage .gd-g-lead {
  font-size: clamp(19px, 2.1vw, 22px);
  line-height: 1.65;
  color: var(--ink);
  border-left: 4px solid var(--g);
  padding: 2px 0 2px 20px;
  margin: 28px 0 8px;
}
.gd-gpage h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.3vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  margin: 60px 0 14px;
}
.gd-gpage h2 .gd-gnum { font-family: var(--font-hand); font-weight: 400; color: var(--g); font-size: 1.05em; margin-right: 6px; }
.gd-gpage h3 { font-family: var(--font-head); font-size: 21px; color: var(--ink); margin: 0 0 8px; }
.gd-gpage .gd-gbody :is(p, li, td) > a { color: var(--g); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gd-gpage .gd-gbody strong { color: var(--ink); }
.gd-gpage .gd-g-h3gap { margin-top: 40px; }
.gd-gpage .gd-gsub { color: var(--muted); font-size: 16px; margin-top: -6px; }

/* 11.4 "Where to start" steps (hub) -------------------------------------- */
.gd-gpage .gd-g-steps {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: gstep;
}
.gd-gpage .gd-g-steps li {
  counter-increment: gstep;
  position: relative;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--g);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  font-size: 16px; line-height: 1.6;
}
.gd-gpage .gd-g-steps li::before {
  content: counter(gstep, decimal-leading-zero);
  display: block;
  font-family: var(--font-hand);
  font-size: 30px; line-height: 1;
  color: var(--g);
  margin-bottom: 6px;
}
.gd-gpage .gd-g-steps li strong { display: block; font-family: var(--font-head); font-size: 19px; margin-bottom: 4px; }

/* 11.5 Guide cards (hub) -------------------------------------------------- */
.gd-gpage .gd-g-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.gd-gpage .gd-g-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gd-gpage .gd-g-card:hover,
.gd-gpage .gd-g-card:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,26,28,.10); }
.gd-gpage .gd-g-card__top {
  background: var(--g);
  background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  color: #fff;
  padding: 20px 20px 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.gd-gpage .gd-g-card__no { font-family: var(--font-head); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.gd-gpage .gd-g-card__hand { font-family: var(--font-hand); font-size: 26px; line-height: 1.05; }
.gd-gpage .gd-g-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gd-gpage .gd-g-card__body h3 { margin: 0; font-size: 22px; }
.gd-gpage .gd-g-card__body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.gd-gpage .gd-g-card__go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--g); }

/* 11.6 Notes, rules, callouts -------------------------------------------- */
.gd-gpage .gd-g-note {
  position: relative;
  max-width: 640px;
  background: var(--g-paper);
  border-radius: 4px;
  padding: 28px 26px 22px;
  margin: 40px 0 36px 8px;
  box-shadow: 0 8px 18px rgba(31,26,28,.08);
  transform: rotate(-1deg);
}
.gd-gpage .gd-g-note::before {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 110px; height: 26px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(233,162,59,.45);
  border-left: 2px dotted rgba(255,255,255,.6);
  border-right: 2px dotted rgba(255,255,255,.6);
}
.gd-gpage .gd-g-note__title { font-family: var(--font-hand); font-size: 28px; line-height: 1.1; color: var(--g-deep); margin: 0 0 8px; }
.gd-gpage .gd-g-note p { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.gd-gpage .gd-g-note p:last-child { margin-bottom: 0; }

.gd-gpage .gd-g-rule {
  max-width: 760px;
  background: var(--g-soft);
  border-left: 5px solid var(--g);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.gd-gpage .gd-g-rule__label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g-deep); margin: 0 0 4px; }
.gd-gpage .gd-g-rule p { margin: 0; color: var(--ink); font-size: 18px; }

/* 11.7 Numbered method blocks -------------------------------------------- */
.gd-gpage .gd-g-method { display: grid; gap: 18px; margin: 20px 0; }
.gd-gpage .gd-g-method__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.gd-gpage .gd-g-method__no {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--g-soft); color: var(--g);
  display: grid; place-items: center;
  font-family: var(--font-hand); font-size: 30px;
}
.gd-gpage .gd-g-method__item p { font-size: 17px; margin: 0 0 8px; }
.gd-gpage .gd-g-method__item p:last-child { margin-bottom: 0; }
.gd-gpage .gd-g-eg {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 15.5px; line-height: 1.6;
  color: var(--muted);
}
.gd-gpage .gd-g-eg b { font-family: var(--font-hand); font-size: 20px; font-weight: 400; color: var(--g); margin-right: 4px; }

/* 11.8 Timeline ------------------------------------------------------------ */
.gd-gpage .gd-g-timeline { list-style: none; margin: 22px 0; padding: 0 0 0 28px; position: relative; max-width: 820px; }
.gd-gpage .gd-g-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; border-left: 2px dashed var(--line-strong); }
.gd-gpage .gd-g-timeline li { position: relative; margin: 0 0 22px; padding-left: 10px; font-size: 17px; }
.gd-gpage .gd-g-timeline li::before {
  content: ""; position: absolute; left: -27px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--g);
}
.gd-gpage .gd-g-when {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-deep); background: var(--g-soft);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 6px;
}

/* 11.9 Two/three column boxes ------------------------------------------- */
.gd-gpage .gd-g-boxes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0; }
.gd-gpage .gd-g-boxes--5 { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
.gd-gpage .gd-g-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.gd-gpage .gd-g-box--soft { background: var(--g-soft); border-color: transparent; }
.gd-gpage .gd-g-box p, .gd-gpage .gd-g-box li { font-size: 16px; line-height: 1.65; }
.gd-gpage .gd-g-box ul { margin: 6px 0 0; padding-left: 18px; }
.gd-gpage .gd-g-box li { margin-bottom: 6px; }
.gd-gpage .gd-g-box__tag { font-family: var(--font-hand); font-size: 22px; color: var(--g); margin: 0 0 2px; }

/* right vs wrong */
.gd-gpage .gd-g-ticks { list-style: none; padding: 0 !important; }
.gd-gpage .gd-g-ticks li { position: relative; padding-left: 28px; }
.gd-gpage .gd-g-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--g); }
.gd-gpage .gd-g-ticks--no li::before { content: "\2715"; color: #A23A2A; }

/* 11.10 Tables ----------------------------------------------------------- */
.gd-gpage .gd-g-tablewrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.gd-gpage .gd-g-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.gd-gpage .gd-g-table th {
  text-align: left; background: var(--g-soft); color: var(--g-deep);
  font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 14px;
}
.gd-gpage .gd-g-table td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--body); vertical-align: top; line-height: 1.55; }
.gd-gpage .gd-g-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.gd-gpage .gd-g-table .gd-g-blank { border-bottom: 1px dotted var(--line-strong); display: inline-block; min-width: 80px; height: 1.2em; }

/* 11.11 Budget split bars ----------------------------------------------- */
.gd-gpage .gd-g-bars { display: grid; gap: 18px; margin: 22px 0 10px; max-width: 860px; }
.gd-gpage .gd-g-bar__label { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.gd-gpage .gd-g-bar__label strong { font-family: var(--font-head); font-size: 17px; }
.gd-gpage .gd-g-bar__track { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--line); }
.gd-gpage .gd-g-bar__track span {
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden;
}
.gd-gpage .gd-g-seg1 { background: var(--g-deep); }
.gd-gpage .gd-g-seg2 { background: var(--g); }
.gd-gpage .gd-g-seg3 { background: var(--g-accent); color: var(--ink) !important; }
.gd-gpage .gd-g-seg4 { background: #7FA88B; color: var(--ink) !important; }
.gd-gpage .gd-g-seg5 { background: #CDBFB2; color: var(--ink) !important; }
.gd-gpage .gd-g-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 14px 0 0; }
.gd-gpage .gd-g-legend li { font-size: 14px; display: flex; align-items: center; gap: 7px; margin: 0; }
.gd-gpage .gd-g-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* 11.12 Packing checklist ----------------------------------------------- */
.gd-gpage .gd-g-check { margin: 24px 0; }
.gd-gpage .gd-g-progress {
  position: sticky; top: 12px; z-index: 5;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  box-shadow: 0 6px 18px rgba(31,26,28,.06);
  margin-bottom: 22px;
}
.admin-bar .gd-gpage .gd-g-progress { top: 44px; }
.gd-gpage .gd-g-progress__count { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); min-width: 120px; }
.gd-gpage .gd-g-progress__bar { flex: 1; min-width: 120px; height: 10px; border-radius: 999px; background: var(--g-soft); overflow: hidden; }
.gd-gpage .gd-g-progress__fill { display: block; height: 100%; width: 0; background: var(--g); border-radius: 999px; transition: width .3s ease; }
.gd-gpage .gd-g-reset {
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--g); background: transparent;
  border: 1.5px solid var(--g); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.gd-gpage .gd-g-reset:hover { background: var(--g); color: #fff; }
.gd-gpage .gd-g-download {
  font: inherit; font-size: 14px; font-weight: 600;
  color: #fff; background: var(--g);
  border: 1.5px solid var(--g); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.gd-gpage .gd-g-download:hover { background: var(--g-deep); border-color: var(--g-deep); }
.gd-gpage .gd-g-download-all {
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--g-deep); background: var(--g-soft);
  border: 1.5px solid var(--g-soft); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.gd-gpage .gd-g-download-all:hover { border-color: var(--g); }
.gd-gpage .gd-g-progress__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gd-gpage .gd-g-checkgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.gd-gpage .gd-g-checkgroup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 12px; }
.gd-gpage .gd-g-checkgroup h3 { display: flex; align-items: baseline; gap: 8px; font-size: 19px; margin-bottom: 4px; }
.gd-gpage .gd-g-checkgroup h3 span { font-family: var(--font-hand); font-weight: 400; color: var(--g); font-size: 24px; }
.gd-gpage .gd-g-checkgroup .gd-gsub { font-size: 14.5px; margin: 0 0 10px; }
.gd-gpage .gd-g-checkgroup ul { list-style: none; margin: 0; padding: 0; }
.gd-gpage .gd-g-checkgroup li { margin: 0; border-top: 1px dashed var(--line); }
.gd-gpage .gd-g-checkgroup label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; font-size: 16px; line-height: 1.45; color: var(--body); }
.gd-gpage .gd-g-checkgroup input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 22px; width: 22px; height: 22px; margin: 0;
  border: 2px solid var(--line-strong); border-radius: 6px;
  background: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.gd-gpage .gd-g-checkgroup input[type="checkbox"]::after {
  content: ""; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform .15s ease;
}
.gd-gpage .gd-g-checkgroup input[type="checkbox"]:checked { background: var(--g); border-color: var(--g); }
.gd-gpage .gd-g-checkgroup input[type="checkbox"]:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.gd-gpage .gd-g-checkgroup input[type="checkbox"]:focus-visible { outline: 3px solid var(--g-soft); outline-offset: 2px; }
.gd-gpage .gd-g-checkgroup input:checked + span { text-decoration: line-through; text-decoration-color: var(--g); color: var(--muted); }
.gd-gpage .gd-g-checkgroup label small { display: block; font-size: 13.5px; color: var(--muted); text-decoration: none; }

/* 11.13 Bucket list postcards ------------------------------------------ */
.gd-gpage .gd-g-postcards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 24px 0; }
.gd-gpage .gd-g-pc {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 6px 16px rgba(31,26,28,.06);
  transition: transform .2s ease;
}
.gd-gpage .gd-g-pc:nth-child(3n+1) { transform: rotate(-.8deg); }
.gd-gpage .gd-g-pc:nth-child(3n+2) { transform: rotate(.6deg); }
.gd-gpage .gd-g-pc:hover { transform: rotate(0) translateY(-3px); }
.gd-gpage .gd-g-pc::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 46px; height: 54px;
  border: 2px dashed var(--g); border-radius: 4px; opacity: .35;
}
.gd-gpage .gd-g-pc__status {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  background: var(--g-soft); color: var(--g-deep);
  margin-bottom: 10px;
}
.gd-gpage .gd-g-pc--next .gd-g-pc__status { background: var(--g); color: #fff; }
.gd-gpage .gd-g-pc--dream .gd-g-pc__status { background: transparent; border: 1.5px dashed var(--g); color: var(--g); }
.gd-gpage .gd-g-pc h3 { font-size: 23px; margin: 0 60px 2px 0; }
.gd-gpage .gd-g-pc__where { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.gd-gpage .gd-g-pc__why { font-family: var(--font-hand); font-size: 22px; line-height: 1.2; color: var(--g-deep); margin: 0 0 12px; }
.gd-gpage .gd-g-pc__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 10px; margin: 0; }
.gd-gpage .gd-g-pc__meta b { color: var(--ink); font-weight: 600; }

/* ticked-off chips */
.gd-gpage .gd-g-done { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0; }
.gd-gpage .gd-g-done li { margin: 0; }
.gd-gpage .gd-g-done a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 15px; color: var(--ink) !important; text-decoration: none !important;
}
.gd-gpage .gd-g-done a::before { content: "\2713"; color: var(--g); font-weight: 700; }
.gd-gpage .gd-g-done a:hover { border-color: var(--g); }
.gd-gpage .gd-g-done small { color: var(--muted); font-size: 13px; }

/* fill-in worksheet */
.gd-gpage .gd-g-sheet {
  max-width: 680px;
  background: var(--paper);
  background-image: repeating-linear-gradient(transparent 0 39px, var(--line) 39px 40px);
  border: 1px solid var(--line); border-left: 6px double var(--g);
  border-radius: 6px;
  padding: 26px 28px 20px;
  margin: 24px 0;
}
.gd-gpage .gd-g-sheet p { margin: 0; line-height: 40px; font-size: 17px; color: var(--ink); }
.gd-gpage .gd-g-sheet span { font-family: var(--font-hand); font-size: 22px; color: var(--g); margin-left: 6px; }

/* 11.14 Manifesto list (hub) ------------------------------------------- */
.gd-gpage .gd-g-manifesto { list-style: none; margin: 18px 0; padding: 0; max-width: 820px; }
.gd-gpage .gd-g-manifesto li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline;
  padding: 14px 0; margin: 0; border-bottom: 1px dashed var(--line-strong);
  font-size: 17px;
}
.gd-gpage .gd-g-manifesto li b { font-family: var(--font-hand); font-weight: 400; font-size: 30px; line-height: 1; color: var(--g); }

/* 11.15 Prev / next guide ---------------------------------------------- */
.gd-gpage .gd-g-next { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 64px 0 20px; }
.gd-gpage .gd-g-next a {
  display: block; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.gd-gpage .gd-g-next a:hover { border-color: var(--g); transform: translateY(-2px); }
.gd-gpage .gd-g-next small { display: block; font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.gd-gpage .gd-g-next span { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--g); }
.gd-gpage .gd-g-next a:last-child:not(:first-child) { text-align: right; }

/* 11.15b Visitor's own bucket list (theme feature, inside the guide) ---- */
.gd-gpage .gd-g-mylist {
  background: var(--g-soft);
  border: 2px dashed color-mix(in srgb, var(--g) 35%, transparent);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
  margin: 22px 0;
}
.gd-gpage .gd-g-mylist .gd-bucket-list { margin-bottom: 16px; }
.gd-gpage .gd-g-mylist .gd-bucket-list:empty { display: none; }
.gd-gpage .gd-g-mylist .gd-bucket-list li { border-left-color: var(--c, var(--g)); margin: 0; box-shadow: 0 4px 12px rgba(31,26,28,.05); }
.gd-gpage .gd-g-mylist .gd-bucket-list .gd-bucket-title { font-family: var(--font-head); font-size: 18px; }
.gd-gpage .gd-g-mylist .gd-bucket-list .gd-bucket-title small { font-family: var(--font-body); }
.gd-gpage .gd-g-mylist .gd-bucket-list input[type="checkbox"] { accent-color: var(--g); width: 18px; height: 18px; }
.gd-gpage .gd-g-mylist .gd-empty {
  margin: 0; padding: 6px 0 6px 52px; position: relative;
  font-family: var(--font-hand); font-size: 24px; line-height: 1.25; color: var(--g-deep);
}
.gd-gpage .gd-g-mylist .gd-empty::before {
  content: "+"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 2px dashed var(--g);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 22px; color: var(--g);
}
.gd-gpage .gd-g-mylist .gd-btn--primary { background: var(--g); border-color: var(--g); color: #fff; }
.gd-gpage .gd-g-mylist .gd-btn--outline { color: var(--g); border-color: var(--g); background: transparent; }
.gd-gpage .gd-g-mylist .gd-btn--primary:hover { background: var(--g-deep); border-color: var(--g-deep); }
.gd-gpage .gd-g-mylist .gd-btn--outline:hover { background: var(--g); color: #fff; }
.gd-gpage .gd-g-mylist__map { margin-top: 22px; }
.gd-gpage .gd-g-mylist__map h3 { font-size: 19px; }
.gd-gpage .gd-g-mylist .gd-map--big { height: 380px; }
.gd-gpage .gd-g-how { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; counter-reset: ghow; }
.gd-gpage .gd-g-how li {
  counter-increment: ghow; margin: 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: 15px; color: var(--ink);
}
.gd-gpage .gd-g-how li::before {
  content: counter(ghow); width: 26px; height: 26px; border-radius: 50%;
  background: var(--g); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
}

/* 11.15c Bucket list: excuses + experience flash cards ------------------ */
.gd-gpage .gd-g-excuses { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 22px 0; }
.gd-gpage .gd-g-excuse { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; position: relative; }
.gd-gpage .gd-g-excuse__said {
  font-family: var(--font-hand); font-size: 27px; line-height: 1.1; color: var(--muted);
  margin: 0 0 10px; text-decoration: line-through; text-decoration-color: var(--g-accent); text-decoration-thickness: 3px;
}
.gd-gpage .gd-g-excuse p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--body); }
.gd-gpage .gd-g-excuse p strong { color: var(--g); }

.gd-gpage .gd-g-flashes { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin: 26px 0; }
.gd-gpage .gd-g-flash {
  --fc: var(--g);
  position: relative;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 1px 0 var(--line), 0 10px 24px rgba(31,26,28,.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gd-gpage .gd-g-flash:nth-child(odd) { transform: rotate(-.6deg); }
.gd-gpage .gd-g-flash:nth-child(even) { transform: rotate(.5deg); }
.gd-gpage .gd-g-flash:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 16px 30px rgba(31,26,28,.12); }
.gd-gpage .gd-g-flash__head {
  background: var(--fc);
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  color: #fff;
  padding: 18px 20px 16px;
  min-height: 92px;
}
.gd-gpage .gd-g-flash__head h3 { color: #fff; font-size: 21px; margin: 0 0 4px; padding-right: 54px; }
.gd-gpage .gd-g-flash__quip { font-family: var(--font-hand); font-size: 21px; line-height: 1.15; margin: 0; padding-right: 46px; color: #fff; opacity: .95; }
.gd-gpage .gd-g-flash__icon {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1.5px dashed rgba(255,255,255,.6);
  display: grid; place-items: center; color: #fff;
}
.gd-gpage .gd-g-flash__icon svg { width: 22px; height: 22px; }
.gd-gpage .gd-g-flash__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px 0; min-height: 40px; }
.gd-gpage .gd-g-flash__all {
  margin-left: auto;
  font: inherit; font-size: 13px; font-weight: 600;
  color: var(--fc); background: transparent;
  border: 1.5px solid var(--fc); border-radius: 999px;
  padding: 5px 12px; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.gd-gpage .gd-g-flash__all:hover,
.gd-gpage .gd-g-flash__all[aria-pressed="true"] { background: var(--fc); color: #fff; }
.gd-gpage .gd-g-flash__all:focus-visible { outline: 3px solid color-mix(in srgb, var(--fc) 30%, transparent); outline-offset: 2px; }
.gd-gpage .gd-g-flash__count {
  display: inline-block; margin: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, #fff);
  border-radius: 999px; padding: 3px 10px;
}
.gd-gpage .gd-g-flash ul { list-style: none; margin: 0; padding: 6px 20px 14px; }
.gd-gpage .gd-g-flash li { margin: 0; border-top: 1px dashed var(--line); }
.gd-gpage .gd-g-flash li:first-child { border-top: 0; }
.gd-gpage .gd-g-flash label { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; cursor: pointer; font-size: 16px; line-height: 1.35; color: var(--ink); }
.gd-gpage .gd-g-flash input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 24px; width: 24px; height: 24px; margin: 0;
  border: 2px solid var(--line-strong); border-radius: 50%;
  background: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.gd-gpage .gd-g-flash input[type="checkbox"]::after { content: "+"; font-weight: 700; font-size: 16px; line-height: 1; color: var(--line-strong); }
.gd-gpage .gd-g-flash input[type="checkbox"]:hover { border-color: var(--fc); }
.gd-gpage .gd-g-flash input[type="checkbox"]:hover::after { color: var(--fc); }
.gd-gpage .gd-g-flash input[type="checkbox"]:checked { background: var(--fc); border-color: var(--fc); transform: scale(1.05); }
.gd-gpage .gd-g-flash input[type="checkbox"]:checked::after { content: "\2713"; color: #fff; font-size: 13px; }
.gd-gpage .gd-g-flash input[type="checkbox"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--fc) 30%, transparent); outline-offset: 2px; }
.gd-gpage .gd-g-flash li.is-on label > span { color: var(--fc); font-weight: 600; }
.gd-gpage .gd-g-flash label small { color: var(--muted); font-size: 13.5px; font-weight: 400; }

.gd-gpage .gd-g-commands { list-style: none; counter-reset: gcmd; margin: 20px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.gd-gpage .gd-g-commands li {
  counter-increment: gcmd; margin: 0;
  background: var(--g-paper); border-radius: 4px;
  padding: 18px 18px 16px; font-size: 16px; line-height: 1.55; color: var(--ink);
  box-shadow: 0 6px 14px rgba(31,26,28,.07);
}
.gd-gpage .gd-g-commands li:nth-child(odd) { transform: rotate(-1deg); }
.gd-gpage .gd-g-commands li:nth-child(even) { transform: rotate(.8deg); }
.gd-gpage .gd-g-commands li::before { content: counter(gcmd, upper-roman) "."; display: block; font-family: var(--font-hand); font-size: 26px; color: var(--g); line-height: 1; margin-bottom: 4px; }

/* 11.16 Small screens --------------------------------------------------- */
@media (max-width: 720px) {
  .gd-gpage .gd-gstamp { display: none; }
  .gd-gpage .gd-g-method__item { grid-template-columns: 1fr; gap: 10px; }
  .gd-gpage .gd-g-method__no { width: 46px; height: 46px; font-size: 24px; }
  .gd-gpage .gd-g-note { transform: none; margin-left: 0; }
  .gd-gpage .gd-g-pc, .gd-gpage .gd-g-flash, .gd-gpage .gd-g-commands li { transform: none !important; }
  .gd-gpage .gd-g-progress { border-radius: var(--radius); }
  .gd-gpage .gd-g-next a:last-child:not(:first-child) { text-align: left; }
  .gd-gpage .gd-g-bar__track span { font-size: 0; }
}

/* 11.17 Print (packing list) ------------------------------------------- */
@media print {
  .gd-gpage .gd-ghero { background: none; color: var(--ink); padding-bottom: 20px; }
  .gd-gpage .gd-ghero * { color: var(--ink) !important; }
  .gd-gpage .gd-gwave, .gd-gpage .gd-gstamp, .gd-gpage .gd-g-reset, .gd-gpage .gd-g-download, .gd-gpage .gd-g-download-all, .gd-gpage .gd-g-next { display: none; }
  .gd-gpage .gd-g-progress { position: static; box-shadow: none; }
}


/* ==========================================================================
   12. Spin the Globe ([gd_spin_globe] shortcode, inc/spin-globe.php)
   ========================================================================== */
body.gd-is-spin .gd-footer { margin-top: 0; }
.gd-spin { position: relative; height: calc(100svh - var(--gd-head-h, 84px)); min-height: 460px; background: #AAD3DF; }
.gd-spin--full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.gd-spin:not(.gd-spin--full) { border-radius: 20px; overflow: hidden; }
.gd-content .gd-spin p, .gd-blank .gd-spin p { max-width: none; }
.gd-spin__map { position: absolute; inset: 0; z-index: 1; background: #AAD3DF; }
.gd-spin .leaflet-control-zoom { margin-top: 16px; margin-right: 16px; border: none; box-shadow: 0 6px 18px rgba(31,26,28,.18); border-radius: 12px; overflow: hidden; }
.gd-spin .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; font-size: 20px; color: var(--ink); }

.gd-spin__panel {
  position: absolute; z-index: 500; top: 16px; left: 16px; max-width: min(340px, calc(100% - 96px));
  background: var(--cream); border-radius: 16px; padding: 16px 20px 14px;
  box-shadow: 0 10px 28px rgba(31,26,28,.16);
}
.gd-spin .gd-spin__title { font-family: var(--font-hand); font-weight: 700; font-size: 38px; line-height: 1; margin: 0 0 6px; color: var(--brand); }
.gd-spin .gd-spin__meta { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.gd-spin .gd-spin__hint { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

.gd-spin__home {
  position: absolute; z-index: 500; top: 106px; right: 16px; width: 40px; height: 40px;
  display: grid; place-items: center; border: none; border-radius: 12px; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(31,26,28,.18);
}
.gd-spin__home:hover { background: var(--brand-soft); }

.gd-spin__dock {
  position: absolute; z-index: 500; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.gd-spin__modes { display: inline-flex; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(31,26,28,.18); }
.gd-spin__modes button { border: none; background: none; cursor: pointer; font: 600 14px/1 var(--font-body); color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.gd-spin__modes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gd-spin__btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  border: none; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .01em;
  padding: 15px 28px 13px; min-height: 52px;
  box-shadow: 0 12px 30px rgba(110,15,61,.35), 0 0 0 4px rgba(255,255,255,.75);
  transition: background .15s ease, transform .15s ease;
}
.gd-spin__btn:hover { background: var(--brand-deep); transform: translateY(-2px); }
.gd-spin__btn:focus-visible { outline: 3px dashed var(--ink); outline-offset: 5px; }
.gd-spin__btn.is-spinning .gd-spin__globe { animation: gd-spin 0.9s linear infinite; }
@keyframes gd-spin { to { transform: rotate(360deg); } }
.gd-spin__empty { position: absolute; z-index: 500; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--cream); padding: 10px 16px; border-radius: 12px; margin: 0; }

.gd-spin__search {
  position: absolute; z-index: 600; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(380px, calc(100% - 32px));
}
.gd-spin__search > svg { position: absolute; left: 16px; top: 15px; color: var(--muted); pointer-events: none; }
.gd-spin .gd-spin__search input {
  width: 100%; box-sizing: border-box; height: 48px; padding: 0 16px 0 44px;
  border: none; border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 16px var(--font-body); box-shadow: 0 8px 22px rgba(31,26,28,.18);
}
.gd-spin .gd-spin__search input:focus { outline: 3px solid var(--brand-soft); }
.gd-spin__results {
  list-style: none; margin: 8px 0 0; padding: 6px; background: #fff; border-radius: 16px;
  box-shadow: 0 14px 34px rgba(31,26,28,.22); max-height: 320px; overflow: auto;
}
.gd-spin__results[hidden] { display: none; }
.gd-spin__results li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; margin: 0; }
.gd-spin__results li[aria-selected="true"], .gd-spin__results li:hover { background: var(--brand-soft); }
.gd-spin__results strong { font-weight: 600; color: var(--ink); }
.gd-spin__results small { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Pins */
.gd-pin { background: none; border: none; }
.gd-pin span {
  display: block; width: 24px; height: 24px; margin: 1px;
  background: var(--c); border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.gd-pin--world span { --c: #E9A23B; animation: gd-drop .45s ease-out; }
@keyframes gd-drop { from { transform: translateY(-24px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.gd-pin:hover span, .gd-pin:focus span { transform: rotate(-45deg) scale(1.18); }

/* Pin card */
.gd-spin-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(31,26,28,.25); }
.gd-spin-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 260px; }
.gd-spin-popup a.leaflet-popup-close-button { z-index: 2; top: 8px; right: 8px; width: 28px; height: 28px; line-height: 26px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 20px; }
.gd-spin-card { font-family: var(--font-body); border-top: 6px solid var(--c); }
.gd-spin-card__img { display: block; width: 100%; height: 150px; object-fit: cover; }
.gd-spin-card__body { padding: 14px 16px 14px; }
.gd-spin-card__place { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.15; margin: 0 !important; color: var(--ink); }
.gd-spin-card__trip { margin: 4px 0 12px !important; font-size: 14px; color: var(--c); font-weight: 600; }
.gd-spin-card__trip span { color: var(--muted); font-weight: 500; }
.gd-spin-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gd-spin-card a.gd-spin-card__read { display: inline-block; background: var(--c); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.gd-spin-card__bucket { border: 2px solid var(--c); background: #fff; color: var(--c); font: 700 13px/1.2 var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.gd-spin-card__bucket[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.gd-spin-card a.gd-spin-card__list { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.gd-spin-card__media:empty { display: none; }
.gd-spin-card .gd-spin-card__kicker { margin: 0 0 2px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.gd-spin-card .gd-spin-card__blurb { margin: 6px 0 12px !important; font-size: 14px; line-height: 1.5; color: var(--body); }
.gd-spin-card .gd-spin-card__blurb:empty { display: none; }
.gd-spin-card__blurb a { color: var(--muted); font-size: 12px; }
.gd-spin-card--world .gd-spin-card__place { margin-bottom: 4px !important; }
.gd-spin-card--world .gd-spin-card__actions { margin-top: 10px; }
.gd-spin-card__again { border: none; background: none; cursor: pointer; font: 600 13px var(--font-body); color: var(--muted); text-decoration: underline; padding: 7px 4px; }
.gd-spin-card a.gd-spin-card__near { display: block; margin-top: 10px; font-size: 13px; color: var(--brand); text-decoration: none; }
.gd-spin-card a.gd-spin-card__near strong { color: var(--brand); }

@media (max-width: 1099px) {
  .gd-spin__search { top: auto; bottom: 136px; }
  .gd-spin__results { position: absolute; left: 0; right: 0; bottom: 56px; margin: 0; }
}
@media (max-width: 600px) {
  .gd-spin__panel { top: 12px; left: 12px; padding: 12px 14px 10px; }
  .gd-spin .gd-spin__title { font-size: 30px; }
  .gd-spin .gd-spin__hint { display: none; }
  .gd-spin__dock { bottom: 18px; }
  .gd-spin__btn { font-size: 17px; padding: 13px 22px 11px; }
  .gd-spin-card__img { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-spin__btn.is-spinning .gd-spin__globe { animation: none; }
}
body.gd-is-spin { overflow-x: clip; }

/* Home page: random trips always fill the full width (3 across, 1 on phones) */
.gd-trip-grid[data-gd-random] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
	.gd-trip-grid[data-gd-random] { grid-template-columns: 1fr; }
}
