/* VenusMed 1.5.4. Semantic markers survive original builder IDs and saved layouts.
 * Width/contrast invariants are also server-rendered on the components so CSS
 * pruning cannot silently remove the essential fix. Other pages are untouched.
 */
body.venusmed-native [data-vm-results-layout="centered"] [data-vm-gallery-shell] {
    box-sizing: border-box;
    --content-width: 100% !important;
}
body.venusmed-native [data-vm-gallery-frame] .vm-slider-controls {
    width: 100%; display: flex; justify-content: center; align-items: center;
    gap: 12px; margin-inline: auto; padding-top: 14px;
}
body.venusmed-native [data-vm-gallery-frame] .vm-slider-controls button {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 44px !important; height: 44px !important; min-width: 44px; min-height: 44px;
    padding: 0 !important; border-radius: 50% !important;
    border: 1px solid #b88195 !important; background: #fff !important;
    color: #71384e !important; box-shadow: 0 2px 8px rgb(74 37 52 / 8%);
}
body.venusmed-native [data-vm-gallery-frame] .vm-slider-controls button:hover {background:#f7eef2!important;}
body.venusmed-native [data-vm-gallery-frame] .vm-slider-controls button:focus-visible {
    outline: 3px solid #71384e; outline-offset: 3px;
}
body.venusmed-native [data-vm-gallery-frame] .vm-slide-status {font-variant-numeric:tabular-nums;color:#5a414c;}
body.venusmed-native [data-vm-services-callout] .elementor-heading-title {
    hyphens: none !important; word-break: normal !important;
    overflow-wrap: break-word !important; text-wrap: balance;
}
body.venusmed-native [data-vm-navigation="services"] {hyphens:none;white-space:normal;}
body.venusmed-native [data-vm-photo-label] {
    font-weight:500!important; line-height:1.4!important;
    box-shadow:none;
    text-shadow:0 2px 5px rgb(0 0 0 / 45%);
    transition:background-color .15s ease;
}
body.venusmed-native [data-vm-photo-label] a,
body.venusmed-native [data-vm-photo-label] a:visited,
body.venusmed-native [data-vm-photo-label] a:hover,
body.venusmed-native [data-vm-photo-label] a:focus {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
    display:block; text-decoration:none!important; overflow-wrap:break-word!important;
}
body.venusmed-native [data-vm-photo-label]:has(a:hover) {background-color:transparent!important;}
body.venusmed-native [data-vm-photo-label] a:focus-visible {outline:3px solid #fff;outline-offset:6px;border-radius:3px;}
@media (prefers-reduced-motion:reduce){body.venusmed-native [data-vm-photo-label]{transition:none;}}

/* 1.5.5: white outlines on the four existing homepage benefit icons only. */
body.venusmed-native .elementor-10 :is(
    .elementor-element-8b09dc2,
    .elementor-element-1ae454c,
    .elementor-element-62313be,
    .elementor-element-ae513da
) .elementor-icon {
    border-color:#ffffff!important;
}

/* 1.5.7: About-page gallery only. The fixed 996px legacy slide exceeded
 * the 700px global image cap. Matching frame/image geometry removes that gap.
 * Scoped styles do not change homepage comparison galleries or service photos. */
body.venusmed-native [data-vm-clinic-gallery] .vm-slides {
    border-radius:10px; overscroll-behavior-x:contain;
}
.vm-enhanced body.venusmed-native [data-vm-clinic-gallery] .vm-slides {
    scrollbar-width:none;
}
.vm-enhanced body.venusmed-native [data-vm-clinic-gallery] .vm-slides::-webkit-scrollbar {display:none;}
body.venusmed-native [data-vm-clinic-gallery] .vm-slider-controls {
    width:100%; display:flex; justify-content:center; align-items:center;
    gap:14px; margin:14px auto 0; padding:0;
}
body.venusmed-native [data-vm-clinic-gallery] .vm-slider-controls button {
    display:inline-flex!important; align-items:center; justify-content:center;
    width:44px!important; height:44px!important; min-width:44px; min-height:44px;
    padding:0!important; border-radius:50%!important;
    border:1px solid #b88195!important; background:#fff!important; color:#71384e!important;
    font-size:28px; line-height:1;
}
body.venusmed-native [data-vm-clinic-gallery] .vm-slider-controls button:hover {background:#f7eef2!important;}
body.venusmed-native [data-vm-clinic-gallery] .vm-slider-controls button:focus-visible,
body.venusmed-native [data-vm-clinic-gallery] .vm-slides:focus-visible {
    outline:3px solid #71384e; outline-offset:3px;
}
body.venusmed-native [data-vm-clinic-gallery] .vm-slide-status {font-variant-numeric:tabular-nums;color:#5a414c;}
html:not(.vm-enhanced) body.venusmed-native [data-vm-clinic-gallery] .vm-slider-controls {display:none;}
/* 1.5.8: these four homepage photo cards are informational, not links.
 * Images, captions, dimensions, typography and every other link are unchanged. */
body.venusmed-native [data-vm-home-feature] {cursor:default!important;}
