.ch-certificate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px;align-items:start;margin-top:24px}.ch-certificate-card{margin:0;min-width:0;padding:18px;background:#fff;border:1px solid #d6e1eb;border-radius:8px;color:#173f61;box-sizing:border-box}.ch-certificate-image{display:grid;place-items:center;aspect-ratio:210/297;background:#f5f7fa;padding:12px;border-radius:4px;box-sizing:border-box;overflow:hidden}.ch-certificate-image img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;object-position:center}.ch-certificate-card figcaption{display:block;padding-top:18px;color:#173f61}.ch-certificate-card figcaption>strong{display:block;font-size:17px;line-height:1.5}.ch-certificate-card figcaption p{font-size:13px;line-height:1.7;margin:9px 0;color:#526b80}.ch-certificate-card dl{margin:12px 0;font-size:12px;line-height:1.6}.ch-certificate-card dl>div{display:grid;grid-template-columns:90px 1fr;gap:10px;margin-top:7px}.ch-certificate-card dd{margin:0;overflow-wrap:anywhere}.ch-certificate-card figcaption>a{display:inline-flex;margin-top:12px;font-size:13px;color:#1766a0;text-decoration:none}.ch-certificate-card a:focus-visible{outline:2px solid #1873bb;outline-offset:3px}.company-proof-media .ch-certificate-grid{grid-template-columns:1fr}.ch-certificate-empty{padding:22px;border:1px dashed #b8cadb;border-radius:7px;font-size:14px;line-height:1.7}.ch-certificate-empty a{color:inherit}.blog-page .journal-post-card-image{display:block;aspect-ratio:3/2;background:#eef3f8;overflow:hidden}.blog-page .journal-post-card-image img{display:block;width:100%;height:100%;object-fit:cover}.home-blog-journal .journal-image{background:#eef3f8;overflow:hidden}.home-blog-journal .journal-image img{display:block;width:100%;height:100%;object-fit:cover}.blog-article-content img{max-width:100%;height:auto}.blog-page .journal-post-card{height:100%;overflow:hidden}.blog-page .journal-post-card-copy{flex:1;display:flex;flex-direction:column}.blog-page .journal-post-card-copy>.ip-text-link{margin-top:auto}.blog-banner-image img{object-position:center 45%}@media(max-width:600px){.ch-certificate-card{padding:14px}.ch-certificate-grid{gap:18px}.ch-certificate-image{max-height:460px}}
.company-proof-layout:not(:has(.company-proof-media)){grid-template-columns:1fr}.ch-certificate-card .ch-certificate-image img{object-fit:contain!important}
.company-proof-layout{align-items:start}.ch-certificate-image{height:360px;aspect-ratio:auto}.ch-certificate-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),360px))}.company-proof-media .ch-certificate-image{height:360px}.company-proof-media>h3{margin-top:0}.ch-certificate-card img{border-radius:0}@media(max-width:600px){.ch-certificate-image,.company-proof-media .ch-certificate-image{height:330px}}
.ch-certificate-card .ch-certificate-image{display:block}.ch-certificate-card .ch-certificate-image img{width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain!important}
@media(min-width:901px){#why-chiheng .quality-assurance-grid{align-items:stretch}#why-chiheng .quality-document{display:flex;align-self:stretch;min-width:0}#why-chiheng #certificates{display:flex;flex-direction:column;flex:1;margin:0;padding:0;border:0;min-width:0}#why-chiheng #certificates>.certificate-label{margin-top:0}#why-chiheng .ch-certificate-grid{flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);align-items:stretch}#why-chiheng .ch-certificate-card{display:flex;padding:14px}#why-chiheng .ch-certificate-image{position:relative;flex:1;height:auto;min-height:360px;padding:0;background:#fff}#why-chiheng .ch-certificate-image img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain!important}}
.home-company-intro .editorial-split{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start}.home-company-intro .home-company-slogan{max-width:430px;margin-bottom:28px}.home-company-intro .editorial-video{margin-top:0}.home-company-copy{padding-top:30px}.home-company-copy p{font-size:16px;line-height:1.85;color:#52677d;margin:0 0 20px}.home-company-copy .text-link{display:inline-flex;gap:12px;align-items:center;margin-top:5px}@media(max-width:900px){.home-company-intro .editorial-split{gap:36px}.home-company-copy{padding-top:0}}@media(max-width:700px){.home-company-intro .editorial-split{grid-template-columns:1fr;gap:28px}.home-company-intro .home-company-slogan{margin-bottom:22px}.home-company-copy p{font-size:15px}}

/* Show supplied hero and enquiry images in their original colours. */
#home.studio-hero .section-background::after,
.quote .section-background::after{background:none!important}
#home.studio-hero .section-background-image,
.quote .section-background-image{filter:none!important;mix-blend-mode:normal;opacity:1}

/* Align company copy with the video, independently of the heading height. */
#programs.home-company-intro .editorial-split{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto;row-gap:0}
#programs.home-company-intro .editorial-split>div:first-child{display:contents}
#programs.home-company-intro .editorial-split>.home-company-copy{grid-column:2;grid-row:3;padding-top:0}
#programs.home-company-intro .editorial-split>div:first-child>.eyebrow{grid-column:1;grid-row:1}
#programs-title{grid-column:1/-1;grid-row:2;max-width:none;font-size:clamp(23px,2.6vw,28px)}
@media(min-width:761px) and (max-width:1280px){#programs.home-company-intro .editorial-split>.home-company-copy{padding-inline-end:32px}}
#programs .home-company-media{grid-column:1;grid-row:3;align-self:start;min-width:0}
#programs .home-company-media .editorial-video{margin-block:0}
#programs .home-company-equipment{display:block;width:100%;height:auto;margin-top:16px;border-radius:8px}
#programs .home-company-equipment-preview{margin:16px 0 0}
#programs .home-company-equipment-preview .home-company-equipment{margin-top:0}
#programs .home-company-equipment-preview figcaption{margin-top:6px;color:#52677d;font-size:12px}
#programs .home-company-equipment-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
#programs .home-company-equipment-row figure{margin:0;min-width:0}
#programs .home-company-equipment-row img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px;margin:0}
#programs .home-company-equipment-row figcaption{margin-top:6px;color:#52677d;font-size:11px;line-height:1.4}
#programs .home-company-copy p{font-size:15px;line-height:1.7;margin-bottom:14px}
#programs .home-company-copy p{line-height:1.7;margin-bottom:16px}
@media(max-width:760px){
#programs.home-company-intro .editorial-split{grid-template-columns:minmax(0,1fr)}
#programs.home-company-intro .editorial-split>.home-company-copy{grid-column:1;grid-row:4;margin-top:28px}
}

#industries > .container{width:min(1200px,calc(100% - 64px))}
#industries .industry-sector-grid,
.home-audience-grid,
.home-shipping-grid{display:grid;gap:24px}
#industries .industry-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr));border:0;background:none}
.home-audience-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-shipping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

#industries .industry-sector-grid > article,
.home-audience-grid > article{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #d8e4ee;border-radius:10px;overflow:hidden;background:#fff}
#industries .resource-industry-photo,
.home-audience-photo{margin:0;aspect-ratio:8/5;overflow:hidden;background:#e3ecf4}
#industries .resource-industry-photo img,
.home-audience-photo img{display:block;width:100%;height:100%;object-fit:cover}
#industries .resource-industry-copy,
.home-audience-copy{display:flex;flex:1;flex-direction:column;padding:20px}
#industries .resource-industry-copy h3,
.home-audience-copy h3{margin:0 0 8px;font-size:clamp(17px,1.7vw,21px);line-height:1.35;color:#153957}
#industries .resource-industry-copy p,
.home-audience-copy p{margin:0 0 12px;font-size:14px;line-height:1.6;color:#52677d}
#industries .resource-industry-copy > a{margin-top:auto;align-self:flex-start;min-height:44px;font-size:13px}
#industries .resource-industry-copy .ip-arrow{width:17px;height:17px}
.home-audience-copy small{display:block;margin-bottom:8px;font-size:12px;line-height:1.4;font-weight:600;color:#24669d}
.home-audience-copy p{margin-bottom:0}

.home-shipping-card{position:relative;isolation:isolate;display:grid;align-content:end;min-height:220px;aspect-ratio:16/9;margin:0;overflow:hidden;border-radius:10px;background:#173b62;color:#fff}
.home-shipping-card img{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;object-fit:cover}
.home-shipping-card{width:100%}
.home-shipping-card figcaption{padding:40px 20px 18px;background:linear-gradient(0deg,#0c2237 0%,#0c2237e8 62%,transparent)}
.home-shipping-card h3{margin:0 0 5px;font-size:clamp(17px,1.8vw,22px);line-height:1.2;color:inherit}
.home-shipping-card p{margin:0;color:inherit;font-size:13px;line-height:1.5}
.home-shipping-card small{display:block;margin-top:6px;font-size:11px;color:#e2edf6}
.home-shipping-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));align-content:stretch;gap:5px;padding:5px;box-sizing:border-box;background:#dfe6ec}
.home-shipping-product-grid>span{display:block;min-width:0;min-height:0;background:#fff;overflow:hidden}
.home-shipping-product-grid img{position:static;z-index:auto;display:block;object-fit:contain;width:100%;height:100%}

@media(max-width:950px){
  .home-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  #industries > .container{width:calc(100% - 40px)}
  #industries .industry-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #industries .industry-sector-grid,.home-audience-grid,.home-shipping-grid{gap:18px}
}
@media(max-width:540px){
  #industries .industry-sector-grid,.home-audience-grid,.home-shipping-grid{grid-template-columns:minmax(0,1fr)}
}

/* Homepage certificate presentation follows the reference card. */
.home #main>#why-chiheng[data-home-surface]{background:#f0f5f9}
#why-chiheng .quality-assurance-grid{align-items:start}
#why-chiheng #certificates .ch-certificate-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;margin-top:18px}
#why-chiheng .ch-certificate-card{display:block;padding:0;border:0;background:transparent;box-shadow:none}
#why-chiheng .ch-certificate-card .ch-certificate-image{display:block;position:static;box-sizing:border-box;height:auto;min-height:0;aspect-ratio:auto;padding:clamp(14px,1.8vw,25px);background:#fff;border:1px solid #cddbe8;border-radius:6px;box-shadow:0 8px 24px #15365208}
#why-chiheng .ch-certificate-card .ch-certificate-image img{display:block;position:static;width:100%;height:auto;max-height:none}
#why-chiheng .ch-certificate-caption{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:18px 0 0;color:#294d6e;font-size:14px}
#why-chiheng .ch-certificate-caption>a{margin:0;font-weight:700;color:#174e80}


#programs .home-company-copy{display:flex;flex-direction:column}
#programs .home-company-copy>.text-link{align-self:flex-start}
@media (min-width: 761px) {
    #programs .editorial-split > .home-company-copy {
        align-self: stretch;
    }

    #programs .home-company-copy p {
        font-size: clamp(16px, 1.4vw, 17px);
        line-height: 1.6;
        margin-bottom: 14px;
    }

    #programs .home-company-copy > .text-link {
        margin-top: auto;
    }
}
#programs .home-company-copy>.home-company-workshop{margin:0;padding-top:24px;margin-top:auto}
#programs .home-company-workshop img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
#programs .home-company-workshop figcaption{margin-top:6px;color:#52677d;font-size:11px;line-height:1.4}
@media(max-width:1100px) and (min-width:761px){
 #programs .home-company-workshop img{max-height:180px}
}

a[data-home-youtube] { position: relative; display: block; width: 100%; height: 100%; }
.home-factory-video-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-video-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: #173f71; font-size: 20px; }
a[data-home-youtube]:focus-visible { outline: 3px solid #1477c8; outline-offset: -3px; }

#programs .home-company-section-title{font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.11em}
#programs .home-company-slogan{color:#122b43;font-weight:650;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}

/* Keep the homepage copy compact without forcing line breaks on small screens. */
#programs .home-company-copy > p{text-wrap:pretty;max-width:none;margin-bottom:12px}
#programs.home-company-intro .editorial-split>.home-company-copy>.text-link{margin-top:4px}
@media(min-width:761px){
  #programs.home-company-intro .editorial-split{grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr);column-gap:clamp(24px,3.2vw,44px)}
  #programs.home-company-intro .editorial-split>.home-company-copy{padding-inline-end:0}
}

#programs .home-factory-video-link .home-video-play {
  display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;background:#ff3038;
  border:0;box-shadow:0 3px 12px #0003;
  transition:background-color .2s ease,transform .2s ease;
}
#programs .home-factory-video-link .home-video-play::before {
  content:"";width:22px;height:26px;flex:none;background:#fff;transform:translateX(2px);
  clip-path:polygon(0 0,100% 50%,0 100%);
}
#programs .home-factory-video-link:is(:hover,:focus-visible) .home-video-play {
  background:#e92530;transform:translate(-50%,-50%) scale(1.08);
}
@media(prefers-reduced-motion:reduce){
  #programs .home-factory-video-link .home-video-play{transition:none}
  #programs .home-factory-video-link:is(:hover,:focus-visible) .home-video-play{transform:translate(-50%,-50%)}
}


