/* London Free Guide — Day Trips page.
   Three layouts share the same data; only arrangement changes.
   Covers are 1080×1350 worded posters, so media frames are 4:5 + object-fit
   cover (same ratio = whole poster shows, no text clipped). */

/* ---------- hero ---------- */
.dt-hero { padding: 46px 0 30px; border-bottom: 1px solid var(--lfg-white-08); }

/* ---------- destination weather strip ---------- */
.dt-wx { border-bottom: 1px solid var(--lfg-white-08); background: var(--lfg-bar-bg); }
[data-theme="light"] .dt-wx { background: var(--lfg-bar-bg); }
.dt-wx-inner { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.dt-wx-label { font-weight: 700; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lfg-white-50); white-space: nowrap; flex-shrink: 0; }
.dt-wx-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.dt-wx-row::-webkit-scrollbar { display: none; }
.dt-wx-group { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dt-wx-group + .dt-wx-group { padding-left: 14px; border-left: 1px solid var(--lfg-white-08); }
.dt-wx-gl { font-weight: 700; font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lfg-accent); white-space: nowrap; }
.dt-wx-chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: var(--lfg-white-08); border: 1px solid transparent; transition: border-color .15s; }
.dt-wx-chip:hover { border-color: var(--lfg-white-15); }
.dt-wx-place { font-weight: 600; font-size: .72rem; color: var(--lfg-white); white-space: nowrap; }
.dt-wx-ic { font-size: 1.02em; line-height: 1; }
.dt-wx-temp { font-weight: 700; font-size: .72rem; color: var(--lfg-white); }
.dt-hero-eyebrow { font-family: var(--lfg-font-hand); color: var(--lfg-accent); font-size: 1.7rem; line-height: 1; display: block; margin-bottom: 6px; }
.dt-hero-title { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: .92; letter-spacing: -.01em; }
.dt-hero-title .r { color: var(--lfg-accent); }
.dt-hero-sub { margin-top: 14px; max-width: 56ch; font-size: 1rem; line-height: 1.55; color: var(--lfg-white-70); text-wrap: pretty; }
.dt-hero-meta { margin-top: 16px; font-size: .82rem; color: var(--lfg-white-50); }
.dt-hero-count { display: inline-block; background: var(--lfg-accent); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; padding: .35em .7em; border-radius: 999px; }
.dt-hero-aside { color: var(--lfg-white-50); }

/* ---------- controls / layout switch ---------- */
.dt-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 0 6px; }
.dt-switch { display: inline-flex; background: var(--lfg-white-08); border: 1px solid var(--lfg-white-15); border-radius: 999px; padding: 4px; gap: 2px; }
.dt-switch-btn { font-family: var(--lfg-font-body); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lfg-white-70); padding: .5rem 1rem; border-radius: 999px; cursor: pointer; background: none; border: 0; transition: background .15s, color .15s; }
.dt-switch-btn:hover { color: #fff; }
.dt-switch-btn.on { background: var(--lfg-accent); color: #fff; }
.dt-controls-hint { font-size: .84rem; color: var(--lfg-white-50); font-style: italic; }

/* ---------- type filter ---------- */
.dt-filter-row { padding: 6px 0 0; }
.dt-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-filter-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--lfg-font-body); font-weight: 600; font-size: .82rem; color: var(--lfg-white-75); background: var(--lfg-white-08); border: 1px solid var(--lfg-white-15); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.dt-filter-chip:hover { color: #fff; border-color: var(--lfg-white-25); }
.dt-filter-chip.on { background: var(--lfg-accent); color: #fff; border-color: var(--lfg-accent); }
.dt-filter-n { font-size: .72rem; font-weight: 700; color: var(--lfg-white-50); background: var(--lfg-white-08); border-radius: 999px; min-width: 1.25rem; text-align: center; padding: .05rem .35rem; }
.dt-filter-chip.on .dt-filter-n { color: #fff; background: rgba(255,255,255,.22); }
.dt-body { padding: 22px 0 8px; }

/* ---------- shared: transit line, dir badge, tags ---------- */
.dt-transit { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-transit .dt-train, .dt-transit .dt-fare { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .78rem; color: var(--lfg-white-82, var(--lfg-white-70)); background: var(--lfg-white-08); border: 1px solid var(--lfg-white-08); border-radius: 999px; padding: .35rem .7rem; white-space: nowrap; }
.dt-transit .dt-fare { color: var(--lfg-accent); }
.dt-hide-transit .dt-transit { display: none; }
.dt-dir-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-weight: 700; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: rgba(14,14,14,.7); backdrop-filter: blur(4px); border-radius: 999px; padding: .35rem .7rem; }
.dt-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.dt-region { font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lfg-white-50); }
.dt-count { font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lfg-white-70); background: var(--lfg-white-08); border-radius: 999px; padding: .3rem .6rem; }
.dt-free { font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #06210b; background: #2ECC40; border-radius: 999px; padding: .3rem .6rem; }
.dt-cta { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lfg-accent); }

/* ---------- editorial ---------- */
.dt-editorial { display: grid; gap: 30px; }
.dt-ed { display: grid; grid-template-columns: 1fr; gap: 0; background: #161616; border: 1px solid var(--lfg-white-15); border-radius: 20px; overflow: hidden; }
.dt-ed:hover { border-color: var(--lfg-white-30); }
.dt-ed-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 460px; background: #0c0c0c; }
.dt-ed-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-ed-body { padding: 24px 24px 26px; display: flex; flex-direction: column; }
.dt-ed-title { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: .98; margin-bottom: 10px; }
.dt-ed-sum { font-size: .98rem; line-height: 1.55; color: var(--lfg-white-70); margin-bottom: 16px; text-wrap: pretty; }
@media (min-width: 760px) {
  .dt-ed { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 380px; }
  .dt-ed-media { aspect-ratio: auto; max-height: none; min-height: 380px; }
  /* fill the column without letting a portrait image dictate the card height
     (so a poster-shaped cover matches the text-tile cards) */
  .dt-ed-media img { position: absolute; inset: 0; }
  .dt-ed-body { justify-content: center; padding: 34px 38px; }
  .dt-ed:nth-child(even) .dt-ed-media { order: 2; }
}

/* ---------- directory grid ---------- */
.dt-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .dt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dt-grid { grid-template-columns: repeat(3, 1fr); } }
.dt-card { display: flex; flex-direction: column; background: #161616; border: 1px solid var(--lfg-white-15); border-radius: 16px; overflow: hidden; }
.dt-card:hover { border-color: var(--lfg-white-30); transform: translateY(-2px); transition: transform .15s, border-color .15s; }
.dt-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0c0c0c; }
.dt-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* branded text-forward tile (no clean photo available) */
.dt-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--lfg-accent) 34%, #0c0c0c), #0c0c0c 64%); }
.dt-noimg-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dt-noimg-place { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; line-height: .96; font-size: 2rem; color: #fff; text-wrap: balance; }
.dt-noimg-mark { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .64rem; color: var(--lfg-white-50); }
.dt-noimg-mark span { color: var(--lfg-accent); }
.dt-ed-media .dt-noimg-place { font-size: 2.8rem; }
.dt-card-body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dt-card-title { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; font-size: 1.22rem; line-height: 1.02; }
.dt-card-loc { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: .76rem; color: var(--lfg-white-50); }
.dt-card-loc .pin { color: var(--lfg-accent); }
.dt-card-sum { font-size: .88rem; line-height: 1.5; color: var(--lfg-white-70); text-wrap: pretty; }
.dt-transit-sm { margin-top: auto; }
.dt-transit-sm .dt-train, .dt-transit-sm .dt-fare { font-size: .72rem; padding: .3rem .6rem; }

/* ---------- map ---------- */
.dt-mapwrap { display: grid; gap: 26px; }
.dt-map { position: relative; aspect-ratio: 16 / 10; max-height: 560px; background: #141414; border: 1px solid var(--lfg-white-15); border-radius: 20px; overflow: hidden; }
.dt-map .grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; }
.dt-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dt-lines line { stroke: var(--lfg-accent); stroke-width: .4; stroke-dasharray: 1.4 1.4; opacity: .55; }
.dt-london { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.dt-london-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.14); }
.dt-london-lbl { font-family: var(--lfg-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #fff; }
.dt-mappin { position: absolute; transform: translate(-50%, -50%); z-index: 4; display: flex; align-items: center; gap: 9px; }
.dt-mappin.right { flex-direction: row-reverse; }
.dt-tear { width: 26px; height: 26px; flex-shrink: 0; background: var(--lfg-accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 16px rgba(0,0,0,.5); }
.dt-pin-card { background: rgba(14,14,14,.86); backdrop-filter: blur(6px); border: 1px solid var(--lfg-white-15); border-radius: 10px; padding: 7px 11px; max-width: 168px; display: flex; flex-direction: column; gap: 2px; }
.dt-pin-card b { font-weight: 700; font-size: .82rem; line-height: 1.1; color: #fff; }
.dt-pin-meta { font-size: .7rem; color: var(--lfg-white-70); }
.dt-mappin:hover .dt-pin-card { border-color: var(--lfg-accent); }
.dt-map-tag { position: absolute; left: 14px; bottom: 12px; z-index: 3; font-weight: 600; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lfg-white-50); background: rgba(14,14,14,.6); border-radius: 6px; padding: .3rem .55rem; }
@media (max-width: 560px) {
  .dt-map { aspect-ratio: 1 / 1; }
  .dt-pin-card { max-width: 116px; padding: 5px 8px; }
  .dt-pin-card b { font-size: .72rem; }
  .dt-pin-meta { font-size: .62rem; }
}

/* ---------- light theme ---------- */
[data-theme="light"] .dt-ed,
[data-theme="light"] .dt-card { background: #ffffff; box-shadow: 0 1px 3px rgba(28,20,13,.06); }
[data-theme="light"] .dt-ed-media,
[data-theme="light"] .dt-card-media { background: #ece4d8; }
[data-theme="light"] .dt-switch { background: rgba(28,20,13,.05); border-color: rgba(28,20,13,.12); }
[data-theme="light"] .dt-filter-chip { background: rgba(28,20,13,.05); border-color: rgba(28,20,13,.12); color: rgba(28,20,13,.72); }
[data-theme="light"] .dt-filter-chip:hover { color: #1c140d; }
[data-theme="light"] .dt-filter-chip.on { background: var(--lfg-accent); color: #fff; border-color: var(--lfg-accent); }
[data-theme="light"] .dt-filter-n { background: rgba(28,20,13,.08); color: rgba(28,20,13,.6); }
[data-theme="light"] .dt-transit .dt-train, [data-theme="light"] .dt-transit .dt-fare { background: rgba(28,20,13,.05); border-color: rgba(28,20,13,.05); }
[data-theme="light"] .dt-count { background: rgba(28,20,13,.06); }
[data-theme="light"] .dt-map { background: #ece4d8; }
[data-theme="light"] .dt-map .grid { background-image: radial-gradient(rgba(28,20,13,.1) 1px, transparent 1px); }
[data-theme="light"] .dt-london-dot { background: var(--lfg-black); box-shadow: 0 0 0 6px rgba(28,20,13,.12); }
[data-theme="light"] .dt-london-lbl { color: var(--lfg-black); }
[data-theme="light"] .dt-pin-card { background: rgba(255,255,255,.94); border-color: rgba(28,20,13,.12); }
[data-theme="light"] .dt-pin-card b { color: var(--lfg-black); }
[data-theme="light"] .dt-map-tag { background: rgba(255,255,255,.7); }
