/* Generated from html/assets/css by wordpress/build-css.sh. Edit the sources, then re-run. */

/* ---- main.css ---- */
/* ==========================================================================
   Astrol Petroleum — main stylesheet
   Hand-written replacement for Bricks + Automatic.css. No framework.
   ========================================================================== */

@font-face { font-family: "Plus"; font-weight: 400; font-display: swap; src: url(../fonts/PlusJakartaSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "Plus"; font-weight: 500; font-display: swap; src: url(../fonts/PlusJakartaSans-Medium.woff2) format("woff2"); }
@font-face { font-family: "Plus"; font-weight: 700; font-display: swap; src: url(../fonts/PlusJakartaSans-Bold.woff2) format("woff2"); }

:root {
  /* Brand colours */
  --primary: #1E4398;
  --primary-dark: #152f6a;
  --primary-hover: #234daf;
  --primary-light: #bfcef2;
  --primary-ultra-light: #eaeffb;
  --primary-ultra-dark: #08132b;
  --primary-ultra-dark-90: rgb(8 19 43 / .9);
  --secondary: #EB2627;
  --accent: #FFCC0B;
  --accent-light: #ffeeb3;
  --accent-40: rgb(255 204 11 / .4);
  --accent-20: rgb(255 204 11 / .2);
  --base: #0a2434;
  --neutral-dark: #404040;
  --neutral-light: #d9d9d9;
  --neutral-ultra-light: #f2f2f2;
  --white: #fff;
  --white-20: rgb(255 255 255 / .2);
  --white-90: rgb(255 255 255 / .9);
  --black-40: rgb(0 0 0 / .4);
  --text-dark: #000;
  --text-light: #fff;
  --text-light-muted: rgb(255 255 255 / .7);

  /* Fluid type (values carried over from the ACSS config) */
  --h1: clamp(1.944rem, calc(1.617vw + 1.58rem), 2.961rem);
  --h2: clamp(1.62rem, calc(0.956vw + 1.405rem), 2.221rem);
  --h3: clamp(1.35rem, calc(0.503vw + 1.237rem), 1.666rem);
  --h4: clamp(1.125rem, calc(0.199vw + 1.08rem), 1.25rem);
  --h5: clamp(0.8125rem, calc(0.199vw + 0.768rem), 0.938rem);
  --h6: 0.75rem;
  --text-xs: 0.75rem;
  --text-s: clamp(0.8125rem, calc(0.05vw + 0.801rem), 0.844rem);
  --text-m: clamp(1rem, calc(0.199vw + 0.955rem), 1.125rem);
  --text-l: clamp(1.2rem, calc(0.477vw + 1.093rem), 1.5rem);
  --text-xl: clamp(1.44rem, calc(0.889vw + 1.24rem), 1.999rem);

  /* Fluid spacing */
  --space-xs: 0.844rem;
  --space-s: clamp(1.125rem, calc(0.198vw + 1.081rem), 1.25rem);
  --space-m: clamp(1.5rem, calc(0.596vw + 1.366rem), 1.875rem);
  --space-l: clamp(2rem, calc(1.293vw + 1.709rem), 2.8125rem);
  --space-xl: clamp(2.665rem, calc(2.471vw + 2.109rem), 4.219rem);
  --space-xxl: clamp(3.5rem, calc(3.5vw + 2.7rem), 5.7rem);
  --section-space-s: clamp(2.25rem, calc(2.385vw + 1.714rem), 3.75rem);
  --section-space-m: clamp(3rem, calc(4.175vw + 2.061rem), 5.625rem);
  --section-space-l: clamp(4rem, calc(7.059vw + 2.411rem), 8.4375rem);
  --section-padding-x: clamp(1.25rem, 3.5vw, 3.75rem);

  --content-width: 85.375rem;
  --content-gap: var(--space-m);
  --container-gap: var(--space-xl);
  --grid-gap: var(--space-m);

  --radius: 5px;
  --radius-circle: 50vw;
  --heading-line-height: calc(4px + 2ex);
  --text-line-height: calc(6px + 2ex);
  --ease: all .5s ease-out;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--text-m);
  line-height: var(--text-line-height);
  color: var(--neutral-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: "Plus", sans-serif; font-weight: 700; line-height: var(--heading-line-height); color: var(--primary); }
h1 { font-size: var(--h1); } h2 { font-size: var(--h2); } h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); } h5 { font-size: var(--h5); } h6 { font-size: var(--h6); }
p { margin: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--accent); color: var(--primary-ultra-dark); padding: .75em 1.25em; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout primitives ---------- */
.section {
  padding: var(--section-space-m) var(--section-padding-x);
  display: flex; flex-direction: column; align-items: center;
}
.container {
  width: 100%; max-width: var(--content-width);
  display: flex; flex-direction: column; gap: var(--container-gap);
}
.stack { display: flex; flex-direction: column; gap: var(--content-gap); align-items: flex-start; }
.row { display: flex; flex-direction: row; }
.grid { display: grid; gap: var(--grid-gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-auto-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--primary-ultra-dark); }
.bg-light { background-color: var(--primary-ultra-light); }
.bg-white { background-color: var(--white); }
.text-light, .text-light :is(h1,h2,h3,h4,h5,h6,p) { color: var(--text-light); }

/* ---------- Typographic components ---------- */
.accent-title {
  display: inline-block;
  font-size: var(--h5); font-weight: 500; line-height: var(--heading-line-height);
  color: var(--text-light-muted);
  border: 1px solid var(--accent); border-radius: var(--radius-circle);
  padding: 5px var(--space-xs);
}
.accent-title--light { color: var(--primary); }
.body-title { font-size: var(--h2); color: var(--primary); }
.lead { font-size: var(--text-m); font-weight: 400; color: var(--neutral-dark); line-height: var(--text-line-height); }
.prose { max-width: 75ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img { border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--text-s); line-height: 1;
  padding: 12px 25px; border-radius: var(--radius-circle);
  border: 0; background: var(--primary); color: var(--primary-ultra-light);
  transition: var(--ease);
}
.btn:hover { background: var(--primary-hover); }
.btn--glass { background: var(--accent-20); color: var(--text-light); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn--glass:hover { background: var(--accent-20); color: var(--accent); }
.btn--accent { background: var(--accent); color: var(--primary-ultra-dark); }
.btn--accent:hover { background: #ffd333; }
.btn--outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }

/* Arrow text button ("Our Products →") */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-m); line-height: 1;
  color: var(--neutral-light); background: transparent; padding: .8em 0;
  transition: var(--ease);
}
.link-arrow svg { width: 1.2em; height: 1.2em; fill: var(--accent); flex-shrink: 0; }
.link-arrow:hover { color: var(--accent); gap: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-s);
  padding: var(--space-s) 20px;
}
.site-header__logo img { height: 42px; width: auto; }
.site-nav {
  background: var(--white-20); border-radius: var(--radius-circle);
  padding: var(--space-s) var(--space-m);
  font-size: var(--text-s);
}
.site-nav ul { list-style: none; display: flex; gap: var(--space-m); }
.site-nav a { color: var(--text-light); transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

.menu-toggle { display: none; position: relative; width: 24px; height: 18px; background: none; border: 0; padding: 0; color: var(--accent); z-index: 1001; }
.menu-toggle span { position: absolute; right: 0; width: 100%; height: 2px; background: currentColor; transition: .2s; }
.menu-toggle span:nth-child(1) { top: 0; } .menu-toggle span:nth-child(2) { top: 8px; } .menu-toggle span:nth-child(3) { top: 16px; }
.nav-open .menu-toggle span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 auto 0 0; width: 80vw; max-width: 360px; z-index: 1000;
  background: var(--primary); display: flex; flex-direction: column; justify-content: center;
  padding: 0 30px; transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s;
}
.mobile-nav ul { list-style: none; }
.mobile-nav a { display: block; line-height: 60px; color: var(--text-light); font-size: var(--text-m); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.nav-overlay { position: fixed; inset: 0; background: rgb(0 0 0 / .25); z-index: 999; opacity: 0; visibility: hidden; transition: .2s; }
.nav-open .mobile-nav { transform: none; visibility: visible; }
/* Keep the toggle clickable above the overlay while the menu is open */
.nav-open .site-header { z-index: 1001; }
.nav-open .site-header > :not(.menu-toggle) { visibility: hidden; }
.site-header .btn { white-space: nowrap; }
.nav-open .nav-overlay { opacity: 1; visibility: visible; }

@media (max-width: 991px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; order: 3; }
  .site-header .btn--glass { margin-left: auto; }
}

/* ---------- Page hero (inner pages) ---------- */
/* Every inner page on the live site uses a 600px hero with the title at the bottom. */
.page-hero {
  position: relative; height: 600px;
  display: flex; align-items: flex-end;
  padding: var(--section-space-m) var(--section-padding-x);
  background: var(--primary) center / cover no-repeat;
  color: var(--text-light);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--black-40); pointer-events: none; }
.page-hero--fade::before { background: linear-gradient(var(--black-40), rgb(0 0 0 / .8)); }
.page-hero > * { position: relative; }
.page-hero__inner { width: 100%; max-width: var(--content-width); margin-inline: auto; display: flex; flex-direction: column; gap: var(--content-gap); }
.page-hero h1 { color: var(--text-light); font-size: var(--h1); }
.page-hero p { color: var(--text-light); font-size: var(--h5); font-weight: 500; max-width: 60ch; }
.page-hero .hero-sub { font-size: var(--h4); font-weight: 400; color: var(--accent); max-width: none; }

/* ---------- Home: hero slider ---------- */
.hero-slider { position: relative; height: 90vh; min-height: 520px; overflow: hidden; background: var(--primary); }
.hero-slider__track { display: flex; height: 100%; transition: transform 1s ease; }
.hero-slide {
  position: relative; flex: 0 0 100%; height: 100%;
  display: flex; align-items: flex-end;
  padding: 0 10% 5%;
  background: var(--primary) center / cover no-repeat;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: var(--black-40); pointer-events: none; }
.hero-slide__intro { position: relative; width: 50%; display: flex; flex-direction: column; gap: var(--space-xs); }
.hero-slide__title { font-size: var(--h1); color: var(--text-light); }
.hero-slide__sub { font-size: var(--h5); font-weight: 500; color: var(--text-light); }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.5em; height: 2.5em; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--accent-40); color: var(--white);
  transition: background .2s;
}
.hero-slider__arrow:hover { background: var(--accent); }
.hero-slider__arrow svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.hero-slider__arrow--prev { left: 10%; }
.hero-slider__arrow--next { right: 10%; }
@media (max-width: 991px) { .hero-slide__intro { width: 80%; } }
@media (max-width: 478px) {
  .hero-slide__intro { width: 100%; }
  .hero-slider__arrow { top: auto; bottom: 1.5rem; transform: none; }
  .hero-slider__arrow--prev { left: auto; right: calc(10% + 3em); }
}

/* ---------- Home: about + counters ---------- */
.about-band {
  position: relative; min-height: 850px;
  background: url(../img/Astrol-trucks-2.webp) top center / cover no-repeat;
  justify-content: flex-start;
}
.about-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--white-90) 50%, transparent 50%); pointer-events: none; }
.about-band > * { position: relative; }
.about-band .container { flex-direction: row; align-items: center; justify-content: space-between; column-gap: var(--space-xxl); }
.about-band .stack { max-width: 640px; }
.counters { display: flex; justify-content: flex-end; }
.counter { padding: 0 var(--space-s); border-left: 1px solid var(--accent); }
.counter:first-child { border-left: 0; padding-left: 0; }
.counter__value { font-size: var(--h2); font-weight: 500; color: var(--primary); line-height: var(--heading-line-height); }
.counter__label { font-size: var(--text-m); color: var(--primary); }
@media (max-width: 991px) {
  .about-band { min-height: 0; padding-bottom: 50vw; }
  .about-band::before { background: linear-gradient(var(--white-90) 60%, transparent 50%); }
  .about-band .container { flex-direction: column; align-items: flex-start; row-gap: var(--space-l); }
  .counters { justify-content: center; }
}

/* ---------- Product cards ---------- */
.product-card {
  position: relative; height: 400px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-s);
  background: var(--primary) center / cover no-repeat;
  overflow: hidden;
}
.product-card__bar {
  display: inline-flex; align-self: flex-start; align-items: center; gap: var(--space-xs);
  background: var(--primary-ultra-dark-90); border-radius: var(--radius);
  padding: var(--space-xs);
}
.product-card__bar img { width: 50px; height: 50px; object-fit: contain; }
.product-card__bar .link-arrow { padding: 0; color: var(--neutral-light); }
.product-card:hover .link-arrow { color: var(--accent); gap: 20px; }
.product-card > a.stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; list-style: none; width: 100%; }
@media (max-width: 767px) { .post-grid { grid-template-columns: 1fr; } }
.post-card__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); }
.post-card__title { margin: 20px 0; font-size: var(--h4); }
.post-card__title a { color: var(--primary); transition: color .2s; }
.post-card__title a:hover { color: var(--primary-ultra-dark); }
.post-card__excerpt { color: var(--neutral-dark); }

/* ---------- Testimonials (third-party Tappi embed) ---------- */
.reviews-embed iframe { width: 100%; height: 500px; border: 0; }

/* ---------- CTA footer ---------- */
.site-footer { background: linear-gradient(95.91deg, #1E4398 .26%, #0A1632 100%); color: var(--text-light); }
.site-footer .section { padding-bottom: var(--section-space-s); }
.footer-top { flex-direction: row; justify-content: space-between; gap: var(--space-l); }
.footer-top h2 { color: var(--text-light); font-size: var(--h1); max-width: 20ch; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: var(--space-m) var(--space-xl); list-style: none; justify-content: end; align-content: start; }
.footer-links li { text-align: right; }
.footer-links a { color: var(--primary-light); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-brand { flex-direction: row; justify-content: space-between; align-items: center; }
.footer-brand img { height: 40px; width: auto; }
.social { display: flex; list-style: none; }
.social a { display: grid; place-items: center; padding: 15px; color: var(--white); }
.social svg { width: 22px; height: 22px; }
.social a:hover { color: var(--accent); }
.footer-rule { border: 0; border-top: 1px solid var(--accent); margin: 0; width: 100%; }
.footer-bottom { flex-direction: row; justify-content: space-between; gap: var(--space-s); }
.footer-bottom nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 50%; }
.footer-bottom a:hover { color: var(--accent); }
.site-footer .container { gap: var(--space-l); }
@media (max-width: 991px) {
  .footer-top { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, auto); justify-content: start; }
  .footer-links li { text-align: left; }
}
@media (max-width: 478px) {
  .footer-brand, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom nav { width: 100%; }
}

/* ---------- Floating WhatsApp gas order ---------- */
.float-order { position: fixed; left: 20px; bottom: 10%; z-index: 10; width: 70px; }
.float-order img { width: 70px; height: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-s); width: 100%; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: var(--text-s); color: var(--neutral-dark); }
.form input, .form select, .form textarea {
  font: inherit; font-size: var(--text-m); width: 100%;
  padding: .8em 1em; border: 1px solid var(--neutral-light); border-radius: var(--radius);
  background: var(--white); color: var(--text-dark);
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ultra-light); }

/* ---------- Reveal on scroll (replaces Bricks fadeInUp interactions) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slider__track { transition: none; }
}

/* ---- products.css ---- */
/* ==========================================================================
   Astrol Petroleum — About us, Products & Services and single product pages.
   Builds on main.css tokens/components; only page-specific rules live here.
   ========================================================================== */

/* ---------- Inner-page hero (live: Bricks section, fixed 600px, content at bottom) ---------- */

/* Bricks containers on these pages use a 30px gap */
.section--tight .container { gap: var(--content-gap); }

/* ---------- About: Our Story ---------- */
.story .container { flex-direction: row; column-gap: var(--container-gap); }
.story__text { width: 100%; align-self: center; }
.story__text h2 { color: var(--text-light); }
.story__text p { color: var(--primary-ultra-light); }
.story__img { width: 100%; height: 400px; flex-shrink: 1; border-radius: var(--radius); background: center / cover no-repeat; }

/* ---------- Find-a-Station banner (About + product template) ---------- */
.station-banner {
  height: 500px; border-radius: var(--radius);
  display: flex; justify-content: flex-end; align-items: center;
  background: center / cover no-repeat;
}
.station-card {
  width: 300px; height: 300px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: color-mix(in srgb, var(--accent) 80%, transparent);
  text-align: center;
}
.station-banner--90 .station-card { background: color-mix(in srgb, var(--accent) 90%, transparent); }
.station-card__icon { width: 100px; height: 60px; fill: var(--primary); }
.station-card__text { color: var(--primary); font-weight: 500; }
.station-card__text h4 { font-size: var(--h3); color: var(--primary-ultra-dark); }
.station-card__link { display: block; margin-top: var(--content-gap); border-radius: 50%; }
.station-card__link svg { width: 80px; height: 80px; }
.station-card__disc { fill: var(--primary); transition: fill .3s; }
.station-card__arrow { fill: var(--accent); }
.station-card__link:hover .station-card__disc { fill: var(--primary-hover); }

/* ---------- Product template: intro ---------- */
.product-intro { flex-direction: row; align-items: center; gap: var(--content-gap); color: var(--text-dark); }
.product-intro__text { width: 100%; display: flex; flex-direction: column; gap: var(--content-gap); }
.product-intro__text h2 { color: var(--primary); }
.product-intro__body > * + * { margin-top: 1em; }
.product-intro__body ul { padding-left: 1.5em; }
.product-intro__body h2 { font-size: var(--h2); }
.product-intro__img { width: 100%; height: 300px; border-radius: var(--radius); background: center / cover no-repeat; }

/* ---------- Product template: product types (Lubricants SCF repeater) ---------- */
.product-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); list-style: none; }
.product-type {
  display: flex; flex-direction: column; gap: var(--content-gap);
  background: var(--primary-ultra-light); border-radius: var(--radius);
  padding: var(--space-s); color: var(--text-dark);
}
.product-type h3 { font-size: var(--text-l); color: var(--text-dark); }
.product-type__desc, .product-type__specs { font-size: var(--text-s); }
.product-type__desc > * + *, .product-type__specs > * + * { margin-top: .75em; }
.product-type__specs ul { padding-left: 2em; }

@media (max-width: 767px) {
  .story .container, .product-intro { flex-direction: column; align-items: stretch; }
  .story__img { flex: none; }
  .product-intro__img { flex: none; }
}

/* ---- locations.css ---- */
/* ==========================================================================
   Astrol Petroleum — locations / listings / contact pages
   find-a-station, commercial-spaces, careers, job-openings, contact-us
   Builds on main.css tokens and components. Do not duplicate main.css here.
   ========================================================================== */

/* ---------- Inner-page hero band (600px, content bottom-left) ---------- */

/* Commercial spaces: title block left, phone icon-box bottom-right */
.hero-split { display: flex; flex-direction: row; gap: var(--content-gap); }
.hero-split > * { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--content-gap); }
.hero-split__aside { align-items: flex-end; align-self: flex-end; }
.icon-box { display: flex; flex-direction: row; align-items: flex-start; gap: var(--space-s); }
.icon-box svg { width: 60px; height: 60px; flex-shrink: 0; stroke: var(--text-light-muted); fill: none; }
.icon-box__title { font-size: var(--h4); color: var(--accent); }
.page-hero .icon-box p { font-size: var(--text-m); font-weight: 400; color: var(--primary-ultra-light); }
@media (max-width: 767px) {
  .hero-split { flex-direction: column; }
  .hero-split__aside { align-items: flex-start; align-self: stretch; }
}

/* ---------- Location / space cards (station finder + commercial spaces) ---------- */
.location-grid {
  display: grid; gap: var(--grid-gap); list-style: none; width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - 3 * var(--grid-gap)) / 4 * .7), calc((100% - 3 * var(--grid-gap)) / 4))), 1fr));
}
.location-card {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  row-gap: var(--space-xs);
  padding: var(--space-s);
  background: var(--primary-dark); border-radius: var(--radius);
  transition: background-color .3s;
}
.location-card:hover { background: var(--primary-ultra-dark); }
.location-card__name { font-size: var(--h4); color: var(--accent); }
.location-card__meta {
  color: var(--text-light); background: var(--primary);
  padding: 5px var(--space-xs); border-left: 1px solid var(--accent);
}
.location-card__meta a { color: var(--text-light); }
.location-card .link-arrow { padding: .5em 0; }

.intro-text { color: var(--text-dark); }

/* ---------- Job listings (WP Job Openings plugin markup, restyled) ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; list-style: none; width: 100%; }
@media (max-width: 768px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 648px) { .job-grid { grid-template-columns: 1fr; } }
.job-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 20px; font-size: 14px; color: var(--primary);
  background: var(--white); border: 1px solid #ccc; border-radius: 2px;
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / .05);
  transition: box-shadow .3s ease;
}
.job-card:hover, .job-card:focus-visible { box-shadow: 0 3px 15px -5px rgb(0 0 0 / .2); }
.job-card__title { margin: 0 0 15px; font-size: 18px; color: var(--primary); overflow-wrap: break-word; }
.job-card__more::after { content: " \2192"; }
.jobs-none { padding: 25px; }

/* ---------- Contact ---------- */
.contact-band { background: url(../img/Flame.webp) center left / contain no-repeat; }
.contact-split { flex-direction: row; gap: var(--content-gap); }
.contact-split > * { flex: 1 1 0; min-width: 0; }
.contact-split__title { align-self: center; font-size: var(--h1); }
@media (max-width: 767px) {
  .contact-split { flex-direction: column; align-items: stretch; }
  .contact-split__title { align-self: flex-start; }
}
.form--contact { gap: 27px; }
.form--contact input, .form--contact textarea {
  font-size: var(--text-m); padding: 9px 18px; color: var(--neutral-dark);
}
.form--contact input { height: 50px; }
.form--contact textarea { min-height: 90px; height: 90px; }
.form--contact ::placeholder { color: var(--neutral-dark); opacity: 1; }
.btn--form {
  justify-self: start;
  font-size: var(--text-m); padding: 13.5px 27px;
  border: 2px solid var(--primary); border-radius: var(--radius);
}

/* ---- blog.css ---- */
/* ==========================================================================
   Blog index, single post and privacy policy.
   Loaded after main.css; uses its tokens.
   ========================================================================== */

/* ---------- Inner hero (live: 600px tall section, title bottom-left) ---------- */

/* Live body copy on these templates is black, not neutral-dark */
.blog-section { color: var(--text-dark); }

/* ---------- Blog archive ---------- */
.blog-archive { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--grid-gap); list-style: none; }
.blog-archive > :nth-child(1) { grid-area: 1 / 1 / 2 / 4; }
.blog-archive > :nth-child(2) { grid-area: 1 / 4 / 2 / 7; }
.blog-archive > :nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
.blog-archive > :nth-child(4) { grid-area: 2 / 3 / 3 / 5; }
.blog-archive > :nth-child(5) { grid-area: 2 / 5 / 3 / 7; }
.blog-archive > :nth-child(6) { grid-area: 3 / 1 / 4 / 3; }
.blog-archive > :nth-child(7) { grid-area: 3 / 3 / 4 / 5; }
.blog-archive > :nth-child(8) { grid-area: 3 / 5 / 4 / 7; }
@media (max-width: 767px) {
  .blog-archive { grid-template-columns: 1fr; }
  .blog-archive > * { grid-area: auto !important; }
}

.blog-card { display: flex; flex-direction: column; justify-content: flex-start; row-gap: var(--space-s); }
.blog-card__media { order: -1; }
.blog-card__media img { width: 100%; height: 30rem; object-fit: cover; border-radius: var(--radius); }
.blog-card__title { font-size: var(--h3); color: var(--primary); }
.blog-card__title a { transition: color .2s; }
.blog-card__title a:hover { color: var(--primary-dark); }
.blog-card__excerpt { font-size: var(--text-s); line-height: var(--text-line-height); }
.blog-card__date { margin-top: auto; align-self: flex-start; }

.pagination { margin-top: var(--space-xl); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; list-style: none; }
.pagination .page-numbers { display: grid; place-items: center; width: 5rem; height: 5rem; color: var(--base); transition: background .2s, color .2s; }
.pagination a.page-numbers:hover { color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); color: var(--white); }

/* ---------- Single post ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.post-layout__aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 30px; }
/* Live keeps the 2:1 columns even on phones (sidebar ~100px wide); stacked here instead. */
@media (max-width: 767px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-layout__aside { position: static; }
}

.post-content > * + * { margin-top: 1em; }
.post-content :is(h2, h3, h4) { color: var(--text-dark); }
.post-content > :is(h2, h3, h4) { margin-top: 1.2em; }
.post-content > :first-child { margin-top: 0; }
.post-content ul, .post-content ol { padding-left: 2em; }
.post-content a { color: var(--primary); }
.post-content a:hover { color: var(--primary-dark); }
.post-content hr { border: 0; border-top: 2px solid #808080; margin: 1em 0 0; }
.post-content img { border-radius: var(--radius); }

.more-articles__title { font-size: var(--h2); color: var(--primary); }
.more-articles { list-style: none; display: flex; flex-direction: column; gap: 30px; }
.more-articles li { background: var(--primary-ultra-light); padding: var(--space-s); }
.more-articles h4 { margin: 20px 0; }
.more-articles h4 a { color: var(--primary); transition: color .2s; }
.more-articles h4 a:hover { color: var(--accent); }

/* ---------- Plain text page (privacy) ---------- */
.text-block > * + * { margin-top: 1em; }

/* ---- wp.css ---- */
/* WordPress-only additions (menus as <ul>, form states, core blocks in content). */

/* Footer legal links come from a menu: flatten the list into the 2-column grid. */
.footer-bottom .footer-legal ul { display: contents; list-style: none; }
.footer-bottom .footer-legal li { display: contents; }

/* Mobile menu renders two lists (menu + Station Finder). */
.mobile-nav ul + ul { margin-top: 0; }

/* Contact form */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: .8em 1em; border-radius: var(--radius); font-size: var(--text-s); }
.form__status--success { background: #e7f6ec; color: #145c2c; }
.form__status--error { background: var(--primary-ultra-light); color: var(--secondary); }
.icon-box__title a { color: inherit; }

/* Core blocks inside our sections */
.stack > .wp-block-group, .wp-block-group.stack { display: flex; flex-direction: column; gap: var(--content-gap); align-items: flex-start; }
.wp-block-image img { border-radius: var(--radius); }
.post-content .wp-block-image, .prose .wp-block-image { margin: 1em 0; }
.wp-block-separator { border: 0; border-top: 2px solid var(--neutral-light); }
.alignwide, .alignfull { width: 100%; }

/* Logged-in admin bar: push the absolutely positioned header below it. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
