.enlargePrev,
.enlargeNext {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  font-weight: bold;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  z-index: 999999;       /* very high so always on top */
  pointer-events: auto;  /* ensure they receive clicks */
}

.enlargePrev { left: 25px; }
.enlargeNext { right: 25px; }

.enlargePrev:hover,
.enlargeNext:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}


.enlargeModalInner {
  position: relative;
  text-align: center;
  z-index: 10001;
}


.campusTourBox{
  margin-bottom:16px;
}

/* outer strip */
.campusTourBox .ph-strip{
  overflow:hidden;
  position:relative;
  width:100%;
}

/* the moving flex row */
.campusTourBox .ph-track{
  display:flex;
  gap:14px;
  transition:transform .35s ease;
}

/* each card */
.campusTourBox .ph-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:hidden;
  flex:0 0 84%;
  max-width:84%;
  box-shadow:0 4px 16px rgba(15,23,42,.05);
}

/* image */
.campusTourBox .ph-img img{
  display:block;
  width:100%;
  height:180px;
  object-fit:cover;
}

/* title */
.campusTourBox .ph-title{
  padding:8px 10px 10px;
  font-size:13px;
  font-weight:600;
  color:#0f172a;
  min-height:38px;
}

/* show more cards on big screens */
@media (min-width:768px){
  .campusTourBox .ph-card{
    flex:0 0 240px;
    max-width:240px;
  }
  .campusTourBox .ph-img img{
    height:150px;
  }
}

.campusTourBox .ph-dots{
  text-align:center;
  margin-top:10px;
}

.campusTourBox .ph-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#d1d5db;
  margin:0 4px;
  cursor:pointer;
}

.campusTourBox .ph-dot.active{
  background:#111827;
  width:22px;
  transition:width .2s;
}

.campusTourBox .ph-note{
  font-size:11px;
  color:#6b7280;
  margin-top:5px;
}
.enlargeModal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  z-index:9999;
  display:none;
  justify-content:center;
  align-items:center;
  padding:16px;
}
.enlargeModalInner{
  max-width:960px;
  width:100%;
  text-align:center;
}
.enlargeModalClose{
	top: -2px;
    right: 0;
  color:#fff;
  font-size:13px;
  display:inline-block;
  background:rgba(15,23,42,.5);
  padding:4px 10px;
  border-radius:999px;
  cursor:pointer;
  margin-bottom:8px;
}
/* Make photo cards clearly clickable */
#secPhotos .ph-card,
#secPhotos .ph-img img {
  cursor: pointer;
}
#secPhotos .ph-card:hover .ph-img img {
  transform: scale(1.03);
  transition: transform 0.25s ease;
}

