/* Diana Care — small layer of CSS on top of theme.json.
   Colors, fonts and spacing come from theme.json presets so the admin can change
   them in Appearance → Editor → Styles without touching this file. */

:root {
	--dc-radius-s: var(--wp--custom--radius--s, 10px);
	--dc-radius-m: var(--wp--custom--radius--m, 18px);
	--dc-radius-l: var(--wp--custom--radius--l, 28px);
	--dc-ease: var(--wp--custom--transition, 200ms ease);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { height: auto; max-width: 100%; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
	border-radius: 4px;
}
.skip-link.screen-reader-text:focus { z-index: 100000; }

/* Header, page content and footer sit flush against each other. */
.wp-site-blocks > * { margin-block-start: 0 !important; }

/* ---------- Header ---------- */
.dc-topbar { font-size: .86rem; }
/* Let the sticky bar stick to the whole page, not just the header wrapper. */
.wp-block-template-part:has(> .dc-header) { display: contents; }
.dc-topbar a { color: inherit; text-decoration: none; }
.dc-topbar a:hover { text-decoration: underline; }
.dc-topbar .wp-block-social-links { gap: .4rem; }
.dc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	isolation: isolate;
	transition: box-shadow var(--dc-ease);
}
/* The blur sits on a background layer: a blur on the header itself would trap the
   full-screen mobile menu inside the header bar. */
.dc-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
}
.admin-bar .dc-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .dc-header { top: 0; } }
.dc-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(31, 42, 43, .35); }
.dc-header .wp-block-site-logo img { max-height: 62px; width: auto; }
.dc-header .wp-block-navigation .wp-block-navigation-item__content { padding: .4rem .2rem; position: relative; }
.dc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: .2rem; right: .2rem; bottom: 0; height: 2px;
	background: var(--wp--preset--color--accent); transform: scaleX(0); transform-origin: left;
	transition: transform var(--dc-ease);
}
.dc-header .wp-block-navigation .wp-block-navigation-item__content:hover::after,
.dc-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.dc-header .wp-block-navigation__submenu-container {
	border: 0 !important; border-radius: var(--dc-radius-m); padding: .5rem !important;
	box-shadow: var(--wp--preset--shadow--lifted); min-width: 260px !important;
}
.dc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem .8rem !important; border-radius: var(--dc-radius-s); }
.dc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--surface); }
.dc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem clamp(1rem, 5vw, 2rem) !important;
	background: var(--wp--preset--color--surface) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; padding-top: 3rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: .25rem 0 0 1rem !important; background: transparent !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { font-size: 1.05rem; }
@media (max-width: 781px) { .dc-header-cta { display: none !important; } }

/* ---------- Typographic helpers ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: .8rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .25rem !important;
}
.is-style-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.has-text-align-center.is-style-eyebrow { justify-content: center; width: 100%; }
.is-style-lead { font-size: var(--wp--preset--font-size--large) !important; color: var(--wp--preset--color--muted); line-height: 1.6; }
.has-band-background-color .is-style-lead, .has-band-gradient-background .is-style-lead, .wp-block-cover .is-style-lead { color: var(--wp--custom--band--muted); }

/* ---------- Cards ---------- */
.is-style-card, .is-style-card-tinted, .is-style-glass {
	border-radius: var(--dc-radius-l);
	padding: clamp(1.25rem, 3vw, 2.25rem);
}
.is-style-card { background: var(--wp--preset--color--base); box-shadow: var(--wp--preset--shadow--soft); border: 1px solid rgba(126, 148, 150, .18); }
.is-style-card-tinted { background: var(--wp--preset--color--sage-light); }
.is-style-glass { background: var(--wp--custom--band--glass); border: 1px solid var(--wp--custom--band--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--wp--preset--color--on-band); }
.is-style-card > :first-child, .is-style-card-tinted > :first-child { margin-top: 0; }

.wp-block-columns.is-style-cards { align-items: stretch !important; }
.wp-block-columns.is-style-cards > .wp-block-column {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(126, 148, 150, .2);
	border-radius: var(--dc-radius-l);
	padding: clamp(1.25rem, 2.5vw, 1.9rem);
	transition: transform var(--dc-ease), box-shadow var(--dc-ease), border-color var(--dc-ease);
}
.wp-block-columns.is-style-cards > .wp-block-column:hover {
	transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); border-color: transparent;
}
.wp-block-columns.is-style-cards > .wp-block-column > :first-child { margin-top: 0; }

/* Icon bubble used in cards: an image block with class dc-icon, or a paragraph with emoji/svg */
.dc-icon, .dc-icon img {
	width: 56px !important; height: 56px !important; border-radius: 16px !important;
}
.dc-icon {
	display: grid !important; place-items: center; margin: 0 0 1rem !important;
	background: var(--wp--preset--color--sage-light); color: var(--wp--preset--color--primary);
}
.dc-icon svg { width: 28px; height: 28px; }

/* Service tiles under the home hero */
.dc-tiles > .wp-block-column > .wp-block-group {
	height: 100%;
	transition: transform var(--dc-ease), box-shadow var(--dc-ease);
}
.dc-tiles a { text-decoration: none; color: inherit; }
.dc-tiles a::after { content: ""; position: absolute; inset: 0; }
.dc-tiles .wp-block-group { position: relative; }
.dc-tiles > .wp-block-column > .wp-block-group:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); }
.dc-tiles .dc-arrow { transition: transform var(--dc-ease); display: inline-block; }
.dc-tiles .wp-block-group:hover .dc-arrow { transform: translateX(4px); }
.dc-hero-overlap { margin-top: calc(-1 * clamp(3rem, 7vw, 5.5rem)) !important; position: relative; z-index: 2; }

/* ---------- Lists ---------- */
ul.is-style-checks { list-style: none; padding-left: 0; }
ul.is-style-checks > li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
ul.is-style-checks > li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
	background: var(--wp--preset--color--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
ol.is-style-steps, ul.is-style-steps { list-style: none; padding-left: 0; counter-reset: dcstep; }
.is-style-steps > li { counter-increment: dcstep; position: relative; padding-left: 3.25rem; margin-bottom: 1.25rem; min-height: 2.25rem; }
.is-style-steps > li::before {
	content: counter(dcstep); position: absolute; left: 0; top: -.1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700; font-size: .95rem;
	background: var(--wp--preset--color--primary); color: #fff;
}
.is-style-checks strong, .is-style-steps strong { color: var(--wp--preset--color--primary-dark); }

/* ---------- Accordion (core Details block) ---------- */
.wp-block-details {
	border: 1px solid rgba(126, 148, 150, .28);
	border-radius: var(--dc-radius-m);
	background: var(--wp--preset--color--base);
	padding: 0 !important; margin-top: .75rem !important;
	transition: box-shadow var(--dc-ease), border-color var(--dc-ease);
	overflow: hidden;
}
.wp-block-details[open] { box-shadow: var(--wp--preset--shadow--soft); border-color: transparent; }
.wp-block-details > summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 1.1rem 3.25rem 1.1rem 1.35rem;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem; font-weight: 500;
	color: var(--wp--preset--color--primary-dark);
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after {
	content: ""; position: absolute; right: 1.2rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 50%;
	background: var(--wp--preset--color--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat;
	transition: transform var(--dc-ease);
}
.wp-block-details[open] > summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { padding-left: 1.35rem; padding-right: 1.35rem; }
.wp-block-details > :last-child { padding-bottom: 1.25rem; }
.wp-block-details > summary + * { margin-top: 0; }

/* ---------- Images ---------- */
.wp-block-image.is-style-arch img { border-radius: 999px 999px var(--dc-radius-l) var(--dc-radius-l) !important; aspect-ratio: 4 / 5; object-fit: cover; }
.dc-banner-img img { width: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color var(--dc-ease), color var(--dc-ease), transform var(--dc-ease), box-shadow var(--dc-ease); }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(168, 87, 58, .7); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--wp--preset--color--primary); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; box-shadow: none; }
.wp-block-button.is-style-soft > .wp-block-button__link { background: var(--wp--preset--color--sage-light); color: var(--wp--preset--color--primary-dark); }
.wp-block-button.is-style-soft > .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; box-shadow: none; }
.wp-block-button.is-style-on-dark > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--on-band); border: 2px solid currentColor; }
.wp-block-button.is-style-on-dark > .wp-block-button__link:hover { background: var(--wp--preset--color--on-band); color: var(--wp--preset--color--band); box-shadow: none; }

/* ---------- Covers / banners ---------- */
/* Full-width covers keep their text aligned with the rest of the page. */
.wp-block-cover.alignfull { padding-left: var(--wp--style--root--padding-left, 1rem); padding-right: var(--wp--style--root--padding-right, 1rem); }
.wp-block-site-logo img.custom-logo { height: auto; }
.wp-block-site-logo img[src$=".svg"] { width: 200px; max-width: 100%; }
.dc-footer .wp-block-site-logo img[src$=".svg"] { width: 170px; }
.wp-block-cover.dc-page-banner { min-height: clamp(220px, 32vw, 360px) !important; }
.wp-block-cover.dc-page-banner h1 { color: var(--wp--preset--color--on-band); }
.dc-blob { position: relative; isolation: isolate; }
.dc-blob::before {
	content: ""; position: absolute; z-index: -1; width: min(520px, 70vw); aspect-ratio: 1; right: -10%; top: -20%;
	background: radial-gradient(closest-side, rgba(168, 87, 58, .12), transparent 70%);
	pointer-events: none;
}

/* ---------- Testimonials ---------- */
.dc-quote-card { position: relative; }
.dc-quote-card::before {
	content: "“"; position: absolute; top: -.2rem; right: 1.2rem; font-family: var(--wp--preset--font-family--heading);
	font-size: 6rem; line-height: 1; color: var(--wp--preset--color--sage-light);
}
.dc-quote-card .wp-block-image img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ---------- Blog cards ---------- */
.dc-post-grid .wp-block-post {
	background: var(--wp--preset--color--base); border-radius: var(--dc-radius-l); overflow: hidden;
	border: 1px solid rgba(126, 148, 150, .2); display: flex; flex-direction: column;
	transition: transform var(--dc-ease), box-shadow var(--dc-ease);
}
.dc-post-grid .wp-block-post:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); }
.dc-post-grid .wp-block-post-featured-image { margin: 0; }
.dc-post-grid .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; }
.dc-post-grid .dc-post-body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; }
.dc-post-grid .wp-block-post-title { font-size: 1.25rem; margin: .35rem 0 .5rem; }
.dc-post-grid .wp-block-post-title a { text-decoration: none; }
.dc-post-grid .wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }
.dc-post-grid .wp-block-post-excerpt__excerpt { color: var(--wp--preset--color--muted); font-size: .97rem; }
.wp-block-post-terms a { text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.wp-block-query-pagination { gap: .5rem; }
.wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border-radius: 999px; text-decoration: none;
}
.wp-block-query-pagination-numbers .page-numbers.current { background: var(--wp--preset--color--primary); color: #fff; }

/* Single post */
.dc-article .wp-block-post-content > p:first-of-type { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); }
.dc-article .wp-block-post-featured-image img { border-radius: var(--dc-radius-l); }

/* ---------- Footer ---------- */
.dc-footer a { color: inherit; text-decoration: none; }
.dc-footer a:hover { text-decoration: underline; }
.dc-footer .wp-block-latest-posts li { margin-bottom: .85rem; }
.dc-footer .wp-block-latest-posts__post-date { opacity: .7; font-size: .82rem; }
.dc-footer .wp-block-navigation { gap: .5rem; }

/* ---------- Forms (shared with Clinic Dashboard plugin) ---------- */
.dd-form input[type=text], .dd-form input[type=email], .dd-form input[type=tel], .dd-form textarea, .dd-form select {
	border-radius: var(--dc-radius-s) !important;
}

/* ---------- Map ---------- */
.dc-map iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--dc-radius-m); display: block; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.dc-js .dc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.dc-js .dc-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.dc-hero-overlap { margin-top: 1.5rem !important; }
	/* Service tiles: two per row on phones */
	.dc-tiles { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem !important; }
	.dc-tiles .is-style-card { padding: 1rem !important; border-radius: var(--dc-radius-m); }
	.dc-tiles .dc-icon, .dc-tiles .dc-icon img { width: 44px !important; height: 44px !important; }
	.dc-tiles .wp-block-heading { font-size: 1.02rem !important; }
	.dc-hero-overlap.alignwide { margin-top: -2.5rem !important; }
	.wp-block-columns.is-style-cards > .wp-block-column:hover { transform: none; }
	.dc-topbar .dc-hide-mobile { display: none !important; }
}
@media (max-width: 600px) {
	.wp-block-buttons > .wp-block-button { flex-basis: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; }
}

/* Print: hide chrome */
@media print {
	.dc-header, .dc-topbar, .dc-footer, .dd-wa { display: none !important; }
}

/* Logo turns white on the dark footer */
.dc-footer .dc-footer-logo img { filter: var(--wp--custom--band--logo-filter, none); }
.dc-band-muted { color: var(--wp--custom--band--muted); }
.dc-band-line { border: 0 !important; height: 1px !important; background: var(--wp--custom--band--line) !important; opacity: 1 !important; }
.dc-topbar .wp-block-social-link, .dc-topbar .wp-block-social-link a { color: inherit !important; }
/* Footer contact form follows the banner colours (pastel or deep teal). */
.dc-footer .dd-form--dark {
	--dd-c-text: var(--wp--preset--color--on-band);
	--dd-c-muted: var(--wp--custom--band--muted);
	--dd-c-line: var(--wp--custom--band--line);
	--dd-c-field: var(--wp--custom--band--field);
}

/* Sticky side column on desktop (service pages) */
@media (min-width: 900px) {
	.dc-sticky-aside { position: sticky; top: 110px; }
}
.dc-sticky-aside .wp-block-image img { border-radius: var(--dc-radius-l); }

/* Hero */
.dc-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem) !important; max-width: 14ch; }
.dc-hero .wp-block-cover__inner-container { padding-bottom: clamp(2rem, 6vw, 4rem); }
.dc-tiles .wp-block-heading a { text-decoration: none; }

/* Why choose us band */
.dc-why .is-style-glass { height: 100%; text-align: center; align-items: center; }
.dc-why .dc-icon-light { background: rgba(255, 255, 255, .92) !important; }
.dc-why .wp-block-heading { font-size: 1.1rem !important; }
@media (max-width: 781px) {
	.dc-why { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem !important; }
	.dc-why > .wp-block-column:last-child { grid-column: span 2; }
}

/* Page banners: keep text readable on any photo */
.dc-page-banner .wp-block-cover__inner-container { padding-top: 1rem; padding-bottom: 1rem; }

/* Contact cards overlap banner */
.dc-hero-overlap .is-style-cards > .wp-block-column { box-shadow: var(--wp--preset--shadow--soft); }

/* Footer newsletter / refer bands */
.dc-refer-band .wp-block-heading { margin-top: 0; }
@media (max-width: 781px) { .dc-refer-band .wp-block-buttons { justify-content: flex-start !important; } }

/* Leave room for the floating WhatsApp button at the very bottom of the page */
body:has(.dd-wa) footer.dc-footer.wp-block-group { padding-bottom: 88px !important; }

/* Mobile menu: items aligned left, floating buttons hidden while it is open */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding-left: 1rem !important; }
html.has-modal-open .dd-wa, body:has(.is-menu-open) .dd-wa { display: none !important; }

/* Each card icon gets its own soft pastel bubble */
:is(.dc-tiles, .is-style-cards) > .wp-block-column:nth-child(4n+1) .dc-icon { background: var(--wp--preset--color--band); }
:is(.dc-tiles, .is-style-cards) > .wp-block-column:nth-child(4n+2) .dc-icon { background: var(--wp--preset--color--sage-light); }
:is(.dc-tiles, .is-style-cards) > .wp-block-column:nth-child(4n+3) .dc-icon { background: var(--wp--preset--color--sand); }
:is(.dc-tiles, .is-style-cards) > .wp-block-column:nth-child(4n+4) .dc-icon { background: var(--wp--preset--color--sky); }

/* =====================================================================
   Design direction from the samples: natural pastels, floating pill
   navigation, dark pill buttons with a round arrow, chip labels,
   pastel numbered cards, rounded photo cards with glass info cards.
   ===================================================================== */

/* Top bar: slim and quiet */
.dc-topbar { font-size: .8rem; }
.dc-topbar .wp-block-paragraph, .dc-topbar p { opacity: .8; }

/* Floating pill navigation */
.dc-header { padding-top: .6rem !important; padding-bottom: .6rem !important; background: transparent; }
.dc-header::before { display: none; }
.dc-header.is-scrolled { box-shadow: none; }
.dc-header > .wp-block-group {
	position: relative; isolation: isolate;
	padding: .45rem .5rem .45rem 1.4rem;
	border-radius: 999px;
	border: 1px solid rgba(31, 36, 33, .08);
	transition: box-shadow var(--dc-ease);
}
.dc-header > .wp-block-group::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.dc-header.is-scrolled > .wp-block-group { box-shadow: 0 14px 34px -20px rgba(31, 36, 33, .35); }
.dc-header .wp-block-site-logo img { max-height: 46px; }
.dc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { background: var(--wp--preset--color--highlight); }
@media (max-width: 781px) { .dc-header > .wp-block-group { padding-left: 1rem; } }

/* Headings: tight modern sans; second line in a softer colour via the editor's
   "Highlight" text colour (select words → ⌄ → Highlight). */
h1, h2, h3, .wp-block-heading { font-feature-settings: "ss01"; }
mark.has-inline-color { background: transparent !important; }
.dc-hero h1 { max-width: 12ch; }

/* Chip labels above titles */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	display: inline-flex !important; width: auto !important; align-items: center; gap: .45rem;
	font-size: .72rem !important; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase;
	color: var(--wp--preset--color--contrast) !important;
	background: rgba(255, 255, 255, .7); border: 1px solid rgba(31, 36, 33, .1);
	padding: .35rem .8rem; border-radius: 999px; margin-bottom: .5rem !important;
}
.is-style-eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--highlight); }
.has-text-align-center.is-style-eyebrow { display: flex !important; width: max-content !important; margin-left: auto !important; margin-right: auto !important; }
.has-ink-background-color .is-style-eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff !important; }

/* Dark pill buttons with a round arrow (default button style) */
.wp-block-button:not(.is-style-outline):not(.is-style-soft):not(.is-style-on-dark) > .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .75rem; padding-right: .4rem !important;
}
.wp-block-button:not(.is-style-outline):not(.is-style-soft):not(.is-style-on-dark) > .wp-block-button__link::after {
	content: ""; flex: 0 0 auto; width: 1.95rem; height: 1.95rem; border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2421' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 13px no-repeat;
	transition: transform var(--dc-ease);
}
.wp-block-button:not(.is-style-outline):not(.is-style-soft):not(.is-style-on-dark) > .wp-block-button__link:hover::after { transform: rotate(45deg); }
.wp-block-button__link:hover { box-shadow: 0 12px 26px -14px rgba(31, 36, 33, .55); }
.wp-block-button.is-style-light > .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-light > .wp-block-button__link::after { background-color: var(--wp--preset--color--ink) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") !important; }
.wp-block-button.is-style-soft > .wp-block-button__link { background: rgba(255, 255, 255, .8); color: var(--wp--preset--color--contrast); border: 1px solid rgba(31, 36, 33, .12); }
.wp-block-button.is-style-soft > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--contrast); border: 1px solid rgba(31, 36, 33, .25); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; border-color: transparent; }
.dc-header-cta .wp-block-button__link { padding-top: .55rem !important; padding-bottom: .55rem !important; }

/* Cards */
.is-style-card { box-shadow: none; border: 1px solid rgba(31, 36, 33, .08); border-radius: var(--dc-radius-l); }
.wp-block-columns.is-style-cards > .wp-block-column { border-color: rgba(31, 36, 33, .08); }
.wp-block-columns.is-style-cards > .wp-block-column:hover, .dc-tiles > .wp-block-column > .wp-block-group:hover { box-shadow: 0 22px 44px -28px rgba(31, 36, 33, .4); }

/* Pastel numbered cards (service tiles & conditions) */
.dc-pastel { counter-reset: dccard; }
.dc-pastel > .wp-block-column { counter-increment: dccard; }
.dc-pastel > .wp-block-column > .wp-block-group, .dc-pastel.is-style-cards > .wp-block-column { position: relative; border: 0 !important; }
.dc-pastel > .wp-block-column:nth-child(4n+1) > .wp-block-group, .dc-pastel.is-style-cards > .wp-block-column:nth-child(4n+1) { background: var(--wp--preset--color--sage-light); }
.dc-pastel > .wp-block-column:nth-child(4n+2) > .wp-block-group, .dc-pastel.is-style-cards > .wp-block-column:nth-child(4n+2) { background: var(--wp--preset--color--base); }
.dc-pastel > .wp-block-column:nth-child(4n+3) > .wp-block-group, .dc-pastel.is-style-cards > .wp-block-column:nth-child(4n+3) { background: var(--wp--preset--color--sky); }
.dc-pastel > .wp-block-column:nth-child(4n+4) > .wp-block-group, .dc-pastel.is-style-cards > .wp-block-column:nth-child(4n+4) { background: var(--wp--preset--color--sand); }
.dc-pastel > .wp-block-column > .wp-block-group::after, .dc-pastel.is-style-cards > .wp-block-column::after {
	content: counter(dccard, decimal-leading-zero); position: absolute; top: 1.2rem; right: 1.4rem;
	font-size: .75rem; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums;
}
.dc-pastel .dc-icon { background: #fff !important; border-radius: 50% !important; }
.dc-pastel .dc-icon, .dc-pastel .dc-icon img { width: 46px !important; height: 46px !important; }
.dc-pastel .dc-icon img { padding: 9px; box-sizing: border-box; }
.dc-tiles .is-style-card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.dc-more-link { font-size: .85rem; font-weight: 600; }
.dc-more-link a { text-decoration: none; color: var(--wp--preset--color--contrast); }

/* Rounded photo cards with glass info cards */
.wp-block-cover.dc-photo-card { border-radius: var(--dc-radius-l); overflow: hidden; }
.wp-block-cover.dc-photo-card .wp-block-cover__inner-container { width: 100%; }
.dc-glass {
	background: rgba(255, 255, 255, .78) !important; color: var(--wp--preset--color--contrast);
	backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--dc-radius-m);
	padding: .9rem 1.1rem !important; max-width: 300px; box-shadow: 0 18px 40px -26px rgba(31, 36, 33, .5);
}
.dc-glass p { margin: 0 !important; }
.dc-glass .dc-glass-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.dc-glass .dc-glass-sub { font-size: .82rem; color: var(--wp--preset--color--muted); margin-top: .15rem !important; }
.dc-quote { font-size: .95rem !important; line-height: 1.5; }

/* Rounded page banners */
.wp-block-cover.dc-page-banner { border-radius: var(--dc-radius-l); overflow: hidden; margin-top: .5rem !important; }
.wp-block-cover.dc-page-banner.alignwide { padding-left: clamp(1.25rem, 4vw, 3rem) !important; padding-right: clamp(1.25rem, 4vw, 3rem) !important; }
.wp-block-cover.dc-page-banner h1 { font-size: clamp(2.3rem, 5vw, 3.6rem) !important; }

/* Dark rounded highlight sections */
.dc-ink-card { border-radius: calc(var(--dc-radius-l) + 4px); padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) !important; position: relative; overflow: hidden; }
.dc-ink-card::before {
	content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(126, 148, 150, .35), transparent 70%); pointer-events: none;
}
.dc-ink-card .is-style-lead { color: rgba(255, 255, 255, .78) !important; }
.dc-ink-item { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--dc-radius-m); padding: 1.2rem !important; height: 100%; }
.dc-ink-item .dc-icon { background: rgba(255, 255, 255, .92) !important; border-radius: 50% !important; }
.dc-ink-item .wp-block-heading { font-size: 1.05rem !important; color: #fff; }

/* Statement paragraph (philosophy style) */
.dc-statement { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem) !important; line-height: 1.45 !important; letter-spacing: -.015em; color: var(--wp--preset--color--muted); }

/* Images: soft rounded rectangles */
.dc-photo img { border-radius: var(--dc-radius-l) !important; }

/* Footer newsletter band as a rounded card */
.dc-footer a:hover { text-decoration: underline; }

@media (max-width: 781px) {
	.dc-tiles .is-style-card { min-height: 170px; }
	.dc-glass { max-width: 100%; }
	.wp-block-cover.dc-photo-card { min-height: 420px !important; }
}
.dc-pastel > .wp-block-column:nth-child(4n+2) .dc-icon { background: var(--wp--preset--color--sage-light) !important; }
/* One running number across several rows of cards */
.dc-pastel-group { counter-reset: dccard; }
.dc-pastel-group .dc-pastel { counter-reset: none; }
/* Soften banner photos so they sit calmly with the pastel palette */
.wp-block-cover.dc-page-banner .wp-block-cover__image-background { filter: saturate(.45) brightness(1.04); }

/* ---------- Pictures & icons ---------- */
/* Illustrations on condition cards */
.dc-illustrated > .wp-block-column { padding: .65rem .65rem 1.4rem !important; }
.dc-illustrated > .wp-block-column > :not(.dc-card-img) { padding-left: .75rem; padding-right: .75rem; }
.dc-card-img { margin: 0 !important; }
.dc-card-img img { border-radius: calc(var(--dc-radius-l) - 8px) !important; width: 100%; transition: transform .5s ease; }
.dc-illustrated > .wp-block-column { overflow: hidden; }
.dc-illustrated > .wp-block-column:hover .dc-card-img img { transform: scale(1.03); }
.dc-pastel.dc-illustrated > .wp-block-column::after { top: 1.2rem; right: 1.3rem; background: rgba(255, 255, 255, .85); padding: .1rem .5rem; border-radius: 999px; }

/* Picture at the top of each Psychological Disorders panel */
.dc-panel-img { margin: 0 0 1rem !important; }
.dc-panel-img img { border-radius: var(--dc-radius-m) !important; width: 100%; }

/* Article cards: thumbnail, category chip, date with calendar icon, excerpt */
.dc-post-grid .wp-block-post-featured-image img, .dc-thumb-fallback img { border-radius: 0 !important; display: block; }
.dc-thumb-fallback { margin: 0 !important; }
.dc-post-meta { gap: .6rem !important; align-items: center; }
.dc-post-meta .wp-block-post-terms a, .dc-article .wp-block-post-terms a, .dc-post-grid .wp-block-post-terms a {
	display: inline-block; background: var(--wp--preset--color--sage-light); color: var(--wp--preset--color--contrast) !important;
	padding: .2rem .6rem; border-radius: 999px; font-size: .7rem; letter-spacing: .06em;
}
.wp-block-post-date { display: inline-flex; align-items: center; gap: .35rem; }
.wp-block-post-date::before {
	content: ""; width: 14px; height: 14px; flex: 0 0 14px; opacity: .7;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dc-post-grid .wp-block-post-excerpt { margin-top: .2rem; }
.dc-post-grid .wp-block-post-excerpt__more-link { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--contrast); }
.dc-post-grid .wp-block-post-excerpt__more-text { margin-top: .6rem; }

/* Small icons beside footer contact details */
.dc-ic { position: relative; padding-left: 1.9rem; }
.dc-ic::before {
	content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
	background: var(--wp--preset--color--base) center / 60% no-repeat;
}
.dc-ic-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.2l1.6 4-2 1.3a11 11 0 0 0 5 5l1.3-2 4 1.6V17a2 2 0 0 1-2.2 2A15 15 0 0 1 3 6.2 2 2 0 0 1 5 4z'/%3E%3C/svg%3E"); }
.dc-ic-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.dc-ic-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326302B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E"); }
