﻿.site-header {
    background: #0b2239;
    height: 70px;              /* ✅ control height instead of padding */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* layout */
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;       /* ✅ vertical center */
    justify-content: space-between;
    position: relative;
    padding: 0 20px;           /* only side spacing */
}

/* left + right logos */
.header-left img,
.header-right img {
    height: 50px;
    object-fit: contain;
}

/* center block */
.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* emblem */
.header-center .emblem {
    height: 50px;
    margin-bottom: 2px;
}

/* text */
.header-titles h1 {
    font-size: 15px;
    color: #fff;
    margin: 0;
}

.header-titles p {
    font-size: 10px;
    color: #ccc;
    margin: 0;
}

.hero-header-titles {
    text-align: center;
    margin-bottom: 8px; /* 🔽 reduced gap */
}

    /* MAIN TITLE */
    .hero-header-titles h1 {
        color: #ffffff; /* ✅ pure white */
        font-size: 18px; /* 🔽 reduced size */
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
    }

    /* SUBTITLE */
    .hero-header-titles p {
        color: #e2e8f0; /* soft white */
        font-size: 11px; /* 🔽 smaller */
        letter-spacing: 0.5px;
        margin: 2px 0 6px; /* 🔽 tighter spacing */
    }
@media (max-width: 768px) {

    .site-header {
        height: 60px;
    }

    .header-inner {
        padding: 0 10px;
    }

    .header-left img,
    .header-right img {
        height: 32px;   /* smaller but still aligned */
    }

    /* FIX: keep center but prevent overflow */
    .header-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 60%;          /* limit width */
        pointer-events: none;
    }

    .header-center .emblem {
        height: 28px;
    }

    .header-titles h1 {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-titles p {
        font-size: 8px;
    }
}