/* ROAM homepage refinements
   Load after templatemo-style.css so the homepage follows the existing
   ROAM/Fares/Contact template: Open Sans, blue header, yellow accent,
   square-edged controls and restrained section styling. */

:root {
  --roam-blue: #0036d7;
  --roam-yellow: #fcdd44;
  --roam-ink: #202020;
  --roam-muted: #555;
  --roam-line: #d8d8d8;
  --roam-paper: #fff;
  --roam-page: #e5e5e5;
}

.roam-home {
  color: var(--roam-ink);
  background: var(--roam-page);
  line-height: 1.65;
  font-family: 'Open Sans', sans-serif;
}
.roam-home h1,
.roam-home h2,
.roam-home h3,
.roam-home p,
.roam-home a { font-family: 'Open Sans', sans-serif; }
.roam-home a:focus-visible,
.roam-home button:focus-visible,
.roam-home iframe:focus-visible {
  outline: 3px solid var(--roam-yellow);
  outline-offset: 3px;
}

/* Header: keep the same dimensions and colours as the existing template. */
.roam-home .tm-header {
  height: 80px;
  min-height: 80px;
  background: var(--roam-blue);
}
.roam-home .roam-header-row { display: flex; align-items: stretch; }
.roam-home .tm-site-name-container { padding-top: 20px; white-space: nowrap; }
.roam-home .tm-site-name { color: #fff; font-size: 27px; font-weight: 600; }
.roam-home .tm-site-name:hover,
.roam-home .tm-site-name:focus { color: var(--roam-yellow); }
.roam-home .roam-brand-suffix {
  color: #fff;
  margin-left: 7px;
  font-size: 14px;
  letter-spacing: .04em;
}
.roam-home .tm-nav { overflow: visible; }
.roam-home .tm-nav ul { margin: 0; padding: 0; }
.roam-home .tm-nav li a {
  color: #fff;
  padding: 45px 22px 15px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
}
.roam-home .tm-nav li a.active,
.roam-home .tm-nav li a:hover,
.roam-home .tm-nav li a:focus {
  background: var(--roam-blue);
  color: #aaa;
}

/* Hero: preserve the original slider and its yellow-accented treatment. */
.roam-home .roam-hero { margin-bottom: 0; }
.roam-home .tm-banner-title,
.roam-home .tm-banner-subtitle { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.roam-home .tm-banner-link {
  background: rgba(252, 221, 68, .39);
  border: 1px solid #d2b731;
  border-radius: 0;
  color: #fff;
  padding: 14px 32px;
  text-transform: uppercase;
  font-weight: 600;
}
.roam-home .tm-banner-link:hover,
.roam-home .tm-banner-link:focus {
  background: var(--roam-yellow);
  border-color: var(--roam-yellow);
  color: #000;
}

/* Intro panel */
.roam-home .roam-intro-section {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}
.roam-home .roam-intro {
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 42px;
  background: var(--roam-paper);
  border-top: 4px solid var(--roam-yellow);
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
}
.roam-home .roam-intro h2 {
  margin: 0 0 14px;
  color: var(--roam-ink);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 400;
}
.roam-home .roam-intro p { max-width: 780px; margin: 0 auto 12px; font-size: 15px; }
.roam-home .roam-eyebrow {
  color: #665400;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.roam-home .roam-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.roam-home .roam-button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .03em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.roam-home .roam-button-primary {
  background: var(--roam-yellow);
  color: #171717;
  border: 1px solid #d2b731;
}
.roam-home .roam-button-primary:hover,
.roam-home .roam-button-primary:focus { background: #f5cf24; color: #000; }
.roam-home .roam-button-secondary {
  background: #fff;
  color: var(--roam-blue);
  border: 1px solid var(--roam-blue);
}
.roam-home .roam-button-secondary:hover,
.roam-home .roam-button-secondary:focus { background: var(--roam-blue); color: #fff; }
.roam-home .roam-text-link { color: var(--roam-blue); font-weight: 700; text-decoration: underline; }
.roam-home .roam-text-link span { padding-left: 5px; text-decoration: none; }

/* Section headings and service cards */
.roam-home .roam-section { padding-top: 62px; padding-bottom: 18px; }
.roam-home .roam-section-heading {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 760px;
}
.roam-home .roam-section-heading .tm-section-title {
  color: var(--roam-ink);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 300;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.roam-home .roam-section-heading > p:not(.roam-eyebrow) { color: var(--roam-muted); margin: 0 auto 12px; }
.roam-home .roam-card-grid { display: flex; flex-wrap: wrap; }
.roam-home .roam-card-grid > div { display: flex; margin-bottom: 24px; }
.roam-home .roam-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  border-bottom: 3px solid var(--roam-yellow);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.roam-home .roam-card > img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}
.roam-home .roam-card-body { padding: 20px 20px 0; display: flex; flex-direction: column; flex: 1; }
.roam-home .roam-card h3 {
  color: var(--roam-ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.roam-home .roam-card p { font-size: 13px; line-height: 1.7; margin: 0 0 18px; color: var(--roam-muted); }
.roam-home .roam-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto -20px 0;
  padding: 13px 20px;
  border-top: 1px solid var(--roam-line);
  color: #171717;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.roam-home .roam-card-link:hover,
.roam-home .roam-card-link:focus { background: var(--roam-yellow); color: #000; }

/* Facebook feed, information cards and tracker */
.roam-home .roam-social-section { margin-top: 38px; padding: 54px 0 58px; background: #fff; }
.roam-home .roam-facebook-feed { display: block; width: 100%; min-height: 400px; border: 1px solid var(--roam-line); background: #fff; }
.roam-home .roam-info-grid { display: flex; flex-wrap: wrap; }
.roam-home .roam-info-grid > div { display: flex; margin-bottom: 24px; }
.roam-home .roam-info-card {
  display: flex;
  width: 100%;
  background: #fff;
  border: 1px solid var(--roam-line);
  border-radius: 0;
  overflow: hidden;
  min-height: 160px;
}
.roam-home .roam-info-card > img { width: 34%; max-width: 180px; object-fit: cover; }
.roam-home .roam-info-card > div { padding: 18px; flex: 1; }
.roam-home .roam-info-card h3 { font-size: 14px; color: var(--roam-ink); font-weight: 700; text-transform: uppercase; margin: 0 0 8px; }
.roam-home .roam-info-card p { font-size: 13px; color: var(--roam-muted); margin: 0; line-height: 1.7; }
.roam-home .roam-info-card a { color: var(--roam-blue); text-decoration: underline; }
.roam-home .roam-tracker-section { padding: 48px 0 58px; background: #fff; margin-top: 26px; }
.roam-home .roam-tracker-section iframe { display: block; width: 100%; height: 600px; border: 1px solid var(--roam-line); border-radius: 0; background: #fff; }
.roam-home .roam-footer { background: #000; }
.roam-home .tm-copyright-text { padding: 20px 0; margin: 0; color: #fff; }

@media (max-width: 991px) {
  .roam-home .tm-nav li a { padding-left: 15px; padding-right: 15px; }
  .roam-home .roam-brand-suffix { font-size: 12px; margin-left: 4px; }
}
@media (max-width: 767px) {
  .roam-home .tm-header { height: 80px; min-height: 80px; }
  .roam-home .roam-header-row { display: block; }
  .roam-home .tm-site-name-container { padding: 20px 15px 12px; }
  .roam-home .mobile-menu-icon { color: var(--roam-yellow); top: 15px; right: 15px; border: 0; line-height: 1; cursor: pointer; }
  .roam-home .tm-nav { top: 69px; right: 15px; }
  .roam-home .tm-nav li a { padding: 16px 26px; }
  .roam-home .roam-intro-section { margin-top: 0; padding-left: 0; padding-right: 0; width: 100%; }
  .roam-home .roam-intro { padding: 28px 22px; border-left: 0; border-right: 0; }
  .roam-home .roam-intro h2 { font-size: 24px; }
  .roam-home .roam-section { padding-top: 44px; }
  .roam-home .roam-section-heading .tm-section-title { font-size: 28px; }
  .roam-home .roam-card-grid > div { width: 100%; }
  .roam-home .roam-card > img { height: 210px; }
  .roam-home .roam-info-card { display: block; }
  .roam-home .roam-info-card > img { width: 100%; max-width: none; height: 170px; display: block; }
  .roam-home .roam-tracker-section iframe { height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .roam-home *, .roam-home *::before, .roam-home *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
