/* Ponastavitev in osnovni slogi vsebine (prenova 2026).
   Nadomešča stari legacy.css: ohranjena so samo pravila, ki jih strani še uporabljajo (orodja/legacy-raba.mjs),
   preračunana iz rem (html 62.5 %) v px. V plasti "reset", da jih vsi ostali slogi povozijo. */
@layer reset {
  /* normalize.css v8 (izsek) */
  html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
  hr { box-sizing: content-box; height: 0; overflow: visible; }
  a { background-color: transparent; }
  b, strong { font-weight: bolder; }
  code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
  small { font-size: 80%; }
  sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
  sub { bottom: -.25em; }
  sup { top: -.5em; }
  img { border-style: none; }
  button, input, optgroup, select, textarea { margin: 0; font: inherit; line-height: 1.5; color: inherit; }
  button, input { overflow: visible; }
  button, select { text-transform: none; }
  [type="button"], [type="reset"], [type="submit"], button { -webkit-appearance: button; }
  fieldset { padding: .35em .75em .625em; }
  legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
  [type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
  [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
  [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
  [type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
  ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
  details { display: block; }
  summary { display: list-item; }
  [hidden], template { display: none; }

  /* Osnova */
  body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4, h5, h6 { clear: both; }
  h1 { font-size: 2em; margin: .67em 0; }
  :is(h1, h2, h3, h4, h5, h6):not(:first-child) { margin: 1.5em 0 0; }
  :is(h1, h2, h3, h4, h5, h6) a { color: inherit; }
  hr { background-color: var(--line, #ccc); border: 0; height: 1px; margin: 2em 0; }
  img { vertical-align: middle; }
  p { margin: 0 0 1.5em; line-height: 1.8; }
  p:last-child { margin-bottom: 0; }
  figure { margin: 0; }
  ul { list-style: none; }
  ul, ul li { margin: 0; padding: 0; }
  ol { margin: 0; padding: 0 0 0 20px; list-style: decimal; }
  table { margin: 0 0 1.5em; width: 100%; }
  cite, dfn, em, i { font-style: italic; }
  blockquote { margin: 0 1.5em; }
  address { margin: 0 0 1.5em; }
  ins, mark { background: #fff9c0; text-decoration: none; }
  a { text-decoration: none; }
  embed, iframe, object { max-width: 100%; }
  article.hentry { display: block; position: relative; margin-bottom: 2em; }

  /* Vsebinski poudarki iz urejevalnika */
  .alert, .highlight { padding: 2em; border-radius: 4px; }
  .highlight { background: linear-gradient(90deg, rgba(40, 131, 115, .4), #fafafa); }
  /* Razredi iz dodatnega CSS-ja stare teme (prilagojevalnik, objava 18730) */
  .hidden { display: none; }
  .gap-2 { gap: 2em; }
  .bz1d-img figcaption { font-size: 13px; text-align: left; }

  /* Polja obrazcev (vtičniki, iskanje, Woo) */
  input:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"]), select, textarea {
    width: 100%; padding: .9em 1em; color: #666; border: 1px solid transparent; border-radius: 4px; background-color: #f0f0f0; font-size: 15px; transition: .3s;
  }
  input:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"]):is(:hover, :focus), select:is(:hover, :focus), textarea:is(:hover, :focus) {
    color: #000; border-color: rgba(34, 34, 34, .05); background-color: transparent;
  }
  input:is([type="button"], [type="reset"], [type="submit"]) { cursor: pointer; }
}

