/* Styl dla strony szczegółów wydarzenia */

.event-details-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.event-details-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #004499;
}

.breadcrumbs .separator {
    color: #999;
}

.breadcrumbs .current {
   
    font-weight: 500;
}

/* Główna sekcja wydarzenia */
.event-details-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.event-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.event-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.event-meta-item svg {
    flex-shrink: 0;
}

/* Obrazek główny */
.event-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

/* Opis wydarzenia */
.event-description {
    padding: 30px;
}

.event-description h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

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

/* Przyciski akcji */
.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 30px 30px 30px;
    border-top: 1px solid #eee;
}

.event-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.event-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.event-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.event-btn-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.event-btn-secondary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
}

/* Informacje dodatkowe */
.event-additional-info {
    padding: 30px;
    background: #f8f9fa;
}

.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.event-details-list {
    margin: 0;
}

.event-details-list dt {
    font-weight: 600;
    color: #555;
    margin-top: 10px;
}

.event-details-list dt:first-child {
    margin-top: 0;
}

.event-details-list dd {
    margin: 5px 0 0 0;
    color: #666;
}

/* Sidebar */
.event-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.similar-events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.similar-event-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.similar-event-item:hover {
    background: #f8f9fa;
}

.similar-event-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.similar-event-info {
    flex: 1;
    min-width: 0;
}

.similar-event-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.similar-event-date {
    font-size: 13px;
    color: #667eea;
    margin-bottom: 3px;
}

.similar-event-location {
    font-size: 12px;
    color: #999;
}

/* Responsywność */
@media (max-width: 1024px) {
    .event-details-container {
        grid-template-columns: 1fr;
    }
    
    .event-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .event-details-main {
        padding: 15px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-header {
        padding: 20px;
    }
    
    .event-description {
        padding: 20px;
    }
    
    .event-actions {
        padding: 15px 20px 20px 20px;
        flex-direction: column;
    }
    
    .event-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 20px;
    }
    
    .breadcrumbs {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .similar-event-thumb {
        width: 60px;
        height: 60px;
    }
}
