/*
Theme Name: BA1 Cars
Theme URI: https://ba1cars.co.uk
Author: WireFrame Studios
Description: One-page site for BA1 Cars, private hire and airport transfers in Bath and Bristol. The home page is the full animated landing page; other pages and posts use a simple branded layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: ba1-cars
*/

/* The landing page ships its own stylesheet from /_next. These styles are for every other page. */

:root {
  --ink: #1f2a44;
  --mute: #56637d;
  --paper: #ffffff;
  --paper-2: #eef3f8;
  --sand: #d5dfea;
  --brand: #e01c28;
  --brand-deep: #b9141e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.ba1-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ba1-page a {
  color: var(--brand);
}

.ba1-page a:hover {
  color: var(--brand-deep);
}

.ba1-page img {
  max-width: 100%;
  height: auto;
}

.ba1-wrap {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
}

.ba1-bar {
  border-bottom: 1px solid var(--sand);
  background: var(--paper);
}

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

.ba1-brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  text-decoration: none;
}

.ba1-brand img {
  display: block;
  height: 44px;
  width: auto;
}

.ba1-brand span {
  color: var(--brand);
}

.ba1-cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.ba1-cta:hover {
  background: var(--brand-deep);
}

.ba1-main {
  padding-block: 56px 80px;
}

.ba1-main h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.ba1-main h2,
.ba1-main h3 {
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
}

.ba1-entry + .ba1-entry {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--sand);
}

.ba1-entry h2 a {
  color: var(--ink);
  text-decoration: none;
}

.ba1-meta {
  color: var(--mute);
  font-size: 15px;
}

.ba1-foot {
  background: var(--paper-2);
  color: var(--mute);
  font-size: 15px;
  padding-block: 28px;
}
