/* =====================================================
   TOPIC EXPLORER
===================================================== */

.topic-explorer {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: #F7F7F7;
    overflow: hidden;
}


/* =====================================================
   CONTAINER
===================================================== */

.topic-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 1400px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 70px;
    /* align-items: center; */
}


/* =====================================================
   LEFT INTRO
===================================================== */

.topic-intro {
    margin-bottom: 45px;
}

.topic-eyebrow {
    display: block;
    margin-bottom: 18px;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #7A00E6;
}


.topic-intro h2 {
    margin: 0 0 20px;
    font-family: "Sanofi Serif", Georgia, serif;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -2px;
    color: #23004C;
}


.topic-intro h2 span {
    display: block;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-weight: 700;
    color: #7A00E6;
}


.topic-intro p {
    max-width: 330px;
    margin: 0;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(35,0,76,.58);
}


/* =====================================================
   TABS
===================================================== */

.tabs-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.topic-tab {
    position: relative;
    width: 100%;
    min-height: 90px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 42px 1fr 35px;
    align-items: center;
    gap: 16px;
    border: none;
    border-bottom: 1px solid rgba(35,0,76,.10);
    background: rgba(255,255,255,.65);
    color: #23004C;
    text-align: left;
    cursor: pointer;
    transition: background .3s ease, padding .3s ease;
}

.topic-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: #7A00E6;
    transition: height .3s ease;
}

.topic-tab:hover {
    padding-left: 22px;
    background: rgba(255,255,255,.65);
}

.topic-tab.active {
    padding-left: 22px;
    background: #7A00E6;
    box-shadow:0 8px 25px rgba(35,0,76,.045);
    color: #ffffff;
}

.topic-tab.active::before {
    height: 100%;
    color: #ffffff;
}


/* =====================================================
   TAB NUMBER
===================================================== */

.tab-number {
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    /* color: #7A00E6; */
}


/* =====================================================
   TAB CONTENT
===================================================== */

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.tab-content strong {
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    /* color: #23004C; */
}


.tab-content small {
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    /* color: rgba(35,0,76,.45); */
}


/* =====================================================
   TAB ARROW
===================================================== */

.tab-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(35,0,76,.12);
    border-radius: 50%;
    font-size: 14px;
    color: #23004C;
    transition:background .3s ease, color .3s ease, transform .3s ease;
}


.topic-tab:hover .tab-arrow,
.topic-tab.active .tab-arrow {
    background: #ffffff;
    color: #23004C;
    transform: translateX(3px);
}


/* =====================================================
   RIGHT CONTENT AREA
===================================================== */

.topic-content-area {
    position: relative;
    min-height: 600px;
}


/* =====================================================
   CONTENT PANEL
===================================================== */

.topic-panel {
    position: absolute;
    inset: 0;
    /* padding: 42px; */
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* background: #ffffff; */
    /* border: 1px solid rgba(35,0,76,.08); */
    /* border-radius: 10px; */
    /* box-shadow:0 25px 70px rgba(35,0,76,.07); */
    opacity: 0;
    visibility: hidden;
    transform:translateX(45px) scale(.98);
    transition:opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1), visibility .45s ease;
}


.topic-panel.active {
    opacity: 1;
    visibility: visible;
    transform:translateX(0) scale(1);
}


/* =====================================================
   PANEL TOP
===================================================== */

.panel-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(35,0,76,.09);
}


.panel-number {
    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #7A00E6;
}


.panel-category {
    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: rgba(35,0,76,.45);
}


/* =====================================================
   PANEL BODY
===================================================== */

.panel-body {
    position: relative;
    z-index: 3;
    max-width: 640px;
}


.panel-label {
    display: block;
    margin-bottom: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #7A00E6;
}


.panel-body h3 {
    margin: 0 0 10px;
    font-family: "Sanofi Serif";
    font-size: clamp(10px, 2.6vw, 38px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #7A00E6;
}


.panel-body p {
    max-width: 800px;
    margin: 0 0 30px;
    font-family: "Sanofi Sans";
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(35,0,76,.58);
}


/* =====================================================
   PANEL LINK
===================================================== */

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #7A00E6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #23004C;
}


.panel-link span {
    font-size: 18px;

    transition: transform .3s ease;
}


.panel-link:hover span {
    transform: translateX(5px);
}


/* =====================================================
   DECORATIVE HEALTHCARE ELEMENT
===================================================== */

.panel-decoration {
    position: absolute;

    right: -90px;
    bottom: -100px;

    width: 390px;
    height: 390px;

    border: 1px solid rgba(122,0,230,.10);

    border-radius: 50%;

    opacity: .8;

    pointer-events: none;
}


.panel-decoration::before,
.panel-decoration::after {
    content: "";

    position: absolute;

    inset: 45px;

    border: 1px solid rgba(35,0,76,.07);

    border-radius: 50%;
}


.panel-decoration::after {
    inset: 95px;

    border-color: rgba(122,0,230,.08);
}


/* Molecular nodes */

.panel-decoration span {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #7A00E6;

    box-shadow:
        0 0 0 7px rgba(122,0,230,.07);
}


.panel-decoration span:nth-child(1) {
    left: 30px;
    top: 180px;
}


.panel-decoration span:nth-child(2) {
    left: 185px;
    top: 25px;
}


.panel-decoration span:nth-child(3) {
    right: 30px;
    top: 155px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .topic-container {
        grid-template-columns: 320px 1fr;

        gap: 40px;
    }

    .topic-panel {
        padding: 32px;
    }

}


@media (max-width: 760px) {

    .topic-explorer {
        padding: 80px 0;
    }

    .topic-container {
        width: min(100% - 32px, 600px);

        display: block;
    }

    .topic-intro {
        margin-bottom: 35px;
    }

    .topic-content-area {
        min-height: 500px;

        margin-top: 30px;
    }

    .topic-panel {
        padding: 28px;
    }

    .panel-body h3 {
        font-size: 42px;
    }

}


@media (max-width: 480px) {

    .topic-tab {
        min-height: 65px;

        grid-template-columns:
            32px 1fr 30px;
    }

    .tab-content strong {
        font-size: 13px;
    }

    .topic-content-area {
        min-height: 520px;
    }

    .topic-panel {
        padding: 24px;
    }

    .panel-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .panel-body h3 {
        font-size: 38px;
    }

    .panel-body p {
        font-size: 14px;
    }

}





/* =========================================
   SESSIONS LIST
========================================= */

.sessions-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    border-top: 1px solid rgba(35, 0, 76, 0.12);
}


/* =========================================
   SESSION ITEM
========================================= */

.session-item {
    position: relative;

    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 16px;
    /* No fixed height */
    height: auto;
    min-height: 118px;
    padding: 20px 8px 20px 4px;
    text-decoration: none;
    border-bottom: 1px solid rgba(35, 0, 76, 0.10);
    background: transparent;
    transition:
        background 0.35s ease,
        padding 0.35s ease,
        transform 0.4s ease,
        opacity 0.4s ease;
}


/* =========================================
   HOVER BACKGROUND
========================================= */

.session-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(122, 0, 230, 0.055),
            rgba(122, 0, 230, 0.015),
            transparent
        );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}


.session-item:hover::before {
    opacity: 1;
}


.session-item:hover {
    padding-left: 14px;
}


/* =========================================
   ICON / NUMBER
========================================= */

.session-icon {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F0EAF7;
    border: 1px solid rgba(122, 0, 230, 0.12);
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.session-icon span {
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #7A00E6;
}


.session-item:hover .session-icon {
    background: #7A00E6;
    border-color: #7A00E6;
}


.session-item:hover .session-icon span {
    color: #FFFFFF;
}


/* =========================================
   SESSION CONTENT
========================================= */

.session-content {
    min-width: 0;
    height: auto;
}

.session-content h3 {
    margin: 0 0 6px;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #23004C;
    transition: color 0.3s ease;
}

.session-item:hover .session-content h3 {
    color: #7A00E6;
}

.session-content p {
    max-width: 720px;
    margin: 0;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(35, 0, 76, 0.62);
}

/* =========================================
   ARROW
========================================= */

.session-arrow {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F5F0FA;
    font-family: Arial, sans-serif;
    font-size: 20px;
    color: #7A00E6;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.4s cubic-bezier(.22, 1, .36, 1);
}


.session-item:hover .session-arrow {
    background: #7A00E6;
    color: #FFFFFF;
    transform: translate(3px, -3px);
}


/* =========================================
   SUBTLE ACTIVE LINE
========================================= */

.session-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: #7A00E6;
    transition: width 0.45s cubic-bezier(.22, 1, .36, 1);
}


.session-item:hover::after {
    width: 90px;
}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 760px) {

    .session-item {
        grid-template-columns: 58px minmax(0, 1fr) 38px;
        gap: 17px;

        min-height: 110px;
    }

    .session-icon {
        width: 52px;
        height: 52px;
    }

    .session-content h3 {
        font-size: 16px;
    }

    .session-content p {
        font-size: 12px;
    }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 520px) {

    .session-item {
        grid-template-columns: 48px minmax(0, 1fr) 32px;

        gap: 12px;

        min-height: 105px;

        padding: 17px 3px;
    }

    .session-item:hover {
        padding-left: 6px;
    }

    .session-icon {
        width: 44px;
        height: 44px;
    }

    .session-icon span {
        font-size: 10px;
    }

    .session-content h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .session-content p {
        font-size: 11px;
        line-height: 1.45;
    }

    .session-arrow {
        width: 30px;
        height: 30px;

        font-size: 14px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

.session-item:focus-visible {
    outline: 2px solid #7A00E6;
    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {

    .session-item,
    .session-item *,
    .session-item::before,
    .session-item::after {
        transition: none !important;
    }

}




.ppt-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    background: #7A00E6;
    color: #ffffff;
    border: 1px solid #7A00E6;
    border-radius: 6px;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.ppt-download-btn:hover {
    background: #23004C;
    border-color: #23004C;
    transform: translateY(-2px);
}

.ppt-download-btn i:first-child {
    font-size: 20px;
}

.ppt-download-btn i:last-child {
    font-size: 11px;
    margin-left: 4px;
}



.ppt-download-wrapper {
    width: 100%;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}