/* Small additions to the existing Hipno / Elementor design. */
.genesis-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:root { scroll-padding-top: 110px; }
.genesis-contact-content { width: min(1140px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0; color: #444; }
.genesis-contact-heading { max-width: 780px; margin-bottom: 40px; }
.genesis-contact-content h1 { font-family: 'Marcellus', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.15; color: #365b6d; margin: 0 0 20px; }
.genesis-contact-content h2 { font-family: 'Marcellus', serif; font-size: 28px; font-weight: 400; line-height: 1.25; color: #365b6d; margin: 0 0 20px; }
.genesis-contact-content .genesis-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #365b6d; }
.genesis-contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.genesis-booking-card { background: #edf3f3; border-radius: 20px; padding: 32px; margin-bottom: 36px; }
.genesis-contact-information dl { margin: 0; }
.genesis-contact-information dl > div { padding: 14px 0; border-bottom: 1px solid #eeeded; }
.genesis-contact-information dt { font-size: 13px; font-weight: 600; color: #365b6d; margin-bottom: 4px; }
.genesis-contact-information dd { margin: 0; overflow-wrap: anywhere; }
.genesis-contact-content a:not(.elementor-button), .genesis-cta-actions .genesis-contact-link { color: #365b6d; text-decoration: underline; text-underline-offset: 3px; }
/* Contact must remain readable if legacy loading scripts fail or JS is off. */
.genesis-contact-page .preloader { display: none !important; }
.genesis-map-section { margin-top: 56px; padding-top: 36px; border-top: 1px solid #eeeded; }
.genesis-map-consent { padding: 24px; background: #f9f9f9; border-radius: 16px; }
.genesis-map-consent p { max-width: 900px; }
.genesis-map-consent a { display: inline-block; margin: 12px; }
.genesis-map-host iframe { width: 100%; height: 380px; border: 0; border-radius: 16px; margin-top: 20px; }
.genesis-map-section [hidden] { display: none !important; }
.genesis-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 0 auto; }
.genesis-appointment .genesis-cta-actions { max-width: 100%; }
.elementor .genesis-book-button { background: #365b6d; color: #fff; text-align: center; }
.elementor .genesis-book-button:hover, .elementor .genesis-book-button:focus { background: #234353; color: #fff; }
/* Fixed values in the original responsive variants; no count-up/reset. */
.genesis-stats-visible { visibility: visible !important; }
.elementor .genesis-statistics { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.elementor .genesis-statistics .genesis-statistic { width: 100%; max-width: 100%; --container-widget-width: 100%; border: 0; margin: 0; text-align: center; }
.genesis-statistic .elementor-counter-number-wrapper { justify-content: center; }
.genesis-statistic .elementor-counter-number-prefix, .genesis-statistic .elementor-counter-number-suffix { flex-grow: 0; }
.genesis-statistic .elementor-counter-title { line-height: 1.5; }
.elementor .genesis-statistics { background: #365b6d; color: #fff; border-radius: 16px; padding: 24px !important; }
.elementor .genesis-statistics .genesis-statistic .elementor-counter-number-wrapper { color: #fff; font-family: 'Marcellus', serif; font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.15; }
.elementor .genesis-statistics .genesis-statistic .elementor-counter-title { color: #fff; font-family: 'Sora', sans-serif; }
.genesis-unified-physio .genesis-modality-section { display: grid; gap: 24px; width: 100%; min-width: 0; padding-top: 30px; border-top: 1px solid #eeeded; }
.genesis-unified-physio .genesis-modality-title { font-family: 'Marcellus', serif; font-size: clamp(27px, 3vw, 34px); font-weight: 400; color: #365b6d; line-height: 1.2; margin: 0; }
.genesis-unified-physio .genesis-service-section > h3 { font-size: 24px; margin-bottom: 18px; }
.genesis-unified-physio .genesis-attention-grid h4 { font-family: 'Marcellus', serif; font-size: 20px; font-weight: 400; line-height: 1.3; color: #365b6d; margin-bottom: 10px; }
@media (max-width: 1024px) {
  .genesis-contact-layout { gap: 30px; }
  .genesis-booking-card { padding: 24px; }
}
@media (max-width: 767px) {
  .genesis-contact-content { width: calc(100% - 30px); padding: 40px 0; }
  .genesis-contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .genesis-cta-actions { width: 100%; }
  .genesis-cta-actions .genesis-book-button { width: 100%; }
  .genesis-map-host iframe { height: 300px; }
  .elementor .genesis-statistics { gap: 18px; }
  .genesis-statistic .elementor-counter-title { font-size: 13px !important; }
}
@media (max-width: 420px) {
  .elementor .genesis-statistics { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .genesis-statistics, .genesis-statistics * { animation: none !important; transition: none !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #277b83; outline-offset: 4px; }
.genesis-area-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.genesis-area-links a { border: 1px solid currentColor; padding: 10px 16px; border-radius: 24px; }
.genesis-pediatric-area { width: 100%; padding-top: 28px; }
.genesis-pediatric-area h2 { margin-bottom: 20px; }
.genesis-new-member { min-width: 0; }
.genesis-new-member h3, .genesis-new-member p { overflow-wrap: anywhere; }
.genesis-new-member .elementor-widget-button { max-width: 100%; }
.genesis-new-member .elementor-button-text { white-space: normal; }
.genesis-physio-card h3 { line-height: 1.2; }
.elementskit-dropdown > li > a { white-space: normal !important; }
@media (max-width: 767px) {
  .genesis-area-links { flex-direction: column; }
  .genesis-area-links a { width: 100%; }
}

/* Keep the existing service image and card, with readable choices over it. */
.genesis-physio-card .genesis-card-modalities { display: grid; gap: 8px; width: 100%; }
.genesis-physio-card .genesis-card-modalities a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #365b6d; color: #fff; font-family: 'Sora', sans-serif; font-size: 13px; line-height: 1.45; }
.genesis-physio-card .genesis-card-modalities a:hover { background: #234353; }
.genesis-physio-card .genesis-card-modalities a:focus-visible { outline-color: #fff; }
.genesis-physio-card .elementor-element-895e96d { width: 100%; }
.genesis-physio-card .elementor-element-97f050e h3 { width: fit-content; padding: 6px 10px; border-radius: 8px; background: #365b6d; color: #fff; }
/* One final appointment block per service, outside the main two-column row. */
.genesis-appointment { box-sizing: border-box; width: min(1140px, calc(100% - 40px)); margin: 36px auto 64px; padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: #edf3f3; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #444; }
.genesis-appointment > div { max-width: 760px; }
.elementor .genesis-appointment h2 { margin: 0 0 14px; font-family: 'Marcellus', serif; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 400; color: #365b6d; }
.genesis-appointment p { margin: 0; color: #444; line-height: 1.7; }
.elementor .genesis-appointment .genesis-contact-button { background: #365b6d; color: #fff; flex: 0 0 auto; padding: 16px 24px; }
.elementor .genesis-appointment .genesis-contact-button:hover { background: #234353; color: #fff; }
.genesis-direct-contact { padding: 24px; border: 1px solid #b4c7cc; border-radius: 20px; background: #edf3f3; color: #444; }
.genesis-direct-contact p { color: #444; }
.genesis-contact-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.genesis-contact-actions > a { overflow-wrap: anywhere; }
.genesis-contact-actions > a:not(.elementor-button) { color: #365b6d; text-decoration: underline; }
/* Contrast fixes scoped strictly to the two physiotherapy pages. */
.genesis-physio-page .genesis-physio-content { --e-global-color-text: #444; --e-global-color-accent: #365b6d; }
.genesis-physio-content .team-sidebar-body { background: #edf3f3; border-radius: 0 0 20px 20px; padding: 20px; }
.genesis-physio-content .team-sidebar-body .elementor-icon-list-text,
.genesis-physio-content .team-sidebar-body .elementor-icon-list-text b { color: #365b6d !important; }
.genesis-physio-content .elementor-element-b0cf1df p,
.genesis-physio-content .elementor-element-b0cf1df .elementor-icon-box-title { color: #444; }
.genesis-physio-content .elementor-element-b0cf1df h1,
.genesis-physio-content .elementor-element-b0cf1df h2,
.genesis-physio-content .elementor-element-b0cf1df .elementskit-info-box-title { color: #365b6d; }
.genesis-physio-content .genesis-area-links a, .genesis-physio-content .genesis-area-link { color: #365b6d; }
.genesis-physio-content .genesis-area-link { text-decoration: underline; text-underline-offset: 4px; }
.genesis-physio-content .genesis-area-links a:hover { background: #edf3f3; }
.genesis-physio-content .elementor-element-b0cf1df { min-width: 0; }
.genesis-pediatric-page .genesis-service-intro h1 { font-family: 'Marcellus', serif; font-size: clamp(30px, 3.5vw, 40px); font-weight: 400; line-height: 1.15; margin-bottom: 24px; }
.genesis-pediatric-page .genesis-eyebrow { font-family: 'Sora', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #365b6d; margin-bottom: 16px; }
.genesis-pediatric-page .genesis-service-section h2 { font-family: 'Marcellus', serif; font-size: 24px; font-weight: 400; line-height: 1.3; margin: 0 0 18px; }
.genesis-pediatric-page .genesis-service-section h3 { font-family: 'Marcellus', serif; font-size: 20px; font-weight: 400; line-height: 1.3; color: #365b6d; margin: 0 0 10px; }
.genesis-pediatric-page .genesis-service-section p, .genesis-pediatric-page .genesis-service-intro p { line-height: 1.75; }
.genesis-pediatric-page .genesis-attention-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.genesis-pediatric-page .genesis-attention-grid > div { background: #f9f9f9; border: 1px solid #eeeded; border-radius: 16px; padding: 22px; }
.genesis-pediatric-page .genesis-attention-grid p { margin-bottom: 0; }
.genesis-pediatric-page .genesis-objectives { padding-left: 22px; margin: 0 0 20px; color: #444; }
.genesis-pediatric-page .genesis-objectives li { margin-bottom: 12px; padding-left: 4px; }
@media (max-width: 1024px) {
  .genesis-physio-card .genesis-card-modalities a { font-size: 14px; }
  .genesis-appointment { gap: 24px; }
}
@media (max-width: 767px) {
  .genesis-appointment { flex-direction: column; align-items: flex-start; width: calc(100% - 30px); margin-bottom: 40px; }
  .genesis-appointment .genesis-contact-button { width: 100%; text-align: center; }
  .genesis-physio-content .elementor-element-b0cf1df { --padding-left: 0px; --padding-right: 0px; }
  .genesis-pediatric-page .genesis-attention-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .elementor-invisible { visibility: visible !important; }
}


/* Direct contact and local video: no plugin initialization required. */
.genesis-contact-heading { max-width: 850px; margin: 0 auto 40px; text-align: center; }
.genesis-contact-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-bottom: 48px; }
.genesis-contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #ccdce1; border-radius: 22px; background: #f2f7f8; }
.genesis-contact-card h2 { font-size: 27px; line-height: 1.25; }
.genesis-contact-card p { flex: 1; color: #444; }
.genesis-contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #dbeaf0; color: #365b6d; font-size: 30px; margin-bottom: 24px; }
.genesis-contact-card .elementor-button { width: 100%; line-height: 1.5; padding: 15px; }
.genesis-contact-information { padding: 32px; background: #f8fafb; border-radius: 20px; }
.genesis-contact-information dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 32px; }
.elementor .genesis-video-section { padding: 0 !important; gap: 24px !important; overflow: hidden; }
.elementor .genesis-video-section::before { display: none !important; }
.genesis-video-player { position: relative; width: 100%; line-height: 0; }
.genesis-video-player video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 850; border-radius: 20px; object-fit: contain; }
.genesis-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; padding: 0; border: 2px solid white; border-radius: 50%; background: #365b6d; color: white; font-size: 30px; cursor: pointer; }
.genesis-video-play[hidden] { display: none; }
@media(max-width: 1024px) { .genesis-contact-card { padding: 22px; } }
@media(max-width: 767px) {
 .genesis-contact-cards, .genesis-contact-information dl { grid-template-columns: 1fr; }
 .genesis-video-player video { aspect-ratio: 598 / 854; }
}

.genesis-directions-link { padding: 16px 0; }
.genesis-directions-link a { color: #365b6d; text-decoration: underline; }

/* Isolate the media control from the theme's global button decoration. */
.genesis-video-player .genesis-video-play { display: grid; place-items: center; border-radius: 50%; line-height: 1; z-index: 2; box-shadow: 0 4px 20px #0004; }
.genesis-video-player .genesis-video-play[hidden] { display: none; }
.genesis-video-player .genesis-video-play::before, .genesis-video-player .genesis-video-play::after { content: none; }
.genesis-video-player .genesis-video-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.genesis-video-player video { background: #365b6d; }
