/* PenleyBuilt Contracting — site styles
   Colours and fonts match the WordPress/Elementor site. Edit the variables below to
   change them everywhere. */

/* ---------- Fonts (self-hosted copies of the Google Fonts the old site used) ---------- */
@font-face { font-family: "Oxygen"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/oxygen-300.woff2") format("woff2"); }
@font-face { font-family: "Oxygen"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/oxygen-400.woff2") format("woff2"); }
@font-face { font-family: "Oxygen"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/oxygen-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/montserrat-var.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-style: italic; font-display: swap; src: url("../fonts/montserrat-italic-var.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/roboto-var.woff2") format("woff2"); }

:root {
  --blue: #003bc1;          /* Penley Blue */
  --blue-dark: #002c91;
  --green: #21c537;         /* accent: buttons, active menu item */
  --green-dark: #1a9e2c;
  --orange: #ec6122;        /* bright secondary (hover) */
  --yellow: #ffee17;        /* yellow highlighter */
  --lime: #daff17;
  --sky: #6ec1e4;
  --ice: #56eafd;
  --grey: #aeaeae;
  --light: #f2f5f7;
  --dark: #3a3a3a;
  --muted: #54595f;
  --text: #4b4f58;
  --black: #000;
  --white: #fff;

  --font-head: "Oxygen", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 24px);
  --band-pad: clamp(36px, 6vw, 60px);
  --gap: clamp(20px, 3vw, 30px);
  --header-h: 110px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.25; color: var(--blue); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid #dcdfe3; margin: 2em 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 8px; color: #fff; }
.anchor { scroll-margin-top: 20px; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(1400px + 2 * var(--gutter)); }
.wrap--post { max-width: calc(950px + 2 * var(--gutter)); }
.band { position: relative; padding-block: var(--band-pad); }
.band.mid, .band.tall { display: flex; align-items: center; }
.band.mid { min-height: 350px; }
.band.tall { min-height: 520px; }
.band > .wrap { position: relative; z-index: 1; }
.band > .wrap > :last-child, .col > :last-child, .panel > :last-child, .prose > :last-child { margin-bottom: 0; }
.band--photo { background-image: linear-gradient(var(--overlay, transparent), var(--overlay, transparent)), var(--bg); background-size: cover; background-position: center; color: var(--white); }
.band--photo:not(.has-overlay) { --overlay: rgba(0, 0, 0, .25); }
.band--video { overflow: hidden; color: var(--white); }
.band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--video::before { content: ""; position: absolute; inset: 0; background: var(--overlay, rgba(0, 59, 193, .55)); z-index: 0; }
.row { margin-block: 0 var(--gap); }
.row:last-child { margin-bottom: 0; }
.cols { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 768px) {
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-custom { grid-template-columns: var(--cols); }
  .band .cols-2, .band .cols-custom { align-items: center; }
}
@media (min-width: 1025px) {
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.col { min-width: 0; }
.panel { padding: clamp(20px, 4vw, 36px); }
.panel--dark { background: rgba(49, 48, 30, .59); color: var(--white); }
.panel--light { background: rgba(255, 255, 255, .66); }

/* ---------- Colours (background) ---------- */
.bg-blue { background-color: var(--blue); color: var(--white); }
.bg-green { background-color: var(--green); color: var(--white); }
.bg-black { background-color: var(--black); color: var(--white); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-muted { background-color: var(--muted); color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-grey { background-color: var(--grey); }
.bg-orange { background-color: var(--orange); color: var(--white); }
.bg-yellow { background-color: var(--yellow); }
.bg-sky { background-color: var(--sky); }

/* ---------- Colours (text). Body text on dark bands stays readable. ---------- */
.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.c-orange { color: var(--orange); }
.c-yellow { color: var(--yellow); }
.c-lime { color: var(--lime); }
.c-white { color: var(--white); }
.c-grey { color: var(--grey); }
.c-dark, .c-muted { color: var(--text); }
.c-black { color: var(--black); }
.c-sky, .c-ice { color: var(--sky); }
.c-default { color: var(--blue); }
.bg-blue .c-dark, .bg-blue .c-muted, .bg-blue .c-black, .bg-blue .c-default,
.bg-black .c-dark, .bg-black .c-muted, .bg-black .c-black, .bg-black .c-default,
.bg-green .c-dark, .bg-green .c-black, .bg-green .c-default,
.band--photo .c-dark, .band--photo .c-black, .band--photo .c-default, .band--photo .c-muted,
.band--video .c-dark, .band--video .c-black, .band--video .c-default,
.panel--dark .c-dark, .panel--dark .c-black { color: var(--white); }
.bg-blue .c-blue, .bg-blue a:not(.btn) { color: var(--white); }
.bg-blue .prose a, .bg-black .prose a, .band--photo .prose a { color: var(--yellow); }
.prose + .heading, .faq + .heading, .media + .heading, .btn-row + .heading { margin-top: 1.4em; }
.heading a { color: inherit; text-decoration: none; }
.heading a:hover { color: var(--orange); }

/* ---------- Type helpers ---------- */
.heading { font-family: var(--font-head); font-weight: 700; }
p.heading.lead { font-weight: 600; }
.upper { text-transform: uppercase; }
.fs-xxl { font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.05; }
.fs-xl { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.fs-lg { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.fs-md { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.fs-sm { font-size: .875rem; }
.ta-c { text-align: center; }
.ta-l { text-align: left; }
.ta-r { text-align: right; }
.ta-j { text-align: justify; }
.prose { font-family: var(--font-body); }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: inherit; margin-top: 1.4em; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.35rem; } .prose h4 { font-size: 1.2rem; } .prose h5, .prose h6 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.25em; border-left: 4px solid var(--green); background: var(--light); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid #dcdfe3; padding: .5em .75em; }
.prose img { margin-inline: auto; }
.prose .wp-figure { margin: 1.5em 0; }
.prose .wp-figure.center img { margin-inline: auto; }

/* ---------- Media ---------- */
.media { margin: 0 0 1.25em; }
.media img { margin-inline: auto; }
.media.ta-l img { margin-left: 0; }
.media.ta-r img { margin-right: 0; }
.media a { display: block; }
.media a:hover img { opacity: .9; }
.map { margin: 0 0 1.25em; }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 450px); border: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 15px 26px; border: 0; border-radius: 2px; background: var(--green); color: var(--white); font: 600 16px/1.2 var(--font-head); letter-spacing: .4px; text-decoration: none; text-align: center; cursor: pointer; box-shadow: 5px 5px 10px rgba(0, 0, 0, .3); transition: background-color .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--blue); color: var(--white); }
.btn--blue { background: var(--blue); }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--green); }
.btn--black, .btn--dark { background: var(--black); }
.btn--orange { background: var(--orange); }
.btn-text-yellow { color: var(--yellow); }
.btn-text-yellow:hover { color: var(--blue); background: #ffffffd9; }
.btn-text-blue { color: var(--blue); }
.btn-row { margin: 0 0 1.25em; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.ta-c { justify-content: center; }
.btn-row.ta-r { justify-content: flex-end; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue); color: var(--white); font: 400 13px/1.4 var(--font-head); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__info { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; color: var(--white); text-decoration: none; }
.topbar__info a:hover { color: var(--yellow); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; background: var(--blue); color: var(--white); transition: background-color .2s; }
.social a:hover, .social a:focus-visible { background: var(--green); color: var(--white); }
.social--top a { background: rgba(255, 255, 255, .14); width: 28px; height: 28px; }
.social .icon { width: 15px; height: 15px; }
.social--footer { justify-content: center; margin-top: 18px; }
.social--footer a { width: 38px; height: 38px; }
.social--footer .icon { width: 18px; height: 18px; }

/* ---------- Header & navigation ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
.topbar .wrap, .site-header .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); padding-block: 12px; }
.logo { flex: none; display: block; width: clamp(140px, 18vw, 210px); }
.logo img { width: 100%; }
.nav { flex: 1; }
.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__item > a, .nav__sub a { display: block; font: 600 15px/1.3 var(--font-head); color: var(--blue); text-decoration: none; text-transform: uppercase; }
.nav__item.is-active > a, .nav__item > a:hover, .nav__sub a:hover, .nav__sub a[aria-current] { color: var(--green); }
.sub-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--blue); cursor: pointer; }
.header-cta { flex: none; font: 500 22px/1.2 var(--font-ui); padding: 15px 22px; box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; background: var(--blue); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 3px; cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (min-width: 1181px) {
  .nav__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 6px; }
  .nav__item { position: relative; }
  .nav__item > a { padding: 12px 9px; }
  .nav__item.has-sub > a { padding-right: 4px; display: inline-block; }
  .has-sub .sub-toggle { display: inline-block; padding: 4px 6px 4px 0; vertical-align: middle; }
  .sub-toggle .icon { width: 14px; height: 14px; }
  .nav__sub { position: absolute; left: 0; top: 100%; min-width: 250px; background: var(--white); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); border-top: 3px solid var(--green); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
  .nav__sub a { padding: 10px 18px; text-transform: none; font-size: 15px; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1180px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: grid; place-items: center; order: 3; margin-left: 0; }
  .site-header__inner { flex-wrap: wrap; }
  .logo { margin-right: auto; }
  .header-cta { order: 2; font-size: 17px; padding: 12px 16px; }
  .nav { order: 4; flex-basis: 100%; display: none; border-top: 1px solid #e5e8ec; }
  .nav-open .nav { display: block; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: inline; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #e5e8ec; }
  .nav__item > a { flex: 1; padding: 14px 4px; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .sub-toggle .icon { width: 20px; height: 20px; transition: transform .2s; }
  .nav__item.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .nav__sub { display: none; flex-basis: 100%; padding: 0 0 10px 16px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { padding: 10px 4px; font-weight: 400; text-transform: none; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .topbar__inner { justify-content: center; flex-wrap: wrap; padding-block: 6px; }
}

/* ---------- Hero slideshow (home) ---------- */
.hero { min-height: clamp(460px, 62vw, 680px); display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero__slides { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__slides img.is-active { opacity: 1; }
.hero .wrap { max-width: calc(860px + 2 * var(--gutter)); }
.hero .cols { gap: 0; align-items: stretch; }
.hero .panel { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-weight: 800; text-shadow: 2px 2px 2px rgba(0, 0, 0, .2); margin-bottom: .4em; }
.hero .heading.lead { font-size: clamp(1.05rem, 2vw, 1.5rem); margin-bottom: .45em; }
.hero .icon-list { font: 600 clamp(1.1rem, 2vw, 1.4rem)/1.3 var(--font-head); text-transform: uppercase; gap: 18px; }
.hero .icon-list .icon { width: 1.4em; height: 1.4em; }
@media (max-width: 767px) {
  .hero .ta-r { text-align: center; }
  .hero .btn-row.ta-r { justify-content: center; }
  .hero .icon-list { align-items: center; }
}

/* ---------- Icon list ---------- */
.icon-list { list-style: none; margin: 0 0 1.25em; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-head); }
.icon-list li, .icon-list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.icon-list a:hover { color: var(--orange); }
.icon-list--center { align-items: center; }
.icon-list .icon { color: var(--green); }
.hero .icon-list .icon { color: var(--blue); }

/* ---------- Info box, image box ---------- */
.infobox { padding: clamp(28px, 5vw, 50px) clamp(20px, 4vw, 40px); margin: 0 0 1.25em; }
.infobox__icon { display: inline-grid; place-items: center; font-size: 40px; margin-bottom: 12px; }
.infobox__title { color: inherit; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.infobox p:last-child { margin-bottom: 0; }
.imagebox { text-align: center; margin: 0 0 1.25em; }
.imagebox img { margin: 0 auto 18px; }
.imagebox__title { font-size: 1.5rem; margin-bottom: .3em; }
.imagebox__text { color: var(--muted); }

/* ---------- Galleries & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 0 0 1.25em; }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 1; background: var(--light); }
.gallery__item img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(0, 0, 0, .5); color: #fff; border: 0; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.lightbox button .icon { width: 26px; height: 26px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ accordion ---------- */
.faq { margin: 0 0 1.25em; text-align: left; }
.faq details { border: 1px solid #d5d8dc; background: var(--white); color: var(--text); }
.faq details + details { border-top: 0; }
.faq summary { cursor: pointer; padding: 15px 20px 15px 46px; position: relative; font: 700 1rem/1.4 var(--font-head); color: var(--blue); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 18px; top: 12px; font-size: 1.3rem; line-height: 1.2; color: var(--green); }
.faq details[open] summary { color: var(--green); }
.faq details[open] summary::before { content: "\2212"; }
.faq .prose { padding: 0 20px 16px 46px; }

/* ---------- Forms ---------- */
.form { max-width: 900px; margin: 0 auto; text-align: left; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 14px 20px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field { grid-column: 1 / -1; } .field--half { grid-column: auto; } }
.field label, .field legend { display: block; font: 600 .9rem/1.4 var(--font-head); color: var(--dark); margin-bottom: 5px; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--dark); background: #fff; border: 1px solid #b9bec5; border-radius: 3px; padding: 11px 13px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0, 59, 193, .25); outline-offset: 0; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-family: var(--font-body); margin-bottom: 6px; }
.field .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.field.has-error input, .field.has-error textarea { border-color: #c4161c; }
.field__error { color: #c4161c; font-size: .875rem; margin: 4px 0 0; }
.req { color: #c4161c; }
.form__actions { margin: 18px 0 0; }
.form__actions .btn { min-width: 160px; }
.form__notice { padding: 14px 18px; border-radius: 3px; margin-bottom: 18px; font-weight: 600; }
.form__notice--ok { background: #e3f7e6; color: #11621d; border: 1px solid #9ad9a3; }
.form__notice--error { background: #fde8e8; color: #8a1014; border: 1px solid #f0a9ab; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bg-light .form, .panel.bg-light .form { background: transparent; }

/* ---------- Blog ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 30px; margin-top: 30px; }
.card { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .15); border-radius: 3px; overflow: hidden; }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--light); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.15rem; margin-bottom: .4em; }
.card__title a { color: var(--blue); text-decoration: none; }
.card__title a:hover { color: var(--green); }
.card__date { font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
.card__excerpt { font-size: .92rem; flex: 1; }
.card__more { font: 700 .85rem var(--font-head); text-transform: uppercase; color: var(--green); text-decoration: none; }
.post { padding-block: var(--band-pad); }
.post__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.post__title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--blue); }
.post__divider { border-top: 2px solid var(--green); width: 80px; margin: 18px 0 28px; }
.post__body h2, .post__body h3, .post__body h4 { color: var(--blue); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid #e3e6ea; }
.post-nav a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.post-nav span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; text-transform: uppercase; color: var(--muted); }
.post-nav strong { font-family: var(--font-head); color: var(--blue); }
.post-nav__next { text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { text-align: left; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--light); padding-top: clamp(40px, 7vw, 70px); scroll-margin-top: 20px; }
.site-footer .heading { margin-bottom: .4em; }
.site-footer__intro { font: 400 clamp(1rem, 1.6vw, 1.19rem)/1.6 var(--font-head); color: var(--dark); margin-bottom: 1.4em; }
.site-footer .icon-list { font-size: 1.05rem; }
.site-footer__bar { margin-top: clamp(36px, 6vw, 60px); background: var(--blue); color: var(--white); font-size: .85rem; padding-block: 14px; text-align: center; }
.site-footer__bar p { margin: 0; }
.site-footer__bar a { color: var(--white); }

/* ---------- Home tweaks ---------- */
.home .reviews-band { background: var(--light); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; margin-bottom: 10px; }
.badges .media { margin: 0; }
.badges img { max-height: 150px; max-width: min(100%, 300px); width: auto; }

@media print {
  .topbar, .site-header nav, .nav-toggle, .header-cta, .hero__slides, .site-footer .social, .lightbox { display: none !important; }
}

/* Two plain white bands in a row read as one section: don't double the spacing. */
.band.plain + .band.plain { padding-top: 0; }
