/*
Theme Name: SIL Specialist Theme
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A fast, SEO-optimised WordPress theme for SIL Specialist NDIS accommodation, Supported Independent Living and Drop-In Supports.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sil-specialist
Tags: accessibility-ready, custom-logo, featured-images, responsive-layout, blog
*/

:root {
  --sil-purple: #6e35a8;
  --sil-purple-2: #8b5bc1;
  --sil-purple-3: #efe7fb;
  --sil-green: #79b943;
  --sil-green-2: #4b963a;
  --sil-mint: #eef8e8;
  --sil-ink: #1d1930;
  --sil-text: #2a2438;
  --sil-muted: #645d71;
  --sil-line: #e8e1f1;
  --sil-bg: #fffdf9;
  --sil-white: #fff;
  --sil-radius: 24px;
  --sil-radius-lg: 38px;
  --sil-shadow-sm: 0 10px 25px rgba(31, 25, 50, .07);
  --sil-shadow: 0 20px 55px rgba(31, 25, 50, .12);
  --sil-shadow-lg: 0 30px 80px rgba(31, 25, 50, .18);
  --sil-container: 1180px;
  --sil-header-height: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sil-text);
  background: var(--sil-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sil-purple); }
button, input, textarea, select { font: inherit; }
svg { display: block; }
.screen-reader-text, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sil-purple);
  color: #fff;
}

.sil-container { width: min(calc(100% - 40px), var(--sil-container)); margin-inline: auto; }
.sil-section { padding: clamp(70px, 8vw, 118px) 0; }
.sil-section--tight { padding: clamp(48px, 6vw, 78px) 0; }
.sil-section--soft { background: linear-gradient(135deg, #fbf7ff 0%, #f4f9ee 100%); }
.sil-section--purple {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, var(--sil-purple), #512580);
  color: #fff;
}
.sil-section--purple h2, .sil-section--purple h3, .sil-section--purple .lead { color: #fff; }
.sil-section--purple p { color: rgba(255,255,255,.82); }
.sil-section--purple .section-eyebrow { color: #d6ffb8; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px;
  color: var(--sil-ink);
  line-height: 1.08;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(2.65rem, 5.6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.55rem); }
h3 { font-size: clamp(1.22rem, 1.6vw, 1.6rem); }
p { margin: 0 0 18px; color: var(--sil-muted); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); color: #443b55; }
.section-eyebrow {
  margin: 0 0 12px;
  color: var(--sil-purple);
  font-weight: 950;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--sil-header-height);
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 225, 241, .75);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  min-height: var(--sil-header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-branding { flex: 0 0 auto; }
.custom-logo-link img { max-width: 230px; max-height: 72px; object-fit: contain; }
.site-branding__fallback { display: inline-flex; align-items: center; gap: 12px; color: var(--sil-ink); }
.site-branding__mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sil-purple), var(--sil-green));
  color: #fff;
  box-shadow: 0 10px 28px rgba(110,53,168,.22);
}
.site-branding__mark svg { width: 30px; height: 30px; fill: currentColor; }
.site-branding__text strong { display: block; font-size: 1.12rem; line-height: 1; letter-spacing: -.03em; }
.site-branding__text em { display: block; margin-top: 4px; color: var(--sil-muted); font-style: normal; font-size: .78rem; font-weight: 800; }
.site-navigation { flex: 1 1 auto; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.primary-menu li { position: relative; }
.primary-menu a { display: block; padding: 10px 12px; border-radius: 999px; color: #40384f; font-weight: 850; font-size: .94rem; }
.primary-menu a:hover, .primary-menu a:focus { background: var(--sil-purple-3); color: var(--sil-purple); }
.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--sil-purple);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(110,53,168,.22);
}
.header-cta:hover { color: #fff; background: var(--sil-purple-2); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sil-btn, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 22px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--sil-purple), var(--sil-purple-2));
  color: #fff;
  font-weight: 950;
  line-height: 1.12;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(110,53,168,.25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.sil-btn:hover, .sil-btn:focus, .wp-block-button__link:hover, .wp-block-button__link:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(110,53,168,.32); }
.sil-btn--light { background: #fff; color: var(--sil-purple); box-shadow: var(--sil-shadow-sm); border: 1px solid var(--sil-line); }
.sil-btn--light:hover, .sil-btn--light:focus { color: var(--sil-purple); }
.sil-btn--green { background: linear-gradient(135deg, var(--sil-green), var(--sil-green-2)); box-shadow: 0 14px 34px rgba(75,150,58,.22); }
.sil-btn svg, .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sil-purple); font-weight: 950; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .16s ease; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--sil-header-height));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 4% 12%, rgba(121,185,67,.14), transparent 26%),
    radial-gradient(circle at 78% 4%, rgba(110,53,168,.14), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fbf8ff 56%, #f0e6ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 42%;
  height: 72%;
  border-radius: 70px;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, rgba(110,53,168,.12), rgba(121,185,67,.12));
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 5vw, 76px); align-items: center; padding: clamp(54px, 7vw, 92px) 0; }
.hero__content { max-width: 750px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--sil-purple);
  border: 1px solid var(--sil-line);
  box-shadow: var(--sil-shadow-sm);
  font-size: .88rem;
  font-weight: 950;
}
.hero__badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hero h1 { margin-bottom: 18px; max-width: 780px; }
.hero .lead { max-width: 660px; margin-bottom: 30px; }
.hero__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-radius: 19px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(232,225,241,.9);
  box-shadow: 0 10px 30px rgba(31,25,50,.06);
  color: var(--sil-ink);
  font-weight: 900;
  font-size: .92rem;
  line-height: 1.18;
}
.trust-pill span { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--sil-purple-3); color: var(--sil-purple); }
.trust-pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hero__visual { position: relative; min-height: 570px; }
.hero-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 46px 0 46px 46px;
  background: linear-gradient(135deg, #e9dcfb 0%, #fff 52%, #e4f4da 100%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--sil-shadow-lg);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.hero-house {
  position: relative;
  width: min(420px, 80%);
  aspect-ratio: 1.08;
  border-radius: 40px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.28);
}
.hero-house::before {
  content: "";
  position: absolute;
  left: 17%; right: 17%; top: 16%; height: 38%;
  background: var(--sil-purple);
  clip-path: polygon(50% 0, 100% 65%, 86% 65%, 86% 100%, 14% 100%, 14% 65%, 0 65%);
}
.hero-house span { position: absolute; bottom: 17%; width: 18%; height: 28%; border-radius: 16px 16px 4px 4px; background: var(--sil-green); }
.hero-house span:nth-child(1) { left: 20%; }
.hero-house span:nth-child(2) { left: 41%; height: 39%; background: var(--sil-purple-2); }
.hero-house span:nth-child(3) { right: 20%; }
.hero-stat {
  position: absolute;
  left: -26px;
  bottom: 38px;
  width: 225px;
  padding: 20px;
  border-radius: 25px;
  background: #fff;
  border: 1px solid var(--sil-line);
  box-shadow: var(--sil-shadow);
}
.hero-stat--right { left: auto; right: -20px; top: 40px; bottom: auto; }
.hero-stat strong { display: block; color: var(--sil-purple); font-size: 2.25rem; line-height: .96; letter-spacing: -.06em; }
.hero-stat span { display: block; margin-top: 6px; color: var(--sil-muted); font-weight: 850; line-height: 1.25; }

.feature-strip { position: relative; z-index: 3; margin-top: -34px; }
.feature-strip__inner { display: grid; grid-template-columns: 1.22fr repeat(4, 1fr); overflow: hidden; border-radius: 26px; background: linear-gradient(135deg, var(--sil-purple), #4e247a); color: #fff; box-shadow: var(--sil-shadow-lg); }
.feature-strip__intro, .feature-mini { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.feature-strip__intro p { margin: 0; color: rgba(255,255,255,.74); font-size: .78rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.feature-strip__intro strong { display: block; margin-top: 5px; font-size: 1.52rem; line-height: 1.05; letter-spacing: -.04em; }
.feature-mini { display: flex; align-items: center; gap: 12px; font-size: .91rem; font-weight: 900; line-height: 1.16; }
.feature-mini svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; opacity: .92; }

/* Layout blocks */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 74px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.media-card { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--sil-radius-lg); box-shadow: var(--sil-shadow); background: linear-gradient(135deg, var(--sil-purple-3), var(--sil-mint)); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card--pattern::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.72); border-radius: calc(var(--sil-radius-lg) - 12px); z-index: 1; pointer-events: none; }
.media-card__fallback { width: 100%; height: 100%; min-height: 440px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 38px; text-align: center; color: var(--sil-purple); }
.media-card__fallback svg { width: 92px; height: 92px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.media-card__fallback strong { max-width: 320px; color: var(--sil-ink); font-size: 1.6rem; line-height: 1.1; letter-spacing: -.04em; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--sil-muted); font-weight: 760; }
.check-list svg { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; color: var(--sil-green-2); fill: none; stroke: currentColor; stroke-width: 3; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-row span { padding: 9px 13px; border-radius: 999px; background: var(--sil-purple-3); color: var(--sil-purple); font-weight: 900; font-size: .9rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; min-height: 100%; overflow: hidden; padding: 29px; border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--sil-purple), var(--sil-green)); opacity: 0; transition: opacity .18s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sil-shadow); border-color: rgba(110,53,168,.24); }
.service-card:hover::before { opacity: 1; }
.service-card__icon, .icon-circle { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sil-purple-3), #fff); color: var(--sil-purple); box-shadow: inset 0 0 0 1px rgba(110,53,168,.08); }
.service-card__icon svg, .icon-circle svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 20px; margin-bottom: 10px; }
.service-card p { margin-bottom: 0; }

.support-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.support-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.support-item { display: flex; align-items: center; gap: 10px; min-height: 74px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); font-weight: 870; color: var(--sil-ink); }
.support-item svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--sil-green-2); fill: none; stroke: currentColor; stroke-width: 3; }

.activity-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.activity-card span { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 16px; border-radius: 19px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 900; }
.activity-card svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.3; color: #d6ffb8; }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--sil-header-height) + 30px); }
.steps { display: grid; gap: 18px; }
.steps > div { position: relative; padding: 26px 28px 26px 86px; border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); }
.steps > div strong { position: absolute; top: 24px; left: 24px; width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; background: var(--sil-purple); color: #fff; font-weight: 950; }
.steps > div h3 { margin-bottom: 6px; }
.steps > div p { margin: 0; }
.steps--small > div { padding: 22px 22px 22px 78px; }
.steps--small > div strong { top: 22px; left: 22px; }

/* Pages */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fbf7ff 58%, #f4f9ee 100%); border-bottom: 1px solid var(--sil-line); }
.page-hero::after { content: ""; position: absolute; right: -130px; bottom: -170px; width: 440px; height: 440px; border-radius: 50%; background: rgba(110,53,168,.08); }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; align-items: center; padding: clamp(58px, 7vw, 96px) 0; }
.breadcrumbs { margin-bottom: 20px; color: var(--sil-muted); font-size: .92rem; font-weight: 820; }
.breadcrumbs a { color: var(--sil-purple); }
.hero-mini-card { padding: 28px; border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow); }
.hero-mini-card strong { display: block; margin-bottom: 8px; color: var(--sil-purple); font-size: 2.1rem; line-height: 1; letter-spacing: -.05em; }
.hero-mini-card span { color: var(--sil-muted); font-weight: 820; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value-card { padding: 28px; border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); }
.value-card h3 { margin-top: 20px; margin-bottom: 9px; }
.value-card p { margin-bottom: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat-box { padding: 28px; border-radius: var(--sil-radius); background: linear-gradient(135deg, #fff, #fbf7ff); border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); }
.stat-box strong { display: block; color: var(--sil-purple); font-size: 2.35rem; line-height: 1; letter-spacing: -.06em; }
.stat-box span { display: block; margin-top: 10px; color: var(--sil-muted); font-weight: 860; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--sil-radius-lg); background: linear-gradient(135deg, var(--sil-purple), #4e247a); color: #fff; box-shadow: var(--sil-shadow-lg); }
.cta-panel h2 { color: #fff; margin-bottom: 8px; }
.cta-panel p { color: rgba(255,255,255,.82); margin: 0; }

/* Contact & forms */
.contact-layout, .intake-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact-panel, .intake-aside { position: sticky; top: calc(var(--sil-header-height) + 30px); }
.contact-methods { display: grid; gap: 13px; margin-top: 26px; }
.contact-methods a, .contact-methods div { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); }
.contact-methods svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--sil-purple); fill: none; stroke: currentColor; stroke-width: 2.2; margin-top: 3px; }
.contact-methods strong { display: block; color: var(--sil-ink); }
.contact-methods span { color: var(--sil-muted); font-weight: 760; }
.contact-image { margin-top: 22px; border-radius: 24px; box-shadow: var(--sil-shadow-sm); }
.form-card { padding: clamp(24px, 4vw, 38px); border-radius: var(--sil-radius-lg); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-card label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--sil-ink); font-weight: 900; }
.form-card input, .form-card textarea, .form-card select { width: 100%; border: 1px solid #ddd3ea; border-radius: 15px; background: #fff; color: var(--sil-text); padding: 13px 14px; outline: 0; transition: border-color .16s ease, box-shadow .16s ease; }
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--sil-purple); box-shadow: 0 0 0 4px rgba(110,53,168,.1); }
.field-hidden { display: none; }
.sil-form-notice { padding: 14px 16px; border-radius: 15px; margin-bottom: 18px; font-weight: 850; }
.sil-form-notice--success { background: #eef8e8; color: #2e7124; border: 1px solid #cfeac2; }
.sil-form-notice--error { background: #fff0f0; color: #9a2a2a; border: 1px solid #ffd2d2; }

/* Blog & content */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { overflow: hidden; border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sil-shadow); }
.post-card__image { display: grid; place-items: center; aspect-ratio: 1.58 / 1; background: linear-gradient(135deg, var(--sil-purple-3), var(--sil-mint)); color: var(--sil-purple); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__image svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.post-card__content { padding: 24px; }
.post-meta { margin: 0 0 8px; color: var(--sil-purple); font-weight: 920; font-size: .86rem; }
.post-card h2 { font-size: 1.35rem; line-height: 1.18; margin-bottom: 10px; }
.pagination-wrap { margin-top: 40px; text-align: center; }
.pagination-wrap .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; margin: 4px; padding: 0 12px; border-radius: 13px; background: #fff; border: 1px solid var(--sil-line); font-weight: 900; }
.pagination-wrap .current { background: var(--sil-purple); color: #fff; }
.content-wrap { max-width: 860px; }
.content-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--sil-radius); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); }
.content-card + .content-card { margin-top: 20px; }
.content-card--article { font-size: 1.08rem; }
.content-card a { color: var(--sil-purple); font-weight: 850; }
.content-card ul, .content-card ol { color: var(--sil-muted); }
.single-featured { overflow: hidden; margin-bottom: 24px; border-radius: var(--sil-radius-lg); box-shadow: var(--sil-shadow); }
.single-featured img { width: 100%; max-height: 520px; object-fit: cover; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; }
.post-nav a { padding: 12px 16px; border-radius: 15px; background: #fff; border: 1px solid var(--sil-line); font-weight: 900; color: var(--sil-purple); }
.empty-state { padding: clamp(32px, 5vw, 56px); border-radius: var(--sil-radius-lg); background: #fff; border: 1px solid var(--sil-line); box-shadow: var(--sil-shadow-sm); text-align: center; }

/* Footer */
.site-footer { background: #171225; color: #fff; }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer .section-eyebrow { color: #d6ffb8; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { color: #fff; max-width: 650px; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 42px; padding: clamp(42px, 6vw, 66px) 0; }
.site-footer .site-branding__fallback { color: #fff; }
.site-footer .site-branding__text em { color: rgba(255,255,255,.68); }
.footer-brand p { max-width: 410px; margin-top: 18px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer-menu, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { color: rgba(255,255,255,.75); font-weight: 800; }
.footer-menu a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.75); font-weight: 760; }
.footer-contact svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--sil-green); fill: none; stroke: currentColor; stroke-width: 2.2; margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; font-size: .9rem; }

/* WordPress alignment */
.alignwide { max-width: var(--sil-container); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .9rem; color: var(--sil-muted); }
.gallery { display: grid; gap: 16px; }

@media (max-width: 1100px) {
  .hero__inner, .split, .split--reverse, .process-grid, .contact-layout, .intake-layout { grid-template-columns: 1fr; }
  .hero__visual { min-height: 480px; max-width: 680px; width: 100%; }
  .feature-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip__intro { grid-column: 1 / -1; }
  .support-grid, .support-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-intro, .contact-panel, .intake-aside { position: static; }
}

@media (max-width: 920px) {
  :root { --sil-header-height: auto; }
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { flex-wrap: wrap; justify-content: center; padding: 14px 0; }
  .site-branding { width: 100%; display: flex; justify-content: center; }
  .site-navigation { order: 3; width: 100%; }
  .primary-menu { justify-content: center; flex-wrap: wrap; }
  .header-cta { order: 2; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .hero-mini-card { max-width: 420px; }
  .service-grid, .value-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel, .footer-cta, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .sil-container { width: min(calc(100% - 28px), var(--sil-container)); }
  .sil-section { padding: 58px 0; }
  .hero { min-height: auto; }
  .hero__inner { padding: 44px 0 70px; }
  .hero__trust, .service-grid, .value-grid, .blog-grid, .support-grid, .support-grid--compact, .stats-grid, .form-grid, .activity-card { grid-template-columns: 1fr; }
  .hero__visual { min-height: 390px; }
  .hero-card { border-radius: 32px 0 32px 32px; }
  .hero-stat { left: 10px; bottom: 18px; width: 190px; padding: 16px; }
  .hero-stat--right { right: 10px; top: 18px; }
  .hero-stat strong { font-size: 1.7rem; }
  .feature-strip { margin-top: -20px; }
  .feature-strip__inner { grid-template-columns: 1fr; }
  .feature-strip__intro, .feature-mini { padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .media-card, .media-card__fallback { min-height: 330px; }
  .page-hero__inner { padding: 46px 0; }
  .hero-mini-card { padding: 22px; }
  .steps > div { padding: 22px; }
  .steps > div strong { position: static; margin-bottom: 12px; }
  .contact-methods a, .contact-methods div { padding: 15px; }
  .form-card { border-radius: 26px; }
  .footer-cta__buttons { width: 100%; }
  .footer-cta__buttons .sil-btn { width: 100%; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.9rem; }
  .primary-menu a { padding: 8px 9px; font-size: .88rem; }
  .header-cta { width: 100%; justify-content: center; }
  .sil-btn { width: 100%; }
  .hero-stat { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 12px 0 0; }
  .hero__visual { min-height: auto; display: grid; gap: 12px; }
  .hero-card { position: relative; min-height: 300px; }
}
