/* ============================================================
   aller-plus-loin.css - Module 4 cards "Aller plus loin"
   Associe a sousPages/iAllerPlusLoin.php
   Meme CSS pour SC, TRIZ40, ASIT Info, FASiT
   ============================================================ */

.apl-section {
    padding: 10px 0;
}

.apl-title {
    text-align: center;
    margin-bottom: 20px;
    color: #404040;
}

.apl-sub-intro {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 18px;
    font-style: italic;
}

.apl-separator {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 30px 0 10px 0;
}

.apl-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #555;
}

.apl-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.apl-col {
    display: flex;
    padding: 10px;
    margin-bottom: 20px;
}

.apl-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.apl-card:hover,
.apl-card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #7cb810;
}

.apl-cover {
    text-align: center;
    margin-bottom: 14px;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apl-cover img {
    max-height: 170px;
    max-width: 100%;
    width: auto;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 2px;
}

.apl-icon {
    text-align: center;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.apl-icon .fa {
    font-size: 80px;
    color: #7cb810;
}

.apl-body {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

.apl-card-title {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #222;
    line-height: 1.3;
}

.apl-card-desc {
    font-size: 0.92em;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.apl-card-desc small {
    display: block;
    color: #888;
    font-size: 0.88em;
    margin-top: 4px;
}

.apl-cta {
    margin-top: auto;
    text-align: center;
    display: block;
    padding: 10px 16px;
    background: #7cb810;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
    transition: background 0.2s ease;
}

.apl-card:hover .apl-cta {
    background: #6aa00c;
}

/* Responsive */
@media (max-width: 767px) {
    .apl-col {
        padding: 8px;
    }
    .apl-cover,
    .apl-icon {
        min-height: 140px;
    }
    .apl-cover img {
        max-height: 140px;
    }
    .apl-icon .fa {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .apl-section {
        padding: 20px 0;
    }
}
