/* Bérelőny Portál – elrendezés és elemek. A színek a theme.css-ben vannak (itt csak var(--…)). */

* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink);
       background: var(--paper); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fejléc */
header.top { background: var(--ink); color: #fff; }
header.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: .2px; }
.brand .logo { width: 38px; height: 38px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.brand .logo img { width: 26px; height: 26px; filter: var(--logo-filter); }
nav.main { display: flex; gap: 22px; margin-left: 12px; }
nav.main a { text-decoration: none; color: var(--on-dark); font-size: .95rem; opacity: .85; }
nav.main a:hover, nav.main a.active { opacity: 1; color: #fff; }
nav.main a.active { font-weight: 600; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 1px solid var(--dark-line); border-radius: 999px; overflow: hidden; font-size: .8rem; }
.lang a, .lang span { padding: 3px 10px; color: var(--on-dark-muted); text-decoration: none; }
.lang .on { background: #fff; color: var(--ink); font-weight: 600; }
.head-login { text-decoration: none; background: var(--brand); color: var(--on-brand); font-weight: 600; padding: 8px 16px; border-radius: 8px; font-size: .95rem; }
.user { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: .9rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.user small { display: block; color: var(--on-dark-muted); font-size: .75rem; line-height: 1.2; }
.btn-ghost { font: inherit; cursor: pointer; background: transparent; color: var(--on-dark); border: 1px solid var(--dark-line); padding: 7px 14px; border-radius: 8px; font-size: .9rem; }

/* Gombok, űrlapok, üzenetek */
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: 8px; background: #fff; color: var(--ink); }
input:focus { outline: 3px solid var(--focus); border-color: var(--brand-dark); }
.btn { display: block; width: 100%; margin-top: 14px; font: inherit; font-weight: 700; padding: 12px 16px; border: 0; border-radius: 8px;
       background: var(--brand); color: var(--on-brand); cursor: pointer; text-align: center; text-decoration: none; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-inline { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 8px;
              background: var(--brand); color: var(--on-brand); white-space: nowrap; }
button.link, a.link { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--ink-2);
                      text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; cursor: pointer; }
.msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.msg-error { background: var(--error-bg); color: var(--error-text); }
.msg-info { background: var(--info-bg); color: var(--info-text); }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-block; }
.spinner { width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent;
           border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Nyitó blokk: sötét rész (cím) + világos rész (bemutatkozás); a belépőkártya a kettő határán */
.hero-dark { background: var(--ink); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; }
.hero-dark .hero-grid { padding-top: 40px; padding-bottom: 44px; align-items: start; }
.hero-light .hero-grid { padding-top: 36px; padding-bottom: 24px; }
.eyebrow { display: inline-block; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: .75rem;
           letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
h1 { font-size: 2.6rem; line-height: 1.15; margin: 16px 0 0; letter-spacing: -.5px; }
.hero-sub { color: var(--hero-sub); font-size: 1.1rem; margin: 14px 0 0; max-width: 520px; }
.login-slot { position: relative; }
.login-slot .login { margin-bottom: -190px; position: relative; z-index: 2; }
.hero-body { color: var(--ink-2); font-size: 1.05rem; max-width: 540px; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.points li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--brand); }

/* Belépőkártya */
.login { color: var(--ink); background: var(--card); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,0,0,.14);
         padding: 28px 28px 24px; border-top: 5px solid var(--brand); }
.login h2 { margin: 0 0 4px; font-size: 1.35rem; }
.login p.lead { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.login .note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; }
.login .note b { color: var(--ink-2); font-weight: 600; }
.login .row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; font-size: .78rem; color: var(--muted); }
.steps span { flex: 1; padding-top: 6px; border-top: 3px solid var(--line); }
.steps span.on { border-color: var(--brand); color: var(--ink); font-weight: 600; }
.login-page { max-width: 460px; margin: 48px auto; }

/* Szakaszok, kártyák */
section.block { padding: 40px 0; }
section.block.tight { padding-top: 8px; }
.block h3 { font-size: 1.4rem; margin: 0 0 6px; }
.block p.sub { margin: 0 0 22px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.ico { width: 42px; height: 42px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; margin-bottom: 12px; }
.ico svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h4 { margin: 0 0 4px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; }
.tag { position: absolute; top: 16px; right: 16px; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag.on, .tag.free { background: var(--ok-bg); color: var(--ok-text); }
.tag.soon { background: var(--soon-bg); color: var(--muted); }
.feature { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: #fff;
           border-radius: var(--radius); padding: 26px 28px; margin-bottom: 28px; }
.feature .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--brand); margin: 0; }
.feature .ico svg { width: 28px; height: 28px; stroke: var(--on-brand); }
.feature h4 { margin: 0 0 6px; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--hero-sub); font-size: .95rem; max-width: 640px; }
.feature ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--on-dark); }
.feature ul li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.block h4.group { font-size: 1rem; margin: 0 0 12px; color: var(--ink-2); }

/* Belépés utáni kezdőlap */
.welcome { background: var(--ink); color: #fff; }
.welcome .wrap { padding-top: 30px; padding-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.welcome h1 { font-size: 2rem; margin: 0; }
.welcome p { margin: 6px 0 0; color: var(--hero-sub); }
.company-chip { display: inline-flex; gap: 8px; align-items: center; background: var(--dark-2); border: 1px solid var(--dark-line);
                padding: 6px 12px; border-radius: 999px; font-size: .85rem; color: var(--on-dark); }
.company-chip b { color: var(--brand); font-weight: 600; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative;
          display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
a.module:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.module .ico { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 8px; }
.module h4 { margin: 0; font-size: 1.08rem; }
.module p { margin: 0; color: var(--muted); font-size: .9rem; }
.module .go { margin-top: 10px; font-weight: 600; font-size: .9rem; }
.module .go::after { content: " →"; }
.module.off { background: transparent; border-style: dashed; }
.module.off .ico { background: var(--soon-bg); }
.module.off h4, .module.off p, .module.off .go { color: var(--muted); }
.admin-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--tint);
               border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin-top: 16px; font-size: .92rem; }
.admin-strip a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand); }

/* Szöveges oldalak (impresszum, adatvédelem, hiba) */
.page { max-width: 760px; margin: 0 auto; padding: 40px 24px 56px; }
.page h1 { font-size: 2rem; margin: 0 0 16px; }
.page dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.page dt { color: var(--muted); }
.page dd { margin: 0; }

/* Lábléc */
footer.bottom { background: var(--ink); color: var(--on-dark-muted); margin-top: auto; font-size: .88rem; }  /* rövid oldalon is alul */
main { padding-bottom: 24px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
footer.bottom strong { color: #fff; }
footer.bottom .links { display: flex; gap: 20px; margin-left: auto; }
footer.bottom a { text-decoration: none; }
footer.bottom a:hover { color: #fff; }

/* Telefon */
@media (max-width: 860px) {
  nav.main { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .login-slot .login { margin-bottom: 0; }
  h1 { font-size: 2rem; }
  .cards, .modules { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .head-login, .user .uname { display: none; }
  footer.bottom .links { margin-left: 0; }
  header.top .wrap { gap: 12px; padding: 0 16px; }
  .head-right { gap: 10px; }
  .btn-ghost { padding: 6px 10px; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }  /* nagyon keskeny kijelzőn csak a logó */
}

/* Adminfelület */
.welcome a.back { display: inline-block; margin-bottom: 8px; color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; }
.welcome a.back:hover { color: #fff; }
.wrap.narrow { max-width: 760px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.15rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.panel h3.sub-head { font-size: 1rem; margin: 24px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel.danger { border-color: var(--error-bg); }
.count { font-size: .78rem; font-weight: 700; background: var(--tint); color: var(--ink-2); padding: 1px 9px; border-radius: 999px; }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.list th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
                font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tbody tr:last-child td { border-bottom: 0; }
table.list tr.inactive td { color: var(--muted); }
table.list a.strong, table.list td.strong { font-weight: 600; }
table.list a.strong { text-decoration: none; border-bottom: 2px solid var(--brand); }
td.nowrap { white-space: nowrap; }
td.break { overflow-wrap: anywhere; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
         background: var(--soon-bg); color: var(--muted); }
.badge.on { background: var(--ok-bg); color: var(--ok-text); }
.chip { display: inline-block; font-size: .8rem; padding: 1px 9px; margin: 0 4px 4px 0; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.hint { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.msg-ok { background: var(--ok-bg); color: var(--ok-text); margin: 0 0 16px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .msg { margin: 0 0 12px; }
.form-grid input, select { padding: 10px 12px; }
select { width: 100%; font: inherit; border: 1px solid var(--input-line); border-radius: 8px; background: var(--card); color: var(--ink); }
select:focus { outline: 3px solid var(--focus); border-color: var(--brand-dark); }
fieldset { border: 1px dashed var(--input-line); border-radius: 8px; padding: 12px 16px 14px; margin: 0; min-width: 0; }
legend { font-size: .85rem; font-weight: 600; padding: 0 6px; }
label.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; font-weight: 500; margin: 0; }
input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--brand-dark); }
.btn.btn-auto { display: inline-block; width: auto; margin-top: 0; padding: 10px 22px; }
.btn.btn-danger { background: var(--error-text); color: #fff; margin-top: 12px; }
.btn.btn-danger:hover { background: var(--ink); }
a.cancel { margin-left: 16px; }
.panel .hint + .btn, .panel .hint + .msg { margin-top: 14px; }
@media (max-width: 860px) {
  .form-grid, .form-grid.two { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .panel { padding: 18px 16px; }
  /* Keskeny kijelzőn a táblázat sorai kártyák: minden cella a mező nevével (data-label) */
  table.list, table.list tbody, table.list tr, table.list td { display: block; }
  table.list thead { display: none; }
  table.list tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.list tbody tr:last-child { border-bottom: 0; }
  table.list td, table.list tbody tr:last-child td { border: 0; padding: 2px 0; }
  table.list td[data-label] { display: flex; gap: 12px; }
  table.list td[data-label]::before { content: attr(data-label); flex: 0 0 120px; color: var(--muted); font-size: .82rem; }
  table.list td.nowrap { white-space: normal; }
}
form.inline { display: inline; margin-left: 6px; }
.badge.locked { background: var(--error-bg); color: var(--error-text); }

/* Hírek – témaképek (templates/news/images/*.svg, a lapba ágyazva, a témafájl színeivel) */
.newsimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--tint); }
.newsimg .bg { fill: var(--tint); }
.newsimg .dot { fill: var(--brand); opacity: .35; }
.newsimg .blob { fill: var(--brand); opacity: .5; }
.newsimg .br, .newsimg .heart { fill: var(--brand); }
.newsimg .ink { fill: var(--ink); }
.newsimg .paper, .newsimg .key { fill: var(--card); }
.newsimg .soft { opacity: .65; }
.newsimg .ghost { fill: var(--ink); opacity: .18; }
.newsimg .ln, .newsimg .ln-thin, .newsimg .ln-soft, .newsimg .ln-brand, .newsimg .ln-sig {
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.newsimg .ln { stroke: var(--ink); stroke-width: 6; }
.newsimg .ln.wide { stroke-width: 10; }
.newsimg .ln-thin { stroke: var(--ink); stroke-width: 4; }
.newsimg .ln-soft { stroke: var(--line); stroke-width: 5; }
.newsimg .ln-brand { stroke: var(--brand); stroke-width: 8; }
.newsimg .ln-sig { stroke: var(--brand-dark); stroke-width: 5; }
.newsimg .para { fill: var(--ink); font: 700 120px Georgia, "Times New Roman", serif; }
img.newsimg { object-fit: cover; }

/* Adminfelület – fülek a sötét sávban */
.tabs { display: flex; gap: 22px; margin-bottom: 14px; font-size: .92rem; }
.tabs a { color: var(--on-dark-muted); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.tabs a:hover { color: #fff; }
.tabs a.on { color: #fff; font-weight: 600; border-bottom-color: var(--brand); }

/* Hírszerkesztő */
textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 8px;
           background: var(--card); color: var(--ink); resize: vertical; line-height: 1.5; }
textarea:focus { outline: 3px solid var(--focus); border-color: var(--brand-dark); }
.badge.sched { background: var(--tint); color: var(--ink-2); }
.badge.draft { background: var(--info-bg); color: var(--info-text); border: 1px dashed var(--input-line); }
.img-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 560px) { .img-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.img-pick label { position: relative; display: block; margin: 0; cursor: pointer; border: 2px solid var(--line);
                  border-radius: 10px; overflow: hidden; background: var(--card); }
.img-pick label span { display: block; font-size: .78rem; padding: 4px 8px 6px; color: var(--ink-2); }
.img-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.img-pick label:has(input:checked) { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--brand); }
.img-pick label:has(input:checked) span { font-weight: 700; color: var(--ink); }
.img-pick label:has(input:focus-visible) { outline: 3px solid var(--focus); }
.upload-label { margin-top: 4px; }
input[type="file"] { padding: 8px; background: var(--card); }
.news-edit form > .msg { margin: 0 0 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.actions .msg { flex-basis: 100%; }
.actions a.cancel { margin-left: 6px; }
.btn.btn-light { background: var(--card); color: var(--ink); border: 1px solid var(--input-line); }
.btn.btn-light:hover { background: var(--tint); }
.news-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* Hírkártya és cikkszöveg */
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-card .body { padding: 14px 16px 18px; }
.news-tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--tint); color: var(--ink-2);
            padding: 2px 9px; border-radius: 999px; }
.news-date { font-size: .78rem; color: var(--muted); margin-left: 8px; }
.news-card h3 { margin: 8px 0 6px; font-size: 1.08rem; line-height: 1.3; }
.news-card p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.md { line-height: 1.6; margin-top: 16px; }
.md p { margin: 0 0 12px; }
.md ul, .md ol { margin: 0 0 12px; padding-left: 22px; }
.md a { color: var(--ink); text-decoration-color: var(--brand-dark); text-decoration-thickness: 2px; }

/* Hírek – nyilvános oldalak */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card.linked { position: relative; transition: box-shadow .15s, transform .15s; }
.news-card.linked:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }          /* az egész kártya kattintható */
.news-card h3 a:focus-visible { outline: none; }
.news-card.linked:has(a:focus-visible) { outline: 3px solid var(--focus); }
.news-only-hu { display: inline-block; font-size: .72rem; color: var(--muted); margin-left: 8px; font-style: italic; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.link-more { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); margin-bottom: 22px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pager .btn { text-decoration: none; }
a.card-link { color: inherit; text-decoration: none; transition: box-shadow .15s; }
a.card-link:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .08); }

.article-page { padding-top: 28px; }
.article { padding-bottom: 12px; }
.article a.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.article a.back:hover { color: var(--ink); }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.article-meta .news-only-hu { margin-left: 0; }
.article h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
.article-lead { font-size: 1.12rem; color: var(--ink-2); line-height: 1.5; margin: 0 0 22px; }
.article-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article .md { font-size: 1.02rem; margin-top: 24px; }
.article-source { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.article-source a { color: var(--ink); }
.article .msg-info { margin: 0 0 18px; }
.admin-edit { margin: 0 0 8px; text-align: right; font-size: .88rem; }
.admin-edit a { color: var(--ink-2); }
@media (max-width: 860px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .article h1 { font-size: 1.55rem; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Webcím nélküli aktív előfizetés a kezdőlapon */
.module .module-note { margin-top: 10px; font-size: .88rem; color: var(--ink-2); }
.module .module-note a { color: var(--ink); overflow-wrap: anywhere; }

/* Élesítési ellenőrzőlista */
ul.checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
ul.checks li { font-size: .95rem; }
ul.checks li.ok { color: var(--ok-text); }
ul.checks li.missing { color: var(--error-text); font-weight: 600; }
ul.checks li.admin { color: var(--muted); }

form.inline-block { display: inline-block; }
form.review-return { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
form.review-return .btn { margin-top: 10px; }

/* Elszámolás */
.month-pick { display: flex; gap: 8px; align-items: center; }
.month-pick input { width: auto; padding: 9px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table.list .num { text-align: right; }
table.list tr.total td { font-weight: 700; border-top: 2px solid var(--line); }
