.center {
    text-align: center;
}

.brauto {
    white-space: pre-line;
}

body {
    margin: 0;
    background-color: rgb(7, 5, 109);
    font-family: "Franklin Gothic", sans-serif;
    color: white;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 20px;
    background: #ffee00;
    border-bottom: 1px solid #ccc;
}

.nav-links {
    display: flex;
    gap: 12px 24px;
    justify-content: center;
    flex: 1;
    flex-wrap: wrap;
}

.topbar a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
}

.topbar a:hover {
    text-decoration: underline;
}

.logo-topbar {
    width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, min(480px, calc((100vw - 104px) / 2))));
    justify-content: center;
    align-items: start;
    gap: 36px 56px;
    margin: 35px auto 0;
    padding: 0 24px;
    box-sizing: border-box;
}

.cards > :only-child {
    grid-column: 1 / -1;
    justify-self: center;
}

@media (max-width: 700px) {
    .topbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        flex-basis: 100%;
    }

    .cards {
        grid-template-columns: minmax(0, min(480px, calc(100vw - 32px)));
    }
}

.card {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 480px;
    background: white;
    color: black;
    padding: 20px;
    border: 1px solid black;
    border-radius: 25px;
    margin: 0;
    vertical-align: top;
    text-align: left;
}

.card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto 12px;
}

.card .proposal {
    line-height: 1.4;
}

.brauto {
    white-space: pre-line;
}

summary {
    cursor: pointer;
    font-weight: bold;
}
