/* Didcot Airport Taxis – v2 design (Oct 2026).
   Loaded after bootstrap.min.css and custom.css, so inner pages keep their old
   layout while the shared header, footer and the homepage use these rules.
   Everything new is namespaced .dx-*. Sizes in px because Bootstrap 3 sets html{font-size:10px}. */

:root {
  --dx-navy: #042e7c;
  --dx-navy-deep: #031f55;
  --dx-blue: #3d74ba;
  --dx-sky: #eef4fc;
  --dx-line: #d6e1f1;
  --dx-green: #25d366;
  --dx-green-dark: #1aa851;
  --dx-ink: #13223f;
  --dx-text: #33415c;
  --dx-muted: #5d6b86;
  --dx-white: #ffffff;
  --dx-radius: 14px;
  --dx-font: "Instrument Sans", "Segoe UI", Arial, sans-serif;
}

body { font-family: var(--dx-font); color: var(--dx-text); }
body a, body p, body h1, body h2, body h3, body h4, body span, body input, body select, body textarea { font-family: var(--dx-font); }

.dx-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.dx-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--dx-white); color: var(--dx-navy); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.dx-skip:focus { left: 12px; }

.dx a:focus-visible, .dx-header a:focus-visible, .dx-footer a:focus-visible, .dx-header button:focus-visible {
  outline: 3px solid var(--dx-green); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Header ---------- */
.dx-header { background: var(--dx-white); border-bottom: 1px solid var(--dx-line); position: sticky; top: 0; z-index: 50; }
.dx-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.dx-brand { display: flex; align-items: center; gap: 12px; color: var(--dx-navy); text-decoration: none; flex-shrink: 0; }
.dx-brand:hover, .dx-brand:focus { color: var(--dx-navy); text-decoration: none; }
.dx-brand img { width: 56px; height: auto; display: block; }
.dx-brand span { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.1; }

.dx-nav { margin-left: auto; order: 1; }
.dx-actions { order: 2; }
.dx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.dx-nav li { position: relative; }
.dx-nav a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--dx-ink); text-decoration: none; border-radius: 8px; line-height: 1.3; }
.dx-nav a:hover { background: var(--dx-sky); color: var(--dx-navy); text-decoration: none; }
.dx-nav a[aria-current="page"] { color: var(--dx-navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--dx-green); border-radius: 0; }
.dx-nav .dx-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--dx-white); border: 1px solid var(--dx-line); border-radius: 12px; box-shadow: 0 14px 32px rgba(4, 46, 124, 0.14); padding: 6px; flex-direction: column; align-items: stretch; gap: 0; }
.dx-nav li:hover > .dx-sub, .dx-nav li:focus-within > .dx-sub { display: flex; }
.dx-nav .dx-nav__login { display: none; }
@media (max-width: 1020px) { .dx-nav .dx-nav__login { display: block; border-top: 1px solid var(--dx-line); margin-top: 6px; padding-top: 6px; } }

.dx-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.dx-login { font-size: 14px; color: var(--dx-muted); text-decoration: none; }
.dx-login:hover { color: var(--dx-navy); text-decoration: underline; }
.dx-call { display: inline-flex; align-items: center; gap: 8px; background: var(--dx-green); color: var(--dx-navy-deep); font-weight: 700; font-size: 15px; padding: 11px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.dx-call:hover, .dx-call:focus { background: var(--dx-green-dark); color: var(--dx-white); text-decoration: none; }
.dx-call svg { width: 16px; height: 16px; }

.dx-header .dx-menu-btn { font-family: var(--dx-font); display: none; margin: 0 0 0 auto !important; border-radius: 10px !important; background: var(--dx-sky); border: 1px solid var(--dx-line); color: var(--dx-navy); font-weight: 600; font-size: 15px; padding: 9px 14px; cursor: pointer; }

@media (max-width: 1020px) {
  .dx-header__in { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .dx-header .dx-menu-btn { display: inline-flex; order: 3; margin: 0 !important; }
  .dx-actions { margin-left: auto; }
  .dx-nav { display: none; order: 4; width: 100%; margin: 0; }
  .dx-nav.is-open { display: block; }
  .dx-nav ul { flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .dx-nav .dx-sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .dx-login { display: none; }
}
@media (max-width: 520px) {
  .dx-brand span { display: none; }
  .dx-call { padding: 10px 13px; font-size: 14px; }
}

/* ---------- Homepage ---------- */
.dx { font-size: 16px; line-height: 1.6; color: var(--dx-text); }
.dx h1, .dx h2, .dx h3 { color: var(--dx-ink); font-weight: 700; letter-spacing: -0.4px; margin-top: 0; }
.dx h2 { font-size: 34px; line-height: 1.15; margin-bottom: 14px; }
.dx h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.dx p { margin: 0 0 14px; max-width: 64ch; }
.dx a { color: var(--dx-navy); }

.dx-hero { background: var(--dx-navy); color: var(--dx-white); padding: 64px 0 150px; position: relative; overflow: hidden; }
.dx-hero::after { /* the road: a single route line running out of the hero */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 96px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 34px, transparent 34px 58px);
}
.dx-hero h1 { color: var(--dx-white); font-size: 58px; line-height: 1.02; letter-spacing: -1.6px; margin-bottom: 18px; max-width: 13ch; }
.dx-hero__lede { font-size: 19px; line-height: 1.55; color: #dbe6f8; max-width: 52ch; margin-bottom: 22px; }
.dx-hero__call { font-size: 16px; color: #c6d6f2; margin: 0; }
.dx-hero__call a { color: var(--dx-white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--dx-green); text-underline-offset: 4px; }

.dx-booker { position: relative; margin-top: -122px; z-index: 2; }
.dx-booker__card { background: var(--dx-white); border-radius: 18px; box-shadow: 0 24px 60px rgba(3, 31, 85, 0.22); padding: 18px 18px 8px; border: 1px solid var(--dx-line); }
.dx-booker__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 4px 8px 6px; }
.dx-booker__title h2 { font-size: 21px; margin: 0; letter-spacing: -0.2px; }
.dx-booker__title p { margin: 0; font-size: 14px; color: var(--dx-muted); }
.dx-booker iframe { display: block; width: 100%; border: 0; min-height: 260px; }

.dx-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dx-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--dx-text); }
.dx-facts strong { display: block; color: var(--dx-ink); font-size: 16px; }
.dx-facts svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--dx-green-dark); margin-top: 2px; }

.dx-section { padding: 84px 0; }
.dx-section--sky { background: var(--dx-sky); }

/* Journeys from Didcot – the one loud element */
.dx-journeys__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.dx-journeys__head p { margin: 0; color: var(--dx-muted); font-size: 15px; }
.dx-journeys__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.dx-journeys h3 { font-size: 15px; font-weight: 600; color: var(--dx-muted); letter-spacing: 0; margin-bottom: 8px; }
.dx-routes { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--dx-ink); }
.dx-routes li { border-bottom: 1px solid var(--dx-line); }
.dx-routes a, .dx-routes .dx-route { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 4px; text-decoration: none; color: var(--dx-ink); }
.dx-routes .dx-route__name { font-size: 30px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.1; }
.dx-routes .dx-route__mi { font-size: 15px; color: var(--dx-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dx-routes .dx-route__mi b { font-size: 20px; color: var(--dx-navy); font-weight: 700; }
.dx-routes a:hover .dx-route__name { color: var(--dx-navy); text-decoration: underline; text-decoration-color: var(--dx-green); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.dx-journeys__note { margin-top: 18px; font-size: 14px; color: var(--dx-muted); }

/* Steps (a real sequence, so numbered) */
.dx-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: dxstep; }
.dx-steps li { counter-increment: dxstep; padding-top: 18px; border-top: 2px solid var(--dx-line); }
.dx-steps li::before { content: counter(dxstep); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dx-navy); color: var(--dx-white); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.dx-steps p { font-size: 15px; margin: 0; }

/* Station strip */
.dx-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.dx-split img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: var(--dx-radius); display: block; }
.dx-link { display: inline-block; font-weight: 600; color: var(--dx-navy); text-decoration: underline; text-decoration-color: var(--dx-green); text-underline-offset: 4px; }

/* Reviews */
.dx-reviews { list-style: none; margin: 30px 0 0; padding: 0; columns: 3 300px; column-gap: 22px; }
.dx-reviews li { break-inside: avoid; margin: 0 0 22px; background: var(--dx-white); border: 1px solid var(--dx-line); border-radius: var(--dx-radius); padding: 22px 22px 18px; }
.dx-reviews blockquote { margin: 0 0 12px; padding: 0; border: 0; font-size: 17px; line-height: 1.5; color: var(--dx-ink); }
.dx-reviews cite { font-style: normal; font-size: 14px; color: var(--dx-muted); font-weight: 600; }

/* Closing call band */
.dx-band { background: var(--dx-navy-deep); color: var(--dx-white); padding: 56px 0; }
.dx-band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.dx-band h2 { color: var(--dx-white); margin: 0 0 6px; font-size: 30px; }
.dx-band p { color: #c6d6f2; margin: 0; }
.dx-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.dx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; }
.dx .dx-btn--green { background: var(--dx-green); color: var(--dx-navy-deep); }
.dx .dx-btn--green:hover, .dx .dx-btn--green:focus { background: var(--dx-green-dark); color: var(--dx-white); text-decoration: none; }
.dx .dx-btn--ghost { color: var(--dx-white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }
.dx .dx-btn--ghost:hover, .dx .dx-btn--ghost:focus { box-shadow: inset 0 0 0 2px var(--dx-white); color: var(--dx-white); text-decoration: none; }

/* ---------- Footer ---------- */
footer.dx-footer { background: var(--dx-ink); color: #c9d3e6; padding: 56px 0 0; clear: both; font-size: 15px; line-height: 1.6; }
.dx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
footer.dx-footer h2 { color: var(--dx-white); font-size: 16px; font-weight: 700; margin: 0 0 12px; letter-spacing: 0; }
footer.dx-footer p, footer.dx-footer li, footer.dx-footer a { font-size: 15px; color: #c9d3e6; }
footer.dx-footer a { text-decoration: none; }
footer.dx-footer a:hover { color: var(--dx-white); text-decoration: underline; }
footer.dx-footer ul { list-style: none; margin: 0; padding: 0; }
footer.dx-footer li { margin-bottom: 6px; }
.dx-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dx-footer__brand img { width: 52px; background: var(--dx-white); border-radius: 10px; padding: 4px; }
.dx-footer__brand strong { color: var(--dx-white); font-size: 18px; }
.dx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.dx-footer .dx-footer__bottom p { margin: 0; font-size: 14px; color: #9fb0cf; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .dx-hero { padding: 44px 0 140px; }
  .dx-hero h1 { font-size: 44px; letter-spacing: -1px; }
  .dx-facts, .dx-steps { grid-template-columns: 1fr; }
  .dx-journeys__cols, .dx-split, .dx-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .dx-section { padding: 60px 0; }
  .dx h2 { font-size: 28px; }
}
@media (max-width: 520px) {
  .dx-wrap { padding: 0 16px; }
  .dx-hero h1 { font-size: 36px; }
  .dx-hero__lede { font-size: 17px; }
  .dx-booker__card { padding: 10px 6px 4px; border-radius: 14px; }
  .dx-routes .dx-route__name { font-size: 24px; }
}
/* ---------- Kept from the old header.php inline styles (used by inner pages) ---------- */
.boxes-setting-area { background: #f2fafd; padding: 30px; box-shadow: 2px 3px 18px -6px rgba(0,0,0,0.35); border-radius: 12px; }
.boxes-setting-area:hover { background: #f2f2f2; }
.review .inner { background: #f2fafd; }
.whats-linked-setting { margin-top: 15px; }
.whats-linked-setting a { width: fit-content; border: none; background: #042e7c; color: #fff; padding: 15px 37px; font-size: 17px; border-radius: 999px; }
.whats-linked-setting a i { font-size: 20px; background: transparent; color: #fff; width: auto !important; height: auto !important; line-height: 22px; vertical-align: middle; padding-right: 10px; }
.float { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
