/* EVENT DETAILS PAGE - NEW DESIGN (scoped with ed- prefix) */

/* Hero Banner */
.ed-hero-banner {
    background: linear-gradient(rgba(139, 26, 26, 0.55), rgba(107, 20, 20, 0.55)), url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=1600&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0 60px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}
.ed-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, #f8f9fa, transparent);
}
.ed-hero-banner .container { position: relative; z-index: 1; }
.ed-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0 0 25px; padding: 0;
    animation: edFadeInDown 0.8s ease-out;
}
.ed-breadcrumb li { font-size: 0.95rem; opacity: 0.9; }
.ed-breadcrumb li a { color: white; text-decoration: none; transition: opacity 0.3s; }
.ed-breadcrumb li a:hover { opacity: 0.7; }
.ed-breadcrumb li + li::before { content: '/'; margin-right: 10px; opacity: 0.6; }
.ed-breadcrumb li.ed-active { font-weight: 600; }
.ed-hero-title {
    font-size: 3rem; font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    animation: edFadeInUp 1s ease-out;
    margin: 0 0 15px;
}
.ed-hero-meta {
    display: flex; align-items: center; gap: 20px;
    margin-top: 15px;
    animation: edFadeInUp 1s ease-out 0.2s both;
}
.ed-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; opacity: 0.9; }
.ed-meta-item svg { width: 16px; height: 16px; }
/* Event Detail Section */
.ed-detail-section { padding: 80px 0; position: relative; background: #f8f9fa; font-family: 'Poppins', sans-serif; }
.ed-detail-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.ed-main-content { animation: edFadeInUp 0.8s ease-out both; }
.ed-featured-image {
    width: 100%; height: 450px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); margin-bottom: 40px; position: relative;
}
.ed-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ed-featured-image:hover img { transform: scale(1.05); }
.ed-image-badge {
    position: absolute; top: 20px; left: 20px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 100%);
    color: white; padding: 8px 20px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.4);
}
.ed-body h2 {
    font-size: 1.8rem; font-weight: 600; color: #2c3e50;
    margin-bottom: 20px; position: relative; padding-bottom: 15px;
}
.ed-body h2::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(135deg, #8B1A1A, #A52A2A); border-radius: 2px;
}
.ed-body p { font-size: 1.05rem; color: #555; line-height: 1.9; margin-bottom: 20px; }
.ed-body .ed-highlight-text {
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.05), rgba(165, 42, 42, 0.08));
    border-left: 4px solid #8B1A1A; padding: 20px 25px;
    border-radius: 0 12px 12px 0; margin: 30px 0; font-style: italic; color: #444;
}
/* Sidebar */
.ed-sidebar { animation: edFadeInUp 0.8s ease-out 0.3s both; }
.ed-sidebar-card {
    background: white; border-radius: 20px; padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.ed-sidebar-card-title {
    font-size: 1.2rem; font-weight: 600; color: #2c3e50;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0; position: relative;
}
.ed-sidebar-card-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 40px; height: 2px;
    background: linear-gradient(135deg, #8B1A1A, #A52A2A);
}
.ed-info-list { list-style: none; margin: 0; padding: 0; }
.ed-info-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem; color: #555;
}
.ed-info-list li:last-child { border-bottom: none; }
.ed-info-list li svg { flex-shrink: 0; margin-top: 2px; color: #8B1A1A; }
.ed-info-list li strong { color: #2c3e50; font-weight: 600; }
/* Share Buttons */
.ed-share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.ed-share-btn {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; color: white; transition: all 0.3s ease; text-decoration: none;
}
.ed-share-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); color: white; }
.ed-share-btn.ed-facebook { background: #1877f2; }
.ed-share-btn.ed-twitter { background: #1da1f2; }
.ed-share-btn.ed-whatsapp { background: #25d366; }
.ed-share-btn.ed-linkedin { background: #0a66c2; }
.ed-donate-text { font-size: 0.92rem; color: #666; line-height: 1.7; margin-bottom: 20px; }
/* Buttons */
.ed-back-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    color: white; text-decoration: none; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3); margin-top: 10px;
}
.ed-back-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 30px rgba(139, 26, 26, 0.4); color: white; }
.ed-donate-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    color: white; text-decoration: none; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3);
    width: 100%; cursor: pointer; border: none;
}
.ed-donate-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 30px rgba(139, 26, 26, 0.4); color: white; }
/* Related Events */
.ed-related-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative; font-family: 'Poppins', sans-serif;
}
.ed-related-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
}
.ed-section-header { text-align: center; margin-bottom: 50px; }
.ed-section-title {
    font-size: 2.5rem; font-weight: 600; margin-bottom: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #8B1A1A 50%, #2c3e50 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: edGradientShift 3s ease infinite; background-size: 200% auto;
}
@keyframes edGradientShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.ed-title-underline {
    width: 80px; height: 4px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    margin: 0 auto; border-radius: 2px; box-shadow: 0 2px 8px rgba(139, 26, 26, 0.3);
}
.ed-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ed-related-card {
    background: white; border-radius: 18px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none; color: inherit; display: block;
}
.ed-related-card:hover { transform: translateY(-10px); box-shadow: 0 20px 45px rgba(139, 26, 26, 0.15); color: inherit; text-decoration: none; }
.ed-related-card-image { height: 180px; overflow: hidden; }
.ed-related-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ed-related-card:hover .ed-related-card-image img { transform: scale(1.1); }
.ed-related-card-content { padding: 22px; }
.ed-related-card-date { font-size: 0.8rem; color: #8B1A1A; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.ed-related-card-title { font-size: 1.1rem; font-weight: 600; color: #2c3e50; line-height: 1.4; transition: color 0.3s; margin: 0; }
.ed-related-card:hover .ed-related-card-title { color: #8B1A1A; }
/* Animations */
@keyframes edFadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes edFadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* Responsive */
@media (max-width: 992px) {
    .ed-detail-wrapper { grid-template-columns: 1fr; }
    .ed-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ed-hero-banner { background-attachment: scroll; padding: 70px 0 50px; }
    .ed-hero-title { font-size: 2.2rem; }
    .ed-featured-image { height: 300px; }
    .ed-related-grid { grid-template-columns: 1fr; }
    .ed-section-title { font-size: 2rem; }
}
@media (max-width: 480px) {
    .ed-hero-title { font-size: 1.8rem; }
    .ed-section-title { font-size: 1.7rem; }
    .ed-featured-image { height: 220px; }
    .ed-body h2 { font-size: 1.4rem; }
    .ed-hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}