.header-expert {
    border-radius: 20px;
    background-color: #FFF9F9;
    padding: 4%;
    margin-top: 20px;
}
.header-expert h2{
    font-size: 3rem !important;
}
.header-expert a{
    text-decoration: underline;
}
/* Author Card - Bootstrap Override */
.author-card {
    border: 1px solid #e0e0e0 !important;
    border-radius: 30px;
    padding: 40px;
}
.header-expert h2,
.author-card h2{
    font-family: 'DF Serif Display', serif !important;
}
.author-card h2{
    font-size: 2rem !important;
}

.author-card .spe-text {
    margin-top: 3px;
}
.author-card .specialite {
    font-size: 0.875rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid black;
    border-radius: 5px;
}

.author-card .specialite:hover {
    background-color: black !important;
    color: #fff !important;
}

.author-card h2 {
    font-weight: bold;
}
.author-card h2 a {
    color: inherit;
}
.author-card .rounded-circle {
    border: 3px solid #f5f5f5;
}

.author-articles{
    background-color: #E9F0F6;
    margin-left:30px;
    margin-right:30px;
    border-radius: 15px;
    padding-bottom: 50px;
}
.author-articles h3{
    font-family: 'DF Serif Display', serif !important;
}
.author-articles h3{
    font-size: 3rem !important;
}
/* Mobile */
@media (max-width: 768px) {
    .author-card H2{
        font-size: 1.5rem;
    }
    .author-card{
        padding: 15px;
    }
    .author-card .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    .author-articles{
        margin-left:10px;
        margin-right:10px;
    }
}

/* Archive - page "Nos experts" */
.header-experts {
    border-radius: 20px;
    background-color: #FFF9F9;
    padding: 4%;
    margin-top: 20px;
}
.header-experts h2{
    font-size: 3rem !important;
    font-family: 'DF Serif Display', serif !important;
}
/* Author Card Grid */
.author-card-grid {
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.author-card-grid:hover {
    border-color: #999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header avec avatar */
.author-card-grid__header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.author-card-grid__avatar {
    flex-shrink: 0;
}

.author-card-grid__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #f5f5f5;
}

.author-card-grid__info {
    flex: 1;
    min-width: 0;
}

.author-card-grid__name {
    font-family: 'DF Serif Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.author-card-grid__link {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: inline-block;
}

.author-card-grid__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.author-card-grid__link:hover::after {
    width: 100%;
}

.author-card-grid__status {
    font-size: 16px;
    color: #2C463A;
    margin: 4px 0 0 0;
}

/* N°RPPS */
.author-card-grid__rpps {
    font-size: 16px;
    color: #2C463A;
    margin: 8px 0;
    line-height: 1.4;
}

/* Spécialités */
.author-card-grid__specialites {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.author-card-grid__badge {
    display: inline-block;
    padding: 0 5px;
    border: 1px solid #2C463A;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #2C463A;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s ease;
}

.author-card-grid__badge:hover {
    background: #2C463A;
    color: #fff;
    border-color: #2C463A;
}

/* Responsive */
@media (max-width: 768px) {
    .author-card-grid {
        padding: 16px;
    }

    .author-card-grid__image {
        width: 50px;
        height: 50px;
    }

    .author-card-grid__name {
        font-size: 15px;
    }
}
/* Page article */
.article-intro .author-card {
    border: none !important;
    padding: 40px;
}
.article-intro .status {
    color: #999;
}
.article-intro .thumbnail img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}