/* Shared library card design and the approved technical guide reading layout. */
body.bh-technical-library #main{padding:0!important}
body.bh-technical-library #main>.fusion-row,body.bh-technical-library #content{width:100%!important;max-width:none!important;margin:0!important;float:none!important}
body.bh-technical-library #content>article{margin:0!important;padding:0!important}
body.bh-technical-library .bh-guide-links-standalone{max-width:1240px;padding:56px 40px;margin:0 auto}
body.bh-technical-library .bh-guide-links-standalone h1,body.bh-technical-library .bh-guide-links-standalone h2{font-family:var(--bh-disp)!important;font-size:42px!important;line-height:1.15!important;color:#092b4c;margin:0 0 28px!important}
body.bh-technical-library .bh-paper-library{border-top:1px solid #dce1e6;padding-top:48px;padding-bottom:72px}
body.bh-technical-library .bh-guide-card{display:flex;flex-direction:column}
body.bh-technical-library .bh-guide-card .bh-guide-read{margin-top:auto;padding-top:8px}
body.bh-technical-library .bh-guide-card>p:last-child{margin-top:auto;margin-bottom:0}
body.bh-technical-library .bh-guide-cards{align-items:stretch}
body.bh-paper .post-content>.fusion-fullwidth.bh-sec{margin:0!important}
/* Avada's post template wraps the article and prepends a featured-image element.
   Only that direct image element is hidden; its original is in the reading column. */
body.bh-paper #content>[id^="post-"]>.post-content>.fusion-fullwidth>.fusion-builder-row>.fusion-layout-column>.fusion-column-wrapper>.fusion-image-element{display:none!important}
body.bh-paper #content>[id^="post-"]>.post-content>.fusion-fullwidth:not(.bh-sec){padding:0!important;margin:0!important;background:#fff!important}
body.bh-paper .fusion-fullwidth.bh-sec>.fusion-builder-row{width:100%!important;max-width:1240px!important}
body.bh-paper .fusion-fullwidth.bh-sec{padding-left:40px!important;padding-right:40px!important}
body.bh-paper .fusion-fullwidth.bh-paper-body{padding-top:64px!important;padding-bottom:64px!important}
body.bh-paper .isr-hero h1{font-size:48px!important;line-height:1.1!important}
body.bh-paper .bh-paper-reading{max-width:840px;overflow-wrap:break-word}
body.bh-paper .bh-paper-reading h2{font-size:36px!important;line-height:1.2!important;margin:48px 0 22px!important;scroll-margin-top:110px}
body.bh-paper .bh-paper-reading>h2:first-child{margin-top:0!important}
body.bh-paper .bh-paper-reading h3{font-size:27px!important;margin:34px 0 16px!important}
body.bh-paper .bh-paper-reading p,body.bh-paper .bh-paper-reading li{font-size:17px!important;line-height:1.7!important}
body.bh-paper .bh-paper-reading p{margin:0 0 20px!important}
body.bh-paper .bh-paper-reading ul,body.bh-paper .bh-paper-reading ol{padding-left:26px}
body.bh-paper .bh-paper-reading table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.5;margin:24px 0}
body.bh-paper .bh-paper-reading td,body.bh-paper .bh-paper-reading th{padding:12px 15px;border:1px solid #dce1e6;text-align:left;vertical-align:top}
body.bh-paper .bh-paper-reading th{background:#092b4c;color:#fff}
body.bh-paper .bh-paper-illustration{max-width:640px;margin:38px auto;padding:24px;border:1px solid #dce1e6;border-radius:4px;background:#f8fafc;text-align:center}
body.bh-paper .bh-paper-illustration img{display:block;width:auto;max-width:100%;max-height:360px;height:auto;object-fit:contain;margin:0 auto}
body.bh-paper .bh-paper-illustration figcaption{margin-top:15px;color:#52697f;font-size:13px;line-height:1.5}
body.bh-paper .bh-paper-illustration--logo{max-width:440px;background:#092b4c;padding:32px}
body.bh-paper .bh-paper-illustration--logo figcaption{color:#d3e4f2}
body.bh-paper .fusion-fullwidth.bh-paper-products{background:#f3f5f7!important;padding-top:56px!important;padding-bottom:56px!important}
body.bh-paper .bh-paper-product-heading h2{font-size:36px!important;color:#092b4c;margin:0 0 32px!important;scroll-margin-top:110px}
body.bh-paper .bh-paper-products .fusion-post-cards{margin-top:0!important}
body.bh-paper .bh-paper-products .fusion-grid-posts-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0!important;width:100%!important;align-items:stretch}
body.bh-paper .bh-paper-products li.fusion-post-cards-grid-column{width:auto!important;max-width:none!important;margin:0!important;float:none!important;background:#fff;border:1px solid #dce1e6;border-radius:4px;overflow:hidden}
body.bh-paper .bh-paper-products li.fusion-post-cards-grid-column>.fusion-column-wrapper{padding:18px!important;height:100%}
body.bh-paper .bh-paper-products .fusion-post-card-image{width:100%;margin:0 0 18px!important}
body.bh-paper .bh-paper-products .fusion-title-heading{font-family:var(--bh-disp)!important;font-size:22px!important;line-height:1.25!important;color:#092b4c!important}
body.bh-paper .bh-paper-products .fusion-title-heading a{font-family:inherit!important;color:inherit!important}
body.bh-paper .bh-paper-products .fusion-post-cards h2,body.bh-paper .bh-paper-products .fusion-post-cards h3{font-size:23px!important;line-height:1.22!important}
body.bh-paper .bh-paper-products .fusion-post-cards p{font-size:15px!important;line-height:1.55!important}
body.bh-paper .bh-guide-end h2{font-size:36px!important}
@media(min-width:801px) and (max-width:1050px){body.bh-technical-library .bh-guide-cards,body.bh-paper .bh-paper-products .fusion-grid-posts-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
body.bh-technical-library .bh-guide-links-standalone{padding:40px 24px}
body.bh-technical-library .bh-guide-links-standalone h1,body.bh-technical-library .bh-guide-links-standalone h2{font-size:34px!important}
body.bh-paper .fusion-fullwidth.bh-sec{padding-left:24px!important;padding-right:24px!important}
body.bh-paper .isr-hero h1{font-size:37px!important}
body.bh-paper .fusion-fullwidth.bh-paper-body{padding-top:40px!important;padding-bottom:40px!important}
body.bh-paper .bh-paper-reading h2,body.bh-paper .bh-paper-product-heading h2,body.bh-paper .bh-guide-end h2{font-size:30px!important}
body.bh-paper .bh-paper-illustration{padding:16px;margin:28px auto}
body.bh-paper .bh-paper-products .fusion-grid-posts-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:480px){body.bh-paper .isr-hero h1{font-size:33px!important}body.bh-paper .bh-paper-reading table{display:block;overflow-x:auto}body.bh-paper .bh-guide-toc,body.bh-paper .bh-paper-products .fusion-grid-posts-cards{grid-template-columns:1fr}}

/* User-supplied DVB headend hero: square white frame, centered full image. */
body.bh-paper .isr-hero .bh-headend-square{display:grid!important;place-items:center;box-sizing:border-box;width:100%;max-width:500px;aspect-ratio:1/1;padding:12px!important;margin:0 0 0 auto!important;background:#fff;border:0;border-radius:0;overflow:hidden}
body.bh-paper .isr-hero .bh-headend-square img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center;margin:0!important;border:0!important;border-radius:0!important}
@media(max-width:900px){body.bh-paper .isr-hero .bh-headend-square{margin-left:auto!important;margin-right:auto!important}}

/* Keep the selected encoder illustration square, with its caption below the frame. */
body.bh-paper .isr-hero figure.bh-paper-selected-media{width:100%;max-width:500px;margin:0 0 0 auto!important}
@media(max-width:900px){body.bh-paper .isr-hero figure.bh-paper-selected-media{margin-left:auto!important;margin-right:auto!important}}
