/* Ascendle press image library — scoped page styles only */

.press-gallery-page .section{
  max-width:1180px;
}

.press-gallery-intro{
  margin-bottom:28px;
}

.press-gallery-section{
  margin-top:26px;
  padding:28px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.022));
}

.press-gallery-section--lead{
  border-top:3px solid rgba(42,141,93,.82);
}

.press-gallery-section-head{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);
  gap:28px;
  align-items:start;
  margin-bottom:22px;
}

.press-gallery-section-head h2{
  margin:0;
  font-family:Montserrat,Inter,sans-serif;
  font-size:clamp(21px,2.2vw,31px);
  line-height:1.08;
  color:#fff;
}

.press-gallery-section-head > p{
  margin:0;
  color:var(--cream);
  font-size:14px;
  line-height:1.55;
}

.press-gallery-kicker{
  margin:0 0 7px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--green);
}

.press-gallery-note{
  margin:0 0 20px;
  padding:12px 14px;
  border-left:3px solid rgba(223,149,22,.82);
  background:rgba(223,149,22,.075);
  color:var(--cream);
  font-size:13px;
  line-height:1.45;
}

.press-sequence{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(178px,210px);
  gap:14px;
  overflow-x:auto;
  padding:2px 2px 12px;
  scroll-snap-type:x proximity;
}

.press-sequence-item{
  scroll-snap-align:start;
  margin:0;
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(0,0,0,.18);
}

.press-sequence-item > a:first-child{
  display:block;
}

.press-sequence-item img{
  display:block;
  width:100%;
  aspect-ratio:750 / 1346;
  object-fit:contain;
  border-radius:9px;
  background:#fff;
}

.press-sequence-item figcaption{
  margin-top:10px;
  min-height:44px;
}

.press-sequence-item figcaption strong,
.press-sequence-item figcaption span{
  display:block;
}

.press-sequence-item figcaption strong{
  color:#fff;
  font-family:Montserrat,Inter,sans-serif;
  font-size:12px;
}

.press-sequence-item figcaption span{
  margin-top:3px;
  color:var(--dim);
  font-size:11px;
  line-height:1.3;
}

.press-gallery-grid{
  display:grid;
  gap:18px;
}

.press-gallery-grid--2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.press-gallery-grid--3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.press-gallery-card{
  display:grid;
  grid-template-columns:minmax(165px,.72fr) minmax(0,1fr);
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(0,0,0,.16);
}

.press-gallery-grid--3 .press-gallery-card{
  grid-template-columns:1fr;
}

.press-gallery-card > a:first-child{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:280px;
  padding:12px;
  background:rgba(255,255,255,.035);
}

.press-gallery-grid--3 .press-gallery-card > a:first-child{
  min-height:300px;
}

.press-gallery-card img{
  display:block;
  width:100%;
  max-height:430px;
  object-fit:contain;
  border-radius:10px;
}

.press-gallery-card figcaption{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:20px;
}

.press-gallery-card h3{
  margin:0 0 10px;
  font-family:Montserrat,Inter,sans-serif;
  font-size:16px;
  line-height:1.2;
  color:#fff;
}

.press-gallery-card p{
  margin:0 0 16px;
  color:var(--cream);
  font-size:13px;
  line-height:1.52;
}

.press-download{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:auto;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:7px;
  background:rgba(255,255,255,.055);
  color:#fff;
  font-size:11px;
  font-weight:850;
  line-height:1;
}

.press-download:hover,
.press-download:focus-visible{
  border-color:rgba(42,141,93,.72);
  background:rgba(42,141,93,.14);
  color:#fff;
}

.press-gallery-contact{
  margin-top:26px;
}

@media(max-width:980px){
  .press-gallery-section-head{
    grid-template-columns:1fr;
    gap:10px;
  }

  .press-gallery-grid--3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .press-gallery-section{
    padding:20px 16px;
    border-radius:16px;
  }

  .press-gallery-grid--2,
  .press-gallery-grid--3{
    grid-template-columns:1fr;
  }

  .press-gallery-card,
  .press-gallery-grid--3 .press-gallery-card{
    grid-template-columns:minmax(135px,.72fr) minmax(0,1fr);
  }

  .press-gallery-card > a:first-child,
  .press-gallery-grid--3 .press-gallery-card > a:first-child{
    min-height:220px;
    padding:9px;
  }

  .press-gallery-card figcaption{
    padding:15px;
  }

  .press-sequence{
    grid-auto-columns:minmax(155px,74vw);
  }
}

@media(max-width:520px){
  .press-gallery-card,
  .press-gallery-grid--3 .press-gallery-card{
    grid-template-columns:1fr;
  }

  .press-gallery-card > a:first-child,
  .press-gallery-grid--3 .press-gallery-card > a:first-child{
    min-height:0;
  }

  .press-gallery-card img{
    max-height:420px;
  }
}