.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Styles for rows */
.evab_row {
    margin-right: -15px;
    margin-left: -15px;
}

.evab_row::after {
    content: "";
    display: table;
    clear: both;
}

/* Styles for columns */
.evab_col-1 {
    float: left;
    width: 8.33333333%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-2 {
    float: left;
    width: 16.66666667%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-3 {
    float: left;
    width: 25%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-4 {
    float: left;
    width: 33.33333333%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-5 {
    float: left;
    width: 41.66666667%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-6 {
    float: left;
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-7 {
    float: left;
    width: 58.33333333%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-8 {
    float: left;
    width: 66.66666667%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-9 {
    float: left;
    width: 75%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-10 {
    float: left;
    width: 83.33333333%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-11 {
    float: left;
    width: 91.66666667%;
    padding: 15px;
    box-sizing: border-box;
}

.evab_col-12 {
    float: left;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/* Mobile styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Reduce padding for columns on mobile devices */
    .evab_col-1,
    .evab_col-2,
    .evab_col-3,
    .evab_col-4,
    .evab_col-5,
    .evab_col-6,
    .evab_col-7,
    .evab_col-8,
    .evab_col-9,
    .evab_col-10,
    .evab_col-11,
    .evab_col-12 {
        padding: 10px;
        box-sizing: border-box;
    }

    /* Remove text centering for columns on mobile devices */
    .evab_col-1,
    .evab_col-2,
    .evab_col-3,
    .evab_col-4,
    .evab_col-5,
    .evab_col-6,
    .evab_col-7,
    .evab_col-8,
    .evab_col-9,
    .evab_col-10,
    .evab_col-11,
    .evab_col-12 {
        text-align: left;
        box-sizing: border-box;
    }

    /* Add margin to rows for spacing on mobile devices */
    .evab_row {
        margin-bottom: 10px;
        box-sizing: border-box;
    }
}

/* Fix Padding Stacking */
/* Base column style with padding */
.evab_col {
    box-sizing: border-box;
    padding: 15px;
}

/* Style for first-level nested columns */
.evab_col .evab_col {
    padding: 10px; /* Reduce padding for first-level nesting */
}

/* Style for second-level nested columns */
.evab_col .evab_col .evab_col {
    padding: 5px; /* Reduce padding for second-level nesting */
}

/* Style for third-level nested columns */
.evab_col .evab_col .evab_col .evab_col {
    padding: 2.5px; /* Reduce padding for third-level nesting */
}

/* Style for fourth-level nested columns */
.evab_col .evab_col .evab_col .evab_col .evab_col {
    padding: 1.25px; /* Reduce padding for fourth-level nesting */
}

/* Style for fifth-level nested columns */
.evab_col .evab_col .evab_col .evab_col .evab_col .evab_col {
    padding: 0.625px; /* Reduce padding for fifth-level nesting */
}

/* Mobile styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Reduce padding for columns on mobile devices */
    .evab_col,
    .evab_col .evab_col,
    .evab_col .evab_col .evab_col,
    .evab_col .evab_col .evab_col .evab_col,
    .evab_col .evab_col .evab_col .evab_col .evab_col {
        padding: 10px;
    }

    /* Remove text centering for columns on mobile devices */
    .evab_col,
    .evab_col .evab_col,
    .evab_col .evab_col .evab_col,
    .evab_col .evab_col .evab_col .evab_col,
    .evab_col .evab_col .evab_col .evab_col .evab_col {
        text-align: left;
    }

    /* Add margin to rows for spacing on mobile devices */
    .evab_row {
        margin-bottom: 10px;
    }
}

.ses_title {
    font-weight: 600;
    font-size: 19px;
    line-height: 17px;
    padding-bottom: 3px;
}

.ses_time_span {
    font-weight: 600;
    font-size: 16px;
    line-height: 14px;
    margin-bottom: 10px;
}

.ses_sub_title {
    font-weight: 600;
    font-size: 17px;
    line-height: 15px;
    margin-bottom: 10px;
    color: #676767;
}

.ses_moderators {
    font-weight: 200;
    font-style: italic;
    font-size: 16px;
    line-height: 14px;
    padding-bottom: 10px;
    color: #545152;
}

.ses_speakers {
    font-weight: 200;
    font-size: 16px;
    line-height: 14px;
    padding-bottom: 10px;
    color: #545152;
}

.ses_tags{
    margin-top: -2px;
}

.ses_tag {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 10px;
    margin: 0 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    background-color: #eaebeb;
    color: #545152;
    vertical-align: bottom;
    line-height: 12px;
    margin-top: 7px;
}

.ses_time{
    font-weight: 600;
}

.ses_talks{
    display: none;
    margin-bottom: 15px;
}

.talk_time {
    font-weight: 400;
}

.talk_title{
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    color: #676767;
    margin-bottom: 10px;
}

.fa-heart.fav-talk{
    position: absolute;
    right: 16px;
}

.talk_speakers {
    font-style: italic;
    color: #6A81C0;
    font-size: 17px;
    line-height: 15px;
    font-weight: 400;
}

.ses_actions i{
    display: inline-block;
}

.expand_talks,
.fav-ses{
    margin: 0px;
    padding: 0px;
    line-height: 15px;
    transition: all .3s ease-in-out;
    cursor: pointer;
    font-size: 22px;
}

.is-fav .fav-ses{
    color: #dc659c;
}

.fav-ses{
    margin-left: 5px;
}

.expand_talks.rotate{
    transform: rotate(180deg);
    transition: all .3s ease-in-out;
}

.days_selection{
    text-align: center;
}

.days_selection li{
    text-align: center;
    display: inline-block;
    width: 24%;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.day_name,
.day_date{
    cursor: pointer;
}

.day_name{
    text-transform: uppercase;
    font-size: 21px;
    folor: #000;
}

.day_date{
    padding: 2px;
    font-weight: bold;
    font-size: 27px;
    margin-left: auto;
    margin-right: auto;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    color: #000;
    transition: all .3s ease-in-out;
}

.active .day_date{
    background-color: #000;
    color: #fff;
    transition: all .3s ease-in-out;
}

.day_title{
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

.search_container{
    margin-top: 25px;
}

#search-criteria {
    height: 50px;
    vertical-align: top;
    width: calc(100% - 70px);
    border-radius: 20px 0px 0px 20px;
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 15px;
}

#search {
    vertical-align: top;
    height: 50px;
    width: 70px;
    border: none;
    background-color: #91949b;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 0px 15px 15px 0px;
    margin-left: -5px;
    margin-top: 0px;
    cursor: pointer;
    position: relative;
}

.filter_buttons_container{
    text-align: right;
}
.showFilters,
.clearFilters{
    border: none;
    background-color: #edeff0;
    border-radius: 10px 10px 10px 10px;
    padding: 5px 20px 5px 20px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

.clearFilters{
    color: #805B65;
}

.showFilters i{
    vertical-align: middle;
    margin-right: 6px;
}

.agenda_filters {
    display: none;
    position: fixed;
    padding: 34px;
    top: 80px;
    bottom: 80px;
    right: 0px;
    left: 0px;
    background-color: #fff;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
}


.apply-filters {
    width: 100%;
    background-color: #91949b;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.agenda_filters .fa-close{
    float: right;
    margin-right: 5px;
    margin-top: -20px;
}

.filter_title{
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

.filter_tag,
.filter_tag_big,
.filter_tag_default{
    background-color: #edeff0;
    color: #494a4b;
    display: inline-block;
    padding: 12px 25px;
    margin-right: 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 10px !important;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    font-size: 17px;
    transition: all .5s ease;
}

button:focus {
    outline: none;
}

button:active,
button:focus{
    background-color: transparent; /* Or set it to any other desired color */
}


.filter_tag_big{
    width: calc(50% - 10px);
}

.filter_tag.selected,
.filter_tag_big.selected,
.filter_tag_default.selected{
    background-color: #91949b;
    color: #fff;
    transition: all .5s ease;
}

.no-sessions{
    text-align: center;
    margin-top: 50%;
}

.filter_topic_container,
.filter_format_container{
    text-align: center;
}

.filter_title{
    text-align: left;
}


.ses_row{
    position: relative;
    padding-bottom: 7px;
}

.ses_time,
.talk_time{
    width: 60px !important;
    font-size: 17px;
    line-height: 17px;
    color: #545152;
    text-align: center;
    padding-right: 0px !important;
    padding-left: 10px !important;
}

.ses_details,
.talk_details{
    width: calc(100% - 100px);

}

.ses_actions{
    position: absolute;
    right: 0;
    top: 0;
}

.border-bottom {
    position: relative;
}

.border-bottom:before {
    content: "";
    position: absolute;
    left: 75px;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid #d1cfcf;
}

.ses_end,
.talk_end{
    display: none;
}



.p0{
    padding: 0 !important;
}

.p7{
    padding: 7px !important;
}

.p10{
    padding: 10px !important;
}



.p15{
    padding: 15px !important;
}

.pl15{
    padding-left: 15px !important;
}

.pl17{
    padding-left: 17px !important;
}

/* Faculty Styles */
#page.boxed{
    max-width: 1500px

}

/* =========================================
   Faculty Grid Container
   ========================================= */
.evab-faculty-grid-1,
.evab-faculty-grid-2,
.evab-faculty-grid-3,
.evab-faculty-grid-4,
.evab-faculty-grid-5,
.evab-faculty-grid-6 {
    display: grid;
    gap: 20px;
    margin: 40px 0;
    box-sizing: border-box;
}

.evab-faculty-grid-1 { grid-template-columns: repeat(1, 1fr); }
.evab-faculty-grid-2 { grid-template-columns: repeat(2, 1fr); }
.evab-faculty-grid-3 { grid-template-columns: repeat(3, 1fr); }
.evab-faculty-grid-4 { grid-template-columns: repeat(4, 1fr); }
.evab-faculty-grid-5 { grid-template-columns: repeat(5, 1fr); }
.evab-faculty-grid-6 { grid-template-columns: repeat(6, 1fr); }


/* =========================================
   Card Layout: Text Right (Default)
   ========================================= */
.evab-text-position-right {
    .evab-faculty-card {
        grid-template-columns: 30% 70%;
    }
}

/* =========================================
   Card Layout: Text Bottom
   ========================================= */
.evab-text-position-bottom {
    .evab-faculty-card {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .evab-faculty-details {
        text-align: center;
        width: 100%;
    }

    .evab-faculty-read-bio {
        align-self: center;
    }
}

/* =========================================
   Faculty Card Base
   ========================================= */
.evab-faculty-card {
    display: grid;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    gap: 20px;
    padding: 15px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evab-faculty-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================================
   Photo Section
   ========================================= */
.evab-faculty-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.evab-faculty-photo img,
.evab-photo-placeholder {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    background: #f4f4f4;
    display: block;
}

/* =========================================
   Details Section
   ========================================= */
.evab-faculty-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================================
   Typography
   ========================================= */
.evab-faculty-name {
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.2;
    color: #333;
}

.evab-faculty-title {
    display: inline-block;
}

.evab-faculty-position {
    font-size: 0.85em;
    line-height: 1.2em;
    color: #888;
}

.evab-faculty-institution {
    font-size: 0.85em;
    padding-top: 5px;
    color: #888;
    line-height: 1.2;
}

/* =========================================
   Read Bio Button
   ========================================= */
.evab-faculty-read-bio {
    margin-top: 8px;
    align-self: flex-start;
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
    padding: 4px 10px;
    font-size: 0.75em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.evab-faculty-read-bio:hover {
    background: #f9f9f9;
    border-color: #bbb;
    color: #333;
}


/* Faculty Biography Modal */
/* ── MODAL OVERLAY ───────────────────────────────────── */
.evab-bio-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 8, 20, 0.72);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayIn 0.3s ease forwards;
}
.evab-bio-modal-overlay.active { display: flex; }

@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ── MODAL WINDOW ────────────────────────────────────── */
.evab-bio-modal {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    background: #faf7f2;
    overflow: hidden;
    animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    display: flex;
    flex-direction: column;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ── HEADER ──────────────────────────────────────────── */
.evab-bio-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 40px 28px;
    flex-shrink: 0;
}

.evab-bio-modal-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c9a84c;
    flex-shrink: 0;
    background: #ddd;
}

.evab-bio-modal-details{ flex: 1; padding-top: 6px; }

.evab-bio-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.evab-bio-modal-position {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c9a84c;
    margin-top: 6px;
}

.evab-bio-modal-divider {
    width: 40px;
    height: 2px;
    background: #c9a84c;
    margin-top: 12px;
}

/* ── CLOSE BUTTON ────────────────────────────────────── */
.evab-bio-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid #c9a84c;
    cursor: pointer;
    color: #1a1a2e;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border-radius: 0;
}
.evab-bio-modal-close:hover {
    background: #1a1a2e;
    color: #e8d5b0;
    transform: rotate(90deg);
}
.evab-bio-modal-close svg { width: 14px; height: 14px; }


/* ── BODY / SCROLL AREA ──────────────────────────────── */
.evab-bio-modal-body {
    padding: 0 40px 36px;
    overflow-y: auto;
    flex: 1;
}

.evab-bio-modal-body::-webkit-scrollbar { width: 5px; }
.evab-bio-modal-body::-webkit-scrollbar-track { background: #f0ece5; }
.evab-bio-modal-body::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 10px; }

.evab-bio-modal-text {
    font-size: 15px;
    line-height: 1.8;
    color: #3d3528;
    font-weight: 300;
}
.evab-bio-modal-text p + p { margin-top: 16px; }


/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 520px) {
    .evab-bio-modal-header { flex-direction: column; gap: 16px; padding: 28px 24px 20px; }
    .evab-bio-modal-body   { padding: 0 24px 28px; }
    .evab-bio-modal-name   { font-size: 22px; }
}


/* =========================================
   Responsive: Tablet (<768px)
   ========================================= */
@media (max-width: 768px) {
    /* Switch from 2 columns to 1 column per row */
    .evab-faculty-card {
        width: 100%;
    }

    /* We KEEP the 30/70 layout here, just making the card wider */
}

/* =========================================
   Responsive: Mobile (<550px)
   ========================================= */
@media (max-width: 550px) {

    /* 1. Stack content vertically */
    .evab-faculty-card {
        flex-direction: column; /* Stack top-to-bottom */
        text-align: center;     /* Center text for better mobile look */
        padding: 20px;
    }

    /* 2. Photo Section takes full width */
    .evab-faculty-photo {
        width: 100%;
        padding-right: 0;    /* Remove the side padding used for desktop */
        margin-bottom: 15px; /* Add space between image and text */
    }

    /* Center the image */
    .evab-faculty-photo img,
    .evab-photo-placeholder {
        margin: 0 auto;      /* Center the image horizontally */
    }

    /* 3. Details Section takes full width */
    .evab-faculty-details {
        width: 100%;
        align-items: center; /* Center the flex items (like the 'Read Bio' button) */
    }

    /* Center the button */
    .evab-faculty-read-bio {
        align-self: center;  /* Override the 'flex-start' from desktop */
    }
}