/* Rangers active v0.4.3 grid, extended for Concept C v3. Do not add legacy header overrides. */
.r2-v043-header { position: relative; z-index: 30; background: #fff; box-shadow: 0 1px 12px rgb(13 32 52 / 10%); }
.r2-v043-header-row { box-sizing: border-box; width: min(calc(100% - 48px), 1280px); max-width: 1280px; min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: minmax(130px,1fr) auto minmax(130px,1fr); grid-template-areas: "brand menu social"; align-items: center; column-gap: 16px; }
.r2-v043-brand { grid-area: brand; justify-self: start; display: block; position: relative; z-index: 34; width: 146px; line-height: 0; transform: translateY(12px); }
.r2-v043-brand img { display: block; width: 146px; max-width: 146px; height: auto; object-fit: contain; filter: drop-shadow(0 3px 3px rgb(0 0 0 / 14%)); }
.r2-v043-nav { grid-area: menu; justify-self: center; min-width: 0; }
.r2-v043-nav ul { display: flex; flex-wrap: nowrap; list-style: none; align-items: center; justify-content: center; gap: clamp(9px, 1vw, 17px); margin: 0; padding: 0; }
.r2-v043-nav li { list-style: none; margin: 0; padding: 0; }
.r2-v043-nav a { display: block; padding: 11px 2px 8px; border-bottom: 3px solid transparent; color: #111820; text-decoration: none; font-size: 14px; font-weight: 750; white-space: nowrap; }
.r2-v043-nav a:hover, .r2-v043-nav a:focus-visible { color: #df1620; border-bottom-color: #e6b5b8; text-decoration: none; }
.r2-v043-nav a.is-current, .r2-v043-nav a[aria-current="page"] { color: #c81022; border-bottom-color: #e21c23; }
.r2-v043-nav a:focus-visible { outline: 2px solid #1261ad; outline-offset: 3px; }
.r2-v043-socials { grid-area: social; justify-self: end; min-width: 0; padding-left: 14px; border-left: 1px solid #dfe6ef; }
.r2-v043-socials .r2-social, .r2-v043-socials .r2-social img { width: 40px; height: 40px; }
.r2-v043-socials .r2-socials { display: flex; align-items: center; justify-content: flex-end; flex-flow: row nowrap; gap: 8px; margin: 0; }
.r2-v043-menu-button { display: none; border: 0; background: transparent; font-size: 27px; padding: 8px; cursor: pointer; }
.r2-v043-home-sponsors { width: 100%; max-width: 1280px; margin: 0 auto 30px; }
.r2-v043-sponsor-grid { display: grid; width: 100%; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 13px; padding: 0; margin: 0; align-items: stretch; }
.r2-v043-sponsor-tile { display: block; box-sizing: border-box; min-width: 0; height: 158px; border: 1px solid #dee6ee; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 4%); }
.r2-v043-sponsor-link, .r2-v043-sponsor-nolink { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; width: 100%; height: 100%; padding: 12px 9px; margin: 0; text-align: center; text-decoration: none; color: #202b35; }
.r2-v043-sponsor-link img, .r2-v043-sponsor-nolink img { display: block; width: auto; height: auto; max-width: 94%; max-height: 102px; min-height: 0; object-fit: contain; }
.r2-v043-sponsor-link span, .r2-v043-sponsor-nolink span { display: block; line-height: 1.3; font-size: 12px; font-weight: 650; color: #263440; }
.r2-v043-sponsor-link:hover { background: #f8fbff; }
.r2-v043-sponsor-link:focus-visible, .r2-v043-menu-button:focus-visible { outline: 3px solid #ffcb00; outline-offset: -3px; }
@media(max-width:1280px) {
  /* v0.9.8: mobile logo really lives IN the header grid. The hero-overhang
     badge is desktop-only; it collided with the menu at narrow widths.
     Header owns an explicit stacking context above the hero and content. */
  .r2-v043-header { position: relative; z-index: 70; }
  .r2-v043-header-row {
    grid-template-columns: 118px minmax(78px,1fr) max-content;
    grid-template-areas: "brand toggle social";
    min-height: 94px;
    column-gap: 8px;
  }
  body:has(.r2-hero) .r2-v043-brand { visibility: visible; }
  .r2-hero__brand { display: none; }
  .r2-v043-brand { width: 118px; z-index: 1; transform: none; }
  .r2-v043-brand img { width: 118px; max-width: 118px; height: auto; }
  .r2-v043-socials { padding-left: 0; border-left: 0; }
  .r2-v043-socials .r2-social, .r2-v043-socials .r2-social img { width: 36px; height: 36px; }
  /* v0.9.7: make the control visibly high-contrast on mobile, including dark
     browser/OS modes. This is a real button, not a pseudo-element overlay. */
  .r2-v043-menu-button {
    grid-area: toggle; display: inline-flex !important; visibility: visible !important; opacity: 1 !important;
    align-items: center; justify-content: center; justify-self: center; gap: 6px;
    position: relative; z-index: 80; min-width: 78px; min-height: 44px;
    padding: 7px 10px; background: #e21c23; border: 2px solid #ad1820;
    border-radius: 8px; color: #fff !important;
    font: 800 14px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;
    white-space: nowrap; cursor: pointer;
  }
  .r2-v043-menu-button .r2-v043-menu-icon { font-size: 21px; line-height: 1; }
  .r2-v043-menu-button:hover { background: #c81022; }
  .r2-v043-menu-button[aria-expanded="true"] { background: #b91020; }
  .r2-v043-menu-button:focus-visible { outline: 3px solid #ffcf21; outline-offset: 2px; }

  .r2-v043-nav {
    grid-area: auto; position: absolute; z-index: 75; display: none;
    top: 100%; left: 0; right: 0; width: 100%;
    background: #fff; padding: 12px 24px;
    box-shadow: 0 8px 15px rgb(0 0 0 / 12%);
    max-height: calc(100vh - 94px); max-height: calc(100dvh - 94px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .r2-v043-nav.is-open { display: block; }
  .r2-v043-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .r2-v043-nav a { font-size: 17px; padding: 11px; border-bottom: 1px solid #e8edf1; }
  .r2-v043-sponsor-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .r2-v043-header-row {
    width: calc(100% - 30px);
    grid-template-columns: 96px minmax(78px,1fr) max-content;
    column-gap: 6px; min-height: 82px;
  }
  .r2-v043-brand { width: 96px; transform: none; }
  .r2-v043-brand img { width: 96px; max-width: 96px; height: auto; }
  .r2-v043-nav { max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); }
  .r2-v043-socials .r2-socials { gap: 5px; }
  .r2-v043-socials .r2-social, .r2-v043-socials .r2-social img { width: 27px; height: 27px; }
  .r2-v043-menu-button { min-width: 68px; padding-inline: 8px; font-size: 13px; }
  .r2-v043-sponsor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .r2-v043-sponsor-tile { height: 150px; }
}

/* v0.5.0: team detail content (no new WordPress plugin dependencies). */
.r2-team-detail { width: 100%; margin: 0 0 28px; }
.r2-team-detail__intro { max-width: 910px; margin: 0 0 22px; font-size: clamp(18px,1.8vw,22px); font-weight: 600; line-height: 1.5; color: #202b35; }
.r2-team-detail__facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.r2-team-detail__fact { box-sizing: border-box; min-width: 0; padding: 20px; border: 1px solid #dfe7ee; border-top: 3px solid #e21c23; border-radius: 10px; background: #fff; box-shadow: 0 1px 7px rgb(0 0 0 / 4%); }
.r2-team-detail__label { display: block; margin: 0 0 7px; color: #566577; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; font-weight: 750; }
.r2-team-detail__fact strong { display: block; font-size: 18px; line-height: 1.45; }
.r2-team-detail__fact p { margin: 8px 0 0; color: #465667; line-height: 1.55; }
.r2-team-detail__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 22px 0 0; padding: 22px; background: #f3f7fb; border-radius: 10px; }
.r2-team-detail__bottom p { margin: 0; flex: 1 1 240px; }
.r2-team-detail__bottom .r2-button { white-space: nowrap; }
.r2-article .wp-block-post-content > .r2-team-detail { max-width: 100%; }
@media (max-width:720px) {
  .r2-team-detail__facts { grid-template-columns: 1fr; }
  .r2-team-detail__fact { padding: 15px; }
  .r2-team-detail__bottom { padding: 18px; }
}
