
:root{
  --bg:#fff;
  --muted:#6b6b6b;
  --accent:#0b6ef6;
  --card-radius:12px;
}
p{margin: 0;}
*{box-sizing:border-box;margin: 0;padding: 0;}
body{font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans KR",sans-serif;margin:0;background:var(--bg);color:#111;}
.laser-section{max-width:1100px;margin:28px auto;padding:20px;}
.laser-header h1{margin:0;font-size:18px;color:var(--muted);letter-spacing:1px;text-align: center;}
.laser-header h2{margin:-3px 0 0;font-size:28px;text-align: center;}
.laser-header h2:nth-of-type(3){margin-top: 20px;}
.laser-header span{
  font-weight: 600;
}
.hero img{width:100%;height:auto;border-radius:14px;display:block;object-fit:cover;}

/* Grid */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:minmax(500px, auto);gap:18px;margin-top:60px;}
.card{background:#fff;border-radius:var(--card-radius);overflow:hidden;box-shadow:0 6px 18px rgba(20,20,30,0.06);transition:transform .18s ease,box-shadow .18s ease;display:flex;flex-direction:column;align-items:stretch;}
/* .card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(20,20,30,0.08);} */
.thumb{width:100%;height:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(180deg,#f6f7fb,#f0f2f8);display:flex;align-items:center;justify-content:center;}
.thumb img{width:100%;height:100%;object-fit:cover;display:block;transition: transform 0.3s;}
.thumb img:hover{transform: scale(1.1);}
.meta{padding:12px 14px;}
.meta h3{margin:0;font-size:16px;font-weight:600;color:#111;text-align: center;}

/* Pagination */
.pagination{display:flex;gap:8px;justify-content:center;margin:22px 0 6px;align-items:center;}
.page{background:#fff;border:1px solid #e6e8ee;padding:8px 12px;border-radius:8px;cursor:pointer;}
.page.active{background:#000;color:#FFD95F;border-color:#000;}
.page:disabled{opacity:.5;cursor:not-allowed}

/* Responsive tweaks */
@media (max-width:600px){
  .laser-header h2{font-size:20px}
  /* .grid{gap:12px} */
  .grid{grid-template-columns:repeat(2,1fr);gap:12px;} /* 2개 고정 */
  .meta h3{font-size:14px;font-weight:300;}
}


/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
  transition:opacity .25s ease;
  opacity:0;pointer-events:none;
}
.modal[aria-hidden="false"]{opacity:1;pointer-events:auto;}
.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.55);}
.modal-content{
  position:relative;
  background:#fff;
  border-radius:14px;
  max-width:90%;
  max-height:90%;
  overflow:auto;
  padding:16px;
  z-index:1;
  box-shadow:0 8px 24px rgba(0,0,0,0.2);
  width: 95%;

}
.modal_txt{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px;
}
.modal_title{
}
.modal_img_box{

}
.modal-content img{
  object-fit: cover;
  max-width:50%;
  height:auto;
  display:block;
  border-radius:10px;
  margin-bottom:12px;
  aspect-ratio: 548 / 640;
  transition: transform 0.5s ;
}

.modal-content h3{margin:0;font-size:30px;}
.modal-close{position:absolute;top:17px;right:18px;background:none;border:none;font-size:40px;line-height:1;cursor:pointer;}

/* Modal arrows */
.modal_box{
  display: flex;
  background: #E6EBEF;
  padding: 10px;
}
.developer p{margin: 0;}
.modal-prev, .modal-next{
  position:absolute;
  width: 50px;
  height: 50px;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:#fff;
  border:none;
  font-size:30px;
  padding:6px 20px;
  cursor:pointer;
  border-radius:50%;
  z-index:2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-prev{left:10px;}
.modal-next{right:10px;}
.modal-prev:hover, .modal-next:hover{
  background:rgba(0,0,0,0.75);
}
