/* =========================================================
   TITLE + LOGO AREA
   ========================================================= */

.confTitleBox {
    position: relative !important;
    z-index: 2 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 28px 0 !important;

    /* Simple neutral background */
    background: #f8fafc !important;

    overflow: visible !important;
}

.confTitle {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.confTitle h1 {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   LOGO LEFT — TITLE RIGHT
   ========================================================= */

.conference-title-link {
    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    /* More space between logo/divider/title */
    gap: 42px !important;

    width: fit-content !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 30px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   LOGO
   ========================================================= */

.confLogoBox {
    float: none !important;
    display: block !important;

    flex: 0 0 auto !important;
    width: auto !important;

    background: transparent !important;

    /* more space between logo and divider */
    padding: 0 42px 0 0 !important;
    margin: 0 !important;

    position: relative !important;
}

/* Short orange divider */

.confLogoBox::after {
    content: "" !important;

    position: absolute !important;

    right: 0 !important;
    top: 50% !important;

    width: 2px !important;

    /* shorter line */
    height: 95px !important;

    /* fainter orange */
    background: rgba(243, 134, 36, 0.8) !important; 

    transform: translateY(-50%) !important;
}

.confLogoBox img {
    display: block !important;

    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
}


/* =========================================================
   TITLE BLOCK
   ========================================================= */

.conference-title-link > span[itemprop="title"] {
    display: block !important;

    /* Size the title block according to the main title */
    width: fit-content !important;
    max-width: none !important;
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}


/* Main title */

.conference-title-link > span[itemprop="title"]::before {
    content: "Worldlines and path integrals in QFT";

    display: block !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 35px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.2 !important;

    color: #095dab !important;

    white-space: nowrap !important;
}


/* Subtitle */

.conference-title-link > span[itemprop="title"]::after {
    content: "Wavefunctions, particles and fields";

    display: block !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.25 !important;

    color: #095dab !important;

    /* Centre subtitle relative to main title */
    text-align: center !important;

    margin-top: 8px !important;
}


/* =========================================================
   BLUE DATE / LOCATION STRIP
   KEEP AS BEFORE
   ========================================================= */

.confSubTitleBox {
    position: relative !important;
    z-index: 1 !important;

    width: 100% !important;

    background: #eef6fb !important;

    border-top: 2px solid #2b78b8 !important;
    border-bottom: 1px solid #c7dce9 !important;

    margin: 0 !important;
    padding: 12px 0 !important;
}

.confSubTitleContent {
    margin: 0 auto !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .conference-title-link {
        flex-direction: column !important;
        gap: 20px !important;

        width: 100% !important;

        padding: 15px 20px !important;
    }

    .confLogoBox {
        padding: 0 0 20px 0 !important;
    }

    .confLogoBox::after {
        top: auto !important;
        right: auto !important;

        left: 50% !important;
        bottom: 0 !important;

        width: 130px !important;
        height: 2px !important;

        transform: translateX(-50%) !important;
    }

    .confLogoBox img {
        width: 200px !important;
    }

    .conference-title-link > span[itemprop="title"] {
        width: 100% !important;
        max-width: 650px !important;

        text-align: center !important;
    }

    .conference-title-link > span[itemprop="title"]::before {
        font-size: 26px !important;
        white-space: normal !important;
    }

    .conference-title-link > span[itemprop="title"]::after {
        font-size: 20px !important;
        margin-top: 7px !important;
    }
}