/* Dedicated Quantum Energy Core research panel. */
.quantum-qec-panel{
  position:relative;
  min-height:calc(100svh - var(--entity-header-height,78px));
  overflow:hidden;
  isolation:isolate;
  display:flex;
  align-items:center;
  background:#eef3f6;
}
.quantum-qec-panel::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url('assets/underlays/qec-approved-underlay-r2.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
/* Soft page-level readability wash only — no text box. */
.quantum-qec-panel::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,
    rgba(255,255,255,.94) 0%,
    rgba(255,255,255,.86) 19%,
    rgba(255,255,255,.64) 34%,
    rgba(255,255,255,.30) 46%,
    rgba(255,255,255,.07) 57%,
    rgba(255,255,255,0) 68%);
}
.quantum-qec-shell{
  width:100%;
  margin:0;
  padding:clamp(66px,8vh,96px) clamp(42px,5vw,86px);
  box-sizing:border-box;
}
.quantum-qec-copy{
  max-width:680px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.quantum-qec-copy .kicker{color:#155da8}
.quantum-qec-title{
  max-width:720px;
  margin:0;
  color:#111820;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(54px,4.8vw,78px);
  font-weight:400;
  letter-spacing:-.04em;
  line-height:.98;
  text-shadow:0 1px 10px rgba(255,255,255,.55);
}
.quantum-qec-subhead{
  max-width:660px;
  margin:18px 0 0;
  color:#155da8;
  font:700 clamp(12px,.86vw,14px)/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.quantum-qec-lead{
  max-width:650px;
  margin:23px 0 0;
  color:#26313a;
  font:400 clamp(17px,1.05vw,19px)/1.56 Arial,Helvetica,sans-serif;
  text-shadow:0 1px 8px rgba(255,255,255,.7);
}
.quantum-qec-body{
  max-width:640px;
  margin:14px 0 0;
  color:#44505a;
  font:400 clamp(15px,.94vw,17px)/1.56 Arial,Helvetica,sans-serif;
  text-shadow:0 1px 8px rgba(255,255,255,.7);
}
.quantum-qec-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 28px;
  width:min(650px,100%);
  margin-top:27px;
  border-top:1px solid rgba(21,93,168,.20);
}
.quantum-qec-grid article{
  position:relative;
  min-height:82px;
  padding:16px 6px 16px 48px;
  border-bottom:1px solid rgba(21,93,168,.16);
}
.quantum-qec-grid span{
  position:absolute;
  left:0;
  top:16px;
  color:#1674c7;
  font:700 clamp(17px,1.25vw,22px)/1 Arial,Helvetica,sans-serif;
  letter-spacing:.04em;
}
.quantum-qec-grid h3{
  margin:0 0 5px;
  color:#16212b;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(18px,1.2vw,22px);
  font-weight:400;
  line-height:1.15;
}
.quantum-qec-grid p{
  margin:0;
  color:#4a5660;
  font:400 clamp(13.3px,.82vw,14.8px)/1.44 Arial,Helvetica,sans-serif;
}
.quantum-qec-note{
  max-width:610px;
  margin:24px 0 0 20px;
  padding:7px 0 8px 19px;
  border-left:2px solid #1674c7;
  color:#155da8;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(21px,1.45vw,27px);
  font-style:italic;
  line-height:1.32;
  text-shadow:0 1px 8px rgba(255,255,255,.7);
}

@media(max-width:1120px){
  .quantum-qec-panel::before{background-position:62% center}
  .quantum-qec-panel::after{
    background:linear-gradient(90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.82) 30%,
      rgba(255,255,255,.46) 52%,
      rgba(255,255,255,.10) 70%,
      rgba(255,255,255,0) 84%);
  }
  .quantum-qec-shell{padding-left:34px;padding-right:34px}
  .quantum-qec-copy{max-width:min(660px,66vw)}
}

@media(max-width:820px){
  .quantum-qec-panel{
    min-height:100dvh;
    display:block;
  }
  .quantum-qec-panel::before{
    background-size:cover;
    background-position:72% center;
  }
  .quantum-qec-panel::after{
    background:linear-gradient(180deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.85) 42%,
      rgba(255,255,255,.48) 63%,
      rgba(255,255,255,.12) 79%,
      rgba(255,255,255,0) 92%);
  }
  .quantum-qec-shell{
    width:100%;
    padding:46px 20px 58px;
  }
  .quantum-qec-copy{max-width:100%}
  .quantum-qec-title{font-size:clamp(42px,10.5vw,60px)}
  .quantum-qec-subhead{letter-spacing:.10em}
  .quantum-qec-grid{grid-template-columns:1fr}
  .quantum-qec-note{margin-left:0}
}
