/* =====================================================================
   mesto-kraj — strani krajevnih portalov, ki jih drugi nimajo (dec. 2026)
   »Danes v kraju« (/danes/): vreme, izklopi elektrike, koristne povezave.
   Pobude občanov (/pobude/): seznam, stran pobude, obrazec za oddajo.
   Rezultati (/rezultati/): domači klubi, tekme, lestvice.
   Razredi ma-k-…; zapisi s ceste in števci so iz mesto-dogodki (ma-d-…).
   Najprej telefon, potem min-width. Barve samo prek spremenljivk --ma-*.
   ===================================================================== */

.ma-p-danes .ma-d-tsec { display: grid; gap: var(--ma-s-3); }
.ma-k-stats { margin-bottom: var(--ma-s-5); }

/* ---------- Vreme ---------- */
.ma-k-wx { display: grid; grid-template-columns: minmax(0, 1fr); }
.ma-k-wx__now { display: grid; gap: 6px; align-content: start; padding: var(--ma-s-5); background: var(--ma-tint); color: var(--ma-brand-deep); }
.ma-k-wx__h { margin: 0; font-size: 20px; line-height: 1.2; font-weight: var(--ma-w-head); letter-spacing: var(--ma-track-head); }
.ma-k-wx__temp { margin: 4px 0 0 -3px; font-size: 76px; font-weight: var(--ma-w-num); line-height: .95; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.ma-k-wx__cond { margin: 0; font-size: 17px; font-weight: var(--ma-w-strong); }
.ma-k-wx__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; }
.ma-k-wx__facts div { display: grid; gap: 1px; }
.ma-k-wx__facts dt { font-size: 12.5px; color: var(--ma-text-2); }
.ma-k-wx__facts dd { margin: 0; font-size: 15.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ma-k-wx__loc { display: flex; align-items: center; gap: 5px; margin: 10px 0 0; font-size: 13px; color: var(--ma-text-2); }
.ma-k-wx__fc { display: grid; gap: var(--ma-s-4); align-content: start; padding: var(--ma-s-5); min-width: 0; }

.ma-k-hours { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; }
.ma-k-hours::-webkit-scrollbar { display: none; }
.ma-k-hours li { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--ma-r-sm); background: var(--ma-bg); }
.ma-k-hours__t { font-size: 12.5px; font-weight: 600; color: var(--ma-text-3); white-space: nowrap; }
.ma-k-hours__t small { font-size: 11px; font-weight: 500; }
.ma-k-hours__e { font-size: 22px; line-height: 1; }
.ma-k-hours b { font-size: 16px; font-weight: 650; color: var(--ma-brand-deep); font-variant-numeric: tabular-nums; }

.ma-k-days { list-style: none; margin: 0; padding: 0; }
.ma-k-days li { display: grid; grid-template-columns: 74px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 0; }
.ma-k-days li + li { border-top: 1px solid var(--ma-line); }
.ma-k-days__d { font-size: 15px; font-weight: 650; color: var(--ma-brand-deep); }
.ma-k-days__e { font-size: 20px; line-height: 1; text-align: center; }
.ma-k-days__o { font-size: 14.5px; color: var(--ma-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-k-days__t { font-size: 15px; color: var(--ma-text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ma-k-days__t b { color: var(--ma-brand-deep); font-weight: 700; }

/* ---------- Izklopi elektrike ---------- */
.ma-k-outs { display: grid; gap: var(--ma-s-3); padding-bottom: var(--ma-s-4); }
.ma-k-outlist { list-style: none; margin: 0; padding: 0; }
.ma-k-out { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; }
.ma-k-out + .ma-k-out { border-top: 1px solid var(--ma-line); }
.ma-k-out__body { display: grid; gap: 3px; min-width: 0; }
.ma-k-out__when { margin: 0; font-size: 13.5px; font-weight: 650; color: var(--ma-accent); font-variant-numeric: tabular-nums; }
.ma-k-out__title { margin: 0; font-size: 16.5px; line-height: 1.3; font-weight: 600; color: var(--ma-brand-deep); overflow-wrap: anywhere; }
.ma-k-out__title a { color: inherit; text-decoration: none; }
.ma-k-out__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ma-k-ok { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 6px 0; font-size: 15.5px; line-height: 1.45; color: var(--ma-text-2); }
.ma-k-ok .ma-i { flex: none; width: 22px; height: 22px; color: var(--ma-accent); }
.ma-k-more { border-top: 1px solid var(--ma-line); }
.ma-k-more summary { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--ma-accent); cursor: pointer; }
.ma-k-more .ma-k-out__title { font-size: 15.5px; font-weight: 500; }

/* ---------- Koristno (vsebina strani CMS: naslovi h3 in seznami povezav) ---------- */
.ma-k-koristno { display: grid; gap: var(--ma-s-5) var(--ma-s-6); padding-bottom: var(--ma-s-5); }
.ma-k-koristno section { min-width: 0; }
.ma-k-koristno h3 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ma-text-3); }
.ma-k-koristno ul { list-style: none; margin: 0; padding: 0; }
.ma-k-koristno li { padding: 9px 0; font-size: 15.5px; line-height: 1.4; color: var(--ma-text-2); }
.ma-k-koristno li + li { border-top: 1px solid var(--ma-line); }
.ma-k-koristno a { font-weight: 600; color: var(--ma-brand-deep); text-decoration: underline; text-decoration-color: var(--ma-tint-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ma-k-koristno a:hover { text-decoration-color: currentColor; }
.ma-k-koristno small { display: block; font-size: 13.5px; color: var(--ma-text-3); }
.ma-k-koristno p { margin: 0; font-size: 13.5px; color: var(--ma-text-3); }

.ma-k-events .ma-k-ok { padding-bottom: var(--ma-s-3); }

/* povezava »Danes v kraju« na ploščici vremena na naslovnici */
.ma-wx__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13.5px; font-weight: 650; color: var(--ma-accent); text-decoration: underline; text-decoration-color: var(--ma-tint-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- Pobude občanov ---------- */
.ma-k-cta { margin: var(--ma-s-4) 0 0; }
.ma-k-filter { display: flex; gap: var(--ma-s-2); overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.ma-k-filter::-webkit-scrollbar { display: none; }
.ma-k-filter .ma-chip { height: 40px; padding: 0 14px; font-size: 14.5px; }
.ma-k-pobude { display: grid; gap: var(--ma-s-3); list-style: none; margin: 0; padding: 0; }
.ma-k-pobuda__link { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; color: inherit; text-decoration: none; }
.ma-k-pobuda__img { display: block; width: 100%; height: 170px; object-fit: cover; background: var(--ma-tint); }
.ma-k-pobuda__body { display: grid; gap: 7px; padding: var(--ma-s-4); min-width: 0; }
.ma-k-pobuda__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: var(--ma-t-sm); font-weight: 600; color: var(--ma-text-3); }
.ma-k-pobuda__title { margin: 0; font-size: 18px; line-height: 1.28; font-weight: var(--ma-w-head); letter-spacing: var(--ma-track-head); color: var(--ma-brand-deep); overflow-wrap: anywhere; }
.ma-k-pobuda__link:hover .ma-k-pobuda__title { text-decoration: underline; text-underline-offset: 4px; }
.ma-k-pobuda__where { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 14px; color: var(--ma-text-2); }
.ma-k-pobuda__h1 { margin-top: var(--ma-s-2); font-size: var(--ma-t-3xl); }
.ma-k-stanje { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ma-tint); color: var(--ma-brand); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ma-k-stanje--poslana { background: #FBF0D5; color: #6B4700; }
.ma-k-stanje--odgovor { background: #E3F1FA; color: #1F5A80; }
.ma-k-stanje--resena { background: #DDF2E3; color: #1B5E33; }

.ma-k-pobuda-full__img { display: block; width: 100%; max-height: 520px; object-fit: cover; background: var(--ma-tint); }
.ma-k-pobuda-full__body { display: grid; gap: var(--ma-s-4); padding: var(--ma-s-5); }
.ma-k-pobuda-full__text { margin: 0; font-size: 17.5px; line-height: 1.62; color: var(--ma-text); white-space: pre-line; overflow-wrap: anywhere; }
.ma-k-pobuda-full__by { margin: 0; font-size: 14px; color: var(--ma-text-3); }
.ma-k-potek { display: grid; gap: var(--ma-s-4); padding-bottom: var(--ma-s-5); }
.ma-k-potek__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ma-k-potek__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ma-text-3); }
.ma-k-potek__list li.is-done { color: var(--ma-brand-deep); font-weight: 600; }
.ma-k-potek__list small { font-size: 13px; font-weight: 500; color: var(--ma-text-3); }
.ma-k-potek__dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ma-line-strong); color: #fff; }
.is-done .ma-k-potek__dot { border-color: var(--ma-accent); background: var(--ma-accent); }
.ma-k-odgovor { padding: var(--ma-s-4); border-radius: var(--ma-r-sm); background: var(--ma-tint); }
.ma-k-odgovor__h { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ma-brand-deep); }
.ma-k-odgovor__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ma-text); white-space: pre-line; overflow-wrap: anywhere; }
.ma-k-druga { font-weight: 600; color: var(--ma-brand-deep); }
.ma-k-koraki { display: grid; gap: 12px; margin: 0; padding: 0 0 var(--ma-s-4) 20px; font-size: 15px; line-height: 1.45; color: var(--ma-text-2); }
.ma-k-koraki b { color: var(--ma-brand-deep); }

/* obrazec */
.ma-k-formwrap { max-width: calc(var(--ma-col) + 2 * var(--ma-gutter)); }
.ma-k-form { display: grid; gap: var(--ma-s-5); padding-bottom: var(--ma-s-5); }
.ma-k-form__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.ma-k-form__legend { padding: 0; margin: 0 0 var(--ma-s-3); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ma-text-3); }
.ma-k-form .ma-help { margin: 6px 0 0; font-size: 13.5px; color: var(--ma-text-3); }
.ma-k-form .ma-select[aria-invalid="true"], .ma-k-form .ma-textarea[aria-invalid="true"] { border-color: var(--ma-signal-ink); }
.ma-k-file { display: block; width: 100%; padding: 10px; border: 1px dashed var(--ma-line-strong); border-radius: var(--ma-r-sm); background: var(--ma-bg); font-size: 14.5px; color: var(--ma-text-2); }
.ma-k-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; font-size: 14px; color: var(--ma-text-3); }
.ma-k-hvala { display: grid; gap: var(--ma-s-3); justify-items: start; padding-bottom: var(--ma-s-6); }
.ma-k-hvala p { margin: 0; color: var(--ma-text-2); line-height: 1.5; }
.ma-k-hvala__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Rezultati in lestvice ---------- */
.ma-k-sport { display: grid; gap: var(--ma-s-5); }
.ma-k-klub { display: grid; gap: var(--ma-s-4); padding: var(--ma-s-5); }
.ma-k-klub__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; }
.ma-k-klub__ikona { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ma-tint); font-size: 24px; line-height: 1; }
.ma-k-klub__ime { min-width: 0; }
.ma-k-klub__h { margin: 0; font-size: 21px; line-height: 1.2; font-weight: var(--ma-w-head); letter-spacing: var(--ma-track-head); color: var(--ma-brand-deep); }
.ma-k-klub__ime p { margin: 3px 0 0; font-size: 14px; color: var(--ma-text-3); }
.ma-k-klub__mesto { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--ma-r-sm); background: var(--ma-tint); color: var(--ma-brand-deep); }
.ma-k-klub__mesto b { font-size: 26px; font-weight: var(--ma-w-head); line-height: 1; font-variant-numeric: tabular-nums; }
.ma-k-klub__mesto span { font-size: 14.5px; font-weight: 600; }
.ma-k-klub__cols { display: grid; gap: var(--ma-s-4) var(--ma-s-6); }
.ma-k-klub__sub { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ma-text-3); }
.ma-k-klub__nic { margin: 0; padding: 8px 0; font-size: 15px; color: var(--ma-text-3); }
.ma-k-tekme { list-style: none; margin: 0; padding: 0; }
.ma-k-tekma { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; }
.ma-k-tekma + .ma-k-tekma { border-top: 1px solid var(--ma-line); }
.ma-k-tekma__kdaj { display: grid; font-size: 14.5px; font-weight: 650; color: var(--ma-brand-deep); font-variant-numeric: tabular-nums; }
.ma-k-tekma__kdaj small { font-size: 12.5px; font-weight: 500; color: var(--ma-text-3); }
.ma-k-tekma__kdo { display: grid; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ma-text); overflow-wrap: anywhere; }
.ma-k-tekma__kdo small { font-size: 12.5px; font-weight: 500; color: var(--ma-text-3); }
.ma-k-tekma__izid { min-width: 62px; padding: 5px 9px; border-radius: 8px; background: var(--ma-bg); font-size: 15px; font-weight: 700; text-align: center; color: var(--ma-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ma-k-tekma__izid--z { background: #DDF2E3; color: #1B5E33; }
.ma-k-tekma__izid--p { background: #FCE9E3; color: #8E2A15; }
.ma-k-lestvica { border-top: 1px solid var(--ma-line); }
.ma-k-lestvica summary { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 650; color: var(--ma-accent); cursor: pointer; }
.ma-k-lestvica__scroll { overflow-x: auto; }
.ma-k-lestvica table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ma-k-lestvica th { padding: 6px 6px; font-size: 12px; font-weight: 700; color: var(--ma-text-3); text-align: center; white-space: nowrap; }
.ma-k-lestvica td { padding: 9px 6px; border-top: 1px solid var(--ma-line); text-align: center; color: var(--ma-text-2); white-space: nowrap; }
.ma-k-lestvica .l { text-align: left; white-space: normal; }
.ma-k-lestvica td.l { font-weight: 600; color: var(--ma-text); }
.ma-k-lestvica tr.is-moja td { background: var(--ma-tint); color: var(--ma-brand-deep); font-weight: 700; }
.ma-k-druge { list-style: none; margin: 0; padding-top: 6px; padding-bottom: 6px; }
.ma-k-druge li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; padding: 12px 0; }
.ma-k-druge li + li { border-top: 1px solid var(--ma-line); }
.ma-k-druge .ma-k-klub__ikona { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; }
.ma-k-druge__ime { display: grid; min-width: 0; font-size: 15.5px; color: var(--ma-brand-deep); }
.ma-k-druge small { font-size: 12.5px; font-weight: 500; color: var(--ma-text-3); }
.ma-k-druge__tekma { grid-column: 1 / -1; display: grid; gap: 2px; font-size: 14px; color: var(--ma-text-2); }
/* blok Šport na /danes/ */
.ma-k-sportmini { list-style: none; margin: 0; padding: 0; }
.ma-k-sportmini li { display: grid; gap: 2px; padding: 11px 0; }
.ma-k-sportmini li + li { border-top: 1px solid var(--ma-line); }
.ma-k-sportmini b { font-size: 15.5px; color: var(--ma-brand-deep); }
.ma-k-sportmini span { font-size: 14px; color: var(--ma-text-2); }
.ma-k-sportmini small { font-size: 12.5px; color: var(--ma-text-3); }

@media (min-width: 600px) {
  .ma-k-koristno { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ma-k-pobuda__link { grid-template-columns: 180px minmax(0, 1fr); }
  .ma-k-pobuda__link:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
  .ma-k-pobuda__img { height: 100%; min-height: 132px; }
}
@media (min-width: 768px) {
  .ma-k-klub { padding: var(--ma-s-6); }
  .ma-k-klub__head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ma-k-klub__mesto { grid-column: auto; }
  .ma-k-klub__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ma-k-druge li { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); }
  .ma-k-druge__tekma { grid-column: auto; }
  .ma-k-wx { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr); }
  .ma-k-wx__now, .ma-k-wx__fc { padding: var(--ma-s-6); }
  .ma-k-wx__temp { font-size: 92px; }
}
