.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 30px;
    flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 800; letter-spacing: .5px; }
.logo img { display: block; width: auto; height: 44px; }
.header .logo img { height: 44px; }
.search-bar { display: flex; flex: 1; max-width: 640px; min-width: 260px; overflow: hidden; border: 1px solid var(--border); border-radius: 4px; }
.search-bar input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; outline: 0; font: 13px var(--font-body); }
.search-bar button { padding: 0 18px; border: 0; border-radius: 0; background: var(--orange); color: #fff; font: inherit; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.post-listing { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--orange); color: #fff; font: 600 13px var(--font-body); white-space: nowrap; text-decoration: none; }
.post-listing:hover { background: var(--orange-dark); color: #fff; text-decoration: none; }
.icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
    .header { flex-wrap: wrap; align-items: center; padding: 12px 16px; }
    .logo { flex: 1 1 auto; }
    .mobile-menu-toggle { display: flex; order: 2; margin-left: 12px; }
    .search-bar { order: 3; flex: 0 0 100%; width: 100%; max-width: none; }
    .header-actions { order: 4; flex: 0 0 100%; width: 100%; justify-content: flex-end; margin-top: 10px; }
    .navbar { display: none; width: 100%; padding: 0 16px 16px; }
    .navbar.open { display: block; }
    .navbar > ul { flex-direction: column; align-items: stretch; }
    .navbar li { width: 100%; }
    .navbar li a { padding: 12px 16px; }
    .navbar .dropdown { position: static; display: none; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .navbar .nav-item.open > .dropdown { display: block; }
}

@media (max-width: 768px) {
    .header { flex-wrap: wrap; }
}
