/* =========================================================
 * Événements — front (liste + détail) et admin
 * ========================================================= */

/* ---------- Front : page liste ---------- */
.news-page-heading h2 {
    font-weight: 700;
    margin-bottom: 8px;
}

.news-page-heading p {
    color: #777;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.news-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

.news-card-badge i {
    margin-right: 5px;
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

.news-card-date i {
    color: #b2894c;
    margin-right: 6px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-card-summary {
    color: #666;
    font-size: 14px;
    flex: 1;
}

.news-card-link {
    color: #b2894c;
    font-weight: 700;
    font-size: 14px;
    margin-top: 14px;
    display: inline-block;
    margin-right: 16px;
}

.news-card-link:hover {
    color: #96713a;
}

.news-card-source {
    color: #888;
    font-weight: 600;
    font-size: 13px;
    margin-top: 14px;
    display: inline-block;
}

.news-card-source:hover {
    color: #b2894c;
}

/* ---------- Front : page détail ---------- */
.news-detail-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.news-detail-meta i {
    color: #b2894c;
    margin-right: 6px;
}

.news-detail-badge {
    background: #b2894c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-right: 12px;
}

.news-detail-badge i {
    color: #fff;
    margin-right: 5px;
}

.news-detail-cover {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 26px;
}

.news-detail-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.news-detail-content {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.news-detail-source {
    margin-top: 24px;
}

.news-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.news-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.news-gallery-item:hover img {
    transform: scale(1.04);
}

.news-gallery-caption {
    color: #888;
    font-size: 13px;
    margin-top: 6px;
}

/* ---------- Admin : galerie d'images ---------- */
.event-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.event-image-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.event-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-item .btn-remove-image {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.event-image-item .btn-remove-image:hover {
    background: #e74c3c;
}

.event-image-item.is-pending {
    border-color: #b2894c;
    box-shadow: 0 0 0 2px rgba(178, 137, 76, 0.25);
}

/* ---------- Admin : liste détaillée ---------- */
.event-thumb-wrap {
    position: relative;
    display: inline-block;
}

.event-thumb-count {
    position: absolute;
    bottom: -4px;
    right: -6px;
    background: #b2894c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 10px;
}

.event-sub {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.event-sub i {
    margin-right: 3px;
}

.event-sub.is-muted {
    font-style: italic;
}

.event-date {
    font-weight: 600;
    white-space: nowrap;
}

.event-detail-panel {
    padding: 12px 16px;
    background: #faf8f4;
    border-left: 3px solid #b2894c;
    border-radius: 0 10px 10px 0;
}

.event-detail-summary {
    color: #555;
    font-size: 13px;
    margin-bottom: 8px;
    max-width: 720px;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}

.event-detail-meta i {
    color: #b2894c;
}

.event-detail-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-detail-thumb {
    display: block;
    width: 80px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.event-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.event-detail-thumb:hover img {
    transform: scale(1.06);
}

/* ---------- Admin : éditeurs Quill ---------- */
.quill-editor .ql-editor {
    min-height: 90px;
}

#quill-content_fr .ql-editor,
#quill-content_en .ql-editor {
    min-height: 150px;
}