/* =============================================================
   liens.css — Le Panda Enragé (page /liens uniquement)
   ============================================================= */

main {
    padding: calc(var(--nav-h) + 50px) 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

.section-header { margin: 40px 0 25px; display: flex; align-items: center; gap: 15px; }
.section-header h2 {
    font-family: var(--title-font);
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    font-weight: 700;
    white-space: nowrap;
}
.section-header .line { height: 1px; flex: 1; background: var(--border); }

.grid-container { display: grid; gap: 20px; margin-bottom: 50px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.social-card {
    display: flex; align-items: center; padding: 20px;
    background: var(--glass); border: 1px solid var(--border);
    border-radius: 16px; text-decoration: none; color: var(--text);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.featured-sites .social-card {
    background: var(--bg); border: 2px solid var(--text);
    padding: 28px 24px; box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .featured-sites .social-card { border-color: var(--sub); }
.social-card:hover {
    background: var(--card-hover); border-color: var(--text);
    transform: translateY(-5px); box-shadow: var(--shadow-md);
}

.icon-box {
    width: 48px; height: 48px; min-width: 48px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 18px; font-size: 1.6rem;
}
.icon-box svg { width: 28px; height: 28px; fill: currentColor; }

.social-info { display: flex; flex-direction: column; overflow: hidden; }
.social-name { font-size: 1rem; font-weight: 600; }
.social-user {
    font-size: 0.85rem; color: var(--sub); margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (max-width: 768px) {
    main { padding-top: calc(var(--nav-h) + 30px); }
}
