main[aria-labelledby="news-title"] {
    max-width: min(960px, 100%);
    margin: 0 auto;
}

main[aria-labelledby="news-title"] .event-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: clip;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid var(--border-clr);
    background: #fbf9fd;
    box-shadow: 0 8px 24px rgba(38, 17, 56, 0.06);
}

main[aria-labelledby="news-title"] .event-detail h1 {
    margin: 0;
    font-size: clamp(1.55rem, 1.15rem + 1.15vw, 2rem);
    line-height: 1.2;
}

main[aria-labelledby="news-title"] .event-meta {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #dfc9f2;
    background: #f8f0fe;
    color: #2f2241;
}

main[aria-labelledby="news-title"] .event-meta strong {
    color: #2a1c3e;
}

main[aria-labelledby="news-title"] .event-detail img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eadcf3;
    background: #ffffff;
}

main[aria-labelledby="news-title"] .event-description {
    margin: 0;
    color: #37294a;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

main[aria-labelledby="news-title"] .btn-lire {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #ceb0e5;
    background: #f2e6fb;
    color: #47206b;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

main[aria-labelledby="news-title"] .btn-lire:hover,
main[aria-labelledby="news-title"] .btn-lire:focus-visible {
    background: #e8d6f8;
}

main[aria-labelledby="news-title"] .btn.btn-primary {
    align-self: flex-start;
}

@media (max-width: 768px) {
    main[aria-labelledby="news-title"] .event-detail {
        padding: 1.05rem;
    }

    main[aria-labelledby="news-title"] .event-detail img {
        max-height: 280px;
    }
}
