/* =========================================================
   FACILITY PAGE STYLESHEET — GNIPST
   Standard layout for dedicated infrastructure facility pages
   (instrument, auditorium, classroom, computer-lab, etc.)
   ========================================================= */
/* Main Section Padding */
.fac-section {
  padding: 60px 0 80px;
}
.fac-section--tint {
  background: var(--cream, #fbfbf9);
}
/* Kicker, Heading, Lede */
.fac-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700, #145a3a);
  margin-bottom: 12px;
}
.fac-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500, #f0a800);
}
.fac-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 16px;
  line-height: 1.25;
}
.fac-lede {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft, #555);
  max-width: 820px;
  margin: 0 0 36px;
}
/* Feature Grid / Cards */
.fac-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.fac-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.fac-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 960px) {
  .fac-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fac-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fac-grid-4, .fac-grid-3, .fac-grid-2 { grid-template-columns: 1fr; }
}
/* Detail Card */
.fac-card {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 26px 24px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.04));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.fac-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-700, #145a3a);
  box-shadow: 0 18px 36px -16px rgba(10,61,38,.2);
}
.fac-card-badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-900, #0a3d26);
  background: var(--gold-100, #fef3c7);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.fac-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0 0 10px;
}
.fac-card-text {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink-soft, #555);
  margin: 0 0 14px;
  flex: 1;
}
.fac-spec-box {
  margin-top: auto;
  padding: 10px 14px;
  background: var(--green-50, #f0fdf4);
  border-left: 3px solid var(--green-700, #145a3a);
  border-radius: 6px;
  font-size: .84rem;
  color: var(--green-900, #0a3d26);
}
.fac-spec-box strong {
  color: var(--green-800, #0e4b30);
}
/* Highlights Checklist */
.fac-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
@media (max-width: 680px) {
  .fac-list { grid-template-columns: 1fr; }
}
.fac-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink, #1e293b);
}
.fac-list-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold-500, #f0a800);
  margin-top: 3px;
}
/* Info Banner / Table Box (like CPCSEA Animal House info) */
.fac-info-banner {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.04));
}
.fac-info-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.fac-info-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0;
}
.fac-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 4px 12px;
}
.fac-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
}
.fac-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.fac-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fac-meta-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft, #64748b);
}
.fac-meta-val {
  font-size: .94rem;
  font-weight: 600;
  color: var(--green-900, #0a3d26);
}
/* Numbered Step/Section Box (like Museum sections) */
.fac-num-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  transition: all .2s ease;
}
.fac-num-card:hover {
  border-color: var(--gold-500, #f0a800);
  background: #fffdf7;
  transform: translateX(4px);
}
.fac-num-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green-900, #0a3d26);
  color: var(--gold-500, #f0a800);
  font-weight: 800;
  font-size: .9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fac-num-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900, #0a3d26);
  margin: 0 0 4px;
}
.fac-num-content p {
  font-size: .88rem;
  color: var(--ink-soft, #555);
  margin: 0;
  line-height: 1.5;
}
/* Gallery Section in Facility Page */
.fac-gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.fac-gal-item {
  position: relative;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.04));
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.fac-gal-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -16px rgba(10,61,38,.35);
}
.fac-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.fac-gal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,18,13,.88) 100%);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  pointer-events: none;
}
/* Facilities Navigation Bar (Bottom of each facility page) */
.fac-nav-bar {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line, #e2e8f0);
}
.fac-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.fac-nav-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-900, #0a3d26);
  margin: 0;
}
.fac-nav-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--green-700, #145a3a);
  text-decoration: none;
}
.fac-nav-all:hover {
  color: var(--gold-500, #f0a800);
}
.fac-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fac-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  color: var(--green-900, #0a3d26);
  text-decoration: none;
  transition: all .15s ease;
}
.fac-pill:hover {
  background: var(--green-900, #0a3d26);
  color: var(--gold-500, #f0a800);
  border-color: var(--green-900, #0a3d26);
}
.fac-pill.active {
  background: var(--gold-500, #f0a800);
  color: var(--green-900, #0a3d26);
  border-color: var(--gold-500, #f0a800);
  font-weight: 700;
}
