/* Event Detail Page Styles */
body {
    background-color: var(--blog-black);
}

/* Text wrapping and word breaking for all text content */
.event-detail-header h1,
.event-meta-header > div,
.event-short-description,
.event-description,
.event-description p,
.event-additional-info h3,
.event-additional-info p,
.event-info-item strong,
.event-info-item p,
.event-meeting-card .event-info-item p,
.event-hero h1,
.event-top-title {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.event-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Use the same cover images used elsewhere for a consistent hero look */
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("/static/images/church_index/1920_blog_cover.png");
    min-height: clamp(260px, 28vw, 420px);
    padding: 90px 20px 35px;
    color: var(--dim-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.event-feature-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 193, 7, 0.18);
}

.event-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Ensure the whole image is visible (no cropping) */
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
}

.event-hero h1 {
    font-weight: bold;
    font-family: 'Didact Gothic', Arial, sans-serif;
    color: var(--dim-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.event-meta-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.event-meta-header > div {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid var(--blog-yellow);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    color: var(--dim-white);
}

.event-meta-header i {
    margin-right: 8px;
}

/* Event Content */
.event-short-description {
    font-size: 1.2rem;
    color: var(--dim-white);
    line-height: 1.6;
    font-family: 'Didact Gothic', Arial, sans-serif;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dim-white);
    font-family: 'Didact Gothic', Arial, sans-serif;
}

.event-description p {
    margin-bottom: 15px;
    color: var(--dim-white);
}

.event-additional-info {
    margin-top: 30px;
    color: var(--blog-yellow);
    line-height: 1.8;
    font-family: 'Didact Gothic', Arial, sans-serif;
}

.event-additional-info h3 {
    color: var(--blog-yellow);
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Didact Gothic', Arial, sans-serif;
}

/* Event Sidebar */
.event-sidebar {
    position: sticky;
    top: 100px;
}

.event-info-card,
.event-meeting-card {
    background: var(--blog-black);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.event-info-card .card-title,
.event-meeting-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blog-yellow);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blog-yellow);
    font-family: 'Didact Gothic', Arial, sans-serif;
}

.event-info-item {
    margin-bottom: 20px;
}

.event-info-item:last-child {
    margin-bottom: 0;
}

.event-info-item strong {
    color: var(--blog-yellow);
    display: block;
    margin-bottom: 5px;
}

.event-info-item strong i {
    margin-right: 8px;
}

.event-info-item p {
    color: var(--dim-white);
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .event-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .event-meta-header {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .event-hero {
        padding: 75px 15px 28px;
    }
    
    .event-hero h1 {
        font-size: 2rem;
    }
    
    .event-meta-header > div {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

