/* =========================================================
   THE DROP - CHAPTER UPDATES
   CLEAN / SIMPLE VERSION
   Full-frame images only (object-fit: contain)
========================================================= */

/* ---------- Page spacing ---------- */
.chapter-page{
  padding-bottom: 28px;
}

.section{
  padding: 12px 0;
}

/* ---------- Region subnav / page heading tightening ---------- */
.pagehead{
  padding: 8px 0 8px;
}

.pagehead h1{
  margin: 2;
}

.subnav{
  margin-bottom: 5px;
}

/* ---------- Region banner ---------- */
.region-banner{
  margin: 0 0 14px;
}

.region-banner figure{
  margin: 0;
  border: 1px solid rgba(33,42,53,.85);
  background: #11161c;
  overflow: hidden;
}

.region-banner img{
  width: 100%;
  height: 350px;
  display: block;
  object-fit: contain;
  background: #11161c;
}

.region-banner figcaption{
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(169,180,194,.95);
  border-top: 1px solid rgba(33,42,53,.75);
  background: rgba(12,16,20,.92);
}

/* ---------- Chapter list ---------- */
.chapter-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ---------- Chapter wrapper ---------- */
.chapter-block{
  border: 1px solid rgba(33,42,53,.85);
  background: rgba(17,21,27,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  padding: 14px;
}

.chapter-header{
  margin-bottom: 10px;
}

.chapter-header h2{
  margin: 0 0 4px;
  font-size: 22px;
  color: rgba(231,237,245,.98);
}

.chapter-header p{
  margin: 0;
  color: rgba(169,180,194,.94);
  line-height: 1.6;
}

/* ---------- Chapter banner ---------- */
.chapter-banner{
  margin: 0 0 12px;
}

.chapter-banner figure{
  margin: 0;
  border: 1px solid rgba(33,42,53,.85);
  background: #11161c;
  overflow: hidden;
}

.chapter-banner img{
  width: 100%;
  height: 140px;
  display: block;
  object-fit: contain;
  background: #11161c;
}

.chapter-banner figcaption{
  padding: 7px 10px;
  font-size: 12px;
  color: rgba(169,180,194,.95);
  border-top: 1px solid rgba(33,42,53,.75);
  background: rgba(12,16,20,.92);
}

/* ---------- Shared content block spacing ---------- */
.chapter-content{
  display: grid;
  gap: 4px;
}

/* ---------- Shared text box ---------- */
.text-panel{
  border: 1px solid rgba(33,42,53,.85);
  background: rgba(15,19,24,.62);
  padding: 14px 16px;
}

.text-panel h3,
.text-panel h4{
  margin: 0 0 8px;
  font-size: 18px;
  color: rgba(231,237,245,.96);
}

.text-panel p{
  margin: 0 0 8px;
  color: rgba(231,237,245,.88);
  line-height: 1.7;
}

.text-panel p:last-child{
  margin-bottom: 0;
}

/* ---------- Shared image frame ---------- */
.image-frame{
  margin: 0;
  border: 1px solid rgba(33,42,53,.85);
  background: #11161c;
  overflow: hidden;
}

.image-frame img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #11161c;
}

.image-frame figcaption{
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(169,180,194,.95);
  border-top: 1px solid rgba(33,42,53,.75);
  background: rgba(12,16,20,.92);
}

/* ---------- Layout 1: image left / text right ---------- */
.layout-left{
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: 12px;
  align-items: stretch;
}

.layout-left .image-frame{
  height: 500px;
}

/* ---------- Layout 2: text left / image right ---------- */
.layout-right{
  display: grid;
  grid-template-columns: 1fr 700px;
  gap: 12px;
  align-items: stretch;
}

.layout-right .image-frame{
  height: 500px;
}

/* ---------- Layout 3: wide image / text below ---------- */
.layout-wide{
  display: grid;
  gap: 0;
}

.layout-wide .image-frame{
  height: 400px;
  margin-bottom: 0;
}

.layout-wide .text-panel{
  border-top: none;
}

/* ---------- Layout 4: two equal images / text below ---------- */
.layout-two-up{
  display: grid;
  gap: 10px;
}

.layout-two-up-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.layout-two-up-images .image-frame{
  height: 450px;
}

/* ---------- Buttons ---------- */
.link-button{
  display: inline-block;
  padding: 9px 14px;
  margin-top: 8px;
  background: #2f8f5b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #2f8f5b;
}

.link-button:hover{
  background: #246f47;
  border-color: #246f47;
}

/* ---------- Tighten loose standalone banner sections ---------- */
.photo-box1,
.photo-box2{
  margin: 0;
}

.photo-box1 img,
.photo-box2 img{
  display: block;
  width: 100%;
}

/* =================================================
   TWO PHOTOS SIDE BY SIDE
   Desktop: side by side
   Mobile: stacked
================================================= */

.two-photos{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.two-photos figure{
  width:50%;
  margin:0;
  border:1px solid #ccc;
  padding:6px;
  box-sizing:border-box;
}

.two-photos img{
  width:100%;
  height:auto;
  display:block;
}

.two-photos figcaption{
  font-size:12px;
  margin-top:6px;
  text-align:center;
}

/* Mobile stacking */

@media (max-width:700px){
  .two-photos{
    flex-direction:column;
  }

  .two-photos figure{
    width:100%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .layout-left,
  .layout-right{
    grid-template-columns: 1fr;
  }

  .layout-two-up-images{
    grid-template-columns: 1fr;
  }

  .layout-left .image-frame,
  .layout-right .image-frame,
  .layout-wide .image-frame,
  .layout-two-up-images .image-frame{
    height: 260px;
  }

  .region-banner img{
    height: 220px;
  }

  .chapter-banner img{
    height: 150px;
  }
}

@media (max-width: 700px){
  .pagehead{
    padding: 10px 0 6px;
  }

  .chapter-block{
    padding: 5px;
  }

  .text-panel{
    padding: 5px 5px;
  }
}