/**
 * Contacts FC Module — CSS (mars 2026)
 * Univ-Droit
 */

.contacts-fc-module {
    padding: 20px 0;
}

.contacts-fc__header {
    text-align: center;
    margin-bottom: 24px;
}

.contacts-fc__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.contacts-fc__subtitle {
    font-size: 0.88rem;
    color: #888;
    margin: 0;
}

/* Grid */
.contacts-fc__grid {
    display: grid;
    gap: 16px;
}

.contacts-fc__grid--2 { grid-template-columns: repeat(2, 1fr); }
.contacts-fc__grid--3 { grid-template-columns: repeat(3, 1fr); }
.contacts-fc__grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Card */
.contacts-fc__card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-left: 4px solid #c8102e;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}

.contacts-fc__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Card header */
.contacts-fc__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0efed;
    background: #fafaf9;
}

.contacts-fc__logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-fc__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contacts-fc__card-titles {
    min-width: 0;
}

.contacts-fc__card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}

.contacts-fc__card-name:hover {
    color: #c8102e;
}

.contacts-fc__card-univ {
    font-size: 0.72rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-fc__card-ville {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 2px;
}

/* Info content */
.contacts-fc__card-info {
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #555;
}

.contacts-fc__card-info a {
    color: #c8102e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contacts-fc__card-info a:hover {
    text-decoration-color: #c8102e;
}

/* Responsive */
@media (max-width: 959px) {
    .contacts-fc__grid--3,
    .contacts-fc__grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .contacts-fc__grid--2,
    .contacts-fc__grid--3,
    .contacts-fc__grid--4 {
        grid-template-columns: 1fr;
    }
}
