
.event-page-container {
    max-width: 1400px;
    margin: 70px auto;
    padding: 2rem;
}

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

.event-breadcrumb {
    list-style: none;
    display: inline-block;
    padding: 10px 16px;
    background-color: var(--cta-bg-light);
    border-radius: 8px;
    margin: 0 0 20px 0;
}

.event-breadcrumb-item {
    display: inline;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var( --hero-bg-start);
}

.event-breadcrumb-item + .event-breadcrumb-item::before {
    content: "→";
    margin: 0 8px;
}

.event-breadcrumb-item.event-active {
    color: var(--guid-title-blue);
}

.event-main-title {
    font-size: 52px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}


.event-main-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column */
.event-main-content {
    flex: 2; /* Takes more space */
}

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

.event-featured-image img {
    width: 100%;
    display: block;
}

.event-description h3 {
    font-size: 24px;
    font-weight: 600;
}

.event-description p {
    font-size: 16px;
    color: var(--guid-body-text);
    line-height: 1.7;
}


.event-related-section {
    margin-top: 60px;
}

.event-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.event-related-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
}

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

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


.event-sidebar {
    flex: 1; /* Takes less space */
    max-width: 350px;
    position: sticky;
    top: 30px;
}

.event-details-box {
    margin-bottom: 40px;
}

.event-category-tag {
    display: inline-block;
    background-color: var(--guid-title-blue);
    color: var(--hero-text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.event-detail-item i {
    background-color: var(--cta-bg-light);
    color: var(--guid-title-blue);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.event-other-events h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.event-other-events ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-other-card {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background-color: #ebedf9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.event-other-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.event-other-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.event-other-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.event-other-info span {
    font-size: 14px;
    color: var(--guid-body-blue);
}

/* ======================== */
/*      RESPONSIVE CODE     */
/* ======================== */
@media (max-width: 1024px) {
    .event-main-layout {
        flex-direction: column;
    }
    .event-sidebar {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 40px;
    }
    .event-main-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .event-main-title {
        font-size: 32px;
    }
    .event-related-grid {
        grid-template-columns: 1fr;
    }
    .event-related-card {
        height: 250px;
    }
}