:root {
    color: #202620;
    background: #f3f4ee;
    font: 16px/1.55 system-ui, sans-serif;
    --green: #314a39;
    --line: #d7dfd4;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(1100px, 92vw); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.bar, nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.bar { justify-content: space-between; padding-block: 1rem; }
.brand, h1 { font-family: Georgia, serif; }
.brand { font-size: 1.4rem; color: inherit; text-decoration: none; font-weight: 700; }
main { padding-block: 2rem; }
h1 { line-height: 1.1; font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); margin: .25rem 0 1.6rem; }
h2 { margin: 0 0 .55rem; line-height: 1.2; font-size: 1.15rem; }
a, .text-button { color: var(--green); }
button {
    background: var(--green);
    color: white;
    padding: .55rem .9rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font: inherit;
    cursor: pointer;
}
.text-button { background: transparent; padding: 0; text-decoration: underline; }
.notice, .upload, article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.notice, .upload, .details { padding: 1rem; }
.upload form { display: grid; gap: .6rem; justify-items: start; }
input[type=file] { width: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1rem; }
article { overflow: hidden; }
article img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #e6ebe3; display: block; }
.details { overflow-wrap: anywhere; }
.details p { margin: .5rem 0; }
.meta, .empty { color: #4d5b50; }
.actions { margin-top: .8rem; }
