.euro-event-single {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

.event-featured-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-featured-image.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.6) 38.46%, rgba(102, 102, 102, 0) 100%);
    padding: 40px;
    color: white;
}

.event-taxonomies {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.event-type-badge,
.event-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.event-type-badge {
    background-color: #0B4F9F;
    color: white;
}

.event-status-badge {
    background-color: #6b7280;
    color: white;
}

.event-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.event-details-section {
    background: #f3f4f6;
    width: 100%;
    padding: 40px;
    border-radius: 13px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.event-details-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.event-meta-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
}

.event-meta-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.event-meta-item:nth-child(1) {
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}

.event-meta-item:nth-child(2) {
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.event-meta-item:nth-child(3) {
    transition: opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s;
}

.event-meta-item:nth-child(4) {
    transition: opacity 0.6s ease-out 0.6s, transform 0.6s ease-out 0.6s;
}

.event-meta-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-meta-icon svg {
    width: 24px;
    height: 24px;
}

.event-meta-content {
    flex: 1;
}

.event-meta-label {
    font-size: 12px;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 700;
}

.event-meta-value {
    font-size: 11px;
    color: #35393D;
    font-weight: 700;
}

.event-description {
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #000000;
}

.event-description h2,
.event-description h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #000000;
}

.event-description p {
    margin-bottom: 15px;
}

.event-meta-empty,
.event-description-empty {
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.event-meta-empty p,
.event-description-empty p {
    margin: 0;
    color: #6C757D;
    font-size: 14px;
    font-style: italic;
}

.event-gallery {
    margin-top: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 0.8s ease-out 0.4s;
}

.event-gallery.is-visible {
    opacity: 1;
}

.event-gallery-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0B4F9F;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    opacity: 0;
    transform: scale(0.9);
}

.event-gallery-item.is-visible {
    opacity: 1;
    transform: scale(1);
}

.event-gallery-item:nth-child(1) { transition: opacity 0.5s ease-out 0.5s, transform 0.5s ease-out 0.5s; }
.event-gallery-item:nth-child(2) { transition: opacity 0.5s ease-out 0.6s, transform 0.5s ease-out 0.6s; }
.event-gallery-item:nth-child(3) { transition: opacity 0.5s ease-out 0.7s, transform 0.5s ease-out 0.7s; }
.event-gallery-item:nth-child(4) { transition: opacity 0.5s ease-out 0.8s, transform 0.5s ease-out 0.8s; }
.event-gallery-item:nth-child(5) { transition: opacity 0.5s ease-out 0.9s, transform 0.5s ease-out 0.9s; }
.event-gallery-item:nth-child(6) { transition: opacity 0.5s ease-out 1s, transform 0.5s ease-out 1s; }
.event-gallery-item:nth-child(7) { transition: opacity 0.5s ease-out 1.1s, transform 0.5s ease-out 1.1s; }
.event-gallery-item:nth-child(8) { transition: opacity 0.5s ease-out 1.2s, transform 0.5s ease-out 1.2s; }
.event-gallery-item:nth-child(9) { transition: opacity 0.5s ease-out 1.3s, transform 0.5s ease-out 1.3s; }

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Layout Control */
.event-gallery-mobile {
    display: none;
    width: 100%;
    overflow: hidden;
}

.event-gallery-desktop {
    display: grid;
}

/* Mobile Swiper Styles */
.event-gallery-mobile .swiper {
    width: 100%;
    height: auto;
    min-height: 300px;
    overflow: hidden;
}

.event-gallery-mobile .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 0;
}

.event-gallery-mobile .event-gallery-item {
    width: 100%;
    max-width: 100%;
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: none !important;
}

.event-gallery-mobile .event-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile-only Gallery Shortcode */
.event-gallery-mobile-only .event-gallery-mobile {
    display: block;
}

.event-gallery-mobile-only .event-gallery-item {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Lightbox Styles */
.event-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.event-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-featured-image {
        height: 300px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-overlay {
        padding: 20px;
    }
    
    .event-details-section {
        padding: 20px;
    }
    
    .event-meta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-gallery-inline {
        display: none !important;
    }
    
    .event-gallery-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .event-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .event-gallery-inline {
        display: none !important;
    }
    
    .event-gallery-mobile {
        display: block;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* Timeline Navigation for Mobile Sliders */
.event-gallery-mobile-only .timeline-navigation {
	display: none;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.event-gallery-mobile-only .timeline-navigation {
		display: flex;
	}
}

.timeline-prev,
.timeline-next {
	background: #f3f4f6;
	border: 2px solid #7BCEF4;
	border-radius: 13px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #6b7280;
}

.timeline-prev:hover,
.timeline-next:hover {
	background: #2563eb;
	color: white;
}

.timeline-prev:disabled,
.timeline-next:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}
