/* Integration layer: retain the supplied templates' colors, typography and layout. */
:root{--c-main:#03598a;--c-accent:#0e8e05;--header-h:75px}
:focus-visible{outline:3px solid #0e8e05;outline-offset:4px}
.skip-link{position:fixed;top:-70px;left:16px;z-index:2000;background:#fff;color:#03598a;padding:12px 20px}.skip-link:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.logo-text strong{font-size:18px;letter-spacing:.03em}.logo-text em{font-size:10px;letter-spacing:.12em}.logo{flex-shrink:0}
.dropdown{max-height:65vh;overflow-y:auto}.nav-list>li>a[aria-current=page]{color:var(--c-main)}
.hero-img{object-fit:cover}.hero-slide:not(.is-active){visibility:hidden}.hero-slide.is-active{visibility:visible}.hero-copy h1,.hero-copy h2{font-size:clamp(28px,3.5vw,48px);line-height:1.35;color:#fff}
.hero-slide:not(:first-child) h1{font-size:clamp(28px,3.5vw,48px)}
.hero-img{object-position:center}.hero-slide .hero-content{position:relative;z-index:1}
.section[id],#contact{scroll-margin-top:95px}.cat-thumb img{object-fit:cover}.cat-body p{min-height:22px}.cat-grid{align-items:stretch}
.cat-card{display:flex;flex-direction:column}.cat-body{flex:1}.product-card{min-width:0}.product-thumb img{object-fit:contain;background:#f4f8fb}.product-name{overflow-wrap:anywhere}.product-grid{align-items:stretch}
.product-body{display:flex;flex:1;flex-direction:column}.product-desc{flex:1}.product-btn{align-self:flex-start}
.news-thumb img{object-fit:cover;background:#f4f8fb}.news-card{min-width:0}.news-meta{gap:8px;flex-wrap:wrap}.news-title{overflow-wrap:anywhere}
.catalog-search{display:flex;gap:10px;margin:0 0 24px;padding:16px;background:#f4f8fb;border:1px solid #e1e8ef;border-radius:8px}.catalog-search input[type=search]{min-width:0;flex:1;border:1px solid #d6e1e9;border-radius:5px;padding:12px 14px;background:#fff;font:inherit;color:#222b38}.catalog-search button{flex-shrink:0}
.result-count{color:#697586;margin:0 0 18px}.content{min-width:0}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.content-head{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:20px}.content-head h2{font-size:23px;color:#03598a}.content-head p{color:#697586;white-space:nowrap}
.empty-state{width:100%;grid-column:1/-1;text-align:center;border:1px dashed #cbdde8;background:linear-gradient(145deg,#f6fafc,#eef5f8);padding:52px 24px;border-radius:8px;color:#697586}.empty-state h2,.empty-state h3{color:#03598a;font-size:21px;margin-bottom:10px}.empty-state p{margin:8px 0 20px}.empty-state .btn{margin-top:4px}.empty-symbol{display:block;font-size:38px;line-height:1.3;color:#93b5c9;margin-bottom:12px}.empty-state.compact{padding:24px}
.news-list-body{padding-bottom:65px}.news-page .filter-bar{flex-wrap:wrap}.pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:32px 0 0}.pagination a,.pagination>span{display:inline-flex;min-width:38px;min-height:38px;align-items:center;justify-content:center;border:1px solid #e1e8ef;padding:6px 12px;border-radius:5px}.pagination .active{background:#03598a;color:#fff;border-color:#03598a}
.about-wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.about-media{border-radius:8px;overflow:hidden}.about-media img{width:100%;height:350px;object-fit:cover;object-position:right}.about-copy .sec-title{margin:10px 0 20px}.about-copy p{margin-bottom:20px;color:#697586}.about-intro{font-size:20px;color:#03598a!important}.about-copy .btn{margin-top:12px}
.cta{text-align:center}.cta h2{margin-bottom:12px}.cta-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}.cta-tel{margin-top:20px;color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer-col p{color:#aab9c7}.footer-contact li{overflow-wrap:anywhere}.footer-brand .logo-text strong{color:#fff;font-size:20px}.footer-brand .logo-text em{color:#b7ccd9}
.gallery-main{border:0;font:inherit;width:100%;display:block;cursor:zoom-in}.gallery-main img{object-fit:contain}.gallery-thumbs{display:flex;overflow-x:auto}.gallery-thumbs button{flex:0 0 80px}.pi-category{display:inline-block;padding:4px 12px;background:#e7f1f8;color:#03598a;border-radius:5px;margin-bottom:12px}.pi-actions{flex-wrap:wrap}
.detail-nav{position:sticky;top:75px;z-index:20;background:#fff;border-top:1px solid #e1e8ef;border-bottom:1px solid #e1e8ef}.detail-nav-inner{display:flex;gap:28px;overflow-x:auto;white-space:nowrap;padding-top:14px;padding-bottom:14px}.detail-nav a:hover{color:#0e8e05}
.rich-content{line-height:1.9;overflow-wrap:anywhere}.rich-content p{margin:0 0 16px}.rich-content h2,.rich-content h3,.rich-content h4{margin:24px 0 14px;color:#03598a}.rich-content ul,.rich-content ol{padding-left:1.6em;margin:12px 0 20px;list-style:disc}.rich-content ol{list-style:decimal}.rich-content img{max-width:100%;height:auto;margin:20px auto}.rich-content a{color:#03598a;text-decoration:underline}.rich-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;margin:20px 0}.rich-content th,.rich-content td{border:1px solid #dce6ed;padding:10px 14px}.rich-content blockquote{margin:20px 0;padding:16px 20px;border-left:4px solid #03598a;background:#f4f8fb}.rich-content pre{overflow-x:auto;padding:15px;background:#f4f8fb}.parameter-remark{display:block;color:#697586;margin-top:5px}.spec-group th{background:#dfeef5!important;color:#03598a}.spec-wrap{overflow-x:auto}.download-item{gap:18px}.dl-info{min-width:0}.dl-name{overflow-wrap:anywhere}.dl-meta{display:flex;gap:12px;flex-wrap:wrap}.dl-btn{white-space:nowrap}.faq-answer{color:#546476}
.article-summary{margin-bottom:25px;padding:18px 22px;border-left:3px solid #03598a;background:#f4f8fb;color:#697586}.article-source{padding:18px 0;color:#697586}.article-source a{color:#03598a}.article-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.article-page .post-nav{align-items:stretch}.post-nav-empty{padding:20px;color:#697586}.side-empty{padding:20px;color:#697586}.article-page .side-contact .sc-btn{margin-top:14px}.article-main{min-width:0}.article-content{min-height:80px}
.mobile-bar{display:none}.back-top{position:fixed;right:24px;bottom:28px;z-index:50;width:44px;height:44px;border:0;border-radius:6px;color:#fff;background:#03598a;font-size:24px;box-shadow:0 4px 20px #03598a26;cursor:pointer}
.image-dialog{border:0;padding:20px;border-radius:8px;max-width:95vw;max-height:95vh;background:#fff}.image-dialog::backdrop{background:#041a2ee0}.image-dialog img{max-height:82vh;max-width:85vw;object-fit:contain}.image-close{position:absolute;right:6px;top:4px;z-index:1;width:35px;height:35px;background:#03598a;border:0;border-radius:50%;color:#fff;font-size:25px;cursor:pointer}
@media(min-width:1024px){.nav-toggle{display:none}.nav-list .has-dropdown:hover .dropdown,.nav-list .has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0)}.page-products .layout{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:1023px){.logo-text strong{font-size:16px}.logo-mark{width:34px;height:34px}.header-actions{display:none}.nav{overflow-y:auto;max-height:calc(100vh - 75px)}.nav.is-open{display:block}.nav-list .dropdown{max-height:none}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-nav{top:75px}.about-wrap{gap:24px}.page-products .layout{display:block}.page-products .sidebar{display:block;width:auto;position:static;margin-bottom:24px}.page-products .side-nav{display:flex;flex-wrap:wrap;gap:8px;padding:14px}.page-products .side-link{border:1px solid #e1e8ef;border-radius:5px;font-size:13px;padding:8px 12px}.page-products .side-head{padding:14px 18px}.page-products .side-head p{display:none}}
@media(max-width:767px){body{padding-bottom:54px}.header-inner{gap:10px}.logo-text strong{font-size:14px}.logo-text em{font-size:8px}.hero-copy h1,.hero-copy h2,.hero-slide:not(:first-child) h1{font-size:29px}.hero-img{object-position:65% center}.hero-desc{font-size:14px}.about-wrap{grid-template-columns:1fr}.about-media img{height:230px}.about-copy .sec-title{font-size:25px}.catalog-search{padding:12px;gap:8px}.catalog-search input[type=search]{padding:10px;width:0}.catalog-search .btn{font-size:13px;padding:10px 14px}.content-head h2{font-size:20px}.catalog-grid{gap:12px}.product-name{font-size:15px}.catalog-grid .product-body{padding:12px}.product-desc{font-size:12px}.news-list-body{padding-bottom:40px}.news-page .filter-bar{gap:7px}.news-page .filter-bar a{padding:8px 12px}.empty-state{padding:36px 18px}.footer-grid{gap:28px}.footer-brand{grid-column:1/-1}.footer-bottom{font-size:12px}.mobile-bar{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);height:54px;background:#fff;border-top:1px solid #e1e8ef;z-index:60}.mobile-bar .mb-item{display:flex;align-items:center;justify-content:center;font-size:12px;color:#03598a}.back-top{bottom:68px;right:15px}.detail-nav-inner{gap:20px;font-size:13px}.article-products{grid-template-columns:1fr}.article-page .article-title{font-size:25px}.post-nav{flex-direction:column}.download-item{gap:10px}.dl-icon{display:none}.dl-meta{font-size:12px}.image-dialog{padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.page-home{--c-accent:#f28c28;--c-accent-dark:#dd7a17}

/* Keep the supplied logo proportional, with room for the mobile menu button. */
.logo-image{display:block;height:54px;width:auto;max-width:100%;object-fit:contain;object-position:left center}
.footer-brand{min-width:0}.site-header .logo{min-width:0;flex-shrink:1}
@media(max-width:1023px){.site-header .logo{max-width:calc(100% - 48px)}}

.nav-list>li>a>.nav-caret{display:block;width:12px;height:12px;flex:0 0 12px;align-self:center}

.page-products .prod-group{scroll-margin-top:95px}.page-products .content{min-width:0}.page-products .pg-title{min-width:0;overflow-wrap:anywhere}.page-products .prod-item span{min-width:0}

/* Mobile dropdowns stay in the navigation flow, including hover/focus states. */
@media(max-width:1023px){
  .site-header .nav{overflow-x:hidden}
  .site-header .nav-list .dropdown{
    position:static;inset:auto;
    width:auto;min-width:0;max-width:none;
    display:none;grid-template-columns:minmax(0,1fr);gap:2px;
    margin:6px 0 10px;padding:6px;
    transform:none;transition:none;
    opacity:1;visibility:visible;pointer-events:auto;
    max-height:none;overflow:visible;
    border:0;border-radius:6px;box-shadow:none;
    background:var(--c-soft,#f4f8fb);
  }
  .site-header .nav-list .has-dropdown.is-open>.dropdown{display:grid}
  .site-header .nav-list .dropdown a{
    display:block;min-width:0;padding:10px 12px;
    font-size:14px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;
  }
}

/* Homepage-only text links share the footer palette and wrap on narrow screens. */
.footer-friends{display:flex;align-items:baseline;gap:16px;padding:22px 0;border-top:1px solid rgba(255,255,255,.1);font-size:13px;line-height:1.8}
.footer-friends-label{flex-shrink:0;font-weight:600;color:rgba(255,255,255,.8)}
.footer-friends ul{display:flex;flex-wrap:wrap;gap:8px 24px;list-style:none;margin:0;padding:0;min-width:0}
.footer-friends li{max-width:100%;min-width:0}
.footer-friends a{color:rgba(255,255,255,.6);overflow-wrap:anywhere;transition:color .2s}
.footer-friends a:hover,.footer-friends a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.footer-friends{flex-direction:column;gap:8px;padding:18px 0}.footer-friends ul{gap:8px 18px}}
