/* ESA Registry UK unified public-site header */
#header {
    min-height: 4.75rem;
    height: auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#header .esa-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    border-bottom: 0;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

#header .esa-site-brand img {
    display: block;
    width: 3.55rem;
    height: 3.55rem;
    max-width: none;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 0.12rem;
}

#header .esa-site-brand span {
    display: block;
    color: #ffffff !important;
}

#header .esa-site-brand:hover,
#header .esa-site-brand:hover span {
    color: #ffffff !important;
    opacity: 0.9;
}

#header nav {
    flex: 0 0 auto;
}

#menu .links a {
    white-space: normal;
}

.home-show-promotion {
    margin: 2rem auto;
    padding: 1.75rem;
    max-width: 72rem;
    border: 1px solid #2f6fa3;
    border-radius: 0.45rem;
    background: #f4f8fc;
    color: #172b3a;
    text-align: center;
}

.home-show-promotion h2 {
    margin: 0 0 0.75rem;
    color: #123f68 !important;
}

.home-show-promotion p {
    max-width: 52rem;
    margin: 0 auto 1.25rem;
    color: #263f52 !important;
}

.home-show-promotion a {
    display: inline-block;
    padding: 0.8rem 1.35rem;
    border-radius: 0.3rem;
    border-bottom: 0;
    background: #164f7e;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

.home-show-promotion a:hover {
    background: #0f3b60;
    color: #ffffff !important;
}

@media screen and (max-width: 736px) {
    #header {
        min-height: 4rem;
        padding: 0.35rem 1rem;
    }

    #header .esa-site-brand {
        gap: 0.5rem;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    #header .esa-site-brand img {
        width: 3rem;
        height: 3rem;
    }

    .home-show-promotion {
        margin: 1.5rem 1rem;
        padding: 1.25rem;
    }
}

@media screen and (max-width: 420px) {
    #header .esa-site-brand span {
        max-width: 9rem;
    }
}