/* Facilities page. The hero banner comes from about.css (same as the other inner pages).
   Every class here starts with fc- so no other page is touched. */

/* 1. The campus: a wide photograph with the heading and paragraph on a dark glass card at the left */
.fc-campus { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(26rem, 56.25vw, 52rem); padding-block: var(--section); overflow: clip; background: var(--band); color: var(--on-dark); }
.fc-campus__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fc-campus__inner { width: 100%; }
.fc-campus__card { max-width: 38rem; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border: 1px solid var(--line-dark); border-top: 4px solid var(--flame); border-radius: calc(var(--r-lg) * 1.25); background: rgba(8, 40, 85, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fc-campus__title { margin: 0 0 clamp(1rem, 0.75rem + 1vw, 1.5rem); font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 290; line-height: 1.08; letter-spacing: -0.025em; color: var(--base); }
.fc-campus__lead { margin: 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.75; color: var(--base); text-wrap: pretty; }
/* 2. The facilities as an editorial list: a big picture and the words, the sides swap on every row */
.fc-grid { padding-block: var(--section); background: linear-gradient(180deg, var(--base) 0%, var(--flame-tint) 100%); }
.fc-rows { display: grid; gap: clamp(2.5rem, 1.5rem + 5vw, 6rem); margin: 0; padding: 0; list-style: none; }
.fc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; scroll-margin-top: 7rem; }
.fc-row:nth-child(even) .fc-row__photo { order: 2; }
.fc-row__photo { position: relative; margin: 0; }
.fc-row__photo::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--flame); border-radius: calc(var(--r-lg) * 1.25); opacity: 0.7; transition: inset 0.4s; }
.fc-row:nth-child(even) .fc-row__photo::before { inset: 1rem 1rem -1rem -1rem; }
.fc-row__photo:hover::before { inset: 0.5rem -0.5rem -0.5rem 0.5rem; }
.fc-row:nth-child(even) .fc-row__photo:hover::before { inset: 0.5rem 0.5rem -0.5rem -0.5rem; }
.fc-row__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: calc(var(--r-lg) * 1.25); background: var(--surface); box-shadow: 0 1.5rem 3.5rem -2rem rgba(12, 74, 143, 0.5); }
.fc-row__body { position: relative; }
.fc-row__num { display: block; margin-bottom: 0.25rem; font-family: var(--display); font-size: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); font-weight: 250; line-height: 0.9; letter-spacing: -0.04em; color: var(--flame); }
.fc-row__name { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 300; font-style: italic; line-height: 1.1; letter-spacing: -0.02em; color: var(--maroon); }
.fc-row__text { margin: 0; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem); line-height: 1.75; color: var(--text); text-wrap: pretty; }

@media (max-width: 900px) {
  .fc-row { grid-template-columns: minmax(0, 1fr); }
  .fc-row:nth-child(even) .fc-row__photo { order: 0; }
  .fc-row__photo::before, .fc-row:nth-child(even) .fc-row__photo::before { inset: 0.6rem -0.6rem -0.6rem 0.6rem; }
  .fc-row__photo { margin-right: 0.6rem; }
}
