/* gallerie_photos.css — maktabati_dark
   Style cards identique au portail maktabati.univ-usto.dz */

.notice-global-photo,
.notice-global-nophoto {
    float: left;
    min-height: 230px;
    width: 260px;
    background-color: #1c1d26;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    margin: 6px;
    padding: 8px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, background-color 0.25s, box-shadow 0.25s;
}

/* Gradient overlay — identique aux cards portail */
.notice-global-photo::before,
.notice-global-nophoto::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200,169,110,0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.notice-global-photo:hover,
.notice-global-nophoto:hover {
    border-color: rgba(200,169,110,0.35);
    transform: translateY(-3px);
    background-color: #22232e;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.notice-global-photo:hover::before,
.notice-global-nophoto:hover::before {
    opacity: 1;
}

.notice-global-nophoto .child,
.notice-global-photo .child {
    font-family: 'DM Sans', inherit;
    padding: 3px 5px;
    text-align: justify;
    margin: 0;
    border: none;
}

.notice-global-photo A IMG {
    margin: 8px 0;
    border-radius: 6px;
    display: block;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
    transition: filter 0.3s;
}

.notice-global-photo:hover A IMG {
    filter: brightness(0.95) saturate(1);
}

#form_values_block {
    clear: both;
    display: block;
}

#resultatrech_liste blockquote { margin: 0; }
