/* Events Section Styles */
.event-section {
    padding: 60px 0;
}

.events-filter {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-accent);
    border-radius: 8px;
    transition: var(--transition-default);
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding: 5px 0;
    box-sizing: border-box;
}

.filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin: 5px;
    padding: 10px;
}

.filter-item label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-item select {
    width: auto;
    min-width: 150px;
    padding: 10px 15px;
    border: 1px solid var(--dark-accent);
    border-radius: 5px;
    background-color: var(--dark-card);
    color: var(--text-primary);
    transition: var(--transition-default);
}

.filter-submit {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Event Filters */
.event-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Default Filter Styles (Light Mode) */
.filter-select {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--dark-card);
    border: 2px solid var(--dark-accent);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-default);
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.25);
}

.filter-select:hover {
    border-color: var(--neon-purple);
    transform: translateY(-2px);
}

/* Event Cards */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Event Card Styles */
.event-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: stretch;
    transition: var(--transition-default);
    border: 2px solid transparent;
    margin: 20px;
}

.event-card:hover {
    border-color: var(--neon-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.event-date {
    flex: 0 0 100px;
    background: linear-gradient(135deg, #6d4aff, #b93bff);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
}

.event-date .month {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
}

.event-date .day {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin: 5px 0;
}

.event-date .year {
    font-size: 14px;
    opacity: 0.9;
}

.event-details {
    flex: 1;
    padding: 20px;
}

.event-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.event-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-default);
}

.event-location {
    color: var(--text-secondary);
}

.event-excerpt {
    color: var(--text-secondary);
}

.event-title a:hover {
    color: var(--neon-purple);
}

.event-location {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.event-location i {
    margin-right: 8px;
    color: #6d4aff;
}

.event-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.event-tags {
    margin-bottom: 10px;
}

.event-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition-default);
}

.event-tags .tag[data-type] {
    background-color: rgba(157, 78, 221, 0.18);
    color: var(--neon-purple);
}

.event-tags .tag[data-location] {
    background-color: rgba(255, 0, 160, 0.18);
    color: var(--neon-magenta);
}

.event-tags .tag[data-category] {
    background-color: rgba(0, 240, 255, 0.18);
    color: var(--neon-cyan);
}

.event-tags .tag:hover {
    color: #fff;
    transform: translateY(-2px);
}

.event-tags .tag[data-type]:hover {
    background-color: var(--neon-purple);
}

.event-tags .tag[data-location]:hover {
    background-color: var(--neon-magenta);
}

.event-tags .tag[data-category]:hover {
    background-color: var(--neon-cyan);
}

.event-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Event Action Button */
.event-actions .btn.secondary-btn {
    background-color: var(--dark-accent);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid var(--neon-purple);
    transition: var(--transition-default);
}

.event-actions .btn.secondary-btn:hover {
    background-color: var(--neon-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

/* View All Events Button */
.section-footer {
    margin-top: 40px;
    text-align: center;
}

.view-more-btn {
    background-color: transparent;
    color: #e5ffbc;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-more-btn:hover {
    background-color: #6d4aff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 74, 255, 0.3);
}

/* Single Event Page Styles */
.event-single-page {
    padding: 60px 0;
}

.event-article {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.event-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.event-featured-image img {
    width: 100%;
    height: auto;
}

.event-title {
    margin: 0 0 20px;
    font-size: 32px;
    line-height: 1.2;
    color: #333;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.event-meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 16px;
}

.event-meta-item i {
    margin-right: 10px;
    color: #ff6b6b;
    font-size: 20px;
}

.event-categories {
    margin-bottom: 30px;
}

.event-categories>div {
    margin-bottom: 15px;
}

.category-label {
    display: inline-block;
    margin-right: 10px;
    font-weight: 600;
    color: #333;
}

.event-categories .category-link {
    display: inline-block;
    padding: 5px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.event-categories .category-link:hover {
    background-color: #ff6b6b;
    color: white;
}

.event-content {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #444;
}

.event-content p {
    margin-bottom: 20px;
}

.event-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prev-event,
.next-event {
    flex: 1;
}

.prev-event {
    text-align: left;
}

.next-event {
    text-align: right;
}

.prev-event a,
.next-event a {
    color: #5994ec;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.prev-event a:hover,
.next-event a:hover {
    color: #ff6b6b;
}

/* Event Sidebar Styles */
.event-sidebar {
    padding: 0 0 0 30px;
}

.event-sidebar .widget {
    background-color: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-sidebar .widget-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
    font-size: 20px;
    color: #333;
}

.back-to-events .btn {
    display: block;
    width: 100%;
    text-align: center;
}

.event-details-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.event-details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.detail-value {
    color: #555;
}

.map-link a {
    display: inline-flex;
    align-items: center;
    color: #ff6b6b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-link a i {
    margin-right: 5px;
}

.map-link a:hover {
    color: #e65a5a;
}

.related-events-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-event-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.related-event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-event-link {
    display: flex;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.related-event-link:hover {
    color: #ff6b6b;
}

.related-event-date {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.related-event-date .month {
    font-size: 12px;
    font-weight: 600;
    color: #ff6b6b;
}

.related-event-date .day {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.related-event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-event-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #ff6b6b;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e65a5a;
}

/* Events Archive Page Styles */
.events-archive-page {
    padding: 60px 0;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    margin: 0;
    font-size: 36px;
    color: #333;
}

.pagination-container {
    text-align: center;
    margin-top: 40px;
}

.pagination-container .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-container .page-numbers:hover,
.pagination-container .page-numbers.current {
    background-color: #ff6b6b;
    color: white;
}

.pagination-container .prev.page-numbers,
.pagination-container .next.page-numbers {
    display: inline-flex;
    align-items: center;
}

.pagination-container .prev.page-numbers i {
    margin-right: 5px;
}

.pagination-container .next.page-numbers i {
    margin-left: 5px;
}

.no-events-found {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.no-events-found h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Learn More Button Styles */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8844ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

/* Dark Mode Styles */
.btn-read-more {
    color: #8844ff;
}

.btn-read-more::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-purple);
    transition: width 0.3s ease;
}

.btn-read-more:hover {
    color: var(--neon-purple);
    transform: translateX(5px);
}

.btn-read-more:hover::after {
    width: 100%;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Light Mode Styles */
.light .btn-read-more {
    color: #333;
}

.light .btn-read-more::after {
    background-color: #6d4aff;
}

.light .btn-read-more:hover {
    color: #6d4aff;
}

.primary-btn,
.secondary-btn {
    border: 2px solid #6d4aff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    min-width: 120px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background-color: #6d4aff;
    color: white;
}

.primary-btn:hover {
    background-color: #8c75ff;
    border-color: #8c75ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(109, 74, 255, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: #6d4aff;
    text-decoration: none;
}

.secondary-btn:hover {
    background-color: #6d4aff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(109, 74, 255, 0.3);
}

.btn-link {
    background: none;
    border: none;
    color: #ff6b6b;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #e65a5a;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .filter-item select {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .filter-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-submit button,
    .filter-submit a {
        width: 100%;
    }

    .event-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-sidebar {
        padding: 0;
        margin-top: 40px;
    }

    .event-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .prev-event,
    .next-event {
        text-align: center;
        width: 100%;
    }
}

/* ===== Modern Single Event (reference events_template.html) ===== */
.event-hero {
    position: relative;
    padding: 60px 24px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    color: #fff;
    background: linear-gradient(135deg, #6C5CE7, rgba(108, 92, 231, 0.8));
}

.event-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.event-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.event-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.event-intro {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    margin-bottom: 12px;
}

.event-hero-right {
    position: relative;
}

.event-hero-floating {
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.event-hero-floating img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.accent-box {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 160px;
    height: 160px;
    background: #FC5C65;
    border-radius: 12px;
    transform: rotate(-6deg);
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }

    100% {
        transform: translateY(0)
    }
}

.hero-waves {
    position: relative;
    height: 100px;
}

.hero-waves svg {
    display: block;
    width: 100%;
    height: auto;
}

.event-sticky-card {
    position: sticky;
    top: 20px;
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.event-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 192px;
    background: linear-gradient(90deg, #6C5CE7, #00D2D3);
    color: #fff;
}

.countdown-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    margin-top: 6px;
    font-size: 15px;
}

.event-sticky-card .content {
    padding: 16px;
}

.event-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.event-detail-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-card-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .event-hero-inner {
        grid-template-columns: 1fr;
    }
}

/* ===== Archive event image fix (4:5, consistent size) ===== */
.event-image {
    position: relative;
    flex: 0 0 180px;
    width: 180px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
}

.event-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

@media (max-width: 992px) {
    .event-image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 4 / 5;
    }
}

/* ===== Scoped to event single page to avoid interference ===== */
.event-single-page .event-hero {
    position: relative;
    padding: 40px 20px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    color: #fff;
    background: linear-gradient(135deg, #6C5CE7, rgba(108, 92, 231, 0.8));
}

.event-single-page .event-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.event-single-page .event-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    align-items: center;
}

.event-single-page .event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.event-single-page .event-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.event-single-page .event-intro {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    margin-bottom: 12px;
}

.event-single-page .event-hero-right {
    position: relative;
}

.event-single-page .event-hero-floating {
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    transform: rotate(2deg);
}

.event-single-page .event-hero-floating img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.event-single-page .accent-box {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 160px;
    height: 160px;
    background: #FC5C65;
    border-radius: 12px;
    transform: rotate(-6deg);
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }

    100% {
        transform: translateY(0)
    }
}

.event-single-page .hero-waves {
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

.event-single-page .hero-waves svg {
    display: block;
    width: 100%;
    height: auto;
}

.light .event-single-page .hero-waves svg {
    fill: #ffffff;
}

.dark .event-single-page .hero-waves svg {
    fill: #0b1220;
}

.event-single-page .event-sticky-card {
    position: sticky;
    top: 20px;
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
}

.event-single-page .event-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 192px;
    background: linear-gradient(90deg, #6C5CE7, #00D2D3);
    color: #fff;
}

.event-single-page .countdown-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.event-single-page .countdown-label {
    margin-top: 6px;
    font-size: 15px;
}

.event-single-page .event-sticky-card .content {
    padding: 16px;
}

.event-single-page .event-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.event-single-page .event-detail-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-single-page .event-card-btn {
    display: block;
    width: 100%;
    margin: 12px 8px 0;
}

@media (max-width: 992px) {
    .event-single-page .event-hero-inner {
        grid-template-columns: 1fr;
    }
}

/* ===== Related Events Section (dark) ===== */
.event-related-section {
    background: #0f1623;
    color: #fff;
    padding: 60px 0;
    margin-top: 20px;
}

.event-related-section .related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.event-related-section .related-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0;
}

.event-related-section .related-sub {
    color: #a9b0bf;
    margin-top: 8px;
}

.event-related-section .related-viewall {
    color: #00D2D3;
    text-decoration: none;
    font-weight: 600;
}

.event-related-section .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.event-related-section .related-card {
    display: block;
    background: #1a2333;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #d7deea;
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-related-section .related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.event-related-section .related-image {
    position: relative;
    height: 190px;
    background: #2b3648;
}

.event-related-section .related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-related-section .badge-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FC5C65;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
}

.event-related-section .related-body {
    padding: 16px;
}

.event-related-section .related-card-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: #fff;
}

.event-related-section .related-card-desc {
    margin: 0 0 10px;
    color: #a9b0bf;
}

.event-related-section .related-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a9b0bf;
    font-size: 14px;
}

/* ===== Subscribe Banner (gradient) ===== */
.event-subscribe-section {
    padding: 60px 0;
    background: linear-gradient(90deg, #6C5CE7, #00D2D3);
    color: #fff;
}

.event-subscribe-section .subscribe-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.event-subscribe-section .subscribe-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 12px;
}

.event-subscribe-section .subscribe-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.event-subscribe-section .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.event-subscribe-section .subscribe-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    color: #0f1623;
}

.event-subscribe-section .subscribe-btn {
    padding: 14px 18px;
    background: #fff;
    color: #6C5CE7;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.event-subscribe-section .subscribe-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 8px;
}

@media (min-width: 576px) {
    .event-subscribe-section .subscribe-form {
        flex-direction: row;
    }
}

.event-single-page .relative {
    position: relative;
}

.event-single-page .z-10 {
    z-index: 10;
}

.event-single-page .animate-float {
    animation: float 6s ease-in-out infinite;
}

.event-single-page .event-hero-floating {
    max-width: 410px;
    margin: 0 auto;
}

.event-single-page .event-hero-floating {
    overflow: hidden;
    border-radius: 12px;
}

.event-single-page .event-hero-floating img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.event-sidebar .event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-sidebar .event-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.event-sidebar .event-tags .tag[data-type] {
    background: rgba(157, 78, 221, 0.18);
    color: var(--neon-purple);
}

.event-sidebar .event-tags .tag[data-location] {
    background: rgba(255, 0, 160, 0.18);
    color: var(--neon-magenta);
}

.about-title {
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 12px;
}

.get-tickets-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6C5CE7;
    text-decoration: none;
    font-weight: 600;
}

.get-tickets-link:hover {
    color: #8c75ff;
}

.event-single-page .ml-2 {
    margin-left: 0.5rem;
}

.event-single-page .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 992px) {
    .event-single-page .row {
        grid-template-columns: 1fr;
    }
}

.dark .event-single-page {
    background: #0b1220;
}

.dark .event-single-page .event-article {
    background: transparent;
}

.dark .event-single-page .about-title {
    color: #6C5CE7;
}

.dark .event-single-page .get-tickets-link {
    color: #00D2D3;
}

.dark .event-single-page .get-tickets-link:hover {
    color: #6C5CE7;
}

.dark .event-single-page .event-content {
    color: #ffffff;
}

.light .event-single-page .event-article {
    background: #ffffff;
}

.light .event-single-page .event-content {
    color: #111111;
}