/* Bassin Pratique — cartes "A lire egalement".
   Styles autonomes : pas de modification du CSS maitre WordPress.
   v0.1.1 : suppression de la mise en page image-texte qui etirait les cartes sur mobile. */
.single-post .entry-content .bp-related-guides {
    margin: 42px 0 24px;
    max-width: 900px;
}
.single-post .entry-content .bp-related-guides > h2 {
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.3;
}
.single-post .entry-content .bp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.single-post .entry-content .bp-related-card {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 1px solid #E3ECE4;
    border-radius: 8px;
    background: #F7FAF7;
    overflow: hidden;
}
.single-post .entry-content .bp-related-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    color: #222222;
    text-decoration: none;
}
.single-post .entry-content .bp-related-card > a:hover,
.single-post .entry-content .bp-related-card > a:focus-visible {
    outline: 2px solid #2F6B3B;
    outline-offset: -2px;
}
.single-post .entry-content .bp-related-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: none;
    overflow: hidden;
}
.single-post .entry-content .bp-related-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}
.single-post .entry-content .bp-related-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 20px 20px;
}
.single-post .entry-content .bp-related-card-info h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px;
}
.single-post .entry-content .bp-related-card-info p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 12px;
    color: #5F665F;
}
.single-post .entry-content .bp-related-more {
    display: block;
    margin-top: auto;
    font-size: 15px;
    font-weight: 600;
    color: #2F6B3B;
}
@media (max-width: 680px) {
    .single-post .entry-content .bp-related-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    /* Images au-dessus du texte : pas de colonnes etirees par le ratio d'image. */
    .single-post .entry-content .bp-related-card > a {
        flex-direction: column;
        height: auto;
    }
    .single-post .entry-content .bp-related-card-image {
        max-height: 260px;
    }
    .single-post .entry-content .bp-related-card-info {
        padding: 14px 16px 18px;
    }
    .single-post .entry-content .bp-related-card-info h3 { font-size: 17px; }
    .single-post .entry-content .bp-related-guides > h2 { font-size: 23px; }
}
