/* News & Events Page Styles */

/* News & Events List Cards */
.news-card, .event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    height: 100%;
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.news-card:hover, .event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-date {
    font-size: 0.85rem;
    color: #888;
}

/* Event Specific List Styles */
.event-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

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

.event-date-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 65px;
    z-index: 2;
}

.event-date-tag span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: #009fe8;
}

.event-date-tag small {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    color: #666;
}

.bg-soft-primary {
    background-color: #e7f5ff;
}

/* Detail Page Hero Sections */
.news-detail-header, .event-hero {
    position: relative;
    padding: 120px 0;
    background-color: #1a1a1a;
    color: white;
    overflow: hidden;
}

.bg-overlay, .event-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    filter: blur(4px) brightness(0.8);
    transition: opacity 0.5s ease;
}

/* Content Containers */
.news-content {
    max-width: 900px;
    margin: -60px auto 60px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.event-main-content {
    max-width: 1100px;
    margin: -100px auto 60px;
    position: relative;
    z-index: 10;
}

.event-body-card, .event-sidebar-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 40px;
}

.event-sidebar-card {
    padding: 30px;
}

/* Typography & Body Content */
.news-body img, .event-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-meta {
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-meta span {
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-right: 8px;
    color: #009fe8;
    font-size: 1.1rem;
}

/* Sidebar Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    color: #009fe8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-content h6 {
    margin-bottom: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.info-content p {
    margin-bottom: 0;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}
