/*
Theme Name: IndoRisk
Theme URI: https://indorisk.com
Description: Corporate theme for IndoRisk Risk Management & Investigations. Editorial aesthetic with Libre Baskerville and Karla typefaces.
Version: 1.0.0
Author: IndoRisk
Text Domain: indorisk
*/

:root {
  --navy: #0c1a3a;
  --navy-mid: #162550;
  --blue: #2c5dce;
  --blue-light: #4a7ff7;
  --ice: #edf2fb;
  --ice-warm: #f5f7fb;
  --sand: #f9f8f6;
  --slate: #5a6378;
  --slate-light: #8b93a5;
  --white: #ffffff;
  --rule: #d6dce8;
  --serif: 'Libre Baskerville', 'Georgia', serif;
  --sans: 'Karla', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ──────────────────────────────────── */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 9px;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: 6px;
  display: grid; place-items: center;
}
.logo-mark svg { width: 15px; height: 15px; color: #fff; }

.main-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.main-nav li { list-style: none; }
.main-nav a {
  font-size: 0.85rem; font-weight: 500;
  color: var(--slate); text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav .cta-link,
.main-nav li:last-child > a {
  color: var(--blue); font-weight: 600;
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 1px;
}
.main-nav .cta-link:hover,
.main-nav li:last-child > a:hover { color: var(--navy); border-color: var(--navy); }

/* ── HERO ─────────────────────────────────── */
.hero {
  padding: 140px 0 0;
  background: var(--white);
}
.hero-upper {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 28px;
}
.hero-intro {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 520px;
}
.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: 40px;
}
.hero-aside p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 28px;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
  transition: gap 0.2s;
}
.text-link:hover { gap: 10px; }
.text-link svg { width: 14px; height: 14px; }

.hero-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
}
.hero-banner-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-banner-item:last-child { border-right: none; }
.hero-banner-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-banner-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── SERVICES ────────────────────────────── */
.services {
  padding: 100px 0 0;
  background: var(--white);
}
.services-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  align-items: end;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.services-header h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.services-header p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 540px;
}
.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.3s;
  cursor: default;
}
.service-row:hover {
  background: var(--ice-warm);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
}
.service-num {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--slate-light);
  font-style: italic;
  margin-bottom: 10px;
}
.service-row h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.service-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.service-body p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.75;
}
.service-tags-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 14px;
}
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--slate);
  background: var(--white);
}
.service-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--slate-light);
  transition: all 0.25s;
  flex-shrink: 0;
  margin-top: 4px;
}
.service-row:hover .service-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.service-arrow svg { width: 16px; height: 16px; }

/* ── ABOUT ───────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--ice);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 28px;
}
.about-left p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-right {
  border-left: 1px solid var(--rule);
  padding-left: 48px;
}
.cred-list { list-style: none; }
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.55;
  font-weight: 500;
}
.cred-list li:first-child { padding-top: 0; }
.cred-icon {
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 5px;
}
.about-cta { margin-top: 32px; }
.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  border: none; cursor: pointer;
}
.btn-solid:hover { background: var(--navy-mid); }
.btn-solid svg { width: 14px; height: 14px; }

/* ── LOCATIONS ───────────────────────────── */
.locations {
  padding: 100px 0;
  background: var(--white);
}
.locations-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.locations-top h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.loc-item {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.loc-item:nth-child(3n) { border-right: none; padding-right: 0; }
.loc-item:nth-child(2),
.loc-item:nth-child(3) { padding-left: 32px; }
.loc-city {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.loc-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 14px;
}
.loc-item p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── CTA ──────────────────────────────────── */
.contact-band {
  background: var(--navy);
  padding: 80px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.contact-inner > div > p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.contact-details {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 48px;
}
.contact-line { margin-bottom: 28px; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}
.contact-line a, .contact-line span {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}
.contact-line a:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner .logo { color: rgba(255,255,255,0.5); font-size: 0.95rem; }
.footer-inner .logo .logo-mark { background: rgba(255,255,255,0.12); }
.footer-inner .logo .logo-mark svg { color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ── SCROLL REVEAL ───────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sr.vis { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   BLOG / INSIGHTS
══════════════════════════════════════════ */

/* ── Insights archive (home.php) ─────────── */
.insights-page-header {
  padding: 120px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.insights-page-header .section-label { margin-bottom: 16px; }
.insights-page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.insights-page-header p {
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 500px;
  line-height: 1.75;
}

/* Featured (latest) post */
.featured-post-wrap {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}
.featured-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-light);
  margin-bottom: 28px;
}
.featured-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.featured-post-grid .post-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 14px;
}
.featured-post-grid h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  text-decoration: none;
}
.featured-post-grid a { text-decoration: none; color: inherit; }
.featured-post-grid a:hover h2 { color: var(--blue); }
.featured-post-grid .excerpt {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
}
.featured-post-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--ice);
}
.featured-post-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-post-thumb-placeholder svg {
  width: 40px; height: 40px;
  color: var(--rule);
}
.post-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--slate-light);
  font-weight: 500;
}
.post-meta-dot {
  width: 3px; height: 3px;
  background: var(--rule);
  border-radius: 50%;
}

/* Post list */
.post-list-wrap { padding: 0; }
.post-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.post-list-item:hover {
  background: var(--ice-warm);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
}
.post-list-date {
  font-size: 0.75rem;
  color: var(--slate-light);
  font-weight: 500;
  line-height: 1.5;
  padding-top: 3px;
}
.post-list-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 7px;
}
.post-list-item h2 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
}
.post-list-item:hover h2 { color: var(--blue); }
.post-list-excerpt {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.7;
}
.posts-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--slate);
  font-size: 0.92rem;
}

/* Pagination */
.pagination-wrap {
  padding: 48px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: all 0.2s;
}
.pagination-wrap a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.pagination-wrap .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Single post ─────────────────────────── */
.single-post-header {
  padding: 120px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.single-post-header .post-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 20px;
  text-decoration: none;
}
.single-post-header .post-cat:hover { color: var(--navy); }
.single-post-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 760px;
}
.post-standfirst {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 32px;
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--slate-light);
  font-weight: 500;
}
.post-byline .byline-divider {
  width: 3px; height: 3px;
  background: var(--rule);
  border-radius: 50%;
}
.post-byline .author-name { color: var(--navy); font-weight: 600; }

/* Hero image */
.post-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.post-hero-caption {
  font-size: 0.78rem;
  color: var(--slate-light);
  font-style: italic;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

/* Body + sidebar layout */
.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  padding: 56px 0 80px;
  align-items: start;
}

/* Post body typography */
.post-body { max-width: 680px; }
.post-body p {
  font-size: 0.975rem;
  color: var(--navy);
  line-height: 1.88;
  margin-bottom: 1.6em;
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2.2em 0 0.75em;
  padding-top: 1em;
  border-top: 1px solid var(--rule);
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.8em 0 0.6em;
}
.post-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 28px;
  margin: 2.2em 0;
}
.post-body blockquote p {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 10px;
}
.post-body blockquote cite {
  font-size: 0.75rem;
  color: var(--slate-light);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.post-body figure { margin: 2.5em 0; }
.post-body figure img { width: 100%; height: auto; }
.post-body figcaption,
.post-body .wp-caption-text {
  font-size: 0.78rem;
  color: var(--slate-light);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.5;
}
.post-body ul, .post-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.6em;
}
.post-body li {
  font-size: 0.975rem;
  color: var(--navy);
  line-height: 1.78;
  margin-bottom: 0.4em;
}
.post-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--navy); }
.post-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

/* Post sidebar */
.post-sidebar {}
.sidebar-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.sidebar-block:first-child { border-top: 1px solid var(--rule); }
.sidebar-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-recent a {
  display: block;
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
}
.sidebar-recent a:hover { color: var(--blue); }
.sidebar-recent .recent-date {
  font-size: 0.72rem;
  color: var(--slate-light);
  margin-bottom: 16px;
}
.sidebar-recent .recent-date:last-child { margin-bottom: 0; }

/* Post footer — prev/next nav */
.post-nav-footer {
  border-top: 2px solid var(--navy);
  padding: 48px 0 80px;
}
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.post-nav-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
}
.post-nav-link:hover { border-color: var(--blue); }
.post-nav-link.next { text-align: right; }
.post-nav-direction {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-light);
  margin-bottom: 8px;
}
.post-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.post-nav-link:hover .post-nav-title { color: var(--blue); }

/* Back to insights link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
  width: 100%;
  transition: color 0.2s;
}
.back-link:hover { color: var(--blue); }
.back-link svg { width: 14px; height: 14px; }

/* ── Generic page ────────────────────────── */
.page-header {
  padding: 120px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 640px;
}
.page-content-wrap {
  padding: 56px 0 100px;
  max-width: 760px;
}
.page-content-wrap p {
  font-size: 0.975rem;
  color: var(--navy);
  line-height: 1.85;
  margin-bottom: 1.5em;
}
.page-content-wrap h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2em 0 0.75em;
}

/* ── 404 ──────────────────────────────────── */
.error-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding-top: 64px;
}
.error-page-inner {
  padding: 80px 0;
}
.error-num {
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.error-page p {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .hero-upper { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
  .hero-banner { grid-template-columns: repeat(2, 1fr); }
  .services-header { grid-template-columns: 1fr; gap: 16px; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row:hover { margin: 0; padding-left: 0; padding-right: 0; }
  .service-body { grid-template-columns: 1fr; gap: 16px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-right { border-left: none; padding-left: 0; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-item { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-details { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; }
  .locations-top { flex-direction: column; align-items: start; gap: 16px; }
  .featured-post-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-content-wrap { grid-template-columns: 1fr; }
  .post-sidebar { border-top: 1px solid var(--rule); padding-top: 40px; }
  .post-nav-grid { grid-template-columns: 1fr; gap: 0; }
  .post-nav-link.next { text-align: left; }
  .post-list-item { grid-template-columns: 1fr; gap: 6px; }
  .post-list-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
}

@media (max-width: 600px) {
  .main-nav li:not(:last-child) { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-banner { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
