.site-main.flc-news-index {
  padding: 128px 0 72px;
  background: #fff;
}

.flc-news-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: start;
  gap: 48px;
  margin-bottom: 36px;
  text-align: left;
}

.flc-news-heading h1 {
  margin: 0 0 18px;
  color: var(--flc-blue);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.flc-news-heading p { margin: 0; max-width: 560px; color: var(--flc-muted); font-size: .98rem; line-height: 1.7; }
.flc-news-search { margin-top: 4px; }
.flc-news-search__field { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 18px; border: 1px solid var(--flc-border-strong); border-radius: 999px; }
.flc-news-search__field:focus-within { outline: 2px solid var(--flc-blue); outline-offset: 3px; }
.flc-news-search input[type="search"] { width: 100%; min-width: 0; min-height: 42px; padding: 0; border: 0; border-radius: 0; outline: none; color: var(--flc-ink); background: transparent; font: inherit; font-size: .88rem; }
.flc-news-search input::placeholder { color: var(--flc-muted); opacity: 1; }
.flc-news-search__submit {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--flc-muted);
  cursor: pointer;
}
.flc-news-search__submit:hover { background: var(--flc-news-surface); color: var(--flc-blue); }
.flc-news-search__submit:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 2px; }

.flc-news-index .flc-news-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.flc-news-filter .flc-chip {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 110px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  background: var(--flc-news-surface);
  color: var(--flc-ink);
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.flc-news-filter .flc-chip:hover { background: var(--flc-news-hover); color: var(--flc-ink); }
.flc-news-filter .flc-chip.is-active { background: var(--flc-blue); color: #fff; }
.flc-news-filter .flc-chip:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 3px; }

.flc-news-results { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 28px; color: var(--flc-muted); font-size: .83rem; }
.flc-news-results p { margin: 0; overflow-wrap: anywhere; }
.flc-news-results strong { color: var(--flc-ink); font-weight: 600; }
.flc-news-results a { color: var(--flc-blue); text-underline-offset: 4px; }
.flc-news-index .pagination { margin: 36px 0 0; }
.flc-news-index .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.flc-news-index .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--flc-news-surface); color: var(--flc-ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.flc-news-index .page-numbers:hover { background: var(--flc-news-hover); }
.flc-news-index .page-numbers.current { background: var(--flc-blue); color: #fff; }
.flc-news-index .page-numbers.dots { min-width: 30px; padding-inline: 4px; background: transparent; }
.flc-news-index .page-numbers:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 3px; }

.flc-news-empty { padding: 48px; border-radius: 16px; background: var(--flc-news-surface); }
.flc-news-empty h2 { max-width: 700px; margin: 0 0 18px; color: var(--flc-blue); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; }
.flc-news-empty p { margin: 0 0 28px; color: var(--flc-muted); font-size: .98rem; }

@media (max-width: 1000px) {
  .flc-news-heading { grid-template-columns: 1fr; gap: 28px; }
  .flc-news-search { max-width: 520px; margin-top: 0; }
}
@media (max-width: 760px) {
  .site-main.flc-news-index { padding: 112px 0 48px; }
  .flc-news-heading { margin-bottom: 28px; }
  .flc-news-heading h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); }
  .flc-news-heading p { font-size: .93rem; }
  .flc-news-search { max-width: none; }
  .flc-news-index .flc-news-filter { gap: 8px; }
  .flc-news-empty { padding: 28px; }
}

/* Team filters share the news controls; portraits keep a quieter card treatment. */
.flc-staff-archive .flc-staff-heading { display: block; }
.flc-staff-archive .flc-staff-filter { display: flex; flex-wrap: wrap; }
.flc-staff-archive .flc-staff-filter .flc-chip { width: auto; min-width: 110px; flex: 0 1 auto; }
.flc-staff-archive .flc-staff-results-title { margin: 8px 0 24px; color: var(--flc-blue); font-size: 1.5rem; }
.flc-staff-archive .flc-staff-card__link { padding: 14px; border: 0; border-radius: var(--flc-radius); background: var(--flc-news-surface); box-shadow: none; }
.flc-staff-archive .flc-staff-card__link:hover { transform: none; box-shadow: none; }
.flc-staff-archive .flc-staff-card__link:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 3px; }
.flc-staff-archive .flc-staff-card__photo { overflow: hidden; border-radius: 9px; }
.flc-staff-archive .flc-staff-card__body { padding: 18px 4px 8px; }
.flc-staff-archive .flc-staff-name { color: var(--flc-ink); font-size: 1.1rem; line-height: 1.3; }
.flc-staff-archive .flc-staff-card__link:hover .flc-staff-name { color: var(--flc-blue); }
.flc-staff-archive .flc-staff-position { margin: 9px 0 0; color: var(--flc-news-muted); font-size: .87rem; font-weight: 400; line-height: 1.5; text-transform: none; }
.flc-staff-archive .flc-staff-placeholder { min-height: 0; background: #e9edf1; color: #7a8796; font-size: 2rem; font-weight: 600; }
@media (max-width: 560px) { .flc-staff-archive .flc-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .flc-staff-archive .flc-staff-name { font-size: .96rem; } .flc-staff-archive .flc-staff-position { font-size: .8rem; } }
.flc-class-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 28px; }
.flc-class-filter label { color: var(--flc-ink); font-size: .9rem; font-weight: 600; }
.flc-class-filter select { min-height: 44px; min-width: 150px; padding: 8px 36px 8px 14px; border: 1px solid var(--flc-border-strong); border-radius: 999px; background: #fff; color: var(--flc-ink); font: inherit; font-size: .9rem; }
.flc-class-filter select:focus-visible, .flc-class-reset:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 3px; }
.flc-class-filter .flc-button { min-height: 44px; padding: 10px 20px; font-size: .85rem; }
.flc-class-reset { color: var(--flc-blue); font-size: .85rem; text-underline-offset: 4px; }
.flc-staff-archive .flc-staff-class { margin: 9px 0 0; color: var(--flc-blue); font-size: .82rem; line-height: 1.45; }
/* Team departments and class leadership are separate levels of navigation. */
.flc-staff-archive .flc-staff-filter .flc-chip { min-height: 40px; padding: 7px 14px; border-radius: 9px; font-size: .85rem; font-weight: 500; }
.flc-staff-archive .flc-class-filter { display: flex; align-items: baseline; gap: 12px 18px; margin: 4px 0 28px; padding-top: 18px; border-top: 1px solid var(--flc-border); }
.flc-class-filter-label { color: var(--flc-muted); font-size: .86rem; font-weight: 600; }
.flc-class-filter-links { display: flex; flex-wrap: wrap; gap: 8px; }
.flc-class-chip, .flc-class-chip:visited { display: inline-flex; justify-content: center; align-items: center; min-height: 36px; min-width: 44px; padding: 6px 12px; border: 1px solid var(--flc-border); border-radius: 6px; color: var(--flc-ink); background: #fff; text-decoration: none; font-size: .85rem; }
.flc-class-chip:hover { border-color: var(--flc-blue); color: var(--flc-blue); }
.flc-class-chip.is-active, .flc-class-chip.is-active:visited { border-color: var(--flc-blue); background: #eaf0f8; color: var(--flc-blue); font-weight: 600; }
.flc-class-chip:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 3px; }
.flc-staff-archive .flc-staff-department { margin: 10px 0 0; color: var(--flc-news-muted); font-size: .77rem; line-height: 1.4; }

/* Align the name, position and department across each row of staff cards. */
.flc-staff-archive .flc-staff-name { min-height: 2.6em; }
.flc-staff-archive .flc-staff-position { min-height: 4.5em; }
@supports (grid-template-rows: subgrid) {
  .flc-staff-archive .flc-staff-grid { row-gap: 0; }
  .flc-staff-archive .flc-staff-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; padding-bottom: 18px; }
  .flc-staff-archive .flc-staff-card__link { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .flc-staff-archive .flc-staff-card__body { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .flc-staff-archive .flc-staff-name, .flc-staff-archive .flc-staff-position { align-self: start; }
}
@supports (grid-template-rows: subgrid) and (max-width: 560px) {
  .flc-staff-archive .flc-staff-card { padding-bottom: 12px; }
}

/* Match the team directory filters and separate them from the results. */
.flc-news-index:not(.flc-staff-archive) .flc-news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--flc-border);
}
.flc-news-index:not(.flc-staff-archive) .flc-news-filter .flc-chip {
  width: auto;
  min-width: 110px;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: .85rem;
  font-weight: 500;
}
@media (max-width: 760px) {
  .flc-news-index:not(.flc-staff-archive) .flc-news-filter { gap: 8px; }
}

/* News pagination follows the same geometry as the archive filters. */
.flc-news-index:not(.flc-staff-archive) .page-numbers { box-sizing: border-box; min-width: 40px; min-height: 40px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: var(--flc-ink); }
.flc-news-index:not(.flc-staff-archive) a.page-numbers:hover { border-color: var(--flc-blue); background: #f2f6fb; color: var(--flc-blue); }
.flc-news-index:not(.flc-staff-archive) .page-numbers.current { border-color: #163e6c; background: #163e6c; color: #fff; }
.flc-news-index:not(.flc-staff-archive) .page-numbers.dots { min-width: 24px; padding: 0; border: 0; background: transparent; }
.flc-news-index:not(.flc-staff-archive) .page-numbers.prev, .flc-news-index:not(.flc-staff-archive) .page-numbers.next { padding: 0 16px; }

/* Keep search with the heading; bring filters and the result count together. */
.flc-news-index:not(.flc-staff-archive) .flc-news-heading { align-items: start; }
.flc-news-index:not(.flc-staff-archive) .flc-news-search { margin-top: calc((clamp(2.4rem, 4.2vw, 3.75rem) * 1.08 - 56px) / 2); }
.flc-news-index:not(.flc-staff-archive) .flc-news-search__field { border-radius: 10px; }
.flc-news-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--flc-border); }
.flc-news-index:not(.flc-staff-archive) .flc-news-controls .flc-news-filter { flex: 1 1 auto; margin: 0; padding: 0; border: 0; }
.flc-news-index:not(.flc-staff-archive) .flc-news-controls .flc-news-filter .flc-chip { min-width: 0; padding: 8px 16px; }
.flc-news-index:not(.flc-staff-archive) .flc-news-controls .flc-news-results { flex: 0 1 auto; align-items: center; margin: 0; }
@media (max-width: 1000px) { .flc-news-index:not(.flc-staff-archive) .flc-news-search { margin-top: 0; } }
@media (max-width: 600px) { .flc-news-controls { gap: 14px; padding-bottom: 16px; margin-bottom: 22px; } .flc-news-index:not(.flc-staff-archive) .flc-news-controls .flc-news-results { flex-basis: 100%; } }

.flc-news-index:not(.flc-staff-archive) .flc-news-results p > strong:last-child { font-weight: 700; }
