/* Shuna Hammocks Trichology — what theme.json can't express.
   Tokens: --wp--preset--color--{paper,sand,forest,forest-dark,sage,sage-deep,ink,ink-2,rule,honey,cream} */

:root {
	--sh-wide: var(--wp--style--global--wide-size, 1180px);
	--sh-r: 14px;
	--sh-r-lg: 22px;
}
body { -webkit-font-smoothing: antialiased; }
:where(a):focus-visible, :where(button, summary, input):focus-visible { outline: 3px solid var(--wp--preset--color--honey); outline-offset: 3px; border-radius: 6px; }
mark.tbc { background: #FFF0BF; color: var(--wp--preset--color--ink); padding: 0 .25em; border-radius: 4px; }
.sh-main { margin-block: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* sections: every direct child is wide-width */
section.wp-block-group.alignfull { padding-block: var(--wp--preset--spacing--60); margin-block: 0; }
section.wp-block-group.alignfull > :not(.alignfull) { max-width: var(--sh-wide); }
.wp-block-columns { gap: 2.5rem 3.5rem; }
.sh-intro { color: var(--wp--preset--color--ink-2); font-size: 1.2rem; margin-top: .75rem; }
/* A second heading inside a section: clear space from the content above it. */
.sh-subsection { margin-top: clamp(3rem, 6vw, 5rem) !important; }

/* buttons */
.wp-block-button__link { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.wp-block-button.is-style-outline-forest .wp-block-button__link { background: transparent; color: var(--wp--preset--color--forest); border: 2px solid var(--wp--preset--color--forest); }
.wp-block-button.is-style-outline-forest .wp-block-button__link:hover { background: var(--wp--preset--color--sage); }
.wp-block-button.is-style-on-dark .wp-block-button__link { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--forest); }
.wp-block-button.is-style-on-dark .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--forest-dark); }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #CFE0D4; }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: rgba(255,255,255,.1); }

/* lists: ticks / crosses */
.wp-block-list.is-style-checks, .wp-block-list.is-style-crosses { list-style: none; padding-left: 0; display: grid; gap: .75rem; }
.is-style-checks li, .is-style-crosses li { position: relative; padding-left: 30px; }
.is-style-checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--wp--preset--color--sage-deep); }
.is-style-crosses li::before { content: "✕"; position: absolute; left: 0; font-weight: 700; color: #B9862C; }

/* cards */
.wp-block-group.is-style-card { background: var(--wp--preset--color--paper); border-radius: var(--sh-r-lg); padding: 36px; }

/* ---------- header ---------- */
.sh-topbar { background: var(--wp--preset--color--forest-dark); color: #E9F0EA; font-size: 1rem; padding-block: 8px; }
.sh-topbar p { margin: 0; }
.sh-topbar a { color: #fff; font-weight: 700; }
.sh-header { background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--wp--preset--color--rule); }
.sh-bar { min-height: 80px; gap: 26px; }
.sh-brand { gap: 14px; margin-right: auto; flex-shrink: 0; }
.sh-brand-logo { margin: 0; flex: none; }
.sh-brand-logo img { border-radius: 8px; display: block; }
.sh-brand-text p { margin: 0; line-height: 1.2; }
.sh-brand-name a { font-family: var(--wp--preset--font-family--serif); font-size: 1.35rem; line-height: 1.1; font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; display: block; }
.sh-nav { gap: 22px; font-size: 1.05rem; font-weight: 500; }
.sh-nav a { color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; }
.sh-nav a:hover { color: var(--wp--preset--color--forest); text-decoration: underline; }
.sh-nav .sh-nav-book { display: none; }
.sh-header-cta .wp-block-button__link { min-height: 48px; padding: 10px 20px; font-size: 1rem; white-space: nowrap; }
.sh-nav .wp-block-navigation__responsive-container-open { border: 2px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 10px; }
.sh-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--paper); padding: 24px 22px; }
.sh-nav .is-menu-open .wp-block-navigation-item a { font-size: 1.25rem; padding: 10px 0; }
.sh-nav .is-menu-open .sh-nav-book { display: block; }

/* ---------- hero ---------- */
.sh-hero { background: var(--wp--preset--color--forest); color: #E7EFE9; position: relative; overflow: hidden; }
.sh-hero::after { content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, #3E6450 0%, rgba(62,100,80,0) 70%); pointer-events: none; }
.sh-hero > * { position: relative; z-index: 1; }
.sh-hero-grid { align-items: center; }
.sh-hero .sh-hero-h1 { color: #CFE0D4; font-family: var(--wp--preset--font-family--sans); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin: 0 0 1rem; }
.sh-hero-display { color: #fff; font-family: var(--wp--preset--font-family--serif); font-weight: 600; font-size: var(--wp--preset--font-size--xx-large); line-height: 1.12; letter-spacing: -0.01em; margin-top: 0 !important; }
.sh-lede { font-size: var(--wp--preset--font-size--lead); color: #D8E4DB; max-width: 38ch; }
.sh-hero-actions { margin-top: 2rem; gap: 14px; }
.sh-reassure { color: #CFDDD3; font-size: 1.05rem; }
.sh-note { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); border-radius: 26px; padding: 34px 32px 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.sh-note-head { gap: 20px; align-items: center; flex-wrap: nowrap; }
.sh-note-photo { margin: 0; flex: none; }
.sh-note-photo img { border-radius: 50%; border: 5px solid var(--wp--preset--color--sage); }
.sh-note-head p { margin: 0; }
.sh-note-name { font-family: var(--wp--preset--font-family--serif); font-size: 1.4rem; font-weight: 600; }
.sh-note-role { color: var(--wp--preset--color--ink-2); font-size: 1.02rem; }
.sh-note-quote { font-family: var(--wp--preset--font-family--serif); font-size: 1.55rem; line-height: 1.38; font-weight: 500; margin-top: 1.5rem; }
.sh-note-quote::before { content: "“"; display: block; font-size: 3.6rem; line-height: .6; color: var(--wp--preset--color--sage-deep); margin-bottom: 6px; }
.sh-note-list { border-top: 1px solid var(--wp--preset--color--rule); padding-top: 22px !important; margin-top: 1.5rem; font-size: 1.05rem; }
.sh-stars { color: var(--wp--preset--color--honey); letter-spacing: 2px; }

/* ---------- empathy ---------- */
.sh-empathy p { font-size: 1.25rem; color: var(--wp--preset--color--ink-2); }

/* ---------- symptom finder ---------- */
.sh-symptoms { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sh-symptoms li { margin: 0; }
.sh-symptoms a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 16px 22px; background: var(--wp--preset--color--paper); border-radius: var(--sh-r); text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 700; font-size: 1.12rem; border: 2px solid transparent; }
.sh-symptoms a::after { content: "›"; color: var(--wp--preset--color--forest); font-size: 1.5rem; line-height: 1; }
.sh-symptoms a:hover { border-color: var(--wp--preset--color--forest); }
.sh-finder-more { margin-top: 1.75rem; font-size: 1.1rem; }

/* ---------- steps path ---------- */
.sh-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 2.5rem; }
.sh-path::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--wp--preset--color--sage-deep); opacity: .35; }
.sh-step { position: relative; margin: 0 !important; }
.sh-step .sh-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--forest); color: #fff; display: grid; place-items: center; font: 600 1.4rem var(--wp--preset--font-family--serif); margin: 0; }
.sh-step h3 { margin-top: 1.25rem; font-size: 1.3rem; }
.sh-step p:not(.sh-dot) { color: var(--wp--preset--color--ink-2); font-size: 1.08rem; margin-top: .6rem; }
.sh-after-row { margin-top: 2.5rem; gap: 14px 28px; }
.sh-after-row > * { margin: 0 !important; }

/* ---------- services ---------- */
.sh-wide-h { margin-bottom: 2rem; }
.sh-svc-grid .wp-block-group.is-style-card { height: 100%; display: flex; flex-direction: column; }
.sh-svc-grid .is-style-card > * { margin-block: 0 .9rem; }
.sh-svc-grid .wp-block-buttons { margin-top: auto !important; padding-top: .75rem; }
.sh-meta { color: var(--wp--preset--color--sage-deep); font-weight: 700; font-size: 1.05rem; }
.sh-svc-grid p:not(.sh-meta), .sh-svc-grid li { color: var(--wp--preset--color--ink-2); }
.sh-card-link { margin-top: .5rem !important; }
.sh-pro { margin-top: 2rem !important; padding-top: 2rem; border-top: 1px solid var(--wp--preset--color--rule); }
.sh-pro-label { font-weight: 700; color: var(--wp--preset--color--ink-2); }
.sh-pro h3 { font-size: 1.25rem; }
.sh-pro p { color: var(--wp--preset--color--ink-2); font-size: 1.08rem; }

/* ---------- honesty ---------- */
.sh-honest { color: #EAF1EB; }
.sh-honest h2, .sh-honest h3 { color: #fff; }
.sh-honest-lead { color: #D5E2D8; font-size: 1.2rem; }
.sh-honest li { font-size: 1.1rem; }
.sh-honest .is-style-checks li::before { color: #BFD8C6; }
.sh-honest .is-style-crosses li::before { color: #E8C9A0; }

/* ---------- about ---------- */
.sh-about-photo { margin: 0; }
.sh-about-photo img { border-radius: var(--sh-r-lg); width: 100%; height: auto; }
.sh-about-photo figcaption { color: var(--wp--preset--color--ink-2); font-size: 1rem; text-align: left; margin-top: .75rem; }
.sh-about p { color: var(--wp--preset--color--ink-2); max-width: 60ch; }
.sh-creds { list-style: none; padding: 0; margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.sh-creds li { padding: 16px 0; border-top: 1px solid var(--wp--preset--color--rule); color: var(--wp--preset--color--ink-2); font-size: 1.02rem; }
.sh-creds strong { color: var(--wp--preset--color--ink); font-size: 1.1rem; }
.sh-check a { font-weight: 700; }

/* ---------- reviews ---------- */
.sh-rev-head { gap: 12px 40px; margin-bottom: 1.5rem; }
.sh-rev-head > * { margin: 0 !important; }
.sh-rev-link { font-weight: 700; }
.sh-trustindex { margin-top: 0; }

/* ---------- FAQ ---------- */
.sh-faq .wp-block-details { border-top: 1px solid var(--wp--preset--color--rule); margin: 0; }
.sh-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--rule); }
.sh-faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.18rem; position: relative; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.8rem; font-weight: 400; color: var(--wp--preset--color--forest); }
.sh-faq details[open] summary::after { content: "−"; }
.sh-faq details p { color: var(--wp--preset--color--ink-2); margin: 0 0 24px; max-width: 60ch; }

/* ---------- visit ---------- */
.sh-fact { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0 24px; font-size: 1.12rem; margin-block: 0 .9rem !important; }
.sh-fact strong { font-weight: 700; }
.sh-fact > span { min-width: 0; }
.sh-towns { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.sh-towns a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--wp--preset--color--paper); text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 500; }
.sh-towns a:hover { outline: 2px solid var(--wp--preset--color--forest); }
.sh-map { margin-top: 0; aspect-ratio: 4 / 3; border-radius: var(--sh-r); overflow: hidden; background: var(--wp--preset--color--paper); }
.sh-map iframe { display: block; width: 100%; height: 100%; }
.sh-visit h2 { margin-bottom: 1.75rem; }
.sh-visit h3 { margin-bottom: 1rem; }

/* ---------- closing ---------- */
.sh-closing-grid { align-items: center; }
.sh-closing p { color: var(--wp--preset--color--ink-2); font-size: 1.2rem; max-width: 44ch; }
.sh-closing-actions { justify-content: flex-end; gap: 14px; }

/* ---------- footer ---------- */
.sh-footer { background: var(--wp--preset--color--ink); color: #D6DBDD; padding-block: 60px 40px; font-size: 1.02rem; margin-top: 0; }
.sh-footer a { color: #fff; text-decoration: none; }
.sh-footer a:hover { text-decoration: underline; }
.sh-foot-h { font-family: var(--wp--preset--font-family--sans); font-size: 1.08rem !important; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.sh-foot-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.sh-foot-logo { margin: 0 0 14px; }
.sh-foot-logo img { border-radius: 8px; }
.sh-legal { margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid #3A4144; color: #B5BCBF; gap: 12px 24px; }
.sh-legal p { margin: 0; }
.sh-mobile-actions { display: none; }

/* ---------- inner pages ---------- */
.sh-page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.25rem, 4.5vw, 3.5rem) !important; }
.sh-page-hero h1 { max-width: 22ch; margin-top: .75rem; }
.sh-crumbs { font-size: 1rem; color: var(--wp--preset--color--ink-2); }
.sh-crumbs a { color: var(--wp--preset--color--ink-2); }
.sh-lede-excerpt, .sh-page-hero .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--lead); color: var(--wp--preset--color--ink-2); max-width: 46ch; margin-top: 1rem; }
section.sh-section, .sh-listing, .sh-guide, .sh-article { padding-block: var(--wp--preset--spacing--60); }
.sh-page .sh-content, .sh-main > .sh-content { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.sh-content > section.alignfull:first-child { margin-top: calc(-1 * var(--wp--preset--spacing--50)); }

/* prose */
.sh-content h2 { margin-top: 2.6rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.05rem); }
.sh-content h3 { font-size: 1.3rem; }
.sh-content h3 { margin-top: 2rem; }
.sh-content > h2:first-child, .sh-content > h3:first-child { margin-top: 0; }
.sh-content li + li { margin-top: .4rem; }
.sh-content blockquote, .wp-block-quote { border-left: 4px solid var(--wp--preset--color--sage-deep); margin-left: 0; padding: .25rem 0 .25rem 1.5rem; font-family: var(--wp--preset--font-family--serif); font-size: 1.3rem; }
.wp-block-quote cite { display: block; margin-top: .75rem; font: 400 1rem var(--wp--preset--font-family--sans); color: var(--wp--preset--color--ink-2); font-style: normal; }
.sh-rounded img, .sh-feature img { border-radius: var(--sh-r-lg); }

/* condition guide: article + booking card */
.sh-guide-grid { gap: 2.5rem 4rem; align-items: flex-start !important; }
.sh-guide-aside { position: sticky; top: 40px; }
.sh-aside { padding: 30px !important; border: 1px solid var(--wp--preset--color--rule); }
.sh-aside-h { font-size: 1.4rem !important; }
.sh-aside .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
.sh-aside .wp-block-button__link { width: 100%; }

/* byline + author */
.sh-byline { gap: 14px; align-items: center; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--wp--preset--color--rule); font-size: 1rem; }
.sh-byline p, .sh-byline .wp-block-post-date { margin: 0; color: var(--wp--preset--color--ink-2); }
.sh-byline-name { color: var(--wp--preset--color--ink) !important; }
.sh-byline-date { gap: .35em; }
.sh-byline-photo, .sh-author-photo { margin: 0; flex: none; }
.sh-byline-photo img, .sh-author-photo img { border-radius: 50%; }
.sh-author { gap: 24px; margin-top: 3rem; padding: 30px; background: var(--wp--preset--color--sand); border-radius: var(--sh-r-lg); }
.sh-author-h { font-size: 1.3rem !important; }
.sh-author p { margin-top: .6rem; }
.sh-back { margin-top: 2rem; font-weight: 700; }
.sh-story-note { font-size: 1rem; color: var(--wp--preset--color--ink-2); background: var(--wp--preset--color--sand); padding: 14px 18px; border-radius: var(--sh-r); margin-bottom: 2rem; }

/* GP callout */
.sh-gp { background: #FBF3E2; border: 1px solid #E9D4A8; border-radius: var(--sh-r-lg); padding: 28px 30px; margin-block: 2.5rem; }
.sh-gp h2 { margin-top: 0 !important; font-size: 1.4rem; }


/* advice listing */
.sh-posts .wp-block-post-template { gap: 22px; }
.sh-post-card { background: #fff; border: 1px solid var(--wp--preset--color--rule); border-radius: var(--sh-r-lg); padding: 26px 26px 22px; height: 100%; }
.sh-post-card:hover { border-color: var(--wp--preset--color--forest); }
.sh-post-cat { font-size: .95rem; color: var(--wp--preset--color--sage-deep); font-weight: 700; }
.sh-post-cat a { color: inherit; text-decoration: none; }
.sh-post-title { font-size: 1.3rem !important; margin-top: .5rem; }
.sh-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sh-post-title a:hover { color: var(--wp--preset--color--forest); text-decoration: underline; }
.sh-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--ink-2); font-size: 1.05rem; }
.sh-post-card .wp-block-post-excerpt__more-text { display: none; }
.sh-pagination { margin-top: 2.5rem; gap: 10px; font-weight: 700; }
.sh-pagination .page-numbers, .sh-pagination a { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; }
.sh-pagination .current { background: var(--wp--preset--color--forest); color: #fff; }

/* search */
.wp-block-search__input { min-height: 54px; border: 2px solid var(--wp--preset--color--rule); border-radius: 12px; padding: 0 16px; font-size: 1.1rem; background: #fff; }
.wp-block-search__button { min-height: 54px; border-radius: 999px; padding: 0 24px; font-weight: 700; background: var(--wp--preset--color--forest); color: #fff; border: 0; margin-left: 10px; }
.wp-block-search__label { font-weight: 700; }
.sh-search { margin-top: 1.5rem; max-width: 560px; }

/* footer menus */
.sh-foot-nav .wp-block-navigation__container { gap: 10px; }
.sh-foot-nav .wp-block-navigation-item__content, .sh-legal-nav .wp-block-navigation-item__content { color: #fff; }
.sh-legal-nav { gap: 6px 22px; }
.sh-legal-nav .wp-block-navigation-item__content { color: #D6DBDD; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.sh-bar .wp-block-buttons.sh-header-cta { display: none !important; }
	.sh-nav { gap: 16px; font-size: 1rem; }
}
@media (max-width: 1020px) {
	.sh-symptoms { grid-template-columns: 1fr 1fr; }
	.sh-path { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.sh-path::before { display: none; }
	.sh-closing-actions { justify-content: flex-start; }
}
@media (max-width: 781px) {
	.sh-guide-aside { position: static; }
	.sh-author { flex-wrap: wrap !important; padding: 24px; }
	.sh-creds { grid-template-columns: 1fr; }
	.sh-about-photo { max-width: 340px; }
	.sh-note { padding: 26px 22px; }
	.sh-note-photo img { width: 96px !important; height: 96px !important; }
	.sh-note-name { font-size: 1.25rem; }
	.sh-hero::after { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 1.125rem; }
	.sh-topbar-where { display: none; }
	.sh-bar { gap: 12px; }
	.sh-brand { flex-shrink: 1; min-width: 0; gap: 10px; }
	.sh-brand-name a { font-size: 1.1rem; white-space: normal; line-height: 1.15; display: block; }
	.sh-brand-logo img { width: 36px !important; height: 46px !important; }
	.sh-symptoms, .sh-path { grid-template-columns: 1fr; }
	.sh-hero-actions .wp-block-button { width: 100%; }
	.sh-hero-actions .wp-block-button__link { width: 100%; }
	.wp-block-group.is-style-card { padding: 28px 24px; }
	.sh-fact { grid-template-columns: 1fr; }
	body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.sh-mobile-actions { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0 !important; box-shadow: 0 -6px 20px rgba(34,39,42,.08); background: var(--wp--preset--color--paper); border-top: 1px solid var(--wp--preset--color--rule); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
	.sh-mobile-actions .wp-block-buttons { display: grid; grid-template-columns: 1fr; }
	.sh-mobile-actions .wp-block-button__link { width: 100%; min-height: 52px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* visit: map fills the right column; towns as a line of links */
.sh-visit-grid { align-items: stretch !important; }
.sh-visit-map .sh-map { height: 100%; min-height: 360px; aspect-ratio: auto; }
.sh-near-h { margin-top: 2.25rem !important; margin-bottom: .5rem !important; font-size: 1.2rem !important; }
.sh-near { font-size: 1.08rem; line-height: 1.7; }
@media (max-width: 781px) { .sh-visit-map .sh-map { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }

/* section-built pages: no gap above the first / below the last full-width section */
.sh-content:has(> section.alignfull:first-child) { padding-top: 0 !important; }
.sh-content:has(> section.alignfull:last-child) { padding-bottom: 0 !important; }
.sh-content > section.alignfull:first-child { margin-top: 0 !important; }
/* cards on a plain (paper) section need an outline */
section.alignfull:not(.has-background) .wp-block-group.is-style-card { border: 1px solid var(--wp--preset--color--rule); }
/* two plain sections in a row: don't double the spacing */
section.alignfull:not(.has-background):not(.sh-hero) + section.alignfull:not(.has-background):not(.sh-closing) { padding-top: 0; }
/* full-width blocks in <main> sit flush against each other */
.sh-main > * { margin-block-start: 0 !important; }

/* conditions index: grouped link lists */
.sh-cond-grid { margin-top: 2.25rem !important; gap: 2rem 2.5rem; }
.sh-cond-grid h3 { font-size: 1.15rem !important; font-family: var(--wp--preset--font-family--sans); font-weight: 700; margin-bottom: .75rem; color: var(--wp--preset--color--ink); }
.sh-cond-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--rule); }
.sh-cond-list li { margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--rule); }
.sh-cond-list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 10px 2px; text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 500; }
.sh-cond-list a::after { content: "›"; color: var(--wp--preset--color--forest); font-size: 1.4rem; line-height: 1; }
.sh-cond-list a:hover { color: var(--wp--preset--color--forest); text-decoration: underline; }
.sh-cond-help-grid { align-items: center !important; }
.sh-cond-help .sh-gp { margin: 0; }
@media (max-width: 1020px) { .sh-cond-grid { flex-wrap: wrap !important; } .sh-cond-grid > .wp-block-column { flex-basis: calc(50% - 1.25rem) !important; } }
@media (max-width: 640px) { .sh-cond-grid > .wp-block-column { flex-basis: 100% !important; } }

/* memberships bar (homepage, under the hero) */
section.sh-members.alignfull { padding-block: 2rem; }
.sh-members-row { gap: 22px 36px; }
.sh-members-h { font-family: var(--wp--preset--font-family--sans) !important; font-size: 1.05rem !important; font-weight: 700; color: var(--wp--preset--color--ink-2); margin: 0 !important; flex-basis: 100%; }
.sh-member-logo { margin: 0 !important; }
.sh-member-logo img { height: 60px !important; width: auto !important; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 781px) {
	.sh-members-row { justify-content: flex-start !important; gap: 18px 26px; }
	.sh-member-logo img { height: 46px !important; }
}

/* expert witness page */
.sh-ew-cases { margin-top: 1.5rem !important; }
.sh-ew-cases + .sh-ew-cases { margin-top: 1.5rem !important; }
.sh-ew-cases .is-style-card { height: 100%; padding: 28px !important; }
.sh-ew-cases h3 { font-size: 1.2rem !important; margin-top: 0; }
.sh-ew-cases p { color: var(--wp--preset--color--ink-2); font-size: 1.05rem; }
.sh-ew-intro { align-items: flex-start !important; }
.sh-ew-intro .is-style-card li { font-size: 1.02rem; }
.sh-ew-report h2 { margin-bottom: 1.25rem; }
section.sh-ew-closing { color: #E7EFE9; }
.sh-ew-closing h2 { color: #fff; }
.sh-ew-closing p { color: #D8E4DB; }
.sh-ew-closing mark.tbc { color: var(--wp--preset--color--ink); }
.sh-ew-closing a { color: #fff; }

/* tables (comparison tables on service pages) */
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) { margin-top: 1.5rem; overflow-x: auto; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 1.05rem; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--sh-r); overflow: hidden; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) th, .wp-block-table:is(.sh-table,[class*="is-style-sh-"]) td { border: 0; border-bottom: 1px solid var(--wp--preset--color--rule); text-align: left; vertical-align: top; padding: 16px 20px; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) thead th { background: var(--wp--preset--color--forest); color: #fff; font-weight: 700; border-bottom: 0; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) thead { border-bottom: 0; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) tbody td:first-child { font-weight: 700; color: var(--wp--preset--color--ink); width: 22%; }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) tbody td:not(:first-child) { color: var(--wp--preset--color--ink-2); }
.wp-block-table:is(.sh-table,[class*="is-style-sh-"]) tbody tr:last-child td { border-bottom: 0; }
/* Symptom -> cause tables: column 1 is the long description, column 2 a short link. */
.wp-block-table:is(.sh-table-lookup,.is-style-sh-lookup) tbody td:first-child { width: 62%; font-weight: 400; }
.wp-block-table:is(.sh-table-lookup,.is-style-sh-lookup) tbody td:last-child a { font-weight: 600; }
.wp-block-table:is(.sh-table-pair,.is-style-sh-pair) tbody td:first-child { width: 38%; font-weight: 600; }
.wp-block-table:is(.sh-table-label,.is-style-sh-label) tbody td:first-child { width: 30%; }
@media (max-width: 640px) { .wp-block-table:is(.sh-table,[class*="is-style-sh-"]) table { font-size: 1rem; } .wp-block-table:is(.sh-table,[class*="is-style-sh-"]) th, .wp-block-table:is(.sh-table,[class*="is-style-sh-"]) td { padding: 12px 14px; } }
.sh-con-after-grid h2, .sh-con-prep-grid h2 { margin-bottom: 1rem; }

/* content photos (media library) */
.sh-photo { margin: 0; }
/* Image column + text column: the text sits beside the image, centred on it. */
.sh-media-text { align-items: center !important; }
@media (max-width: 781px) { .sh-media-text .sh-photo { max-width: 420px; } }
.sh-intro + .sh-photo, .wp-block-heading + .sh-photo { margin-top: 2rem !important; }
.sh-photo img { width: 100%; height: auto; border-radius: var(--sh-r-lg); display: block; }
.sh-photo figcaption { color: var(--wp--preset--color--ink-2); font-size: 1rem; text-align: left; margin-top: .75rem; }

/* photos that fill their column so they line up with the text beside them */
.wp-block-columns:has(.sh-photo-fill) { align-items: stretch !important; }
.wp-block-column:has(> .sh-photo-fill) { display: flex; flex-direction: column; }
.wp-block-column > .sh-photo-fill { flex: 1 1 auto; display: flex; margin-top: 1.5rem; }
.wp-block-column > .sh-photo-fill:first-child { margin-top: 0; }
.sh-photo-fill img { width: 100%; height: 100% !important; min-height: 300px; object-fit: cover; object-position: 62% 35%; }
@media (max-width: 781px) {
	.wp-block-column > .sh-photo-fill { flex: none; }
	.sh-photo-fill img { height: auto !important; min-height: 0; aspect-ratio: 4 / 3; }
}

/* byline: compact two-line block */
.sh-byline > .wp-block-group > * { margin-block: 0 !important; }
.sh-byline p, .sh-byline .wp-block-post-date { line-height: 1.35; }
.sh-byline-name { margin-bottom: 2px !important; }

/* areas index */
.sh-area-cards { margin-top: 1.5rem !important; }
.sh-area-cards .is-style-card { height: 100%; padding: 28px !important; display: flex; flex-direction: column; }
.sh-area-cards .is-style-card > * { margin-block: 0 .7rem; }
.sh-area-cards .sh-card-link { margin-top: auto !important; padding-top: .5rem; }
.sh-area-cards h3 { font-size: 1.25rem !important; }
.sh-area-cards p:not(.sh-meta):not(.sh-card-link) { color: var(--wp--preset--color--ink-2); }
.sh-area-facts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.sh-area-intro { align-items: stretch !important; }
.sh-area-intro .sh-map { height: 100%; min-height: 380px; aspect-ratio: auto; margin: 0; }
.sh-table figcaption { text-align: left; color: var(--wp--preset--color--ink-2); font-size: 1rem; margin-top: .75rem; }
@media (max-width: 781px) { .sh-area-intro .sh-map { min-height: 0; aspect-ratio: 4 / 3; height: auto; } }

/* card grids: same gap between boxes across and down */
.sh-area-cards, .sh-ew-cases, .sh-svc-grid { gap: 24px !important; }
.sh-area-cards + .sh-area-cards, .sh-ew-cases + .sh-ew-cases { margin-top: 24px !important; }

/* about page: journey timeline */
.sh-timeline { position: relative; }
.sh-timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--wp--preset--color--sage-deep); opacity: .3; }
.sh-tl-item { gap: 20px; align-items: flex-start; flex-wrap: nowrap !important; position: relative; margin: 0 0 1.75rem !important; }
.sh-tl-item:last-child { margin-bottom: 0 !important; }
.sh-tl-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--forest); color: #fff; display: grid; place-items: center; font: 600 1.1rem var(--wp--preset--font-family--serif); margin: 0 !important; }
.sh-tl-item h3 { font-size: 1.2rem !important; margin: .35rem 0 .35rem !important; }
.sh-tl-item p:not(.sh-tl-dot) { color: var(--wp--preset--color--ink-2); margin: 0; }
.sh-quals li { font-size: 1.05rem; color: var(--wp--preset--color--ink-2); }
.sh-quals strong { color: var(--wp--preset--color--ink); }

/* contact form */
.sh-form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--wp--preset--color--rule); border-radius: var(--sh-r-lg); padding: 30px 28px; }
.sh-form p { margin: 0; }
.sh-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.sh-field label span { font-weight: 400; color: var(--wp--preset--color--ink-2); }
.sh-field input, .sh-field select, .sh-field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 1.05rem; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--paper); border: 2px solid var(--wp--preset--color--rule); border-radius: 12px; box-sizing: border-box; }
.sh-field textarea { min-height: 150px; resize: vertical; }
.sh-field input:focus, .sh-field select:focus, .sh-field textarea:focus { outline: 3px solid var(--wp--preset--color--honey); outline-offset: 1px; border-color: var(--wp--preset--color--forest); }
.sh-check label { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--wp--preset--color--ink-2); }
.sh-check input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--wp--preset--color--forest); }
.sh-submit button { min-height: 56px; padding: 14px 32px; border: 0; border-radius: 999px; background: var(--wp--preset--color--forest); color: #fff; font: 700 1.1rem var(--wp--preset--font-family--sans); cursor: pointer; }
.sh-submit button:hover { background: var(--wp--preset--color--forest-dark); }
.sh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sh-form-msg { padding: 16px 18px; border-radius: var(--sh-r); margin-bottom: 18px; font-size: 1.05rem; }
.sh-form-ok { background: var(--wp--preset--color--sage); color: var(--wp--preset--color--ink); }
.sh-form-err { background: #FBE9E4; color: #7A2E1E; }
.sh-contact-grid { align-items: flex-start !important; }
.sh-contact-ways { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.sh-contact-ways li { padding-left: 0; }
.sh-contact-ways strong { display: block; color: var(--wp--preset--color--ink); }
@media (max-width: 640px) { .sh-form { padding: 22px 18px; } }

.sh-form-wrap { scroll-margin-top: 24px; }
.sh-form-note { background: var(--wp--preset--color--sand); border-radius: var(--sh-r); padding: 14px 18px; margin: 0 0 16px; font-size: 1.05rem; }

/* booking page: minimal, no duplicate Book buttons */
.sh-page-book .sh-header-cta, .sh-page-book .sh-mobile-actions, .sh-page-book .sh-nav .sh-nav-book { display: none !important; }
.sh-page-book body, body.sh-page-book { padding-bottom: 0 !important; }
.sh-book-grid { align-items: flex-start !important; }
.sh-form-placeholder { border: 2px dashed var(--wp--preset--color--rule); border-radius: var(--sh-r-lg); padding: 30px 28px; background: #fff; }
.sh-form-placeholder h2 { font-size: 1.3rem !important; margin-top: 0; }
.sh-form-placeholder li { color: var(--wp--preset--color--ink-2); }
.sh-next { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.sh-next li { counter-increment: step; position: relative; padding-left: 48px; color: var(--wp--preset--color--ink-2); }
.sh-next li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--wp--preset--color--forest); color: #fff; display: grid; place-items: center; font: 600 1rem var(--wp--preset--font-family--serif); }
.sh-next strong { display: block; color: var(--wp--preset--color--ink); }
.sh-book-facts { margin-top: 1.5rem !important; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--rule); }

/* thank-you page */
.sh-thanks { text-align: center; }
.sh-thanks .sh-tick { width: 72px; height: 72px; margin: 0 auto 1.25rem !important; border-radius: 50%; background: var(--wp--preset--color--forest); color: #fff; display: grid; place-items: center; font-size: 2.2rem; line-height: 1; }
.sh-thanks h1 { margin: 0; }
.sh-thanks-lead { font-size: var(--wp--preset--font-size--lead); font-weight: 700; color: var(--wp--preset--color--ink); margin-top: 1rem !important; }
.sh-thanks-more { color: var(--wp--preset--color--ink-2); max-width: 46ch; margin: .5rem auto 0 !important; }
.sh-thanks .wp-block-buttons { justify-content: center; margin-top: 1.75rem !important; }

/* Gravity Forms (booking form) - match the contact form */
.sh-gf-wrap { background: #fff; border: 1px solid var(--wp--preset--color--rule); border-radius: var(--sh-r-lg); padding: 30px 28px; }
.sh-gf-wrap .gform_wrapper { margin: 0 !important; --gf-ctrl-border-color: var(--wp--preset--color--rule); --gf-color-primary: var(--wp--preset--color--forest); --gf-ctrl-radius: 12px; }
.sh-gf-wrap .gform_fields { row-gap: 18px !important; }
.sh-gf-wrap .gfield_label, .sh-gf-wrap legend.gfield_label { font: 700 1rem var(--wp--preset--font-family--sans) !important; color: var(--wp--preset--color--ink) !important; margin-bottom: 6px !important; }
.sh-gf-wrap .gfield_required { color: var(--wp--preset--color--ink-2) !important; font-weight: 400 !important; }
.sh-gf-wrap input[type=text], .sh-gf-wrap input[type=email], .sh-gf-wrap input[type=tel], .sh-gf-wrap select, .sh-gf-wrap textarea {
  width: 100% !important; min-height: 54px !important; padding: 12px 14px !important; font: inherit !important; font-size: 1.05rem !important;
  color: var(--wp--preset--color--ink) !important; background: var(--wp--preset--color--paper) !important;
  border: 2px solid var(--wp--preset--color--rule) !important; border-radius: 12px !important; box-shadow: none !important; box-sizing: border-box; }
.sh-gf-wrap textarea { min-height: 150px !important; }
.sh-gf-wrap input:focus, .sh-gf-wrap select:focus, .sh-gf-wrap textarea:focus { outline: 3px solid var(--wp--preset--color--honey) !important; outline-offset: 1px; border-color: var(--wp--preset--color--forest) !important; }
.sh-gf-wrap .ginput_complex label, .sh-gf-wrap .gfield_description { font-size: .95rem !important; color: var(--wp--preset--color--ink-2) !important; }
.sh-gf-wrap .gchoice { display: flex; align-items: center; gap: 10px; margin: 6px 0 !important; }
.sh-gf-wrap .gchoice label, .sh-gf-wrap .ginput_container_consent label { font-size: 1.05rem !important; color: var(--wp--preset--color--ink) !important; }
.sh-gf-wrap input[type=radio], .sh-gf-wrap input[type=checkbox] { width: 22px !important; height: 22px !important; accent-color: var(--wp--preset--color--forest); flex: none; }
.sh-gf-wrap .gform_footer { margin-top: 20px !important; padding: 0 !important; }
.sh-gf-wrap .gform_button { min-height: 56px !important; padding: 14px 32px !important; border: 0 !important; border-radius: 999px !important; background: var(--wp--preset--color--forest) !important; color: #fff !important; font: 700 1.1rem var(--wp--preset--font-family--sans) !important; cursor: pointer; }
.sh-gf-wrap .gform_button:hover { background: var(--wp--preset--color--forest-dark) !important; }
.sh-gf-wrap .gform_validation_errors { border-radius: var(--sh-r) !important; }
@media (max-width: 640px) { .sh-gf-wrap { padding: 22px 18px; } }
.sh-gf-wrap .sh-form-note { margin: 0 0 20px !important; }
#contact-form { scroll-margin-top: 24px; }

/* About page: bigger membership logos (credentials matter more here) */
.sh-page-about section.sh-members.alignfull { padding-block: 2.75rem; }
.sh-page-about .sh-members-row { gap: 28px 44px; }
.sh-page-about .sh-members-h { font-size: 1.15rem !important; margin-bottom: 6px !important; }
.sh-page-about .sh-member-logo img { height: 84px !important; max-width: 200px; }
@media (max-width: 781px) {
	.sh-page-about .sh-members-row { gap: 22px 30px; }
	.sh-page-about .sh-member-logo img { height: 60px !important; max-width: 150px; }
}

/* legal pages: one readable column */
.sh-legal { max-width: 46rem; margin-inline: auto !important; }
.sh-legal h2 { font-size: 1.5rem !important; margin-top: 2.2rem !important; }
.sh-legal h2:first-of-type { margin-top: 1rem !important; }
.sh-legal ul { margin-block: .75rem 1.25rem; }
.sh-legal li { margin-bottom: .5rem; }
.sh-legal .sh-table { margin-block: 1.25rem; }

/* advice index topics + article answer box */
.sh-topics { gap: 12px 16px; margin-bottom: 2rem !important; }
.sh-topics-label { margin: 0 !important; font-weight: 700; color: var(--wp--preset--color--ink-2); }
.sh-topic-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.sh-topic-list li { margin: 0; }
.sh-topic-list a { display: inline-block; padding: 8px 16px; border: 1px solid var(--wp--preset--color--rule); border-radius: 999px; background: #fff; text-decoration: none; color: var(--wp--preset--color--ink); }
.sh-topic-list a:hover { border-color: var(--wp--preset--color--forest); color: var(--wp--preset--color--forest); }
.sh-content .sh-answer { margin-block: 0 2rem; background: var(--wp--preset--color--sage) !important; border: 0 !important; }
.sh-content .sh-answer .sh-aside-h { margin-top: 0 !important; }
.sh-steps-list li { margin-bottom: .6rem; }

/* keep panels alternating on blog templates: closing follows a paper listing/article */
.sh-listing + .sh-closing, .sh-article + .sh-closing { background-color: var(--wp--preset--color--sage) !important; }
.sh-content .sh-related { list-style: none; padding: 0; display: grid; gap: .5rem; }
.sh-content .sh-related a { font-weight: 600; }

/* Glossary: A-Z jump bar and letter groups */
.sh-az { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: 1.5rem 1rem; }
.sh-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; border: 1px solid var(--wp--preset--color--rule); border-radius: var(--sh-r); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--forest); font-weight: 700; text-decoration: none; }
.sh-az a:hover, .sh-az a:focus-visible { background: var(--wp--preset--color--forest); color: #fff; }
.sh-az-group { scroll-margin-top: 6rem; border-top: 1px solid var(--wp--preset--color--rule); margin-top: 2rem; padding-top: 1.25rem; }
.sh-az-group h2 { margin-top: 0; }
.sh-term { margin-block: .9rem; }

/* Advice listing: featured illustration at the top of each card, bleeding to the card edges */
.sh-post-card { overflow: hidden; }
.sh-post-card .sh-post-img { margin: -26px -26px 18px; background: var(--wp--preset--color--paper); }
.sh-post-card .sh-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
