/* WordPress integration keeps the approved DCEW visual system. */
.site-header .brand{display:block;flex:0 0 225px;width:225px;height:auto;line-height:0}
.brand .dcew-original-logo,.brand .custom-logo{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.footer-brand .brand{display:block;width:240px;max-width:100%;height:auto;background:transparent;padding:0;line-height:0}
.footer-brand .custom-logo-link{display:block}.custom-logo-link img{height:auto;width:100%}
.dcew-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.dcew-form-status:empty{display:none}.dcew-form-status{margin:0 0 28px;padding:18px 20px;border:1px solid #88aaa2;background:#edf5ef;scroll-margin-top:130px}
.dcew-form-status.is-error{border-color:#a02a2a;background:#fff5f1}.dcew-form-status h2{margin-top:0}
.dcew-field-error{color:#8b2424;margin:8px 0 0;font-size:.9rem}.patient-form [aria-invalid=true]{border-color:#a02a2a;outline:1px solid #a02a2a}
.patient-fields{align-items:start}.form-field>label{min-height:3.4em}.patient-form [hidden]{display:none!important}
.dcew-legacy-content{min-height:45vh;max-width:1000px}.dcew-legacy-content img{max-width:100%;height:auto}
.dcew-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:32px}.dcew-link-card{padding:28px;border:1px solid var(--line);background:white;min-width:0}.dcew-link-card h2{font-size:27px}.dcew-link-card ul{padding-left:20px}.dcew-link-card li{margin-block:12px}.dcew-link-card a{overflow-wrap:anywhere}
@media(max-width:900px){.dcew-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dcew-links-grid{grid-template-columns:1fr}}
body.admin-bar .site-header{top:32px}.dcew-staging-bar{background:#f2e6c5;color:#153f43;padding:8px 20px;text-align:center;font:13px/1.45 system-ui,sans-serif}
.dcew-contact-wrap{margin:20px auto 60px}.dcew-contact-logo{height:auto!important;object-fit:contain}
@media(max-width:1100px){.site-header .brand{flex-basis:195px;width:195px}}
@media(max-width:700px){.site-header .brand{flex-basis:165px;width:165px}.header-inner{gap:10px}.form-field>label{min-height:0}.footer-brand .brand{width:220px}.dcew-form-status{scroll-margin-top:100px}body.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.carousel-track{scroll-behavior:auto}}
/* Preserve portrait framing after converting preview .html links to WP routes. */
.page-index .team-carousel-card[href$="/ons-team/#mike"] .carousel-photo img,
.page-ons-team #mike .person-photo img{width:auto;max-width:100%;height:100%;object-fit:contain;object-position:center bottom}
.page-ons-team #mike .person-photo{height:280px}
@media(max-width:700px){.page-ons-team #mike .person-photo{height:300px}.mobile-actions{touch-action:manipulation}.mobile-actions a{touch-action:manipulation;-webkit-tap-highlight-color:rgba(21,63,67,.12)}}
@media(max-width:370px){.page-ons-team #mike .person-photo{height:270px}}
/* A textual NZa pricing condition needs its own line on narrow screens. */
.rates-table td.dcew-tariff-amount-text{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
  .rates-table tbody tr.dcew-tariff-text-row{grid-template-columns:minmax(0,1fr)}
  .rates-table tbody tr.dcew-tariff-text-row>td.dcew-tariff-amount-text{grid-column:1/-1;grid-row:3;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;font-weight:400}
}

/* Visible language choice on every screen, with 44px touch targets. */
.dcew-language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid currentColor;border-radius:8px;line-height:1;font:600 13px/1 Arial,sans-serif}
.dcew-language-switch>a,.dcew-language-switch>span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;text-decoration:none;border-radius:5px;color:inherit}
.dcew-language-switch>.is-active{background:#f8faf7;color:#153f43}
.utility-bar .dcew-language-switch>a{min-height:44px}
.dcew-language-switch>a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.menu-panel .dcew-language-switch{margin-top:18px}
.menu-panel .dcew-language-switch>.is-active{background:#153f43;color:#fff}
@media(max-width:700px){.utility-bar>.wrap{min-height:54px}.utility-bar .utility-links{align-items:center;gap:12px}.utility-bar .dcew-language-switch>a,.utility-bar .dcew-language-switch>span{min-height:44px;min-width:44px}.dcew-language-switch{flex-shrink:0}}
