/*--------------------------------------------------------------
# Event Details Page
--------------------------------------------------------------*/

.event-details-page {
    background: #f8fafc;
}

.equal-height-row {
    align-items: stretch;
}


/*--------------------------------------------------------------
# Main Wrapper
--------------------------------------------------------------*/

.event-main-wrapper,
.meta-box,
.panelist-card,
.tab-pane-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    transition: all 0.28s ease;
}

.event-main-wrapper {
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-main-wrapper:hover,
.meta-box:hover,
.panelist-card:hover,
.tab-pane-card:hover {
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.1);
}


/*--------------------------------------------------------------
# Header / Notice
--------------------------------------------------------------*/

.event-main-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.title-icon,
.meta-icon,
.panelist-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: #50c5ff;
    border: 1px solid rgba(80, 197, 255, 0.18);
    box-shadow: 0 10px 24px rgba(80, 197, 255, 0.12);
}

.title-icon i,
.meta-icon i,
.panelist-avatar i {
    font-size: 1.35rem;
}

.event-main-wrapper h2,
.section-card-title,
.panelist-name {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.soft-muted,
.content-text,
.panelist-meta {
    color: #64748b;
    line-height: 1.7;
}

.event-notice {
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(80, 197, 255, 0.08);
    border: 1px solid rgba(80, 197, 255, 0.16);
}

.event-notice p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}


/*--------------------------------------------------------------
# Chips
--------------------------------------------------------------*/

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.56rem 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.24s ease;
}

.mini-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.mini-chip.status-success {
    color: #157347;
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.16);
}

.mini-chip.status-secondary {
    color: #5c6770;
    background: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.16);
}

.mini-chip.status-danger {
    color: #b42318;
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.16);
}

.mini-chip.status-dark {
    color: #212529;
    background: rgba(33, 37, 41, 0.1);
    border-color: rgba(33, 37, 41, 0.16);
}


/*--------------------------------------------------------------
# Banner / Image
--------------------------------------------------------------*/

.event-hero-shell {
    border-radius: 24px;
    background: linear-gradient(180deg, #eef6fd, #eaf2fa);
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
}

.event-hero-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 540px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.event-hero-placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(80, 197, 255, 0.14), rgba(16, 185, 129, 0.12)), linear-gradient(180deg, #edf4fb, #e9f0f8);
    color: rgba(13, 110, 253, 0.6);
    font-weight: 700;
    text-align: center;
    padding: 20px;
}


/*--------------------------------------------------------------
# Event Top Row
--------------------------------------------------------------*/

.event-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.event-title-block h2 {
    margin-bottom: 6px;
}

.event-theme {
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn-pill {
    border-radius: 999px !important;
    font-weight: 700;
    padding: 0.82rem 1.2rem;
    transition: all 0.24s ease;
}

.btn-pill:hover {
    transform: translateY(-1px);
}

.btn-primary-main {
    background: #50c5ff;
    color: #ffffff;
    border: 1px solid #50c5ff;
    box-shadow: 0 10px 22px rgba(80, 197, 255, 0.24);
}

.btn-primary-main:hover {
    background: #32b5f2;
    color: #ffffff;
    border-color: #32b5f2;
}

.btn-soft-outline {
    background: #ffffff;
    color: #50c5ff;
    border: 1px solid rgba(80, 197, 255, 0.28);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.btn-soft-outline:hover {
    background: #50c5ff;
    color: #ffffff;
    border-color: #50c5ff;
}


/*--------------------------------------------------------------
# Meta Grid
--------------------------------------------------------------*/

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.meta-box {
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    height: 100%;
}

.meta-box .label {
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.meta-box .value {
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.55;
}

.value-title {
    color: #0f172a;
}


/*--------------------------------------------------------------
# Tabs
--------------------------------------------------------------*/

.nav-pills {
    gap: 10px !important;
}

.nav-pills .nav-link {
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.nav-pills .nav-link.active {
    background: #50c5ff;
    color: #ffffff;
    border-color: #50c5ff;
}

.tab-pane-card {
    padding: 22px;
    margin-top: 18px;
}

.section-card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.content-text {
    white-space: pre-wrap;
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}


/*--------------------------------------------------------------
# Panelists
--------------------------------------------------------------*/

.panelist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.panelist-card {
    padding: 18px;
}

.panelist-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.panelist-name {
    font-size: 1rem;
}


/*--------------------------------------------------------------
# Contact / Social
--------------------------------------------------------------*/

.social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.social-chip {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.22s ease;
}

.social-chip:hover {
    transform: translateY(-2px);
    color: #50c5ff;
    border-color: rgba(80, 197, 255, 0.28);
    background: #ffffff;
}

.contact-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-box-lite {
    margin-top: 10px;
}


/*--------------------------------------------------------------
# Left Card Map Support Only
--------------------------------------------------------------*/

.create-map-card {
    grid-column: 1 / -1;
    align-items: flex-start;
}

.create-map-card-content {
    width: 100%;
}

.create-map-card-content h4 {
    margin-bottom: 8px;
}

.create-map-embed {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin: 12px 0;
}

.create-map-embed iframe {
    width: 100%;
    height: 230px;
    border: 0;
    display: block;
}

.create-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: all 0.24s ease;
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 1199px) {
    .meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .event-main-wrapper {
        padding: 22px;
    }
    .panelist-grid {
        grid-template-columns: 1fr;
    }
    .meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .event-hero-shell,
    .event-hero-img,
    .event-hero-placeholder {
        min-height: 340px;
        max-height: 420px;
    }
}

@media (max-width: 767px) {
    .event-main-wrapper,
    .meta-box,
    .panelist-card,
    .tab-pane-card {
        border-radius: 20px;
    }
    .event-main-wrapper,
    .tab-pane-card {
        padding: 18px;
    }
    .event-main-header,
    .event-top-row,
    .panelist-row {
        align-items: flex-start;
    }
    .event-actions,
    .content-actions,
    .contact-link-row {
        width: 100%;
    }
    .event-actions .btn-pill,
    .content-actions .btn-pill,
    .contact-link-row .btn-pill {
        width: 100%;
        justify-content: center;
    }
    .meta-grid {
        grid-template-columns: 1fr;
    }
    .meta-box {
        padding: 16px;
    }
    .event-hero-shell,
    .event-hero-img,
    .event-hero-placeholder {
        min-height: 220px;
        max-height: 280px;
        border-radius: 16px;
    }
    .create-map-embed iframe {
        height: 220px;
    }
    .social-strip {
        gap: 8px;
    }
    .social-chip {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .nav-pills .nav-link {
        width: 100%;
        text-align: center;
    }
}