/* Extra styles for the Engineering Components page. Base look comes from the BOSON Export theme. */
.eepc-page .slide-copy .hl-text{display:block;color:#e3a624;font-size:clamp(2.2rem,5.6vw,4.2rem);line-height:1.08}
.eepc-page .slide-copy .sub-text{display:block;color:#fff;font-size:clamp(1.2rem,2.8vw,2.1rem);font-weight:700;margin-top:10px;line-height:1.25}
.eepc-page .step-6{width:16.66%;min-width:120px}

/* Portfolio cards */
.eprod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.eprod{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.08);transition:.3s;display:flex;flex-direction:column}
.eprod:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.eprod .prod-img{aspect-ratio:4/3}
.eprod:hover .prod-img img{transform:scale(1.08)}
.eprod-body{padding:18px 20px 22px;display:flex;flex-direction:column;flex:1}
.eprod-body h3{font-size:1.15rem}
.tick{list-style:none;margin:0 0 16px;padding:0;flex:1}
.tick li{position:relative;padding-left:24px;margin-bottom:5px;color:var(--muted);font-size:.95rem}
.tick li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:800}
.eprod-body .btn{align-self:flex-start;padding:10px 22px}

/* Buyer-specific */
.spec-block{text-align:center}
.spec-block i{margin-left:auto;margin-right:auto}
.check-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
.check-grid-3{grid-template-columns:repeat(3,1fr)}
.check-grid li{position:relative;padding-left:30px;font-weight:600}
.check-grid li::before{content:"✓";position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;font-size:.8rem;display:grid;place-items:center}

/* Capability grid */
.cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cap{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/10;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.cap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cap:hover img{transform:scale(1.07)}
.cap span{position:absolute;left:0;right:0;bottom:0;padding:34px 16px 14px;color:#fff;font-weight:700;background:linear-gradient(180deg,transparent,rgba(8,40,22,.9))}

/* Why: 4 columns */
.why-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}

/* Certificate */
.cert-wrap{display:grid;grid-template-columns:1fr;gap:28px;max-width:760px;margin:0 auto}
.cert-wrap.has-img{grid-template-columns:1.1fr 1fr;max-width:none}
.cert-card{background:linear-gradient(135deg,var(--green-d),var(--green));color:#fff;border-radius:var(--radius);padding:30px 32px;box-shadow:var(--shadow);border:3px solid var(--gold)}
.cert-head{display:flex;gap:14px;align-items:center;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.25)}
.cert-head small{display:block;opacity:.8;letter-spacing:.06em;text-transform:uppercase;font-size:.72rem}
.cert-head b{font-size:1.25rem}
.cert-seal{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;font-size:1.6rem;flex:none}
.cert-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:10px 18px}
.cert-card dt{color:#ffe29a;font-weight:600;font-size:.9rem}
.cert-card dd{margin:0;font-weight:700}
.cert-card dd.big{font-size:1.2rem;letter-spacing:.02em}
.cert-img{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:10px;box-shadow:0 4px 18px rgba(0,0,0,.08);text-align:center;color:var(--muted);font-size:.9rem}
.cert-img img{width:100%;max-height:360px;object-fit:contain;margin-bottom:8px}

/* Markets marquee */
.map-wrap{max-width:900px;margin:0 auto 28px}
.map-wrap img{width:100%;border-radius:var(--radius)}
.mq{overflow:hidden;background:var(--green-d);padding:18px 0;margin-top:8px}
.mq-track{display:flex;width:max-content;animation:mq-scroll 38s linear infinite}
.mq:hover .mq-track{animation-play-state:paused}
.mq-item{color:#fff;font-weight:700;font-size:1.1rem;padding:0 28px;white-space:nowrap}
.mq-item::after{content:"•";color:var(--gold);margin-left:56px}
@keyframes mq-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .mq-track{width:auto;flex-wrap:wrap;justify-content:center;gap:8px 0}
  .mq-dup{display:none}
}

/* Wide pop-up with two columns of groups */
.modal-wide{max-width:1000px}
.m-cols{column-count:2;column-gap:32px}
.m-cols .m-grp{break-inside:avoid;margin-bottom:20px}

@media(max-width:1024px){
  .eprod-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid-4{grid-template-columns:repeat(2,1fr)}
  .cert-wrap.has-img{grid-template-columns:1fr}
}
@media(max-width:720px){
  .m-cols{column-count:1}
  .check-grid-3{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .eprod-grid{grid-template-columns:1fr}
  .why-grid-4{grid-template-columns:1fr}
  .cap-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .eepc-page .step-6{width:50%}
  .check-grid-3{grid-template-columns:1fr}
  .cert-card{padding:24px 20px}
  .cert-card dl{grid-template-columns:1fr;gap:2px}
  .cert-card dd{margin-bottom:10px}
  .mq-item{font-size:1rem;padding:0 18px}
  .mq-item::after{margin-left:36px}
}
