/* Desktop: logo and company name side by side. */
.site-header .asd-header-brand {
    display: inline-flex;
    align-items: center;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    flex-shrink: 0;
}
.site-header .asd-brand-name {
    display: block;
    width: 195px;
    height: auto;
    flex-shrink: 0;
    color: #f2f6fc;
    overflow: visible;
}


/* Mobile: compact transparent overlay, inspired by the supplied reference. */
@media (max-width: 980px) {
    .asd-home .site-header {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100;
        background: linear-gradient(to bottom, rgba(17, 31, 51, .56), rgba(17, 31, 51, .08)) !important;
        box-shadow: none !important;
        border: 0 !important;
    }
    .site-header .header-inner {
        height: auto !important;
        min-height: 0;
        padding-top: 16px;
        padding-bottom: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-header .asd-header-brand {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        width: 142px;
        max-width: calc(100vw - 112px);
    }
    .site-header .asd-header-brand .asd-logo {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        display: block;
        object-fit: contain;
    }
    .site-header .asd-header-brand .asd-brand-name {
        display: block !important;
        width: 100%;
        height: auto;
        overflow: visible;
        color: #f2f6fc;
        flex-shrink: 0;
    }
    .site-header .nav-toggle {
        align-self: center;
        margin-left: auto;
        position: relative;
        z-index: 101;
    }
    /* Keep slide text clear of the overlaid logo on short phones. */
    .asd-home .hero .hero-content { position: relative; z-index: 1; }
}
