/* RAILSAVER — APPROVED OPTION C
   Edit this normal CSS file directly in Dreamweaver. The page body uses theme-c.
   Shared base and responsive rules are grouped below; no build step is required.
*/
/* RailSaver design previews. New, uniquely named assets; original logo unchanged. */
:root {
  --navy: #1b2a67;
  --navy-dark: #14214e;
  --red: #bf291c;
  --ink: #202b46;
  --muted: #5b6476;
  --line: #dce1e9;
  --pale: #f2f5fa;
  --white: #fff;
  --radius: 12px;
  --content: 1160px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: white
}

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

a {
  color: var(--navy);
  text-decoration: none
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

button,input {
  font: inherit
}

button,a {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #e38318;
  outline-offset: 4px
}

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

h1,h2,h3 {
  color: var(--navy);
  line-height: 1.14
}

h1,h2 {
  font-family: Georgia,'Times New Roman',serif
}

h1 {
  font-size: clamp(32px,4vw,54px);
  letter-spacing: -1.2px;
  margin-bottom: 20px
}

h2 {
  font-size: 32px;
  letter-spacing: -.5px;
  margin-bottom: 16px
}

h3 {
  font-size: 24px;
  letter-spacing: -.3px;
  margin-bottom: 14px
}

p {
  margin-bottom: 18px
}

button {
  border: 0
}

.wrap {
  width: min(var(--content),calc(100% - 64px));
  margin-inline: auto
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--red);
  margin-bottom: 13px;
  line-height: 1.5
}

.text-link {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700
}

.text-link .icon {
  width: 18px;
  height: 18px
}

.small-copy,.sample-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6
}

.sample-note {
  margin: 13px 0 0
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 30;
  background: white;
  padding: 12px 20px
}

.skip-link:focus {
  top: 8px
}

.style99 {
  display: none!important
}

/* Preserved legacy hidden-text class; page-specific copy only. */
.preview-ribbon {
  background: #f6f7fa;
  border-bottom: 1px solid #e7eaf0;
  color: #60697a;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  line-height: 26px
}

.preview-ribbon span {
  margin: 0 10px;
  color: #9aa1ad
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  gap: 30px
}

.brand {
  flex-shrink: 0
}

.brand img {
  width: 300px
}

.header-message {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.8;
  font-size: 13px;
  color: var(--muted)
}

.header-message strong {
  font-size: 15px;
  color: var(--navy)
}

.menu-toggle {
  display: none;
  background: var(--pale);
  color: var(--navy);
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px
}

.menu-toggle span {
  padding-right: 4px
}

.site-nav {
  background: var(--navy);
  color: white
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between
}

.site-nav a {
  padding: 15px 22px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  position: relative
}

.site-nav a:hover {
  background: #273979;
  text-decoration: none
}

.site-nav a[aria-current=page]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: #ef6c5d
}

.quick-strip {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10
}

.quick-book {
  display: flex;
  align-items: center;
  gap: 23px;
  min-height: 67px;
  padding: 10px 0;
  font-size: 12px
}

.quick-book:hover {
  text-decoration: none
}

.quick-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px
}

.quick-journey {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  border-left: 1px solid var(--line);
  padding-left: 24px;
  color: #46536e
}

.quick-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted)
}

.quick-date .icon {
  width: 17px;
  height: 17px
}

.quick-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--red);
  color: white;
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 700
}

.quick-cta .icon {
  width: 16px;
  height: 16px
}

.page-home.theme-a .quick-strip,.page-home.theme-b .quick-strip {
  display: none
}

.hero {
  padding-block: 48px
}

.hero-copy p:not(.eyebrow) {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7
}

.hero h1 em {
  font-style: normal;
  color: var(--red)
}

.booking-panel {
  display: block;
  background: white;
  border: 1px solid #c7cfdf;
  border-radius: var(--radius);
  padding: 27px;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(25,42,87,.05)
}

.booking-panel:hover {
  text-decoration: none;
  border-color: var(--navy);
  box-shadow: 0 8px 26px rgba(25,42,87,.11)
}

.booking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  gap: 12px
}

.booking-heading>span:first-child {
  display: flex;
  align-items: center;
  gap: 10px
}

.secure-label {
  font-size: 11px;
  color: #68738a;
  font-weight: 400
}

.journey-modes {
  display: flex;
  gap: 18px;
  margin-bottom: 17px;
  font-size: 12px;
  color: var(--muted)
}

.journey-modes>span {
  padding-bottom: 6px
}

.journey-modes .mode-active {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--red)
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.pseudo-field {
  display: flex;
  flex-direction: column;
  border: 1px solid #d6dce6;
  border-radius: 6px;
  padding: 10px 13px;
  min-width: 0
}

.field-label {
  font-size: 10px;
  letter-spacing: .5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  text-transform: uppercase
}

.field-value {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #515d71;
  min-height: 24px
}

.field-value .icon {
  height: 17px;
  width: 17px;
  color: var(--navy)
}

.booking-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 20px
}

.passengers {
  font-size: 12px;
  color: #546077
}

.passengers>span {
  margin: 0 6px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  min-height: 46px;
  padding: 12px 19px;
  line-height: 1.5;
  white-space: nowrap
}

.button:hover {
  text-decoration: none;
  filter: brightness(.95)
}

.button.red {
  background: var(--red);
  color: white
}

.button .icon {
  width: 18px;
  height: 18px
}

.booking-hint {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #657084;
  margin-top: 14px;
  line-height: 1.5
}

.hero-links {
  display: flex;
  gap: 40px;
  margin-top: 22px;
  justify-content: center;
  font-size: 13px;
  font-weight: 700
}

.hero-links a {
  display: flex;
  gap: 8px;
  align-items: center
}

.hero-links .icon {
  width: 18px;
  height: 18px
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 25px
}

.section-heading h2 {
  margin-bottom: 0
}

.section-heading>p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px
}

.planning-section {
  padding-block: 46px 64px
}

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

.station-panel,.route-panel {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative
}

.planning-grid .eyebrow {
  padding-top: 4px
}

.planning-grid h3 {
  max-width: 80%;
  font-family: Georgia,'Times New Roman',serif;
  font-size: 29px
}

.planning-grid article>p:not(.eyebrow):not(.sample-note) {
  font-size: 14px;
  color: var(--muted);
  max-width: 440px
}

.section-icon {
  position: absolute;
  top: 29px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--pale);
  color: var(--navy);
  border-radius: 50%
}

.section-icon .icon {
  width: 24px;
  height: 24px
}

.station-search label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px
}

.search-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #c9d0dc;
  border-radius: 6px;
  overflow: hidden;
  background: white
}

.search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 13px;
  background: white;
  outline-offset: -3px
}

.search-row button {
  background: var(--navy);
  color: white;
  padding: 0 15px
}

.search-row button .icon {
  width: 19px;
  height: 19px
}

.search-feedback {
  font-size: 12px;
  color: var(--red);
  margin: 0;
  line-height: 1.5
}

.search-feedback:not(:empty) {
  margin-top: 8px
}

.station-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 17px
}

.station-result>span:first-child {
  display: flex;
  flex-direction: column
}

.station-result strong {
  font-size: 17px;
  color: var(--navy)
}

.station-result small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px
}

.station-result:hover {
  text-decoration: none
}

.station-result:hover .text-link {
  text-decoration: underline
}

.route-panel {
  background: #f5f7fb
}

.route-panel .section-icon {
  background: white
}

.featured-route {
  display: block;
  border: 1px solid #d7ddea;
  background: white;
  border-radius: 8px;
  padding: 22px;
  margin-top: 25px
}

.featured-route:hover {
  border-color: var(--navy);
  text-decoration: none
}

.route-points {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 20px
}

.route-line {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 28px
}

.route-line i {
  display: block;
  flex: none;
  height: 8px;
  width: 8px;
  border: 2px solid var(--red);
  border-radius: 50%
}

.route-line b {
  height: 1px;
  background: #b9c4d7;
  width: 100%;
  position: relative
}

.route-link-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 17px;
  font-size: 12px;
  font-weight: 700
}

.route-link-label .icon {
  width: 18px;
  height: 18px
}

.route-footnote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted)
}

.route-footnote .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px
}

.route-footnote p {
  font-size: 12px;
  margin: 0;
  max-width: 310px
}

.ticket-section {
  background: var(--pale);
  padding: 56px 0
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 36px
}

.ticket-grid article {
  border-top: 2px solid #c8d1e2;
  padding-top: 22px
}

.number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red);
  display: block;
  margin-bottom: 16px
}

.ticket-grid h3 {
  font-size: 20px;
  margin-bottom: 12px
}

.ticket-grid p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px
}

.before-travel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 62px
}

.before-travel h2 {
  max-width: 350px
}

.before-travel p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 420px
}

.help-links {
  display: flex;
  flex-direction: column
}

.help-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700
}

.help-links a:last-child {
  border-bottom: 0
}

.help-links a>span {
  flex: 1
}

.help-links a>.icon:last-child {
  width: 18px;
  height: 18px
}

.site-footer {
  background: var(--navy-dark);
  color: #d6dcee;
  padding: 46px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px
}

.footer-intro>strong {
  font-family: Georgia,'Times New Roman',serif;
  font-size: 28px;
  color: white
}

.footer-intro p {
  font-size: 12px;
  max-width: 260px;
  margin-top: 12px;
  color: #bcc7e2
}

.site-footer h2 {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px;
  color: white;
  letter-spacing: 0;
  margin: 7px 0 14px
}

.site-footer a {
  display: block;
  font-size: 11px;
  margin: 8px 0;
  color: #cbd4ea
}

.footer-bottom {
  border-top: 1px solid #34416d;
  margin-top: 32px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #b9c4e2
}

/* A — deliberately familiar, with navy bordered sections. */
.theme-a {
  --content: 1100px;
  --radius: 15px
}

.theme-a .header-inner {
  min-height: 126px
}

.theme-a .brand img {
  width: 347px
}

.theme-a .site-nav {
  background: white
}

.theme-a .nav-inner {
  background: var(--navy)
}

.theme-a .site-nav a {
  padding-block: 12px;
  font-size: 12px
}

.theme-a .hero {
  padding-top: 34px;
  padding-bottom: 10px
}

.theme-a .hero-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 20px
}

.theme-a .hero-copy .eyebrow {
  width: 100%;
  margin-bottom: 10px
}

.theme-a h1 {
  font-size: 37px;
  margin-bottom: 12px;
  letter-spacing: -.6px
}

.theme-a .hero-copy p:not(.eyebrow) {
  font-size: 14px;
  max-width: 100%
}

.theme-a .booking-panel {
  border: 2px solid var(--navy);
  box-shadow: none;
  padding: 26px 30px
}

.theme-a .booking-heading {
  font-family: Georgia,'Times New Roman',serif;
  font-size: 29px;
  font-weight: 400
}

.theme-a .booking-fields {
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  gap: 15px
}

.theme-a .booking-bottom {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  margin-top: 20px
}

.theme-a .booking-hint {
  text-align: right
}

.theme-a .station-panel,.theme-a .route-panel {
  border: 2px solid var(--navy);
  background: white
}

.theme-a .planning-section {
  padding-top: 45px
}

.theme-a .section-heading h2 {
  font-size: 29px
}

.theme-a .planning-grid h3 {
  font-size: 27px
}

.theme-a .ticket-section {
  background: white;
  padding-top: 8px
}

.theme-a .ticket-grid {
  border: 2px solid var(--navy);
  border-radius: 15px;
  padding: 30px;
  gap: 32px
}

.theme-a .ticket-grid article {
  border: 0;
  padding-top: 0
}

.theme-a .before-travel {
  border-top: 1px solid var(--line)
}

.theme-a .information-card {
  border: 2px solid var(--navy)
}

/* B — spacious booking-led layout, within the existing brand. */
.balanced-hero {
  background: linear-gradient(110deg,#f4f6fa 0%,#f4f6fa 62%,#e9eef7 100%);
  padding: 53px 0
}

.hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center
}

.balanced-hero h1 {
  font-size: 57px;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -1.6px
}

.balanced-hero .hero-copy p:not(.eyebrow) {
  font-size: 15px;
  max-width: 335px;
  margin-bottom: 26px
}

.balanced-hero .booking-panel {
  border-top: 4px solid var(--navy);
  padding: 25px 27px
}

.hero-copy-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  font-weight: 700
}

.hero-copy-links a {
  display: flex;
  gap: 9px;
  align-items: center
}

.hero-copy-links .icon {
  width: 17px;
  height: 17px
}

.useful-strip {
  border-bottom: 1px solid var(--line)
}

.useful-strip>.wrap {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding-block: 24px
}

.useful-strip a {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid var(--line);
  padding-left: 28px
}

.useful-strip a:first-child {
  padding-left: 0
}

.useful-strip a:last-child {
  border: 0
}

.useful-strip a>.icon {
  width: 25px;
  height: 25px
}

.useful-strip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px
}

.useful-strip small {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

/* C — compact, tools first, with the persistent top booking strip. */
.theme-c {
  --content: 1160px;
  --radius: 8px
}

.theme-c h1,.theme-c h2 {
  font-family: Arial,Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: -.8px
}

.theme-c .header-inner {
  min-height: 100px
}

.theme-c .brand img {
  width: 270px
}

/* MAIN MENU COLOUR: matches the station "Your next journey" tile (#f2f5fa). */
.theme-c .site-nav {
  background: var(--pale);
  color: var(--navy);
}

.theme-c .site-nav a {
  padding-block: 12px;
  color: var(--navy);
}

.theme-c .site-nav a:hover,
.theme-c .site-nav a:focus-visible {
  background: #e4eaf4;
  text-decoration: none;
}

.theme-c .site-nav a[aria-current=page]::after,
.theme-c.page-station .site-nav a[aria-current=location]::after {
  background: var(--red);
}

.theme-c .compact-hero {
  padding-top: 34px;
  padding-bottom: 0
}

.compact-hero .hero-copy {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 23px
}

.compact-hero .hero-copy .eyebrow {
  margin-bottom: 8px
}

.compact-hero h1 {
  font-size: 36px;
  margin: 0
}

.compact-hero .hero-copy p:not(.eyebrow) {
  font-size: 13px;
  max-width: 230px;
  line-height: 1.6;
  margin: 0
}

.theme-c .booking-panel {
  background: var(--pale);
  border: 1px solid #d8dfeb;
  box-shadow: none;
  padding: 20px 23px
}

.theme-c .booking-heading {
  font-size: 16px;
  margin-bottom: 10px
}

.theme-c .journey-modes {
  margin-bottom: 10px
}

.theme-c .booking-fields {
  grid-template-columns: 1.15fr 1.15fr 1fr 1fr;
  gap: 10px
}

.theme-c .pseudo-field {
  background: white
}

.theme-c .booking-bottom {
  margin-top: 13px
}

.theme-c .booking-hint {
  text-align: right;
  margin-top: 8px;
  font-size: 10px
}

.theme-c .compact-shortcuts {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 45px;
  padding: 21px 0
}

.compact-shortcuts>a {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px
}

.compact-shortcuts>a>.icon {
  width: 17px;
  height: 17px
}

.theme-c .planning-section {
  padding-top: 35px;
  padding-bottom: 40px
}

.theme-c .planning-grid h3 {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 25px
}

.theme-c .section-heading h2 {
  font-size: 27px
}

.theme-c .station-panel,.theme-c .route-panel {
  padding: 27px
}

.theme-c .planning-grid {
  gap: 20px
}

.theme-c .section-icon {
  top: 25px;
  right: 24px
}

.theme-c .ticket-section {
  padding-block: 40px
}

.theme-c .before-travel {
  padding-block: 45px
}

/* Station and route examples. */
.breadcrumbs {
  font-size: 11px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  padding: 25px 0 20px
}

.breadcrumbs a {
  font-weight: 700
}

.inner-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 12px 0 30px
}

.inner-hero h1 {
  font-size: 46px;
  margin-bottom: 14px;
  max-width: 740px
}

.inner-hero p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0
}

.station-code {
  background: var(--pale);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 8px;
  text-align: center;
  padding: 19px 27px;
  color: var(--navy);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px
}

.station-code span {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--muted)
}

.jump-links {
  display: flex;
  gap: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 30px
}

.inner-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 30px;
  padding-bottom: 60px
}

.main-column {
  min-width: 0
}

.information-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 23px;
  scroll-margin-top: 90px
}

.information-card h2 {
  font-size: 27px;
  margin-bottom: 18px
}

.information-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8
}

.information-card p:last-child {
  margin-bottom: 0
}

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.facts dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px
}

.facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--navy)
}

.facts dd a {
  text-decoration: underline
}

.card-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
  color: var(--navy)
}

.card-title h2 {
  margin: 0
}

.facilities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 10px 0 24px;
  font-size: 13px
}

.facilities-list li {
  display: flex;
  align-items: center;
  gap: 9px
}

.facilities-list .icon {
  width: 16px;
  height: 16px;
  color: #43745e
}

.inline-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700
}

.side-booking {
  padding: 28px;
  background: var(--navy);
  color: #e6eaf5;
  border-radius: var(--radius);
  margin-bottom: 25px
}

.side-booking .eyebrow {
  color: #f6c3bc
}

.side-booking h2 {
  font-size: 28px;
  color: white;
  line-height: 1.2
}

.side-booking p:not(.eyebrow) {
  font-size: 13px;
  color: #d5ddef
}

.side-booking .button {
  width: 100%
}

.side-section {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
  margin-bottom: 22px
}

.side-section h2 {
  font-size: 23px
}

.side-section p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
  margin-bottom: 0
}

.side-route {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px
}

.side-route .icon {
  height: 17px;
  width: 17px
}

.source-note {
  padding: 0 10px
}

.source-note h2 {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0
}

.source-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75
}

.source-note a {
  text-decoration: underline
}

.route-sign {
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
  background: var(--pale);
  min-width: 290px
}

.route-sign span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted)
}

.route-sign strong {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
  font-size: 21px;
  margin-top: 6px
}

.route-sign>.icon {
  color: var(--red)
}

.route-booking {
  margin-bottom: 30px
}

.route-booking .booking-panel {
  max-width: 100%;
  box-shadow: none
}

.route-booking .booking-fields {
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr
}

.route-booking .booking-heading {
  font-size: 21px
}

.route-booking .booking-hint {
  text-align: right
}

.journey-essentials {
  background: var(--pale)
}

.journey-essentials .facts {
  grid-template-columns: 1fr;
  gap: 17px;
  margin-bottom: 25px
}

.journey-essentials .button {
  width: 100%
}

.numbered-list {
  padding: 0;
  list-style: none;
  counter-reset: item;
  margin-bottom: 0
}

.numbered-list li {
  counter-increment: item;
  position: relative;
  padding-left: 43px;
  margin: 20px 0;
  font-size: 13px
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  height: 28px;
  width: 28px;
  display: grid;
  place-items: center;
  background: var(--pale);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700
}

.numbered-list strong,.numbered-list span {
  display: block
}

.numbered-list span {
  color: var(--muted);
  margin-top: 4px
}

.information-card details {
  border-top: 1px solid var(--line);
  padding: 17px 0
}

.information-card details:last-child {
  padding-bottom: 0
}

.information-card summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  list-style-position: outside;
  margin-left: 16px
}

.information-card details p {
  padding-top: 14px;
  padding-left: 16px;
  font-size: 13px
}

.theme-a .inner-hero h1 {
  font-size: 43px
}

@media(min-width:1500px) {
  .wrap {
    width: min(var(--content),calc(100% - 100px))
  }
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 44px)
  }
  .site-nav a {
    padding-inline: 15px
  }
  .hero-grid {
    gap: 35px;
    grid-template-columns: .8fr 1.2fr
  }
  .balanced-hero h1 {
    font-size: 47px
  }
  .booking-panel,.balanced-hero .booking-panel {
    padding: 22px
  }
  .booking-bottom {
    gap: 10px
  }
  .booking-bottom .button {
    padding: 11px 14px;
    font-size: 12px
  }
  .passengers {
    font-size: 11px
  }
  .quick-book {
    gap: 15px
  }
  .quick-date {
    display: none
  }
  .inner-columns {
    grid-template-columns: minmax(0,1fr) 275px;
    gap: 22px
  }
  .information-card {
    padding: 25px
  }
  .route-sign {
    min-width: 240px;
    gap: 18px;
    padding: 18px
  }
  .planning-grid h3 {
    font-size: 25px
  }
  .theme-a .booking-fields {
    gap: 10px
  }
  .theme-c .compact-shortcuts {
    gap: 28px
  }
}

@media(max-width:800px) {
  .header-message {
    display: none
  }
  .header-inner {
    min-height: 102px
  }
  .hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 22px
  }
  .balanced-hero h1 {
    font-size: 41px
  }
  .balanced-hero .booking-heading {
    font-size: 18px
  }
  .secure-label {
    display: none
  }
  .balanced-hero .booking-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px
  }
  .balanced-hero .booking-bottom .passengers {
    text-align: center
  }
  .planning-grid h3 {
    font-size: 25px
  }
  .planning-grid article {
    padding: 25px
  }
  .section-icon {
    width: 34px;
    height: 34px;
    right: 20px;
    top: 24px
  }
  .section-icon .icon {
    width: 20px;
    height: 20px
  }
  .section-heading h2 {
    font-size: 28px
  }
  .section-heading>p {
    display: none
  }
  .before-travel {
    gap: 35px
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    row-gap: 30px
  }
  .inner-columns {
    grid-template-columns: 1fr
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start
  }
  .side-column .source-note {
    grid-column: 1/-1
  }
  .side-booking,.side-section {
    margin-bottom: 0
  }
  .route-sign {
    display: none
  }
  .inner-hero h1 {
    font-size: 39px
  }
  .quick-label strong {
    font-size: 11px
  }
  .quick-journey {
    padding-left: 15px;
    font-size: 11px;
    gap: 12px
  }
  .theme-a .booking-fields,.theme-c .booking-fields,.route-booking .booking-fields {
    grid-template-columns: 1fr 1fr
  }
  .theme-c .compact-hero .hero-copy p:not(.eyebrow) {
    display: none
  }
  .theme-c .planning-grid h3 {
    font-size: 23px
  }
  .theme-c .compact-shortcuts {
    justify-content: space-between;
    gap: 14px
  }
  .useful-strip strong {
    font-size: 12px
  }
  .useful-strip small {
    font-size: 10px
  }
  .useful-strip a {
    gap: 10px;
    padding-left: 15px
  }
}

@media(max-width:620px) {
  body {
    font-size: 15px
  }
  .wrap {
    width: calc(100% - 32px)
  }
  .preview-ribbon {
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 23px
  }
  .header-inner,.theme-a .header-inner,.theme-c .header-inner {
    min-height: 87px;
    gap: 10px
  }
  .brand img,.theme-a .brand img,.theme-c .brand img {
    width: 232px
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    padding: 9px
  }
  .menu-toggle span {
    font-size: 15px;
    padding: 0
  }
  .site-nav {
    display: none
  }
  .site-nav.is-open {
    display: block
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 8px 16px
  }
  .site-nav a,.theme-a .site-nav a {
    padding: 12px 10px;
    font-size: 12px
  }
  .theme-a .site-nav {
    background: var(--navy)
  }
  .site-nav a[aria-current=page]::after {
    left: 10px;
    right: 30px;
    bottom: 5px
  }
  .page-home.theme-a .quick-strip,.page-home.theme-b .quick-strip {
    display: block
  }
  .quick-book {
    min-height: 59px;
    gap: 8px;
    padding: 8px 0;
    justify-content: space-between
  }
  .quick-label {
    gap: 7px
  }
  .quick-label>.icon {
    width: 18px;
    height: 18px
  }
  .quick-label strong {
    font-size: 12px
  }
  .quick-journey {
    display: none
  }
  .quick-cta {
    padding: 10px 12px;
    font-size: 11px;
    min-height: 39px;
    gap: 6px
  }
  .quick-cta .icon {
    width: 15px;
    height: 15px
  }
  .hero {
    padding-block: 28px
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .balanced-hero {
    padding-block: 29px 30px
  }
  .balanced-hero h1 {
    font-size: 41px;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 15px
  }
  .balanced-hero h1 br {
    display: none
  }
  .balanced-hero h1 em {
    display: block
  }
  .balanced-hero .hero-copy p:not(.eyebrow) {
    font-size: 14px;
    margin-bottom: 0;
    max-width: 340px
  }
  .hero-copy-links {
    display: none
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.45px;
    margin-bottom: 11px
  }
  .booking-panel,.balanced-hero .booking-panel,.theme-a .booking-panel,.theme-c .booking-panel {
    padding: 19px 17px;
    border-radius: 10px
  }
  .booking-heading,.balanced-hero .booking-heading,.theme-a .booking-heading {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 16px
  }
  .booking-heading .icon {
    width: 20px;
    height: 20px
  }
  .booking-fields,.theme-a .booking-fields,.theme-c .booking-fields,.route-booking .booking-fields {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }
  .pseudo-field {
    padding: 9px 10px
  }
  .field-value {
    font-size: 12px;
    gap: 5px;
    line-height: 1.5
  }
  .field-label {
    font-size: 9px
  }
  .booking-bottom,.balanced-hero .booking-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 18px
  }
  .passengers,.balanced-hero .passengers {
    text-align: left!important;
    font-size: 12px
  }
  .booking-bottom .button {
    font-size: 13px;
    min-height: 46px;
    width: 100%
  }
  .booking-hint,.theme-a .booking-hint,.theme-c .booking-hint,.route-booking .booking-hint {
    text-align: center;
    font-size: 9px;
    margin-top: 12px
  }
  .journey-modes {
    font-size: 11px;
    gap: 22px
  }
  .useful-strip {
    display: none
  }
  .planning-section,.theme-a .planning-section,.theme-c .planning-section {
    padding-block: 34px
  }
  .section-heading {
    margin-bottom: 21px;
    gap: 15px;
    display: block
  }
  .section-heading h2,.theme-a .section-heading h2,.theme-c .section-heading h2 {
    font-size: 28px
  }
  .section-heading>.text-link {
    margin-top: 17px;
    font-size: 12px
  }
  .planning-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }
  .planning-grid article,.theme-c .planning-grid article {
    padding: 24px
  }
  .planning-grid h3,.theme-a .planning-grid h3,.theme-c .planning-grid h3 {
    font-size: 25px;
    max-width: 85%
  }
  .planning-grid article>p:not(.eyebrow):not(.sample-note) {
    font-size: 13px
  }
  .section-icon,.theme-c .section-icon {
    right: 22px;
    top: 23px
  }
  .station-result {
    gap: 8px
  }
  .station-result .text-link {
    font-size: 11px;
    gap: 5px
  }
  .station-result .text-link .icon {
    width: 15px;
    height: 15px
  }
  .station-result strong {
    font-size: 16px
  }
  .featured-route {
    padding: 19px
  }
  .route-points {
    font-size: 19px
  }
  .ticket-section,.theme-c .ticket-section {
    padding: 35px 0
  }
  .ticket-grid {
    grid-template-columns: 1fr;
    gap: 27px
  }
  .ticket-grid article {
    padding-top: 20px
  }
  .ticket-grid p {
    font-size: 13px;
    margin-bottom: 14px
  }
  .ticket-grid h3 {
    font-size: 20px
  }
  .number {
    margin-bottom: 10px
  }
  .theme-a .ticket-grid {
    padding: 23px;
    gap: 23px
  }
  .theme-a .ticket-grid article+article {
    border-top: 1px solid var(--line);
    padding-top: 22px
  }
  .before-travel,.theme-c .before-travel {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-block: 35px
  }
  .before-travel h2 {
    font-size: 29px;
    max-width: 310px
  }
  .before-travel p:not(.eyebrow) {
    font-size: 13px
  }
  .help-links a {
    font-size: 13px
  }
  .site-footer {
    padding-top: 30px
  }
  .footer-grid {
    gap: 25px 20px;
    grid-template-columns: 1fr 1fr
  }
  .footer-intro {
    grid-column: 1/-1
  }
  .footer-intro p {
    max-width: 100%;
    margin-bottom: 0
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 25px;
    font-size: 9px;
    padding-block: 17px
  }
  .theme-a .hero {
    padding-top: 27px;
    padding-bottom: 0
  }
  .theme-a h1 {
    font-size: 32px;
    letter-spacing: -.6px;
    line-height: 1.13;
    margin-bottom: 14px
  }
  .theme-a .hero-copy p:not(.eyebrow) {
    font-size: 13px
  }
  .hero-links {
    font-size: 10px;
    gap: 9px;
    margin-top: 18px;
    justify-content: space-between
  }
  .hero-links a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    line-height: 1.5;
    max-width: 100px
  }
  .theme-c .compact-hero {
    padding-top: 26px
  }
  .compact-hero .hero-copy {
    margin-bottom: 20px
  }
  .compact-hero h1 {
    font-size: 32px;
    letter-spacing: -.8px
  }
  .theme-c .compact-shortcuts {
    padding: 18px 0;
    gap: 8px
  }
  .compact-shortcuts>a {
    font-size: 10px;
    gap: 5px;
    flex-direction: column;
    text-align: center
  }
  .compact-shortcuts>a>.icon:last-child {
    display: none
  }
  .theme-c .booking-heading {
    font-size: 18px
  }
  .breadcrumbs {
    padding: 20px 0 15px;
    font-size: 10px;
    gap: 7px
  }
  .inner-hero {
    padding: 8px 0 24px;
    gap: 18px;
    align-items: flex-start
  }
  .inner-hero h1,.theme-a .inner-hero h1 {
    font-size: 33px;
    line-height: 1.13;
    letter-spacing: -.8px
  }
  .inner-hero p:not(.eyebrow) {
    font-size: 13px
  }
  .station-code {
    font-size: 22px;
    padding: 13px 15px;
    margin-top: 22px
  }
  .station-code span {
    font-size: 7px;
    letter-spacing: .5px
  }
  .jump-links {
    gap: 12px 20px;
    font-size: 10px;
    padding: 15px 0;
    margin-bottom: 22px
  }
  .inner-columns {
    padding-bottom: 35px;
    gap: 23px
  }
  .information-card {
    padding: 23px;
    margin-bottom: 19px
  }
  .information-card h2,.card-title h2 {
    font-size: 25px;
    line-height: 1.2
  }
  .card-title>.icon {
    width: 20px;
    height: 20px
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 20px
  }
  .facts dd {
    font-size: 13px
  }
  .information-card p {
    font-size: 13px
  }
  .facilities-list {
    font-size: 12px;
    gap: 12px 8px
  }
  .facilities-list .icon {
    width: 14px;
    height: 14px
  }
  .inline-links {
    gap: 13px;
    font-size: 11px
  }
  .side-column {
    grid-template-columns: 1fr;
    gap: 20px
  }
  .side-booking,.side-section {
    padding: 25px
  }
  .source-note {
    padding: 0 5px
  }
  .route-booking {
    margin-bottom: 22px
  }
  .route-hero h1 br {
    display: none
  }
  .route-booking .booking-heading {
    font-size: 19px
  }
  .route-hero.inner-hero {
    padding-bottom: 25px
  }
  .information-card summary {
    font-size: 12px
  }
  .numbered-list li {
    font-size: 12px;
    padding-left: 39px
  }
}

@media(max-width:359px) {
  .brand img,.theme-a .brand img,.theme-c .brand img {
    width: 205px
  }
  .wrap {
    width: calc(100% - 26px)
  }
  .menu-toggle {
    padding: 8px;
    font-size: 10px
  }
  .quick-label strong {
    font-size: 11px
  }
  .quick-label>.icon {
    display: none
  }
  .balanced-hero h1 {
    font-size: 37px
  }
  .booking-panel,.balanced-hero .booking-panel,.theme-a .booking-panel,.theme-c .booking-panel {
    padding: 17px 14px
  }
  .planning-grid article,.theme-c .planning-grid article {
    padding: 22px
  }
  .planning-grid h3 {
    max-width: 78%
  }
  .section-icon {
    right: 17px
  }
  .station-result .text-link {
    font-size: 10px
  }
  .station-code {
    display: none
  }
  .facilities-list {
    grid-template-columns: 1fr
  }
}

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

/* WORKBOOK-FILLED CONTENT
   Keep these styles separate from the layout rules so station text is easy to edit.
*/
.workbook-list {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.workbook-list li {
  margin-bottom: 8px;
}

.workbook-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.address-list {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  color: var(--navy);
  font-size: 14px;
}

.address-list li {
  margin: 0;
}

.station-background p {
  overflow-wrap: anywhere;
}

.related-stations {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-stations li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.map-link-row {
  margin-top: 20px;
}

.information-card, .side-section, .side-booking {
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .workbook-list, .address-list {
    font-size: 13px;
  }
}

/* APPROVED NOVEMBER REVISION: local logos and an aligned ticket information panel. */
.footer-brand {
  display: block;
  width: 235px;
  max-width: 100%;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 100%;
  /* Render the supplied transparent trademark entirely white without redrawing it. */
  filter: brightness(0) invert(1);
}


/* PALE BLUE FOOTER — 7 November 2026.
   Shared by the approved Option C pages; no HTML regeneration is needed.
   The logo URL reuses the original transparent colour trademark.
   National Rail's white image background is visually blended by CSS;
   its source PNG remains unchanged. */
.theme-c .site-footer {
  background: var(--pale);
  color: var(--muted);
  padding-top: 28px;
  isolation: isolate;
}

.theme-c .site-footer h2,
.theme-c .site-footer .footer-intro > strong,
.theme-c .site-footer a {
  color: var(--navy);
}

.theme-c .site-footer .footer-intro p,
.theme-c .site-footer .footer-bottom,
.theme-c .site-footer .footer-search .site-search-label {
  color: var(--muted);
}

.theme-c .site-footer .footer-brand img {
  content: url("rsnew-directory-logo-colour.png");
  filter: none;
}

.theme-c .site-footer .footer-accreditation-block {
  align-self: center;
  justify-self: end;
  margin: 0;
  padding: 0;
}

.theme-c .site-footer .footer-accreditation {
  display: block;
  width: 145px;
  max-width: 100%;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
}

.theme-c .header-accreditation {
  align-self: center;
  background: transparent;
  mix-blend-mode: multiply;
}

.theme-c .site-footer .footer-bottom {
  border-top-color: var(--line);
  margin-top: 12px;
  padding-block: 12px;
  column-gap: 18px;
  row-gap: 10px;
}

@media (min-width: 801px) {
  .theme-c .site-footer .footer-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(14px, 1.8vw, 28px);
  }

  .theme-c .site-footer .footer-grid > div {
    flex: 1 1 0;
    min-width: 0;
  }

  .theme-c .site-footer .footer-grid > .footer-intro {
    flex: 1.6 1 0;
  }

  .theme-c .site-footer .footer-grid > .footer-accreditation-block {
    flex: 0 1 145px;
  }
}

@media (max-width: 800px) {
  .theme-c .site-footer {
    padding-top: 24px;
  }

  .theme-c .site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .theme-c .site-footer .footer-accreditation-block {
    grid-column: 2;
  }

  .theme-c .site-footer .footer-search {
    order: -1;
  }
}


/* FOOTER SEARCH BELOW THE ACCREDITATION LOGO — 8 November 2026.
   The shared script moves the existing Google widget without recreating it.
   Keep the accreditation column at its approved width. */
.theme-c .site-footer.footer-search-below-logo .footer-accreditation-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 145px;
  max-width: 100%;
}

.theme-c .site-footer.footer-search-below-logo .footer-search {
  display: block;
  width: 100%;
  max-width: 145px;
  min-width: 0;
  margin: 10px 0 0;
  order: 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .site-search-label {
  text-align: center;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsc-control-cse {
  width: 100%;
  min-width: 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search table.gsc-search-box,
.theme-c .site-footer.footer-search-below-logo .footer-search .gsc-input-box table {
  width: 100%;
  table-layout: fixed;
}

.theme-c .site-footer.footer-search-below-logo .footer-search table.gsc-search-box td.gsc-input {
  min-width: 0;
  padding-right: 4px;
}

.theme-c .site-footer.footer-search-below-logo .footer-search table.gsc-search-box td.gsc-search-button {
  width: 32px;
  padding: 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsc-search-button-v2 {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsc-input-box {
  width: 100%;
  min-width: 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsib_a {
  padding-inline: 5px;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsib_b {
  width: 16px;
  padding: 0 3px 0 0;
}

.theme-c .site-footer.footer-search-below-logo .footer-search input.gsc-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.theme-c .site-footer.footer-search-below-logo .footer-search .gsst_a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.theme-c .site-footer.footer-search-below-logo .footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .theme-c .site-footer.footer-search-below-logo .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* HEADER BOOKING SPACING — 8 November 2026.
   Double the clear space above the main menu. The inner header and the
   separate white space below the menu retain their existing dimensions. */
.theme-c .site-header {
  padding-bottom: 9.75px;
}

@media (max-width: 1100px) {
  .theme-c .site-header {
    padding-bottom: 10px;
  }
}

@media (max-width: 800px) {
  .theme-c .site-header {
    padding-bottom: 9px;
  }
}

/* HEADER BOOKING PANEL — 8 November 2026.
   Stronger border for the whole-panel journey link in all compact headers. */
.theme-c .site-header .slim-booking {
  border: 2px solid var(--navy);
  box-shadow: 0 2px 8px rgb(27 42 103 / 14%);
}

.theme-c .site-header .slim-booking:hover,
.theme-c .site-header .slim-booking:focus-visible {
  border-color: var(--navy-dark);
  box-shadow: 0 3px 10px rgb(27 42 103 / 18%);
}

.theme-c .site-header .slim-booking:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* DESKTOP HEADER: slim search above Train Operators, beside the accreditation logo. */
.brand-block {
  flex: 0 0 auto;
}

.brand-block .brand {
  display: block;
}

.brand-tagline {
  margin: 6px 0 0;
  color: var(--muted);
  width: 270px;
  font-size: 12.35px;
  line-height: 1.5;
  white-space: nowrap;
}

.header-search {
  flex: 1 1 0;
  width: 420px;
  max-width: 420px;
  min-width: 0;
}

.site-search-label {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.header-search .gcse-search {
  min-height: 34px;
}

.header-search .gsc-control-cse {
  padding: 0;
  border: 0;
  background: transparent;
}

.header-search .gsc-search-box {
  margin-bottom: 0;
}

.header-search .gsc-search-box-tools {
  width: 100%;
  margin: 0;
}

.header-search .gsc-input-box {
  height: 34px;
  padding: 0;
  border: 1px solid #bcc5d7;
  border-radius: 5px;
}

.header-search .gsc-input-box table {
  height: 32px;
}

.header-search table.gsc-search-box td.gsc-input {
  padding-right: 0;
}

.header-search .gsib_a {
  height: 32px;
  padding: 0 8px;
}

.header-search .gsib_b {
  height: 32px;
  padding: 0 6px 0 0;
}

.header-search input.gsc-input {
  display: block;
  height: 22px !important;
  line-height: 22px;
  font-size: 14px;
}

.header-search .gsc-search-button-v2 {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
}

.header-accreditation {
  display: block;
  flex: 0 0 auto;
  width: 160px;
  height: auto;
}

@media (min-width: 801px) {
  .theme-c .header-inner {
    min-height: 126px;
  }
}

/* The shared script aligns the search with the Train Operators link below.
   Without JavaScript, 61% keeps the same approximate desktop position. */
@media (min-width: 1064px) {
  .theme-c .header-inner {
    position: relative;
  }
  .header-search {
    position: absolute;
    left: var(--rs-search-centre, 61%);
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .header-search, .brand-tagline, .header-accreditation {
    display: none;
  }
}

.theme-c .ticket-section.wrap {
  padding: 38px 28px;
  border-radius: var(--radius);
}

.ticket-inner {
  width: 100%;
}

.booking-panel-compact {
  padding: 17px 20px !important;
}

.booking-panel-compact .booking-heading {
  font-size: 16px;
  margin-bottom: 12px;
}

.booking-panel-compact .journey-modes {
  display: none;
}

.booking-panel-compact .booking-fields {
  grid-template-columns: 1.15fr 1.15fr 1fr 1fr;
  gap: 10px;
}

.booking-panel-compact .booking-bottom {
  margin-top: 12px;
}

.booking-panel-compact .booking-hint {
  margin-top: 6px;
}

.station-booking {
  margin-top: 0;
  margin-bottom: 24px;
}

.theme-c .nav-inner {
  gap: 5px;
}

.theme-c .site-nav a {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .theme-c .ticket-section.wrap {
    padding: 28px 20px;
  }
  .theme-c .nav-inner {
    gap: 0;
  }
  .booking-panel-compact {
    padding: 14px !important;
  }
  .booking-panel-compact .booking-fields {
    grid-template-columns: 1fr 1fr;
  }
  .booking-panel-compact .pseudo-field:nth-child(n+3), .booking-panel-compact .booking-heading, .booking-panel-compact .passengers {
    display: none;
  }
  .booking-panel-compact .booking-bottom .button {
    width: 100%;
  }
}

/* TICKET OPTIONS AND OPERATOR GUIDES
   These normal CSS rules can be edited directly in Dreamweaver.
*/
.content-hero {
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 36px;
  align-items: center;
}

.content-hero h1 {
  font-size: clamp(30px, 3.3vw, 43px);
  max-width: 830px;
}

.content-hero .lead {
  color: var(--muted);
  max-width: 780px;
  font-size: 16px;
  margin-bottom: 12px;
}

.content-hero.single-column {
  display: block;
}

.content-hero .reviewed, .reviewed {
  font-size: 12px;
  color: var(--muted);
}

.operator-hero-logo {
  display: grid;
  place-items: center;
  padding: 25px;
  min-height: 145px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.operator-hero-logo img {
  max-height: 95px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.status-label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #254a34;
  background: #edf5ef;
}

.status-label.former {
  color: #685224;
  background: #f7f2e7;
}

.status-label.reform {
  color: var(--navy);
  background: #edf0fa;
}

.directory-tools {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 20px 0 25px;
}

.operator-search {
  flex: 1;
  max-width: 480px;
}

.operator-search label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.operator-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bcc5d7;
  border-radius: 6px;
  background: white;
}

.directory-tools .text-link {
  padding-bottom: 10px;
}

.directory-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  background: white;
}

.directory-card.former-card {
  background: #f5f7fb;
}

.directory-card .section-heading {
  align-items: center;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.operator-entry {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  color: var(--ink);
  transition: border-color .15s ease;
}

.operator-entry:hover {
  border-color: var(--navy);
  text-decoration: none;
}

.operator-entry[hidden] {
  display: none;
}

.operator-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  margin-bottom: 17px;
}

.operator-mark img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.operator-mark.text-mark {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--navy);
  background: #f5f7fb;
  border-radius: 5px;
  padding: 10px;
}

.operator-entry strong {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 7px;
}

.operator-entry small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.operator-entry .entry-link {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 15px;
}

.directory-feedback {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.reform-note {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 22px 26px;
  margin-bottom: 28px;
  border-left: 3px solid var(--red);
  background: var(--pale);
}

.reform-note img {
  width: 135px;
  height: auto;
}

.reform-note h2 {
  font-size: 22px;
  margin-bottom: 7px;
}

.reform-note p {
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--muted);
}

.guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  margin-bottom: 45px;
}

.guide-columns .main-column {
  min-width: 0;
}

.guide-columns .information-card {
  padding: 28px;
  margin-bottom: 22px;
}

.guide-columns h2, .ticket-guide h2 {
  font-size: 27px;
}

.guide-columns h3, .ticket-guide h3 {
  font-size: 19px;
}

.guide-columns p, .guide-columns li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.guide-columns p a, .guide-columns li a, .ticket-guide p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.route-group + .route-group {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

.station-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.station-link-list li a {
  display: inline-block;
  background: var(--pale);
  padding: 6px 9px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}

.operator-picture {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: white;
}

.operator-picture img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #f5f7fb;
}

.operator-picture figcaption {
  padding: 10px 14px;
  font-size: 11px;
  color: var(--muted);
}

.source-list {
  padding-left: 19px;
  margin: 0;
}

.source-list li {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.guide-side .side-section {
  padding: 22px;
  margin-bottom: 22px;
}

.guide-side h2 {
  font-size: 21px;
}

.guide-side p {
  font-size: 13px;
}

.side-guide-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-guide-links li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.side-guide-links a {
  font-weight: 700;
  font-size: 13px;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0 30px;
}

.ticket-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ticket-comparison th, .ticket-comparison td {
  padding: 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  min-width: 130px;
}

.ticket-comparison thead {
  background: var(--navy);
  color: white;
}

.ticket-comparison tbody tr:last-child td {
  border-bottom: 0;
}

.ticket-comparison tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.ticket-guide {
  padding-bottom: 40px;
}

.ticket-guide .information-card {
  padding: 28px;
  margin-bottom: 24px;
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.ticket-detail-grid ul {
  padding-left: 20px;
}

.ticket-guide p, .ticket-guide li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.ticket-guide .best-for {
  color: var(--navy);
  font-weight: 700;
}

.ticket-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.ticket-source-links {
  font-size: 11px;
  margin-top: 18px;
}

.ticket-source-links a {
  display: inline-block;
  margin-right: 14px;
}

.information-card details summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

.information-card details p {
  margin: 12px 0 0;
}

@media (max-width: 960px) {
  .operator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .guide-columns {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
  }
}

@media (max-width: 740px) {
  .content-hero {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 20px;
  }
  .operator-hero-logo {
    padding: 15px;
    min-height: 105px;
  }
  .operator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-columns {
    display: block;
  }
  .guide-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .content-hero {
    display: block;
    padding: 24px 0 18px;
  }
  .content-hero .lead {
    font-size: 14px;
  }
  .operator-hero-logo {
    max-width: 230px;
    min-height: 85px;
    margin-top: 20px;
  }
  .operator-hero-logo img {
    max-height: 55px;
  }
  .directory-card {
    padding: 20px 14px;
  }
  .directory-tools {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .operator-search {
    flex-basis: 100%;
    max-width: none;
  }
  .operator-entry {
    padding: 13px;
  }
  .operator-entry strong {
    font-size: 13px;
  }
  .operator-entry small {
    font-size: 11px;
  }
  .operator-mark.text-mark {
    font-size: 17px;
  }
  .operator-mark {
    min-height: 54px;
    margin-bottom: 12px;
  }
  .reform-note {
    display: block;
    padding: 20px;
  }
  .reform-note img {
    width: 120px;
    margin-bottom: 15px;
  }
  .guide-columns .information-card, .ticket-guide .information-card {
    padding: 22px 20px;
  }
  .ticket-detail-grid, .guide-side {
    display: block;
  }
  .guide-columns h2, .ticket-guide h2 {
    font-size: 24px;
  }
  .ticket-actions {
    flex-wrap: wrap;
  }
}
