.aider-page-root {
    scroll-behavior: smooth;
}

.aider-container {
    max-width: 1200px;
}

.aider-links-grid {
    margin-bottom: 12px;
}

.aider-link-card {
    padding: var(--space-8) 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: var(--bs-body-color);
}

.aider-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.aider-link-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
}

.aider-link-title {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--bs-secondary);
    font-weight: 800;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.aider-card { scroll-margin-top: 100px; }

.aider-photo {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: var(--img-border-radius);
    filter: sepia(0.1) saturate(0.92) hue-rotate(-8deg) contrast(1.03);
}

.aider-photo-contain {
    object-fit: contain;
    background: var(--color-white);
    padding: 18px;
}

.aider-card .section-title {
    /* color: var(--bs-primary); */
    margin-bottom: 22px;
    width: 100%;
    text-align: center;
}

.aider-list {
    padding-left: 20px;
    margin-bottom: 24px;
}

.aider-list li {
    margin-bottom: 8px;
}

.aider-card p,
.aider-card li {
    line-height: 1.75;
}


/* ===== HERO AIDER AUTREMENT - CORRECTION MOBILE ===== */
@media (max-width: 575px) {
    .aider-hero {
        height: auto !important;
        min-height: 200px;
        padding: 135px 18px 100px !important;
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .aider-hero .container {
        max-width: 100%;
    }

    .aider-hero .section-title {
        font-size: 2.55rem;
        line-height: 1.15;
        margin-bottom: 22px;
    }

    .aider-hero .section-intro {
        max-width: 330px;
        font-size: 1.05rem;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ===== AIDER - ALIGNEMENT DES BULLETS À GAUCHE ===== */

.aider-card .aider-list {
    text-align: left !important;
    list-style-position: outside;
    padding-left: 1.4rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.aider-card .aider-list li {
    text-align: left !important;
    line-height: 1.75;
    padding-left: 0.25rem;
}

@media (max-width: 810px) {
    .aider-card .aider-list {
        width: 100%;
        max-width: 100%;
        padding-left: 1.4rem !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .aider-card .aider-list li {
        text-align: left !important;
    }
}   