/* The Rangers R2 v1.3.5: agreed two-row desktop header, menu left-aligned.
 * Top: logo and utilities (search, theme choice, socials).
 * Bottom: all 11 full-size navigation labels, inside the 1280px canvas.
 * The existing hero-owned logo deliberately overlaps the header/hero boundary.
 * The header and controls at <=1280px remain as in v1.3.3.
 */
@media (min-width: 1281px) {
  .r2-v043-header-row {
    position: relative;
    grid-template-columns: 205px minmax(0, 1fr);
    grid-template-rows: 56px 58px;
    grid-template-areas: "brand social" "brand menu";
    min-height: 114px;
    column-gap: 12px;
  }
  /* Restrict the subtle divider to the space after the badge. */
  .r2-v043-header-row::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 217px;
    right: 0;
    height: 1px;
    background: rgb(24 41 61 / 12%);
    pointer-events: none;
  }
  html[data-r2-theme="dark"] .r2-v043-header-row::before {
    background: rgb(255 255 255 / 12%);
  }
  .r2-v043-socials {
    align-self: center;
    padding-left: 14px;
  }
  .r2-v043-nav {
    align-self: center;
    justify-self: start;
  }
  .r2-v043-nav ul { gap: clamp(7px, .78vw, 12px); }
  .r2-v043-nav a { font-size: 14px; padding-inline: 2px; }
  /* Keep the existing functional search/theme controls. On desktop they
     are visually positioned in the utility row, before social links.
     No duplicate forms, fields, event handlers or menu items are created. */
  .r2-v110-search-item { position: absolute; top: 7px; right: 205px; }
  html[data-r2-choice] .r2-v120-theme-item { position: absolute; top: 7px; right: 158px; }
  /* The desktop hero badge is the single visible Rangers logo. Keep its
     established overlap and increase it slightly (184 -> 198 px). */
  .r2-hero__brand { top: -109px; width: 198px; }
  .r2-hero__brand img { width: 198px; }
  /* Pages without a hero use their normal header logo; never show both. */
  body:not(:has(.r2-hero)) .r2-v043-brand {
    width: 154px;
    transform: none;
    align-self: center;
  }
  body:not(:has(.r2-hero)) .r2-v043-brand img {
    width: 154px;
    max-width: 154px;
  }
}
