/* Only the Leadership page loads this stylesheet. */
/* Hero: the boardroom skyline photo, with its blue tint built into the image, taller than other compact banners. */
.page-banner.leadership-banner { background-image: url("../images/leadership-bg.jpg"); background-position: center; }
.leadership-banner .page-banner-inner { min-height: 17rem; }
@media (min-width: 48rem) { .page-banner.leadership-banner .page-banner-inner { min-height: calc(13.5rem + 16vw); } }
@media (min-width: 75rem) { .page-banner.leadership-banner .page-banner-inner { min-height: calc(26rem + 5.5vw); } }
.leadership-page { --leadership-placeholder: #dcebd5; --leadership-panel: #f2f3f3; color: var(--ink); }
.leadership-container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)); }
.leadership-content { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
/* Team: the CEO's card leads at full width, with the other members below it.
   Photos show whole at their 4:5 ratio (the CEO's fills its card instead); a longer bio makes the
   card taller than its photo. Photo beside bio from tablet up; below 64rem the
   members stack, and above it they sit three across with the photo on top.
   align-content keeps a shorter card's spare height below its bio, and three
   across, every name gets a two-line slot (bottom-aligned, so the role hugs it)
   so the roles and bios line up even when one name wraps. */
.leadership-team { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
.leadership-member { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; border-bottom: 4px solid var(--accent); background: var(--leadership-panel); }
.leadership-ceo { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.leadership-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.leadership-bio { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); }
.leadership-bio h2 { margin: 0 0 .35rem; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; }
.leadership-bio p { max-width: 66ch; margin: .75rem 0 0; line-height: 1.6; }
.leadership-bio .leadership-role { margin: 0 0 1.25rem; color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.leadership-related { margin-top: clamp(3rem, 6vw, 5rem); }
.leadership-related > h2 { margin: 0 0 2rem; padding-left: 1.25rem; border-left: 2px solid var(--accent); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.35; }
.leadership-related ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.leadership-related-card { min-width: 0; background: var(--leadership-panel); }
.leadership-related-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.leadership-card-image { overflow: hidden; aspect-ratio: 4 / 3; background: var(--leadership-placeholder); border-bottom: 6px solid var(--accent); }
.leadership-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
/* The patrol vehicle sits in the lower half of its photo. */
.leadership-card-image .leadership-card-image-low { object-position: 60% 75%; }
/* Keeps both officers in frame when the wide photo is cropped to 4:3. */
.leadership-card-image .leadership-card-image-left { object-position: 30% 50%; }
.leadership-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1rem; }
.leadership-card-copy h3 { margin: 0 0 1.75rem; font-size: 1.125rem; line-height: 1.3; }
.leadership-card-action { margin-top: auto; color: var(--accent); font-size: .875rem; font-weight: 700; text-transform: uppercase; }
@media (min-width: 48rem) {
  .leadership-member { grid-template-columns: clamp(12rem, 36%, 17rem) minmax(0, 1fr); }
  /* The CEO's photo fills the card's full height so it lines up with the bio top and bottom. */
  .leadership-ceo { grid-template-columns: clamp(14rem, 40%, 24rem) minmax(0, 1fr); align-items: stretch; }
  .leadership-ceo .leadership-photo { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center top; }
  .leadership-ceo .leadership-bio { padding: clamp(1.5rem, 3.5vw, 3rem); }
  .leadership-ceo h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
  .leadership-related ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .leadership-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leadership-team .leadership-member { grid-template-columns: minmax(0, 1fr); }
  .leadership-team .leadership-bio h2 { display: flex; align-items: flex-end; min-height: 2.4em; }
}
@media (hover: hover) and (pointer: fine) {
  .leadership-related-card a:not([aria-disabled="true"]):hover .leadership-card-action { color: #a5142e; }
}
