/* Fix for service detail pages - override Webflow's empty state hiding */
.service-wrap h1:not(:empty) {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.service-wrap .banner-description:not(:empty) {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Remove the text that shows in image area */
.wrap-right.service-img::before,
.wrap-right.service-img::after {
    content: none !important;
}

/* Ensure populated content is visible */
.service-detail-list-item:has(p:not(:empty)) {
    opacity: 1 !important;
}

/* Override w-dyn-bind-empty when content exists */
h1.w-dyn-bind-empty:not(:empty),
p.w-dyn-bind-empty:not(:empty),
.w-dyn-bind-empty:not(:empty) {
    visibility: visible !important;
    display: initial !important;
}