/* NewOn Electrical theme styles.
   Layout: navy header with letter-spaced menu and a direct-dial strip, full-width photo header under a navy overlay with centred text,
   alternating white and grey content bands, navy call-to-action band, navy footer. Pill buttons, 14px card corners, soft navy shadows. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-variable.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #21295C; --navy-deep: #161D40; --navy-800: #1C2452; --on-navy: #FFFFFF; --navy-line: rgba(255, 255, 255, .16);
  --blue: #2F97C3; --blue-dark: #1F7EA3; --blue-400: #6CC0E3; --blue-pale: #A3D8EC; --blue-soft: #E6F4FA;
  --surface: #FFFFFF; --surface-100: #F2F3F6;
  --ink: #20242F; --ink-muted: #4A4F5C; --ink-soft: #767B87;
  --line: #E3E5EA; --line-strong: #C7CAD2;
  --success: #2E9E5B; --danger: #D1443A;
  --shadow-sm: 0 1px 3px rgba(22, 29, 64, .08); --shadow-md: 0 6px 20px rgba(22, 29, 64, .10); --shadow-lg: 0 16px 40px rgba(22, 29, 64, .14);
  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "Work Sans", "Helvetica Neue", system-ui, sans-serif;
  --radius: 14px; --radius-sm: 8px;
  --wrap: 1180px;
  --measure: 760px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.top :focus-visible, .has-bg :focus-visible, .cta-band :focus-visible, .footer :focus-visible, .is-style-band-navy :focus-visible { outline-color: var(--blue-pale); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; }
h2 { font-size: clamp(25px, 3.2vw, 32px); }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 1em; }
.in { width: 100%; max-width: calc(var(--wrap) + var(--gutter-l) + var(--gutter-r)); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000; background: #fff; color: var(--ink); padding: 12px 16px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue-dark); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
.top > .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; position: relative; }
.logo { flex-shrink: 0; }
.logo img, .custom-logo { display: block; height: 46px; width: auto; }
.menu-btn { display: none; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; border-radius: 999px; font: 600 13px var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 9px 18px; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu > ul { display: flex; align-items: center; gap: 6px; }
.nav-menu li { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.nav-menu > ul > li > a { color: #fff; text-decoration: none; font: 600 13px/1 var(--f-body); letter-spacing: .15em; text-transform: uppercase; padding: 13px 10px; }
.nav-menu > ul > li > a:hover, .nav-menu > ul > li.current-menu-item > a, .nav-menu > ul > li.current-menu-ancestor > a, .nav-menu > ul > li.current-page-ancestor > a { color: var(--blue-pale); }
.sub-toggle { width: 26px; height: 32px; margin-left: -6px; border: 0; background: transparent; cursor: pointer; color: #fff; position: relative; }
.sub-toggle::after { content: ""; position: absolute; left: 8px; top: 11px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.is-open > .sub-toggle::after { transform: rotate(-135deg); top: 14px; }
.sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.sub-menu li { display: block; }
.sub-menu a { display: block; color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 15px; }
.sub-menu a:hover, .sub-menu .current-menu-item > a { background: var(--blue-soft); color: var(--navy); }
.nav-menu li.is-open > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1101px) { .nav-menu li:hover > .sub-menu { display: block; } .nav-menu li:hover > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } }
.btn-nav { min-height: 40px; padding: 0 20px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; align-items: center; }
.socials a { display: flex; color: #fff; opacity: .85; }
.socials a:hover { opacity: 1; color: #fff; }
.socials-top { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .2); }
.contact-bar { background: var(--navy-deep); font-size: 13px; }
.contact-bar .in { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding-block: 8px; }
.contact-bar a { color: var(--blue-pale); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-bar a:hover { color: #fff; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .12); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter-r) 20px var(--gutter-l); max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav.is-open { display: flex; }
  .nav-menu > ul { flex-direction: column; align-items: stretch; }
  .nav-menu li { justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-menu > ul > li > a { padding: 15px 4px; flex: 1; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-toggle::after { left: 18px; top: 17px; }
  .is-open > .sub-toggle::after { top: 20px; }
  .sub-menu { position: static; box-shadow: none; background: transparent; padding: 0 0 10px 8px; min-width: 0; width: 100%; }
  .sub-menu li { border: 0; }
  .sub-menu a { color: var(--blue-pale); }
  .sub-menu a:hover, .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .08); color: #fff; }
  .btn-nav { margin-top: 16px; align-self: flex-start; }
  .socials-top { border: 0; padding: 0; margin-top: 16px; }
}
@media (max-width: 560px) { .contact-bar .in { gap: 2px 16px; } }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer; text-align: center; transition: background-color .2s, border-color .2s, color .2s; }
.btn-lg, .is-style-lg .wp-block-button__link { min-height: 54px; padding: 0 34px; font-size: 17px; }
.btn-primary, .wp-block-button__link { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover, .wp-block-button__link:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-navy, .is-style-navy .wp-block-button__link { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover, .is-style-navy .wp-block-button__link:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-ghost-light, .is-style-outline-light .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover, .is-style-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--line-strong); color: var(--navy); }
.is-style-outline .wp-block-button__link:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn[disabled] { opacity: .5; cursor: wait; }
.btns, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Photo header ---------- */
.has-bg { background-color: var(--navy); background-image: linear-gradient(180deg, rgba(22, 29, 64, .55) 0%, rgba(22, 29, 64, .78) 100%), var(--hero-bg); background-size: cover; background-position: center; color: var(--on-navy); }
.has-bg h1, .has-bg h2, .has-bg p, .has-bg .crumbs { text-shadow: 0 1px 3px rgba(10, 14, 36, .5); }
.hero .in { padding-block: 92px; }
@media (max-width: 760px) { .hero .in { padding-block: 56px; } }
.hero-text { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0; }
.hero .lede { font-size: 18px; color: var(--blue-soft); margin: 16px 0 0; max-width: 58ch; }
.hero .btns { margin-top: 26px; justify-content: center; }
.eyebrow { font: 600 13px/16px var(--f-body); letter-spacing: .15em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 12px; }
.has-bg .eyebrow, .cta-band .eyebrow, .is-style-band-navy .eyebrow { color: var(--blue-pale); }
.crumbs { font-size: 13px; letter-spacing: .04em; color: var(--blue-pale); margin: 0 0 14px; }
.crumbs a { color: #fff; }

/* ---------- Call-to-action band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band .in { padding-block: 64px; display: flex; flex-direction: column; align-items: center; }
.cta-band .eyebrow { color: var(--blue-400); }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p:not(.eyebrow) { margin: 16px 0 0; color: var(--blue-pale); max-width: 60ch; }
.cta-band .btns { margin-top: 28px; justify-content: center; }

/* ---------- Page content (blocks) ---------- */
.site-main { display: block; }
.entry > * { width: calc(100% - var(--gutter-l) - var(--gutter-r)); max-width: var(--measure); margin-left: auto; margin-right: auto; }
.entry > .alignwide { max-width: var(--wrap); }
.entry > .alignfull, .entry > .band { width: 100%; max-width: none; }
.entry > :first-child:not(.band) { margin-top: 48px; }
.entry > :last-child:not(.band) { margin-bottom: 56px; }
.band { padding-block: 64px; margin: 0; }
.band.is-style-band-grey, .band.alt { background: var(--surface-100); }
.band.is-style-band-navy { background: var(--navy); color: #fff; text-align: center; }
.band.is-style-band-navy h2, .band.is-style-band-navy h3 { color: #fff; }
.band.is-style-band-navy .sec-head { margin-left: auto; margin-right: auto; align-items: center; }
.band.is-style-band-navy .sec-head p:not(.eyebrow) { color: var(--blue-pale); }
.band.is-style-band-navy .wp-block-buttons { justify-content: center; }
.entry > .band > * { width: calc(100% - var(--gutter-l) - var(--gutter-r)); max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.entry > .band > * + * { margin-top: 0; }
.entry > .band > .wp-block-shortcode + *, .entry > .band > * + .wp-block-shortcode { margin-top: 24px; }
.band > :last-child { margin-bottom: 0; }
@media (max-width: 700px) { .band { padding-block: 44px; } }
.entry > .band > .sec-head, .sec-head { margin-bottom: 30px; display: flex; flex-direction: column; }
.sec-head > * { margin: 0; max-width: 64ch; }
.sec-head > * + * { margin-top: 10px; }
.sec-head p:not(.eyebrow) { color: var(--ink-muted); }
.prose { max-width: 70ch; }
.prose > .eyebrow { margin-bottom: 10px; }
.prose .wp-block-buttons { margin-top: 24px; }
.entry > .band > .prose { max-width: var(--measure); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cards.cards-3, .wp-block-group.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards.cards-3, .wp-block-group.cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards.cards-3, .wp-block-group.cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card > * { margin: 0; }
.card h2, .card h3 { color: var(--navy); font-size: 20px; }
a.card:hover, .card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
.card p { color: var(--ink-muted); font-size: 15px; }
.card .more, .card .more a { color: var(--blue-dark); font-weight: 600; font-size: 15px; text-decoration: none; margin-top: auto; }
a.card:hover .more { text-decoration: underline; }
.card-img { display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 6px !important; aspect-ratio: 3 / 2; height: auto; object-fit: cover; background: var(--blue-soft); }
.card h2.card-title { font-size: 20px; }

/* Blue-dot list */
.is-style-dots, ul.dots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px; }
.is-style-dots li, ul.dots li { padding-left: 22px; position: relative; }
.is-style-dots li::before, ul.dots li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.prose .is-style-dots { grid-template-columns: minmax(0, 1fr); margin-bottom: 1em; }

/* Credential tags */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--surface-100); color: var(--ink-muted); font: 600 13px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.tag.is-accent { background: var(--blue-soft); color: var(--blue-dark); }
.band.is-style-band-grey .tag:not(.is-accent) { background: #fff; }
.band .wp-block-shortcode:has(.tags) { margin-top: 28px; }
.entry .is-style-dots + .wp-block-shortcode, .entry .is-style-dots + p > .tags { margin-top: 28px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption { font: 600 13px/16px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.quote figcaption b { color: var(--blue-dark); }

/* Two columns */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > * { margin: 0; min-width: 0; }

/* Service links */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; background: #fff; }
.chips a:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--navy); }

/* Gallery */
.entry .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .entry .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .entry .wp-block-gallery.has-nested-images { grid-template-columns: minmax(0, 1fr); } }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image img { flex: none !important; aspect-ratio: 1 / 1; width: 100% !important; height: auto !important; object-fit: cover; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(22, 29, 64, .8), rgba(22, 29, 64, 0)); color: #fff; text-shadow: none; font: 600 13px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 28px 14px 12px; max-height: none; overflow: visible; text-align: left; margin: 0; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }
.wp-block-image img { display: block; }
.wp-element-caption { font-size: 14px; color: var(--ink-muted); }

/* ---------- Forms ---------- */
.contact-intro p { color: var(--ink-muted); }
.contact-form { background: var(--surface-100); border-radius: var(--radius); padding: 32px; }
@media (max-width: 600px) { .contact-form { padding: 22px; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.txt { width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px 16px; background: #fff; color: var(--ink); font: 16px var(--f-body); }
.txt:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(47, 151, 195, .35); }
textarea.txt { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-muted); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue-dark); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 20px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0; font-size: 15px; }
.form-msg.is-error { background: #FBE9E7; color: #8A2A22; border: 1px solid #F0C3BC; }
.form-msg.is-success { background: #E6F4EC; color: #1D5C37; border: 1px solid #B9DCC8; }
.form-done:focus { outline: none; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; box-shadow: var(--shadow-sm); }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font: 600 13px/16px var(--f-body); letter-spacing: .15em; text-transform: uppercase; color: var(--blue-dark); }
.contact-card dd { margin: 6px 0 0; font-size: 17px; }
.contact-card dd.num { font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.contact-card dd a { color: var(--navy); text-decoration: none; }
.contact-card dd a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--blue-pale); }
.footer > .in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 32px; }
@media (max-width: 860px) { .footer > .in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer > .in { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { height: 54px; width: auto; display: block; margin-bottom: 16px; }
.footer .badge { margin-top: 14px; }
.footer .badge img { display: block; height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 4px; }
.footer-title { font: 600 13px/1.3 var(--f-body); letter-spacing: .15em; text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .socials { display: flex; gap: 14px; margin-top: 14px; }
.footer a { color: var(--blue-pale); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { margin: 0 0 8px; font-size: 15px; }
.legal { border-top: 1px solid var(--navy-line); }
.legal .in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.legal a { color: rgba(255, 255, 255, .8); }

/* ---------- Posts, comments and WordPress classes ---------- */
.entry--post { padding-block: 8px; }
.pager { margin-top: 32px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; }
.page-numbers.current { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--ink-muted); }
.sticky, .bypostauthor { display: block; }
.search-form { display: flex; gap: 8px; }
.search-field { border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px 14px; font: 16px var(--f-body); }
.search-submit { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 0 20px; font: 600 15px var(--f-body); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } .card:hover { transform: none; } }
@media print { .top, .footer, .cta-band, .hero .btns { display: none; } .has-bg { background: none; color: var(--ink); } .has-bg h1 { color: var(--navy); } }
