/* FaktHusty.cz 4.0.12 – canonical single-post correction.
   Target: JNews single-post-1/2 (not homepage, archives or other post types).
   Preserve brand creatives / Seznam ad requests and all saved content.
*/
body.fh-v3-active.single-post .jeg_singlepage { --fh-post-column:664px;--fh-post-aside:312px;--fh-post-gap:40px; }

/* The actual JNews structure is .jeg_singlepage > .container > .row > main,aside. */
@media(min-width:1200px){
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row {
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,664px) minmax(0,312px)!important;
  gap:40px!important;align-items:start!important;justify-content:center!important;
  width:1016px!important;max-width:100%!important;
  margin-inline:auto!important;padding:0!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row > .jeg_main_content {
  grid-column:1!important;float:none!important;flex:none!important;
  box-sizing:border-box!important;width:664px!important;max-width:664px!important;
  min-width:0!important;margin:0!important;padding:0!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row > .jeg_sidebar {
  grid-column:2!important;float:none!important;flex:none!important;
  box-sizing:border-box!important;width:312px!important;max-width:312px!important;
  min-width:0!important;margin:0!important;padding:0!important;
 }
}
@media(max-width:1199px){
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row {
  display:flex!important;flex-direction:column!important;gap:36px!important;
  width:100%!important;max-width:100%!important;margin-inline:auto!important;
  padding:0!important;align-items:center!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row > .jeg_main_content {
  flex:none!important;float:none!important;min-width:0!important;
  box-sizing:border-box!important;width:100%!important;max-width:664px!important;
  margin-inline:auto!important;padding:0!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage > .container > .row > .jeg_sidebar {
  flex:none!important;float:none!important;min-width:0!important;
  box-sizing:border-box!important;width:100%!important;max-width:312px!important;
  margin-inline:auto!important;padding:0!important;
 }
}
/* All column sections have exactly the same edges, without Gutenberg/JNews floats. */
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content > .jeg_inner_content,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_breadcrumbs,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-header,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_meta_container,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content > .content-inner,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .fhpj-box,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .fh-v4-share {
 box-sizing:border-box!important;width:100%!important;max-width:664px!important;min-width:0!important;
 margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
 float:none!important;transform:none!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-header h1.jeg_post_title,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-header h1.entry-title {
 width:100%!important;max-width:100%!important;margin:8px 0 16px!important;
 font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:40px!important;font-weight:300!important;line-height:1.27!important;
 font-style:normal!important;letter-spacing:-.01em!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner {
 font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:19px!important;font-weight:400!important;line-height:1.7!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner > p:not(.fh-v402-perex),
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner > ul,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner > ol {
 font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:19px!important;font-weight:400!important;line-height:1.7!important;
}
/* Explicitly styled saved post_excerpt. Not every first paragraph is a perex. */
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content p.fh-v402-perex.article-lead,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner > p.fh-v402-perex,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content p.fh-v402-perex.article-lead {
 display:block!important;width:100%!important;max-width:100%!important;
 margin:0 0 24px!important;padding:0!important;
 font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:21px!important;font-weight:600!important;line-height:1.52!important;
 font-style:normal!important;letter-spacing:0!important;color:var(--fh-ink,#382c2c)!important;
}
/* Never re-introduce the hidden duplicate JNews post subtitle. */
body.fh-v3-active.single-post .jeg_singlepage .entry-header .jeg_post_subtitle,
body.fh-v3-active.single-post .jeg_singlepage .entry-header .jeg_post_excerpt {display:none!important;}
/* Main featured photo: native WordPress eager image (PHP filter), no JNews grey skeleton.
   Intrinsic width/height keep geometry stable before download; no animated overlay. */
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured.featured_image {
 box-sizing:border-box!important;width:100%!important;max-width:664px!important;
 height:auto!important;min-height:0!important;margin:20px 0 10px!important;
 overflow:visible!important;background:transparent!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured.featured_image > a {
 display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
 margin:0!important;overflow:hidden!important;background:transparent!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured .fh-v412-photo,
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured .fh-v412-photo__img {
 display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;height:auto!important;min-height:0!important;
 position:static!important;object-fit:contain!important;transform:none!important;
 background:transparent!important;opacity:1!important;animation:none!important;transition:none!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured .fh-v412-photo {line-height:0!important;}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .jeg_featured .fh-v412-photo__img {aspect-ratio:auto!important;}
/* Keep normal JNews format-gallery wrappers untouched; only feature image is replaced. */
/* 4:3 related thumbnail and top-aligned text; no center-positioning from legacy CSS. */
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box,
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box__inner {
 box-sizing:border-box!important;width:100%!important;max-width:664px!important;min-width:0!important;
 margin-inline:0!important;overflow:visible!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card {
 display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;
 align-items:start!important;justify-content:start!important;gap:22px!important;
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:0!important;
 margin:0!important;padding:0!important;overflow:visible!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__media {
 display:block!important;position:relative!important;box-sizing:border-box!important;
 width:160px!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:4/3!important;align-self:start!important;overflow:hidden!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__media img {
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;max-width:100%!important;
 min-width:0!important;min-height:0!important;object-fit:cover!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__body {
 display:block!important;box-sizing:border-box!important;align-self:start!important;
 width:auto!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
 text-align:left!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__title {
 display:block!important;width:100%!important;max-width:100%!important;
 margin:0 0 7px!important;padding:0!important;
 font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:30px!important;font-weight:300!important;line-height:1.32!important;
 text-align:left!important;letter-spacing:0!important;
}
body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__excerpt {
 display:block!important;font-family:"Martel",Georgia,"Calisto MT",serif!important;
 font-size:14px!important;font-weight:600!important;line-height:1.5!important;
 margin:0!important;text-align:left!important;
}
/* Ads scroll with the document; only first-party wrappers and known sticky holders.
   Never reach into Seznam creatives/iframes. */
body.fh-v3-active.single-post .jeg_singlepage > .container > .row > .jeg_sidebar,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v31-shared-sidebar,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v32-sidebar-ads,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v34-commercial--sidebar,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v34-commercial__creative,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .jegStickyHolder,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .theiaStickySidebar {
 position:static!important;inset:auto!important;top:auto!important;
 transform:none!important;height:auto!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v32-sidebar-ads,
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v34-commercial--sidebar {
 box-sizing:border-box!important;width:300px!important;max-width:100%!important;
 margin-left:auto!important;margin-right:auto!important;
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v32-sidebar-ads {margin-top:24px!important;}
body.fh-v3-active.single-post .jeg_singlepage .jeg_sidebar .fh-v3-sidebar-latest {margin:0!important;}
/* Responsive typography scales down, widths remain fluid, no horizontal overflow. */
@media(max-width:767px){
 body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-header h1.jeg_post_title,
 body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-header h1.entry-title {
  font-size:clamp(29px,6.5vw,36px)!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content p.fh-v402-perex.article-lead {font-size:20px!important;}
 body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner {font-size:18px!important;}
 body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .entry-content .content-inner > p:not(.fh-v402-perex) {font-size:18px!important;}
 body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card {
  grid-template-columns:minmax(0,108px) minmax(0,1fr)!important;gap:14px!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__media {
  width:108px!important;max-width:100%!important;
 }
 body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__title {font-size:clamp(20px,5vw,25px)!important;}
 body.fh-v3-active.single-post .jeg_singlepage .entry-content .fhpj-box .fhpj-card__excerpt {font-size:13px!important;}
}
body.fh-v3-active.single-post .jeg_singlepage .jeg_main_content .fh-safe-video-label {
 display:inline-block;vertical-align:baseline;margin-right:8px;padding:3px 7px;
 background:#d70013;color:#fff;font:700 16px/1.2 Arial,sans-serif;
}
