/* Solution Description Styling */
.solution-description {
    line-height: 1.8;
    margin: 20px 0;
}

.solution-description br {
    content: "";
    display: block;
    height: 0.5em;
    line-height: 0.5em;
}

.solution-description p {
    margin-bottom: 15px;
}

.solution-description br + br {
    display: none;
}

/* Featured Image Styling for Solutions - Fill containers like WordPress */
.pbmit-service-style-1 .pbmit-featured-img-wrapper {
    overflow: hidden;
    width: 100%;
}

.pbmit-service-style-1 .pbmit-featured-wrapper {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.pbmit-service-style-1 .pbmit-featured-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive heights for Solutions */
@media (max-width: 768px) {
    .pbmit-service-style-1 .pbmit-featured-wrapper {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .pbmit-service-style-1 .pbmit-featured-wrapper {
        height: 200px;
    }
}

/* Partner Logos - Keep aspect ratio */
.pbmit-client-style-1 .pbmit-featured-wrapper {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.pbmit-client-style-1 .pbmit-featured-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Admin Form Image Preview */
.card-body .mb-2 img {
    max-width: 120px;
    max-height: 120px;
    display: block;
    margin-bottom: 10px;
}

/* Special Offers Carousel - Keep minimal to let Swiper handle layout */
.pbmit-special-offers-carousel {
    width: 100%;
}

.pbmit-special-offer-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 750px;
    border-radius: 12px;
    overflow: visible;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pbmit-special-offer-card .pbmit-offer-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: block;
}

.pbmit-special-offer-card .pbmit-offer-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.pbmit-special-offer-card .pbmit-offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.pbmit-special-offer-card .pbmit-offer-btn {
    margin-top: auto;
}

/* Badge styling for special offers */
.pbmit-special-offer-card .pbmit-offer-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.pbmit-special-offer-card .pbmit-offer-badges .badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Titres de section : taille fluide sur toutes les pages */
.pbmit-heading-subheading .pbmit-title{
	font-size: clamp(24px, 2.6vw, 34px) !important;
	line-height: 1.2 !important;
}

/* Page 404 et bloc Notre mission : tailles réduites */
.not-found-section h1{
	font-size: clamp(40px, 6vw, 56px) !important;
}
.not-found-section h2{
	font-size: clamp(24px, 3vw, 34px) !important;
}
.pbmit-bg-color-light h3.pbmit-element-title{
	font-size: clamp(22px, 2vw, 28px) !important;
}

.not-found-section{
	padding-bottom: 120px !important;
}

/* Titres des accordéons de la section expertise : taille fluide */
.energy-overview-section .accordion-header,
.energy-overview-section .accordion-button,
.energy-overview-section .pbmit-accordion-title-text{
	font-size: clamp(18px, 2.2vw, 26px) !important;
	line-height: 1.3 !important;
}

.not-found-section{
	padding-top: 150px !important;
}
