/* Darlo Health – layout polish on top of Twenty Twenty-Five */
:root { --dh-radius: 18px; --dh-shadow: 0 10px 30px rgba(10,63,80,.08); }
body .wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Top bar */
.dh-topbar { font-size: .88rem; padding-top: .45rem !important; padding-bottom: .45rem !important; }
.dh-topbar p { margin: 0; }
.dh-topbar a { color: inherit; text-decoration: none; font-weight: 700; }
.dh-ico { opacity: .75; margin-right: .25rem; }

/* Header */
.dh-header { position: sticky; top: 0; z-index: 50; padding-top: .9rem !important; padding-bottom: .9rem !important; border-bottom: 1px solid rgba(10,63,80,.08); box-shadow: 0 2px 14px rgba(10,63,80,.05); }
.admin-bar .dh-header { top: 32px; }
.dh-header .wp-block-site-logo img { height: auto; }
.dh-nav .wp-block-navigation-item__content { padding: .35rem .2rem; text-decoration: none; }
.dh-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--brand); }
.dh-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent-1); box-shadow: inset 0 -2px 0 var(--wp--preset--color--brand); }
.dh-nav .wp-block-navigation__submenu-container { border-radius: 12px; border: 1px solid rgba(10,63,80,.1) !important; box-shadow: var(--dh-shadow); padding: .4rem 0 !important; min-width: 250px !important; }
.dh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 1rem; font-weight: 500; }
.dh-header-cta { margin-left: 1.25rem; }

/* Buttons */
.wp-block-button.is-style-dh-cta .wp-block-button__link { background: var(--wp--preset--color--cta); color: #fff; }
.wp-block-button.is-style-dh-cta .wp-block-button__link:hover { background: #963722; }
.wp-block-button.is-style-dh-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.wp-block-button.is-style-dh-light .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--accent-3); }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 2px; }

/* Sections */
.dh-section { padding-top: clamp(3rem, 7vw, 5.5rem) !important; padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; }
.dh-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem !important; font-weight: 700; color: var(--wp--preset--color--brand); margin-bottom: .4rem; }
.dh-lead { font-size: 1.15rem; color: var(--wp--preset--color--accent-4); max-width: 46rem; }
.has-text-align-center.dh-lead { margin-left: auto; margin-right: auto; }

/* Hero */
.dh-hero { padding-top: clamp(4rem, 10vw, 8rem) !important; padding-bottom: clamp(4rem, 10vw, 8rem) !important; }
.dh-hero h1 { color: #fff; max-width: 15ch; }
.dh-hero .dh-kicker { color: #9fe0ec; }
.dh-hero .dh-lead { color: rgba(255,255,255,.88); }
.dh-hero .wp-block-cover__inner-container { max-width: 1200px; }

/* Info strip */
.dh-infostrip { margin-top: -3rem !important; position: relative; z-index: 2; }
.dh-infostrip .wp-block-column { background: #fff; border-radius: var(--dh-radius); box-shadow: var(--dh-shadow); padding: 1.4rem 1.6rem; }
.dh-infostrip h3 { font-size: 1.05rem; margin: 0 0 .3rem; font-family: var(--wp--preset--font-family--manrope); font-weight: 700; color: var(--wp--preset--color--accent-1); }
.dh-infostrip p { margin: 0; }

/* Cards */
.is-style-dh-card, .dh-card { background: #fff; border-radius: var(--dh-radius); box-shadow: var(--dh-shadow); border: 1px solid rgba(10,63,80,.06); padding: 1.75rem !important; transition: transform .2s ease, box-shadow .2s ease; }
.is-style-dh-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,63,80,.12); }
.is-style-dh-card h3 { margin-top: .6rem; font-size: 1.3rem; }
.is-style-dh-card p { color: var(--wp--preset--color--accent-4); }
.is-style-dh-card .dh-card-link a { font-weight: 700; text-decoration: none; }
.dh-card-icon img { width: 72px; height: 72px; object-fit: contain; }
.dh-cards > .wp-block-column { display: flex; flex-direction: column; }
.dh-cards { gap: 1.5rem !important; }
.dh-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* Practitioner */
.dh-practitioner { align-items: center !important; }
.dh-practitioner .dh-portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: top; width: 200px; height: 200px; border: 6px solid #fff; box-shadow: var(--dh-shadow); }
.dh-badges { display:flex; flex-wrap:wrap; gap:.5rem; padding:0; list-style:none; }
.dh-badges li { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-3); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; }

/* Lists */
.dh-checklist { list-style: none; padding-left: 0; }
.dh-checklist li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.dh-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wp--preset--color--brand); font-weight: 800; }
.dh-twocol { columns: 2 280px; column-gap: 2.5rem; }
.dh-twocol li { break-inside: avoid; }

/* Tables */
.dh-table table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; }
.dh-table td, .dh-table th { border: 0; border-bottom: 1px solid rgba(10,63,80,.1); padding: .7rem 1rem; }
.dh-table thead { border-bottom: 0; background: var(--wp--preset--color--accent-1); color: #fff; }
.dh-table tr:last-child td { border-bottom: 0; }

/* Callout */
.dh-callout { border-left: 4px solid var(--wp--preset--color--cta); background: var(--wp--preset--color--sand); border-radius: 0 12px 12px 0; padding: 1.25rem 1.5rem !important; }

/* Map */
.dh-map iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--dh-radius); box-shadow: var(--dh-shadow); display:block; }

/* CTA band */
.dh-cta-band h2 { color: #fff; }
.dh-cta-band p { color: rgba(255,255,255,.9); }

/* Page title band */
.dh-page-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem) !important; padding-bottom: clamp(2.5rem, 6vw, 4.5rem) !important; }
.dh-page-hero .wp-block-post-title { margin: 0; }
.dh-page-content > .wp-block-group.alignfull:first-child { margin-top: 0; }

/* Forms (Contact Form 7) */
.wpcf7 form { display: grid; gap: 1rem; }
.wpcf7 label { font-weight: 600; font-size: .95rem; display: block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=date], .wpcf7 select, .wpcf7 textarea {
  width: 100%; margin-top: .35rem; padding: .75rem .9rem; border: 1px solid rgba(10,63,80,.25); border-radius: 10px; font: inherit; background: #fff; box-sizing: border-box; }
.wpcf7 textarea { min-height: 130px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 2px solid var(--wp--preset--color--brand); border-color: transparent; }
.wpcf7 .dh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7 input[type=submit] { background: var(--wp--preset--color--cta); color: #fff; border: 0; border-radius: 999px; padding: .9rem 2rem; font-weight: 700; cursor: pointer; font-size: 1rem; justify-self: start; }
.wpcf7 .wpcf7-list-item { margin: .3rem 1.2rem 0 0; }
.dh-form-card { background: #fff; border-radius: var(--dh-radius); box-shadow: var(--dh-shadow); padding: clamp(1.25rem, 3vw, 2.25rem) !important; }

/* Footer */
.dh-footer { padding-top: clamp(3rem, 6vw, 4.5rem) !important; padding-bottom: 1.5rem !important; }
.dh-footer h3, .dh-footer h4 { color: #fff; }
.dh-footer h4 { font-family: var(--wp--preset--font-family--manrope); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; opacity: .8; }
.dh-footer a { color: #fff; text-decoration: none; }
.dh-footer a:hover { text-decoration: underline; }
.dh-footer-links { list-style: none; padding: 0; }
.dh-footer-links li { margin-bottom: .35rem; }
.dh-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem !important; padding-top: 1.25rem; opacity: .8; }

/* Mobile */
@media (max-width: 781px) {
  .dh-hide-mobile { display: none; }
  .dh-topbar .alignwide { justify-content: center !important; gap: .3rem 1rem; }
  .dh-header .dh-header-cta { margin-left: .5rem; }
  .dh-header .dh-header-cta .wp-block-button__link { padding: .55rem .95rem; font-size: .85rem; white-space: nowrap; }
  .dh-header .wp-block-site-logo img { width: 150px !important; }
  .dh-infostrip { margin-top: 1.5rem !important; }
  .wpcf7 .dh-form-row { grid-template-columns: 1fr; }
  .dh-practitioner { text-align: center; }
  .dh-practitioner .dh-portrait { display: flex; justify-content: center; }
  .dh-badges { justify-content: center; }
}
.dh-hero .wp-block-cover__inner-container { width: 100%; max-width: 1200px; margin: 0 auto; }
.dh-hero .wp-block-cover__inner-container > * { max-width: 40rem; }
.dh-hero .wp-block-cover__inner-container > h1 { max-width: 15ch; }
.dh-page-content > .alignfull, .dh-page-content > .wp-block-group, .dh-page-content > .wp-block-cover { margin-block-start: 0 !important; margin-block-end: 0 !important; }
main > .wp-block-post-content { margin-block-start: 0 !important; }
.dh-page-hero + .dh-page-content { margin-top: 0 !important; }

.dh-cards .is-style-dh-card { height: 100%; }
.dh-cards > .wp-block-column > .is-style-dh-card { flex: 1; }
.dh-footer .wp-block-column { min-width: 0; }
.dh-footer a[href^="mailto"] { overflow-wrap: anywhere; }
/* Mobile overlay menu */
.dh-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 1.75rem !important; }
.dh-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; }
.dh-nav .is-menu-open .wp-block-navigation__container, .dh-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.dh-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--literata); font-size: 1.5rem; font-weight: 500; color: var(--wp--preset--color--accent-3); }
.dh-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none !important; padding: .25rem 0 .5rem 1rem !important; }
.dh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--manrope); font-size: 1rem; color: var(--wp--preset--color--accent-4); padding: .2rem 0; }
.dh-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { box-shadow: none; outline: 0; color: var(--wp--preset--color--brand); }
.dh-nav.items-justified-right .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; }
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none !important; }
