/* Force remove all container padding with maximum specificity */

/* Target all possible variations with !important */
.container-p-y,
div.container-p-y,
.container-xxl.container-p-y,
.container-xl.container-p-y,
.container-lg.container-p-y,
.container-md.container-p-y,
.container-sm.container-p-y,
.container.container-p-y,
.container-xxl.flex-grow-1.container-p-y,
div.container-xxl.flex-grow-1.container-p-y,
body .container-p-y,
body div.container-p-y,
body .container-xxl.container-p-y,
body .container-xxl.flex-grow-1.container-p-y,
html body .container-p-y,
html body div.container-p-y,
html body .container-xxl.container-p-y,
html body .container-xxl.flex-grow-1.container-p-y,
html body .layout-wrapper .container-p-y,
html body .layout-wrapper .content-wrapper .container-p-y,
html body .layout-page .container-p-y,
html body .layout-page .content-wrapper .container-p-y,
.layout-wrapper .container-p-y,
.layout-wrapper .content-wrapper .container-p-y,
.layout-page .container-p-y,
.layout-page .content-wrapper .container-p-y,
.content-wrapper .container-p-y,
#layout-wrapper .container-p-y,
#layout-wrapper .content-wrapper .container-p-y {
    padding-top: 0 !important;
    padding-top: 0px !important;
}

/* Override the specific Bootstrap utility that adds padding */
.container-p-y:not([class^=pt-]):not([class*=" pt-"]) {
    padding-top: 0 !important;
    padding-top: 0px !important;
}

/* For any inline styles */
[style*="padding-top"] .container-p-y {
    padding-top: 0 !important;
}

/* Nuclear option - use attribute selector */
[class*="container-p-y"] {
    padding-top: 0 !important;
}

/* Keep bottom padding */
.container-p-y {
    padding-bottom: 1rem !important;
}

/* Ensure headings don't stick to top */
.container-p-y > h1:first-child,
.container-p-y > h2:first-child,
.container-p-y > h3:first-child,
.container-p-y > h4:first-child,
.container-p-y > h5:first-child,
.container-p-y > h6:first-child {
    margin-top: 0.5rem !important;
}