/* Event Detail Page Styles */

.kauno-event-detail {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.non-active {
    background: #c57171b0 !important;
    color: #fff !important;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}
.container {
    max-width: 93%;
    margin: 0 auto;
    padding: 0 20px;
}
.information h1 {
    color: black;
}
.information {
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px #ddddddb8;
    color: black !important;
    padding: 35px;
    border-radius: 9px;
}
.content-section {
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px #ddddddb8;
    color: black !important;
    padding: 35px;
    border-radius: 9px;
    margin-top: 13px;
}

/* Hero Section */
.event-hero {
    position: relative;
    background: linear-gradient(135deg, #71c5b8 0%, #71c5b8 100%);
    color: white;
    overflow: hidden;
}
button.btn-register {
    background: #0d9488 !important;
    border-radius: 10px !important;
    font-size: 17px;
    font-weight: 500 !important;
    padding: 14px !important;
}

.event-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 148, 136, 0.8);
    z-index: 2;
}

.event-hero-content {
    position: relative;
    z-index: 3;
    padding: 26px 0px 9px 25px;
}

.hero-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.hero-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb a:hover {
    opacity: 0.8;
}

.separator {
    margin: 0 10px;
}

.current {
    opacity: 0.7;
}

.event-title {
font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 30px 0;
    line-height: 1.2;
    color: white;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.meta-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* Main Content */
.event-content {
    padding: 60px 0;
    background: #f9fafb;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-content {

   

}

.content-section {
    padding: 40px;
    border-bottom: 1px solid #f3f4f6;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1f2937;
}

.event-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

/* Enhanced HTML content styling for event descriptions */
.event-description h1,
.event-description h2,
.event-description h3,
.event-description h4,
.event-description h5,
.event-description h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.event-description h1 { font-size: 2rem; }
.event-description h2 { font-size: 1.75rem; }
.event-description h3 { font-size: 1.5rem; }
.event-description h4 { font-size: 1.25rem; }
.event-description h5 { font-size: 1.125rem; }
.event-description h6 { font-size: 1rem; }

.event-description p {
    margin-bottom: 1rem;
}

.event-description ul,
.event-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.event-description li {
    margin-bottom: 0.5rem;
}

.event-description blockquote {
    border-left: 4px solid #0d9488;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0 6px 6px 0;
}

.event-description a {
    color: #0d9488;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.event-description a:hover {
    color: #0f766e;
}

.event-description strong,
.event-description b {
    font-weight: 600;
    color: #1f2937;
}

.event-description em,
.event-description i {
    font-style: italic;
}

.event-description code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.event-description pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.event-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.event-description table th,
.event-description table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.event-description table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
}

.event-description table tr:hover {
    background: #f8fafc;
}

/* Image Gallery */
.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-zoom:hover {
    transform: scale(1.1);
}

.gallery-zoom svg {
    width: 20px;
    height: 20px;
    color: #0d9488;
}

/* Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px #ddddddb8;
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1f2937;
}

/* Registration Form */
.event-registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.btn-register {
    background: #0d9488;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.btn-register:hover {
    background: #0f766e;
}

.btn-register:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Event Details */
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

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

.detail-item strong {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.detail-item span {
    color: #6b7280;
    font-size: 14px;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

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

.contact-icon {
    width: 18px;
    height: 18px;
    color: #0d9488;
    flex-shrink: 0;
}

.contact-item a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0d9488;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
position: absolute;
    top: 6px;
    right: 8px;
    color: white;
    font-size: 30px;
    background: red !important;
    cursor: pointer;
    border: none;
    padding: 5px;
    height: 25px;
    width: 25px;
    line-height: 12px;
    font-weight: 100;
    border-radius: 50%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: #0d9488d4 !important;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    pointer-events: all;
    transition: background-color 0.3s ease;
    line-height: 12px;
}

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

/* Updated Home Shortcode Styles */


.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
h3.event-title a {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: #585858;
}


.event-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .event-title {
        font-size: 2.5rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .event-hero-content {
        padding: 33px 0 12px 9px;
    }
	
	.information {
    padding: 19px;

}
    
    .event-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .sidebar-section {
        padding: 20px;
    }
    
    .event-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .events-slider {
        grid-template-columns: 1fr;
        padding: 0 0rem;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .event-title {
        font-size: 1.75rem;
    }
    
    .event-content {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .sidebar-section {
        padding: 15px;
    }
    
    .event-meta {
        gap: 10px;
    }
    
    .meta-item {
        font-size: 14px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}

/* Admin Image Upload Styles */
.image-upload-container {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.image-upload-container:hover {
    border-color: #0d9488;
}

.featured-image-preview {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.featured-image-preview img {
    max-width: 200px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-featured-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-upload-container {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.gallery-upload-container:hover {
    border-color: #0d9488;
}

.gallery-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-gallery-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.form-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #0d9488;
    padding-bottom: 10px;
}