/* ==================================================
   Fiches user-agents (/ressources/veille-user-agents/{slug}).
   S'appuie sur .site-card-static et les composants de veille ;
   ne style que les classes propres aux fiches (fiche-ua-*).
   ================================================== */

.page-fiche-ua .site-breadcrumb {
    margin-bottom: 1.5rem;
}

.page-fiche-ua .fiche-ua-entete,
.page-fiche-ua .fiche-ua-bloc {
    margin-bottom: 1.25rem;
}

.page-fiche-ua .fiche-ua-bloc h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: var(--brand-anthracite, #333);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-fiche-ua .fiche-ua-bloc h2 i {
    color: var(--brand-teal, #66b2b2);
}

.page-fiche-ua .fiche-ua-bloc p {
    margin: 0.35rem 0;
    line-height: 1.6;
}

/* --- En-tête : badges + identité --- */
.fiche-ua-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fiche-ua-identite {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem 1.5rem;
    margin: 0;
}

.fiche-ua-identite dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.fiche-ua-identite dd {
    margin: 0;
    font-size: 0.98rem;
}

.fiche-ua-identite code,
.page-fiche-ua .fiche-ua-bloc code {
    background: var(--brand-teal-light, #e8f4f4);
    color: var(--brand-dark, #004c4c);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    margin-right: 0.25rem;
    display: inline-block;
}

.fiche-ua-methode {
    font-size: 0.98rem;
}

/* --- Sources --- */
.fiche-ua-sources ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fiche-ua-sources li {
    margin: 0.35rem 0;
}

.fiche-ua-sources a {
    word-break: break-all;
}

.fiche-ua-maj {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* --- Voir aussi --- */
.fiche-ua-voir-aussi-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.fiche-ua-voir-aussi-liste a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--brand-anthracite, #333);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fiche-ua-voir-aussi-liste a:hover {
    border-color: var(--brand-teal, #66b2b2);
    box-shadow: rgba(0, 76, 76, 0.06) 0 2px 8px;
}

.fiche-ua-voir-aussi-nom {
    font-weight: 600;
}

.fiche-ua-voir-aussi-op {
    color: #6b7280;
    font-size: 0.85rem;
    margin-left: auto;
}

.fiche-ua-retour {
    margin-top: 1.5rem;
}
