/* ── Agenda — day-tabbed schedule ── */
.new-agenda {
    --ag-primary: #2d3b68;
    --ag-secondary: #ce8924;
    position: relative;
    background: #f0f2f8;
    overflow: hidden;
}

.new-agenda__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 55% 45% at 12% 12%,
            rgba(45, 59, 104, 0.06) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 55% 45% at 88% 90%,
            rgba(206, 137, 36, 0.08) 0%,
            transparent 60%
        );
}

.new-agenda__inner {
    position: relative;
    z-index: 1;
}

.new-agenda__head {
    margin-bottom: 1.25rem;
}

.new-agenda__head .heading9 {
    display: flex;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.new-agenda__title {
    color: var(--ag-primary);
}

/* Disclaimer banner — deliberately loud, matches badge/pill language used elsewhere */
.new-agenda__disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff5e2 0%, #ffe9c2 100%);
    border: 1.5px solid var(--ag-secondary);
    color: #7a4c0e;
    font-family: var(--textFamily), "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(0.8rem, 1.3vw, 0.92rem);
    text-align: center;
    box-shadow: 0 6px 18px rgba(206, 137, 36, 0.22);
    max-width: max-content;
    margin: 0 auto 2.25rem auto;
}

.new-agenda__disclaimer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ag-secondary);
    color: #fff;
    font-size: 0.72em;
    line-height: 1;
}

/* ── Day tabs — segmented control track, matches "What's In It For You" tabs ── */
.new-agenda__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 6px;
    margin: 0 auto 2.5rem;
    max-width: fit-content;
    background: rgba(45, 59, 104, 0.07);
    border-radius: 999px;
    border: 1px solid rgba(45, 59, 104, 0.1);
}

.new-agenda__tab {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(45, 59, 104, 0.55);
    font-family: var(--textFamily), "Montserrat", sans-serif;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
    white-space: nowrap;
}

.new-agenda__tab-day {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.new-agenda__tab-date {
    font-weight: 500;
    font-size: 0.78rem;
    opacity: 0.75;
}

.new-agenda__tabs .new-agenda__tab:hover:not(.active) {
    background: rgba(45, 59, 104, 0.08);
    color: var(--ag-primary);
}

.new-agenda__tabs .new-agenda__tab.active {
    background: var(--ag-secondary) !important;
    color: #fff !important;
    box-shadow: 0 3px 14px rgba(206, 137, 36, 0.4);
}

.new-agenda__tabs .new-agenda__tab.active .new-agenda__tab-date {
    opacity: 0.9;
}

/* ── Framed panel around the schedule ── */
.new-agenda__panels {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(45, 59, 104, 0.1);
    box-shadow: 0 14px 36px rgba(30, 38, 72, 0.1);
}

.new-agenda__panels .tab-pane {
    animation: ag-fade-in 0.28s ease forwards;
}

@keyframes ag-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Schedule list */
.new-agenda__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.new-agenda__item {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 1.1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(45, 59, 104, 0.1);
    border-left: 4px solid var(--ag-secondary);
    box-shadow: 0 2px 8px rgba(45, 59, 104, 0.05);
    transition:
        box-shadow 0.22s ease,
        transform 0.22s ease,
        border-color 0.22s ease;
}

.new-agenda__item:hover {
    box-shadow: 0 8px 22px rgba(45, 59, 104, 0.12);
    transform: translateX(4px);
    border-color: rgba(206, 137, 36, 0.4);
}

/* Time chip */
.new-agenda__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--ag-primary);
    color: #fff;
    font-family: var(--textFamily), "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    justify-self: start;
}

.new-agenda__time::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 5.83V8.97C10 9.28 10.09 9.58 10.25 9.85C10.41 10.11 10.64 10.32 10.92 10.46L13.33 11.67' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.new-agenda__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.new-agenda__item-title {
    font-family: var(--textFamily), "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: #171c33;
    line-height: 1.35;
}

.new-agenda__duration {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.12rem 0.6rem;
    border-radius: 999px;
    background: rgba(206, 137, 36, 0.14);
    color: #8a5a15;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.new-agenda__item-sub {
    font-size: 0.87rem;
    color: #4a5170;
    line-height: 1.5;
}

.new-agenda__item-speaker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ag-primary);
}

.new-agenda__item-speaker::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 10a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z' stroke='%23ce8924' stroke-width='1.6'/%3E%3Cpath d='M4 17c.7-3 3-5 6-5s5.3 2 6 5' stroke='%23ce8924' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 575.98px) {
    .new-agenda__panels {
        padding: 1rem;
        border-radius: 16px;
    }

    .new-agenda__item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .new-agenda__time {
        justify-self: start;
    }

    .new-agenda__tabs {
        max-width: calc(100% - 1rem);
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .new-agenda__tab {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0.6rem 0.9rem;
    }
    .new-agenda__tabs  li{
        width: 100%;
    }
    .new-agenda__tabs  li button{
        width: 100%;
    }
}

/* "View Full Agenda" link on the homepage tabbed section */
.new-agenda__full-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    color: var(--ag-secondary);
    font-family: var(--textFamily), "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.new-agenda__full-link:hover {
    color: #b87a22;
    gap: 0.55rem;
}

/* ── Standalone /agenda page — all days listed sequentially, no tabs ── */
.new-agenda-page {
    --ag-primary: #2d3b68;
    --ag-secondary: #ce8924;
    position: relative;
    background: #f0f2f8;
    padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
}

.new-agenda-page__day + .new-agenda-page__day {
    margin-top: 2.5rem;
}

.new-agenda-page__day-heading {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(206, 137, 36, 0.3);
}

.new-agenda-page__day-label {
    font-family: var(--ztc-family-font1), "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    color: var(--ag-primary);
}

.new-agenda-page__day-date {
    font-family: var(--textFamily), "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ag-secondary);
}

.new-agenda-page__panel {
    max-width: none;
    margin: 0;
}
