/* London Free Guide — Guide page (the list shape). Built on tokens.css + home.css. */

/* ---- breadcrumb (matches spot page) ---- */
.gd-crumb { display: flex; align-items: center; gap: 8px; padding: 16px 0 14px; font-size: .78rem; font-weight: 500; color: var(--lfg-white-50); flex-wrap: wrap; }
.gd-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .78rem; color: var(--lfg-white-70); padding: 0; }
.gd-back span { font-size: .82rem; line-height: 1; }
.gd-back:hover { color: #fff; }
.gd-crumb .sep { color: var(--lfg-white-30); }
.gd-crumb .cur { color: var(--lfg-white-90); font-weight: 600; }

/* ---- shared bits ---- */
.gd-divider { width: 64px; height: 4px; background: var(--lfg-accent); border-radius: 2px; margin-bottom: 14px; }
.gd-sec-h { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: var(--lfg-text-h2); line-height: .94; margin-bottom: 16px; }
.gd-section { padding: 26px 0 4px; }

/* ---- cover hero banner ---- */
/* ---- hero: editorial lede + framed cover (split, no overlay) ---- */
.gd-hero { padding: 4px 0 8px; }
.gd-hero-inner { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 900px) { .gd-hero-inner { grid-template-columns: 1fr 340px; gap: 48px; } }
.gd-cover { border-radius: 16px; overflow: hidden; background: #1a1a1a; box-shadow: 0 24px 60px rgba(0,0,0,.5); line-height: 0; justify-self: stretch; }
.gd-cover img { width: 100%; height: auto; display: block; }
/* branded cover fallback (evergreen guides with no baked photo) */
.gd-cover.noimg { position: relative; display: flex; align-items: center; justify-content: center; min-height: 240px; background: var(--lfg-pure-black); line-height: 1; }
.gd-cover.noimg::before { content: ""; position: absolute; top: -22%; right: -18%; width: 64%; height: 64%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lfg-accent) 55%, transparent), transparent 70%); }
.gd-cover-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 24px; text-align: center; }
.gd-cover-free { font-family: var(--lfg-font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .64rem; padding: .42em .8em; border-radius: var(--lfg-radius-pill); background: var(--lfg-accent); color: #fff; }
.gd-cover-title { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.9rem; line-height: 1.0; text-wrap: balance; }
.gd-noimg-mark { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .64rem; color: rgba(255,255,255,.45); }
.gd-noimg-mark .r { color: var(--lfg-accent); }
/* branded row-thumbnail fallback */
.gd-thumb.noimg { display: flex; align-items: center; justify-content: center; background: var(--lfg-pure-black); position: relative; }
.gd-thumb.noimg::before { content: ""; position: absolute; top: -28%; right: -24%; width: 72%; height: 72%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lfg-accent) 50%, transparent), transparent 70%); }
.gd-noimg-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px; text-align: center; }
.gd-noimg-free { font-family: var(--lfg-font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .54rem; padding: .36em .7em; border-radius: var(--lfg-radius-pill); background: var(--lfg-accent); color: #fff; }
.gd-thumb.noimg .gd-noimg-mark { font-size: .5rem; }
.gd-hook { font-family: var(--lfg-font-hand); font-size: 2.2rem; line-height: 1.1; color: var(--lfg-white); margin-bottom: 6px; }
.gd-title { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 5.2vw, 3.6rem); line-height: .92; color: var(--lfg-white); text-wrap: balance; }
.gd-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.gd-meta .cost { font-size: .66rem; padding: .42em .8em; }
.gd-count { font-family: var(--lfg-font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .64rem; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); padding: .46em .7em; border-radius: var(--lfg-radius-pill); }
.gd-where { font-weight: 500; font-size: .9rem; color: var(--lfg-white-90); display: inline-flex; align-items: center; gap: 6px; }
.gd-where .pin { color: var(--lfg-accent); }

/* ---- intro standfirst ---- */
.gd-intro { font-size: 1.12rem; line-height: 1.6; color: var(--lfg-white-90); max-width: 60ch; margin: 22px 0 4px; text-wrap: pretty; }

/* ---- stylised overview map with numbered pins ---- */
body.hide-gmap .gd-map-wrap { display: none; }
.gd-map { position: relative; height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid var(--lfg-white-08); background: #14140f; }
.gd-map .grid { position: absolute; inset: 0; background-image: radial-gradient(var(--lfg-white-08) 1px, transparent 1px); background-size: 26px 26px; }
.gd-map .river { position: absolute; left: -5%; right: -5%; top: 54%; height: 26px; background: rgba(46,120,204,.14); transform: rotate(-4deg); border-radius: 40%; }
.gd-map .road { position: absolute; background: rgba(255,255,255,.06); }
.gd-map .road.a { top: 0; bottom: 0; left: 30%; width: 8px; transform: rotate(8deg); }
.gd-map .road.b { left: 0; right: 0; top: 30%; height: 7px; transform: rotate(-5deg); }
.gd-pin { position: absolute; transform: translate(-50%, -100%); z-index: 2; }
.gd-pin .tear { width: 30px; height: 30px; background: var(--lfg-accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 16px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.gd-pin .tear b { transform: rotate(45deg); color: #fff; font-family: var(--lfg-font-head); font-weight: 700; font-size: .82rem; line-height: 1; }
.gd-maptag { position: absolute; top: 12px; left: 14px; z-index: 3; font-weight: 600; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lfg-white-70); background: rgba(14,14,14,.72); padding: .42em .64em; border-radius: 6px; backdrop-filter: blur(4px); }

/* ---- numbered list of places ---- */
.gd-list { display: flex; flex-direction: column; gap: 14px; }
.gd-row { display: flex; gap: 18px; align-items: stretch; background: #141414; border: 1px solid var(--lfg-white-08); border-radius: 14px; padding: 14px; transition: border-color .15s, transform .15s; }
.gd-row:hover { border-color: var(--lfg-white-15); transform: translateY(-2px); }
.gd-rank { flex-shrink: 0; width: 40px; font-family: var(--lfg-font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--lfg-accent); padding-top: 4px; text-align: center; }
body.unnumbered .gd-rank { display: none; }
.gd-thumb { flex-shrink: 0; width: 124px; height: 124px; border-radius: 10px; overflow: hidden; background: #1a1a1a; }
.gd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-thumb.crop img { object-position: center bottom; transform: scale(1.12); transform-origin: bottom center; }
.gd-rc { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-status { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-family: var(--lfg-font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: .66rem; padding: 4px 11px 4px 9px; border-radius: 999px;
  margin-bottom: 9px; border: 1px solid transparent; }
.gd-status .sdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.gd-status.live { background: rgba(46,204,64,.16); color: #74e08a; border-color: rgba(46,204,64,.45); }
.gd-status.live .sdot { background: #2ECC40; box-shadow: 0 0 0 0 rgba(46,204,64,.6); animation: gd-pulse 2s infinite; }
.gd-status.soon { background: color-mix(in srgb, var(--lfg-accent) 16%, transparent); color: #ff9c92; border-color: color-mix(in srgb, var(--lfg-accent) 45%, transparent); }
.gd-status.soon .sdot { background: var(--lfg-accent); }
.gd-status.upcoming { background: var(--lfg-white-08); color: var(--lfg-white-70); border-color: var(--lfg-white-15); }
.gd-status.upcoming .sdot { background: var(--lfg-white-50); }
.gd-status.ended { background: var(--lfg-white-08); color: var(--lfg-white-50); border-color: var(--lfg-white-15); }
.gd-status.ended .sdot { background: var(--lfg-white-30); }
.gd-row.is-ended { opacity: .6; }
.gd-row.is-ended:hover { opacity: .85; }
@keyframes gd-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,64,.55); } 70% { box-shadow: 0 0 0 6px rgba(46,204,64,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,64,0); } }
[data-theme="light"] .gd-status.live { color: #1c7a2e; }
[data-theme="light"] .gd-status.soon { color: #c43022; }
.gd-name { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; line-height: 1; margin-bottom: 7px; }
.gd-loc { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: .8rem; color: var(--lfg-white-50); margin-bottom: 9px; }
.gd-loc .pin { color: var(--lfg-accent); }
.gd-blurb { font-size: .92rem; line-height: 1.5; color: var(--lfg-white-70); margin-bottom: 10px; text-wrap: pretty; }
.gd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.gd-hours { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--lfg-white-50); }
.gd-go { font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lfg-accent); white-space: nowrap; }
.gd-row:hover .gd-go { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .gd-row { gap: 12px; padding: 12px; }
  .gd-rank { width: 24px; font-size: 1.5rem; }
  .gd-thumb { width: 88px; height: 88px; }
  .gd-name { font-size: 1.12rem; }
  .gd-hero-body { padding: 22px 18px; }
}

/* ---- empty / being-written state (member-less guides) ---- */
.gd-empty { background: #161616; border: 1px solid var(--lfg-white-15); border-left: 6px solid var(--lfg-accent); border-radius: 16px; padding: 26px 28px; max-width: 640px; }
.gd-empty h3 { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 8px; }
.gd-empty p { color: var(--lfg-white-70); font-size: .96rem; line-height: 1.6; margin-bottom: 16px; max-width: 48ch; }
.gd-empty .btn { display: inline-block; }

/* ---- more guides ---- */
.gd-more .masonry { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gd-more .masonry { grid-template-columns: repeat(3, 1fr); } }

/* ---- bottom back ---- */
.gd-foot-nav { padding: 8px 0 30px; }
.gd-back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--lfg-white-70); }
.gd-back-link:hover { color: #fff; }

/* ---- getting there: honest transport block for day-trip guides ---- */
.gd-gt-wrap { margin-top: 4px; }
.gd-getthere { position: relative; overflow: hidden; background: #161616; border: 1px solid var(--lfg-white-15); border-radius: 18px; padding: 24px 26px 26px; }
.gd-getthere::before { content: ""; position: absolute; top: -55%; right: -8%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lfg-accent) 22%, transparent), transparent 70%); pointer-events: none; }
.gd-gt-head { position: relative; margin-bottom: 16px; }
.gd-gt-eyebrow { display: inline-block; background: var(--lfg-white-15); color: var(--lfg-white); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .6rem; padding: .4em .7em; border-radius: 999px; margin-bottom: 9px; }
.gd-gt-h { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: .98; }
.gd-gt-rows { position: relative; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gd-gt-rows { grid-template-columns: 1fr 1fr; } }
.gd-gt-row { display: flex; align-items: flex-start; gap: 12px; background: var(--lfg-white-08); border-radius: 12px; padding: 13px 15px; }
.gd-gt-ico { font-size: 1.15rem; line-height: 1.3; flex-shrink: 0; }
.gd-gt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gd-gt-txt b { font-weight: 700; font-size: .92rem; }
.gd-gt-txt span { font-size: .84rem; color: var(--lfg-white-70); }
.gd-gt-note { position: relative; margin-top: 14px; font-family: var(--lfg-font-hand); color: var(--lfg-white); font-size: 1.45rem; line-height: 1.15; }
[data-theme="light"] .gd-getthere { background: #ffffff; }
[data-theme="light"] .gd-gt-eyebrow { background: rgba(28,20,13,.08); color: var(--lfg-black); }
[data-theme="light"] .gd-gt-row { background: rgba(28,20,13,.05); }
[data-theme="light"] .gd-gt-note { color: var(--lfg-black); }
