/* ==================================================
   XULA AGENDA PAGE

   Page-specific styles for:
   1. Program at a Glance heading and controls
   2. Three-day schedule cards
   3. Session details and workshop subtitles
   4. Tablet and mobile schedule layouts
================================================== */

/* ==================================================
   THREE-DAY CONFERENCE SCHEDULE
================================================== */

.xula-schedule-section {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 120px 0;
    clear: both;
    overflow: visible;

    background: linear-gradient(
        135deg,
        #000000 0%,
        #101A17 45%,
        #00594A 100%
    );
}

/*
Prevents the original template schedule from pulling upward
over the conference-theme panel.
*/
.xula-schedule-section,
.xula-schedule-section .xula-schedule-wrap,
.xula-schedule-section .table-responsive {
    top: auto;
    bottom: auto;
    transform: none;
}

.xula-schedule-section .container-fluid {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding-right: 5vw;
    padding-left: 5vw;
}

.xula-schedule-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 55px;
}

.xula-schedule-label {
    display: block;
    margin-bottom: 14px;
    color: #FFC530;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.xula-schedule-heading h2 {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(45px, 5vw, 76px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
}

.xula-schedule-heading p {
    max-width: 600px;
    margin: 0 0 5px auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.75;
}

.xula-schedule-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    border-top: 7px solid #FFC530;
    box-shadow: none;
}

.xula-schedule-table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.xula-schedule-table thead th {
    width: 33.333%;
    padding: 28px 32px;
    color: #FFFFFF;
    text-align: left;
    vertical-align: middle;
    background-color: #00A887;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.xula-schedule-table thead th:last-child {
    border-right: 0;
}

.xula-schedule-table .schedule-day {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.xula-schedule-table thead strong {
    display: block;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(23px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.2;
}

.xula-schedule-table tbody td {
    width: 33.333%;
    min-height: 125px;
    padding: 28px 32px;
    vertical-align: top;
    background-color: #FFFFFF;
    border-right: 1px solid #DADBDC;
    border-bottom: 1px solid #DADBDC;
}

.xula-schedule-table tbody td:last-child {
    border-right: 0;
}

.xula-schedule-table tbody tr:nth-child(even) td {
    background-color: #F2F2F3;
}

.xula-schedule-table tbody td:hover {
    background-color: #FFF6D4;
}

.xula-schedule-table .schedule-time {
    display: block;
    margin-bottom: 9px;
    color: #00A887;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.xula-schedule-table .schedule-title {
    display: block;
    color: #000000;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.xula-schedule-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 32px;
    background-color: #FFFFFF;
}

.xula-schedule-footer p {
    margin: 0;
    color: #646464;
    font-size: 14px;
    line-height: 1.6;
}

.xula-schedule-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 13px 25px;
    color: #000000;
    background-color: #FFC530;
    border: 2px solid #FFC530;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.xula-schedule-button:hover {
    color: #FFFFFF;
    background-color: #00A887;
    border-color: #00A887;
}

/* Protect the bottom of the theme panel */

.xula-theme-panel-full {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    padding-bottom: 95px;
}

.xula-why-attend {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    overflow: visible;
}

/* Remove original template overlap spacing */

.gardiant-bg.pt-295 {
    padding-top: 0;
}

/* Tablet */

@media (max-width: 991px) {
    .xula-schedule-section {
        padding: 90px 0;
    }

    .xula-schedule-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .xula-schedule-heading p {
        margin-left: 0;
    }

    .xula-schedule-section .container-fluid {
        padding-right: 30px;
        padding-left: 30px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .xula-schedule-section {
        padding: 70px 0;
    }

    .xula-schedule-section .container-fluid {
        padding-right: 20px;
        padding-left: 20px;
    }

    .xula-schedule-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 35px;
    }

    .xula-schedule-heading > div {
        width: 100%;
    }

    .xula-schedule-heading h2 {
        width: 100%;
        font-size: clamp(24px, 7vw, 28px);
        line-height: 1.15;
        white-space: nowrap;
    }

    .xula-schedule-heading > p {
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .xula-schedule-wrap {
        border-top-width: 5px;
    }

    .xula-schedule-table {
        min-width: 780px;
    }

    .xula-schedule-table thead th,
    .xula-schedule-table tbody td {
        padding: 22px;
    }

    .xula-schedule-footer {
        display: grid;
        padding: 24px;
    }

    .xula-schedule-button {
        width: 100%;
    }
}

/* Workshop label and title */
.schedule-workshop-label {
    display: block;
    margin-bottom: 4px;
    color: var(--day-label-color);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.schedule-workshop-title {
    display: block;
    color: #303030;
}
   SCHEDULE AT A GLANCE — COLUMN LAYOUT
/*================================================== */

.xula-schedule-section {
    width: 100%;
    padding: 90px 0;
}

.xula-schedule-section .container-fluid {
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;
    padding-left: 4vw;
    padding-right: 4vw;
}


/* ==================================================
   SCHEDULE HEADING
================================================== */

.xula-schedule-heading {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 40px;

    align-items: end;

    margin-bottom: 45px;
}

.xula-schedule-label {
    display: block;
    margin-bottom: 12px;

    color: #FFC530;

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.xula-schedule-heading h2 {
    margin: 0;

    color: #FFFFFF;

    font-family: var(--font-heading);
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.xula-schedule-heading > p {
    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 17px;
    line-height: 1.75;
}


/* ==================================================
   COLORFUL SCHEDULE
================================================== */

.xula-schedule-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}


/* ==================================================
   DAY CARD
================================================== */

.xula-schedule-day-card {
    width: 100%;

    background: #FFFFFF;

    /*border: 1px solid rgba(255, 255, 255, 0.12);*/

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);

    overflow: hidden;
}


/* Give each day its own accent color */

/* DAY 1 — GREEN */
.xula-schedule-day-card:nth-child(1) {
    --day-color: #00A887;
    --day-color-dark: #005446;
    --day-label-color: #007D69;
    --day-text: #FFFFFF;
}

/* DAY 2 — GOLD */
.xula-schedule-day-card:nth-child(2) {
    --day-color: #FFC530;
    --day-color-dark: #806318;
    --day-label-color: #705500;
    --day-text: #000000;
}

/* DAY 3 — ORANGE */
.xula-schedule-day-card:nth-child(3) {
    --day-color: #C16C29;
    --day-color-dark: #9A5621;
    --day-label-color: #9B4D18;
    --day-text: #FFFFFF;
}

/* ==================================================
   DAY HEADER
================================================== */

.xula-schedule-day-header {
    position: relative;

    padding: 26px 28px;

    background: var(--day-color);

    color: var(--day-text);

    overflow: hidden;
}


/* Decorative background shape */
.xula-schedule-day-header::after {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -55px;
    top: -55px;

    border: 2px solid rgba(255, 255, 255, 0.22);

    transform: rotate(45deg);
}


.xula-schedule-day-header span {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 5px;

    color: var(--day-text);

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.13em;

    text-transform: uppercase;

    opacity: 0.85;
}


.xula-schedule-day-header h3 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--day-text);

    font-family: var(--font-heading);

    font-size: 31px;
    font-weight: 800;

    line-height: 1.1;
}


/* ==================================================
   SESSION
================================================== */

.xula-schedule-session {
    position: relative;

    background: #FFFFFF;

    border-bottom: 1px solid #E8E8E8;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


.xula-schedule-session:last-child {
    border-bottom: 0;
}


/* Colored stripe */
.xula-schedule-session::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--day-color);

    opacity: 0;

    transition: opacity 0.25s ease;
}


.xula-schedule-session:hover::before,
.xula-schedule-session.is-open::before {
    opacity: 1;
}


/* Alternate rows */
.xula-schedule-session:nth-child(even) {
    background: #F8F8F8;
}


/* ==================================================
   CLICKABLE SESSION
================================================== */

.schedule-toggle {
    width: 100%;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 23px 25px;

    background: transparent;

    border: 0;

    text-align: left;

    cursor: pointer;
}


.schedule-toggle-main {
    flex: 1;
}


/* ==================================================
   STATIC SESSION
================================================== */

.schedule-static {
    padding: 23px 25px;
}


/* ==================================================
   TIME
================================================== */

.xula-schedule-session .schedule-time {
    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 9px;

    background: rgba(0, 168, 135, 0.10);

    color: #007D69;

    font-family: var(--font-body);

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* Change time label color by day */

.xula-schedule-day-card:nth-child(2)
.schedule-time {
    background: rgba(255, 197, 48, 0.22);
    color: #705500;
}


.xula-schedule-day-card:nth-child(3)
.schedule-time {
    background: rgba(193, 108, 41, 0.13);
    color: #9B4D18;
}


/* ==================================================
   SESSION TITLE
================================================== */

.xula-schedule-session .schedule-title {
    margin: 0;
    color: #000000;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    transition: color 0.25s ease;
}

.has-details .schedule-toggle:hover .schedule-title {
    color: var(--day-color-dark);
}


/* ==================================================
   PLUS BUTTON
================================================== */

.schedule-toggle-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 3px;

    background: var(--day-color);

    color: var(--day-text);

    font-size: 14px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


.schedule-toggle:hover .schedule-toggle-icon {
    transform: scale(1.08);
}


/* When open */
.xula-schedule-session.is-open .schedule-toggle-icon {
    transform: rotate(45deg);
}


/* ==================================================
   DROPDOWN DETAILS
================================================== */

.schedule-details {
    display: none;

    padding:
        0 25px 25px 25px;
}


/* Reveal when open */
.xula-schedule-session.is-open .schedule-details {
    display: block;

    animation: xulaScheduleReveal 0.28s ease;
}


@keyframes xulaScheduleReveal {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==================================================
   SUBTITLE
================================================== */

.schedule-details .schedule-subtitle {
    margin: 0 0 4px;

    padding-top: 15px;

    border-top: 1px solid #E3E3E3;

    color: #303030;

    font-family: var(--font-body);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.55;
}


.schedule-details .schedule-subtitle-secondary {
    padding-top: 0;

    border-top: 0;

    font-weight: 600;
}


/* ==================================================
   SPEAKERS
================================================== */

.schedule-speakers {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 16px;

    padding: 15px 17px;

    background: #ffffff;

    border-left: 4px solid var(--day-color);
}


.schedule-speaker-label {
    display: block;

    margin-bottom: 3px;

    color: #000000;

    font-family: var(--font-body);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.schedule-speaker {
    display: block;

    color: #414141;

    font-family: var(--font-body);

    font-size: 14px;

    font-weight: 500;

    font-style: italic;

    line-height: 1.45;
}


/* ==================================================
   OPEN SESSION STYLE
================================================== */

.xula-schedule-session.is-open {
    background: #FFFBEF;

    box-shadow:
        inset 0 0 0 1px rgba(255, 197, 48, 0.28);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1199px) {

    .xula-schedule-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    /* Schedule heading and description */

    .xula-schedule-heading {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-bottom: 35px;
    }

    .xula-schedule-heading > div {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .xula-schedule-heading h2 {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
        font-size: clamp(24px, 7vw, 28px);
        line-height: 1.15;
        white-space: nowrap;
    }

    .xula-schedule-heading > p {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-size: 16px;
        line-height: 1.7;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .xula-schedule-days {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .xula-schedule-day-header {
        padding: 22px 20px;
    }


    .xula-schedule-day-header h3 {
        font-size: 27px;
    }


    .schedule-toggle,
    .schedule-static {
        padding: 20px;
    }


    .schedule-details {
        padding:
            0 20px 22px;
    }


    .xula-schedule-session .schedule-title {
        font-size: 17px;
    }


    .schedule-toggle {
        gap: 12px;
    }


    .schedule-toggle-icon {
        flex-basis: 34px;

        width: 34px;
        height: 34px;
    }


    .schedule-details .schedule-subtitle {
        font-size: 15px;
    }


    .schedule-speaker {
        font-size: 13px;
    }

}
