/* [16.10.2026] Claude (WWW agent): tiskanje naslovnice (body.home).
   Prej: Bootstrap @page A3 + min-width 992px -> drobna pisava na A4, 6 strani, prazne ploskve namesto lenih slik, oglasi, galerija, noga.
   Zdaj: A4, en sam pregleden izpis vsebine stevilke. Vkljucen v normal.asp z media="print" (ne vpliva na zaslon in na nalaganje strani).
   Druge strani (clanki ...) zaenkrat ostanejo, kot so bile. */
@media print {
  @page naslovnica { size: A4 portrait; margin: 12mm 12mm 13mm; }
  body.home { page: naslovnica; min-width: 0 !important; font-size: 9pt; line-height: 1.35; color: #000; background: #fff; }
  body.home .container { min-width: 0 !important; max-width: none !important; width: auto !important; padding: 0 !important; }
  body.home .page, body.home main, body.home .main-wrap, body.home .main { display: block !important; min-height: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important; }
  body.home .row { margin: 0 !important; }
  body.home [class*="col-"] { padding: 0 !important; max-width: none !important; }
  body.home .card { border: 0; background: none !important; }
  body.home .card-body, body.home .card-footer, body.home .card-header { padding: 0 !important; background: none !important; border: 0 !important; }
  body.home .card-item > a { display: none !important; }            /* prazna prekrivna povezava */
  body.home a { text-decoration: none !important; color: inherit !important; }

  /* --- Skrij, kar na papirju nima smisla --- */
  body.home header .navbar-collapse, body.home header .d-xl-block, body.home .navbar-toggler,
  body.home .page-footer, body.home footer,
  body.home .iAdserver, body.home .wrap-iprom, body.home iframe,
  body.home .heading-d.d-pht, body.home .box-gallery, body.home .swiper-button-prev, body.home .swiper-button-next,
  body.home hr.separator, body.home hr.separator ~ .row,
  body.home .btn, body.home .modal, body.home .modal-backdrop,
  body.home [class^="cky-"], body.home [class*=" cky-"], body.home #ckyPreferenceCenter,
  body.home .logo-mladina,
  body.home .card-archive .card-body,
  body.home .print-ni-slike-blok { display: none !important; }
  body.home [class*="col-"]:has(> .iAdserver:only-child) { display: none !important; }

  /* --- Glava: samo logotip + datum izpisa (dodan z JS v data-natisnjeno) --- */
  body.home header { position: static !important; top: auto !important; transform: none !important; width: auto !important; display: block !important; height: auto !important; border-bottom: 1.5pt solid #e30613; margin: 0 0 4mm !important; padding: 0 0 2mm !important; }
  body.home .wrap-header::before { display: none !important; }
  body.home header .navbar { display: block !important; padding: 0 !important; position: static !important; }
  body.home header .navbar-brand { display: inline-block !important; height: 9mm !important; padding: 0 !important; margin: 0 !important; }
  body.home header .navbar-brand svg { height: 9mm !important; width: auto !important; }

  /* --- Tipografija --- */
  body.home .h1 { font-size: 15pt !important; line-height: 1.15 !important; margin: 0 0 1.5mm !important; }
  body.home .h4, body.home .h5 { font-size: 10pt !important; line-height: 1.25 !important; margin: 0 0 1mm !important; font-weight: 700; }
  body.home .card-body .h5 { font-weight: 400; }
  body.home .h6 { font-size: 7.5pt !important; margin: 0 0 1mm !important; color: #e30613 !important; text-transform: uppercase; letter-spacing: .03em; }
  body.home .excerpt { font-size: 8.5pt !important; margin: 0 0 1mm !important; }
  body.home .author { font-size: 7.5pt !important; margin: 0 !important; color: #444 !important; }
  body.home .card-footer { margin-top: .5mm; }

  /* --- Slike: fiksno razmerje, nikoli razsirjene cez pol strani --- */
  body.home .embed-responsive { position: relative; overflow: hidden; }
  body.home .embed-responsive::before { padding-top: 66.6667% !important; }
  body.home .embed-responsive img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
  body.home .card-header img { max-width: 100%; }

  /* --- Zacetek: uvodnik levo, nova stevilka desno --- */
  body.home .main > .row:first-child { display: grid !important; grid-template-columns: 1fr 52mm; gap: 6mm; align-items: start; margin-bottom: 5mm !important; break-inside: avoid; }
  body.home .main > .row:first-child > [class*="col-"] { width: auto !important; flex: none !important; order: 0 !important; margin: 0 !important; text-align: left !important; }
  body.home .main > .row:first-child > :first-child { order: 2 !important; }
  body.home .toc-latest { background: none !important; border: .75pt solid #999; padding: 3mm !important; height: auto !important; }
  body.home .toc-latest > .h1 { font-size: 11pt !important; }
  body.home .toc-latest .row { display: block !important; }
  body.home .toc-latest .card-archive { width: 22mm; float: right; margin: 0 0 2mm 2mm !important; }
  body.home .toc-latest .card-archive .embed-responsive::before { padding-top: 135% !important; }
  body.home .toc-latest .SMNW { margin-bottom: 2mm !important; }
  body.home .toc-latest .SMNW .h4 { font-size: 8.5pt !important; }
  body.home .toc-latest .SMNW .excerpt { font-size: 7.5pt !important; }
  body.home .MDTW .h1 { font-size: 18pt !important; }
  body.home .MDTW .excerpt { font-size: 9.5pt !important; }

  /* --- Velike kartice (naslovna tema, intervju, portret, konzum ...): slika levo 70 mm, besedilo desno --- */
  body.home .main > .card-item { margin: 0 0 4mm !important; padding: 0 0 4mm !important; border-bottom: .5pt solid #bbb !important; break-inside: avoid; }
  body.home .main > .card-item > .row { display: flex !important; flex-wrap: nowrap !important; gap: 5mm; align-items: flex-start; }
  body.home .main > .card-item .col-img { flex: 0 0 70mm !important; width: 70mm !important; max-width: 70mm !important; order: 0 !important; }
  body.home .main > .card-item .col-txt { flex: 1 1 auto !important; width: auto !important; max-width: none !important; order: 1 !important; text-align: left !important; padding: 0 !important; }
  body.home .main > .card-item .col-txt { display: block !important; }
  body.home .main > .card-item .col-txt .card-body { display: block !important; height: auto !important; }

  /* --- Mreze manjsih kartic: 3 stolpci --- */
  body.home .row-cards-sm, body.home .main > .row.mb-gutter { display: flex !important; flex-wrap: wrap !important; column-gap: 5mm; row-gap: 4mm; margin: 0 0 4mm !important; align-items: flex-start; }
  body.home .row-cards-sm > [class*="col-"], body.home .main > .row.mb-gutter > [class*="col-"] { flex: 0 0 calc((100% - 10mm) / 3) !important; width: calc((100% - 10mm) / 3) !important; margin: 0 !important; break-inside: avoid; }
  body.home .row-cards-sm > [class*="col-"]:empty { display: none !important; }
  body.home .row-cards-sm .card { height: auto !important; margin: 0 !important; }
  body.home .row-cards-sm .row.no-gutters { display: block !important; }
  body.home .row-cards-sm .col-img, body.home .row-cards-sm .col-txt { width: 100% !important; max-width: none !important; flex: none !important; }
  body.home .row-cards-sm .col-img { margin-bottom: 1.5mm; }
  body.home .row-cards-sm .card-header { margin-bottom: 1.5mm; }
  body.home .row-cards-sm .embed-responsive::before { padding-top: 60% !important; }
  body.home .row-cards-img .embed-responsive::before { padding-top: 75% !important; }
  body.home .main > .row.mb-gutter .card { margin-bottom: 2mm !important; }
  body.home .main > .row.mb-gutter .h4 { font-size: 9pt !important; }

  /* --- Besedilo kartic: levo, crno (na zaslonu je ponekod belo na barvni podlagi, ki se ne natisne) --- */
  body.home .main, body.home .main * { text-align: left !important; }
  body.home .main .card-body, body.home .main .card-body *, body.home .main .card-footer, body.home .main .card-footer *, body.home .heading-d .h1 { color: #000 !important; }
  body.home .main .card-body .h6, body.home .main .card-body .h5 .color-red, body.home .main .card-body .color-red, body.home .main .card-body .h6 *, body.home .main p.h6.color-red, body.home .main p.h6.color-red a { color: #e30613 !important; }
  body.home .main .card-footer .author, body.home .main .card-footer .author * { color: #444 !important; }

  /* --- Naslovi rubrik --- */
  body.home .heading-d { display: block !important; height: auto !important; margin: 3mm 0 3mm !important; padding: 0 0 1mm !important; border-bottom: 1pt solid #000; break-after: avoid; background: none !important; }
  body.home .heading-d .h1 { font-size: 13pt !important; margin: 0 !important; }
  body.home .heading-d span.has-bt, body.home .heading-d .ico { display: none !important; }
  body.home .heading-d::before, body.home .heading-d::after, body.home .heading-d .h1::before, body.home .heading-d .h1::after { display: none !important; }
}
