/* =========================
   BASE
========================= */


.containerh{
    max-width:1200px;
    margin:auto;
    padding:0 16px;
}

/* =========================
   TOP STRIP
========================= */
.top-strip{
    background:#f3f4f6;
    font-size:12px;
    border-bottom:1px solid #e5e7eb;
}

.top-flex{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
}

.top-links a{
    margin-right:14px;
    color:#555;
    text-decoration:none;
}

.top-links a:hover{
    text-decoration:underline;
}

/* =========================
   MAIN HEADER
========================= */
.main-header{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
}

.main-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 0;
}

/* LOGO */
.logo img{
    height:42px;
}

/* SEARCH (minimal like C&D) */
.header-search input{
    border:1px solid #ddd;
    padding:8px 12px;
    font-size:14px;
    width:200px;
}

.header-search input:focus{
    outline:none;
    border-color:#000;
}

/* =========================
   NAV BAR
========================= */
.nav-bar{
    background:#fff;
    border-bottom:2px solid #000; /* strong editorial line */
}

.main-nav{
    display:flex;
    gap:22px;
    padding:12px 0;
}

/* LINKS */
.main-nav a{
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    color:#111;
    text-decoration:none;
    position:relative;
}

/* HOVER */
.main-nav a:hover{
    color:#000;
}

/* ACTIVE UNDERLINE */
.main-nav a.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:100%;
    height:3px;
    background:#000;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

    .main-nav{
        flex-wrap:wrap;
        gap:14px;
    }

    .header-search input{
        width:140px;
    }
}
/* =========================
   SEARCH (SCOPED + CLEAN)
========================= */
.site-header .header-search{
    display:flex;
    align-items:center;
    gap:10px;
    border-bottom:2px solid #e5e7eb;
    padding:6px 2px;
    transition:.25s;
    min-width:240px;
}

/* ICON */
.site-header .header-search .search-icon{
    font-size:14px;
    color:#888;
}

/* INPUT (ONLY ONCE, NO DUPLICATE) */
.site-header .header-search input{
    border:0;
    outline:none;
    font-size:14px;
    background:none;
    width:170px;
    color:#111;
    transition:.25s;
}

/* FOCUS */
.site-header .header-search:focus-within{
    border-color:#000;
}

/* EXPAND */
.site-header .header-search input:focus{
    width:220px;
}