/* refactor-index-127.css */
.image-blog-section{background:linear-gradient(180deg,#f8f9fc 0%,#fff 100%)}
.image-blog-carousel{position:relative}
.image-blog-viewport{overflow:hidden}
.image-blog-track{display:flex;gap:18px;transition:transform .5s ease}
.image-blog-card{
  flex:0 0 calc((100% - 36px)/3);
  background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden;
  box-shadow:0 7px 22px rgba(15,30,74,.055);transition:.2s ease
}
.image-blog-card:hover{transform:translateY(-4px);box-shadow:0 13px 30px rgba(15,30,74,.1)}
.image-blog-card img{width:100%;height:190px;object-fit:cover;display:block}
.image-blog-body{padding:18px}
.image-blog-body span{color:var(--orange-dark);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.image-blog-body h3{margin:7px 0 8px;color:var(--navy);font-size:18px;line-height:1.35}
.image-blog-body p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.image-blog-body small{display:block;margin-top:12px;color:#8993a1}
.image-blog-btn{
  position:absolute;top:46%;transform:translateY(-50%);z-index:5;
  width:40px;height:40px;border-radius:50%;border:0;background:var(--navy);
  color:#fff;font-size:27px;cursor:pointer;box-shadow:0 7px 18px rgba(15,30,74,.18)
}
.image-blog-btn:hover{background:var(--orange)}
.image-blog-prev{left:-15px}.image-blog-next{right:-15px}
.image-blog-dots{display:flex;justify-content:center;gap:7px;margin-top:17px}
.image-blog-dot{width:8px;height:8px;border:0;border-radius:50%;background:#cfd5df;padding:0}
.image-blog-dot.active{background:var(--orange);transform:scale(1.25)}
@media(max-width:1000px){.image-blog-card{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:650px){
  .image-blog-card{flex-basis:100%}
  .image-blog-prev{left:4px}.image-blog-next{right:4px}
}

/* refactor-index-128.css */
.our-libraries-section{
  background:linear-gradient(180deg,#ffffff 0%,#f7f8fb 100%);
}
.libraries-carousel{position:relative}
.libraries-viewport{overflow:hidden}
.libraries-track{
  display:flex;
  gap:18px;
  transition:transform .5s ease;
}
.library-card{
  flex:0 0 calc((100% - 36px)/3);
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 7px 24px rgba(15,30,74,.055);
  transition:.22s ease;
}
.library-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(15,30,74,.10);
}
.library-card img{
  width:100%;
  height:205px;
  object-fit:cover;
  display:block;
}
.library-card-body{padding:20px}
.library-card-body > span{
  display:block;
  color:var(--orange-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.library-card-body h3{
  margin:6px 0 8px;
  color:var(--navy);
  font-size:21px;
}
.library-card-body p{
  min-height:66px;
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
  line-height:1.58;
}
.know-more-btn{
  border:0;
  border-radius:8px;
  background:var(--navy);
  color:#fff;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer;
}
.know-more-btn:hover{background:var(--orange)}
.libraries-btn{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,30,74,.18);
}
.libraries-btn:hover{background:var(--orange)}
.libraries-prev{left:-17px}
.libraries-next{right:-17px}
.libraries-dots{
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:17px;
}
.libraries-dot{
  width:8px;height:8px;padding:0;border:0;border-radius:50%;
  background:#cfd5df;cursor:pointer
}
.libraries-dot.active{background:var(--orange);transform:scale(1.25)}

/* Modal */
.library-modal{
  position:fixed;
  inset:0;
  z-index:500;
  display:none;
}
.library-modal.show{display:block}
.library-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,15,38,.72);
  backdrop-filter:blur(5px);
}
.library-modal-dialog{
  position:relative;
  z-index:2;
  width:min(920px,calc(100% - 30px));
  max-height:90vh;
  overflow:auto;
  margin:5vh auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 25px 70px rgba(0,0,0,.28);
}
.library-modal-close{
  position:absolute;
  right:14px;
  top:14px;
  z-index:5;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(9,20,51,.86);
  color:#fff;
  font-size:25px;
  cursor:pointer;
}
.library-modal-cover{
  height:260px;
  position:relative;
  overflow:hidden;
}
.library-modal-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.library-modal-cover:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 25%,rgba(5,18,49,.88) 100%);
}
.library-modal-cover-overlay{
  position:absolute;
  left:30px;
  right:30px;
  bottom:25px;
  z-index:2;
  color:#fff;
}
.library-modal-cover-overlay span{
  color:#ffc66b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.library-modal-cover-overlay h2{
  margin:5px 0 0;
  color:#fff;
  font-size:32px;
}
.library-modal-content{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:26px;
  padding:28px;
}
.library-modal-about h3{
  margin-top:0;
  color:var(--navy);
}
.library-modal-about p{
  color:var(--muted);
  line-height:1.7;
}
.library-modal-features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:18px;
}
.library-feature{
  padding:12px 13px;
  border:1px solid var(--border);
  border-radius:9px;
  background:#fafbfe;
  color:var(--navy);
  font-size:13px;
  font-weight:600;
}
.library-modal-staff{
  background:#f7f8fb;
  border:1px solid var(--border);
  border-radius:13px;
  padding:18px;
}
.staff-panel-title{
  color:var(--navy);
  font-size:17px;
  font-weight:800;
  margin-bottom:12px;
}
.modal-staff-member{
  padding:12px 0;
  border-bottom:1px solid var(--border);
}
.modal-staff-member:last-child{border-bottom:0}
.modal-staff-member strong{
  display:block;
  color:var(--navy);
  font-size:14px;
}
.modal-staff-member span{
  display:block;
  color:var(--orange-dark);
  font-size:12px;
  margin:2px 0;
}
.modal-staff-member small{
  color:var(--muted);
  font-size:11px;
}
.modal-staff-link{
  display:inline-block;
  margin-top:14px;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
}
.modal-staff-link:hover{color:var(--orange-dark)}

.library-modal-gallery-wrap{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--border);
}
.modal-section-title{
  color:var(--navy);
  font-size:17px;
  font-weight:800;
  margin-bottom:12px;
}
.library-modal-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.library-modal-gallery img{
  width:100%;
  height:105px;
  object-fit:cover;
  border-radius:9px;
  border:1px solid var(--border);
  cursor:pointer;
  transition:.2s ease;
}
.library-modal-gallery img:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(15,30,74,.12);
}

.modal-staff-member{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:11px;
  align-items:center;
}
.modal-staff-photo{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #fff;
  box-shadow:0 4px 12px rgba(15,30,74,.15);
}
.modal-staff-info strong{
  display:block;
  color:var(--navy);
  font-size:14px;
}
.modal-staff-info span{
  display:block;
  color:var(--orange-dark);
  font-size:12px;
  margin:2px 0;
}
.modal-staff-info small{
  color:var(--muted);
  font-size:11px;
}
.staff-photo-note{
  margin-top:10px;
  color:#8a93a1;
  font-size:10px;
  line-height:1.45;
}
@media(max-width:1000px){
  .library-card{flex-basis:calc((100% - 18px)/2)}
}
@media(max-width:720px){
  .library-card{flex-basis:100%}
  .libraries-prev{left:4px}
  .libraries-next{right:4px}
  .library-modal-content{grid-template-columns:1fr}
  .library-modal-features{grid-template-columns:1fr}
  .library-modal-cover{height:215px}
}
