/**
 * PFM Smart Links - Styles
 * Maillage interne intelligent
 */

/* Container principal */
.pfm-smart-links {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef7f7 0%, #fff5f5 100%);
    border-radius: 12px;
    border: 1px solid #fce4ec;
}

.pfm-smart-links__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #c2185b;
}

/* Style Cartes (défaut) */
.pfm-smart-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.pfm-smart-links__card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #f8bbd9;
    transition: all 0.2s ease;
    position: relative;
}

.pfm-smart-links__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.15);
    border-color: #ec407a;
}

.pfm-smart-links__anchor {
    font-weight: 500;
    line-height: 1.4;
}

.pfm-smart-links__badge {
    position: absolute;
    top: -8px;
    right: 8px;
    padding: 2px 8px;
    background: #c2185b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Qualité visuelle */
.pfm-smart-links__card--q5 {
    border-left: 3px solid #c2185b;
}

.pfm-smart-links__card--q4 {
    border-left: 3px solid #ec407a;
}

.pfm-smart-links__card--q3 {
    border-left: 3px solid #f48fb1;
}

/* Style Liste */
.pfm-smart-links__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pfm-smart-links__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #fce4ec;
}

.pfm-smart-links__list li:last-child {
    border-bottom: none;
}

.pfm-smart-links__link {
    color: #c2185b;
    text-decoration: none;
    font-weight: 500;
}

.pfm-smart-links__link:hover {
    text-decoration: underline;
}

/* Style Inline */
.pfm-smart-links__inline {
    margin: 0;
}

.pfm-smart-links__inline a {
    color: #c2185b;
    text-decoration: none;
    font-weight: 500;
}

.pfm-smart-links__inline a:hover {
    text-decoration: underline;
}

/* Lien inline dans le texte */
.pfm-smart-link {
    color: #c2185b;
    text-decoration: none;
    border-bottom: 1px dotted #f48fb1;
    transition: border-color 0.2s;
}

.pfm-smart-link:hover {
    border-bottom-color: #c2185b;
    border-bottom-style: solid;
}

/* Responsive */
@media (max-width: 600px) {
    .pfm-smart-links {
        padding: 1rem;
    }

    .pfm-smart-links__grid {
        grid-template-columns: 1fr;
    }
}
