/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Default GeneratePress child theme
Author: Saleh CHANSELME
Template: generatepress
Version: 1.0.0
*/

/*  slide in up left right section  */

/* 
 * Scroll Reveal Animations 
 * Hardware Accelerated & Performant
 */

/* Base States - Hidden */
/* 
 * Scroll Reveal Animations 
 * Increased distance parameters for longer entry paths
 */

/* 
 * Scroll Reveal Animations 
 * Adjusted duration (2.5s) for a slower, smoother entry over the 100px distance
 */

.slide-in-up,
.slide-in-right,
.slide-in-left {
    opacity: 0;
    visibility: hidden;
    /* Time increased to 2.5s for slower animation */
    transition: opacity 2.5s cubic-bezier(0.22, 1, 0.36, 1), transform 2.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.slide-in-up {
    transform: translateY(100px);
}

.slide-in-right {
    transform: translateX(100px);
}

.slide-in-left {
    transform: translateX(-100px);
}

.slide-in-up.is-visible,
.slide-in-right.is-visible,
.slide-in-left.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

/* Accessibility fallback */
@media (prefers-reduced-motion: reduce) {

    .slide-in-up,
    .slide-in-right,
    .slide-in-left {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/*  end slide in up left right section  */

/* ##### Universal button */
/* Universal Airpme Button Class - Anti-Jitter Update */
.airpme-global-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #0D66C2;
    color: #ffffff;
    border-radius: 7px;
    padding: 0.85rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    min-width: 200px;
    cursor: pointer;
    text-shadow: rgba(0, 0, 0, 1) 1px 1px 2px;
    /* Animation definition */
    transition: all 0.3s ease;
    /* Replaced legacy rgba(31, 177, 193, 0.3) (#1fb1c1) with #0D66C2 equivalent */
    box-shadow: 0 5px 15px rgba(13, 102, 194, 0.3);

    /* Hardware Acceleration to prevent layout shift */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    will-change: transform, box-shadow;
}

.airpme-global-btn:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;

    /* Combined transform to maintain hardware acceleration during hover */
    transform: translateY(-3px) translateZ(0);
    /* Replaced legacy rgba(31, 177, 193, 0.4) with #004182 equivalent */
    box-shadow: 0 8px 20px rgba(0, 65, 130, 0.4);
}

/* ##### end Universal button */
/*############### actualité section #####################*/
/* Base Grid */
.airpme-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Card Structure */
.airpme-news-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding-bottom: 2.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.airpme-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Desktop Border Radius */
@media (min-width: 769px) {
    .airpme-news-card:first-child {
        border-radius: 50px 0 0 50px;
    }

    .airpme-news-card:nth-child(2) {
        border-radius: 0;
    }

    .airpme-news-card:last-child {
        border-radius: 0 50px 50px 0;
    }
}

/* Mobile Border Radius & Grid */
@media (max-width: 768px) {
    .airpme-news-grid {
        grid-template-columns: 1fr;
    }

    .airpme-news-card:first-child {
        border-radius: 50px 50px 0 0;
    }

    .airpme-news-card:nth-child(2) {
        border-radius: 0;
    }

    .airpme-news-card:last-child {
        border-radius: 0 0 50px 50px;
    }
}

/* Typography & Layout */
.airpme-news-image {
    width: 100%;
    margin-bottom: 0;
    /* Removed margin to let the content padding handle spacing */
}

.airpme-news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.airpme-news-content {
    padding: 2rem 2rem 0 2rem;
    /* Added 2rem top padding to push title away from the top edge */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.airpme-news-title {
    font-size: 1.4rem;
    color: #3f5261;
    margin: 0 0 0.75rem;
    /* Adjusted for better flow */
    font-weight: 700;
}

.airpme-news-title a {
    color: inherit;
    text-decoration: none;
}

.airpme-news-date {
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 1.5rem;
    /* Increased to ensure space if no subtitle exists */
}

.airpme-news-subtitle {
    font-size: 1rem;
    color: #666;
    margin: -1rem 0 2rem;
    /* Pushed further down from the excerpt content */
    font-weight: 400;
}

.airpme-news-excerpt {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Pill Button (#0D66C2) */
.airpme-news-btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: transparent;
    color: #0D66C2;
    border: 2px solid #0D66C2;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.airpme-news-btn:hover {
    background: #004182;
    border-color: #004182;
    color: #ffffff;
}

/* post style  */
/* 1. Center the Header (Title & Subtitle) */
.single-actualite .entry-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.single-actualite .entry-title {
    font-size: 2.5rem;
    color: #3f5261;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* 2. Modernize the Article Container */
.single-actualite .inside-article {
    max-width: 850px;
    /* Narrows the reading area like a modern blog */
    margin: 3rem auto;
    padding: 3.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
}

/* 3. Style the Featured Image */
.single-actualite .featured-image {
    text-align: center;
    margin-bottom: 3rem;
}

.single-actualite .featured-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 4. Improve Typography for Reading */
.single-actualite .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 5. Center the 'Lire plus' Button */
.single-actualite .entry-content>div:last-child {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

/* ####pagination#### */
/* Base Grid */
.airpme-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Card Structure */
.airpme-news-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding-bottom: 2.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.airpme-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Desktop Border Radius */
@media (min-width: 769px) {
    .airpme-news-card:first-child {
        border-radius: 50px 0 0 50px;
    }

    .airpme-news-card:nth-child(2) {
        border-radius: 0;
    }

    .airpme-news-card:last-child {
        border-radius: 0 50px 50px 0;
    }
}

/* Mobile Border Radius & Grid */
@media (max-width: 768px) {
    .airpme-news-grid {
        grid-template-columns: 1fr;
    }

    .airpme-news-card:first-child {
        border-radius: 50px 50px 0 0;
    }

    .airpme-news-card:nth-child(2) {
        border-radius: 0;
    }

    .airpme-news-card:last-child {
        border-radius: 0 0 50px 50px;
    }
}

/* Typography & Layout */
.airpme-news-image {
    width: 100%;
    margin-bottom: 0;
}

.airpme-news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.airpme-news-content {
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.airpme-news-title {
    font-size: 1.4rem;
    color: #3f5261;
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.airpme-news-title a {
    color: inherit;
    text-decoration: none;
}

.airpme-news-date {
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 1.5rem;
}

.airpme-news-subtitle {
    font-size: 1rem;
    color: #666;
    margin: -1rem 0 2rem;
    font-weight: 400;
}

.airpme-news-excerpt {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Pill Button (#0D66C2) */
.airpme-news-btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: transparent;
    color: #0D66C2;
    border: 2px solid #0D66C2;
    border-radius: 7px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.airpme-news-btn:hover {
    background: #004182;
    border-color: #004182;
    color: #ffffff;
}

/* Archive Button Styling */
.airpme-news-archive-action {
    text-align: center;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.airpme-btn-archive {
    background: #2F526B;
    border-color: #2F526B;
    color: #ffffff;
}

.airpme-btn-archive:hover {
    background: #004182;
    border-color: #004182;
    color: #ffffff;
}

/* Single Post Style */
.single-actualite .entry-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.single-actualite .entry-title {
    font-size: 2.5rem;
    color: #3f5261;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.single-actualite .inside-article {
    max-width: 850px;
    margin: 3rem auto;
    padding: 3.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.single-actualite .featured-image {
    text-align: center;
    margin-bottom: 3rem;
}

.single-actualite .featured-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.single-actualite .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
}

/*############### end actualité section #####################*/

/* ############## Partner section ########################## */
/* Partners Infinite Slider (CSS Only - Hardware Accelerated) */
.airpme-partners-wrapper {
    width: 100%;
    overflow: hidden;
    /* background: #ffffff; */
    padding: 3rem 0;
    position: relative;
    box-sizing: border-box;
}

/* Gradient masks for smooth edge fading */
.airpme-partners-wrapper::before,
.airpme-partners-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.airpme-partners-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.airpme-partners-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.airpme-partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-partners 35s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

/* Pause animation on hover */
.airpme-partners-track:hover {
    animation-play-state: paused;
}

/* Item layout stacking logo and text */
.airpme-partner-item {
    flex-shrink: 0;
    margin: 0 2.5rem;
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.airpme-partner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.airpme-partner-img {
    max-width: 100%;
    height: auto;
    max-height: 85px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.airpme-partner-img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* Styling for the Partner Name */
.airpme-partner-name {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666666;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .airpme-partner-item {
        margin: 0 1.5rem;
        width: 120px;
    }

    .airpme-partners-wrapper::before,
    .airpme-partners-wrapper::after {
        width: 60px;
    }
}

/* ############## end Partner section ########################## */
/* ############# section présidents et bureau  */

/* 
 * AirPME Members Grid Styles - Refined Version
 * Smaller cards, circular avatars, and elegant dividers 
 */

.airpme-members-grid {
    display: grid;
    /* Reduced base size from 250px to 200px for smaller, more compact cards */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.airpme-member-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    /* Added top padding so the circular image breathes inside the card */
    padding-top: 25px;
}

.airpme-member-card:hover {
    transform: translateY(-5px);
    /* Replaced legacy rgba(31, 177, 193, 0.15) (#1fb1c1) with #0D66C2 equivalent */
    box-shadow: 0 15px 35px rgba(13, 102, 194, 0.15);
}

/* Circular Photo Architecture */
.member-photo-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fcfcfc;
    border: 3px solid #f9f9f9;
    /* Forces WebKit browsers to respect border-radius on images */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.airpme-member-card:hover .member-photo {
    transform: scale(1.08);
}

.member-info {
    padding: 15px 15px 25px;
    position: relative;
}

/* 
 * The Separating Line 
 * Generated via CSS to keep the HTML DOM tree clean 
 */
.member-info::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #0D66C2;
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.member-name {
    font-size: 1.05rem;
    /* Scaled down slightly to fit the new card width */
    font-weight: 700;
    color: #3f5261;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.member-role {
    font-size: 0.85rem;
    color: #0D66C2;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ############# end section présidents et bureau  */

/* ############## section conseil d'administration ################# */

/* 
 * AirPME Members Table Styles 
 * Engineered for full-width container fill, clean data presentation, and mobile responsiveness
 */

.airpme-table-responsive {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    margin: 30px 0 50px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.airpme-members-table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
    margin: 0;
}

.airpme-members-table th {
    background-color: #0D66C2;
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.airpme-members-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #4a5568;
    font-size: 1rem;
    vertical-align: middle;
    word-break: break-word;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.airpme-members-table tbody tr:last-child td {
    border-bottom: none;
}

.airpme-members-table tbody tr:hover td {
    background-color: #ebf4fd;
}

.airpme-member-name {
    font-weight: 700;
    color: #0D66C2;
    width: 50%;
}

.airpme-members-table tbody tr:hover .airpme-member-name {
    color: #004182;
}

.airpme-member-role {
    width: 50%;
}

/* ############## end section conseil d'administration ################# */

/* ==========================================================================
   ACTES CIFEPME - COMPLETE STYLES (CARDS & SINGLE PAGE)
   ========================================================================== */

/* 
 * 1. Grid & Cards Layout (Front Page)
 */
.airpme-actes-grid {
    display: grid;
    /* auto-fit dynamically fills the row with available columns */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
    /* Force the grid to take the full width of the parent */
    align-items: stretch;
    /* Ensure all cards in a row have equal height */
}

.airpme-acte-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.airpme-acte-card:hover {
    transform: translateY(-5px);
    /* Replaced legacy rgba(31, 177, 193, 0.15) (#1fb1c1) with #0D66C2 equivalent */
    box-shadow: 0 15px 35px rgba(13, 102, 194, 0.15);
}

.acte-photo-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f4f6f8;
    /* Added background color to fill empty spaces nicely */
    display: flex;
    align-items: center;
    justify-content: center;
}

.acte-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from 'cover' to 'contain' to prevent zooming and cropping */
    transition: transform 0.5s ease;
    padding: 10px;
    /* Optional: adds a small breathing room around the document image */
}

/* .airpme-acte-card:hover .acte-photo {
    transform: scale(1.05);
} */

.acte-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.acte-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3f5261;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.acte-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* Button overrides to prevent theme conflicts */
.acte-btn {
    display: inline-block;
    background-color: #0D66C2 !important;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.acte-btn:hover {
    background-color: #004182 !important;
    color: #ffffff !important;
}


/* 
 * 2. Single Page Layout (Auto-Rendered Downloads)
 */
.airpme-acte-single-layout {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.acte-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
}

.acte-downloads-section {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
}

.acte-downloads-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #0D66C2;
    padding-bottom: 10px;
    display: inline-block;
}

.acte-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acte-download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.acte-download-item:hover {
    border-color: #004182;
    background-color: #ebf4fd;
    color: #004182;
    transform: translateX(5px);
}

.download-icon {
    color: #0D66C2;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.acte-download-item:hover .download-icon {
    color: #004182;
}

.download-title {
    font-weight: 600;
    font-size: 1rem;
}

/* ==========================================================================
end ACTES CIFEPME - COMPLETE STYLES (CARDS & SINGLE PAGE)
   ========================================================================== */

/*  ############### Code d’éthique et de déontologie ######################### */
/* 
 * Standalone Static Card: Code Deontologique
 * Features the replicated CIFEPME download hover effect
 */

.airpme-deonto-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.deonto-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 10px 0;
}

.deonto-desc {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Replicated Download Button Effect */
.deonto-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    align-self: flex-start;
    /* Prevents the button from stretching to full width */
}

/* The exact hover interaction requested */
.deonto-download-btn:hover {
    border-color: #004182;
    background-color: #ebf4fd;
    color: #004182;
    transform: translateX(5px);
}

.deonto-download-btn .download-icon {
    color: #0D66C2;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.deonto-download-btn:hover .download-icon {
    color: #004182;
}

.deonto-download-btn .btn-text {
    font-weight: 600;
    font-size: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .airpme-deonto-card {
        padding: 25px;
    }

    .deonto-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/*  ############### end Code d’éthique et de déontologie ######################### */

/* ############# prix section */


/* 
 * Component: AIREPME Dynamic Award Section 
 * Architecture: BEM Methodology, Responsive Table, Minimal Geometric Design
 */

.airpme-award {
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #333;
    font-family: inherit;
}

.airpme-award__header {
    border-bottom: 3px solid #0D66C2;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.airpme-award__title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.airpme-award__subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a5568;
    margin: 0;
}

.airpme-award__heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px 0;
}

.airpme-award__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.airpme-award__list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 40px;
}

.airpme-award__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
}

/* Custom geometric bullet points */
.airpme-award__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #0D66C2;
    border-radius: 2px;
}

/* Responsive Table Wrapper */
.airpme-award__table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.airpme-award__table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin: 0;
    background-color: #ffffff;
}

.airpme-award__table th,
.airpme-award__table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.airpme-award__table th {
    background-color: #0D66C2;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.airpme-award__table tr:last-child td {
    border-bottom: none;
}

/* Replaced legacy cyan tint (#f0fbfc) with soft blue tint (#ebf4fd) */
.airpme-award__table tr:hover td {
    background-color: #ebf4fd;
}

.airpme-award__table td:first-child {
    font-weight: 700;
    color: #0D66C2;
    white-space: nowrap;
}

.airpme-award__table tr:hover td:first-child {
    color: #004182;
}

/* ############# end prix section */
/* ############## section service "a propos" ################ */

/* 
 * Component: AIREPME Services List
 * Architecture: BEM Methodology, Strict Scope
 */

.airpme-services-section {
    max-width: 800px;
    margin: 40px 0;
    font-family: inherit;
    color: #2d3748;
}

.airpme-services__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.airpme-services__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #0D66C2;
}

.airpme-services__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.airpme-services__item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Custom Geometric Bullet Points */
.airpme-services__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #0D66C2;
    border-radius: 2px;
}

.airpme-services__name {
    font-weight: 700;
    color: #0D66C2;
}

.airpme-services__desc {
    color: #4a5568;
}

/* ############## end section service "a propos" ################ */
/* ##############  section canard "a propos" ################ */

/* AIREPME Duck Story Section Styles */
.airepme-full-story-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    color: #333;
}

.story-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.story-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.story-header h2 {
    color: #0D66C2;
    font-size: 2.2rem;
    margin: 0 0 10px 0;
}

.story-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.story-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.25rem;
    color: #0D66C2;
    font-weight: 600;
}

.story-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid #0D66C2;
    margin: 30px 0;
    padding: 20px 30px;
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #444;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(13, 102, 194, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
}

.story-highlight-box {
    background-color: rgba(13, 102, 194, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin: 35px 0;
    text-align: center;
    font-style: italic;
}

.story-highlight-box p {
    margin: 0;
}

.story-footer {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .airepme-full-story-section {
        padding: 25px;
        margin: 20px 15px;
    }

    .story-header h2 {
        font-size: 1.8rem;
    }
}

/* ##############  end section canard "a propos" ################ */

/* ################ site section and duck photo trucker  */

/* 
 * Duck Photo Infinite Slider (Hardware Accelerated)
 * Larger showcase cards with natural colors and optional captions
 */
.airpme-duck-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    margin: 35px 0;
    position: relative;
    box-sizing: border-box;
}

/* Smooth fade masks matching the white card background */
.airpme-duck-slider-wrapper::before,
.airpme-duck-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.airpme-duck-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.airpme-duck-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.airpme-duck-slider-track {
    display: flex;
    align-items: flex-start;
    width: max-content;
    gap: 24px;
    padding-right: 24px;
    /* Matches gap so -50% translation is mathematically seamless */
    animation: scroll-duck-photos 40s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

.airpme-duck-slider-track:hover {
    animation-play-state: paused;
}

.airpme-duck-item {
    flex-shrink: 0;
    width: 280px;
    margin: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.airpme-duck-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13, 102, 194, 0.16);
}

.airpme-duck-img-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f8fafc;
}

.airpme-duck-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.airpme-duck-item:hover .airpme-duck-photo {
    transform: scale(1.06);
}

.airpme-duck-caption {
    padding: 12px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0D66C2;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f0f4f8;
    line-height: 1.4;
}

@keyframes scroll-duck-photos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .airpme-duck-item {
        width: 220px;
    }

    .airpme-duck-img-box {
        height: 175px;
    }

    .airpme-duck-slider-wrapper::before,
    .airpme-duck-slider-wrapper::after {
        width: 35px;
    }
}

/* ################ end site section and duck photo trucker  */