
/* Styles spécifiques pour les composants de Vulgaris */

/* Styles pour les articles */
.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    text-align: center;
    color: var(--secondary-accent);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.article-source {
    background-color: rgba(91, 192, 190, 0.1);
    padding: 1rem;
    border-left: 3px solid var(--primary-accent);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--secondary-accent);
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0.1rem;
}

/* Fil d'Ariane */
.breadcrumb {    
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem auto 1.5rem;
    font-size: 0.95rem;
    color: var(--secondary-dark);
    max-width: 1200px;
}

.breadcrumb a {
    color: var(--secondary-dark);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary-accent);
}
.breadcrumb .separator {
    color: var(--secondary-accent);
}
.breadcrumb .current {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Alertes */
.alert {
    border-radius: 6px;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
}
.alert-success {
    background: rgba(91, 192, 190, 0.12);
    border-left: 3px solid var(--primary-accent);
}
.alert-error {
    background: rgba(200, 0, 0, 0.08);
    border-left: 3px solid #c0392b;
}

/* Styles pour les filtres */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--secondary-dark);
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

/* Styles pour la pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    color: var(--secondary-dark);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a.active {
    background-color: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.pagination a:hover:not(.active) {
    background-color: #f5f5f5;
}

/* Styles pour les FAQ */
.faq {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Styles pour les réseaux sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
}

/* Styles pour la section des avantages partenaires */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border-top: 3px solid var(--primary-accent);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    font-size: 2.2rem;
    color: var(--primary-accent);
    margin-bottom: 1.2rem;
    display: inline-block;
    background: rgba(91, 192, 190, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.benefit-card h3 {
    color: var(--secondary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--primary-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(58, 80, 107, 0.05), rgba(91, 192, 190, 0.1));
    border-radius: 10px;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-dark);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--secondary-dark);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

/* Tables génériques */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.table th,
.table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    white-space: nowrap;
}

.table thead th {
    background: rgba(91, 192, 190, 0.08);
    color: var(--secondary-dark);
    font-weight: 600;
}

.table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

.table tbody tr:hover {
    background: #f7fafa;
}

.table .text-center {
    text-align: center;
}
