/* Hospital directories and the fire safety programme use the shared PIMS theme. */
.hospital-directory-intro {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: center;
  margin-bottom: 48px;
}
.hospital-directory-intro img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.hospital-directory-intro h2 {
  font-size: 34px;
}
.hospital-directory-intro p:last-child {
  color: var(--muted);
  max-width: 580px;
}
.department-card-pending {
  background: #f8fafb;
  box-shadow: none;
}
.department-card-pending .department-link {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.fire-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  margin-bottom: 42px;
}
.fire-intro img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
.fire-intro h2 {
  font-size: 36px;
}
.fire-intro p {
  color: var(--muted);
  line-height: 1.9;
}
.fire-intro .eyebrow {
  color: var(--teal);
}
.fire-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.fire-schedule {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  font-size: 14px;
  text-align: left;
}
.fire-schedule th {
  background: var(--navy);
  color: white;
  font-weight: 500;
  padding: 17px 18px;
}
.fire-schedule td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.fire-schedule tr:nth-child(even) td {
  background: #f2f7f6;
}
.fire-schedule tr:last-child td {
  border-bottom: 0;
}
.fire-schedule th:first-child,
.fire-schedule td:first-child {
  width: 75px;
}
.fire-schedule td:last-child {
  white-space: nowrap;
}
.fire-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.fire-video-grid figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.fire-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #09283f;
}
.fire-video-grid figcaption {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text);
}
.fire-page .event-section {
  scroll-margin-top: 125px;
}
@media (max-width: 760px) {
  .hospital-directory-intro,
  .fire-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hospital-directory-intro img {
    max-width: 420px;
  }
  .hospital-directory-intro h2,
  .fire-intro h2 {
    font-size: 29px;
  }
  .fire-video-grid {
    grid-template-columns: 1fr;
  }
  .fire-schedule {
    font-size: 13px;
  }
}
