/* ==================================================
   XULA SITE-WIDE CONFERENCE AND ALERT BANNERS

   The banners are inserted inside the sticky header by
   alert-banner.js. The menu stays above the banners so
   dropdown navigation remains visible.
================================================== */

#xb-header-area .header__wrap,
.stricked-menu .header__wrap {
    position: relative;
    z-index: 10;
}

.xula-banner-stack {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    width: auto;
    margin-right: 69px;
    margin-left: 69px;
    padding-top: 6px;
}

/* ---------- Conference dates and location ---------- */

.xula-conference-banner {
    position: relative;
    color: #FFFFFF;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.xula-conference-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 1600px;
    min-height: 42px;
    margin: 0 auto;
    padding: 8px 28px;
    text-align: center;
}

.xula-conference-banner__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.xula-conference-banner__item i {
    color: #FCC530;
    font-size: 15px;
}

.xula-conference-banner__date {
    color: #FFFFFF;
    font-weight: 800;
}

.xula-conference-banner__venue {
    color: #FFFFFF;
    font-weight: 700;
}

.xula-conference-banner__location::before {
    content: "•";
    margin-right: 8px;
    color: #FCC530;
}

.xula-conference-banner__divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
}

/* ---------- Editable urgent announcement ---------- */

.xula-alert-banner {
    position: relative;
    color: #000000;
    background: #FCC530;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
}

.xula-alert-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 1600px;
    min-height: 48px;
    margin: 0 auto;
    padding: 10px 28px;
    text-align: center;
}

.xula-alert-banner__label {
    flex: 0 0 auto;
    color: #000000;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xula-alert-banner__message {
    margin: 0;
    color: #000000;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.xula-alert-banner__date {
    font-weight: 700;
    color: #000000;
}

.xula-alert-banner a {
    color: #000000;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.25s ease;
}

.xula-alert-banner a:hover,
.xula-alert-banner a:focus {
    color: #005C49;
    opacity: 0.65;
}

.xula-alert-banner a:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 3px;
}

/* ---------- Tablet and smaller ---------- */

@media (max-width: 1349px) {

    .xula-banner-stack {
        margin-right: 20px;
        margin-left: 20px;
    }

}

/* ---------- Mobile: 767px and below ---------- */
@media (max-width: 767px) {

    .xula-banner-stack {
        gap: 5px;
        padding-top: 5px;
    }

    .xula-conference-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        min-height: 0;
        padding: 9px 16px;
        text-align: left;
    }

    .xula-conference-banner__item {
        justify-content: flex-start;
        font-size: 12px;
        line-height: 1.45;
    }

    .xula-conference-banner__divider {
        display: none;
    }

    .xula-alert-banner__inner {
        align-items: flex-start;
        gap: 8px;
        min-height: 0;
        padding: 10px 16px;
        text-align: left;
    }

    .xula-alert-banner__label {
        font-size: 11px;
        line-height: 1.55;
    }

    .xula-alert-banner__message {
        font-size: 13px;
        line-height: 1.5;
    }

}

/* ---------- Very small phones ---------- */

@media (max-width: 420px) {

    .xula-conference-banner__item:last-child {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .xula-conference-banner__location {
        width: 100%;
        padding-left: 23px;
    }

    .xula-conference-banner__location::before {
        display: none;
    }

}

/* Keep the label inline with the message on larger screens. */
@media (min-width: 768px) {
    .xula-alert-banner__inner {
        display: block;
        text-align: center;
    }

    .xula-alert-banner__label {
        display: inline;
        margin-right: 10px;
    }

    .xula-alert-banner__message {
        display: inline;
    }
}

