body {
    max-width: 1300px;
    margin: 0 auto;
}

.hide_print {
    display: none !important;
}

/* 1) Nuke layout/grid behavior */
.elementor-section,
.elementor-container,
.elementor-row,
.elementor-column,
.elementor-widget-wrap,
.e-con,
.e-con-inner,
.e-grid,
.elementor-grid,
.elementor-repeater-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    float: none !important;
    position: static !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
}

/* 2) Remove all spacing that makes it look “webby” */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget,
.e-con,
.e-con-inner {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* 3) Strip backgrounds, borders, shadows, effects */
.elementor-section,
.elementor-column,
.elementor-widget,
.e-con,
.e-con-inner,
.elementor-widget-container {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    min-height: 0 !important;
}

/* 4) Make text read like a plain document */
body,
.elementor-widget-text-editor,
.elementor-heading-title {
    color: #000 !important;
    /* font-size: 12pt !important; */
    /* line-height: 1.45 !important; */
    text-transform: none !important;
    min-height: 0 !important;
}

/* 5) Hide visual fluff (optional, keep if you want super-plain) */
header,
footer,
nav,
.elementor-location-header,
.elementor-location-footer,
.elementor-button,
button,
.no-print {
    display: none !important;
}

/* 6) Keep images sensible */
img,
figure {
    max-width: 500px !important;
    height: auto !important;
    page-break-inside: avoid;
}

/* 7) Avoid awkward breaks */
h1,
h2,
h3 {
    page-break-after: avoid;
}

p,
ul,
ol,
blockquote {
    page-break-inside: avoid;
}

.elementor-widget-text-editor a {
    color: #000 !important;
}

/* 8) Optional: show URLs after links */
a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
    display: block;
}

a[href^="#"]:after,
a[href^="javascript:"]:after {
    content: "";
}

h1 {
    font-size: 32px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

h2 {
    font-size: 28px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

h3{
    font-size: 24px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

h4 {
    font-size: 22px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

h5 {
    font-size: 21px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

h6 {
    font-size: 20px !important;
    margin: .5em 0 .25em 0 !important;
    border-bottom: 0px solid #000 !important;
}

p,
ul {
    margin: 0 0 1em 0 !important;
}

li {
    margin: 0 0 .5em 0 !important;
}

li:last-child {
    margin: 0 0 1em 0 !important;
}

/* Make swiper containers behave like normal blocks */
.swiper,
.swiper-container,
.elementor-swiper,
.elementor-main-swiper {
    overflow: visible !important;
    width: 100% !important;
    height: auto !important;
}

/* Disable the horizontal sliding layout */
.swiper-wrapper {
    display: block !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
    height: auto !important;
}

/* Each slide becomes a normal block stacked one after another */
.swiper-slide {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 0 12pt 0 !important;
    transform: none !important;
    page-break-inside: avoid;
}

/* Hide navigation UI */
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination,
.swiper-scrollbar {
    display: none !important;
}

/* Elementor testimonial/media carousel wrappers */
.elementor-widget-testimonial-carousel,
.elementor-widget-image-carousel,
.elementor-widget-media-carousel,
.elementor-widget-slides {
    overflow: visible !important;
}

/* If Elementor set fixed heights, kill them */
.elementor-swiper,
.elementor-slides-wrapper,
.elementor-slides {
    height: auto !important;
    min-height: 0 !important;
}

/* Kill any swiper / elementor nav buttons + their pseudo elements */
.elementor-swiper-button,
.elementor-swiper-button-prev,
.elementor-swiper-button-next,
.elementor-swiper-button i,
.elementor-swiper-button svg,
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination,
.swiper-scrollbar,
.elementor-swiper-button::before,
.elementor-swiper-button::after,
.elementor-swiper-button-prev::before,
.elementor-swiper-button-prev::after,
.elementor-swiper-button-next::before,
.elementor-swiper-button-next::after,
.swiper-button-prev::before,
.swiper-button-prev::after,
.swiper-button-next::before,
.swiper-button-next::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* If Elementor is overlaying them with absolute positioning, neutralize */
.elementor-swiper-button,
.elementor-swiper-button-prev,
.elementor-swiper-button-next {
    position: static !important;
}

/* home */

#carte_interactive_texte ul li {
    font-size: 20px !important;
    text-transform: none !important;
}

.mrc_breadcrumbs {
    display: none !important;
}

.entete_image_random {
    display: none !important;
}

/* sous_pages_bloc */

.sous_pages_bloc {
    display: block !important;
}

.sous_pages_bloc_item {
    margin: 0 0 1em 0 !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    border: 0px solid #000 !important;
    padding: 0px !important;
    display: block !important;
}

.sous_pages_bloc_icon {
    display: none !important;
}

.sous_pages_bloc_titre {
    color: #000 !important;
}

.sous_pages_bloc_btn a,
.elementor-widget-text-editor .sous_pages_bloc_btn a {
    color: #000 !important;
    cursor: pointer !important;
    display: inline-block !important;
    fill: #000 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4 {
    border-bottom: 0px solid #000;
}

.sous_pages_container {
    background-color: transparent !important;
    padding: 0 !important;
}

.sous_pages {
    display: block !important;
    list-style: disc !important;          /* or: circle, square, etc. */
    list-style-position: outside !important; /* default, but be explicit */
    padding-left: 1.25rem !important;     /* gives room for bullets */
    margin-left: 0 !important;            /* optional */
    list-style: disc !important;
}

.sous_pages li {
    list-style: disc !important;
    display: list-item !important;
}

.sous_pages li a {
    padding: 0 !important;
    background-image: none !important;
}

.nous_joindre_categorie_group {
    /* display: block !important; */
}

.nous_joindre_item_photo a[href]:after {
    display: none !important;
}

.emploi_loop_item[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
    display: block;
}

.emploi_loop_item .elementor-widget-icon {
    display: none !important;
}

.prefete_photo figure,
.prefete_photo img {
    width: 250px !important;
    margin-bottom: 24px !important;
}

.proces_verbaux .two_columns {
   -webkit-column-count: 1 !important;
  		   -moz-column-count: 1 !important;
  				column-count: 1 !important;
}

.proces_verbaux_accordeon .e-n-accordion-item-title {
    padding: 0 !important;
    border: none !important;
    margin-bottom: 1em !important;
}

.proces_verbaux_accordeon .e-n-accordion-item-title-header h2 {
    font-size: 24px !important;
    color: #000 !important;
}

.proces_verbaux_accordeon .e-n-accordion-item-title-icon {
    display: none !important;
}

.municipalite_liste {
    display: none !important;
}

.municipalite_loop_images {
    display: none !important;
}

.municipalite_loop_maire {
    display: none !important;
}

.municipalite_loop_info {
    margin-bottom: 1em !important;
}

.page-id-1979 h2 {
    margin: 1em 0 1em 0 !important;
}

.page-id-1979 h3 {
    margin: 1em 0 1em 0 !important;
}

.la_mrc_en_photos,
.la_mrc_en_photos_thumbs,
#la_mrc_en_photos.slick-initialized,
#la_mrc_en_photos_thumbs.slick-initialized {
    display: none !important;
}

.page-id-1687 .three_columns {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
}

.logements {
    background-color: #fff !important;
    padding: 0 !important;
    display: block !important;
    margin-top: 1em !important;
}

.logement {
    margin-bottom: 1em !important;
}

.logement th,
.logement td {
    font-size: 18px !important;
}

._df_book {
    display: none !important;
}

.page-id-1991 .three_columns,
.page-id-1991 .three_columns_budget {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
}

.nous_joindre_adresses h2 {
    font-size: 24px !important;
}

.nous_joindre_adresses p {
    font-size: 18px !important;
}

.nous_joindre_employes {
    /* font-size: 75% !important; */
}

.nous_joindre_employes h2 {
    font-size: 24px !important;
}

.nous_joindre_employes p {
    font-size: 18px !important;
}

#nous_joindre_map {
    display: none !important;
}

.actualite_image {
    margin-bottom: 1em !important;
}

.activite-details {
    padding: 0 !important;
    margin-bottom: 1em;
}

.act-activite--details__link {
    display: none !important;
}

.activite_image {
    margin-bottom: 1em !important;
}
