/* ===========================================================
   PRO PICKS — HEADER (FULL WIDTH, HERO INTEGRATED)
   Desktop + Mobile SAFE
=========================================================== */

/* Remove block theme headers (if any) */
header.wp-block-template-part {
    display: none !important;
}

/* OUTER HEADER — FULL WIDTH */
.pp-header {
    width: 100%;
    display: flex;
    justify-content: stretch;
    background: transparent;
    margin: 0;
    position: relative;
    z-index: 100;
}

/* INNER HEADER — NO WIDTH LIMIT */
.pp-header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 32px;

    /* Hero-integrated fade */
    background: linear-gradient(
        180deg,
        rgba(2,6,23,0.9) 0%,
        rgba(2,6,23,0.65) 60%,
        rgba(2,6,23,0) 100%
    );

    border-radius: 0;
    box-shadow: none;

    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* COLUMN LAYOUT */
.pp-left,
.pp-right {
    width: auto;
    display: flex;
    align-items: center;
}

.pp-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ===========================================================
   MENU — CLEAN, FULL WIDTH
=========================================================== */

.pp-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.pp-menu li a {
    color: #eaf0f6;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    padding: 6px 2px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.pp-menu li a:hover {
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34,197,94,0.45);
}

/* ===========================================================
   LOGO
=========================================================== */

.pp-logo-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #22c55e;
    background: rgba(255,255,255,0.05);
}

.pp-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================================
   HAMBURGER (DESKTOP HIDDEN)
=========================================================== */

.pp-hamburger {
    display: none;
    flex-direction: column;
    border: none;
    background: none;
    cursor: pointer;
}

.pp-hamburger span {
    width: 26px;
    height: 3px;
    background: #eaf0f6;
    margin-bottom: 4px;
    display: block;
}

/* ===========================================================
   TABLET (≤ 900px)
=========================================================== */

@media (max-width: 900px) {

    .pp-header-inner {
        padding: 14px 20px;
    }

    .pp-menu {
        gap: 26px;
    }

    .pp-menu li a {
        font-size: 15px;
    }
}

/* STEP 1 — HEADER MUST BE ABOVE HERO (MOBILE TAP FIX) */
.pp-header {
    position: relative;
    z-index: 10000;
}

/* ===========================================================
   MOBILE (≤ 600px)
=========================================================== */

@media (max-width: 600px) {

    .pp-header-inner {
        padding: 12px 16px;
    }

    /* Hamburger visible */
    .pp-hamburger {
        display: flex;
        position: absolute;
        right: 16px;
        top: 18px;
    }

  .pp-center {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    justify-content: center;
    background: rgba(2,6,23,0.95);
    padding: 18px 0;
}

.pp-center.pp-open {
    display: flex;
}


    .pp-menu {
        flex-direction: column;
        gap: 18px;
    }

    .pp-menu li a {
        font-size: 16px;
    }

    /* Smaller logo */
    .pp-logo-wrap {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
}

/* ===========================================================
   FIX: DESKTOP-SMALL & TABLET MENU OVERLAY
   Force mobile menu behavior when hamburger is visible
=========================================================== */

@media (max-width: 900px) {

    /* Hamburger must always be clickable */
    .pp-hamburger {
        z-index: 50000;
    }

    /* Menu container MUST overlay page */
    .pp-center {
        position: fixed !important;
        top: 64px;              /* below header */
        left: 0;
        width: 100vw;
        max-width: 100vw;
        display: none;
        justify-content: center;

        background: rgba(2,6,23,0.98);
        padding: 24px 0;

        z-index: 40000;
    }

    /* OPEN STATE */
    .pp-center.pp-open {
        display: flex !important;
    }

    /* Menu stack */
    .pp-menu {
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }
}
