/* Styles Actualités - LIJEC/VBG */

.act-page-hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #1A365D 0%, #2C5282 100%);
    color: white;
    text-align: center;
}

.act-page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.act-page-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.act-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.act-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.act-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.act-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    transition: all 0.2s;
    text-decoration: none;
}

.act-filter-btn:hover,
.act-filter-btn.active {
    border-color: #FFB901;
    background: #FFB901;
    color: white;
}

.act-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.act-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.act-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.act-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #1A365D, #2C5282);
}

.act-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1A365D, #2C5282);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB901;
    font-size: 3rem;
}

.act-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.act-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.act-badge {
    background: #FFB901;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.act-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.act-card-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.act-card-link {
    margin-top: 1rem;
    color: #FFB901;
    font-weight: 600;
    font-size: 0.9rem;
}

.act-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.act-pagination a,
.act-pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.act-pagination a {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.act-pagination a:hover {
    border-color: #FFB901;
    color: #FFB901;
}

.act-pagination .current {
    background: #FFB901;
    color: white;
    font-weight: 600;
}

/* Page détail */
.act-detail {
    padding: 7rem 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.act-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFB901;
    font-weight: 600;
    margin-bottom: 2rem;
    text-decoration: none;
}

.act-detail-back:hover {
    color: #E85A2C;
}

.act-detail-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1A365D;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.act-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #FFB901;
}

.act-detail-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.act-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.act-detail-content p {
    margin-bottom: 1.25rem;
}

.act-article-next {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #FFB901;
}

.act-article-next-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.act-article-next-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, box-shadow 0.2s;
}

.act-article-next-link:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.act-article-next-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A365D;
    line-height: 1.4;
}

.act-article-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFB901;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.act-article-next-link:hover .act-article-next-btn {
    background: #E85A2C;
}

.act-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.act-empty i {
    font-size: 4rem;
    color: #FFB901;
    margin-bottom: 1rem;
}

/* Footer partagé */
.moctar-footer { position: relative; z-index: 10; }
.moctar-bg-gradient { background: linear-gradient(to right, #1A365D, #2C5282); }
.moctar-text-white { color: white; }
.moctar-py-16 { padding-top: 4rem; padding-bottom: 2rem; }
.moctar-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.moctar-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .moctar-grid { grid-template-columns: 2fr 1fr 1fr; } }
.moctar-logo-wrapper { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.moctar-logo { width: 50px; height: 50px; border-radius: 50%; }
.moctar-title { font-size: 1.5rem; font-weight: 700; color: #FFB901; }
.moctar-description { color: rgba(255,255,255,0.8); line-height: 1.6; }
.moctar-subtitle { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.moctar-border-bottom { padding-bottom: 0.5rem; border-bottom: 2px solid #FFB901; display: inline-block; }
.moctar-link-list { list-style: none; padding: 0; }
.moctar-link-item { color: rgba(255,255,255,0.8); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; transition: color 0.2s; }
.moctar-link-item:hover { color: #FFB901; }
.moctar-link-bullet { width: 6px; height: 6px; background: #FFB901; border-radius: 50%; }
.moctar-contact-list { list-style: none; padding: 0; }
.moctar-contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.8); }
.moctar-contact-icon { width: 36px; height: 36px; background: rgba(255,185,1,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFB901; }
.moctar-copyright { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 2rem; text-align: center; }
.moctar-copyright-text { color: rgba(255,255,255,0.6); }

/* Admin */
.admin-body { background: #f3f4f6; min-height: 100vh; }
.admin-nav { background: #1A365D; color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.admin-nav a { color: #FFB901; text-decoration: none; font-weight: 600; }
.admin-container { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem; }
.admin-card { background: white; border-radius: 0.75rem; padding: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
.admin-table th { background: #f9fafb; font-weight: 600; color: #374151; }
.admin-btn { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.875rem; cursor: pointer; border: none; text-decoration: none; }
.admin-btn-primary { background: #FFB901; color: white; }
.admin-btn-primary:hover { background: #E85A2C; }
.admin-btn-danger { background: #ef4444; color: white; }
.admin-btn-secondary { background: #e5e7eb; color: #374151; }
.admin-form-group { margin-bottom: 1.25rem; }
.admin-form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: #374151; }
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-size: 1rem; }
.admin-form-group textarea { min-height: 200px; resize: vertical; }
.admin-alert { padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.admin-alert-success { background: #d1fae5; color: #065f46; }
.admin-alert-error { background: #fee2e2; color: #991b1b; }
.admin-login { max-width: 400px; margin: 5rem auto; }
