/* ===== Service Single Page Spacing Fixes ===== */

/* Target only the service-single-3 page specifically */
body.page-id-2666 .feature-project,
body.postid-2666 .feature-project,
body.service-single-page .feature-project {
    /* Remove the 98vh height that causes excessive spacing */
    height: auto !important;
    min-height: unset !important;
    
    /* Remove any bottom padding/margin that might add extra space */
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

/* Ensure the main content area doesn't have excessive spacing */
body.page-id-2666 .aixor-main,
body.postid-2666 .aixor-main,
body.service-single-page .aixor-main {
    min-height: unset !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Target the content container within service-single pages */
body.page-id-2666 .service-single-wrap,
body.postid-2666 .service-single-wrap,
body.service-single-page .service-single-wrap {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove spacing from any section containers that might add space */
body.page-id-2666 .feature-sec,
body.postid-2666 .feature-sec,
body.service-single-page .feature-sec {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

/* Ensure confirmation content doesn't have excessive spacing */
body.page-id-2666 .confirmation-content,
body.postid-2666 .confirmation-content,
body.service-single-page .confirmation-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Target any content elements that might have excessive spacing */
body.page-id-2666 .entry-content,
body.postid-2666 .entry-content,
body.service-single-page .entry-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove sticky positioning that might cause layout issues */
body.page-id-2666 .feature-project,
body.postid-2666 .feature-project,
body.service-single-page .feature-project {
    position: static !important;
    top: unset !important;
}

/* Ensure the main wrapper has appropriate sizing */
body.page-id-2666,
body.postid-2666,
body.service-single-page {
    min-height: unset !important;
}

/* Remove any viewport-based heights from containers */
body.page-id-2666 .container,
body.page-id-2666 .custom-container,
body.postid-2666 .container,
body.postid-2666 .custom-container,
body.service-single-page .container,
body.service-single-page .custom-container {
    min-height: unset !important;
    height: auto !important;
}

/* Target specific content areas that might have spacing */
body.page-id-2666 .project-single-content-wrap,
body.postid-2666 .project-single-content-wrap,
body.service-single-page .project-single-content-wrap {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure footer is not pushed down by content spacing */
body.page-id-2666 + footer,
body.postid-2666 + footer,
body.service-single-page + footer {
    margin-top: 0 !important;
}