/*
Theme Name: Data Retrieval
Theme URI: https://www.dataretrieval.org.uk/
Author: Data Retrieval Ltd
Description: Theme for Data Retrieval Ltd in your brand colours (navy and red, editable under Customize → Brand colours), serif headings, a free-assessment Contact Form 7 form on the right of every page, your existing logo and menus.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dataretrieval
*/

:root {
	--ink: #1b2229;
	--muted: #56687a;
	--brand: #104d70;
	--brand-dark: #0b3954;
	--brand-dark-rgb: 11, 57, 84;
	--brand-soft: #e7eef4;
	--paper: #f5f8fa;
	--line: #d4dfe7;
	--accent: #e70e2d;
	--accent-dark: #b80a24;
	--accent-rgb: 231, 14, 45;
	--on-accent: #ffffff;
	--on-dark: #dbe6ee;
	--white: #ffffff;
	--radius: 4px;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--wrap: 1220px;
	--aside: 350px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--ink); margin: 1.7em 0 .5em; }
h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-top: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.22rem; }
p, ul, ol, table { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; clip: auto; width: auto; height: auto; background: var(--white); padding: 10px 14px; border: 2px solid var(--brand); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--brand); line-height: 1.2; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.btn-line { background: transparent; color: var(--brand); }
.btn-line:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- Header: logo + contact row, then a full-width menu bar ---------- */
.site-header { background: var(--white); }
.header-main .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-branding img { max-height: 58px; width: auto; display: block; }
.site-title { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.header-contact { text-align: right; line-height: 1.35; }
.header-contact .hc-note { font-size: 13.5px; color: var(--muted); }
.header-contact .hc-phone { display: block; white-space: nowrap; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.header-contact .hc-mail { font-size: 14px; }
.nav-bar { background: var(--brand-dark); border-bottom: 3px solid var(--accent); }
.nav-bar .wrap { display: flex; align-items: center; }

/* ---------- Navigation ---------- */
.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 14px 16px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li:focus-within > a, .main-nav > ul > .current-menu-item > a, .main-nav > ul > .current-menu-ancestor > a { background: var(--brand); color: var(--white); }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgba(var(--brand-dark-rgb), .14); padding: 6px 0; display: none; z-index: 60; }
.main-nav .sub-menu .sub-menu { top: -9px; left: 100%; }
.main-nav .sub-menu .sub-menu .sub-menu { left: auto; right: 100%; }
.main-nav .sub-menu a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; font-size: 15px; }
.main-nav .sub-menu a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .menu-item-has-children > a::after { content: "+"; margin-left: 6px; font-weight: 400; opacity: .7; }
.submenu-toggle, .nav-toggle { display: none; }

/* ---------- Page layout ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; color: var(--muted); }
.page-head a { color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: 56px; padding-top: 44px; padding-bottom: 72px; align-items: start; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
.entry-meta { color: var(--muted); font-size: 15px; margin-bottom: 1.4em; }

/* ---------- Content (works with the existing page markup) ---------- */
.entry-content { min-width: 0; }
.entry-content h1 { margin-top: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.entry-content h2 { padding-top: 6px; }
.entry-content ul { padding-left: 1.2em; }
.entry-content ul li::marker { color: var(--brand); }
.entry-content li { margin-bottom: .35em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 2px solid var(--ink); }
.entry-content th, .entry-content td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 700; color: var(--ink); background: transparent; font-size: 14px; }
.entry-content .dr-models td strong { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.entry-content .dr-models tr:hover td { background: var(--paper); }
.entry-content .dr-note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent-dark); padding: 14px 18px; }
.entry-content .drl-fig { margin: 14px 0 30px; }
.entry-content .drl-fig img { border: 1px solid var(--line); }
.entry-content .drl-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--accent); }
.entry-content .col-sm-12 { width: 100%; padding: 0 !important; }
.entry-content .text-center { text-align: center; }
/* in-page navigation bars from the content plugin: shown as simple tab rows */
.entry-content .data-retrival-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; background: transparent !important; margin: 0 0 8px; padding: 0 0 8px; text-align: left; border-bottom: 1px solid var(--line); }
.entry-content .data-retrival-link li { padding: 0; }
.entry-content .data-retrival-link li.drl-label { color: var(--muted); font-weight: 700; font-size: 13.5px; padding: 0; }
.entry-content .data-retrival-link li a { color: var(--brand) !important; background: transparent !important; padding: 2px 0 !important; font-size: 14.5px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.entry-content .data-retrival-link li a:hover, .entry-content .data-retrival-link li a.active { color: var(--ink) !important; border-bottom-color: var(--accent-dark); }
.entry-content .data-retrival-link:last-of-type { margin-bottom: 30px; }
.entry-content .service-box-outer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.entry-content .service-box { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px; }
.entry-content .service-box a { font-weight: 700; text-decoration: none; }

/* ---------- Calmer page components ---------- */
.entry-content .dr-small { font-size: 14px; color: var(--muted); }
.entry-content .toc { background: var(--paper); border: 1px solid var(--line); padding: 16px 22px 12px; margin: 8px 0 32px; }
.entry-content .toc-title { font-weight: 700; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.entry-content .toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.2em; font-size: 15px; }
.entry-content .toc li { break-inside: avoid; margin-bottom: 4px; }
.entry-content .toc a { text-decoration: none; }
.entry-content .toc a:hover { text-decoration: underline; }
.entry-content details.dr-series, .entry-content details.dr-callout, .entry-content .dr-faq details { border: 1px solid var(--line); background: var(--white); margin: 0 0 8px; }
.entry-content details > summary { list-style: none; cursor: pointer; padding: 13px 44px 13px 16px; position: relative; font-weight: 700; }
.entry-content details > summary::-webkit-details-marker { display: none; }
.entry-content details > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.entry-content details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.entry-content details > summary:hover { background: var(--paper); }
.entry-content details[open] > summary { border-bottom: 1px solid var(--line); }
.entry-content details > :not(summary) { margin-left: 16px; margin-right: 16px; }
.entry-content details > :not(summary):first-of-type, .entry-content details > summary + * { margin-top: 14px; }
.entry-content details .dr-models, .entry-content details > div { margin-bottom: 14px; }
.entry-content .dr-series .ds-title { font-family: var(--serif); font-size: 1.05rem; }
.entry-content .dr-series .ds-count { font-weight: 400; font-size: 13.5px; color: var(--muted); margin-left: 8px; }
.entry-content details.dr-callout { border-left: 4px solid var(--accent-dark); margin-top: 28px; }
.entry-content .dr-faq { border-top: 0; }
.entry-content .dr-faq summary { font-weight: 600; }
.entry-content .dr-faq details p { margin-bottom: 14px; }
.entry-content .dr-cta { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 16px 20px; margin: 32px 0 0; }
.entry-content .dr-cta p { margin: 0; }
.entry-content .related-guides { margin: 44px 0 0; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.entry-content .related-guides > h2 { font-size: 1.2rem; margin: 0 0 14px; padding: 0; }
.entry-content .rg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 28px; }
.entry-content .rg-group h3 { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.entry-content .rg-group ul { list-style: none; margin: 0; padding: 0; }
.entry-content .rg-group li { margin: 0 0 5px; font-size: 15px; }
.entry-content .rg-group a { text-decoration: none; }
.entry-content .rg-group a:hover { text-decoration: underline; }
.entry-content .rg-group [aria-current] { font-weight: 700; color: var(--ink); }
.entry-content .rg-grid:has(> .rg-group:only-child) ul { columns: 3; column-gap: 28px; }
@media (max-width: 600px) { .entry-content .rg-grid:has(> .rg-group:only-child) ul { columns: 2; } }
@media (max-width: 600px) { .entry-content .toc ol { columns: 1; } }

/* ---------- Contact card ---------- */
.contact-aside { position: static; }
@media (min-width: 961px) and (min-height: 1000px) { .contact-aside { position: sticky; top: 20px; } }
.contact-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(var(--brand-dark-rgb), .10); }
.contact-card .cc-head { background: var(--brand-dark); color: var(--on-dark); padding: 18px 22px 16px; border-bottom: 3px solid var(--accent); }
.contact-card .cc-head h2 { color: var(--white); margin: 0 0 4px; font-size: 1.4rem; }
.contact-card .cc-head p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.contact-card .cc-body { padding: 20px 22px 22px; }
.contact-card .cc-talk { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.contact-card .phone-big { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--brand); text-decoration: none; margin: 2px 0 0; }
.contact-details { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14.5px; border-top: 1px solid var(--line); }
.contact-details li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.contact-details strong { min-width: 58px; color: var(--muted); font-weight: 600; }
.trust-mini { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.trust-mini li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.trust-mini li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; background: var(--accent); }

/* ---------- Contact Form 7 ---------- */
.wpcf7 form p { margin: 0 0 13px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
	background: var(--paper); border: 1px solid #b9c9d4; border-bottom: 2px solid var(--brand); border-radius: 0; }
.wpcf7 textarea { min-height: 110px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { background: var(--white); border-color: var(--brand); outline: 3px solid rgba(var(--accent-rgb), .35); outline-offset: 0; }
.wpcf7 input[type="submit"] { width: 100%; background: var(--brand); color: var(--white); font-weight: 700; font-size: 16px; border: 0; border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--brand-dark); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 13.5px; color: #b3261e; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 12px; font-size: 14.5px; }
.wpcf7 .form-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.wpcf7-spinner { margin: 8px auto 0; display: block; }

/* ---------- Front page ---------- */
.hero { background-color: var(--paper); background-image: radial-gradient(rgba(var(--brand-dark-rgb), .12) 1px, transparent 1px); background-size: 18px 18px; border-bottom: 1px solid var(--line); }
.hero-banner { background-color: var(--brand-dark); background-size: cover; background-position: center; border-bottom: 3px solid var(--accent); min-height: 200px; }
/* slider built from the original site's four banner images */
.hero-slider { position: relative; height: clamp(320px, 38vw, 540px); background: var(--brand-dark); border-bottom: 3px solid var(--accent); overflow: hidden; }
.hero-slider .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hero-slider .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--brand-dark-rgb), .92) 0%, rgba(var(--brand-dark-rgb), .76) 40%, rgba(var(--brand-dark-rgb), .20) 75%, rgba(8, 62, 58, 0) 100%); }
.hero-slider .slide.is-active { opacity: 1; visibility: visible; }
.hero-slider .slide .wrap { position: relative; width: 100%; padding-bottom: 60px; }
.slide-text { max-width: min(560px, calc(100% - var(--aside) - 40px)); color: var(--on-dark); }
.slide-icon { width: 64px; height: 64px; background: rgba(255, 255, 255, .92); border-radius: 50%; padding: 8px; margin-bottom: 14px; }
.slide-text h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 .35em; }
.slide-text p { font-size: 1.08rem; margin: 0 0 20px; }
.slide-text .btn { margin: 0 8px 8px 0; }
.btn-lime { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-lime:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .75); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; }
.slider-controls .wrap { display: flex; align-items: center; gap: 10px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; cursor: pointer; }
.slider-dot.is-active { background: var(--accent); border-color: var(--accent); }
.slider-prev, .slider-next { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .6); background: transparent; cursor: pointer; position: relative; }
.slider-prev::before, .slider-next::before { content: ""; position: absolute; top: 11px; width: 8px; height: 8px; border-top: 2px solid var(--white); border-right: 2px solid var(--white); }
.slider-prev::before { left: 13px; transform: rotate(-135deg); }
.slider-next::before { left: 9px; transform: rotate(45deg); }
.hero-main h1 { margin: 0 0 .35em; font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 14em; }
.hero-main .hero-lead { font-size: 1.12rem; color: #33404a; max-width: 34em; }
.hero-body .wrap { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: 56px; padding-bottom: 64px; align-items: start; }
.hero-main { padding-top: 38px; }
.hero-form { margin-top: -190px; position: relative; z-index: 4; }
.hero-list { list-style: none; padding: 0; margin: 0 0 30px; max-width: 34em; border-top: 1px solid var(--line); }
.hero-list li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.hero-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; gap: 12px; align-items: center; padding: 20px 18px; font-weight: 600; font-size: 15px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts svg { flex: 0 0 30px; width: 30px; height: 30px; color: var(--brand); }
.section { padding: 70px 0; }
.section.tint { background: var(--brand-soft); }
.section-head { max-width: 44em; margin-bottom: 30px; }
.section-head h2 { margin-top: 0; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 2px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc-row svg { width: 36px; height: 36px; color: var(--brand); }
.svc-row h3 { margin: 0; font-size: 1.12rem; }
.svc-row p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.svc-row .arrow { width: 10px; height: 10px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); justify-self: center; }
.svc-row:hover h3 { color: var(--brand); }
.svc-row:hover .arrow { border-color: var(--accent-dark); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--brand); opacity: .35; }
.timeline li { counter-increment: step; position: relative; }
.timeline li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); color: var(--brand); font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.timeline h3 { margin: 0 0 6px; font-size: 1.12rem; }
.timeline p { margin: 0; font-size: 15px; color: #3d4b57; }
.brand-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.brand-groups h3 { margin: 0 0 8px; font-size: 1.05rem; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.brand-groups ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; }
.brand-groups li { margin-bottom: 6px; break-inside: avoid; }
.brand-groups a { text-decoration: none; font-weight: 600; }
.brand-groups a:hover { text-decoration: underline; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.advice { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent-dark); padding: 20px 24px; }
.advice h2 { margin-top: 0; font-size: 1.35rem; }
.advice ol { padding-left: 1.2em; margin-bottom: 0; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.quote { margin: 0; padding: 0 0 0 20px; border-left: 3px solid var(--brand); }
.quote p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; color: #2a3540; }
.quote cite { font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- Header image: page banner on inner pages ---------- */
.page-head--photo { background-color: var(--brand-dark); background-size: cover; background-position: center; border-bottom: 3px solid var(--accent); padding: 30px 0; color: var(--on-dark); }
.page-head--photo a { color: var(--white); }

/* ---------- Posts ---------- */
.post-list { border-top: 2px solid var(--ink); }
.post-card { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: 0 0 4px; font-size: 1.3rem; }
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover { color: var(--brand); }
.pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 7px 13px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-soft); color: #33404a; font-size: 15px; border-top: 3px solid var(--brand-dark); }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 54px 0 36px; }
.site-footer h2 { font-size: 1.08rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-logo img { max-height: 50px; width: auto; }
.footer-bottom { border-top: 1px solid #c7d5df; padding: 16px 0; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts li:nth-child(3) { border-left: 0; padding-left: 0; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.brand-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.header-contact .hc-note, .header-contact .hc-mail { display: none; }
	.header-main .wrap { min-height: 72px; }
	.header-contact .hc-phone { font-size: 1.2rem; }
	.nav-toggle { display: block; background: transparent; color: var(--white); border: 0; padding: 13px 0; font: inherit; font-weight: 700; cursor: pointer; }
	.nav-bar .wrap { flex-wrap: wrap; }
	.main-nav { flex-basis: 100%; display: none; padding-bottom: 12px; }
	.main-nav.open { display: block; }
	.main-nav > ul { flex-direction: column; }
	.main-nav .sub-menu, .main-nav .sub-menu .sub-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--accent); margin: 0 0 6px 16px; padding: 0; min-width: 0; background: transparent; }
	.main-nav .sub-menu a { color: var(--on-dark); }
	.main-nav .sub-menu a:hover { background: transparent; color: var(--white); }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: none; }
	.main-nav li.submenu-open > .sub-menu { display: block; }
	.main-nav .menu-item-has-children > a { padding-right: 48px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: block; position: absolute; right: 0; top: 4px; width: 40px; height: 38px; background: transparent; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
	.submenu-toggle::before { content: "+"; color: var(--white); font-size: 20px; line-height: 1; }
	.submenu-open > .submenu-toggle::before { content: "–"; }
	.layout, .hero-body .wrap, .two-col { grid-template-columns: minmax(0, 1fr); }
	.slide-text { max-width: none; }
	.hero-slider .slide::before { background: rgba(var(--brand-dark-rgb), .72); }
	.hero-slider { height: 440px; }
	.page-head--photo { box-shadow: inset 0 0 0 3000px rgba(var(--brand-dark-rgb), .35); }
	.hero-form { margin-top: 0; }
	.hero-main { padding-top: 28px; }
	.svc-list { grid-template-columns: minmax(0, 1fr); }
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.timeline::before { display: none; }
	.quotes { grid-template-columns: minmax(0, 1fr); }
	.entry-content .service-box-outer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.hero-slider { height: 430px; }
	.hero-slider .slide { align-items: flex-start; }
	.hero-slider .slide .wrap { padding-top: 30px; padding-bottom: 70px; }
	.slide-icon { display: none; }
	.slide-text p { font-size: 1rem; }
	.site-branding img { max-height: 44px; max-width: 55vw; }
	.facts ul, .timeline, .brand-groups, .footer-cols { grid-template-columns: minmax(0, 1fr); }
	.facts li { border-left: 0; padding-left: 0; }
	.entry-content .service-box-outer { grid-template-columns: minmax(0, 1fr); }
	.section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .contact-aside, .site-footer { display: none; } .layout { display: block; } }
