/* Fayers skin: Plumbstore layout (same as the other UKPS sites) with Fayers brand colours from www.fayers.co.uk */
:root {
  --brand-primary: #0067aa;
  --brand-accent: goldenrod;
  --brand-accent-strong: #0055a5;
  --brand-accent-stronger: #0055a5;
  --brand-nav-bg: #0267b7;
  --brand-nav-text: #ffffff;
  --brand-topbar: #0055a5;
  --brand-ink: #0055a5;
  --brand-footer-strip: #0068af;
  --brand-footer-bar: #0055a5;

  --header-bg: #ffffff;
  --action-title: #0055a5;
  --action-sub: goldenrod;          /* header "Finder" / "Sign In / Register" (Alistair, t105u) */
  --action-icon: #0067aa;
  --nav-hover-text: goldenrod;
  --link: #0067aa;
  --link-hover: #0055a5;
  --footer-link-hover: goldenrod;
  --mobile-bar-bg: #0067aa;
  --tile-text: #0055a5;
  --highlight-color: goldenrod;

  --surface-muted: #eaebed;
  --font-body: "Noto Sans", Arial, Helvetica, sans-serif;
  --logo-width: 260px;
}

/* ---- Content imported from the WordPress theme (Bootstrap 3 grid + theme sections) */
.fayers-wp .row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.fayers-wp [class*="col-"] { box-sizing: border-box; padding: 0 15px; width: 100%; }
@media (min-width: 768px) {
  .fayers-wp .col-sm-6 { width: 50%; }
  .fayers-wp .col-sm-4 { width: 33.333%; }
  .fayers-wp .col-sm-3 { width: 25%; }
  .fayers-wp .col-sm-push-6 { order: 2; }
  .fayers-wp .col-sm-pull-6 { order: 1; }
}
@media (min-width: 992px) { .fayers-wp .col-md-3 { width: 25%; } .fayers-wp .col-md-4 { width: 33.333%; } .fayers-wp .col-md-6 { width: 50%; } }
.fayers-wp main { display: block; }
.fayers-wp .pageSection { margin: 0 0 24px; }
.fayers-wp .sectionWrap { padding: 24px 0 8px; border-bottom: 9px solid goldenrod; }
.fayers-wp .sectionWrap.secBlue { border-bottom-color: #0067aa; }
.fayers-wp .sectionText h1 { text-transform: uppercase; font-size: 1.6em; margin: 0 0 .6em; color: #0055a5; }
.fayers-wp .sectionText h2 { font-size: 1.3em; margin: .8em 0 .3em; color: #0055a5; }
.fayers-wp .featured img, .fayers-wp img { max-width: 100%; height: auto; }
.fayers-wp .clear { clear: both; }
.fayers-wp .buttonWrap a, .fayers-wp a.button { display: inline-block; padding: .4em 1.4em; border: 1px solid; text-transform: uppercase; color: #000; text-decoration: none; }
.fayers-wp .buttonWrap a:hover, .fayers-wp a.button:hover { background: #0055a5; color: #fff; }
.fayers-wp iframe { max-width: 100%; border: 0; }
/* callout tiles (inner pages) */
.fayers-wp .callouts { margin: 24px 0; }
.fayers-wp .callout { display: block; position: relative; margin: 0 0 30px; color: #000; text-decoration: none; background: #eaebed; }
.fayers-wp .calloutImage { background-size: cover; background-position: center; }
.fayers-wp .calloutImage img { display: block; width: 100%; height: auto; opacity: 0; }
.fayers-wp .calloutText { padding: 0 20px 15px; }
.fayers-wp .calloutTitle { padding: .625em 0 .425em; text-transform: uppercase; font-weight: 700; color: #0055a5; }
.fayers-wp .callout .button { display: inline-block; padding: .3em 1.2em; border: 1px solid; text-transform: uppercase; margin-top: .6em; }
.fayers-wp .callout:hover .button { background: #0055a5; color: #fff; }
/* brand logo grid (was a Smart Slider carousel) */
.fayers-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; align-items: center; margin: 16px 0 32px; }
.fayers-logo-grid__item { display: flex; align-items: center; justify-content: center; height: 90px; padding: 8px; background: #fff; border: 1px solid #eaebed; }
.fayers-logo-grid__item img { max-height: 70px; max-width: 100%; }

/* ---- Home: quick links under the slider, welcome text and callouts */
.fayers-quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; }
.fayers-quicklinks__item { display: block; text-align: center; background: #eaebed; color: #000; text-transform: uppercase; line-height: 58px; text-decoration: none; border-bottom: 9px solid goldenrod; border-right: 1px solid #fff; }
.fayers-quicklinks__item:nth-child(2n) { border-bottom-color: #0067aa; }
.fayers-quicklinks__item:hover { color: #0067aa; text-decoration: none; }
@media (max-width: 767px) { .fayers-quicklinks { grid-template-columns: repeat(2, 1fr); } }
.fayers-home__title { text-transform: uppercase; font-size: 1.5em; margin: 0 0 .6em; color: #0055a5; }
.fayers-home__welcome { margin: 0 0 24px; }
.fayers-callouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 0 0 32px; }
.fayers-callout { display: flex; flex-direction: column; background: #eaebed; color: #000; text-decoration: none; }
.fayers-callout:hover { text-decoration: none; }
.fayers-callout__image { display: block; aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.fayers-callout__text { display: flex; flex-direction: column; padding: 0 16px 16px; flex: 1; }
.fayers-callout__title { padding: .625em 0 .4em; text-transform: uppercase; font-weight: 700; color: #0055a5; }
.fayers-callout__body { font-size: .9em; flex: 1; }
.fayers-callout__button { align-self: flex-start; margin-top: .8em; padding: .3em 1.2em; border: 1px solid; text-transform: uppercase; font-size: .9em; }
.fayers-callout:hover .fayers-callout__button { background: #0055a5; color: #fff; }
.fayers-location-intro { max-width: 800px; }
.fayers-pdf { width: 100%; height: 90vh; border: 0; margin-top: 16px; }

/* the location card subtitle also reads --action-sub; keep it Fayers blue */
.location-card__type { color: #0067aa; }

/* Location Finder (locations6.js, as on MDS): the locator's buttons, icons and pills read the legacy
   --nav-link-color (white on Fayers, from the nav text) and --secondary-color (goldenrod accent). */
#ukps-map-wrapper { --nav-link-color: #0067aa; --secondary-color: goldenrod; }
#ukps-map-wrapper h1.ukps-locations-h1 { color: #0055a5; }
#ukps-map-wrapper #ukps-stores-list .ukps-store h3 { color: #0055a5; }

/* Apply for an Account banner (Fayers artwork, 2000x541): show it whole, no cover-cropping */
.ukps-banner--fayers-account { min-height: 0 !important; height: auto; object-fit: contain; background: #fff; }

/* t278u: the Fayers wordmark is brand blue on a transparent field, so the mobile
   logo row must be white or the name disappears into --mobile-bar-bg. The
   "Your location" strip below keeps --brand-topbar. Desktop is unchanged. */
@media (max-width: 767px) {
  .mobile-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
  }
}
