/* Leadership: formal corporate treatment (uniform portrait photos, quiet cards) + centered bio popup */
body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1099px) { body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 799px) { body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; } }
@media (max-width: 519px) { body.rec-site main .rc9-lead__grid { grid-template-columns: minmax(0, 1fr); } }

/* card = portrait, name, title, link. No box, no shadow */
body.rec-site main .rc9-lead__card { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 0; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
body.rec-site main .rc9-lead__card::before, body.rec-site main .rc9-lead__card::after { content: none !important; }
body.rec-site main .rc9-lead__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 2px; margin: 0 0 18px; background: #e9eff5; color: #11294b; display: grid; place-items: center; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: .04em; overflow: hidden; position: relative; }
body.rec-site main .rc9-lead__photo:not(.has-img) span { opacity: .34; }
body.rec-site main .rc9-lead__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
body.rec-site main .rc9-lead__card h3 { font-size: 20px; line-height: 1.2; font-weight: 800; color: #11294b; margin: 0 0 6px; letter-spacing: 0; }
body.rec-site main .rc9-lead__title { font-size: 15px; line-height: 1.4; color: #4a5a70; min-height: 0; margin: 0 0 14px; }
body.rec-site main .rc9-lead__more { align-self: flex-start; margin: 0; padding: 0 0 3px; min-height: 44px; background: transparent; border: 0; border-bottom: 2px solid #f8bb75; border-radius: 0; color: #11294b; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
body.rec-site main .rc9-lead__more:hover, body.rec-site main .rc9-lead__more:focus-visible { background: transparent; color: #11294b; border-bottom-color: #11294b; }
body.rec-site main .rc9-lead__card .rc9-lead__links { display: none; }
.rc9-lead__card[aria-expanded="true"] .rc9-lead__photo { outline: 3px solid #80b8d7; outline-offset: 3px; }
.rc9-lead__bio[hidden] { display: none; }

/* popup */
.rc9-pop { position: fixed; inset: 0; z-index: 300; display: none; }
.rc9-pop.is-open { display: block; }
.rc9-pop__scrim { position: absolute; inset: 0; background: rgba(8, 20, 40, .66); }
.rc9-pop__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100% - 40px)); max-height: calc(100% - 48px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 4px; box-shadow: 0 30px 80px rgba(8, 20, 40, .5); display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.rc9-pop__photo { background: #e9eff5; color: #11294b; display: grid; place-items: center; font-size: 84px; font-weight: 800; letter-spacing: .04em; position: relative; overflow: hidden; min-height: 100%; }
.rc9-pop__photo span { opacity: .34; }
.rc9-pop__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.rc9-pop__body { padding: 44px 48px 30px; }
.rc9-pop__name { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 800; color: #11294b; letter-spacing: -.005em; }
.rc9-pop__name:focus, .rc9-pop__name:focus-visible { outline: none; }
.rc9-pop__title { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4a5a70; }
.rc9-pop__rule { display: block; width: 44px; height: 3px; background: #f8bb75; margin: 18px 0 20px; }
.rc9-pop__bio p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: #33445c; }
.rc9-pop__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.rc9-pop__links li { padding: 0; border: 0; }
.rc9-pop__links li::before { content: none !important; }
.rc9-pop__links a, .rc9-pop__msg { display: inline-block; font: inherit; font-size: 14px; font-weight: 700; padding: 10px 20px; min-height: 44px; border: 1px solid #11294b; border-radius: var(--radius-sm, 4px); color: #11294b; text-decoration: none; line-height: 1.5; background: #fff; cursor: pointer; }
.rc9-pop__msg { background: #11294b; color: #fff; }
.rc9-pop__links a:hover, .rc9-pop__links a:focus-visible { background: #11294b; color: #fff; }
.rc9-pop__msg:hover, .rc9-pop__msg:focus-visible { background: #1f4577; border-color: #1f4577; }
.rc9-pop__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 14px; border-top: 1px solid #e3e8ee; }
.rc9-pop__nav button { font: inherit; font-size: 14px; font-weight: 700; color: #11294b; background: transparent; border: 0; padding: 10px 4px; min-height: 44px; cursor: pointer; }
.rc9-pop__nav button:hover, .rc9-pop__nav button:focus-visible { text-decoration: underline; }
.rc9-pop__count { font-size: 13px; color: #6a7b93; letter-spacing: .06em; }
.rc9-pop__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: var(--radius-sm, 4px); border: 0; background: rgba(255,255,255,.9); color: #11294b; font-size: 26px; line-height: 1; cursor: pointer; }
.rc9-pop__close:hover, .rc9-pop__close:focus-visible { background: #11294b; color: #fff; }
/* message form */
.rc9-pop__form .form-field { margin-bottom: 14px; }
.rc9-pop__form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rc9-pop__form input, .rc9-pop__form textarea { width: 100%; box-sizing: border-box; }
.rc9-pop__form textarea { min-height: 110px; }
.rc9-pop__formbtns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.rc9-pop__back { font: inherit; font-size: 14px; font-weight: 700; color: #11294b; background: transparent; border: 0; padding: 10px 4px; min-height: 44px; cursor: pointer; text-decoration: underline; }
/* phones: bottom sheet */
@media (max-width: 760px) {
  .rc9-pop__panel { display: block; left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92%; border-radius: 14px 14px 0 0; }
  .rc9-pop__photo { min-height: 0; aspect-ratio: 4 / 3; font-size: 64px; }
  .rc9-pop__photo.has-img img { object-position: 50% 20%; }
  .rc9-pop__body { padding: 24px 22px 26px; }
  .rc9-pop__form .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .rc9-pop__panel { animation: none !important; } }

/* ===== consistency pass: rows align, popup never changes size between people ===== */
/* cards: name, 2-line title slot, link pinned to the bottom, so every row lines up */
body.rec-site main .rc9-lead__card { display: flex; flex-direction: column; height: 100%; }
body.rec-site main .rc9-lead__card h3 { font-size: 19px; min-height: 1.2em; margin: 0 0 6px; }
body.rec-site main .rc9-lead__title { min-height: 2.8em; margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
body.rec-site main .rc9-lead__more { margin-top: auto; }
/* neutral portrait placeholder (until real photos): quiet silhouette, no initials */
body.rec-site main .rc9-lead__photo:not(.has-img) span, .rc9-pop__photo:not(.has-img) span { display: none; }
body.rec-site main .rc9-lead__photo:not(.has-img), .rc9-pop__photo:not(.has-img) { background: #e9eff5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Ccircle cx='60' cy='50' r='24' fill='%23b9c6d6'/%3E%3Cpath d='M12 150c0-30 21-50 48-50s48 20 48 50z' fill='%23b9c6d6'/%3E%3C/svg%3E") center 62% / 62% auto no-repeat; }
/* popup: fixed size on desktop; only the bio scrolls if a bio is long */
@media (min-width: 761px) {
  .rc9-pop__panel { height: min(660px, calc(100% - 48px)); overflow: hidden; }
  .rc9-pop__photo { min-height: 0; height: 100%; }
  .rc9-pop__body { display: flex; flex-direction: column; min-height: 0; height: 100%; box-sizing: border-box; padding: 40px 48px 24px; overflow-y: auto; }
  .rc9-pop__bio { flex: 1 1 auto; min-height: 0; }
  .rc9-pop__links, .rc9-pop__nav { flex: 0 0 auto; }
  .rc9-pop__nav { margin-top: 20px; }
}
@media (max-width: 760px) {
  .rc9-pop__panel { height: 90%; max-height: 90%; overflow-y: auto; }
}
/* sizing so the longest bio fits without scrolling on a normal laptop screen */
@media (min-width: 761px) {
  .rc9-pop__panel { width: min(1000px, calc(100% - 40px)); height: min(720px, calc(100% - 40px)); grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .rc9-pop__body { padding: 36px 44px 18px; }
  .rc9-pop__rule { margin: 14px 0 16px; }
  .rc9-pop__bio p { font-size: 15.5px; line-height: 1.62; margin: 0 0 12px; }
  .rc9-pop__links { margin-top: 14px; }
  .rc9-pop__nav { margin-top: 14px; padding-top: 8px; }
  /* if a short window forces scrolling, fade the edge so cut-off text looks intentional */
  .rc9-pop__bio { overflow-y: auto; -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
}

/* ===== type system for the Leadership page (one scale, three weights: 400 / 600 / 700) ===== */
body.rec-site main .rc9-lead__card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: 0; margin: 0 0 4px; }
body.rec-site main .rc9-lead__title { font-size: 14px; font-weight: 400; line-height: 1.45; letter-spacing: 0; color: #4a5a70; min-height: 2.9em; margin: 0 0 12px; }
body.rec-site main .rc9-lead__more { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; padding-bottom: 2px; }
body.rec-site main .rc9-lead__photo { border-radius: 0; margin-bottom: 16px; }
.rc9-pop__panel { border-radius: 2px; }
.rc9-pop__name { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: 0; margin: 0 0 6px; }
.rc9-pop__title { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; }
.rc9-pop__rule { width: 36px; height: 2px; margin: 14px 0 16px; }
.rc9-pop__bio p { font-size: var(--bio-fs, 15px); font-weight: 400; line-height: 1.58; letter-spacing: 0; margin: 0 0 .75em; color: #2f4058; }
.rc9-pop__links a, .rc9-pop__msg { font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 9px 18px; min-height: 42px; }
.rc9-pop__nav button { font-size: 13px; font-weight: 600; }
.rc9-pop__count { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
/* fade only when a very short window forces scrolling */
@media (min-width: 761px) { .rc9-pop__bio { -webkit-mask-image: none; mask-image: none; } .rc9-pop__panel.is-scroll .rc9-pop__bio { -webkit-mask-image: linear-gradient(#000 calc(100% - 20px), transparent); mask-image: linear-gradient(#000 calc(100% - 20px), transparent); } }
@media (max-height: 720px) and (min-width: 761px) { .rc9-pop__body { padding: 26px 40px 12px; } .rc9-pop__rule { margin: 10px 0 12px; } .rc9-pop__links { margin-top: 10px; } .rc9-pop__nav { margin-top: 10px; padding-top: 4px; } }

/* ===== popup photo column: whole portrait (never cropped), centered, fading into deep blue top and bottom ===== */
.rc9-pop__photo { background: linear-gradient(180deg, #0b1d3a 0%, #11294b 50%, #0b1d3a 100%); display: flex; align-items: center; justify-content: center; }
.rc9-pop__photo.has-img img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%); }
.rc9-pop__photo:not(.has-img) { background: #11294b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Ccircle cx='60' cy='50' r='24' fill='%23375077'/%3E%3Cpath d='M12 150c0-30 21-50 48-50s48 20 48 50z' fill='%23375077'/%3E%3C/svg%3E") center 52% / 56% auto no-repeat; }
@media (max-width: 760px) {
  .rc9-pop__photo { aspect-ratio: auto; height: 270px; background: linear-gradient(90deg, #0b1d3a 0%, #11294b 50%, #0b1d3a 100%); }
  .rc9-pop__photo.has-img img { width: auto; height: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); }
}

/* ===== black look: black page, black-and-white photography ===== */
html[data-lead-look="dark"] body.rec-site main { background: #050505; }
html[data-lead-look="dark"] body.rec-site main .rec-hero, html[data-lead-look="dark"] body.rec-site main section#leaders { background: #050505 !important; }
html[data-lead-look="dark"] body.rec-site main .rec-hero::before, html[data-lead-look="dark"] body.rec-site main .rec-hero::after, html[data-lead-look="dark"] body.rec-site main section#leaders::before, html[data-lead-look="dark"] body.rec-site main section#leaders::after, html[data-lead-look="dark"] .rec-hero__glow { display: none !important; }
html[data-lead-look="dark"] body.rec-site main .breadcrumb, html[data-lead-look="dark"] body.rec-site main .breadcrumb a, html[data-lead-look="dark"] body.rec-site main .breadcrumb span { color: #8e99aa; }
html[data-lead-look="dark"] body.rec-site main .rec-eyebrow { color: #b9c3d2; }
html[data-lead-look="dark"] body.rec-site main .rec-hero h1 { color: #fff; }
html[data-lead-look="dark"] body.rec-site main .rec-hero__intro { color: #aab5c5; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__card h3 { color: #fff; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__title { color: #9aa6b8; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__more { color: #fff; border-bottom-color: #f8bb75; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__more:hover, html[data-lead-look="dark"] body.rec-site main .rc9-lead__more:focus-visible { color: #fff; border-bottom-color: #fff; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__photo { background-color: #12161d; }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__photo.has-img img, html[data-lead-look="dark"] .rc9-pop__photo.has-img img { filter: grayscale(1) contrast(1.06) brightness(.98); }
html[data-lead-look="dark"] body.rec-site main .rc9-lead__photo:not(.has-img) { background-color: #12161d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Ccircle cx='60' cy='50' r='24' fill='%2333404f'/%3E%3Cpath d='M12 150c0-30 21-50 48-50s48 20 48 50z' fill='%2333404f'/%3E%3C/svg%3E"); }
html[data-lead-look="dark"] .rc9-lead__card[aria-expanded="true"] .rc9-lead__photo { outline-color: #f8bb75; }
html[data-lead-look="dark"] .rc9-pop__scrim { background: rgba(0, 0, 0, .78); }
html[data-lead-look="dark"] .rc9-pop__panel { background: #0b0d11; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
html[data-lead-look="dark"] .rc9-pop__photo { background: linear-gradient(180deg, #000 0%, #0e1218 50%, #000 100%); }
html[data-lead-look="dark"] .rc9-pop__photo:not(.has-img) { background-color: #0e1218; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Ccircle cx='60' cy='50' r='24' fill='%2333404f'/%3E%3Cpath d='M12 150c0-30 21-50 48-50s48 20 48 50z' fill='%2333404f'/%3E%3C/svg%3E"); }
html[data-lead-look="dark"] .rc9-pop__name { color: #fff; }
html[data-lead-look="dark"] .rc9-pop__title { color: #9aa6b8; }
html[data-lead-look="dark"] .rc9-pop__bio p { color: #d3dae4; }
html[data-lead-look="dark"] .rc9-pop__msg { background: #fff; color: #0b0d11; border-color: #fff; }
html[data-lead-look="dark"] .rc9-pop__msg:hover, html[data-lead-look="dark"] .rc9-pop__msg:focus-visible { background: #f8bb75; border-color: #f8bb75; }
html[data-lead-look="dark"] .rc9-pop__links a { background: transparent; color: #fff; border-color: #6b7686; }
html[data-lead-look="dark"] .rc9-pop__links a:hover, html[data-lead-look="dark"] .rc9-pop__links a:focus-visible { background: #fff; color: #0b0d11; border-color: #fff; }
html[data-lead-look="dark"] .rc9-pop__nav { border-top-color: #232a35; }
html[data-lead-look="dark"] .rc9-pop__nav button { color: #fff; }
html[data-lead-look="dark"] .rc9-pop__count { color: #7d8898; }
html[data-lead-look="dark"] .rc9-pop__close { background: rgba(0,0,0,.55); color: #fff; }
html[data-lead-look="dark"] .rc9-pop__close:hover, html[data-lead-look="dark"] .rc9-pop__close:focus-visible { background: #fff; color: #000; }
html[data-lead-look="dark"] .rc9-pop__form label { color: #d3dae4; }
html[data-lead-look="dark"] .rc9-pop__form input, html[data-lead-look="dark"] .rc9-pop__form textarea { background: #12161d; color: #fff; border: 1px solid #343c4a; }
html[data-lead-look="dark"] .rc9-pop__back { color: #fff; }
html[data-lead-look="dark"] .rc9-lead-bar .rc9-toggle-bar__label { color: #aab5c5; }
html[data-lead-look="dark"] .rc9-lead-bar button { background: transparent; color: #fff; border-color: #5b6676; }
html[data-lead-look="dark"] .rc9-lead-bar button.is-active { background: #fff; color: #050505; }
/* larger portrait column, shorter card */
@media (min-width: 761px) {
  .rc9-pop__panel { width: min(1020px, calc(100% - 40px)); height: min(640px, calc(100% - 40px)); grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

/* ===== popup photo styles (review options): fade (default) / frame / caption / tall ===== */
.rc9-pop__side { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.rc9-pop__side > .rc9-pop__photo { flex: 1 1 auto; height: auto; min-height: 0; }
.rc9-pop__sidebtns { display: none; }
/* frame: clean white panel, portrait with a hairline border */
html[data-lead-photo="frame"] .rc9-pop__side { background: #fff; padding: 36px 0 24px 44px; justify-content: flex-start; }
html[data-lead-photo="frame"] .rc9-pop__side > .rc9-pop__photo { flex: 0 0 auto; width: 100%; aspect-ratio: 4 / 5; background: #e9eff5; border: 1px solid #d5dde8; display: block; }
html[data-lead-photo="frame"] .rc9-pop__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 15%; }
html[data-lead-photo="frame"] .rc9-pop__photo:not(.has-img) { background-color: #e9eff5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Ccircle cx='60' cy='50' r='24' fill='%23b9c6d6'/%3E%3Cpath d='M12 150c0-30 21-50 48-50s48 20 48 50z' fill='%23b9c6d6'/%3E%3C/svg%3E"); }
/* caption: portrait on top, deep-blue panel under it holding the buttons */
html[data-lead-photo="caption"] .rc9-pop__side { background: #11294b; }
html[data-lead-photo="caption"] .rc9-pop__side > .rc9-pop__photo { flex: 0 0 auto; width: 100%; aspect-ratio: 4 / 5; display: block; background: #1a3560; }
html[data-lead-photo="caption"] .rc9-pop__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 15%; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; padding: 16px 28px; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__links { margin: 0; width: 100%; flex-direction: column; gap: 10px; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__links li { width: 100%; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__links a, html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__msg { display: block; width: 100%; text-align: center; box-sizing: border-box; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__msg { background: #fff; color: #11294b; border-color: #fff; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__msg:hover { background: #f8bb75; border-color: #f8bb75; }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__links a { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
html[data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__links a:hover { background: #fff; color: #11294b; }
/* tall: one tall portrait filling the whole column, no fade */
html[data-lead-photo="tall"] .rc9-pop__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 12%; }
html[data-lead-photo="tall"] .rc9-pop__side > .rc9-pop__photo { display: block; }
/* dark look versions */
html[data-lead-look="dark"][data-lead-photo="frame"] .rc9-pop__side { background: #0b0d11; }
html[data-lead-look="dark"][data-lead-photo="frame"] .rc9-pop__side > .rc9-pop__photo { border-color: #2a313c; background: #12161d; }
html[data-lead-look="dark"][data-lead-photo="caption"] .rc9-pop__side { background: #000; }
html[data-lead-look="dark"][data-lead-photo="caption"] .rc9-pop__sidebtns .rc9-pop__msg { color: #000; }
/* phones */
@media (max-width: 760px) {
  .rc9-pop__side { display: block; }
  html[data-lead-photo="frame"] .rc9-pop__side { padding: 22px 0 0; display: flex; justify-content: center; }
  html[data-lead-photo="frame"] .rc9-pop__side > .rc9-pop__photo { width: 190px; height: auto; }
  html[data-lead-photo="caption"] .rc9-pop__side > .rc9-pop__photo { aspect-ratio: auto; height: 300px; }
  html[data-lead-photo="caption"] .rc9-pop__sidebtns { padding: 16px 22px 20px; }
  html[data-lead-photo="tall"] .rc9-pop__side > .rc9-pop__photo { height: 300px; }
}

/* phones: the whole portrait is always shown (no crop), centered above the text, for every photo style */
@media (max-width: 760px) {
  html .rc9-pop__side { display: block; padding: 0 !important; }
  html[data-lead-photo] .rc9-pop__side > .rc9-pop__photo { flex: none; width: 100%; height: 300px; aspect-ratio: auto; border: 0; display: flex; align-items: center; justify-content: center; }
  html[data-lead-photo] .rc9-pop__photo.has-img img { position: static; inset: auto; width: auto; height: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
  html[data-lead-photo="fade"] .rc9-pop__photo.has-img img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); }
  html[data-lead-photo="frame"] .rc9-pop__side > .rc9-pop__photo { background: #fff; padding: 20px 0 0; box-sizing: border-box; height: 320px; }
  html[data-lead-photo="frame"] .rc9-pop__photo.has-img img { border: 1px solid #d5dde8; box-sizing: border-box; height: 100%; }
  html[data-lead-photo="caption"] .rc9-pop__side > .rc9-pop__photo, html[data-lead-photo="tall"] .rc9-pop__side > .rc9-pop__photo { background: #11294b; }
  html[data-lead-look="dark"][data-lead-photo="caption"] .rc9-pop__side > .rc9-pop__photo, html[data-lead-look="dark"][data-lead-photo="tall"] .rc9-pop__side > .rc9-pop__photo { background: #000; }
  html[data-lead-photo="caption"] .rc9-pop__sidebtns { padding: 14px 22px 18px; }
}

/* both: framed portrait inset in the deep-blue panel, buttons under it */
html[data-lead-photo="both"] .rc9-pop__side { background: #11294b; padding: 36px 36px 28px; }
html[data-lead-photo="both"] .rc9-pop__side > .rc9-pop__photo { flex: 0 0 auto; width: 100%; aspect-ratio: 4 / 5; display: block; background: #1a3560; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
html[data-lead-photo="both"] .rc9-pop__photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 15%; }
html[data-lead-photo="both"] .rc9-pop__sidebtns { display: flex; flex: 1 1 auto; align-items: flex-end; justify-content: center; padding: 18px 0 0; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__links { margin: 0; width: 100%; flex-direction: column; gap: 10px; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__links li { width: 100%; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__links a, html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__msg { display: block; width: 100%; text-align: center; box-sizing: border-box; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__msg { background: #fff; color: #11294b; border-color: #fff; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__msg:hover { background: #f8bb75; border-color: #f8bb75; }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__links a { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
html[data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__links a:hover { background: #fff; color: #11294b; }
html[data-lead-look="dark"][data-lead-photo="both"] .rc9-pop__side { background: #000; }
html[data-lead-look="dark"][data-lead-photo="both"] .rc9-pop__sidebtns .rc9-pop__msg { color: #000; }
@media (max-width: 760px) {
  html[data-lead-photo="both"] .rc9-pop__side > .rc9-pop__photo { background: #11294b; height: 320px; padding: 20px 0 0; box-sizing: border-box; }
  html[data-lead-photo="both"] .rc9-pop__photo.has-img img { border: 1px solid rgba(255,255,255,.35); box-sizing: border-box; height: 100%; }
  html[data-lead-photo="both"] .rc9-pop__sidebtns { padding: 16px 22px 20px; }
}

/* ===== bigger cards: wider grid, rows of 4 as large as the screen allows ===== */
body.rec-site main section#leaders .opt-rail { width: min(1560px, calc(100% - 64px)); max-width: none; }
body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 30px; }
@media (max-width: 959px) { body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (max-width: 719px) { body.rec-site main .rc9-lead__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } }
@media (max-width: 519px) { body.rec-site main section#leaders .opt-rail { width: calc(100% - 40px); } body.rec-site main .rc9-lead__grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 960px) {
  body.rec-site main .rc9-lead__card h3 { font-size: 21px; }
  body.rec-site main .rc9-lead__title { font-size: 15.5px; }
  body.rec-site main .rc9-lead__more { font-size: 13px; }
}

/* review bars: sit in normal flow, stacked, never on top of each other */
body.rec-site main section#leaders .rc9-lead-bar { position: static !important; opacity: 1 !important; flex-wrap: wrap !important; width: 100% !important; margin: 0 0 14px !important; gap: 8px; }
body.rec-site main section#leaders .rc9-lead-bar .rc9-toggle-bar__label { flex-basis: 100%; }
/* clicking the photo opens the bio */
body.rec-site main .rc9-lead__photo { cursor: pointer; }
body.rec-site main .rc9-lead__card:hover .rc9-lead__photo { box-shadow: 0 10px 26px rgba(17,41,75,.22); }

/* clean white page: no pale band cutting through the first row */
body.rec-site main .rec-hero, body.rec-site main section#leaders { background: #fff !important; }
body.rec-site main .rec-hero::before, body.rec-site main .rec-hero::after, body.rec-site main .rec-hero__glow, body.rec-site main section#leaders::before, body.rec-site main section#leaders::after { display: none !important; }
body.rec-site main::before, body.rec-site main::after, body.rec-site main > header::before, body.rec-site main > header::after, body.rec-site main > section::before, body.rec-site main > section::after { background: none !important; box-shadow: none !important; }
/* decorative background circles bleed through the grid on this page */
body.rec-site .opt-circles { display: none !important; }

/* Leadership: tighter gap between the intro line and the photo grid */
body.rec-site main .rec-hero:has(+ section#leaders) { padding-bottom: 20px !important; }
body.rec-site main section#leaders { padding-top: 16px !important; }
@media (max-width: 760px) { body.rec-site main .rec-hero:has(+ section#leaders) { padding-bottom: 12px !important; } body.rec-site main section#leaders { padding-top: 12px !important; } }

/* regional groups (Thomas 11/19): Corporate Administration / Western NY / DMV / Atlanta / Construction; smaller photos (5 across) */
body.rec-site main .rc9-lead__group + .rc9-lead__group { margin-top: clamp(36px, 4vw, 60px); }
body.rec-site main .rc9-lead__grouphead { margin: 0 0 22px !important; padding-bottom: 12px; font-size: 13px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #11294b; line-height: 1.3 !important; border-bottom: 1px solid #d8e1ec; position: relative; }
body.rec-site main .rc9-lead__grouphead::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; background: #f8bb75; }
body.rec-site main .rc9-lead__group .rc9-lead__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 24px; }
@media (max-width: 1239px) { body.rec-site main .rc9-lead__group .rc9-lead__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { body.rec-site main .rc9-lead__group .rc9-lead__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } }
@media (max-width: 719px) { body.rec-site main .rc9-lead__group .rc9-lead__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } }
@media (max-width: 519px) { body.rec-site main .rc9-lead__group .rc9-lead__grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1240px) { body.rec-site main .rc9-lead__group .rc9-lead__row .rc9-lead__more { font-size: 11.5px; letter-spacing: .05em; } body.rec-site main .rc9-lead__group .rc9-lead__row { column-gap: 12px; } body.rec-site main .rc9-lead__group .rc9-lead__card h3 { font-size: 18px; } body.rec-site main .rc9-lead__group .rc9-lead__title { font-size: 14px; } }
