/* HNJ externalized render CSS */
@media (min-width:901px){
  body.single-horgaszviz .hnj-wrapper,
  body.single-horgaszviz .hnj-wrapper *{box-sizing:border-box!important;}

  /* A fő adatlap szerkezet fix: bal fő oszlop + jobb asszisztens oldalsáv */
  body.single-horgaszviz .hnj-wrapper .hnj-layout{
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(330px,.86fr)!important;
    gap:28px!important;
    align-items:start!important;
    width:100%!important;
  }
  body.single-horgaszviz .hnj-wrapper .hnj-layout>.hnj-main-content{
    grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:100%!important;display:block!important;
  }
  body.single-horgaszviz .hnj-wrapper .hnj-layout>.hnj-sidebar{
    grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:100%!important;display:block!important;align-self:start!important;
  }

  /* A korábbi generikus .hnj2-zone kétoszloposítás kavarta szét a desktopot.
     Desktopon a taktikai blokkok egymás alatt legyenek, nem egymás mellé nyomva. */
  body.single-horgaszviz .hnj-wrapper .hnj2-v2-blocks.hnj2-zone,
  body.single-horgaszviz .hnj-wrapper .hnj2-zone-tactical{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
    overflow:visible!important;
    max-width:100%!important;
    width:100%!important;
  }
  body.single-horgaszviz .hnj-wrapper .hnj2-v2-blocks.hnj2-zone>*{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 20px!important;
    clear:both!important;
    overflow:visible!important;
  }

  /* Desktopon a <details> kártyák legyenek nyitott, rendes tartalomblokkok. */
  body.single-horgaszviz #hnj-indulasi-terv,
  body.single-horgaszviz #hnj-taktika-csali,
  body.single-horgaszviz #hnj-dontesi-segitseg,
  body.single-horgaszviz #hnj-when-card,
  body.single-horgaszviz #hnj-reszletes-leiras{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.single-horgaszviz #hnj-indulasi-terv>.hnj-mobile-deep-body,
  body.single-horgaszviz #hnj-taktika-csali>.hnj-mobile-deep-body,
  body.single-horgaszviz #hnj-dontesi-segitseg>.hnj-mobile-deep-body,
  body.single-horgaszviz #hnj-when-card>.hnj-mobile-deep-body,
  body.single-horgaszviz #hnj-reszletes-leiras>.hnj-mobile-deep-body{
    display:block!important;
    padding-top:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.single-horgaszviz .hnj-mobile-deep-summary{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:0 0 14px!important;
    margin:0 0 16px!important;
    border-bottom:1px solid #e6eef5!important;
    background:transparent!important;
    cursor:pointer!important;
    list-style:none!important;
  }
  body.single-horgaszviz .hnj-mobile-deep-summary::-webkit-details-marker{display:none!important;}
  body.single-horgaszviz .hnj-mobile-deep-summary span{
    font-size:22px!important;line-height:1.18!important;font-weight:950!important;color:#075985!important;letter-spacing:-.025em!important;
  }
  body.single-horgaszviz .hnj-mobile-deep-summary em{
    font-style:normal!important;font-size:12px!important;font-weight:900!important;color:#075985!important;background:#ecfeff!important;border:1px solid #bae6fd!important;border-radius:999px!important;padding:7px 11px!important;white-space:nowrap!important;
  }

  /* 90 perces terv: 3 kompakt kártya egy sorban, nem megnyújtott oszlop. */
  body.single-horgaszviz .hnj2-90p-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
    margin-top:0!important;
  }
  body.single-horgaszviz .hnj2-90p-card{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  body.single-horgaszviz .hnj2-90p-card .hnj2-90p-body{max-height:0!important;}
  body.single-horgaszviz .hnj2-90p-card.open .hnj2-90p-body{max-height:520px!important;}

  /* Célhal taktika + csali: desktopon két/ három hasáb, normális kártya-szélességgel. */
  body.single-horgaszviz .hnj-taktika-csali .hnj-mobile-subsection{margin:0 0 22px!important;}
  body.single-horgaszviz .hnj-taktika-csali .hnj-mobile-subsection:last-child{margin-bottom:0!important;}
  body.single-horgaszviz .hnj-taktika-csali .hnj-mobile-subsection h2{
    margin:0 0 6px!important;font-size:21px!important;line-height:1.25!important;color:#075985!important;font-weight:950!important;
  }
  body.single-horgaszviz .hnj-mobile-sublead{font-size:14px!important;line-height:1.55!important;color:#64748b!important;margin:0 0 13px!important;}
  body.single-horgaszviz .hnj2-celhal-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
  }
  body.single-horgaszviz .hnj2-celhal-card{height:auto!important;align-self:start!important;border-radius:16px!important;overflow:hidden!important;}
  body.single-horgaszviz .hnj2-celhal-hdr{min-height:62px!important;}
  body.single-horgaszviz .hnj2-csali-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
  }
  body.single-horgaszviz .hnj2-csali-item{height:auto!important;align-self:start!important;border-radius:16px!important;}

  /* A mérleg nyelve: menjek vagy maradjak?: ne fél oldali szűk oszlopban jelenjen meg. */
  body.single-horgaszviz #hnj-dontesi-segitseg .hnj-decision-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  body.single-horgaszviz #hnj-dontesi-segitseg .hnj-decision-box{
    min-width:0!important;max-width:100%!important;height:auto!important;padding:14px!important;border-radius:16px!important;overflow:visible!important;
  }
  body.single-horgaszviz #hnj-dontesi-segitseg .hnj-decision-list{
    font-size:14px!important;line-height:1.55!important;overflow-wrap:normal!important;word-break:normal!important;
  }

  /* Keresett tények / adatbizalom ne ragadjon grid-sorba. */
  body.single-horgaszviz .hnj2-v2-blocks.hnj2-zone>section.hnj-card,
  body.single-horgaszviz .hnj2-v2-blocks.hnj2-zone>div{
    grid-column:auto!important;
  }

  /* A kisebb desktopokon maradjon kulturált, ne legyen túl apró. */
  @media (max-width:1180px){
    body.single-horgaszviz #hnj-dontesi-segitseg .hnj-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
    body.single-horgaszviz .hnj2-csali-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  }
}