/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

/* Full width fix */
.site-header.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.header-inner {
    gap: 14px;
}

/* Sticky */
.site-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Logo */
.site-header .custom-logo-link img {
    display: block;
    height: auto;
}

/* Navigation links */
.site-header .wp-block-navigation {
    gap: 6px;
}
.site-header .wp-block-navigation a {
    color: var(--color-text, #0b1220);
    font-weight: 800;
    padding: 10px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.site-header .wp-block-navigation a:hover {
    background: rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

/* Current item */
.site-header .wp-block-navigation .current-menu-item > a,
.site-header .wp-block-navigation .current-menu-ancestor > a {
    color: var(--color-primary, #0b5cff);
    background: rgba(11, 92, 255, 0.08);
}

/* Submenu */
.site-header .wp-block-navigation__submenu-container {
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 18px 55px rgba(2, 8, 23, 0.12);
    background: #fff;
    min-width: 220px;
}
.site-header .wp-block-navigation__submenu-container a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
}
.site-header .wp-block-navigation__submenu-container a:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Search */
.site-header .wp-block-search__inside-wrapper {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
}
.site-header .wp-block-search__input {
    border: 0 !important;
    /* padding: 10px 12px;
  min-width: 220px; */
    outline: none;
}
.site-header .wp-block-search__button {
    border: 0 !important;
    background: linear-gradient(
        135deg,
        var(--color-primary, #0b5cff),
        var(--color-secondary, #00a8e8)
    );
    color: #fff;
    padding: 10px 12px;
}
.site-header .wp-block-search__button:hover {
    filter: brightness(1.03);
}

/* Responsive */
@media (max-width: 980px) {
    .site-header .wp-block-search__input {
        min-width: 180px;
    }
}
@media (max-width: 720px) {
    .header-actions {
        width: 100%;
    }
    .site-header .wp-block-search {
        width: 100%;
    }
    .site-header .wp-block-search__inside-wrapper {
        width: 100%;
    }
    .site-header .wp-block-search__input {
        width: 100%;
        min-width: 0;
    }
}
