#wtwh-agenda-calendar-body{
    margin-top: 20px;
    background: transparent !important;
}

.wtwh_agenda_calendar ul{
    padding:0;
}

.wtwh_agenda_calendar ul li{
    list-style-type:none;
}

.one.withsmallpadding {
    padding: 30px 0 30px 0;
    float: left;
    width: 100%;
}

.standard_wrapper > div{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent !important;
}

.agenda-calendar-wrapper .wtwh_agenda_calendar,
.agenda-calendar-wrapper .wtwh_agenda_calendar .standard_wrapper {
    background: transparent !important;
}

.wtwh-calendar-header-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.session_filters {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    flex: 1;
}

.session_filters li {
    display: inline-block;
    margin: 10px 2px 10px 2px;
}
.session_filters li a {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 15px 10px 15px;
}

.session_filters li a:hover {
    color: #ffffff;
    background-color: var(--wtwh-agenda-accent, #BC3434);
}

.session_filters li a.active {
    color: #ffffff;
    background-color: var(--wtwh-agenda-accent-secondary, #D5403C);
}

#page_content_wrapper .inner .sidebar_content ul.scheduleday_wrapper.tab {
    margin-top: 20px !important;
    background: transparent !important;
}

.scheduleday_wrapper.tab {
    background: transparent !important;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    border-bottom: 0;
    margin-bottom: -1px;
}

.scheduleday_wrapper.tab_content > li.themeborder {
    border-bottom: solid 1px #e1e1e1;
    padding: 2rem 2.5rem 2rem 2rem;
}

.scheduleday_wrapper li {
    color: #222222;
    font-size: clamp(11pt, 0.9rem, 15pt);
    line-height: 1.8;
}

.scheduleday_wrapper li.scheduleday_title {
    background: var(--wtwh-agenda-accent, #BC3434);
    border: 1px solid var(--wtwh-agenda-accent, #BC3434);
    border-radius: var(--wtwh-agenda-tab-radius, 0);
}

.scheduleday_wrapper.tab li.scheduleday_title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    width: auto;
    margin: 0;
}

.scheduleday_wrapper li.scheduleday_title.active {
    background: #ffffff !important;
    color: var(--wtwh-agenda-accent, #BC3434) !important;
    border-bottom-color: #ffffff;
}

.scheduleday_wrapper li.scheduleday_title.has-custom-tab-color {
    background: var(--wtwh-session-tab-color);
    border-color: var(--wtwh-session-tab-color);
    color: #ffffff;
}

.scheduleday_wrapper li.scheduleday_title.has-custom-tab-color.active {
    background: #ffffff !important;
    color: var(--wtwh-session-tab-color) !important;
    border-bottom-color: #ffffff;
}

.scheduleday_wrapper li .scheduleday_title_content {
    float: none;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.scheduleday_wrapper li.scheduleday_title.active h4, .scheduleday_wrapper li.scheduleday_title.active .scheduleday_title_icon span {
    color: currentColor;
}

.scheduleday_wrapper li.scheduleday_title h4, .scheduleday_wrapper li.scheduleday_title .scheduleday_title_icon span {
    color: currentColor;
}

.scheduleday_wrapper li.scheduleday_title h4, .scheduleday_wrapper li.scheduleday_title {
    color: #fff;
    margin: 0;
    font-weight: bold;
    font-size: clamp(14pt, 1.4rem, 18pt);
    padding: 10px 14px;
    display: inline-block;
}

.scheduleday_wrapper.tab li.scheduleday_title h4 {
    white-space: nowrap;
}

.scheduleday_wrapper li .scheduleday_desc {
    display: inline-block;
    padding: 0;
    opacity: 0.9;
    font-size: 0.95em;
    color: currentColor !important;
}

.scheduleday_wrapper li.scheduleday_title h4,
.scheduleday_wrapper li.scheduleday_title .scheduleday_desc {
    color: inherit !important;
}

.scheduleday_wrapper li.scheduleday_title.has-custom-tab-color .scheduleday_desc {
    color: #ffffff !important;
}

/* Force clear state colors for tab text/subhead regardless of lingering saved styles */
.scheduleday_wrapper li.scheduleday_title:not(.active) h4,
.scheduleday_wrapper li.scheduleday_title:not(.active) .scheduleday_desc {
    color: #ffffff !important;
}

.scheduleday_wrapper li.scheduleday_title.active h4,
.scheduleday_wrapper li.scheduleday_title.active .scheduleday_desc {
    color: var(--wtwh-agenda-accent, #BC3434) !important;
}

.scheduleday_wrapper li.scheduleday_title.has-custom-tab-color.active h4,
.scheduleday_wrapper li.scheduleday_title.has-custom-tab-color.active .scheduleday_desc {
    color: var(--wtwh-session-tab-color) !important;
}

.clear {
    clear: both;
}

.agenda-calendar-wrapper ul.scheduleday_wrapper.tab_content,
#page_content_wrapper .inner .sidebar_content ul.scheduleday_wrapper.tab_content {
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--wtwh-active-tab-color, var(--wtwh-agenda-accent, #BC3434)) !important;
    box-shadow: #edebeb 0px 0px 15px;
    overflow: hidden;
}

.agenda-calendar-wrapper ul.tab_content.scheduleday_wrapper > li.themeborder:last-child {
    border-bottom: 0;
}

.elementor-element .agenda-calendar-wrapper .scheduleday_wrapper li {
    color: #222222;
}

.scheduleday_wrapper li .expandable {
    cursor: default;
    background: #fff;
}

.scheduleday_wrapper li .session_speaker_thumb {
    float: left;
    width: 70px;
    position: relative;
    display: block;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 5px;
}

.scheduleday_wrapper li .session_speaker_thumb img {
    border-radius: 250px;
    width: 45px;
}
/* Multi-column layout for speaker thumbnails when there are more than 5 speakers */
.scheduleday_wrapper li .session_speaker_thumb.multi-column {
    grid-template-columns: 1fr 1fr; 
    width: 110px; 
}

.scheduleday_wrapper li .session_content.has_speaker_thumb {
    width: calc(100% - 70px);
}

/* Adjust content width when multi-column speaker layout is used */
.scheduleday_wrapper li.has-multi-column-speakers .session_content.has_speaker_thumb {
    width: calc(100% - 120px) !important; /* Adjusted for wider thumbnail area */
}

/* Responsive day tab layout for tablet/mobile */
@media (max-width: 1024px) {
    .scheduleday_wrapper.tab {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow: visible;
        white-space: normal;
        gap: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .scheduleday_wrapper.tab li.scheduleday_title {
        flex: 0 0 auto;
        width: 100%;
        margin: 0 0 8px 0;
    }

    .scheduleday_wrapper.tab li.scheduleday_title:not(.active) {
        border-radius: var(--wtwh-agenda-mobile-pill-radius, 50px) !important;
    }

    .scheduleday_wrapper.tab li.scheduleday_title.active {
        margin-bottom: -1px;
        position: relative;
        z-index: 2;
    }

    .scheduleday_wrapper.tab li.wtwh-day-panel {
        width: 100%;
        margin: 0 0 8px 0;
        padding: 0;
        list-style: none;
        border: 0;
        background: transparent;
    }

    .scheduleday_wrapper.tab li.wtwh-day-panel > ul.scheduleday_wrapper.tab_content {
        margin: 0 !important;
    }

    .scheduleday_wrapper li .scheduleday_title_content {
        gap: 3px;
    }

    .scheduleday_wrapper.tab li.scheduleday_title h4,
    .scheduleday_wrapper.tab li.scheduleday_title {
        width: 100%;
        text-align: center;
        font-size: clamp(14pt, 5vw, 18pt);
        padding: 10px 8px;
    }

    .scheduleday_wrapper.tab li .scheduleday_desc {
        display: block;
        width: 100%;
        margin-top: 0;
        font-size: 0.85em;
    }

    .scheduleday_wrapper li .session_speaker_thumb.multi-column {
        width: 100px; /* Slightly reduce width on tablets */
    }
    
    .scheduleday_wrapper li .session_speaker_thumb.multi-column img {
        width: 42px; /* Slightly smaller images on tablets */
        height: 42px;
    }
    
    .scheduleday_wrapper li.has-multi-column-speakers .session_content.has_speaker_thumb {
        width: calc(100% - 110px) !important; /* 100px thumbnail + ~10px spacing */
    }
}

/* Responsive adjustments for mobile screens */
@media (max-width: 480px) {
    .scheduleday_wrapper li .session_speaker_thumb.multi-column {
        width: 90px; /* Reduce width on small screens */
    }
    
    .scheduleday_wrapper li .session_speaker_thumb.multi-column img {
        width: 35px; /* Smaller images on mobile */
        height: 35px;
    }
    
    .scheduleday_wrapper li.has-multi-column-speakers .session_content.has_speaker_thumb {
        width: calc(100% - 100px) !important; /* 90px thumbnail + ~10px spacing */
    }
}

.scheduleday_wrapper li .session_content {
    float: right;
    width: 100%;
}

.elementor-element .agenda-calendar-wrapper .scheduleday_wrapper li a {
    color: var(--wtwh-agenda-accent-secondary, #D5403C);
}

.elementor-element .agenda-calendar-wrapper .scheduleday_wrapper li .session_content_wrapper {
    background: #ffffff;
    padding:0;
}

.agenda-calendar-wrapper ul.tab_content.scheduleday_wrapper li:not(:last-child) .session_content_wrapper {
    border-radius: 0 !important;
}

.agenda-calendar-wrapper li .session_content_wrapper.session_content_extend {
    padding-top: 0;
}

.scheduleday_wrapper li .session_excerpt {
    margin: 0 0 15px 0;
}

/* Reset list styles inside excerpts to show bullets properly */
.session_excerpt ul,
.session_excerpt ol,
.scheduleday_desc ul,
.scheduleday_desc ol,
.wtwh-session-excerpt ul,
.wtwh-session-excerpt ol {
    list-style-position: inside;
    margin: 1em 0;
    padding: 0 0 0 20px;
}

.session_excerpt ul,
.scheduleday_desc ul,
.wtwh-session-excerpt ul {
    list-style-type: disc;
}

.session_excerpt ol,
.scheduleday_desc ol,
.wtwh-session-excerpt ol {
    list-style-type: decimal;
}

.session_excerpt ul li,
.session_excerpt ol li,
.scheduleday_desc ul li,
.scheduleday_desc ol li,
.wtwh-session-excerpt ul li,
.wtwh-session-excerpt ol li {
    list-style: inherit;
    margin: 0.5em 0;
    padding: 0;
    border: none;
    display: list-item;
}

.session_excerpt p,
.scheduleday_desc p,
.wtwh-session-excerpt p {
    margin: 1em 0;
}

.session_excerpt p:first-child,
.scheduleday_desc p:first-child,
.wtwh-session-excerpt p:first-child {
    margin-top: 0;
}

.session_excerpt p:last-child,
.scheduleday_desc p:last-child,
.wtwh-session-excerpt p:last-child {
    margin-bottom: 0;
}

.scheduleday_wrapper li .session_title_list {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    margin: 5px 0 0 0;
}

.scheduleday_wrapper li .session_title_list .session_title_item {
    margin-right: 10px;
    display: inline-block;
    letter-spacing: 1px;
}

.scheduleday_wrapper li .session_title_list span{
    display: inline-block;
    letter-spacing: 1px;
}

.scheduleday_wrapper li .session_speaker_icon {
    float: left;
    width: 50px;
    margin-right: 20px;
    text-align: center;
}

.scheduleday_wrapper li .session_speaker_icon span {
    font-size: 30px;
    line-height: 50px;
}

.scheduleday_wrapper li .session_title h6 {
    font-size: clamp(14pt, 1.3rem, 24pt);
    letter-spacing: 0;
    margin: 5px 0 10px 0;
}

.scheduleday_wrapper li .session_speakers{
    line-height: 1.4;
}

.scheduleday_wrapper li .session_speakers strong{
    color: var(--wtwh-agenda-accent-secondary, #D5403C);
}

.scheduleday_wrapper li .session_speakers a.wtwh-speaker-link {
    display: inline-block;
    pointer-events: auto;
}

.scheduleday_wrapper li .session_title_list .session_title_item {
    margin-right: 10px;
    display: inline-block;
    letter-spacing: 1px;
}

.agenda-calendar-wrapper li .session_location {
    border-color: #e1e1e1;
}

.scheduleday_wrapper li .session_location {
    border-top: 1px solid #e1e1e1;
    padding: 20px 0 0 0;
    margin-top: 20px
}

.scheduleday_wrapper li .session_location .session_location_label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

.skin_color {
    color: var(--wtwh-agenda-accent, #D5403C);
}

/* Image styles for session excerpts */
.session_excerpt img,
.scheduleday_desc img,
.wtwh-session-excerpt img {
    max-width: 100% !important;
    height: auto !important;
    margin: 1em 0;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Image alignment classes */
.session_excerpt .alignleft,
.scheduleday_desc .alignleft,
.wtwh-session-excerpt .alignleft {
    float: left;
    margin: 0 1em 1em 0;
    max-width: 50%;
}

.session_excerpt .alignright,
.scheduleday_desc .alignright,
.wtwh-session-excerpt .alignright {
    float: right;
    margin: 0 0 1em 1em;
    max-width: 50%;
}

.session_excerpt .aligncenter,
.scheduleday_desc .aligncenter,
.wtwh-session-excerpt .aligncenter {
    display: block;
    margin: 1em auto;
    text-align: center;
}

/* WordPress image size classes */
.session_excerpt .size-thumbnail,
.session_excerpt .size-medium,
.session_excerpt .size-large,
.session_excerpt .size-full,
.scheduleday_desc .size-thumbnail,
.scheduleday_desc .size-medium,
.scheduleday_desc .size-large,
.scheduleday_desc .size-full,
.wtwh-session-excerpt .size-thumbnail,
.wtwh-session-excerpt .size-medium,
.wtwh-session-excerpt .size-large,
.wtwh-session-excerpt .size-full {
    max-width: 100% !important;
    height: auto !important;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .session_excerpt .alignleft,
    .session_excerpt .alignright,
    .scheduleday_desc .alignleft,
    .scheduleday_desc .alignright,
    .wtwh-session-excerpt .alignleft,
    .wtwh-session-excerpt .alignright {
        float: none !important;
        display: block;
        margin: 1em auto;
        max-width: 100% !important;
    }
}

/* Clearfix for floated images */
.session_excerpt::after,
.scheduleday_desc::after,
.wtwh-session-excerpt::after {
    content: "";
    display: table;
    clear: both;
}

/* Image captions - both old wp-caption and new figure elements */
.session_excerpt .wp-caption,
.session_excerpt figure,
.scheduleday_desc .wp-caption,
.scheduleday_desc figure,
.wtwh-session-excerpt .wp-caption,
.wtwh-session-excerpt figure {
    max-width: 100%;
    margin: 1em 0;
}

.session_excerpt .wp-caption img,
.session_excerpt figure img,
.scheduleday_desc .wp-caption img,
.scheduleday_desc figure img,
.wtwh-session-excerpt .wp-caption img,
.wtwh-session-excerpt figure img {
    margin: 0;
}

.session_excerpt .wp-caption-text,
.session_excerpt figcaption,
.scheduleday_desc .wp-caption-text,
.scheduleday_desc figcaption,
.wtwh-session-excerpt .wp-caption-text,
.wtwh-session-excerpt figcaption {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 0.5em;
    margin: 0;
}
