/* Portraits de Référence - Styles Dédiés */

.portraits-page .portrait-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.portraits-page .portrait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.portraits-page .portrait-card .img-box {
    height: 210px;
    overflow: hidden;
    background: #fdfdfd;
}

.portraits-page .portrait-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fdfdfd;
    transition: transform 0.3s;
}

.portraits-page .portrait-card .info {
    padding: 20px;
    text-align: center;
}

.portraits-page .portrait-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #1a1a1a;
}

.portraits-page .portrait-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
    height: 40px;
    overflow: hidden;
}

.section-title-alt {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    border-left: 5px solid #1877f2;
    padding-left: 15px;
    text-transform: uppercase;
}

.cat-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    height: 100%;
}

.cat-box .icon {
    font-size: 40px;
    color: #1877f2;
    margin-bottom: 20px;
}

.cat-box h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cat-list {
    list-style: none;
    padding: 0;
    column-count: 2;
}

.cat-list li {
    margin-bottom: 10px;
}

.cat-list li a {
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.cat-list li a:hover {
    color: #1877f2;
    text-decoration: underline;
}

/* Detail Page Refined - Spotlight Layout */
.portrait-header.spotlight {
    background: #0f1215;
    background: linear-gradient(135deg, #0f1215 0%, #1a1e22 100%);
    color: #fff;
    padding: 60px 0;
    border-bottom: 4px solid #1877f2;
}

.portrait-header.spotlight .photo-container {
    perspective: 1000px;
}

.portrait-header.spotlight .profile-photo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border: 5px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 8px;
    aspect-ratio: 3/4;
    object-fit: contain;
    background: #000;
    transform: rotateY(-3deg);
    transition: all 0.5s;
}

.portrait-header.spotlight .profile-photo:hover {
    transform: rotateY(0deg);
    border-color: #1877f2;
}

.portrait-info {
    padding-left: 20px;
}

.portrait-info .meta-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.badge-cat, .badge-sub {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.badge-cat { background: #1877f2; color: #fff; }
.badge-sub { background: rgba(255,255,255,0.1); color: #ccc; }

.portrait-info .name {
    font-size: 58px;
    font-weight: 900;
    color: #fff;
    margin: 5px 0;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.portrait-info .role {
    font-size: 24px;
    color: #1877f2;
    font-weight: 700;
    margin-bottom: 25px;
}

.quick-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
}

.quick-meta .meta-item i {
    color: #1877f2;
    margin-right: 6px;
    font-size: 16px;
}

.shares-minimal {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s;
}

.share-btn.fb:hover { background: #3b5998; }
.share-btn.tw:hover { background: #000000; }
.share-btn.wa:hover { background: #25d366; }
.share-btn.li:hover { background: #0077b5; }
.share-btn.cp:hover { background: #333333; }

.bio-content {
    font-size: 18px;
    line-height: 1.9;
    color: #2c3e50;
    padding: 40px 0;
    text-align: justify;
}

.bio-content p {
    margin-bottom: 12px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.mini-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.mini-card img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.mini-card small {
    color: #666;
    font-size: 12px;
    line-height: 1.3;
    display: block;
}

/* Search results tweaks */
.portraits-page.search-results .portrait-card .img-box { height: 280px; }

/* Home Page Specifics */
.home-portraits-row .article.mini .padding {
    text-align: center;
}

.home-portraits-row .article.mini h2 {
    font-size: 14px;
    margin-bottom: 5px;
}

.home-portraits-row .article.mini small {
    font-size: 10px;
}

.home-portraits-row .article.mini img {
    aspect-ratio: 3/4;
    object-fit: cover;
}
