/* Maillage interne — composant partagé « À lire aussi » */
.related-pages {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    margin: 56px auto 64px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(245, 158, 11, .13), transparent 34%),
        linear-gradient(145deg, #f8fbff 0%, #fff 58%, #fffaf0 100%);
    box-shadow: 0 18px 55px rgba(9, 40, 79, .10);
    color: #172033;
}
.related-pages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 72px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #f59e0b, #f7c34d);
}
.related-pages h2 {
    margin: 0 0 24px;
    color: #09284f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.related-pages h2::after {
    content: "Conseils et destinations sélectionnés pour poursuivre votre recherche";
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}
.related-pages ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-pages li {
    min-width: 0;
    margin: 0;
    padding: 0;
}
.related-pages a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    height: 100%;
    padding: 17px 54px 17px 19px;
    border: 1px solid #e1e9f2;
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 7px 22px rgba(9, 40, 79, .055);
    color: #123b72;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.42;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease,
                box-shadow .22s ease, color .22s ease, background .22s ease;
}
.related-pages a::after {
    content: "→";
    position: absolute;
    right: 18px;
    top: 50%;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #eef4fb;
    color: #09284f;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.related-pages a:hover {
    border-color: rgba(245, 158, 11, .65);
    background: #fff;
    box-shadow: 0 13px 30px rgba(9, 40, 79, .12);
    color: #09284f;
    transform: translateY(-3px);
}
.related-pages a:hover::after {
    background: #f59e0b;
    color: #fff;
    transform: translate(3px, -50%);
}
.related-pages a:focus-visible {
    outline: 3px solid rgba(245, 158, 11, .42);
    outline-offset: 3px;
}
@media (max-width: 700px) {
    .related-pages {
        width: min(100% - 24px, 1180px);
        margin: 38px auto 44px;
        padding: 26px 18px 20px;
        border-radius: 19px;
    }
    .related-pages::before { left: 18px; }
    .related-pages h2 { margin-bottom: 19px; }
    .related-pages ul { grid-template-columns: 1fr; gap: 10px; }
    .related-pages a {
        min-height: 66px;
        padding: 14px 50px 14px 16px;
        font-size: .9rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .related-pages a, .related-pages a::after { transition: none; }
}
