/* =========================================================
   CRT-2027
   CHEMORESISTANCE SESSION PAGE
========================================================= */

:root {

    --navy: #1d1530;
    --navy-soft: #302443;

    --purple: #633b91;
    --purple-light: #8060aa;

    --violet: #8b56b7;

    --gold: #b28a31;
    --gold-light: #c4a451;

    --cream: #faf9f6;
    --paper: #ffffff;

    --border: #d9d2df;
    --border-dark: #bfb4c9;

    --text: #3f3748;
    --muted: #756d7d;

    --max-width: 1500px;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.page-container,
.header-container {
    width: min(var(--max-width), calc(100% - 50px));
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 84px;
    background: rgba(250, 249, 246, 0.97);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 50;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: var(--serif);
    font-size: 27px;
    color: var(--purple);
}

.site-logo strong {
    font-weight: 700;
}

.logo-ribbon {
    font-family: Arial, sans-serif;
    color: var(--purple);
    font-size: 31px;
    transform: rotate(-15deg);
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--navy);
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--purple);
}

.nav-arrow {
    font-size: 14px;
    margin-left: 3px;
}


/* Register */

.register-btn {
    background: var(--navy);
    color: white !important;

    padding: 12px 19px;

    border: 1px solid var(--navy);

    transition: 0.25s ease;
}

.register-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
}


/* Mobile */

.mobile-menu {
    display: none;
    background: none;
    border: 0;
    font-size: 22px;
    color: var(--navy);
}


/* =========================================================
   BANNER
========================================================= */

.session-banner {
    width: 100%;
    background: #eeeaf1;
    border-bottom: 1px solid var(--border);
}

.session-banner img {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 400px;
    object-fit: fill;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb-section {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    min-height: 55px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--purple);
}

.breadcrumb .current {
    color: var(--purple);
    font-weight: 600;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    padding: 10px 0 0px;
    background: var(--cream);

    background-image:
        radial-gradient(
            rgba(99, 59, 145, 0.10) 1px,
            transparent 1px
        );

    background-size: 24px 24px;
}


.section-heading-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: end;

    padding-bottom: 28px;

    border-bottom: 1px solid var(--border);
}

.eyebrow {
    display: inline-block;

    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;

    letter-spacing: 3px;

    color: var(--purple);

    margin-bottom: 15px;
}

.intro-section h1 {
    /* max-width: 780px; */

    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 66px);

    font-weight: 500;

    line-height: 1.08;

    color: var(--navy);
}

.intro-section h1 em {
    color: var(--purple);
    font-weight: 500;
}

.heading-line {
    height: 1px;
    background: var(--gold);

    position: relative;
}

.heading-line::before {
    content: "";

    position: absolute;
    right: 0;
    top: -4px;

    width: 9px;
    height: 9px;

    background: var(--gold);

    transform: rotate(45deg);
}


/* Intro grid */

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 80px;

    padding-top: 42px;
}

.intro-text {
    max-width: 720px;
}

.lead-text {
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.55;
    color: var(--navy);

    margin-bottom: 24px;
}

.intro-text p:not(.lead-text) {
    font-size: 15px;
    color: var(--muted);
    text-align: justify;
}


/* Meta */

.session-meta {
    border-left: 1px solid var(--border);
    padding-left: 35px;
}

.meta-item {
    display: flex;
    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.meta-number {
    font-family: var(--serif);
    font-size: 23px;
    color: var(--gold);
    font-style: italic;
}

.meta-item small {
    display: block;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    color: var(--muted);

    margin-bottom: 4px;
}

.meta-item strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;

    color: var(--navy);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--paper);

    padding: 10px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-layout {
    display: grid; 
     grid-template-columns: minmax(0, 1fr) 310px;

    gap: 80px;
}

.about-content {
    /* max-width: 760px; */
}

.about-section h2,
.topics-section h2,
.therapies-section h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.15;

    font-weight: 500;

    color: var(--navy);
}

.about-section h2 em,
.topics-section h2 em,
.therapies-section h2 em {
    color: var(--purple);
    font-weight: 500;
}

.heading-accent {
    width: 48px;
    height: 3px;

    background: var(--gold);

    /* margin: 22px 0 35px; */
}

.about-content p {
    font-size: 15px;
    color: var(--text);

    margin-bottom: 23px;
    text-align: justify;
}


/* Sidebar */

.session-sidebar {
    border: 1px solid var(--border);

    padding: 30px;

    align-self: center;

    background:
        linear-gradient(
            135deg,
            rgba(99, 59, 145, 0.05),
            transparent
        );
}

.sidebar-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;

    color: var(--purple);

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.leader {
    display: flex;
    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid var(--border);
}

.leader:last-child {
    border-bottom: 0;
}

.leader-number {
    font-family: var(--serif);
    font-size: 23px;
    font-style: italic;

    color: var(--gold);
}

.leader span {
    display: block;

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;

    color: var(--muted);

    margin-bottom: 4px;
}

.leader h3 {
    font-family: var(--serif);

    font-size: 18px;
    font-weight: 500;

    color: var(--navy);
}


/* =========================================================
   TOPICS
========================================================= */

.topics-section {
    padding: 10px 0;

    background: var(--cream);
}

.topics-header {
    display: flex;
    align-items: end;
    justify-content: space-between;

    padding-bottom: 40px;
}

.topics-header p {
    max-width: 370px;

    font-size: 14px;
    color: var(--muted);

    text-align: right;
}

.topics-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.topic-card {
    min-height: 260px;

    padding: 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    position: relative;

    background: rgba(255, 255, 255, 0.45);

    transition: 0.3s ease;
}

.topic-card:hover {
    background: white;

    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(29, 21, 48, 0.08);
}

.topic-number {
    position: absolute;

    top: 25px;
    right: 25px;

    font-family: var(--serif);

    font-style: italic;

    color: var(--gold);

    font-size: 17px;
}

.topic-card i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border: 1px solid var(--purple);

    color: var(--purple);

    margin-bottom: 28px;

    font-size: 19px;
}

.topic-card h3 {
    max-width: 230px;

    font-family: var(--serif);

    font-size: 22px;
    line-height: 1.25;

    font-weight: 500;

    color: var(--navy);

    margin-bottom: 13px;
}

.topic-card p {
    font-size: 13px;
    color: var(--muted);

    line-height: 1.6;
}


/* =========================================================
   THERAPIES
========================================================= */

.therapies-section {
    padding: 10px 0;

    background: var(--paper);

    border-top: 1px solid var(--border);
}

.therapies-header {
    margin-bottom: 45px;
}

.therapy-list {
    border-top: 1px solid var(--navy);
}

.therapy-item {
    display: grid;

    grid-template-columns: 80px 1fr 50px;

    align-items: center;

    gap: 30px;

    min-height: 120px;

    border-bottom: 1px solid var(--border);
}

.therapy-item > span {
    font-family: var(--serif);

    font-size: 23px;
    font-style: italic;

    color: var(--gold);
}

.therapy-item h3 {
    font-family: var(--serif);

    font-size: 25px;
    font-weight: 500;

    color: var(--navy);

    margin-bottom: 3px;
}

.therapy-item p {
    font-size: 14px;
    color: var(--muted);
}

.therapy-item > i {
    color: var(--purple);

    font-size: 17px;

    transition: 0.25s ease;
}

.therapy-item:hover > i {
    transform: translateX(7px);
}


/* =========================================================
   DISCUSSION
========================================================= */

.discussion-section {
    padding: 10px 0;

    background: var(--navy);

    color: white;

    position: relative;

    overflow: hidden;
}

.discussion-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -220px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;
}

.discussion-section::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -70px;
    bottom: -160px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 50%;
}

.discussion-content {
    /* max-width: 720px; */

    position: relative;

    z-index: 2;
}

.discussion-section .eyebrow {
    color: var(--gold-light);
}

.discussion-section h2 {
    font-family: var(--serif);

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 28px;
}

.discussion-section h2 em {
    color: #bd92d8;

    font-weight: 500;
}

.discussion-section p {
    max-width: 650px;

    color: #d8d0df;

    font-size: 16px;

    margin-bottom: 35px;
}

.discussion-btn {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding: 14px 21px;

    border: 1px solid rgba(255,255,255,0.5);

    color: white;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.25s ease;
}

.discussion-btn span {
    font-size: 17px;
}

.discussion-btn:hover {
    background: white;

    color: var(--navy);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #140e22;

    color: #c6bdcf;

    padding: 28px 0;

    font-size: 12px;
}

.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-inner strong {
    font-family: var(--serif);

    font-size: 19px;

    color: white;

    margin-right: 15px;
}

.footer-inner span {
    color: #8e8497;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
    }

    .heading-line {
        margin-top: 25px;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .session-meta {
        border-left: 0;

        border-top: 1px solid var(--border);

        padding-left: 0;
        padding-top: 10px;
    }

    .about-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .session-sidebar {
        max-width: 500px;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topics-header {
        align-items: start;
        flex-direction: column;

        gap: 20px;
    }

    .topics-header p {
        text-align: left;
    }
}


@media (max-width: 600px) {

    .page-container,
    .header-container {
        width: min(100% - 30px, var(--max-width));
    }

    .site-header {
        height: 70px;
    }

    .site-logo {
        font-size: 23px;
    }

    .session-banner img {
        min-height: 220px;
    }

    .breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
    }

    .intro-section,
    .about-section,
    .topics-section,
    .therapies-section {
        padding: 60px 0;
    }

    .intro-section h1 {
        font-size: 42px;
    }

    .lead-text {
        font-size: 19px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .topic-card {
        min-height: auto;
    }

    .therapy-item {
        grid-template-columns: 45px 1fr 25px;

        gap: 15px;

        padding: 20px 0;
    }

    .therapy-item h3 {
        font-size: 20px;
    }

    .therapy-item p {
        font-size: 13px;
    }

    .discussion-section {
        padding: 70px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}