/* Look of the former zedony.com news page: dark top bar, green band,
   green category tabs at the side, one card per item. */
:root { --green: #649941; --green-dark: #4d7532; --bar: #444; --text: #333; --muted: #666; --link: #3d3d3d; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Tahoma, Arial, sans-serif; background: #eee; color: var(--text); }
a:focus-visible, button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 2; padding: 8px 12px; background: #fff; color: #000; }
.skip:focus { top: 8px; }
.page { max-width: 1140px; margin: 0 auto; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }

header { background: var(--bar); border-bottom: 8px solid var(--green); display: flex; align-items: flex-end;
         gap: 24px; padding: 8px 12px 0; }
header .brand { order: 2; margin-inline-start: auto; line-height: 0; padding-bottom: 2px; }
header .brand img { height: 40px; width: auto; }
header ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
header ul a { display: block; padding: 12px 14px; color: #fff; font-weight: bold; text-decoration: none; }
header ul a:hover { background: #5a5a5a; }
header ul a[aria-current] { background: var(--green); }

.columns { display: flex; flex: 1; align-items: flex-start; }
main { flex: 1; min-width: 0; padding: 8px 16px 24px; }
h1 { font-size: 20px; margin: 4px 0 10px; color: var(--green-dark); }

.categories { order: 2; flex: none; width: 228px; background: var(--green); padding: 8px 0 8px 16px; }
.categories ul { list-style: none; margin: 0; padding: 0; }
.categories a { display: block; margin-bottom: 8px; padding: 8px; background: var(--green-dark); color: #fff;
                font-size: 13px; font-weight: bold; text-decoration: none; }
.categories a:hover { background: #3f6129; }
.categories a[aria-current] { background: #fff; color: #222; }

#news { list-style: none; margin: 0; padding: 0; }
#news li { display: flex; gap: 16px; margin-bottom: 10px; padding: 10px 14px 6px; border: 1px solid #a9cf8f;
           border-radius: 8px; background: #f6faf3; }
#news .txt { flex: 1; min-width: 0; }
#news h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
#news a { color: var(--link); text-decoration: none; }
#news a:hover { text-decoration: underline; color: #000; }
#news a:visited { color: #6a5a7a; }
#news time { display: block; text-align: end; color: var(--muted); font-size: 13px; }
#news img { flex: none; width: 76px; height: 40px; object-fit: contain; }

#status { color: var(--muted); padding: 8px 0; }
#more { display: block; margin: 16px auto; min-height: 44px; padding: 8px 36px; font: inherit; font-weight: bold;
        color: #fff; background: var(--green-dark); border: 0; border-radius: 6px; cursor: pointer; }
#more[hidden] { display: none; }
#more:hover { background: #3f6129; }
footer { background: var(--bar); color: #ddd; font-size: 13px; padding: 12px 16px; text-align: center; }
footer a { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
    .columns { flex-direction: column; align-items: stretch; }
    .categories { order: 0; width: auto; padding: 8px; }
    .categories ul { display: flex; gap: 6px; overflow-x: auto; }
    .categories a { margin: 0; white-space: nowrap; padding: 10px 12px; }
    #news h2 { font-size: 17px; }
    #news img { width: 56px; }
    header ul a { padding: 10px; }
}
