* { box-sizing: border-box; }

:root{
  --bg:#081018;
  --panel:#101b27;
  --panel-2:#132435;
  --text:#f6f7f9;
  --muted:#b8c1cb;
  --gold:#f2b24f;
  --orange:#ff7a1a;
  --red:#c72e2e;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 55px rgba(0,0,0,.32);
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.55;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(14px);
  background:rgba(8,16,24,.86);
  border-bottom:1px solid var(--line);
}

.nav-wrap,
.shell{
  width:min(1180px, calc(100% - 36px));
  margin:0 auto;
}

.nav-wrap{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  font-weight:800;
  letter-spacing:.02em;
  font-size:1.1rem;
}

nav{
  display:flex;
  gap:20px;
}

nav a{
  color:var(--muted);
  font-size:.95rem;
}

nav a:hover{
  color:#fff;
}

.section{
  padding:76px 0;
}

.hero{
  padding-top:34px;
}

.hero-image-wrap{
  overflow:hidden;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#000;
}

.hero-image-wrap img{
  width:100%;
  height:auto;
}

.hero-copy{
  max-width:780px;
  margin:34px auto 0;
  text-align:center;
}

.eyebrow{
  margin:0 0 10px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:800;
  font-size:.78rem;
}

h1,h2,h3,p{
  margin-top:0;
}

h1{
  font-size:clamp(2.4rem,6vw,5.2rem);
  line-height:.98;
  margin-bottom:18px;
}

h2{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.05;
  margin-bottom:16px;
}

h3{
  font-size:1.35rem;
  margin-bottom:8px;
}

.lead,
.section-intro{
  color:var(--muted);
  font-size:1.06rem;
}

.hero-actions{
  margin-top:28px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.button,
.tour-card a,
.contact-form button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
}

.button.primary,
.contact-form button{
  background:linear-gradient(135deg,var(--orange),var(--red));
  color:#fff;
}

.button.secondary{
  border-color:var(--line);
  background:rgba(255,255,255,.04);
}

.alt{
  background:linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.social-grid{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}

.social-card{
  min-height:140px;
  padding:22px;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:.2s ease;
}

.social-card:hover{
  transform:translateY(-3px);
  border-color:rgba(242,178,79,.55);
}

.social-name{
  font-weight:800;
  font-size:1.08rem;
}

.social-note{
  color:var(--muted);
  font-size:.9rem;
  margin-top:4px;
}

.tour-grid{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.tour-card{
  min-height:260px;
  padding:26px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 10px 30px rgba(0,0,0,.16);
}

.tour-card p{
  color:var(--muted);
}

.tour-number{
  display:inline-block;
  margin-bottom:28px;
  font-weight:800;
  color:var(--gold);
}

.tour-card a{
  width:max-content;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}

.contact-section{
  background:var(--panel-2);
}

.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:54px;
  align-items:start;
}

.contact-form{
  padding:28px;
  border-radius:20px;
  background:rgba(0,0,0,.18);
  border:1px solid var(--line);
}

.contact-form label{
  display:block;
  margin-bottom:16px;
  font-weight:700;
  font-size:.93rem;
}

input,textarea{
  width:100%;
  margin-top:8px;
  padding:14px 15px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:#09131d;
  color:#fff;
  font:inherit;
}

textarea{
  resize:vertical;
}

.contact-form button{
  width:100%;
  border:0;
  font-size:1rem;
}

.form-note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:.82rem;
  text-align:center;
}

footer{
  padding:30px 0;
  border-top:1px solid var(--line);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:.9rem;
}

.footer-inner strong{
  color:#fff;
}

@media (max-width:900px){
  .social-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .tour-grid{
    grid-template-columns:1fr;
  }

  .contact-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
}

@media (max-width:640px){
  .nav-wrap{
    min-height:60px;
  }

  .brand{
    font-size:1rem;
  }

  nav{
    gap:12px;
  }

  nav a{
    font-size:.84rem;
  }

  .section{
    padding:54px 0;
  }

  .hero{
    padding-top:20px;
  }

  .hero-image-wrap{
    border-radius:14px;
  }

  .hero-copy{
    margin-top:24px;
  }

  .social-grid{
    grid-template-columns:1fr;
  }

  .social-card{
    min-height:110px;
  }

  .footer-inner{
    flex-direction:column;
    gap:6px;
  }
}


.about-section{
  border-top:1px solid var(--line);
}

.about-grid{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:54px;
  align-items:start;
}

.about-copy{
  max-width:720px;
  color:var(--muted);
  font-size:1.08rem;
}

.about-copy p:last-child{
  margin-bottom:0;
}

@media (max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
}

.about-signoff{color:var(--text);margin-top:24px;}

.about-grid{
  grid-template-columns:1fr;
}
.about-content{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:38px;
  align-items:center;
}
.about-photo{
  margin:0;
}
.about-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
@media (max-width:800px){
  .about-content{
    grid-template-columns:1fr;
    gap:26px;
  }
  .about-photo{
    max-width:620px;
    margin:0 auto;
  }
}

@media (min-width:901px){
  .tour-grid{
    grid-template-columns:repeat(4,1fr);
  }
  .tour-card{
    min-height:220px;
  }
}

.duration-note{
  margin-top:18px;
  color:var(--gold) !important;
  font-size:.88rem;
  font-weight:800;
}

.pricing-panel{
  margin-top:34px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--panel-2);
}
.pricing-heading p:last-child{
  color:var(--muted);
  margin-bottom:0;
}
.price-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}
.price-grid div{
  padding:18px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  text-align:center;
}
.price-grid strong,
.price-grid span{
  display:block;
}
.price-grid span{
  margin-top:5px;
  color:var(--gold);
  font-size:1.25rem;
  font-weight:800;
}
@media(max-width:900px){
  .price-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:520px){
  .price-grid{grid-template-columns:repeat(2,1fr);}
  .pricing-panel{padding:20px;}
}

.tour-info-panel{
  margin-top:34px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(242,178,79,.08),rgba(255,255,255,.025));
}
.tour-info-panel h3{
  font-size:clamp(1.5rem,2.5vw,2rem);
  margin-bottom:18px;
}
.tour-info-panel p{
  max-width:900px;
  color:var(--muted);
}
.tour-info-panel p:last-child{
  margin-bottom:0;
}
.tour-info-panel strong{
  color:var(--text);
}
@media(max-width:520px){
  .tour-info-panel{padding:22px;}
}


/* Tour imagery and interactive detail popovers */
.tour-card { padding: 0; overflow: visible; position: relative; }
.tour-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.tour-card-content { padding: 24px 26px 0; }
.tour-card > a { margin: 0 26px 26px; }
.might-see, .content-warning { position: relative; display: inline-block; margin: 4px 8px 8px 0; }
.might-see-trigger, .content-warning-trigger { border: 0; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; background: #eef2f6; color: #17212b; }
.after-dark { display: inline-block; margin-left: 8px; font-weight: 700; white-space: nowrap; }
.might-see-popup, .content-warning-popup { display: none; position: absolute; z-index: 50; left: 0; bottom: calc(100% + 8px); width: min(560px, 80vw); max-height: 70vh; overflow-y: auto; padding: 18px 20px; border-radius: 14px; background: #fff; color: #17212b; box-shadow: 0 14px 38px rgba(0,0,0,.22); text-align: left; }
.content-warning-popup { width: min(440px, 80vw); }
.might-see-popup h4, .content-warning-popup h4 { margin: 0 0 10px; }
.might-see-popup ul { columns: 2; column-gap: 30px; margin: 0; padding-left: 20px; }
.might-see-popup li { break-inside: avoid; margin: 0 0 7px; }
.might-see:hover .might-see-popup, .content-warning:hover .content-warning-popup, .might-see.open .might-see-popup, .content-warning.open .content-warning-popup { display: block; }
.tour-card:nth-child(even) .might-see-popup, .tour-card:nth-child(even) .content-warning-popup { left: auto; right: 0; }
@media (max-width: 760px) {
  .might-see-popup, .content-warning-popup, .tour-card:nth-child(even) .might-see-popup, .tour-card:nth-child(even) .content-warning-popup { position: fixed; left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%,-50%); width: min(88vw, 520px); max-height: 76vh; }
  .might-see-popup ul { columns: 1; }
}

/* Bespoke tour information panel */
.bespoke-info .content-warning-popup { width: min(600px, 80vw); }
.bespoke-info .content-warning-popup p { margin: 0 0 12px; color: #17212b; }
.bespoke-info .content-warning-popup p:last-child { margin-bottom: 0; }

/* Keep every tour image locked to exactly the same square footprint on desktop and mobile. */
.tour-grid { align-items: stretch; }
.tour-card { min-width: 0; }
.tour-image { box-sizing: border-box; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; flex: 0 0 auto; }

/* v24 alignment: keep all tour content anchored directly below its image, while enquiry buttons align at the bottom. */
.tour-card { justify-content: flex-start; }
.tour-card > a { margin-top: auto; }

.social-card{align-items:center;text-align:center;justify-content:center;}
.social-icon{width:72px;height:72px;object-fit:contain;display:block;margin:0 auto 14px;}
@media (max-width:640px){.social-icon{width:64px;height:64px;}}

/* v26: compact icon-only advisory triggers */
.info-trigger.icon-only,
.tour-info-trigger.icon-only { width: 38px; min-width: 38px; height: 38px; padding: 0; border-radius: 50%; display:inline-flex; align-items:center; justify-content:center; }

/* Also compact the advisory triggers by their short icon-only content without affecting "What might..." controls. */
.tour-card button[aria-label*="Mature"],
.tour-card button[aria-label*="Walking"],
.tour-card button[aria-label*="Spooky"] { width:38px; min-width:38px; height:38px; padding:0; border-radius:50%; }

/* v27: icon-only advisory controls blend into the dark tour-card background */
.tour-card .info-trigger,
.tour-card .tour-info-trigger {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.tour-card .info-trigger:hover,
.tour-card .tour-info-trigger:hover,
.tour-card .info-trigger:focus,
.tour-card .tour-info-trigger:focus {
  background: transparent !important;
  box-shadow: none !important;
}

/* v28: advisory icons only — no white pill/bubble */
.content-warning:not(.bespoke-info) .content-warning-trigger {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 2px 3px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 1.15rem !important;
}
.content-warning:not(.bespoke-info) .content-warning-trigger:hover,
.content-warning:not(.bespoke-info) .content-warning-trigger:focus,
.content-warning:not(.bespoke-info) .content-warning-trigger:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline-offset: 3px;
}

/* v29: tidy tour controls — advisory icons sit beneath the main popup button */
.tour-card .tour-card-content > .content-warning,
.tour-card .tour-card-content > .tour-info {
  margin-top: 7px;
}

.tour-card .content-warning:not(.bespoke-info) {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
}

/* Start the first advisory icon on a fresh row beneath the main tour-info button. */
.tour-card .tour-info + .content-warning:not(.bespoke-info),
.tour-card .what-might-see + .content-warning:not(.bespoke-info),
.tour-card .what-might-discover + .content-warning:not(.bespoke-info) {
  margin-left: 0;
}

/* Compact, evenly spaced icon row. */
.tour-card .content-warning:not(.bespoke-info) .content-warning-trigger {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* If advisory controls are wrapped by a shared actions area, make the main button full-row. */
.tour-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.tour-actions > .tour-info,
.tour-actions > .what-might-see,
.tour-actions > .what-might-discover {
  flex-basis: 100%;
}

/* v30 definitive Safari/Chrome fix: Tour 5 advisory icons on their own row */
.jack-ripper-card .content-warning:first-of-type {
  display: block !important;
  width: 100% !important;
  margin-top: 8px !important;
}
.jack-ripper-card .content-warning:first-of-type .content-warning-trigger {
  display: inline-flex !important;
}
.jack-ripper-card .content-warning + .content-warning {
  display: inline-block !important;
}

/* v31 — definitive layout fix for advisory icons */
.might-see {
  display: block !important;
  width: 100% !important;
  clear: both !important;
}

/* Jack the Ripper: warning + walking icons on their own row BELOW the main button */
.jack-advisories {
  display: flex !important;
  width: 100% !important;
  flex-basis: 100% !important;
  clear: both !important;
  float: none !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 10px 0 0 0 !important;
}

/* Horrible Horrors: spooky icon also starts below its main button */
.tour-card .might-see + .content-warning {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin: 10px 0 0 0 !important;
}

/* But Jack's two advisory items remain side-by-side inside their dedicated row */
.jack-advisories .content-warning {
  display: inline-flex !important;
  width: auto !important;
  clear: none !important;
  float: none !important;
  margin: 0 !important;
}

/* Icons themselves: no white bubble */
.jack-advisories .content-warning-trigger,
.tour-card .might-see + .content-warning .content-warning-trigger {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1 !important;
}


/* v37 — intelligent general contact / tour enquiry form */
.contact-form select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: #fff;
  color: #171717;
}
.tour-form-fields {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}
.tour-form-fields[hidden],
#day-trip-destination-field[hidden] {
  display: none !important;
}
.form-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.required-mark { font-weight: 700; }
.optional-mark { opacity: .72; font-weight: 400; font-size: .9em; }
@media (max-width: 640px) {
  .form-two-column { grid-template-columns: 1fr; }
}

.website-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important}.form-status{padding:14px 16px;margin-bottom:18px;border-radius:10px;font-weight:700}.form-status.success{background:rgba(46,160,67,.18)}.form-status.error{background:rgba(200,50,50,.18)}

.tour-photo-preview{position:relative;display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:4px;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:14px;margin-bottom:18px;background:#111}.tour-photo-preview button{position:relative;border:0;padding:0;margin:0;overflow:hidden;cursor:pointer;background:#111;min-width:0}.tour-photo-preview .tour-photo-main{grid-row:1/3}.tour-photo-preview button img{width:100%;height:100%;object-fit:cover;display:block}.tour-photo-more span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;background:rgba(0,0,0,.48);color:#fff;font-weight:800}.tour-cartoon-badge{position:absolute!important;right:12px!important;bottom:12px!important;width:82px!important;height:82px!important;object-fit:cover!important;border-radius:12px!important;border:3px solid #fff!important;box-shadow:0 3px 12px rgba(0,0,0,.45)!important;z-index:4}
.tour-photo-preview{grid-template-columns:2fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}
.tour-photo-preview .tour-photo-main{grid-row:1/4!important}
.tour-photo-preview .tour-cartoon-tile{position:relative!important;display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;border:0!important;padding:0!important;margin:0!important;background:#111!important}
.tour-photo-preview .tour-cartoon-tile img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;margin:0!important}
.tour-cartoon-badge{display:none!important}

/* v43: Tour 1 simple 3x3 square preview grid */
.tour-photo-preview.tour-photo-grid-3x3{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  grid-template-rows:repeat(3,1fr)!important;
  gap:4px!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
}
.tour-photo-preview.tour-photo-grid-3x3 button,
.tour-photo-preview.tour-photo-grid-3x3 .tour-photo-main,
.tour-photo-preview.tour-photo-grid-3x3 .tour-cartoon-tile{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}
.tour-photo-preview.tour-photo-grid-3x3 button img,
.tour-photo-preview.tour-photo-grid-3x3 .tour-cartoon-tile img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
}


/* v52: one clean gallery system only. No hover enlargement. */
.tour-photo-grid-3x3 > button{
  cursor:zoom-in!important;
  transition:none!important;
  transform:none!important;
  box-shadow:none!important;
}
.tour-photo-grid-3x3 > button:hover,
.tour-photo-grid-3x3 > button:focus,
.tour-photo-grid-3x3 > button:active{
  transform:none!important;
  box-shadow:none!important;
}
.tour-photo-grid-3x3 > button > img{
  transform:none!important;
  transition:none!important;
}

.gallery-viewer{
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.92);
  padding:64px 84px;
}
.gallery-viewer.open{display:flex}
body.gallery-viewer-open{overflow:hidden}

.gallery-viewer-image{
  display:block;
  max-width:92vw;
  max-height:84vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 18px 60px rgba(0,0,0,.55);
}

.gallery-viewer-close,
.gallery-viewer-prev,
.gallery-viewer-next{
  position:absolute;
  z-index:100001;
  border:0;
  background:rgba(255,255,255,.16);
  color:#fff;
  cursor:pointer;
  border-radius:50%;
}
.gallery-viewer-close{
  top:18px;
  right:22px;
  width:48px;
  height:48px;
  font-size:34px;
  line-height:44px;
}
.gallery-viewer-prev,
.gallery-viewer-next{
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  font-size:38px;
  line-height:48px;
}
.gallery-viewer-prev{left:18px}
.gallery-viewer-next{right:18px}
.gallery-viewer-count{
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-weight:700;
}

@media(max-width:640px){
  .gallery-viewer{padding:62px 12px 78px}
  .gallery-viewer-image{max-width:94vw;max-height:80vh}
  .gallery-viewer-prev,
  .gallery-viewer-next{
    top:auto;
    bottom:16px;
    transform:none;
    width:44px;
    height:44px;
    font-size:30px;
  }
  .gallery-viewer-prev{left:16px}
  .gallery-viewer-next{right:16px}
  .gallery-viewer-count{bottom:28px}
}


/* v58: full-width landscape tour cards on desktop */
@media (min-width: 901px) {
  .tour-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: stretch !important;
  }

  .tour-card {
    display: grid !important;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  /* Image/gallery occupies the complete left side of each landscape card */
  .tour-card > .tour-image,
  .tour-card > .tour-photo-preview {
    grid-column: 1 !important;
    grid-row: 1 / span 30 !important;
    width: 100% !important;
    align-self: start !important;
    margin: 0 !important;
  }

  /* Everything else flows down the right side */
  .tour-card > :not(.tour-image):not(.tour-photo-preview) {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  .tour-card h3 {
    margin-top: 0 !important;
  }

  .tour-card .enquire-link,
  .tour-card .tour-enquire,
  .tour-card a[href="#contact"] {
    align-self: end !important;
  }
}

/* Keep the established stacked card behaviour on tablet/mobile */
@media (max-width: 900px) {
  .tour-grid {
    grid-template-columns: 1fr !important;
  }

  .tour-card {
    display: flex !important;
    flex-direction: column !important;
  }
}


/* v59: slightly smaller landscape gallery/artwork area */
@media (min-width: 901px) {
  .tour-card {
    grid-template-columns: minmax(320px, 34%) minmax(0, 1fr) !important;
    column-gap: 32px !important;
  }
}


/* v60: fine-tune landscape gallery/artwork area slightly smaller */
@media (min-width: 901px) {
  .tour-card {
    grid-template-columns: minmax(300px, 30%) minmax(0, 1fr) !important;
  }
}


/* v62: small Paul's London round logo in bottom-right of every tour card */
.tour-card {
  position: relative !important;
}

.tour-corner-logo {
  position: absolute !important;
  right: 22px !important;
  bottom: 18px !important;
  width: 92px !important;
  height: 92px !important;
  object-fit: contain !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .tour-corner-logo {
    width: 68px !important;
    height: 68px !important;
    right: 16px !important;
    bottom: 14px !important;
  }
}


/* v63: visually inset the left gallery/artwork within the tour-card boundary */
@media (min-width: 901px) {
  .tour-card > .tour-image,
  .tour-card > .tour-photo-preview {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
  }
}


/* v64: uniform top alignment for all tour galleries/artwork.
   Overrides the v63 vertical inset; card height may vary with text,
   but every left-hand square starts in exactly the same position. */
@media (min-width: 901px) {
  .tour-card > .tour-image,
  .tour-card > .tour-photo-preview {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }

  /* Keep the branding stamp independently anchored to the card. */
  .tour-corner-logo {
    right: 22px !important;
    bottom: 18px !important;
  }
}


/* v65: centre the left-hand square vertically inside each desktop tour card.
   This makes the gap above and below the 3x3 gallery/artwork equal, regardless
   of how much text is present on the right. */
@media (min-width: 901px) {
  .tour-card > .tour-image,
  .tour-card > .tour-photo-preview {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Keep all tour information on the right aligned consistently from the top. */
  .tour-card > :not(.tour-image):not(.tour-photo-preview):not(.tour-corner-logo) {
    align-self: start;
  }

  /* Keep the existing supplied round logo independently anchored bottom-right. */
  .tour-corner-logo {
    position: absolute !important;
    right: 22px !important;
    bottom: 18px !important;
  }
}

/* Four original photographs beside the About Me section */
.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.about-photo-grid img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* v74: About Me four-photo gallery; full image proportions, no cropping */
.about-photo.about-photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.about-photo-gallery button {
  display: block;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 12px;
}
.about-photo-gallery button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.about-photo-gallery .about-photo-main {
  width: 100%;
}
.about-photo-gallery .about-photo-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.about-photo-gallery .about-photo-thumbnails button {
  width: 100%;
}
.about-photo.about-photo-gallery button img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  border-radius: 10px;
}

/* Tour prices shown on individual tour cards */
.tour-price-options { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.tour-price-options span { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid rgba(255,181,71,.28); border-radius:9px; background:rgba(255,181,71,.08); font-size:13px; line-height:1.35; }
.tour-price-options strong { color:#ffb547; font-size:16px; white-space:nowrap; }
@media(max-width:480px){ .tour-price-options { gap:6px; } .tour-price-options span { padding:7px 9px; font-size:12px; } }

.day-trip-inclusions { font-size: 13px; line-height: 1.55; opacity: .88; margin: 0 0 16px; }

/* v78: dedicated, readable day-trip itinerary dialog */
.day-trip-ideas-trigger { cursor:pointer; border:1px solid rgba(255,181,71,.5); background:rgba(255,181,71,.12); color:#ffcf80; border-radius:9px; padding:10px 13px; font:inherit; font-weight:700; text-align:left; }
.day-trip-ideas-trigger:hover, .day-trip-ideas-trigger:focus-visible { background:rgba(255,181,71,.23); }
.day-trip-modal[hidden] { display:none !important; }
.day-trip-modal { position:fixed; inset:0; z-index:9999; display:grid; place-items:center; padding:18px; }
.day-trip-modal-backdrop { position:absolute; inset:0; background:rgba(6,13,22,.78); }
.day-trip-modal-panel { position:relative; width:min(900px,100%); max-height:min(88vh,900px); display:flex; flex-direction:column; overflow:hidden; border-radius:18px; background:#fff; color:#17212b; box-shadow:0 25px 90px rgba(0,0,0,.5); outline:none; }
.day-trip-modal-header { display:flex; justify-content:space-between; gap:18px; padding:26px 30px 20px; border-bottom:1px solid #e4e8ed; }
.day-trip-modal-header h2 { margin:3px 0 8px; color:#142638; font-size:clamp(24px,3vw,32px); line-height:1.15; }
.day-trip-modal-header p { margin:0; color:#516173; line-height:1.5; }
.day-trip-modal-header .day-trip-modal-eyebrow { font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:#b07a25; font-weight:800; }
.day-trip-modal-close { flex:0 0 38px; height:38px; border:0; border-radius:50%; background:#edf0f3; color:#1c2b38; font-size:28px; cursor:pointer; }
.day-trip-modal-content { padding:22px 30px; overflow-y:auto; overscroll-behavior:contain; }
.day-trip-example-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.day-trip-example { border:1px solid #e1e5e9; border-radius:12px; padding:17px; background:#fafbfc; }
.day-trip-example-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.day-trip-example h4 { margin:0; font-size:16px; line-height:1.35; color:#142638; }
.day-trip-example-price { flex:0 0 auto; display:flex; flex-direction:column; text-align:right; font-size:12px; color:#536476; white-space:nowrap; }
.day-trip-example-price strong { font-size:19px; color:#a66a13; }
.day-trip-example p { margin:10px 0 0; color:#536476; font-size:14px; line-height:1.55; }
.day-trip-custom { margin-top:20px; padding:17px 20px; background:#edf3f8; border-radius:12px; }
.day-trip-details { padding:18px 2px 0; }
.day-trip-custom h3,.day-trip-details h3 { margin:0 0 7px; color:#142638; font-size:17px; }
.day-trip-custom p,.day-trip-details p { margin:0 0 9px; color:#526274; font-size:14px; line-height:1.55; }
.day-trip-modal-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 30px; border-top:1px solid #e4e8ed; background:#fff; }
.day-trip-modal-footer span { color:#536476; font-size:14px; }
.day-trip-modal-footer strong { color:#142638; }
.day-trip-modal-enquire { display:inline-block; background:#b92c30; color:white !important; text-decoration:none; border-radius:9px; padding:12px 17px; font-weight:700; text-align:center; }
.day-trip-modal-active { overflow:hidden; }
@media(max-width:640px) {
 .day-trip-modal { padding:8px; }
 .day-trip-modal-panel { max-height:94vh; border-radius:13px; }
 .day-trip-modal-header { padding:18px; }
 .day-trip-modal-content { padding:16px; }
 .day-trip-example-grid { grid-template-columns:1fr; }
 .day-trip-modal-footer { padding:13px 16px; flex-direction:column; align-items:stretch; }
 .day-trip-modal-enquire { width:100%; }
}

/* v79: consistent tour information dialogs */
[data-open-tour-info] { cursor:pointer; }
.tour-info-modal-body .tour-info-modal-list {
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px;
}
.tour-info-modal-list li {
  border:1px solid #e1e5e9; border-radius:10px;
  background:#fafbfc; padding:13px 15px;
  color:#26384a; font-size:14px; line-height:1.45;
}
.tour-info-modal-list li::before {content:"✓"; color:#b07825; font-weight:800; margin-right:9px;}
.tour-info-modal-body p {color:#536476;line-height:1.65;margin:0 0 13px;}
.tour-info-modal-body strong {color:#172a3b;}
@media(max-width:640px) {
 .tour-info-modal-body .tour-info-modal-list {grid-template-columns:1fr;gap:8px;}
}

/* v80: ensure all restored tour details are visible */
.tour-info-modal-body, .tour-info-modal-body > * { visibility:visible; opacity:1; display:block; }
.tour-info-modal-body .tour-info-modal-list { display:grid; }

/* v81: all tour popup triggers match the Day Trip Ideas button. */
.tour-card button.unified-popup-trigger,
.tour-card .content-warning:not(.bespoke-info) button.unified-popup-trigger,
.tour-card .jack-advisories button.unified-popup-trigger {
  display:inline-flex !important; align-items:center !important; justify-content:flex-start !important;
  width:auto !important; height:auto !important; min-height:0 !important; min-width:0 !important;
  border:1px solid rgba(255,181,71,.5) !important; border-radius:9px !important;
  padding:10px 13px !important; margin:0 !important;
  background:rgba(255,181,71,.12) !important; color:#ffcf80 !important;
  font:inherit !important; font-weight:700 !important; font-size:inherit !important;
  line-height:normal !important; text-align:left !important; cursor:pointer !important;
  box-shadow:none !important;
}
.tour-card button.unified-popup-trigger:hover,
.tour-card button.unified-popup-trigger:focus-visible,
.tour-card .content-warning:not(.bespoke-info) button.unified-popup-trigger:hover,
.tour-card .content-warning:not(.bespoke-info) button.unified-popup-trigger:focus-visible {
  background:rgba(255,181,71,.23) !important;
}

/* v82: About Your Tour subheadings */
.tour-info-panel h4 {margin:22px 0 7px; font-size:1.08rem; line-height:1.35; color:inherit;}
.tour-info-panel h4 + p {margin-top:0;}


/* v83 — Paul's London red, white and blue visual concept */
:root { --bg:#f4f6f9; --panel:#ffffff; --panel-2:#eaf0f7; --text:#142b49; --muted:#4c5f76; --gold:#254f7c; --orange:#b82938; --red:#b82938; --line:rgba(20,43,73,.14); --shadow:0 18px 55px rgba(20,43,73,.12); }
body {background:#f4f6f9;color:#142b49;}
.site-header {background:rgba(20,43,73,.97);border-bottom:3px solid #b82938;}
.site-header .brand,.site-header nav a {color:#fff;}
.site-header nav a:hover,.site-header nav a:focus-visible {color:#e6a9b0;}
.hero-copy .eyebrow,.eyebrow,.tour-number {color:#254f7c;}
.alt {background:#eaf0f7;}
.tour-card {background:#fff;border:1px solid #d9e2ed;box-shadow:0 12px 32px rgba(20,43,73,.09);}
.tour-card h3 {color:#142b49;}
.tour-card p {color:#4c5f76;}
.tour-price-options strong {color:#254f7c;}
.button.primary,.contact-form button {background:#b82938;color:#fff;border-color:#a42030;}
.button.primary:hover,.contact-form button:hover {background:#951e2b;}
.button.secondary {background:#fff;border-color:#254f7c;color:#254f7c;}
.tour-card a[href="#contact"],.tour-card .enquire-link,.tour-card .tour-enquire {background:#b82938 !important;color:#fff !important;border-color:#b82938 !important;}
.day-trip-ideas-trigger,
.tour-card button.unified-popup-trigger,
.tour-card .content-warning:not(.bespoke-info) button.unified-popup-trigger,
.tour-card .jack-advisories button.unified-popup-trigger {background:#eaf0f7 !important;color:#142b49 !important;border:1px solid #254f7c !important;}
.day-trip-ideas-trigger:hover,.day-trip-ideas-trigger:focus-visible,
.tour-card button.unified-popup-trigger:hover,.tour-card button.unified-popup-trigger:focus-visible {background:#d7e5f4 !important;color:#142b49 !important;}
.day-trip-modal-header .day-trip-modal-eyebrow {color:#b82938;}
.day-trip-example-price strong {color:#254f7c;}
.day-trip-custom {background:#eaf0f7;}
.tour-info-modal-list li::before {color:#b82938;}
.day-trip-modal-enquire {background:#b82938;}
footer {background:#142b49;color:#fff;}
footer a,footer p,footer strong {color:#fff;}
.contact-section {background:#eaf0f7;}
.contact-form input,.contact-form textarea,.contact-form select {background:#fff;color:#142b49;border-color:#b9c8da;}
@media (prefers-reduced-motion: no-preference) { .tour-card,.button,.day-trip-ideas-trigger {transition:background-color .18s,border-color .18s,box-shadow .18s;} }

/* v84 — darker British red, white and blue, retaining the original dark aesthetic */
:root {
 --bg:#08121e; --panel:#111e2d; --panel-2:#182b40;
 --text:#f4f7fc; --muted:#b4c4d6; --gold:#79a9dd;
 --orange:#d44858; --red:#c43d4c;
 --line:rgba(175,204,235,.15); --shadow:0 18px 55px rgba(0,0,0,.38);
}
body {background:var(--bg);color:var(--text);}
.site-header {background:rgba(8,18,30,.96);border-bottom:2px solid #b73345;}
.site-header .brand,.site-header nav a {color:#f4f7fc;}
.site-header nav a:hover,.site-header nav a:focus-visible {color:#ffacb4;}
.hero-copy .eyebrow,.eyebrow,.tour-number {color:#94bce9;}
.alt {background:#0d1a2a;}
.tour-card {background:#111e2d;border:1px solid rgba(148,188,233,.18);box-shadow:0 12px 32px rgba(0,0,0,.24);}
.tour-card h3 {color:#f4f7fc;}
.tour-card p {color:#b4c4d6;}
.tour-price-options span {background:rgba(85,137,199,.11);border-color:rgba(130,177,231,.3);}
.tour-price-options strong {color:#9ac6f6;}
.button.primary,.contact-form button {background:#b73345;color:#fff;border-color:#d45465;}
.button.primary:hover,.contact-form button:hover {background:#d0485a;}
.button.secondary {background:#16283b;border-color:#759fce;color:#f4f7fc;}
.tour-card a[href="#contact"],.tour-card .enquire-link,.tour-card .tour-enquire {background:#b73345 !important;color:#fff !important;border-color:#d45465 !important;}
.day-trip-ideas-trigger,
.tour-card button.unified-popup-trigger,
.tour-card .content-warning:not(.bespoke-info) button.unified-popup-trigger,
.tour-card .jack-advisories button.unified-popup-trigger {
 background:rgba(62,111,170,.18) !important;
 color:#d4e8ff !important;
 border:1px solid rgba(133,181,237,.58) !important;
}
.day-trip-ideas-trigger:hover,.day-trip-ideas-trigger:focus-visible,
.tour-card button.unified-popup-trigger:hover,.tour-card button.unified-popup-trigger:focus-visible {
 background:rgba(77,136,201,.35) !important;color:#fff !important;
}
.day-trip-modal-header .day-trip-modal-eyebrow {color:#b73345;}
.day-trip-example-price strong {color:#254f7c;}
.day-trip-custom {background:#eaf0f7;}
.tour-info-modal-list li::before {color:#b73345;}
.day-trip-modal-enquire {background:#b73345;}
footer {background:#07111e;color:#f4f7fc;border-top:2px solid #b73345;}
footer a,footer p,footer strong {color:#f4f7fc;}
.contact-section {background:#0d1a2a;}
.contact-form input,.contact-form textarea,.contact-form select {
 background:#16283b;color:#f4f7fc;border-color:#466384;
}
.contact-form input::placeholder,.contact-form textarea::placeholder {color:#aabbd0;}
