/*  Event Hero  */
.event-hero {
    position: relative;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.event-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 45, 75, 0.65) 0%, rgba(20, 38, 65, 0.88) 100%);
}

.event-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
}

.event-hero__top {
    margin-bottom: 34px;
    padding-top: 40px;
}

.event-hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 700px;
}

.event-hero__tagline {
    display: inline-block;
    background-color: #138b4c;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
}

.event-hero__meta {
    background: rgba(15, 25, 45, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.event-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    flex: 1 1 160px;
    position: relative;
    color: #fff;
}

.event-hero__meta-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40%;
    width: 1px;
    background: rgba(92, 90, 90, 0.55);
}

.event-hero__meta-item:last-child::after {
    display: none;
}

.event-hero__meta-item > i {
    font-size: 1.8rem;
    color: #138b4c;
    flex-shrink: 0;
}

.event-hero__meta-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-hero__meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.event-hero__meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .event-hero {
        min-height: 460px;
    }

    .event-hero__title {
        font-size: 2.2rem;
    }

    .event-hero__meta-item {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 575px) {
    .event-hero {
        min-height: 380px;
    }

    .event-hero__title {
        font-size: 1.6rem;
    }

    .event-hero__meta-item {
        flex: 1 1 100%;
        padding: 14px 20px;
    }
}
.event-details-section {
    padding-top: 10px;
    padding-bottom: 120px;
}

/* scoped overrides — only live event detail page */
.event-details-section .courses__overview-wrap {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.event-details-section .courses__details-content .title {
    color: #0d2d52;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.event-details-section .courses__overview-wrap h3.title {
    color: #0d2d52;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.event-details-section .courses__overview-wrap p,
.event-details-section .courses__overview-wrap li {
    color: #3d4a5c;
    line-height: 1.75;
}

/*  Section separators  */
.event-details-section .event-section {
    padding: 24px 0;
}

.event-details-section .event-section--bordered {
    border-top: 1px solid #e5e9f0;
    margin-top: 8px;
}

/*  Description content styling  */
.event-details-section .event-details-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0d2d52;
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.event-details-section .event-details-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(33, 66, 118, 0.12);
    color: #214276;
    border-radius: 8px;
    font-size: 1.05rem;
}

.event-details-section .courses__overview-wrap ul > li,
.event-details-section .courses__overview-wrap ul > li strong,
.event-details-section .courses__overview-wrap ul > li p {
    font-weight: 400;
    color: #3d4a5c;
}

.event-details-section .courses__overview-wrap h3,
.event-details-section .courses__overview-wrap h4,
.event-details-section .courses__overview-wrap h5,
.event-details-section .courses__overview-wrap h6 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0d2d52;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
}

.event-details-section .courses__overview-wrap h3 {
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid #e5e9f0;
    font-size: 1.35rem;
}

.event-details-section .courses__overview-wrap p:empty,
.event-details-section .courses__overview-wrap p > strong:only-child:empty {
    display: none;
}

.event-details-section .courses__overview-wrap h3:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.event-details-section .courses__overview-wrap h3 { font-size: 1.35rem; }
.event-details-section .courses__overview-wrap h4 { font-size: 1.2rem; }
.event-details-section .courses__overview-wrap h5,
.event-details-section .courses__overview-wrap h6 {
    font-size: 1rem;
    font-weight: 400;
    color: #3d4a5c;
}

.event-details-section .courses__overview-wrap .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(19, 139, 76, 0.12);
    color: #138b4c;
    border-radius: 8px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.event-details-section .courses__overview-wrap ul.check-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 20px;
}

.event-details-section .courses__overview-wrap ul.check-list > li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #3d4a5c;
}

.event-details-section .courses__overview-wrap ul.check-list > li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    color: #138b4c;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

.event-details-section .courses__overview-wrap ul > li p {
    margin: 0;
}

.event-details-section .courses__overview-wrap strong {
    color: #0d2d52;
    font-weight: 700;
}

/*  End Event Hero ─ */

.event-sessions-list .session-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.event-sessions-list .session-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 10px rgba(0,123,255,0.1);
}

.session-card.full {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.employee-selection {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.employee-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.employee-item:last-child {
    border-bottom: none;
}

.event-placeholder-large {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 8px;
}

.event-placeholder-large i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.event-placeholder-large h4 {
    color: white;
    text-align: center;
    padding: 0 20px;
    margin: 0;
    font-weight: 600;
}

.event-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 8px;
}

.event-placeholder i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.schedule-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.schedule-item i {
    margin-right: 10px;
    color: #007bff;
    width: 16px;
}

.schedule-item strong {
    margin-right: 8px;
    min-width: 80px;
}

.event-info-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.price-box .current-price {
    color: #007bff;
    font-weight: bold;
}

.price-box .original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.8em;
    margin-left: 10px;
}

.instructors-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.instructor-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instructor-avatar,
.instructor-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.instructor-avatar {
    object-fit: cover;
}

.instructor-avatar-placeholder {
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.instructor-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.instructor-summary {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.courses__details-meta .list-wrap .author-two {
    flex-direction: column;
    align-items: flex-start !important;
}

/* Instructor Tab Styles */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.instructor-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.instructor-avatar-container {
    text-align: center;
    margin-bottom: 15px;
}

.instructor-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #138b4c;
}

.instructor-avatar-placeholder-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #138b4c;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid #138b4c;
}

.instructor-info {
    text-align: center;
}

.instructor-card-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.instructor-specialization {
    color: #138b4c;
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

.instructor-qualification,
.instructor-experience {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.instructor-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: left;
}

.instructor-email,
.instructor-phone {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.instructor-email i,
.instructor-phone i {
    margin-right: 8px;
    color: #138b4c;
}

.instructor-social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.facebook {
    background-color: #1877f2;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.no-instructors-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.event-info-icon {
    font-size: 18px;
}

.event-time-item span {
    white-space: nowrap;
}

/*  Event Sidebar  */
.event-sidebar {
    border-radius: 12px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 18px;
    background: #fff;
}

.event-sidebar__price {
    background: #138b4c;
    padding: 22px 28px;
    border-radius: 10px;
}

.event-sidebar__price-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.event-sidebar__price-value {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.event-sidebar__price-original {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.event-sidebar__body {
    padding: 20px 10px 6px;
    background: #fff;
}

.event-sidebar__section-label {
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    color: #1c3b60;
    font-weight: 700;
    margin-bottom: 16px;
}

.event-sidebar__info-list {
    margin-bottom: 20px;
}

.event-sidebar__info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f5;
}

.event-sidebar__info-row:last-child {
    border-bottom: none;
}

.event-sidebar__info-key {
    color: #138b4c;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.event-sidebar__info-key i {
    font-size: 1.15rem;
    color: #214276;
    opacity: 1;
    width: 22px;
    text-align: center;
}

.event-sidebar__info-val {
    color: #6b7a8d;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.event-sidebar__cart {
    margin-bottom: 20px;
}

.event-sidebar__cart-btn {
    display: block;
    width: 100%;
    background: #138b4c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    letter-spacing: 0.01em;
}

.event-sidebar__cart-btn:hover:not(:disabled) {
    background: #0f7040;
}

.event-sidebar__cart-btn--full,
.event-sidebar__cart-btn--finished {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
}

.event-sidebar__cart-note {
    background: #f4f6f9;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #5a6778;
    line-height: 1.5;
}

.event-sidebar__cart-note i {
    color: #214276;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.event-sidebar__finished-note {
    font-size: 0.82rem;
    color: #8a96a3;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.event-sidebar__divider {
    height: 1px;
    background: #f0f2f5;
    margin: 20px 0;
}

.event-sidebar__instructor {
    text-align: center;
    padding: 20px 16px;
    background: #f8f9fb;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.event-sidebar__instructor:last-of-type {
    margin-bottom: 0;
}

.event-sidebar__instructor-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #138b4c;
    overflow: hidden;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #138b4c;
    font-size: 1.4rem;
    font-weight: 700;
}

.event-sidebar__instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-sidebar__instructor-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b40;
    margin-bottom: 4px;
}

.event-sidebar__instructor-spec {
    font-size: 0.82rem;
    color: #138b4c;
    font-style: italic;
    margin-bottom: 6px;
}

.event-sidebar__instructor-email {
    font-size: 0.8rem;
    color: #6b7a8d;
    margin-bottom: 4px;
}

.event-sidebar__instructor-email i {
    color: #138b4c;
    margin-right: 5px;
}

.event-sidebar__no-instructor {
    font-size: 0.85rem;
    color: #8a96a3;
    text-align: center;
    padding: 16px 0;
}

/* shareon — use library's default circular style */
.event-sidebar .shareon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

/*  Responsive sidebar ─ */
@media (max-width: 991px) {
    .event-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}
