/* ===================================================================
   RHFD Navigation — Pills + List layouts
   Module mod_rhfd_nav — v1.0 avril 2026
   =================================================================== */

/* ─── Layout PILLS (default) ─── */

.rhfd-nav-pills__title {
    font-size: .8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 8px;
}

.rhfd-nav-pills__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rhfd-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    padding: 3px 10px;
    border: 1px solid #e8e4de;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.rhfd-nav-pill:hover {
    border-color: #c8102e;
    color: #c8102e;
}

@media (max-width: 639px) {
    .rhfd-nav-pills__links { justify-content: center; }
}


/* ─── Layout LIST (sidebar / manifestations) ─── */

.rhfd-nav-list__header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .9rem;
    font-weight: 600;
    color: #222;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 2px solid #c8102e;
}

.rhfd-nav-list__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rhfd-nav-list__links li {
    padding: 6px 0;
    border-bottom: 1px solid #f0efed;
}

.rhfd-nav-list__links li:last-child {
    border-bottom: none;
}

.rhfd-nav-list__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: .85rem;
    transition: color .2s;
}

.rhfd-nav-list__links a:hover {
    color: #c8102e;
}

.rhfd-nav-list__links a .jl-icon {
    color: #c8102e;
    flex-shrink: 0;
    width: 14px;
}

/* HAL archives ouvertes */
.rhfd-nav-list__hal {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0efed;
}

.rhfd-nav-list__hal p {
    font-size: .68rem;
    color: #959595;
    font-weight: 300;
    line-height: 1.3;
    margin: 0 8px 8px;
}

.rhfd-nav-list__hal img {
    display: block;
    margin: 0 auto;
    max-width: 120px;
    height: auto;
}
