/*
Theme Name: Christina Kirby Counselling – Clean v1.1
Theme URI: https://christinakirby.co.uk/
Author: Christina Kirby Counselling
Description: A custom Gutenberg block theme for Christina Kirby Counselling, designed around the approved sage, ivory and dandelion visual direction.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: christina-kirby-counselling
*/

:root {
  --ck-ivory: #f8f6ef;
  --ck-paper: #fcfbf7;
  --ck-sage: #dfe7dc;
  --ck-sage-2: #c9d5c5;
  --ck-green: #6e8572;
  --ck-green-dark: #516956;
  --ck-ink: #272b28;
  --ck-muted: #69716c;
  --ck-rule: #d8ddd4;
  --ck-max: 1120px;
}

html { scroll-behavior: smooth; }
body { margin:0; background:var(--ck-paper); color:var(--ck-ink); }
body, button, input, textarea { font-family: Inter, Arial, sans-serif; }
h1,h2,h3,h4,.ck-brand-name,.ck-brand-counselling,.ck-quote { font-family: "Instrument Serif", Georgia, serif; font-weight:400; }

.wp-site-blocks { padding:0; }
.wp-site-blocks > * { margin-block-start:0; }

.ck-shell { max-width:var(--ck-max); margin-inline:auto; padding-inline:28px; }
.ck-header-wrap { background:rgba(252,251,247,.96); border-bottom:1px solid var(--ck-rule); position:sticky; top:0; z-index:20; backdrop-filter:blur(8px); }
.ck-header { min-height:84px; max-width:1240px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; }
.ck-header .ck-button { white-space:nowrap; flex:none; }
.ck-brand { display:flex; align-items:center; gap:0; text-decoration:none; color:var(--ck-ink); }
.ck-brand-text { transform: translateY(3mm); }
.ck-brand-mark { margin-right:-13px; }
.ck-brand-mark svg { display:none; }
.ck-brand-mark img { width:70px; height:auto; display:block; }
.ck-brand-text { line-height:.92; }
.ck-brand-name { font-size:20px; display:block; }
.ck-brand-counselling { font-size:31px; display:block; }
.ck-nav { display:flex; justify-content:center; gap:12px; align-items:center; flex-wrap:nowrap; }
.ck-nav a { color:var(--ck-ink); text-decoration:none; font-size:12.5px; white-space:nowrap; padding:9px 0 6px; border-bottom:1px solid transparent; }
.ck-nav > a, .ck-drop { position:relative; }
.ck-drop-toggle { display:inline-flex; align-items:center; gap:5px; color:var(--ck-ink); text-decoration:none; font-size:12.5px; white-space:nowrap; padding:9px 0 6px; border-bottom:1px solid transparent; }
.ck-caret { display:inline-block; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid currentColor; }
.ck-nav a:hover, .ck-nav a:focus, .ck-drop:hover .ck-drop-toggle, .ck-drop:focus-within .ck-drop-toggle { border-bottom-color:var(--ck-ink); }
.ck-drop-menu { position:absolute; top:100%; left:50%; transform:translateX(-50%); background:#fff; border:1px solid var(--ck-rule); border-radius:8px; box-shadow:0 10px 24px rgba(39,43,40,.1); min-width:192px; padding:7px; display:none; z-index:40; }
.ck-drop:hover .ck-drop-menu, .ck-drop:focus-within .ck-drop-menu { display:block; }
.ck-drop-menu a { display:block; padding:8px 12px; font-size:13px; color:var(--ck-ink); border-bottom:0; border-radius:6px; }
.ck-drop-menu a:hover, .ck-drop-menu a:focus { background:#f3f1e9; }
<a class="ck-button" href="/contact/">Arrange a free introductory call</a>

/* === compact / mobile navigation === */
.ck-menu-toggle { display:none; }
.ck-mobile-panel { display:none; }
@media (min-width:1161px) { .ck-menu-toggle, .ck-mobile-panel, .ck-mobile-panel.open { display:none !important; } }
@media (max-width:1160px){
  .ck-header { grid-template-columns:1fr auto; min-height:76px; padding-block:12px; gap:12px; }
  .ck-header .ck-nav { display:none; }
  .ck-header .ck-header-cta { display:none; }
  .ck-menu-toggle { display:inline-flex; }
  /* logo sized for mobile (~200px lockup) */
  .ck-header .ck-brand-mark img { width:60px; }
  .ck-header .ck-brand-name { font-size:18px; }
  .ck-header .ck-brand-counselling { font-size:29px; }
  .ck-mobile-panel { padding:6px 24px 22px; }
  .ck-mobile-panel.open { display:block; animation:ckMenuIn .22s ease; }
  @keyframes ckMenuIn { from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:none;} }
}
.ck-menu-toggle { width:48px; height:48px; border:1px solid var(--ck-rule); border-radius:10px; background:#fff; cursor:pointer; align-items:center; justify-content:center; gap:5px; flex-direction:column; padding:0; }
.ck-mt-bar { width:22px; height:2px; background:var(--ck-ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.ck-menu-toggle.is-open .ck-mt-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.ck-menu-toggle.is-open .ck-mt-bar:nth-child(2){ opacity:0; }
.ck-menu-toggle.is-open .ck-mt-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.ck-menu-toggle:focus-visible { outline:3px solid #a9b8a9; outline-offset:2px; }
.ck-mobile-panel { position:absolute; top:100%; left:0; right:0; background:var(--ck-paper); border-bottom:1px solid var(--ck-rule); box-shadow:0 18px 30px rgba(39,43,40,.08); box-sizing:border-box; max-height:calc(100vh - 101px); max-height:calc(100dvh - 101px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
.ck-mobile-nav { display:flex; flex-direction:column; }
.ck-mob-link { flex:1; font-size:15px; color:var(--ck-ink); text-decoration:none; padding:16px 0; border-bottom:1px solid var(--ck-rule); }
.ck-mob-item { display:flex; flex-wrap:wrap; align-items:center; border-bottom:1px solid var(--ck-rule); }
.ck-mob-item .ck-mob-link { border-bottom:0; flex:1 1 auto; }
.ck-mob-caret { flex:0 0 48px; margin-left:auto; width:48px; height:48px; border:0; background:none; cursor:pointer; display:grid; place-items:center; }
.ck-mob-caret .ck-caret { transition:transform .18s ease; }
.ck-has-sub.open .ck-mob-caret .ck-caret { transform:rotate(180deg); }
.ck-mob-caret:focus-visible { outline:3px solid #a9b8a9; outline-offset:2px; border-radius:8px; }
.ck-mob-sub { flex:0 0 100%; max-height:0; overflow:hidden; transition:max-height .25s ease; }
.ck-has-sub.open .ck-mob-sub { max-height:420px; }
.ck-mob-sub a { display:block; padding:13px 0 13px 14px; font-size:14.5px; color:var(--ck-green-dark); text-decoration:none; border-bottom:1px solid var(--ck-rule); }
.ck-mob-sub a:focus-visible { outline:2px solid #a9b8a9; outline-offset:2px; border-radius:6px; }
.ck-mob-link:focus-visible { outline:2px solid #a9b8a9; outline-offset:2px; border-radius:6px; }
.ck-mobile-cta { margin:20px 0 4px; width:100%; max-width:100%; box-sizing:border-box; justify-content:center; }
@media (prefers-reduced-motion: reduce) {
  .ck-mobile-panel.open { animation:none; }
  .ck-mt-bar, .ck-mob-caret .ck-caret, .ck-mob-sub { transition:none; }
}

.ck-button, .wp-element-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 26px; border-radius:999px; background:#516956; color:#fff; text-decoration:none; border:1px solid #516956; font-weight:500; letter-spacing:.01em; }
.ck-button:hover,.ck-button:focus { background:#475A4C; border-color:#475A4C; color:#fff; }
.wp-block-button .wp-element-button { background:#516956; border-color:#516956; color:#fff; }
.wp-block-button .wp-element-button:hover,.wp-block-button .wp-element-button:focus { background:#475A4C; border-color:#475A4C; color:#fff; }
.ck-button:focus-visible,.wp-element-button:focus-visible { outline:3px solid #a9b8a9; outline-offset:2px; }
.ck-button-outline { background:transparent; color:var(--ck-green-dark); border-color:#bcc8bc; }
.ck-button-outline:hover,.ck-button-outline:focus { background:#eef2ea; color:var(--ck-green-dark); }
.wp-block-button.is-style-outline .wp-element-button { background:transparent; color:var(--ck-green-dark); border-color:#bcc8bc; }
.wp-block-button.is-style-outline .wp-element-button:hover, .wp-block-button.is-style-outline .wp-element-button:focus { background:#eef2ea; color:var(--ck-green-dark); }
.ck-text-link { color:var(--ck-ink); text-decoration:none; border-bottom:1px solid var(--ck-ink); padding-bottom:4px; }
.entry-content p a, .entry-content li a { color:var(--ck-green-dark); text-decoration:underline; text-decoration-color:rgba(81,105,86,.35); text-underline-offset:2px; }
.entry-content p a:hover, .entry-content p a:focus, .entry-content li a:hover, .entry-content li a:focus { color:var(--ck-ink); text-decoration-color:var(--ck-green-dark); }

.ck-hero { background:var(--ck-ivory); }
.ck-hero-grid { display:grid; grid-template-columns: 1.03fr .97fr; min-height:545px; max-width:1400px; margin-inline:auto; }
.ck-hero-copy { padding:52px max(36px,calc((min(100vw, 1400px) - var(--ck-max))/2 + 28px)) 34px; display:flex; flex-direction:column; justify-content:center; }
.ck-eyebrow { font-size:11px; letter-spacing:.23em; text-transform:uppercase; color:#59635d; margin:0 0 18px; font-weight:600; }
.ck-hero h1 { font-size:clamp(56px,5vw,78px); line-height:.92; letter-spacing:-.025em; margin:0 0 22px; max-width:680px; }
.ck-hero p { font-size:16px; line-height:1.58; max-width:610px; margin:0 0 16px; color:#343a36; }
.ck-hero .ck-reassurance { font-family:"Instrument Serif",Georgia,serif; font-size:21px; font-style:italic; margin-top:4px; }
.ck-hero-actions { display:flex; gap:22px; align-items:center; flex-wrap:wrap; margin:6px 0 22px; }
.ck-trust-line { font-size:11px; letter-spacing:.19em; line-height:1.55; text-transform:uppercase; color:#5d6760; max-width:560px; }
.ck-hero-image { background-image:url('./assets/images/hero-dandelion.jpg'); background-size:cover; background-position:center; min-height:545px; }

.ck-about { background:#fff; padding:38px 0 22px; }
.ck-about-grid { max-width:1120px; margin:auto; padding:0 28px; display:grid; grid-template-columns: 0.96fr 1.12fr .70fr; gap:36px; align-items:center; }
.ck-about-photo { aspect-ratio:2/3; border-radius:0; background:url('./assets/images/christina-portrait.jpg') center/cover no-repeat; }
.ck-about-copy h2 { font-size:50px; line-height:1; margin:0 0 18px; }
.ck-about-copy p { font-size:15px; line-height:1.5; margin:0 0 13px; }
.ck-credentials { font-size:11px !important; letter-spacing:.17em; text-transform:uppercase; color:#52605a; margin-top:16px !important; }
.ck-about-quote { border-left:1px solid var(--ck-rule); padding-left:26px; }
.ck-seed-img { width:156px; height:auto; display:block; }
.ck-quote { color:#78907c; font-size:27px; line-height:1.16; font-style:italic; }
.ck-about-link { display:inline-block; margin-top:8px; color:#fff; text-decoration:none; background:var(--ck-green); border-radius:999px; padding:12px 25px; }

.ck-three { background:#fff; padding:16px 0 32px; }
.ck-three-grid { max-width:1120px; margin:auto; padding:0 28px; display:grid; grid-template-columns:repeat(3,1fr); }
.ck-three-card { text-align:center; padding:20px 42px 12px; }
.ck-three-card + .ck-three-card { border-left:1px solid var(--ck-rule); }
.ck-icon { width:58px; height:58px; margin:0 auto 16px; border-radius:50%; background:#edf2ea; display:grid; place-items:center; }
.ck-icon svg { width:31px; height:31px; }
.ck-three-card h3 { font-size:30px; line-height:1.05; margin:0 0 12px; }
.ck-three-card p { font-size:14px; line-height:1.5; margin:0 auto 14px; max-width:290px; }
.ck-three-card a { color:var(--ck-ink); text-decoration:none; border-bottom:1px solid var(--ck-ink); padding-bottom:4px; }

.ck-cta { position:relative; overflow:hidden; min-height:150px; background:linear-gradient(rgba(219,229,215,.88),rgba(219,229,215,.88)),url('./assets/images/hero-dandelion.jpg') center 62%/cover no-repeat; display:grid; place-items:center; }
.ck-cta-inner { text-align:center; padding:24px 28px; max-width:850px; }
.ck-cta h2 { font-size:39px; line-height:1.05; margin:0 0 8px; }
.ck-cta p { margin:0 0 15px; font-size:15px; }

.ck-footer { background:#fff; border-top:1px solid #eceeea; }
.ck-footer-grid { max-width:1120px; margin:auto; padding:28px; display:grid; grid-template-columns:1.15fr .9fr 1.5fr; gap:30px; align-items:center; }
.ck-footer-brand { display:flex; align-items:center; gap:0; }
.ck-footer-brand .ck-brand-mark img { width:58px; height:auto; }
.ck-footer-brand .ck-brand-mark svg { display:none; }
.ck-footer-brand .ck-brand-name { font-size:16px; }
.ck-footer-brand .ck-brand-counselling { font-size:25px; }
.ck-tagline { margin:6px 0 0; font-size:13px; color:#5d6861; }
.ck-footer-mid { font-size:13px; line-height:1.7; color:#565e59; }
.ck-footer-mid a { color:#565e59; text-decoration:none; }
.ck-footer-links { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:11px 22px; }
.ck-footer-links a { color:var(--ck-ink); text-decoration:none; font-size:13px; }
.ck-copyright { text-align:center; font-size:11px; color:#7c837f; padding:0 20px 16px; }
.ck-footer-bacp { display:flex; align-items:center; justify-content:center; padding:0 20px 16px; }
.ck-footer-bacp a { display:flex; align-items:center; justify-content:center; gap:10px; color:#7c837f; text-decoration:none; }
.ck-footer-bacp a:hover span { text-decoration:underline; }
.ck-footer-bacp img { height:32px; width:auto; display:block; opacity:.92; }
.ck-footer-bacp span { font-size:11px; color:#7c837f; letter-spacing:.02em; }

@media (max-width:1100px){
  /* header navigation handled by compact hamburger nav (see above) */
}
@media (max-width: 980px) {
  .ck-hero-grid { grid-template-columns:1fr; }
  .ck-hero-copy { padding:52px 28px 34px; }
  .ck-hero-image { min-height:420px; }
  .ck-about-grid { grid-template-columns:1fr 1.3fr; }
  .ck-about-quote { grid-column:1/-1; border-left:0; border-top:1px solid var(--ck-rule); padding:22px 0 0; display:flex; align-items:center; gap:20px; }
  .ck-three-card { padding-inline:26px; }
  .ck-footer-grid { grid-template-columns:1fr 1fr; }
  .ck-footer-links { grid-column:1/-1; justify-content:flex-start; }
}
@media (max-width: 700px) {
  .ck-hero h1 { font-size:52px; }
  .ck-hero-image { min-height:330px; }
  .ck-about-grid { grid-template-columns:1fr; padding-inline:22px; }
  .ck-about-copy h2 { font-size:42px; }
  .ck-about-quote { grid-column:auto; }
  .ck-three-grid { grid-template-columns:1fr; padding-inline:22px; }
  .ck-three-card + .ck-three-card { border-left:0; border-top:1px solid var(--ck-rule); }
  .ck-three-card { padding:28px 8px; }
  .ck-cta h2 { font-size:34px; }
  .ck-footer-grid { grid-template-columns:1fr; padding-inline:22px; }
  .ck-footer-links { grid-column:auto; justify-content:flex-start; }
}

/* === inner pages === */
.ck-eyebrow { margin:0 0 12px !important; }
.ck-page-lead { font-family:"Instrument Serif",Georgia,serif; font-size:24px; line-height:1.4; color:#3b423d; margin:0 0 8px; }
.ck-breadcrumb { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#7c837f; margin:0 0 0; }
.ck-breadcrumb a { color:inherit; text-decoration:none; }
.ck-breadcrumb a:hover { text-decoration:underline; }
.ck-byline { font-size:13px; letter-spacing:.04em; color:#7c837f; margin:0 0 28px; }
.ck-section { margin:0; }
.ck-callout { background:#eef2ea; border-left:3px solid var(--ck-green); padding:18px 22px; border-radius:0 8px 8px 0; color:#3b423d; }
.ck-about-portrait.wp-block-image { max-width:360px; }
.ck-about-portrait.wp-block-image img { width:100%; height:auto; display:block; border-radius:0; }
.ck-callout p { margin:0; }
.ck-bacp-logo.wp-block-image { margin:18px 0 0; }
.ck-bacp-logo.wp-block-image img { max-width:210px; width:100%; height:auto; display:block; border-radius:0; }
.ck-fact-card { border:1px solid var(--ck-rule); border-radius:12px; padding:6px 22px 14px; background:#fbfaf5; }
.ck-fact-row { display:flex; gap:16px; padding:11px 0; border-bottom:1px solid var(--ck-rule); }
.ck-fact-row:last-child { border-bottom:0; }
.ck-fact-row .ck-fact-label { flex:0 0 170px; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#6a726c; padding-top:3px; }
.ck-fact-row p { margin:0; font-size:15px; color:#3b423d; }
.ck-panel-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:34px; align-items:center; }
.ck-panel-portrait.wp-block-image img { width:100%; height:auto; display:block; border-radius:0; }
.ck-online-photo.wp-block-image img { width:100%; height:auto; display:block; border-radius:0; }
.ck-img { border-radius:9px; width:100%; height:auto; display:block; }
figure.wp-block-image img { border-radius:9px; }
.ck-links-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; }
.ck-links-grid > .wp-block-group { flex:1 1 30%; max-width:32%; min-width:220px; margin-block-start:0; }
.ck-link-card { display:block; background:#f3f1e9; border:1px solid var(--ck-rule); border-radius:10px; padding:20px 24px; text-decoration:none; color:var(--ck-ink); }
.ck-link-card:hover { border-color:var(--ck-green); background:#eef2ea; }
.ck-link-card h3 { font-size:22px; margin:0 0 6px; color:var(--ck-ink); }
.ck-link-card p { margin:0; font-size:14px; color:#5a625c; }
.ck-resource-card { display:block; background:#f3f1e9; border:1px solid var(--ck-rule); border-radius:10px; padding:20px 24px; text-decoration:none; color:var(--ck-ink); }
.ck-resource-card:hover { border-color:var(--ck-green); background:#eef2ea; }
.ck-resource-card h3 { font-size:19px; margin:0 0 6px; }
.ck-resource-card .ck-resource-meta { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#7c837f; margin:0; }
.ck-resource-card .ck-coming-soon { display:inline-block; margin-top:12px; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#7c837f; border:1px solid var(--ck-rule); border-radius:999px; padding:3px 12px; }
.ck-page-cta { background:linear-gradient(rgba(219,229,215,.9),rgba(219,229,215,.9)), url('./assets/images/hero-dandelion.jpg') center 62%/cover no-repeat; border-radius:14px; padding:40px 28px; text-align:center; }
.ck-page-cta h2 { font-size:30px; margin:0 0 8px; color:var(--ck-ink); }
.ck-page-cta p { margin:0 auto 20px; font-size:15px; color:#3b423d; max-width:620px; }
.ck-page-cta .wp-block-buttons { justify-content:center; }
.ck-note { font-size:13px; color:#69716c; }
.wp-block-jetpack-contact-form label { font-size:13px; font-weight:600; color:#4a524c; }
.wp-block-jetpack-contact-form input[type=text], .wp-block-jetpack-contact-form input[type=email], .wp-block-jetpack-contact-form input[type=tel], .wp-block-jetpack-contact-form input[type=url], .wp-block-jetpack-contact-form select, .wp-block-jetpack-contact-form textarea {
  box-sizing:border-box; width:100%; max-width:100%; border:1px solid var(--ck-rule); border-radius:9px; background:#fff; padding:12px 14px; font-size:15px; font-family:Inter,Arial,sans-serif; color:var(--ck-ink); margin-top:6px;
}
.wp-block-jetpack-contact-form input:focus, .wp-block-jetpack-contact-form select:focus, .wp-block-jetpack-contact-form textarea:focus { outline:none; border-color:var(--ck-green-dark); box-shadow:0 0 0 3px rgba(81,105,86,.18); }
/* Contact Form 7 — mirror Jetpack form styling */
.wpcf7 label { display:block; font-size:13px; font-weight:600; color:#4a524c; }
.wpcf7 .wpcf7-form-control-wrap { display:block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 select, .wpcf7 textarea {
  box-sizing:border-box; width:100%; max-width:100%; border:1px solid var(--ck-rule); border-radius:9px; background:#fff; padding:12px 14px; font-size:15px; font-family:Inter,Arial,sans-serif; color:var(--ck-ink); margin-top:6px;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline:none; border-color:var(--ck-green-dark); box-shadow:0 0 0 3px rgba(81,105,86,.18); }
.wpcf7 .wpcf7-list-item { margin:0; display:flex; align-items:flex-start; gap:10px; margin-top:14px; }
.wpcf7 input[type=checkbox] { width:auto; margin-top:2px; accent-color:var(--ck-green); }
.wpcf7 .wpcf7-list-item-label { font-weight:400; font-size:13px; color:#69716c; line-height:1.55; }
.wpcf7 .wpcf7-list-item-label a { color:var(--ck-green-dark); text-decoration:underline; }
.wpcf7 input[type=submit] {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 26px; border-radius:999px; background:#516956; color:#fff; text-decoration:none; border:1px solid #516956; font-weight:500; letter-spacing:.01em; cursor:pointer; font-size:15px; margin-top:8px;
}
.wpcf7 input[type=submit]:hover, .wpcf7 input[type=submit]:focus { background:#475A4C; border-color:#475A4C; color:#fff; }
.wpcf7 input[type=submit]:focus-visible { outline:3px solid #a9b8a9; outline-offset:2px; }
.wpcf7 .wpcf7-response-output { margin:14px 0 0; padding:12px 14px; border-radius:9px; font-size:13px; }
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok { border:1px solid #bcc8bc; color:#3b423d; background:#eef2ea; }
.wpcf7 .wpcf7-response-output.wpcf7-validation-errors, .wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng { border:1px solid #e0c9c0; color:#7c3f2e; background:#f7ede8; }
.ck-young-img { aspect-ratio:3/2; overflow:hidden; border-radius:9px; }
.ck-young-img img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:700px){
  .ck-panel-grid { grid-template-columns:1fr; }
  .ck-links-grid > .wp-block-group { flex:1 1 100%; max-width:100%; min-width:0; }
  .ck-fact-row { display:block; }
  .ck-fact-row .ck-fact-label { margin-bottom:3px; }
}

/* === responsive refinements (mobile + tablet) === */
.ck-page-pad { padding:56px 24px 72px; }
h1,h2,h3 { text-wrap:balance; }
p { text-wrap:pretty; }
.ck-page-title { font-size:clamp(42px, 9vw, 56px) !important; line-height:1.04; }
.entry-content p.ck-page-lead { font-size:clamp(25px, 7vw, 31px); line-height:1.35; }
.ck-breadcrumb { overflow-wrap:anywhere; line-height:1.5; }

/* tablet: slightly wider gutters, 2-column card grids */
@media (min-width:701px) and (max-width:1160px){
  .ck-page-pad { padding-left:36px; padding-right:36px; }
  .ck-mobile-panel { padding:6px 32px 22px; }
  .ck-links-grid > .wp-block-group { flex:1 1 45%; max-width:47%; }
  .ck-footer-grid { gap:28px; }
}

@media (max-width:700px){
  /* content gutters: 24px phone, 20px very narrow */
  .ck-shell, .ck-about-grid, .ck-three-grid, .ck-cta-inner { padding-left:24px; padding-right:24px; }
  .ck-hero-copy { padding:44px 24px 34px; }
  .ck-page-pad { padding:48px 24px 44px; }
  .ck-about-grid, .ck-three-grid { padding:0 24px; }

  /* typography */
  .ck-hero h1 { font-size:clamp(39px, 11vw, 52px); line-height:.95; }
  .entry-content h2 { font-size:clamp(27px, 7vw, 33px); line-height:1.15; }
  .entry-content p, .entry-content li { font-size:18px; line-height:1.65; }
  .entry-content p.ck-breadcrumb { font-size:11px; line-height:1.5; }
  .entry-content p.ck-note { font-size:13px; line-height:1.6; }
  .ck-hero p, .ck-about-copy p, .ck-cta p { font-size:18px; }
  .entry-content { overflow-wrap:anywhere; }

  /* CTA panels */
  .ck-page-cta { padding:30px 20px; border-radius:12px; }
  .ck-page-cta h2 { font-size:clamp(26px, 7vw, 32px); }
  .ck-page-cta .wp-block-button { width:100%; }
  .ck-page-cta .wp-block-button__link { width:auto; min-width:min(280px,100%); }

  /* young people image: fill the container fully and bias toward the subject (person left) */
  .ck-young-img { aspect-ratio:4/3; }
  .ck-young-img img { width:100%; height:100%; object-fit:cover; object-position:left center; display:block; }

  /* contact form */
  .wp-block-jetpack-contact-form input[type=text], .wp-block-jetpack-contact-form input[type=email], .wp-block-jetpack-contact-form input[type=tel], .wp-block-jetpack-contact-form select, .wp-block-jetpack-contact-form textarea { min-height:52px; padding:15px 14px; font-size:16px; }
  .wp-block-jetpack-contact-form textarea { min-height:200px; resize:vertical; }
  .wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea { min-height:52px; padding:15px 14px; font-size:16px; }
  .wpcf7 textarea { min-height:200px; resize:vertical; }
  .wpcf7 input[type=submit] { width:100%; }

  /* footer */
  .ck-footer-grid { grid-template-columns:1fr; padding:28px 24px 10px; gap:24px; }
  .ck-footer-links { grid-column:auto; display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; justify-items:start; }
  .ck-footer-links a:last-child { grid-column:1/-1; justify-self:center; }
  .ck-footer-mid a { overflow-wrap:anywhere; word-break:break-word; }
  .ck-copyright { padding:12px 20px 20px; }

  /* lighter home hero eyebrow on mobile */
  .ck-hero .ck-eyebrow { font-size:10px; letter-spacing:.16em; line-height:1.45; }
}

@media (max-width:359px){
  .ck-shell, .ck-page-pad, .ck-hero-copy, .ck-about-grid, .ck-three-grid { padding-left:20px; padding-right:20px; }
  .ck-mobile-panel { padding:6px 20px 20px; }
  .ck-page-cta .wp-block-button__link { width:100%; }
}
