/* HZ Connection demo showcase polish v0.29.5
   Loaded after all page styles so dynamic demo records use the same designed cards. */
:root{--hz-card-radius:16px;--hz-card-line:#e2eae8;--hz-card-shadow:0 10px 30px rgba(7,27,43,.07)}
/* Product catalogue cards: compact, consistent and aligned at every desktop width. */
body[data-page="products"] #catalogResults.catalog-results{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:20px!important}
body[data-page="products"] #catalogResults .catalog-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;overflow:hidden!important;border:1px solid var(--hz-card-line)!important;border-radius:var(--hz-card-radius)!important;background:#fff!important;box-shadow:0 4px 16px rgba(7,27,43,.045)!important;}
body[data-page="products"] #catalogResults .catalog-card:hover{transform:translateY(-4px)!important;box-shadow:var(--hz-card-shadow)!important;border-color:#c5e5da!important}
body[data-page="products"] #catalogResults .catalog-card-image{position:relative!important;display:block!important;width:100%!important;height:190px!important;min-height:190px!important;max-height:190px!important;flex:0 0 190px!important;overflow:hidden!important;background:#0b3041!important}
body[data-page="products"] #catalogResults .catalog-card-image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important}
body[data-page="products"] #catalogResults .catalog-card-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;padding:17px 18px 16px!important;background:#fff!important}
body[data-page="products"] #catalogResults .catalog-product-type{font-size:9px!important;line-height:1.4!important;letter-spacing:.09em!important;color:#108b78!important;font-weight:800!important;margin:0 0 8px!important}
body[data-page="products"] #catalogResults .catalog-card h3{font-family:var(--font-en,Manrope,Arial,sans-serif)!important;font-size:16px!important;line-height:1.4!important;letter-spacing:-.025em!important;font-weight:800!important;color:#102c3d!important;margin:0 0 8px!important;min-height:44px!important;overflow-wrap:normal!important}
body[data-page="products"] #catalogResults .catalog-card-desc{font-size:11px!important;line-height:1.65!important;color:#71838a!important;margin:0 0 12px!important;min-height:36px!important}
body[data-page="products"] #catalogResults .catalog-spec-row{gap:12px!important;padding:11px 0!important;margin:0 0 12px!important}
body[data-page="products"] #catalogResults .catalog-spec-row small{font-size:8px!important;line-height:1.4!important}
body[data-page="products"] #catalogResults .catalog-spec-row strong{font-size:10px!important;line-height:1.5!important}
body[data-page="products"] #catalogResults .catalog-manufacturer{margin:0 0 12px!important}
body[data-page="products"] #catalogResults .catalog-card-actions{display:flex!important;gap:8px!important;margin-top:auto!important}
body[data-page="products"] #catalogResults .catalog-card-actions a,body[data-page="products"] #catalogResults .catalog-card-actions button{min-width:0!important;min-height:38px!important;padding:9px 10px!important;border-radius:8px!important;font-size:10px!important;line-height:1.3!important;white-space:normal!important}
/* The same controlled card sizing if homepage product records are rendered from live data. */
.products-section .product-card{height:100%!important;overflow:hidden!important;border:1px solid var(--hz-card-line)!important;border-radius:var(--hz-card-radius)!important;background:#fff!important}
.products-section .product-image{height:220px!important;min-height:220px!important;max-height:220px!important;overflow:hidden!important}
.products-section .product-image img{width:100%!important;height:100%!important;object-fit:contain!important}
.products-section .product-body{padding:19px 20px 20px!important}
.products-section .product-body h3{font-size:18px!important;line-height:1.4!important;font-weight:800!important;margin:9px 0 8px!important}
.products-section .product-body>p{font-size:11px!important;line-height:1.7!important;min-height:38px!important}
/* Homepage news: demo disclaimer is a sibling, not a third child in the two-column grid. */
.news-live-demo-note{display:block!important;margin:0 0 16px!important;padding:11px 14px!important;border:1px solid #d8ece4!important;border-left:3px solid #1aab8f!important;border-radius:9px!important;background:#f1faf6!important;color:#53756f!important;font-size:10px!important;line-height:1.65!important}
.news-live-demo-note[hidden]{display:none!important}
#hzHomeNewsLive.news-layout{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;grid-template-rows:auto!important;align-items:stretch!important;gap:22px!important;width:100%!important}
#hzHomeNewsLive>.news-feature{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;margin:0!important}
#hzHomeNewsLive>.news-list{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;align-content:stretch!important;gap:12px!important;min-width:0!important}
#hzHomeNewsLive .news-feature-image{height:250px!important;min-height:250px!important;overflow:hidden!important}
#hzHomeNewsLive .news-feature-image img{width:100%!important;height:100%!important;object-fit:contain!important}
#hzHomeNewsLive .news-feature-content{padding:21px 23px 23px!important}
#hzHomeNewsLive .news-feature-content h3{font-size:20px!important;line-height:1.4!important;letter-spacing:-.025em!important;margin:10px 0 9px!important}
#hzHomeNewsLive .news-feature-content>p{font-size:11px!important;line-height:1.75!important;margin:0 0 15px!important}
#hzHomeNewsLive .news-list-card{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;grid-template-rows:minmax(112px,1fr)!important;align-items:center!important;gap:13px!important;min-height:112px!important;padding:9px!important;border:1px solid #e4ece9!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
#hzHomeNewsLive .news-thumb{width:118px!important;height:94px!important;min-height:94px!important;overflow:hidden!important;border-radius:8px!important;background:#0b3041!important}
#hzHomeNewsLive .news-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
#hzHomeNewsLive .news-list-content{min-width:0!important;padding:0 20px 0 0!important}
#hzHomeNewsLive .news-list-content .article-meta{font-size:8px!important;line-height:1.4!important}
#hzHomeNewsLive .news-list-content h3{font-size:12px!important;line-height:1.45!important;font-weight:800!important;margin:6px 0 0!important;overflow-wrap:anywhere!important}
#hzHomeNewsLive .news-list-content>a{right:0!important;bottom:0!important}
@media(max-width:1199.98px){body[data-page="products"] #catalogResults.catalog-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:991.98px){#hzHomeNewsLive.news-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}#hzHomeNewsLive>.news-feature{grid-column:1!important;grid-row:1!important}#hzHomeNewsLive>.news-list{grid-column:1!important;grid-row:2!important;grid-template-rows:none!important}}
@media(max-width:767.98px){body[data-page="products"] #catalogResults.catalog-results{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}body[data-page="products"] #catalogResults .catalog-card-image{height:210px!important;min-height:210px!important;max-height:210px!important;flex-basis:210px!important}body[data-page="products"] #catalogResults .catalog-card h3{font-size:16px!important;min-height:0!important}body[data-page="products"] #catalogResults .catalog-card-desc{min-height:0!important}#hzHomeNewsLive .news-feature-image{height:210px!important;min-height:210px!important}#hzHomeNewsLive .news-feature-content{padding:17px!important}#hzHomeNewsLive .news-feature-content h3{font-size:18px!important}#hzHomeNewsLive .news-list-card{grid-template-columns:96px minmax(0,1fr)!important;min-height:96px!important}#hzHomeNewsLive .news-thumb{width:96px!important;height:78px!important;min-height:78px!important}}

/* Customer-managed showcase grids: only published records render here, and an
   empty directory shows an honest empty state instead of template demo cards. */
#hzHomeCompaniesLive>.col-12,#hzHomeProductsLive>.col-12{flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important}
.hz-showcase-empty{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:18px 20px!important;border:1px dashed #cfdcd7!important;border-radius:12px!important;background:#f7faf9!important;color:#54706a!important;font-size:13px!important;line-height:1.75!important}
.hz-showcase-empty i{color:#1aab8f!important;font-size:15px!important;line-height:1.6!important;flex:0 0 auto!important}
.hz-showcase-empty span{min-width:0!important}
#hzHomeExhibitionsLive>.col-12{flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important}
.hz-showcase-empty--dark{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.22)!important;color:rgba(255,255,255,.82)!important}
.hz-showcase-empty--dark i{color:#5ee0bd!important}
