:root {
    --green: #6aa33a;
    --green-dark: #4f882b;
    --accent: #f6d94f;
    --muted: #7a7a7a;
    --bg: #f6f6f6;
    --card: #fff;
    --container: 1200px;
    --yellow-border: #f2d94a;
    --placeholder: #e9e9e9;
}

* {
    box-sizing: border-box
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    color: #222;
    background: var(--bg);
}

/* top bar */
.top-bar {
    background: var(--green);
    color: #fff;
    text-align: center;
    padding: 6px 12px;
    font-size: 14px;
}

header.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.site-header .container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--green-dark);
}

    .brand .logo-mark {
        width: 46px;
        height: 46px;
        background: linear-gradient(#fff,#f7f7f7);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        color: var(--green-dark);
        box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    }

nav.main-nav {
    margin-left: auto;
}

    nav.main-nav a {
        color: #4b4b4b;
        text-decoration: none;
        margin-left: 18px;
        font-size: 15px;
    }

.page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 18px 80px;
}

.filters {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}

    .filters select, .filters button {
        padding: 8px 10px;
        border-radius: 4px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 14px;
    }

    .filters button {
        background: var(--green);
        color: #fff;
        border: 1px solid rgba(0,0,0,0.06);
        cursor: pointer;
    }

/* grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    align-items: start;
}

.card {
    background: var(--card);
    border: 4px solid #efefef;
    border-radius: 6px;
    padding: 14px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: box-shadow .12s ease;
}
    /* highlight top-sponsors with yellow border like screenshot */
    .card.highlight {
        border-color: var(--yellow-border);
    }

.logo-wrap {
    height: 64px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

    .logo-wrap img {
        max-height: 64px;
        max-width: 170px;
        object-fit: contain;
        display: block;
    }

.main {
    flex: 1;
}

footer.site-footer {
    background: var(--green-dark);
    color: #fff;
    margin-top: 36px;
    padding: 30px 18px;
}

.foot-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

    .foot-inner a {
        color: #fff;
        text-decoration: none;
        margin-right: 12px;
        font-size: 13px;
        opacity: 0.95;
    }

@media (max-width:780px) {
    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .company {
        font-size: 13px;
    }
}

.green-button {
    background: var(--green);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
.white-button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    margin-right: 12px;
}

.simple-textbox {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 6px;
}