/* =========================================================
   VEIC 2027 — CONFERENCE HIGHLIGHTS SECTION
   File: assets/css/highlights.css
   ========================================================= */

.veic-highlights-outer{
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
}

.veic-highlights-grid{
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
    box-sizing: border-box;
}

.veic-highlights-col{
    min-width: 0;
    box-sizing: border-box;
}

/* -------- Heading (left aligned variant of the shared heading style) -------- */
.veic-heading-left{
    text-align: left;
    margin-bottom: 24px;
}

.veic-heading-left h2{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--veic-primary);
    text-transform: uppercase;
    margin: 0 0 10px;
}

.veic-heading-left .veic-heading-dot{
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--veic-accent);
    margin: 0;
}

/* -------- Groups (Pre-Conference Workshop / Highlights) -------- */
.veic-highlights-groups{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.veic-highlight-group-title{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--veic-secondary);
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #EAF2FF;
}

.veic-workshop-name{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--veic-primary);
    margin: 0 0 6px;
    line-height: 1.4;
}

.veic-workshop-datetime{
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--veic-secondary);
    margin: 0 0 16px;
}

.veic-workshop-datetime i{
    font-size: 11px;
}

.veic-workshop-themes-label{
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8A93A6;
    margin-bottom: 12px;
}

.veic-workshop-desc{
    font-size: 12.5px;
    line-height: 1.7;
    color: #5C6478;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px dashed #EAF2FF;
}

/* -------- Icon grid (plain list, no card/shadow — matches reference) -------- */
.veic-highlights-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    column-gap: 24px;
}

.veic-highlights-list-single{
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16px;
}

.veic-highlight-card{
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.veic-highlights-list-single .veic-highlight-card{
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 8px;
}

.veic-highlights-list-single .veic-highlight-title{
    font-size: 12px;
}

.veic-highlight-icon{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #EAF2FF;
    color: var(--veic-primary);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.veic-highlight-icon svg{
    width: 22px;
    height: 22px;
    display: block;
}

.veic-highlight-title{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    color: var(--veic-text);
    flex: 1 1 0%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: color 0.2s ease;
}

.veic-highlight-card:hover .veic-highlight-icon{
    background: var(--veic-primary);
    color: var(--veic-white);
    transform: translateY(-2px);
}

.veic-highlight-card:hover .veic-highlight-title{
    color: var(--veic-secondary);
}

/* -------- Illustration -------- */
.veic-highlights-image{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.veic-highlights-image img{
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}


/* =========================================================
   RESPONSIVE
   -----------------------------------------------------------
   This block now sits in a 50% SiteOrigin column (paired with
   Scientific Programme Preview). Kept simple and viewport-based
   (not container-width-based) since exact column width depends
   on SiteOrigin's own row-stacking breakpoint.
   ========================================================= */
@media (max-width: 992px){
    .veic-highlights-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .veic-highlights-image{ order: 1; }
    .veic-highlights-image img{ max-width: 220px; }
    .veic-heading-left{ text-align: center; }
    .veic-heading-left .veic-heading-dot{ margin: 0 auto; }
    .veic-highlights-list{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px){
    .veic-highlights-image img{ max-width: 180px; }
    .veic-highlights-groups{ gap: 22px; }
    .veic-highlight-group-title{ font-size: 12px; margin-bottom: 12px; }
    .veic-highlights-list{
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
    .veic-highlight-icon{ width: 38px; height: 38px; border-radius: 10px; }
    .veic-highlight-icon svg{ width: 18px; height: 18px; }
    .veic-highlight-title{ font-size: 12.5px; }
    .veic-heading-left h2{ font-size: 19px; }

    .veic-workshop-name{ font-size: 14.5px; }
    .veic-workshop-datetime{ font-size: 12px; margin-bottom: 14px; }
    .veic-workshop-themes-label{ font-size: 10.5px; }
    .veic-workshop-desc{ font-size: 12px; }

    /* -------- Force icon-left / text-right on mobile for BOTH
       groups, including the "Highlights" (single) group which
       is otherwise stacked icon-on-top for the desktop 3-col
       layout — that stacked style is what breaks on narrow
       screens. -------- */
    .veic-highlights-list-single{
        grid-template-columns: 1fr;
    }
    .veic-highlights-list-single .veic-highlight-card{
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 12px;
    }
    .veic-highlights-list-single .veic-highlight-title{
        font-size: 12.5px;
        flex: 1;
        min-width: 0;
    }
}
