/* ===== Keys Boating Center – Local Site Stylesheet ===== */

/* Open Sans is served from our own /assets/fonts rather than Google Fonts, so
   every visitor renders the identical typeface regardless of device, no
   third-party request is made on page load, and the CSP needs no external
   origin in style-src or font-src.

   Italics are included deliberately: the admin rich-text editor can italicise
   copy, and without a real italic face the browser synthesises one by slanting
   the regular weight, which looks visibly wrong.

   font-display:swap paints the fallback immediately and swaps when the file
   arrives, so text is never invisible while the font loads. */
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-700-italic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

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

body {
  font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav-wrapper {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2572A0;
}

.nav-logo img { height: 48px; width: auto; border-radius: 4px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > .nav-btn {
  display: block;
  padding: 8px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: #333;
  border-radius: 5px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav-links > li > a:hover,
.nav-links > li > .nav-btn:hover,
.nav-links > li > a.active,
.nav-links > li > .nav-btn.active {
  background: #eaf3fb;
  color: #2572A0;
}

/* dropdown trigger arrow */
.nav-links .dropdown > .nav-btn::after { content: ' ▾'; font-size: .7rem; }
/* Login button */
.nav-login-btn {
  display: inline-block;
  padding: 7px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: #fff !important;
  background: #2572A0;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.nav-login-btn:hover { background: #1a5a80 !important; color: #fff !important; }


.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  min-width: 210px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  padding: 6px 0;
  z-index: 2000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

/* Bridge the 4px gap between the trigger and the menu.
   The menu is offset by `top: calc(100% + 4px)`, so moving the pointer down
   from the button crossed 4px of dead space where nothing was hovered - the
   menu closed mid-movement, which is why it felt like it needed a click to
   stay open. This invisible strip is a child of the menu, so hovering it
   keeps .dropdown:hover true and the menu open all the way down.
   It only exists while the menu is displayed, so it never blocks anything. */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;      /* the 4px gap plus slack for a fast diagonal move */
  left: 0;
  right: 0;
  height: 10px;
}

/* Widen the forgiving area slightly to the sides as well, so drifting off the
   edge of a short menu item does not close the menu either. */
.nav-links > li.dropdown:hover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 12px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: .9rem;
  color: #333;
  transition: background .15s;
}

.dropdown-menu a:hover { background: #eaf3fb; color: #2572A0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 100%);
}

.hero-content { position: relative; z-index: 1; padding: 20px; max-width: 700px; }
.hero-content h1 { font-size: 2.6rem; font-weight: 700; margin-bottom: 14px; text-shadow: 0 2px 6px rgba(0,0,0,.5); line-height: 1.2; }
.hero-content p  { font-size: 1.15rem; margin-bottom: 28px; opacity: .92; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  background: #2572A0;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}

.btn:hover { background: #1e5f87; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover { background: #fff; color: #2572A0; transform: translateY(-1px); }

/* ===== PAGE-HERO (non-home) ===== */
.page-hero {
  background: linear-gradient(135deg, #1e5f87, #2572A0);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
  position: relative;
}

.page-hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
.page-hero p  { font-size: 1rem; opacity: .85; max-width: 540px; margin: 0 auto; }

/* Optional banner image, set per page from admin Site Graphics > Headers.
   The image is applied inline as --page-hero-img by each page's script; with
   no image set, none of this applies and the plain gradient above shows
   through exactly as before. */
.page-hero.has-image {
  background-image: var(--page-hero-img);
  background-size: cover;
  background-position: center;
  padding: 92px 24px;
}
/* Dark scrim so the white heading stays readable over any photo — without it,
   a bright image makes the text disappear. */
.page-hero.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,60,90,.72), rgba(37,114,160,.62));
}
.page-hero.has-image > * { position: relative; z-index: 1; }
.page-hero.has-image h1 { text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.page-hero.has-image p  { opacity: .95; text-shadow: 0 1px 6px rgba(0,0,0,.35); }

@media (max-width: 640px) {
  .page-hero.has-image { padding: 64px 20px; }
}

/* ===== SECTIONS ===== */
.section { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.9rem; color: #2572A0; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 40px; font-size: 1rem; }

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col img { border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.12); }

/* ===== FEATURE CARDS (home services) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* ===== WHY-CHOOSE CAROUSEL ===== */
.carousel-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.carousel-viewport {
  flex: 1;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
  gap: 0;
}
.carousel-card {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  box-sizing: border-box;
}
@media (max-width: 959px) {
  .carousel-card { flex: 0 0 calc(50% - 16px); }
}
@media (max-width: 599px) {
  .carousel-card { flex: 0 0 calc(100% - 16px); }
}
.carousel-btn {
  background: #2572A0;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
  margin: 0 10px;
  transition: background .2s, opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
}
.carousel-btn:hover { background: #1e5f87; }

.card {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.11); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { color: #2572A0; margin-bottom: 8px; font-size: 1.1rem; }
.card-body p  { color: #555; font-size: .9rem; }

/* ===== BRANDS STRIP ===== */
.brands-strip { background: #1a3a5c; padding: 70px 24px; }
.brands-strip-inner { max-width: 1300px; margin: 0 auto; text-align: center; }
.brands-strip h2 { color: #fff; font-size: 1.6rem; margin-bottom: 52px; letter-spacing: .02em; }
.brands-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 56px 96px; }
/* Brand logo carousel */
.brand-carousel-wrapper { display: flex; align-items: center; gap: 0; }
.brand-carousel-viewport { flex: 1; overflow: hidden; }
.brand-carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.brand-carousel-item {
  flex: 0 0 20%;    /* 5 visible on desktop */
  box-sizing: border-box;
  padding: 0 24px;
  justify-content: center;
}
@media (max-width: 959px) { .brand-carousel-item { flex: 0 0 33.333%; } }
@media (max-width: 599px) {
  .brand-carousel-item { flex: 0 0 50%; padding: 0 12px; }
  .brand-logo-link img { height: 48px; max-width: 120px; }
}
.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .88;
  transition: opacity .2s, transform .2s;
}
.brand-logo-link:hover { opacity: 1; transform: scale(1.08); }
.brand-logo-link img { height: 84px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.brand-logo-outline img {
  filter:
    drop-shadow(1px 0px 0px #fff)
    drop-shadow(-1px 0px 0px #fff)
    drop-shadow(0px 1px 0px #fff)
    drop-shadow(0px -1px 0px #fff);
}
/* Legacy text tag — kept for fallback */
.brand-tag {
  padding: 10px 22px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}
.brand-tag:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ===== SERVICE LIST ===== */
.service-list { list-style: none; margin: 16px 0; }
.service-list li {
  padding: 7px 0;
  color: #444;
  border-bottom: 1px solid #eee;
  font-size: .95rem;
}
.service-list li::before { content: "✓  "; color: #2572A0; font-weight: 700; }

/* ===== RICH TEXT (admin editor output) =====
   Card bodies and boat descriptions are authored in the admin WYSIWYG and
   stored as HTML. They previously rendered as .service-list bullets built in
   JS, so lists here inherit that same check-mark treatment - without this the
   cards would silently lose their styling the first time someone edits one. */
.rich-body { margin-top: 10px; }
.rich-body p { margin: 0 0 10px; }
.rich-body p:last-child { margin-bottom: 0; }
.rich-body ul { list-style: none; margin: 16px 0; padding-left: 0; }
.rich-body ul li {
  padding: 7px 0;
  color: #444;
  border-bottom: 1px solid #eee;
  font-size: .95rem;
}
.rich-body ul li::before { content: "✓  "; color: #2572A0; font-weight: 700; }
.rich-body ol { margin: 16px 0; padding-left: 22px; color: #444; }
.rich-body ol li { padding: 4px 0; font-size: .95rem; }
.rich-body h2, .rich-body h3 { color: #1a3a5c; margin: 0 0 10px; line-height: 1.3; }
.rich-body h2 { font-size: 1.25rem; } .rich-body h3 { font-size: 1.08rem; }
.rich-body a { color: #2572A0; text-decoration: underline; }
.rich-body blockquote { margin: 0 0 10px; padding-left: 12px; border-left: 3px solid #dfe6ee; color: #666; }

/* ===== INFO BOXES ===== */
.info-box {
  background: #f8f9fa;
  border-left: 4px solid #2572A0;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.info-box h3 { color: #2572A0; margin-bottom: 12px; font-size: 1.15rem; }
.info-box p  { color: #444; margin-bottom: 6px; line-height: 1.7; }
.info-box a  { color: #2572A0; }
.info-box a:hover { text-decoration: underline; }
.info-box a.btn { color: #fff; }
.info-box a.btn:hover { text-decoration: none; }

/* ===== CONTACT FORM ===== */
.contact-form { background: #f8f9fa; border-radius: 8px; padding: 30px; }
.contact-form h3 { color: #2572A0; margin-bottom: 22px; font-size: 1.2rem; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #2572A0; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  background: #2572A0;
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.form-submit:hover { background: #1e5f87; }

/* ===== MAP ===== */
.map-embed { width: 100%; height: 340px; border: none; border-radius: 8px; margin-top: 20px; }

/* ===== PRODUCT GRID ===== */
.products-page { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }

.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn {
  padding: 7px 18px;
  border: 1.5px solid #2572A0;
  background: transparent;
  color: #2572A0;
  border-radius: 24px;
  cursor: pointer;
  font-size: .88rem;
  font-family: inherit;
  font-weight: 600;
  transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active { background: #2572A0; color: #fff; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.11); }

.product-img {
  position: relative;
  height: 215px;
  background: #f0f4f8;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.04); }

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: .92rem; font-weight: 700; color: #222; margin-bottom: 10px; line-height: 1.4; flex: 1; }

.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price { font-size: 1.1rem; font-weight: 700; color: #2572A0; }
.price-original { font-size: .88rem; color: #aaa; text-decoration: line-through; }

.no-products { padding: 50px; text-align: center; color: #888; font-size: 1rem; grid-column: 1 / -1; }

/* ===== SOCIAL ===== */
.connect-section { background: #f4f8fb; padding: 50px 24px; text-align: center; }
.connect-section h2 { color: #2572A0; font-size: 1.6rem; margin-bottom: 22px; }
.social-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.social-link {
  display: inline-block;
  padding: 11px 26px;
  background: #2572A0;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  font-size: .9rem;
  transition: background .2s;
}
.social-link:hover { background: #1e5f87; }

/* ===== FOOTER ===== */
footer {
  background: #1a2535;
  color: #aaa;
  text-align: center;
  padding: 28px 24px;
  font-size: .88rem;
}
footer a { color: #7ab8d9; margin: 0 10px; }
footer a:hover { text-decoration: underline; }
footer .footer-sep { margin: 10px 0; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222;
  color: #eee;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: .88rem;
  gap: 20px;
}
.cookie-banner button {
  background: #2572A0;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  font-family: inherit;
}

/* ===== HIGHLIGHT STRIP ===== */
.highlight-strip {
  background: #2572A0;
  color: #fff;
  text-align: center;
  padding: 14px 24px;
  font-size: .95rem;
  font-weight: 500;
}
.highlight-strip a { color: #fff; text-decoration: underline; }

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 1.6rem;
  line-height: 1;
  color: #2572A0;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  /* show hamburger, hide nav by default */
  .nav-wrapper { position: relative; }
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.13);
    padding: 6px 0 14px;
    gap: 0;
    z-index: 999;
  }
  /* open state toggled by nav.js */
  .nav-wrapper.nav-open .nav-links { display: flex; }

  .nav-links > li { width: 100%; }

  .nav-links > li > a,
  .nav-links > li > .nav-btn {
    padding: 13px 24px;
    font-size: 1rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
  }

  /* login button — override inline-block width so it fills row */
  .nav-links .nav-login-btn {
    margin: 8px 16px !important;
    display: block !important;
    text-align: center !important;
    padding: 11px 18px !important;
    box-sizing: border-box;
    width: calc(100% - 32px) !important;
  }

  /* dropdowns: static flow instead of absolute popup */
  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #f4f8fb;
    padding: 0;
    min-width: 0;
    display: none;
  }
  /* open class toggled by nav.js on mobile */
  .nav-links .dropdown.open .dropdown-menu { display: block; }

  /* No hover bridge on mobile: the menu is in normal flow here rather than a
     floating popup, so the invisible strips would sit over real links and
     swallow taps. */
  .nav-links .dropdown-menu::before,
  .nav-links > li.dropdown:hover::after { content: none; }
  .nav-links .dropdown-menu a { padding: 11px 42px; font-size: .95rem; }

  /* hide the ▾ arrow for dropdown triggers on mobile */
  .nav-links .dropdown > .nav-btn::after { content: ' +'; }
  .nav-links .dropdown.open > .nav-btn::after { content: ' −'; }

  .hero { height: 380px; }
  .hero-content h1 { font-size: 1.8rem; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 40px 18px; }
}

/* ===== Icons =====
   Lucide (ISC). Symbols are inlined per page and referenced with <use> against
   a same-document id: Safari/WebKit does not reliably resolve <use> pointing at
   an external sprite file, which would leave icons invisible on iPhone.
   1em sizing means an icon always matches the text it sits beside. */
.icon {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -0.125em;
  flex: none; stroke: currentColor; fill: none;
}
.icon-lg { width: 1.25em; height: 1.25em; }
.icon-xl { width: 3.5rem; height: 3.5rem; }

/* ===== Contact form status message =====
   The icon is a CSS background rather than markup because the message text is
   written with textContent - which escapes the server's error string. Injecting
   an <svg> would mean switching to innerHTML and hand-escaping that string, so
   the icon lives in CSS and the text stays safe by construction. */
.form-msg {
  display: none;
  padding: 12px 16px 12px 44px;
  border-radius: 6px; font-size: .9rem; margin-bottom: 14px;
  background-repeat: no-repeat; background-position: 15px center; background-size: 18px 18px;
}
.form-msg.is-visible { display: block; }
.form-msg.is-success { background-color: #d1fae5; color: #065f46; background-image: url("data:image/svg+xml,<%21-- %40license lucide-static v1.31.0 - ISC --> <svg class=%22lucide lucide-circle-check%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23065f46%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%2212%22 r=%2210%22 /> <path d=%22m9 12 2 2 4-4%22 /> </svg>"); }
.form-msg.is-error   { background-color: #fee2e2; color: #991b1b; background-image: url("data:image/svg+xml,<%21-- %40license lucide-static v1.31.0 - ISC --> <svg class=%22lucide lucide-triangle-alert%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23991b1b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3%22 /> <path d=%22M12 9v4%22 /> <path d=%22M12 17h.01%22 /> </svg>"); }
.form-msg.is-fail    { background-color: #fee2e2; color: #991b1b; background-image: url("data:image/svg+xml,<%21-- %40license lucide-static v1.31.0 - ISC --> <svg class=%22lucide lucide-circle-x%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23991b1b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%2212%22 r=%2210%22 /> <path d=%22m15 9-6 6%22 /> <path d=%22m9 9 6 6%22 /> </svg>"); }

/* ===== Page body copy (admin Site Contents > Pages) =====
   These carry the styling that used to sit inline on each <p> in about-us.html.
   The rich-text editor emits bare <p> elements, so the styling has to live in a
   class on the container - inline styles on the original paragraphs would be
   lost the moment the stored body replaced them. */
.pc-heading      { color: #2572A0; font-size: 1.8rem; margin-bottom: 20px; }
.pc-body         { color: #444; font-size: 1rem; line-height: 1.8; }
.pc-body p       { margin-bottom: 16px; }
.pc-body p:first-child { font-size: 1.05rem; }   /* lead paragraph, as before */
.pc-body p:last-child  { margin-bottom: 28px; }
