:root {
    --green: #335f43;
    --text: #253128;
    --border: #d7e2d8;
    --white: #ffffff;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
    width: 70%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0.8rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.navigation a {
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.navigation a:hover,
.navigation a:focus { text-decoration: underline; }

.search-form {
    display: flex;
    min-width: 220px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid #a8b9aa;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    color: var(--text);
    font: inherit;
}

.search-form button {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--green);
    border-radius: 0 4px 4px 0;
    color: var(--white);
    background: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-form button:hover,
.search-form button:focus { background: #254a33; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.banner {
    display: block;
    width: 70%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .top-bar { align-items: stretch; flex-direction: column; }
    .search-form { min-width: 0; }
    .navigation { gap: 0.8rem 1rem; }
}
