/* =============================================
   FACILITY ARCHIVE PAGE
   ============================================= */

.fac-arc { background: #faf7f0; }

/* ------------------------------------------
   HERO
   ------------------------------------------ */
.fac-arc__hero {
  position: relative;
  height: 50vh;
  min-height: 280px;
  background: #2f5d34;
  background-image: linear-gradient(135deg, #2f5d34 0%, #4a8f50 50%, #3a6b3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fac-arc__hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.fac-arc__hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.fac-arc__hero-label {
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 700;
  opacity: .7;
  margin: 0 0 12px;
}
.fac-arc__hero-h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 12px;
  line-height: 1.2;
}
.fac-arc__hero-sub {
  font-size: clamp(13px, 2vw, 16px);
  opacity: .82;
  margin: 0;
}

/* ------------------------------------------
   GRID
   ------------------------------------------ */
.fac-arc__section {
  padding: 72px 40px 100px;
}
.fac-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.fac-arc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ------------------------------------------
   CARD
   ------------------------------------------ */
.fac-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.fac-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.13);
}

.fac-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8f0e5;
}
.fac-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fac-card:hover .fac-card__img { transform: scale(1.05); }

.fac-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0e5;
}

.fac-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  flex: 1;
}
.fac-card__h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #2a2a24;
  margin: 0 0 14px;
  line-height: 1.4;
}
.fac-card__meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
}
.fac-card__meta-label {
  font-weight: 700;
  color: #3a6b35;
  white-space: nowrap;
  background: #eef5ea;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  flex-shrink: 0;
}
.fac-card__meta-val {
  color: #5a5a52;
  line-height: 1.6;
}
.fac-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #3a6b35;
}
.fac-card__arrow {
  transition: transform .2s;
}
.fac-card:hover .fac-card__arrow { transform: translateX(4px); }

.fac-arc__empty {
  text-align: center;
  background: #f8f7f2;
  border: 1.5px dashed #d4e0d0;
  border-radius: 16px;
  margin: 40px 0;
  color: #9aa890;
  font-size: 15px;
}
.fac-arc__empty::before {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  background: #eef4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%232f5d34' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/28px no-repeat;
  border-radius: 50%;
  margin: 0 auto 14px;
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
/* ------------------------------------------
   MAP
   ------------------------------------------ */
.fac-arc__map-btn-wrap {
  text-align: right;
  margin-bottom: 24px;
}
.fac-arc__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1.5px solid #2f5d34;
  border-radius: 8px;
  color: #2f5d34;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.fac-arc__map-btn:hover {
  background: #2f5d34;
  color: #fff;
}

@media (max-width: 900px) {
  .fac-arc__grid { grid-template-columns: repeat(2, 1fr); }
  .fac-arc__section { padding-left: 20px; padding-right: 20px; }
  .fac-arc__map-sec { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .fac-arc__grid { grid-template-columns: 1fr; }
  .fac-arc__hero { height: 42vh; }
}
