.led-power-certificates {
  background-color: #f3f8ff;
  background-image: var(--led-cert-background);
  background-position: center;
  background-size: cover;
  color: #0a2855;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 120px) clamp(22px, 5vw, 88px);
}

.led-cert-shell { align-items: center; display: grid; gap: clamp(38px, 5vw, 92px); grid-template-columns: minmax(280px, .78fr) minmax(500px, 1.22fr); margin: 0 auto; max-width: 1500px; }
.led-cert-copy { max-width: 510px; }
.led-cert-eyebrow { color: #0874ef; font-size: 14px; font-weight: 800; letter-spacing: .22em; margin: 0 0 28px; }
.led-cert-copy h2 { color: #082657; font-size: clamp(48px, 5.7vw, 88px); font-weight: 800; letter-spacing: -.055em; line-height: .98; margin: 0; }
.led-cert-rule { background: #126bf3; display: block; height: 3px; margin: 32px 0 27px; width: 70px; }
.led-cert-subtitle { color: #405d8e; font-size: clamp(18px, 1.55vw, 25px); line-height: 1.45; margin: 0; max-width: 390px; }
.led-cert-proofs { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 62px; }
.led-cert-proof { align-items: center; color: #234879; display: inline-flex; font-size: 15px; gap: 9px; white-space: nowrap; }
.led-cert-proof + .led-cert-proof { border-left: 1px solid #c8ddfa; padding-left: 24px; }
.led-cert-proof .dashicons { color: #0874ef; font-size: 25px; height: 25px; width: 25px; }

.led-cert-gallery { min-width: 0; }
.led-cert-main { align-items: center; display: grid; justify-items: center; min-height: 610px; outline: none; position: relative; }
.led-cert-main:focus-visible { box-shadow: 0 0 0 3px #1475f4; }
.led-cert-slide { display: none; grid-area: 1 / 1; margin: 0; max-height: 610px; opacity: 0; transform: translateY(12px); transition: opacity .32s ease, transform .32s ease; width: 100%; }
.led-cert-slide.is-active { display: grid; opacity: 1; transform: translateY(0); }
.led-cert-slide img { background: #fff; box-shadow: 0 18px 40px rgba(27, 68, 123, .22); display: block; height: auto; margin: 0 auto; max-height: 610px; max-width: 100%; object-fit: contain; width: auto; }
.led-cert-thumbs { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(74px, 1fr)); margin: 26px auto 0; max-width: 940px; }
.led-cert-thumb { appearance: none; background: #fff !important; border: 1px solid #d4e3f6; box-shadow: 0 5px 14px rgba(40, 82, 135, .11); cursor: pointer; min-height: 142px; padding: 7px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.led-cert-thumb:hover, .led-cert-thumb:focus-visible { border-color: #1475f4; box-shadow: 0 10px 22px rgba(29, 91, 187, .23); outline: none; transform: translateY(-4px); }
.led-cert-thumb.is-active { background: #fff !important; border: 2px solid #126bf3 !important; box-shadow: 0 10px 22px rgba(29, 91, 187, .22); color: inherit !important; }
.led-cert-thumb img { display: block; height: 126px; object-fit: contain; width: 100%; }
.led-cert-empty { align-items: center; border: 1px dashed #8aafe6; color: #496b9e; display: flex; justify-content: center; min-height: 420px; padding: 25px; text-align: center; }

.led-cert-editor { background-image: none; padding: 36px; }
.led-cert-editor-images { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(110px, 1fr)); }
.led-cert-editor-slot { background: rgba(255,255,255,.8); border: 1px solid #c8dbf4; min-height: 156px; padding: 10px; }
.led-cert-editor-slot strong { color: #294a78; display: block; font-size: 12px; margin-bottom: 8px; }
.led-cert-editor-slot img { display: block; height: 102px; object-fit: contain; width: 100%; }
.led-cert-editor-empty { align-items: center; background: #edf5ff; color: #52719c; display: flex; font-size: 12px; height: 102px; justify-content: center; text-align: center; }
.led-cert-editor-button { margin-top: 9px; }
.led-cert-editor-background-preview { display: block; height: auto; margin-bottom: 12px; width: 100%; }

@media (max-width: 980px) {
  .led-cert-shell { grid-template-columns: 1fr; }
  .led-cert-copy { margin: 0 auto; max-width: 660px; text-align: center; }
  .led-cert-eyebrow { margin-bottom: 18px; }
  .led-cert-rule { margin-left: auto; margin-right: auto; }
  .led-cert-subtitle { margin-left: auto; margin-right: auto; }
  .led-cert-proofs { justify-content: center; margin-top: 36px; }
  .led-cert-main { min-height: 560px; }
  .led-cert-editor-images { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
}

@media (max-width: 640px) {
  .led-power-certificates { padding: 62px 18px 42px; }
  .led-cert-copy h2 { font-size: clamp(43px, 14vw, 60px); }
  .led-cert-eyebrow { font-size: 12px; }
  .led-cert-subtitle { font-size: 18px; }
  .led-cert-proofs { gap: 13px 17px; }
  .led-cert-proof { font-size: 13px; }
  .led-cert-proof + .led-cert-proof { border-left: 0; padding-left: 0; }
  .led-cert-main { min-height: 390px; }
  .led-cert-slide, .led-cert-slide img { max-height: 390px; }
  .led-cert-thumbs { display: flex; margin-left: -18px; margin-right: -18px; overflow-x: auto; padding: 6px 18px 15px; scroll-snap-type: x mandatory; }
  .led-cert-thumb { flex: 0 0 94px; min-height: 118px; scroll-snap-align: start; }
  .led-cert-thumb img { height: 102px; }
  .led-cert-editor { padding: 28px 18px; }
  .led-cert-editor-images { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}
