/* SignalNids — vrais nids primaire / secondaire — V1.1
 * Styles strictement limités aux 2 figures de l'accueil ; aucune règle globale.
 */
.sn-nid-photo-v11 {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    margin: 18px 0 20px;
}
.sn-nid-photo-v11__media {
    display: block;
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(0, 70, 48, .16);
    border-radius: 6px;
    background: #e9f0e9;
    overflow: hidden;
}
.sn-nid-photo-v11__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}
.sn-nid-photo-v11--secondaire .sn-nid-photo-v11__image {
    object-position: 44% 33%;
}
.sn-nid-photo-v11__media::after {
    content: '';
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(0deg, rgba(1, 21, 14, .38), transparent);
    pointer-events: none;
}
.sn-nid-photo-v11__label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    display: inline-block;
    max-width: calc(100% - 24px);
    padding: 7px 11px;
    background: rgba(0, 76, 53, .93);
    border-radius: 3px;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.35;
}
.sn-nid-photo-v11__credit {
    margin: 7px 1px 0;
    padding: 0;
    color: #64736c;
    font-size: 11px;
    line-height: 1.45;
}
.sn-nid-photo-v11__credit a,
.sn-nid-photo-v11__credit a:visited {
    color: #165b45;
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 767px) {
    .sn-nid-photo-v11 { margin: 14px 0 16px; }
    .sn-nid-photo-v11__media { aspect-ratio: 4 / 3; border-radius: 4px; }
    .sn-nid-photo-v11__label { left: 9px; bottom: 9px; padding: 6px 9px; font-size: 11px; }
    .sn-nid-photo-v11__credit { font-size: 10px; }
}
