/* ===== GLOBAL ===== */

/* --- HTML --- */
:root {
    /* Colors */
    --bgcolor: #FCF3E9;

    --text-primary: #2c251e;
    --text-secondary: #535353;
    --text-header: #E4634E;

    --blue-1: #e7f5fd;
    --blue-2: #ceebfb;
    --blue-3: #bde8ff;
    --blue-4: #addffa;
    --blue-5: #004B96;
    --blue-6: #3DB5E6;

    --green-1: #e1f3bf;
    --green-2: #B5E06E;
    --green-3: #55732B;

    --red-1: #fce8e4;
}

html {
    scroll-padding-top: 100px;
}

html,
body {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    color: black;
    background: var(--bgcolor);

    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

ul {
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 1.5rem;
}

ul li {
    margin-top: 0.5em;
}

ul li:last-child {
    margin-bottom: 0;
}

ul li::marker {
    font-size: 0.65em;
    vertical-align: middle;
}

.page {
    width: 100%;
}

a {
    text-decoration: none;
    color: unset;
}

a:hover:not(.button, .menu-item, .logo-pf) {
    text-decoration: underline;
    opacity: 0.75;
}

[v-cloak] {
    display: none !important;
}

/* --- Font --- */

@font-face {
    font-family: Barlow;
    src: url("../assets/fonts/Poppins/Poppins-Thin.ttf");
    font-weight: 100;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-ExtraLight.ttf");
    font-weight: 200;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-SemiBold.ttf");
    font-weight: 600;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-ExtraBold.ttf");
    font-weight: 800;
}

@font-face {
    font-family: Poppins;
    src: url("../assets/fonts/Poppins/Poppins-Black.ttf");
    font-weight: 900;
}

/* --- Text --- */

h1 {
    font-size: 3.813rem;
    line-height: 4.063rem;
    font-weight: 900;
    font-family: Poppins;
    color: var(--blue-5);
    margin-block-start: 0;
    margin-block-end: 0;
}

h2 {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 2.8rem;
    color: var(--blue-5);
    margin: 0;
}

h3 {
    font-weight: 800;
    font-size: 1.9375rem;
    color: var(--text-header);
    line-height: 40px;
    margin: 0;
}

h4 {
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 2.5rem;
    color: var(--blue-5);
    margin: 0;
    line-height: 2.5rem;
}

h5 {
    font-weight: 800;
    font-size: 1.5625rem;
    color: var(--blue-5);
    margin: 0;
}

h6 {
    font-weight: 600;
    font-size: 1.375rem;
    color: var(--blue-5);
    margin: 0;
}

.text-body-large {
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.text-body {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-primary)
}

.text-body-blue {
    font-weight: 400;
    font-size: 1rem;
    color: var(--blue-5)
}

.text-bold-green {
    font-weight: 700;
    color: #3D5511;
}

.text-primary-colour {
    color: var(--text-primary);
}

.text-secondary-colour {
    color: var(--text-secondary);
}

.text-header-colour {
    color: var(--text-header);
}

.text-blue-5 {
    color: var(--blue-5);
}

.text-green-2 {
    color: var(--green-2);
}

.text-white {
    color: white;
}

.textweight-500 {
    font-weight: 500;
}

.textweight-700 {
    font-weight: 700;
}

.text-footer {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.text-footer.white-colour {
    color: white;
}

.regular-link {
    text-decoration: underline;
}

.text-bold-underlined {
    font-weight: 600;
    text-decoration: underline;
}

.banner-desktop {
    display: block;
}

.banner-mobile {
    width: 100%;
    display: none;
}

/* --- Buttons --- */

.button {
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.937rem 1.875rem;
    text-align: left;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.25s, background-color 0.25s;
    text-decoration: none !important;
    text-align: center;
}

.primary-button {
    position: relative;
    font-family: 'Poppins';
    font-weight: 600;
    background-color: var(--blue-5);

}

.primary-button:hover {
    position: relative;
    font-weight: 600;

    color: var(--blue-5);
    background-color: white;
}

.popup-container .primary-button {
    border-color: transparent;
    font-family: 'Poppins';
}

.popup-container .primary-button:hover {
    border-color: black;
}

.secondary-button {
    position: relative;
    line-height: 1rem;
    font-weight: 500;
    background-color: var(--green-2);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.937rem 1.875rem;
    gap: 0.5rem;

}

.secondary-button:hover {
    color: var(--green-3);
    background-color: white;
}

a.skip-links {
    position: absolute;
    top: -3em;
}

a.skip-links:focus {
    background-color: white;
    color: red;
    padding: 1rem;
    text-decoration: underline;
    top: 0;
}

/* --- Containers --- */

.box-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.875rem;
    gap: 0.375rem;
}

.box-container.green {
    background-color: var(--green-1);
}

.box-container.red {
    background-color: var(--red-1);
}

.box-container.white {
    background-color: white;
    color: var(--blue-5);
}

.box-container.phase-variation.blue1 {
    background-color: var(--blue-1)
}

.box-container.phase-variation.blue2 {
    background-color: var(--blue-2);
}

.box-container.phase-variation.blue3 {
    background-color: var(--blue-3);
}

.box-container.phase-variation.blue4 {
    background-color: var(--blue-4);
}


/* ===== UTILITY RULES ===== */

.centered {
    align-items: center;
}

.left-align-text {
    text-align: left !important;
}

.center-align-text {
    text-align: center !important;
}

.left {
    flex: 0.45;
}

.right {
    flex: 0.65;
}

.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* ------ ONE TRUST --------------------- */
#ot-sdk-btn.ot-sdk-show-settings,
#ot-sdk-btn.optanon-show-settings {
    color: white;
    background-color: unset !important;
    font-size: unset !important;
    padding: unset !important;
    border: unset !important;
}

/* -------------------------------------- */

/* ===== POPUP MODAL ===== */

.popup-backgroundfill {
    position: fixed;
    background-color: rgba(83, 83, 83, 0.5);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    padding: 1.875 3.125;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-container {
    background-color: white;
    border-radius: 1.875rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.popup-container.welcome {
    padding: 1.875rem 3.125rem;
    gap: 1.875rem;
}

.popup-content.welcome {
    width: 18.75rem;
}

.popup-container.warning {
    padding: 3.75rem 7.5rem;
    gap: 1.875rem;
}

.popup-content.warning {
    max-width: 42rem;
}

.popup-content-warning-buttons {
    display: flex;
    flex-direction: row;
    gap: 5rem;
}


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

.section-header {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
    /* background: var(--bgcolor); */
}

.section-header.sticky-active {
    background: #fff;
    /* or any color you want */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-title {
    position: relative;
    text-align: center;
    display: inline-block;
    padding-top: 3.2rem;
}

.page-title.clinical-trial {
    padding-top: 0rem;
}

.title-description {
    margin-top: 3.125rem;
}

.header {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 0rem;
    box-sizing: border-box;
    gap: 0rem;
    text-align: left;
    font-size: 1.375rem;
    transition: padding 0.2s;
}

.sticky-active .header {
    padding: 1.0rem 0;
}

.header-logo,
.header-logo-mobile {
    width: 9.5rem;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.062rem;
    box-sizing: border-box;
    gap: 0.625rem;
    margin-right: 7.6rem;
    transition: width 0.2s;
}

.sticky-active .header-logo {
    width: 6.5rem;
}

.header-logo-mobile {
    width: calc(116 / 16 * 1rem);
    padding: 0;
    display: none;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3.75rem;
}

.menu-allele,
.menu-ptld,
.menu-trials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    line-height: 1.875rem;
    font-weight: 800;

}

.menu-line {
    align-self: stretch;
    position: relative;
    border-top: 5px solid #e4634e;
    box-sizing: border-box;
    height: 0.313rem;
    transition: opacity 0.2s;
    opacity: 0;
}

.menu-icon {
    width: calc(24 / 16 * 1rem);
}

a.menu-item {
    padding-top: 0.1rem;
    cursor: pointer;
    color: #004b96;
    text-decoration: none !important;
}

.menu-item:hover .menu-line,
.menu-item.active .menu-line {
    opacity: 1;
}

.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    width: 100%;
}

.heading2 {
    display: flex;
    flex-direction: row;
    width: 100%;
}


/* ===== SECTIONS ===== */

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section-inner {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10rem;
    box-sizing: border-box;
}

.section-footer {
    background: var(--blue-5);
}

.section-cta {
    background: var(--blue-2);
}

/* --- Banners --- */

.banner-text {
    position: relative;
    display: inline-block;
    max-width: 35rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.banner-image {
    width: 100%;
}

.banner1 {
    background: url(../assets/img/banners/clinical-trial-patients_v3.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 4vh;
    background-position-x: center;
    width: 100%;
    height: 120vh;
}

.banner1-mobile {
    width: 100%;
    display: none;
}

.banner1-desktop {
    width: 100%;
    display: block;
    margin-top: -16vw;
}


/* ====== ACCORDIONS ===== */

.accordion {
    width: 100%;
    margin-bottom: 2.5rem;
}

.accordion:last-child {
    margin-bottom: 3.75rem;
}

.accordion-header {
    width: 100%;
    background: #fff;
    color: var(--blue-5);
    font-size: clamp(2rem, 2.5vw, 2.4375rem);
    font-weight: 600;
    line-height: 3.375rem;
    padding: 3rem 2.5rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    outline: none;
    transition: background 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    font-family: 'Poppins';
}

.accordion-header[aria-expanded=true] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-bottom: 0;
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-chevron img {
    width: 100%;
    height: 100%;
}

.accordion-panel {
    background: #fff;
    color: #004b96;
    font-size: 1rem;
    font-family: Poppins, Arial, sans-serif;
    padding: 2.0rem 2.5rem;
    padding-top: 0;
    border-radius: 0 0 2rem 2rem;
    box-sizing: border-box;
}

.accordion-half-container {
    max-width: 43.75rem;
    position: relative;
    display: inline-block;
}

.accordion-row-content {
    max-width: 65rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3.75rem;
}

.accordion-row-content.half-gap {
    gap: 1.875rem;
}

.accordion-row-content.stretch {
    align-items: stretch;
}

.accordion-row-content.stretch .accordion-column-container {
    flex: 1;
    position: relative;
    display: flex;
}

.accordion-row-content.stretch .box-container.red {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
}

.accordion-column-container {
    flex: 1;
    position: relative;
}

.accordion-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.875rem;
    width: 100%;
    box-sizing: border-box;
}



/* ===== INFO CALLOUTS ===== */

.info-callout {
    width: 100%;
    position: relative;
    background-color: var(--blue-1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    box-sizing: border-box;
    gap: 0rem;
    text-align: left;
    font-size: 2.438rem;
    color: var(--blue-5);
    font-family: Poppins;
    margin-top: 2rem;
}

.info-callout p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.icon-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
}

.icon-content.aboutptld {
    width: 100%;
}

.icon-content.half-gap {
    gap: 1.25rem;
}

.info-icon-container {
    width: 3.75rem;
    position: relative;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-circle {
    top: 0rem;
    left: 0rem;
    border-radius: 50%;
    background-color: var(--blue-4);
    width: 3.75rem;
    height: 3.75rem;
}

.info-icon-circle.small {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-i {
    position: absolute;
    top: 0.438rem;
    left: 1.563rem;
    line-height: 2.875rem;
    font-weight: 600;
}

.info-icon-i.small {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.info-text {
    max-width: 32.5rem;
    position: relative;
    display: inline-block;
}

.info-text-full {
    max-width: unset;
    width: 100%;
}

.info-text-aboutptld {
    flex: 1;
}


/* ===== PAGE 1 CONTENT ===== */

/* --- Header --- */
.status-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0rem 0rem 0rem 1.562rem;
    position: relative;
    font-size: 1.563rem;
    color: var(--green-3);
}

.status-label {
    position: relative;
    line-height: 2rem;
    font-weight: 800;
    background-color: #e1f3bf;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.875rem 0.75rem 2.937rem;
    z-index: 0;
}

.icon-recruiting {
    position: absolute;
    margin: 0 !important;
    top: 0;
    left: -0.2rem;
    border-radius: 60px;
    z-index: 1;
}

/* --- Quick Links --- */
.quick-links-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: -2rem;
    box-sizing: border-box;
    gap: 0rem;
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: Poppins;
    margin-bottom: 5.5rem;
}

.quicklink {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.625rem;
}

.quicklinks-icon {
    width: 7.5rem;
}

/* --- What is the trial studying? --- */
.inset {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.6rem;
}

.inset-child {
    align-self: stretch;
    width: 0.313rem;
    position: relative;
    border-right: 5px solid var(--text-header);
    box-sizing: border-box;
}

.study-blocks-container {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.25rem;
    font-size: 0.75rem;
    margin-top: 1.8rem;
    padding: 0.625rem 0.937rem;
}

.study-block {
    flex: 1;
    border-radius: 15px;
    background-color: var(--green-2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.625rem 0.937rem;
    gap: 0.375rem;
    min-height: 122px;
}

.study-block.status {
    background-color: var(--green-2);
}

.study-block.phase {
    background-color: var(--blue-1);
}

.study-block.ctgov {
    background-color: var(--blue-4);
}

/* --- Who might be a good fit? --- */
.good-fit-yesno-icon {
    width: auto;
    height: 60px;
}

.infobox-cnsptld {
    margin-top: 1.25rem;
}

/* --- What does the trial involve? --- */
.trial-stage-button-container {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    font-size: 0.75rem;
    margin-top: 1.875rem;
}

.trial-stage-button {
    width: 100%;
    border-radius: 3.75rem;
    height: 4.375rem;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.9375rem);
    font-family: 'Poppins' !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    cursor: pointer;
}

.trial-stage-button.active {
    background-color: var(--blue-5);
    color: white;
}

.trial-stage-button.inactive {
    background-color: var(--blue-1);
    color: #418FD8;
}

.trial-stage-content-container {
    padding: 2.5rem 1.875rem;
    margin-top: 1.25rem;
    flex: 1;
    background-color: var(--blue-5);
    border-radius: 0.9375rem;
    display: flex;
}

.trial-stage-content-row {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: stretch;
}

.trial-stage-content-column-left {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.trial-stage-content-column-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 212%;
}

.trial-stage-content-block {
    flex-direction: column;
    gap: 0.75rem;
}

.trial-stage-description {
    margin-top: 3.125rem;
}

.follow-up-container .trial-stage-description {
    margin-top: 0rem;
}

.trial-stage-content-header {
    margin-bottom: 0.75rem;
}

.vertical-line {
    width: 5px;
    background-color: var(--blue-6);
    height: 100%;
    margin: 0 3.75rem 0 1.875rem;
}

.horizontal-line {
    height: 2px;
    background-color: var(--blue-6);
    width: 100%;
    margin: 1.875rem 0;
}

/* --- Trial Directory --- */
.trialdirectory-section {
    padding-top: 100px;
    background-color: var(--blue-2);
}

.trialdirectoryheader-container {
    width: 100%;
}

.trialdirectoryheader {
    margin-bottom: 3.125rem;
}

.trialdirectory-container {
    background: white;
    border-radius: 30px;
    margin-top: 1rem;
    margin-bottom: 100px;
    width: 100%;
    max-height: 920px;
    padding: 53px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    gap: 60px;
}

.trialDirectory-filter {
    width: 100%;
}

.filterDropdown {
    width: 100%;
    max-width: 443px;
    height: 70px;
    border-radius: 15px;
    border: 1px solid var(--text-secondary);
    padding-left: 20px;
    background-image: url(../assets/img/ui/close-accordion-icon.svg);
    background-repeat: no-repeat;
    background-position: right 30px center;
    background-size: 22px 22px;
    appearance: none;
    margin-top: 10px;
}

.margin-top-30 {
    margin-top: calc(30 / 16 * 1rem);
}

.directoryresults {
    width: 100%;
    overflow-y: auto;
}

.directoryresults::-webkit-scrollbar {
    width: 16px;
    background: #d9d9d9;
    border-radius: 30px
}

.directoryresults::-webkit-scrollbar-thumb {
    background: var(--text-secondary);
    border-radius: 8px;
}

/* firefox */
.directoryresults {
    scrollbar-width: auto;
    /* or 'auto' or 'none' */
    scrollbar-color: var(--text-secondary) #d9d9d9;
    /* thumb color, track color */
}

.trialstate-container {
    width: 100%;
    margin-bottom: 20px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 0vh;
    width: 100%;
    align-items: start;
    justify-items: start;
}

.listing-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 9vh;
}

.listing-header {
    margin-bottom: 1rem;
}

.listing-text {
    font-size: 20px;
    font-weight: 400;
}

.listing-verticalSpacing {
    margin-top: 10px;
}

.recruiting-label {
    background-color: var(--blue-1);
    padding: 0.25rem 0.75rem;
}

.contact-detail {
    margin-left: 1.5rem;
}


/* ===== PAGE 2 CONTENT ===== */

/* --- About PTLD --- */
.ptld-acronym {
    font-weight: 500;
    color: var(--text-header);
    font-size: 1.56rem;
}

.ebv-particle-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: -1.3rem;
}

.ebv-particle-row img {
    max-width: 114px;
    height: auto;
    display: block;
}

.ebv-particle-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-5);
}

/* --- Who does EBV-positive PTLD affect? --- */
.ptld-effect-image {
    width: auto;
    height: 320px;
    /* margin-bottom: 1.875rem; */
}

/* --- How is EBV-positive PTLD treated? --- */

.treatment-includes {
    margin-top: 1.875rem;
}

.treatment-columns {
    display: flex;
    width: 100%;
}

.treatment-columns ul {
    flex: 1 1 0;
    margin: 0;
    padding-left: 1.5em;
}

.treatment-disclaimer {
    max-width: 31.875rem;
    padding: 1rem 0;
}

.treatment-list-text {
    font-weight: 400;
    font-size: 1.25rem;
}



/* ===== PAGE 3 CONTENT ===== */

/* --- Clinical Trial Basics --- */
.phase-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.875rem;
    margin-top: 1.875rem;
}

.phase-header {
    font-weight: 800;
    font-size: 1.9375rem;
    color: var(--blue-5);
}

/* --- Benefits and Risks --- */
.benefits-risks-icon {
    width: 183px;
    height: 123.32px;
}

.participants-icon {
    width: 200px;
    height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.accordion-content-centered.benefits-risks-override {
    gap: 0.9375rem;
}




/* ===== FOOTER ===== */

.footer {
    width: 100%;
    padding-top: calc(30 / 16 * 1rem);
    padding-bottom: calc(30 / 16 * 1rem);
}

.footer-nav {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0rem;
    text-align: left;
    padding-bottom: calc(40 / 16 * 1rem);
}

a.footer-link {
    cursor: pointer;
    color: white;
    text-decoration: none;
    text-align: center;
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: calc(40 / 16 * 1rem);
    padding-top: calc(40 / 16 * 1rem);
}

.footer-logo-img {
    height: 7.313rem;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: pointer;
}


/* ===== CALL TO ACTION ===== */

.cta {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cta-content {
    flex: 1;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0rem 0rem 0rem 7.5rem;
    box-sizing: border-box;
    gap: 1.875rem;
}

.cta-image {
    max-width: 26.938rem;
    position: relative;
    height: 21.106rem;
    object-fit: cover;
    padding: 1.8rem 0;
    box-sizing: border-box;
    width: 100%;
    overflow: visible;
}

.cta-text {
    width: 100%;
    position: relative;
    max-width: 32.5rem;
    text-align: left;
}

.select {
    display: block;
}

.select-mobile {
    display: none;
}

.mobile-only {
    display: none;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    width: 4rem;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}



/* ======================================================= */
/* MEDIA QUERIES */
/* ======================================================= */

@media (max-width: 900px) {
    .nav-hamburger {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 0 0 8px 8px;
        padding: 1rem 2rem;
        z-index: 100;
        display: none !important;
        border-radius: 1.875rem;
    }

    .nav.nav-open {
        display: flex !important;
    }

    .header {
        position: relative;
        padding: 1.25rem 0rem;
    }

    .nav a.menu-item {
        width: 100%;
        padding: 1rem 0;
    }

    .sticky-active .nav-open {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 2000px) {
    /* .banner1-desktop {
        margin-top: -16vw;
    } */
}

/* Bigger */
@media screen and (max-width: 1300px) {
    .listing-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 1284px) and (min-width: 1051px) {
    .cta-content {
        padding-left: 3rem;
    }
}

/* Mobile */
@media screen and (max-width: 1050px) {

    html {
        scroll-padding-top: 100px;
    }

    html,
    body {
        /* font-size: 90%; */
    }

    .select {
        display: none;
    }

    .select-mobile {
        display: block;
    }

    .quick-links-container {
        display: none;

    }

    .section-inner {
        padding: 0 calc(20 / 16 * 1rem);
    }

    /* .accordion-header {
        font-size: 2rem;
    } */

    .footer-nav {
        flex-direction: column;
        gap: calc(10 / 16 * 1rem);
    }

    .header-logo {
        display: none;
    }

    .header-logo-mobile {
        display: flex;
        width: calc(160 / 16 * 1rem);
    }

    .status-label {
        text-align: center;
    }

    .icon-recruiting {
        display: none;
    }

    .status-header {
        padding: 0rem;
    }

    .status-header .text {
        padding: 0.75rem 1.875rem 0.75rem 1.875rem;
    }

    .info-callout {
        flex-direction: column;
    }

    .icon-content {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .white-box {
        margin-bottom: 0 !important;
    }

    .heading2 {
        flex-direction: column;
    }

    .cta {
        flex-direction: column;
    }

    .cta-content {
        padding-left: 0;
        padding-bottom: 3rem;
        align-items: center;
        text-align: center;
    }

    .accordion-row-content {
        flex-direction: column;
        gap: 0;
    }

    .treatment-columns {
        flex-direction: column;
    }

    .phase-column-grid {
        display: flex;
        flex-direction: column;
    }

    .benefits-risks-override .box-container {
        padding: 0.875rem;
    }

    .box-container.phase-variation {
        max-height: fit-content;
    }

    .trialdirectory-container {
        padding: 20px 15px;
        gap: 30px;
    }

    .text-body-large {
        overflow-wrap: anywhere;
    }

    .trial-stage-content-row {
        flex-direction: column;
    }

    .trial-stage-content-column-right {
        width: 100%;
    }

    .mobile-only {
        display: block;
    }

    .vertical-line {
        display: none;
    }

    .trial-stage-button-container {
        display: none;
    }

    .trial-stage-description {
        margin-top: 0rem !important;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
    }

    .popup-content-warning-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .popup-container.welcome {
        padding: 2rem 2rem;
        gap: unset;
    }

    .popup-container.warning {
        padding: 2rem 1.5rem;
        gap: unset;
        width: 85%;
        box-sizing: border-box;
    }

    .popup-content.warning {
        width: 100%;
    }

    .text-header-colour {
        font-size: 1.5rem;
    }

    .menu-line {
        margin-top: 0.5rem;
    }

    h1 {
        font-size: calc(40 / 16 * 1rem);
        line-height: calc(45 / 16 * 1rem);
    }

    h2 {
        font-size: calc(28 / 16 * 1rem);
        line-height: calc(38 / 16 * 1rem);
    }

    h3,
    .phase-header {
        font-size: calc(26 / 16 * 1rem);
        line-height: calc(32 / 16 * 1rem);
    }

    h4 {
        font-size: calc(22 / 16 * 1rem);
        line-height: calc(27 / 16 * 1rem);
    }

    h6 {
        font-size: 0.937rem;
    }


    .trialdirectoryheader {
        margin-bottom: 0 !important;
    }

    .text-body-large {
        font-size: 1rem;
    }

    .accordion-header {
        font-size: clamp(1.4rem, 2.5vw, 2.4375rem);
        padding: calc(20 / 16 * 1rem);
        gap: 1rem;
        line-height: calc(38 / 16 * 1rem);

    }

    .accordion-chevron img {
        width: calc(35 / 16 * 1rem);
    }

    .ebv-particle-row {
        gap: 1rem;
        flex-direction: column;
        margin: 0;
    }

    .accordion-panel {
        padding: 0rem 1.5rem;
        padding-bottom: 1.5rem;
    }

    .trialdirectory-section {
        padding-top: 2.5rem;
    }

    .page-title {
        padding-top: 1rem;
    }

    .title-description {
        margin-top: 1.5625rem;
    }

    .info-text {
        max-width: unset;
    }

    .banner1 {
        background: none;
        height: unset;
        margin-bottom: 2rem;
    }

    .banner1-mobile {
        display: block;
        margin-top: 2rem;
    }

    .banner1-desktop {
        display: none;
    }

    .find-a-clinical-trial-location {
        margin-bottom: 3rem;
    }

    .treatment-list-text {
        font-size: 1rem;
    }


}

@media screen and (max-width: 800px) {

    .study-blocks-container {
        flex-direction: column;
    }

    .study-block {
        padding-bottom: 0.625rem;
        min-height: unset;
    }

}

/* Extra small mobile */
@media screen and (max-width: 600px) {
    .find-a-clinical-trial-location {
        width: 100%;
        box-sizing: border-box;
    }

    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: block;
    }
}

/* Extremely tiny */
@media screen and (max-width: 400px) {}

/* 1570px */
@media screen and (max-width: 1570px) {}