/* ------ SANOFI COLOR VARIABLES ----------------------------------------- */

:root {
    --purple:#23004C;
    --purple-light:#7A00E6;
    --purple-soft:#D1C4E9;
    --dark:#0c0713;
    --text:#17121e;
    --muted:#6f6877;
    --light:#f6f3f8;
    --white:#ffffff;
    --border:rgba(35, 0, 76, .13);
}

/* ------ SANOFI SANS ----------------------------------------- */

@font-face {
    font-family: "Sanofi Sans";
    src: url("./fonts/Sanofi_Sans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sanofi Sans";
    src: url("./fonts/Sanofi_Sans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sanofi Sans";
    src: url("./fonts/Sanofi_Sans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ------ SANOFI SERIF ----------------------------------------- */

@font-face {
    font-family: "Sanofi Serif";
    src: url("./fonts/Sanofi_Serif-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sanofi Serif";
    src: url("./fonts/Sanofi_Serif-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sanofi Serif";
    src: url("./fonts/Sanofi_Serif-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}


/* ====== BODY ===================================================== */
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Sanofi Sans;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ====== CONTAINER ===================================================== */
.container {
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto;
}


/* ====== HEADER ===================================================== */

.blog-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    color: #23004c;
    background: #ffffff;
}

.header-inner {
    width: min(1260px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 45px;
}

.desktop-navigation a {
    position: relative;
    color:#23004c;
    text-decoration: none;
    font-size: 16px;
    transition: .3s ease;
    font-family: "Sanofi Sans";
    font-weight: 600;
}

.desktop-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: .3s ease;
}

.desktop-navigation a:hover {
    color: #7A00E6;
}

.desktop-navigation:active {
    color: #7A00E6;
}

.desktop-navigation a:hover::after {
    width: 100%;
}

.blog-menu {
    display: none;
}

/* ====== PAGE HEADER ===================================================== */

.inner-page-hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center 45%;
    padding: 50px 4vw 0px;
    background-image:
        url(
            "../images/backgrounds/hero-background.jpg"
        );
}

.inner-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(35,0,76,.98) 0%,
            rgba(35,0,76,.88) 30%,
            rgba(35,0,76,.58) 58%,
            rgba(35,0,76,.38) 100%
        );
}

.inner-page-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(35,0,76,.90),
            transparent 55%
        );
}


/* ====== HERO CONTENT ===================================================== */

.inner-page-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 150px 0 90px;
}

.inner-page-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-family: "Sanofi Sans";
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.inner-page-eyebrow span {
    width: 45px;
    height: 1px;
    background: #ffffff;
}

.inner-page-hero h1 {
    max-width: 1000px;
    margin-top: 10px;
    margin-bottom: 1px;
    font-family: "Sanofi Serif";
    font-size:clamp(35px, 4.5vw, 50px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .5px;
    font-style: italic;
}

.inner-page-hero h1 strong {
    display: block;
    font-weight: 600;
}

.inner-page-hero p {
    max-width: 1000px;
    margin-bottom: 25px;
    color:rgba(255,255,255,.72);
    font-size: 22px;
    line-height: 1.7;
    font-family: "Sanofi Sans";
    margin-top: 10px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color:rgba(255,255,255,.58);
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background:#b889ff;
}


/* ====== CALL TO ACTION ===================================================== */

.insight-cta {
    padding:120px 4vw;
    background:var(--purple);
    color:#ffffff;
    text-align: center;
}

.cta-inner {
    max-width: 900px;
    margin:auto;
}

.cta-label {
    display: block;
    margin-bottom: 20px;
    color:#c8a6ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cta-inner h2 {
    margin-bottom: 20px;
    font-family:"CongressDisplay", "Arial", sans-serif;
    font-size:clamp(42px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 400;
}

.cta-inner h2 strong {
    display: block;
    font-weight: 800;
}

.cta-inner p {
    max-width: 500px;
    margin:0 auto 30px;
    color:rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.7;
}

.cta-button {
    padding:15px 23px;
    border: none;
    border-radius: 100px;
    background:#ffffff;
    color:var(--purple);
    font-size: 11px;
    font-weight: 700;
}

.cta-button span {
    margin-left: 10px;
    font-size: 16px;
}





/* ====== FOOTER ===================================================== */

.blog-footer {
    min-height: 85px;
    padding:0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:#130027;
    color: #f7f7f7;
    font-size: 14px;
    letter-spacing: .5px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .blog-brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
}






/* =========================================================
   CONGRESS UPDATE POPUP
========================================================= */

.congress-update-popup {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 380px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(.97);
    transition:
        opacity .45s ease,
        visibility .45s ease,
        transform .5s cubic-bezier(.22, 1, .36, 1);
    border-radius: 10px;
    background: #7A00E6;
}


/* Popup visible state */

.congress-update-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}


/* =========================================================
   INNER CARD
========================================================= */

.congress-popup-inner {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 26px 28px 26px 26px;
    background: #7A00E6;
    border: 2px solid rgba(35, 0, 76, .10);
    border-radius: 14px;
    box-shadow:0 20px 60px rgba(35, 0, 76, .18);
    overflow: hidden;
}


/* Purple accent line */

.congress-popup-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #7A00E6;
}


/* =========================================================
   ICON
========================================================= */

.congress-popup-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background: #F0E8F8;
    color: #7A00E6;
    border-radius: 50%;
    font-size: 18px;
}


/* =========================================================
   CONTENT
========================================================= */

.congress-popup-content {
    padding-right: 18px;
}


.congress-popup-label {
    display: block;
    margin-bottom: 6px;
    font-family: "Sanofi Sans";
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
}


.congress-popup-content h3 {
    margin: 0 0 7px;
    font-family: "Sanofi Serif";
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    font-style: italic;
}


.congress-popup-content p {
    margin: 0 0 12px;
    font-family: "Sanofi Sans";
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 20px;
}


/* =========================================================
   CTA LINK
========================================================= */

.congress-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #7A00E6;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 10px;
    text-decoration: none;
    transition:color .25s ease, gap .25s ease;
    border: 1px solid #7A00E6;
    background: #ffffff;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.congress-popup-link i {
    font-size: 10px;
    transition: transform .25s ease;
}

.congress-popup-link:hover {
    color: #23004C;
    gap: 11px;
}

.congress-popup-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.congress-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    transition:background .25s ease, color .25s ease;
}


.congress-popup-close:hover {
    background: #F0E8F8;
    color: #23004C;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .congress-update-popup {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }

    .congress-popup-inner {
        padding: 19px 20px 20px 18px;
        gap: 14px;
    }

    .congress-popup-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .congress-popup-content h3 {
        font-size: 15px;
    }

    .congress-popup-content p {
        font-size: 11px;
    }

    .congress-popup-link {
        font-size: 10px;
    }
}



/* =========================================================
   LIVE UPDATE BADGE
========================================================= */

.congress-popup-status {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    padding-bottom: 6px;
    margin-bottom: 26px;
    background:#ffffff;
    /* background: rgba(122, 0, 230, 0.09); */
    border: 1px solid rgba(122, 0, 230, 0.10);
    border-radius: 20px;
    font-family: "Sanofi Sans";
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #23004C;
}


/* Pulsing dot */

.live-dot {
    width: 8px;
    height: 8px;
    display: block;
    background: #7A00E6;
    border-radius: 50%;
    position: relative;
    margin-bottom: 5px;
}


/* Outer flashing ring */

.live-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: #7A00E6;
    animation: livePulse 1.5s infinite;
}


/* Pulse animation */

@keyframes livePulse {

    0% {
        transform: scale(1);
        opacity: .75;
    }

    70% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }

}

