/* Önkormányzat – hivatalos nyilvántartás: sötétkék, arany, táblázatos lista. */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: swap; src: url("/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --accent: #12355b;
    --gold: #f2c14e;
    --ink: #142033;
    --muted: #5a677a;
    --line: #d6dde8;
    --paper: #f1f4f8;
    --card: #fff;
    --font-head: "Archivo", system-ui, sans-serif;
    --font-body: "Archivo", system-ui, sans-serif;
    --font-ui: "Archivo", system-ui, sans-serif;
    --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
    --radius: 6px;
}

body { font-size: 16px; line-height: 1.55; }

/* Fejléc */
.ok-head { background: var(--accent); color: #fff; border-bottom: 5px solid var(--gold); }
.ok-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.ok-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.ok-logo svg { width: 52px; height: 52px; filter: drop-shadow(0 0 0 #fff); }
.ok-logo svg path:first-child { fill: #fff; }
.ok-logo svg path:nth-child(2) { fill: var(--gold); }
.ok-logo svg g { fill: var(--accent); }
.ok-logo .word { font: 800 27px/1 var(--font-head); letter-spacing: 2.2px; text-transform: uppercase; }
.ok-logo .word small { display: block; margin-top: 6px; font: 500 12px/1 var(--font-head); letter-spacing: 1.4px; color: var(--gold); }
.ok-count { text-align: right; font: 500 12px/1.4 var(--font-mono); color: #b9c8dc; text-transform: uppercase; letter-spacing: 0.6px; }
.ok-count b { display: block; font: 800 26px/1 var(--font-head); color: #fff; letter-spacing: 0; }

.ok-nav { background: #0c2643; }
.ok-nav .wrap { display: flex; flex-wrap: wrap; gap: 0; }
.ok-nav a { color: #cfdaea; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 18px; border-right: 1px solid #1c3a5f; }
.ok-nav a:first-child { border-left: 1px solid #1c3a5f; }
.ok-nav a:hover, .ok-nav a.current { background: var(--gold); color: var(--ink); }

/* Címlap */
.ok-places { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.ok-places h2 { font: 800 12px var(--font-head); text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 0 0 10px; }
.ok-places .county { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; padding: 6px 0; }
.ok-places .county + .county { border-top: 1px dashed var(--line); }
.ok-places .county b { flex: none; width: 92px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); }
.ok-places a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 3px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.ok-places a:hover, .ok-places a.current { background: var(--accent); color: #fff; border-color: var(--accent); }

.ok-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ok-table .head, .ok-row { display: grid; grid-template-columns: 96px 170px minmax(0, 1fr); gap: 16px; padding: 12px 18px; align-items: baseline; }
.ok-table .head { background: var(--paper); border-bottom: 2px solid var(--accent); font: 800 11px var(--font-head); text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }
.ok-row { border-bottom: 1px solid var(--line); }
.ok-row:last-child { border-bottom: 0; }
.ok-row:hover { background: #f8fafc; }
.ok-row time { font: 500 13px var(--font-mono); color: var(--muted); white-space: nowrap; }
.ok-row .where { font-size: 13px; font-weight: 700; color: var(--accent); }
.ok-row .where span { display: block; font-weight: 500; color: var(--muted); }
.ok-row h2 { font-size: 18px; line-height: 1.3; font-weight: 700; margin: 0 0 3px; }
.ok-row h2 a { text-decoration: none; }
.ok-row h2 a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.ok-row p { margin: 0; font-size: 14px; color: var(--muted); }

.page-title { font-weight: 800; padding-left: 14px; border-left: 6px solid var(--gold); }

article.full { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 30px 34px; max-width: 800px; }
article.full h1 { font-weight: 800; font-size: 34px; }
article.full .lead { font-size: 19px; color: #2a3a52; border-left: 4px solid var(--gold); padding-left: 14px; }
article.full .body { font-size: 17px; }
article.full .body h2 { font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); }
.related { max-width: 800px; }

footer.site { background: #0c2643; border-top: 5px solid var(--gold); }
footer.site, footer.site a { color: #b9c8dc; }
footer.site .network a { color: #fff; }
footer.site .network a:hover { color: var(--gold); }

@media (max-width: 760px) {
    .ok-count { display: none; }
    .ok-logo .word { font-size: 19px; letter-spacing: 1.2px; }
    .ok-logo svg { width: 42px; height: 42px; }
    .ok-table .head { display: none; }
    .ok-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .ok-row .where span { display: inline; }
    .ok-places .county b { width: 100%; }
    .ok-nav a { padding: 10px 12px; font-size: 13px; }
    article.full { padding: 22px 18px; }
    article.full h1 { font-size: 26px; }
}

/* Mobilon egy megye települései egy sorban, vízszintesen görgethetők. */
@media (max-width: 760px) {
    .ok-places { padding: 12px 14px; }
    .ok-places .county { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ok-places .county::-webkit-scrollbar { display: none; }
    .ok-places .county b { width: auto; position: sticky; left: 0; background: var(--card); padding-right: 8px; }
    .ok-places a { flex: none; }
    .ok-nav .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ok-nav a { flex: none; }
}
