:root{
--sm-i-train:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.2%22%20fill%3D%22%23000%22/%3E%3C/svg%3E");
--sm-i-smith:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14.7%206.3a4%204%200%200%200-5.4%205.1L3.5%2017.2a1.8%201.8%200%200%200%202.5%202.5l5.8-5.8a4%204%200%200%200%205.1-5.4l-2.4%202.4-2.1-.6-.6-2.1z%22/%3E%3C/svg%3E");
--sm-i-transfer:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h13l-3-3M20%2016H7l3%203%22/%3E%3C/svg%3E");
--sm-i-source:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207.5%2012%203l9%204.5-9%204.5z%22/%3E%3Cpath%20d%3D%22M3%207.5V16l9%204.5%209-4.5V7.5M12%2012v8.5%22/%3E%3C/svg%3E");
--sm-i-star:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203.5%202.6%205.3%205.9.9-4.3%204.1%201%205.8L12%2016.9l-5.2%202.7%201-5.8-4.3-4.1%205.9-.9z%22/%3E%3C/svg%3E");
--sm-i-badge:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204.5%206v5.5c0%204.4%203.2%208.2%207.5%209.5%204.3-1.3%207.5-5.1%207.5-9.5V6z%22/%3E%3Cpath%20d%3D%22m8.8%2012%202.2%202.2%204.3-4.4%22/%3E%3C/svg%3E");
--sm-i-cal:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M3.5%209.5h17M8%203v4M16%203v4M8%2013.5h3%22/%3E%3C/svg%3E");
--sm-i-pin:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-6.5-6-6.5-11a6.5%206.5%200%200%201%2013%200c0%205-6.5%2011-6.5%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.3%22/%3E%3C/svg%3E");
--sm-i-phone:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h4l2%205-2.5%201.5a11%2011%200%200%200%205%205L15%2013l5%202v4a2%202%200%200%201-2%202A16%2016%200%200%201%203%206a2%202%200%200%201%202-2z%22/%3E%3C/svg%3E");
--sm-i-mail:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22m3.5%206.5%208.5%206.5%208.5-6.5%22/%3E%3C/svg%3E");
--sm-i-clock:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207v5l3%202%22/%3E%3C/svg%3E");
--sm-i-chev:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22/%3E%3C/svg%3E");
--sm-i-fb:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%208h3V4h-3a4%204%200%200%200-4%204v3H7v4h3v6h4v-6h3l1-4h-4V8.5a.5.5%200%200%201%20.5-.5z%22/%3E%3C/svg%3E");
--sm-i-ig:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%223.5%22%20width%3D%2217%22%20height%3D%2217%22%20rx%3D%225%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22/%3E%3Ccircle%20cx%3D%2217.2%22%20cy%3D%226.8%22%20r%3D%22.8%22%20fill%3D%22%23000%22/%3E%3C/svg%3E");
}
/* ==========================================================================
   Shieldmaiden Arms: component styles
   Colors/fonts come from theme.json presets (--wp--preset--*).
   ========================================================================== */
:root{
 --sm-base:var(--wp--preset--color--base,#F5EEDC);
 --sm-surface:var(--wp--preset--color--surface,#FBF7EE);
 --sm-hero:var(--wp--preset--color--hero,#F0E6CD);
 --sm-ink:var(--wp--preset--color--contrast,#1E2A4A);
 --sm-muted:var(--wp--preset--color--muted,#5F5A4C);
 --sm-accent:var(--wp--preset--color--accent,#7A1F22);
 --sm-accent2:var(--wp--preset--color--accent-2,#1E2A4A);
 --sm-line:var(--wp--preset--color--line,#E3D8BE);
 --sm-on-dark:var(--wp--preset--color--on-dark,#E9DFC6);
 --sm-r-card:var(--wp--custom--radius--card,18px);
 --sm-r-img:var(--wp--custom--radius--image,18px);
 --sm-r-chip:var(--wp--custom--radius--chip,999px);
 --sm-r-input:var(--wp--custom--radius--input,10px);
 --sm-shadow:var(--wp--custom--shadow--card,0 10px 30px rgba(30,42,74,.09));
 --sm-heading:var(--wp--preset--font-family--heading,'Outfit',system-ui,sans-serif);
 --sm-brand:var(--wp--preset--font-family--brand,'EFCO Brookshire',Georgia,serif);
}

/* ---------- utilities ---------- */
.sm-kicker{font-size:.8125rem!important;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--sm-accent)}
.sm-muted,.sm-lede{color:var(--sm-muted)}
.sm-lede{font-size:1.15rem}
.sm-fine{font-size:.8125rem;color:var(--sm-muted)}
.sm-center{text-align:center}
.sm-section{padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)}
.sm-alt{background:var(--sm-surface);border-top:1px solid var(--sm-line);border-bottom:1px solid var(--sm-line);--sm-motif-bg:var(--sm-surface)}
.sm-head{text-align:center;max-width:720px;margin-left:auto!important;margin-right:auto!important;margin-bottom:2.25rem!important}
.sm-head h1,.sm-head h2{margin-bottom:.5rem}
.sm-head p{color:var(--sm-muted)}

/* ---------- motif separators ---------- */
.sm-motif{--accent:var(--sm-accent);--accent2:var(--sm-accent2);--surface:var(--sm-surface);--ink:var(--sm-ink);--bg:var(--sm-motif-bg,var(--sm-base));margin-left:auto!important;margin-right:auto!important}
.sm-motif svg{display:block;width:100%;height:auto}
.sm-motif--divider{max-width:400px}
.sm-motif--band{max-width:none}
.sm-head .sm-motif{margin-top:.75rem!important}

/* ---------- brand ---------- */
.sm-brand{gap:.75rem!important;flex-wrap:nowrap!important}
.sm-mark{width:48px;height:48px;flex:none;background:currentColor;color:var(--sm-ink);-webkit-mask:url(../img/shield-mark.svg) center/contain no-repeat;mask:url(../img/shield-mark.svg) center/contain no-repeat}
.sm-brand .wp-block-site-title{font-family:var(--sm-brand);font-size:1.5rem;line-height:1;margin:0}
.sm-brand .wp-block-site-title a{color:var(--sm-ink);text-decoration:none}

/* ---------- header ---------- */
.sm-util{background:var(--sm-accent2);color:#fff;font-size:.875rem;font-weight:600}
.sm-util p{margin:0;display:flex;align-items:center;gap:.4rem}
.sm-util a{color:inherit;text-decoration:none}
.sm-util .sm-ico{width:16px;height:16px;opacity:.85}
.sm-header{background:var(--sm-surface);border-bottom:1px solid var(--sm-line);position:sticky;top:0;z-index:30}
.admin-bar .sm-header{top:32px}
.sm-header .wp-block-navigation .wp-block-navigation__submenu-container{background:var(--sm-surface);border:1px solid var(--sm-line)!important;border-radius:14px;padding:.5rem;box-shadow:0 14px 34px rgba(30,42,74,.14);min-width:220px}
.sm-header .wp-block-navigation .wp-block-navigation-item__content{padding:.5rem .6rem;border-radius:10px}
.sm-header .wp-block-navigation-submenu .wp-block-navigation-item__content:hover{background:var(--sm-base);color:var(--sm-accent)}
.sm-header .wp-block-navigation a:hover{color:var(--sm-accent);text-decoration:none}
.sm-promo{background:color-mix(in srgb,var(--sm-accent) 10%,var(--sm-base));border-bottom:1px solid var(--sm-line);font-size:.9375rem}
.sm-promo p{margin:0}

/* ---------- icons (CSS masks) ---------- */
.sm-ico{display:inline-block;width:22px;height:22px;flex:none;background:currentColor;-webkit-mask:var(--sm-i) center/contain no-repeat;mask:var(--sm-i) center/contain no-repeat;vertical-align:middle}
.sm-icon{width:52px;height:52px;min-height:0!important;border-radius:50%;background:color-mix(in srgb,var(--sm-accent) 12%,transparent);position:relative;flex:none}
.sm-icon::after{content:"";position:absolute;inset:12px;background:var(--sm-accent);-webkit-mask:var(--sm-i) center/contain no-repeat;mask:var(--sm-i) center/contain no-repeat}
.sm-icon-train,.i-train{--sm-i:var(--sm-i-train)}.sm-icon-smith,.i-smith{--sm-i:var(--sm-i-smith)}
.sm-icon-transfer,.i-transfer{--sm-i:var(--sm-i-transfer)}.sm-icon-source,.i-source{--sm-i:var(--sm-i-source)}
.sm-icon-star,.i-star{--sm-i:var(--sm-i-star)}.sm-icon-badge,.i-badge{--sm-i:var(--sm-i-badge)}
.sm-icon-cal,.i-cal{--sm-i:var(--sm-i-cal)}.sm-icon-pin,.i-pin{--sm-i:var(--sm-i-pin)}
.i-phone{--sm-i:var(--sm-i-phone)}.i-mail{--sm-i:var(--sm-i-mail)}.i-clock{--sm-i:var(--sm-i-clock)}
.i-fb{--sm-i:var(--sm-i-fb)}.i-ig{--sm-i:var(--sm-i-ig)}
.sm-icon-plain{background:none;width:34px;height:34px}
.sm-icon-plain::after{inset:2px}

/* ---------- photo placeholder ---------- */
.is-style-photo-placeholder{background:linear-gradient(160deg,color-mix(in srgb,var(--sm-accent2) 40%,var(--sm-surface)),var(--sm-accent2));border-radius:var(--sm-r-img);color:#fff;display:flex!important;flex-direction:column;justify-content:flex-end;padding:1rem!important;min-height:200px;font-size:.8125rem;font-weight:600}
.is-style-photo-placeholder p{margin:0;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.is-style-photo-placeholder.sm-after{background:linear-gradient(160deg,color-mix(in srgb,var(--sm-accent) 40%,var(--sm-surface)),var(--sm-accent))}

/* ---------- hero ---------- */
.sm-hero{background:var(--sm-hero);border-bottom:1px solid var(--sm-line);--sm-motif-bg:var(--sm-hero)}
.sm-hero h1{font-size:clamp(2.1rem,4.2vw,3.25rem)!important;margin:.5rem 0 1rem}
.sm-hero .sm-hero-photo{height:clamp(300px,calc(100vh - 340px),500px);border-radius:160px 160px var(--sm-r-img) var(--sm-r-img)}
.sm-hero .wp-block-image img{width:100%;height:clamp(300px,calc(100vh - 340px),500px);object-fit:cover;border-radius:160px 160px var(--sm-r-img) var(--sm-r-img)}
.sm-page-hero{background:var(--sm-hero);border-bottom:1px solid var(--sm-line);text-align:center;--sm-motif-bg:var(--sm-hero)}
.sm-page-hero h1{margin:.5rem 0 .75rem}
.sm-page-hero p.sm-lede{max-width:720px;margin-left:auto;margin-right:auto}

/* ---------- trust strip ---------- */
.sm-trust{background:var(--sm-surface);border-bottom:1px solid var(--sm-line)}
.sm-trust-item{gap:.75rem!important;flex-wrap:nowrap!important}
.sm-trust-item p{margin:0;line-height:1.35}
.sm-trust-item p strong{display:block}
.sm-trust-item .sm-trust-sub{font-size:.875rem;color:var(--sm-muted)}

/* ---------- cards ---------- */
.is-style-card{background:var(--sm-surface);border-radius:var(--sm-r-card);box-shadow:var(--sm-shadow);padding:1.75rem!important}
.sm-alt .is-style-card{background:var(--sm-base)}
.is-style-card > *:first-child{margin-top:0}
.sm-svc .is-style-card{display:flex;flex-direction:column;height:100%}
.sm-svc .is-style-card .wp-block-buttons{margin-top:auto}
.sm-svc .is-style-card p{color:var(--sm-muted);font-size:.95rem}
.sm-svc .wp-block-column{display:flex}
.sm-svc .wp-block-column>.is-style-card{flex:1}

/* ---------- steps ---------- */
.sm-steps .wp-block-column{position:relative}
.sm-step-num{font-family:var(--sm-heading);font-weight:600;font-size:2.1rem!important;color:var(--sm-accent);line-height:1;margin-bottom:.5rem!important}
.sm-steps h3{font-size:1.3rem!important;margin:.25rem 0 .4rem}
.sm-steps p:not(.sm-step-num){color:var(--sm-muted);font-size:.95rem}

/* ---------- meet amanda ---------- */
.sm-logo-frame{aspect-ratio:1;max-width:220px;width:100%;border-radius:50%;background:var(--sm-surface);border:1px solid var(--sm-line);display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;flex:none}
.sm-logo-frame::before{content:"";width:52%;aspect-ratio:1;background:var(--sm-ink);-webkit-mask:url(../img/logo-full.svg) center/contain no-repeat;mask:url(../img/logo-full.svg) center/contain no-repeat}
.sm-logo-frame p{margin:0;font-size:.8125rem;color:var(--sm-muted);font-weight:600}
.sm-logo-frame.is-large{max-width:320px}
.sm-headshot img{border-radius:50%;aspect-ratio:1;object-fit:cover}

/* ---------- testimonials ---------- */
.sm-testimonials .wp-block-quote{background:var(--sm-base);border-radius:var(--sm-r-card);box-shadow:var(--sm-shadow);padding:1.75rem;margin:0;height:100%}
.sm-testimonials .wp-block-quote p{color:var(--sm-ink);line-height:1.45}
.sm-testimonials .wp-block-quote cite{font-family:var(--wp--preset--font-family--body);font-size:.875rem;color:var(--sm-muted);font-weight:600;font-style:normal}

/* ---------- gallery ---------- */
.sm-gallery .is-style-photo-placeholder{min-height:220px}
.sm-ba{gap:4px!important;position:relative}
.sm-ba .is-style-photo-placeholder{min-height:220px;flex:1}
.sm-ba .is-style-photo-placeholder:first-child{filter:grayscale(.6);border-radius:var(--sm-r-img) 0 0 var(--sm-r-img)}
.sm-ba .is-style-photo-placeholder:last-child{border-radius:0 var(--sm-r-img) var(--sm-r-img) 0}
.sm-gallery .wp-block-image img{border-radius:var(--sm-r-img);aspect-ratio:4/3;object-fit:cover}

/* ---------- FAQ ---------- */
.sm-faq .wp-block-details{border-bottom:1px solid var(--sm-line)}
.sm-faq .wp-block-details summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.sm-faq .wp-block-details summary::-webkit-details-marker{display:none}
.sm-faq .wp-block-details summary::after{content:"";width:20px;height:20px;flex:none;background:var(--sm-accent);-webkit-mask:var(--sm-i-chev) center/contain no-repeat;mask:var(--sm-i-chev) center/contain no-repeat;transition:transform .2s}
.sm-faq .wp-block-details[open] summary::after{transform:rotate(180deg)}
.sm-faq .wp-block-details p{color:var(--sm-muted)}

/* ---------- CTA band ---------- */
.sm-cta{background:var(--sm-accent2);color:#fff}
.sm-cta h2{color:#fff!important;font-size:clamp(1.6rem,3vw,2.2rem)!important;margin:0}
.sm-cta p{margin:.25rem 0 0;opacity:.9}
.sm-cta .wp-block-button__link{background:var(--sm-surface);color:var(--sm-ink)}

/* ---------- paths / callouts / fact boxes ---------- */
.sm-path p.sm-links{display:flex;gap:1.25rem;flex-wrap:wrap;font-weight:700}
.sm-path p.sm-links a{text-decoration:none}
.sm-where{border:1px dashed var(--sm-line);border-radius:var(--sm-r-card);padding:1.25rem 1.4rem!important;gap:.9rem!important;flex-wrap:nowrap!important}
.sm-where p{margin:0;color:var(--sm-muted);font-size:.95rem}
.sm-where .sm-ico{color:var(--sm-accent);margin-top:2px}
.sm-fees table{border-collapse:collapse;width:100%}
.sm-fees td{border:0!important;border-bottom:1px solid var(--sm-line)!important;padding:.8rem .25rem!important}
.sm-fees td:last-child{text-align:right;font-weight:700;white-space:nowrap}

/* ---------- footer ---------- */
.sm-footer{background:var(--sm-accent2);color:var(--sm-on-dark);--sm-motif-bg:var(--sm-accent2)}
.sm-footer .sm-motif{--accent:color-mix(in srgb,var(--sm-accent) 45%,var(--sm-on-dark));--surface:var(--sm-on-dark);--ink:#0E1012}
.sm-footer a{color:var(--sm-on-dark);text-decoration:none}
.sm-footer a:hover{text-decoration:underline}
.sm-footer h4{color:var(--sm-on-dark)!important;font-size:.75rem!important;letter-spacing:.14em;text-transform:uppercase;opacity:.75;margin-bottom:.6rem}
.sm-footer .sm-mark{color:var(--sm-on-dark)}
.sm-footer .sm-brand .wp-block-site-title a{color:var(--sm-on-dark)}
.sm-footer p{margin:.2rem 0;font-size:.95rem;display:flex;gap:.5rem;align-items:center}
.sm-footer .sm-ico{width:16px;height:16px;opacity:.75}
.sm-footer ul{list-style:none;padding:0;margin:0;font-size:.95rem}
.sm-footer ul li{margin:.25rem 0}
.sm-social a{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid color-mix(in srgb,var(--sm-on-dark) 35%,transparent);border-radius:50%}
.sm-legal{border-top:1px solid color-mix(in srgb,var(--sm-on-dark) 20%,transparent);font-size:.8125rem;opacity:.85}
.sm-legal p{margin:0;font-size:.8125rem}

/* ---------- responsive ---------- */
@media (max-width:781px){
 .sm-util .sm-hide-sm{display:none!important}
 .sm-hero .sm-hero-photo,.sm-hero .wp-block-image img{height:260px}
 .sm-brand .wp-block-site-title{font-size:1.2rem}
 .sm-mark{width:40px;height:40px}
}
@media (max-width:600px){ .admin-bar .sm-header{top:0} }

/* ---------- motif previews (editor) ---------- */
.wp-block-separator[class*="is-style-motif-"]{border:0!important;background-color:transparent!important;background-repeat:no-repeat;background-position:center;background-size:contain;opacity:1!important;height:32px;width:100%;max-width:400px!important;margin-left:auto!important;margin-right:auto!important}
.wp-block-separator.is-style-motif-braid{background-image:url(../img/motif-braid.svg)}
.wp-block-separator.is-style-motif-knot{background-image:url(../img/motif-knot.svg)}
.wp-block-separator.is-style-motif-shield{background-image:url(../img/motif-shield.svg);height:44px}
.wp-block-separator.is-style-motif-band{background-image:url(../img/motif-band.svg);background-repeat:repeat-x;background-size:auto 100%;max-width:none!important}
.sm-footer .wp-block-separator.is-style-motif-band{background-image:url(../img/motif-band-dark.svg)}

/* ---------- header sizing (1.0.2) ---------- */
.sm-util .sm-util-row{flex-wrap:nowrap!important;gap:.5rem 1.5rem!important;padding-top:.45rem;padding-bottom:.45rem}
.sm-util p{white-space:nowrap}
.sm-header-row{min-height:76px;gap:1.25rem!important}
.sm-nav-wrap{gap:1.25rem!important;flex-wrap:nowrap!important}
.sm-header .wp-block-navigation__container{gap:.25rem 1.35rem!important;flex-wrap:nowrap!important}
.sm-header .wp-block-navigation-item__content{white-space:nowrap}
.sm-header .wp-block-button__link{white-space:nowrap;padding:.7rem 1.3rem}
.sm-brand .wp-block-site-title{white-space:nowrap}
@media (max-width:1240px){.sm-util .sm-util-row>p:last-child{display:none}}
/* Below 1180px the menu becomes the ☰ button so it never wraps. */
@media (max-width:1179px){
 .sm-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}
 .sm-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none!important}
}
@media (max-width:860px){.sm-util .sm-util-row>p.sm-hide-sm{display:none}}
@media (max-width:480px){.sm-header .wp-block-button__link{padding:.55rem .9rem;font-size:.8125rem}}

/* ---------- full-width sections ---------- */
html,body{overflow-x:clip}
.wp-block-post-content > .alignfull,
.wp-block-post-content > .wp-block-pattern > .alignfull,
.entry-content > .alignfull{width:100vw;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.wp-block-post-content > .alignfull:first-child{margin-top:0!important}

/* ==========================================================================
   Fit-based card rows (1.0.5)
   Each row measures the width it actually has and picks 4, 2 or 1 columns
   (3 or 1 for rows of three) so every card gets at least its minimum width.
   Minimums are in em, so they follow the real font and the visitor's text size.
   Columns in a row are always equal; no orphaned card.
   ========================================================================== */
:is(.sm-trust,.sm-gallery,:has(> .sm-svc),:has(> .sm-steps),:has(> .sm-testimonials),:has(> .sm-facts)){container:smrow / inline-size}

.sm-trust .wp-block-columns,.sm-svc,.sm-steps,.sm-testimonials,.sm-facts,.sm-gallery .wp-block-columns{
 display:grid!important;align-items:stretch;gap:1.25rem!important;
 /* fallback for browsers without container queries */
 grid-template-columns:repeat(auto-fit,minmax(min(100%,15em),1fr))
}
.sm-trust .wp-block-columns>.wp-block-column,.sm-svc>.wp-block-column,.sm-steps>.wp-block-column,.sm-testimonials>.wp-block-column,.sm-facts>.wp-block-column,.sm-gallery .wp-block-columns>.wp-block-column{width:auto!important;flex-basis:auto!important;margin:0!important;min-width:0}
.sm-trust .wp-block-column>*,.sm-svc .wp-block-column>*,.sm-steps .wp-block-column>*,.sm-testimonials .wp-block-column>*,.sm-facts .wp-block-column>*,.sm-gallery .wp-block-column>*{min-width:0;max-width:100%}

@supports (container-type:inline-size){
 .sm-trust .wp-block-columns,.sm-svc,.sm-steps,.sm-testimonials,.sm-facts,.sm-gallery .wp-block-columns{grid-template-columns:minmax(0,1fr)}

 /* Service cards: min 15em each (longest button + padding, with room to spare) */
 @container smrow (min-width:31.25em){ .sm-svc{grid-template-columns:repeat(2,minmax(0,1fr))} }
 @container smrow (min-width:63.75em){ .sm-svc{grid-template-columns:repeat(4,minmax(0,1fr))} }

 /* Trust strip: min 13em each */
 @container smrow (min-width:27.5em){ .sm-trust .wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))} }
 @container smrow (min-width:56.5em){ .sm-trust .wp-block-columns{grid-template-columns:repeat(4,minmax(0,1fr))} }

 /* Steps: min 12em each; rows of 4 go 4/2/1, rows of 3 go 3/1 */
 @container smrow (min-width:25.25em){ .sm-steps:has(> :nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))} }
 @container smrow (min-width:51.75em){ .sm-steps:has(> :nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))} }
 @container smrow (min-width:38.5em){ .sm-steps:not(:has(> :nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))} }

 /* Testimonials, info boxes, gallery rows of three: 3/1 */
 @container smrow (min-width:48.5em){ .sm-testimonials,.sm-facts{grid-template-columns:repeat(3,minmax(0,1fr))} }
 @container smrow (min-width:45.5em){ .sm-gallery .wp-block-columns{grid-template-columns:repeat(3,minmax(0,1fr))} }
 @container smrow (max-width:48.49em){ .sm-testimonials,.sm-facts{max-width:38em;margin-left:auto!important;margin-right:auto!important} }
 @container smrow (max-width:38.49em){ .sm-steps:not(:has(> :nth-child(4))){max-width:32em;margin-left:auto!important;margin-right:auto!important} }
}

/* Cards: padding counts toward height and width; equal heights in a row. */
.is-style-card,.sm-testimonials .wp-block-quote,.is-style-photo-placeholder,.sm-logo-frame{box-sizing:border-box}
.sm-facts .wp-block-column>.is-style-card,.sm-testimonials .wp-block-column>.wp-block-quote{height:100%}
.sm-trust .wp-block-columns{padding:1.25rem 0;gap:1rem 1.5rem!important}
.sm-steps{gap:1.75rem 2rem!important}

/* Trust items: icon level with the first line of text. */
.sm-trust-item{align-items:flex-start!important;gap:.8rem!important}
.sm-trust-item .sm-icon{margin-top:2px}
.sm-trust-item p{font-size:.9375rem}
.sm-trust-item p strong{font-size:1rem;white-space:nowrap}

/* Card typography: sized for a card, words never split. */
h1,h2,h3,h4{overflow-wrap:normal;word-break:normal;hyphens:manual}
.is-style-card h3,.sm-svc h3,.sm-steps h3,.sm-facts h3{font-size:clamp(1.25rem,1.6vw,1.5rem)!important;line-height:1.2}
.sm-svc .is-style-card{padding:1.5rem!important;gap:.75rem}
.sm-svc .is-style-card p{font-size:.9375rem;line-height:1.55;margin:0}
.sm-svc .is-style-card .wp-block-buttons{margin-top:auto;padding-top:.5rem}
.sm-svc .sm-icon{margin-bottom:.25rem}

/* Buttons in cards: one line when it fits; if it ever can't, wrap inside the card. */
.is-style-card .wp-block-button,.is-style-card .wp-block-button__link{max-width:100%;box-sizing:border-box}
.is-style-card .wp-block-button__link{white-space:normal;text-wrap:balance;text-align:center;padding:.6rem 1.2rem;font-size:.875rem;line-height:1.25}
