/* =========================================================
   lyb.css
   Load Ya Boat case study
   Unified lighter shadow system
   Dreamweaver-safe
   ========================================================= */

.lyb-intro{
  margin-top: 6px;
  margin-bottom: 18px;
}

.lyb-intro-top{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.lyb-client-logo{
  width: 180px;
  height: auto;
  display: block;
}

.lyb-client-meta{
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 0.88;
}

.lyb-meta-line{
  margin-bottom: 2px;
}

.lyb-lead{
  margin: 0 0 10px;
  max-width: 880px;
  font-size:15px;
}

.lyb-block{
  padding-top: 2px;
  padding-bottom: 4px;
}

.lyb-kicker{
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.lyb-copy{
  margin: 10px 0 12px;
  max-width: 900px;
}

/* =========================================================
   FEATURE BOXES
   ========================================================= */

.lyb-feature{
  max-width: 740px;
  margin: 18px auto 22px;
}

.lyb-feature-box{
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #101114;

border:1px solid #CCC;
}

.lyb-feature-box:hover{
  opacity:0.985;


}

.lyb-feature-box:before{
  content:"";
  display: block;
  padding-top: 56.25%;
}

.lyb-feature-img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   PLAY BUTTON
   ========================================================= */

.lyb-play{
  position: absolute;
  left: 16px;
  top: 16px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
}

.lyb-play:before{
  content:"";
  position: absolute;
  left: 21px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255,255,255,0.88);
}

.lyb-note{
  margin: 10px 0 0;
  opacity: 0.78;
  font-size: 0.95em;
  max-width: 920px;
}

/* =========================================================
   FOUR-COLUMN OUTPUTS
   ========================================================= */

.lyb-four{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.lyb-card{
  width: calc(25% - 14px);
}

.lyb-thumb{
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #101114;
   border:1px solid #CCC;
}

.lyb-thumb:hover{
  opacity:0.985;


}

.lyb-thumb:before{
  content:"";
  display: block;
  padding-top: 72%;
}

.lyb-thumb-img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lyb-h4{
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 400;
}

.lyb-small{
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px){
  .lyb-card{
    width: calc(50% - 9px);
  }
}

@media (max-width: 700px){
  .lyb-card{
    width: 100%;
  }
}

/* =========================================================
   MODAL CSS
   ========================================================= */

.img-modal{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.img-modal.is-open{
  display: block;
}

.img-modal__backdrop{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.82);
}

.img-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  max-width: 980px;
  transform: translate(-50%, -50%);
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
}

.img-modal__close{
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
  z-index: 50;
}

.img-modal__figure{
  margin: 0;
}

.img-modal__img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
}

.img-modal__caption{
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.4;
}

/* =========================================================
   VIDEO MODAL
   ========================================================= */

.vid-modal{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.vid-modal.is-open{
  display: block;
}

.vid-modal__backdrop{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.82);
}

.vid-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  max-width: 980px;
  transform: translate(-50%, -50%);
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
}

.vid-modal__close{
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
  z-index: 50;
}

.vid-modal__wrap{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
}

.vid-modal__wrap iframe{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.vid-modal__caption{
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.4;
}

.modal-lock{
  overflow: hidden;
}

/* =========================================================
   PACKAGING MOCK-UP
   ========================================================= */

.lyb-pack{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.lyb-pack-box{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;


  padding: 14px;
}

.lyb-pack-box:hover{
  opacity:0.985;


}

.lyb-pack-img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   INTRO 2-COLUMN LAYOUT
   ========================================================= */

.lyb-intro2{
  display: flex;
  gap: 26px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 18px;
}

.lyb-intro-left{
  width: 320px;
  max-width: 100%;
}

.lyb-intro-right{
  flex: 1;
  min-width: 280px;
}

.lyb-client-logo{
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.lyb-client-meta{
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 0.88;
}

.lyb-lead{
  margin: 0 0 10px;
}