/* HEADER BASE */
.site-header {
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* NAV LINKS */
.main-header-menu a {
    font-weight: 500;
    padding: 10px 15px;
    transition: 0.3s;
}

/* HOVER */
.main-header-menu a:hover {
    color: #2563eb;
}

/* ACTIVE MENU */
.main-header-menu .current-menu-item a {
    color: #2563eb;
    font-weight: 600;
}

/* CTA BUTTON */
.ast-header-button-1 .ast-custom-button {
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    transition: 0.3s;
}

.ast-header-button-1 .ast-custom-button:hover {
    background: #1d4ed8;
}

.main-header-menu a {
    padding: 12px 18px;
}

.ast-site-identity {
    padding: 5px 0 !important;
}

/* Fix button height + style */
.main-header-menu > li:last-child > a.menu-link {
    background: #2563eb;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 10px;

    line-height: normal !important;   /* ⭐ override Astra */
    height: auto !important;          /* ⭐ remove forced height */
    display: inline-flex !important;  /* ⭐ prevent stretch */
    align-items: center;
}

/* Hover */
.main-header-menu > li:last-child > a.menu-link:hover {
    background: #1d4ed8;
}

.main-header-menu > li:last-child > a.menu-link {
    transition: all 0.25s ease;
}

.main-header-menu > li:last-child > a.menu-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.site-header {
    transition: box-shadow 0.3s ease;
}

.site-header.is-sticky {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}