/**
 * PIRANOT V32 — Header Evolution (Option 6)
 * Version: 32.0.3
 */

/* TOP EYEBROW BAR */
.pira-eyebrow {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 12px;
}

.pira-eyebrow-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pira-date {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: #64748b;
}

.pira-eyebrow-links {
    display: flex;
    gap: 15px;
    font-weight: 700;
    color: #0b3b8f;
}

.pira-eyebrow-links a { text-decoration: none; color: inherit; }

/* MAIN HEADER */
.pira-header-main {
    background: linear-gradient(135deg, #0b3b8f 0%, #052163 100%);
    padding: 15px 0;
}

.pira-header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pira-logo-v32 { max-width: 240px; }
.pira-logo-v32 img { height: 45px; width: auto; display: block; }

/* SEARCH V32 */
.pira-search-v32 { flex-grow: 1; max-width: 400px; }
.pira-search-form-v32 {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    display: flex;
    padding: 2px 5px 2px 20px;
    transition: all 0.3s;
}
.pira-search-input-v32 { background: transparent; border: none; color: white; padding: 10px 0; width: 100%; outline: none; font-size: 14px; }
.pira-search-input-v32::placeholder { color: rgba(255,255,255,0.6); }
.pira-search-submit-v32 { background: transparent; border: none; color: white; padding: 0 15px; cursor: pointer; }

/* ACTIONS */
.pira-actions-v32 { display: flex; gap: 12px; }
.btn-pira { padding: 10px 22px; border-radius: 50px; font-weight: 800; font-size: 12px; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: transform 0.2s; }
.btn-pira--yellow { background: #ffd200; color: #000; }
.btn-pira--green { background: #25d366; color: white; }

/* NAVIGATION V32 */
.pira-nav-v32 { background: white; border-bottom: 2px solid #f1f5f9; }
.pira-nav-wrap-v32 ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.pira-nav-wrap-v32 a { display: block; padding: 18px 0; color: #1e293b; text-decoration: none; font-weight: 800; font-size: 13px; text-transform: uppercase; border-bottom: 3px solid transparent; }
.pira-nav-wrap-v32 a:hover { color: #0b3b8f; border-color: #ffd200; }

/* TRENDING CHIPS */
.pira-trending-chips { background: #f1f5f9; padding: 10px 0; }
.chips-container { display: flex; align-items: center; gap: 15px; }
.chips-label { font-size: 11px; font-weight: 900; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.chips-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.chips-list::-webkit-scrollbar { display: none; }
.chip-trend { font-size: 12px; font-weight: 800; color: #0b3b8f; text-decoration: none; padding: 4px 12px; background: white; border-radius: 50px; border: 1px solid #e2e8f0; white-space: nowrap; }

/* MOBILE MENU TOGGLE */
.pira-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}
.pira-menu-toggle span, .pira-menu-toggle span::before, .pira-menu-toggle span::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 10px;
    transition: all 0.3s;
}
.pira-menu-toggle span { top: 19px; }
.pira-menu-toggle span::before { top: -6px; left: 0; }
.pira-menu-toggle span::after { top: 6px; left: 0; }

.pira-menu-toggle.is-active span { background: transparent; }
.pira-menu-toggle.is-active span::before { transform: rotate(45deg); top: 0; }
.pira-menu-toggle.is-active span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 992px) {
    .pira-eyebrow, .pira-search-v32, .pira-nav-v32 { display: none; }
    .pira-menu-toggle { display: block; }
    .pira-header-wrap { gap: 15px; }
    .pira-logo-v32 { max-width: 180px; }
    .pira-logo-v32 img { height: 35px; }
    
    /* Reveal nav when active */
    body.menu-open .pira-nav-v32 {
        display: block;
        position: fixed;
        top: 65px; left: 0; right: 0; bottom: 0;
        z-index: 9999;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
    }
    body.menu-open .pira-nav-wrap-v32 ul { flex-direction: column; gap: 0; }
    body.menu-open .pira-nav-wrap-v32 a { padding: 15px 0; border-bottom: 1px solid #f1f5f9; }
}

@media (max-width: 600px) {
    .pira-actions-v32 { display: none; }
    .chips-label { display: none; }
}
