/*
Theme Name: Riviera Basket 2027
Theme URI: https://www.rivierabasket.org/
Description: Tema autonomo per Riviera Basket Rimini, senza dipendenze da YOOtheme.
Author: Riviera Basket Rimini
Version: 1.0.11
Text Domain: riviera-basket-2027
*/

:root {
  --rb-red: #c92b2d;
  --rb-red-dark: #962127;
  --rb-ink: #17171c;
  --rb-paper: #f6f5f3;
  --rb-line: #deddda;
  --rb-muted: #66666c;
  --rb-font: 'neue-haas-grotesk-display', Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { background: #fff; color: var(--rb-ink); font-family: var(--rb-font); margin: 0; overflow-x: hidden; }
img { height: auto; max-width: 100%; }
a { color: inherit; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--rb-ink); display: block; font-size: 14px; height: auto; left: 12px; padding: 12px; top: 12px; width: auto; z-index: 100000; }
.rb-container { margin: 0 auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; }

/* Header */
.rb-header { align-items: center; background: #fff; border-bottom: 1px solid var(--rb-line); display: grid; grid-template-columns: 1fr auto 1fr; min-height: 86px; position: relative; z-index: 20; }
.rb-header__left, .rb-header__right { align-items: center; display: flex; min-width: 0; }
.rb-header__right { justify-content: flex-end; }
.rb-header__brand { display: block; line-height: 0; padding: 8px 20px; }
.rb-header__brand img { border-radius: 50%; height: 64px; object-fit: contain; width: 64px; }
.rb-header__menu { align-items: center; background: var(--rb-red); border: 0; color: #fff; cursor: pointer; display: flex; font: inherit; font-size: 13px; font-weight: 900; gap: 10px; height: 86px; letter-spacing: .03em; padding: 0 28px; text-transform: uppercase; }
.rb-header__menu b { font-size: 22px; font-weight: 400; line-height: 1; }
.rb-nav { align-items: center; display: flex; gap: 25px; padding-left: 28px; }
.rb-nav a { font-size: 13px; font-weight: 900; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.rb-nav a:hover, .rb-nav a[aria-current="page"] { color: var(--rb-red); }
.rb-header__calendar { background: var(--rb-ink); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .03em; padding: 30px 28px; text-decoration: none; text-transform: uppercase; }
.rb-header__calendar:hover { background: var(--rb-red); }

/* General page content */
.rb-page { padding: clamp(42px, 7vw, 90px) 0; }
.rb-page__title, .rb-article__title { color: var(--rb-ink); font-size: clamp(40px, 6vw, 76px); font-weight: 900; letter-spacing: -.055em; line-height: .9; margin: 0 0 38px; text-transform: uppercase; }
.rb-page__content { font-size: 18px; line-height: 1.6; max-width: 920px; }
.rb-page__content h2, .rb-page__content h3 { font-size: clamp(25px, 3vw, 38px); line-height: 1; margin: 1.7em 0 .55em; text-transform: uppercase; }
.rb-page__content p, .rb-page__content ul, .rb-page__content ol { margin: 0 0 1.2em; }
.rb-page__content a { color: var(--rb-red); font-weight: 800; }
.rb-page__content img { display: block; margin: 30px 0; }

/* Home */
.rb-hero { background: var(--rb-paper); color: #fff; overflow: hidden; padding-bottom: 48px; position: relative; }
.rb-hero__image { display: block; height: clamp(370px, 47vw, 650px); object-fit: cover; object-position: center 42%; width: 100%; }
.rb-hero__content { margin-top: -72px; position: relative; z-index: 1; }
.rb-hero__panel { background: var(--rb-ink); border-left: 7px solid var(--rb-red); box-shadow: 0 18px 35px rgba(23,23,28,.2); max-width: 690px; padding: clamp(28px, 4vw, 48px); }
.rb-hero__eyebrow, .rb-eyebrow { color: var(--rb-red); display: block; font-size: 13px; font-weight: 900; letter-spacing: .16em; margin-bottom: 14px; text-transform: uppercase; }
.rb-hero__title { font-size: clamp(45px, 6.2vw, 88px); font-weight: 900; letter-spacing: -.07em; line-height: .82; margin: 0; max-width: 700px; text-transform: uppercase; }
.rb-hero__cta, .rb-button { background: var(--rb-red); color: #fff; display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: .08em; margin-top: 28px; padding: 17px 23px; text-decoration: none; text-transform: uppercase; }
.rb-hero__cta:hover, .rb-button:hover { background: #fff; color: var(--rb-ink); }
.rb-intro { padding: clamp(54px, 8vw, 105px) 0 55px; text-align: center; }
.rb-intro__lead { color: var(--rb-red); font-size: clamp(28px, 4vw, 52px); font-style: italic; font-weight: 800; line-height: 1.1; margin: 0 auto 28px; max-width: 1050px; }
.rb-intro__text { font-size: clamp(17px, 2vw, 22px); line-height: 1.45; margin: 0 auto; max-width: 860px; }
.rb-sponsor-tier { margin: 45px auto 0; max-width: 1040px; }
.rb-sponsor-tier__heading { color: var(--rb-red); font-size: 12px; font-weight: 900; letter-spacing: .16em; margin: 0 0 13px; text-align: center; text-transform: uppercase; }
.rb-sponsor-tier__grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-sponsor-tier__card { align-items: center; background: var(--rb-paper); border: 1px solid var(--rb-line); border-top: 5px solid var(--rb-ink); color: var(--rb-ink); display: flex; flex-direction: column; justify-content: center; min-height: 205px; padding: 18px 22px; text-align: center; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.rb-sponsor-tier__card--main { border-top-color: var(--rb-red); }
.rb-sponsor-tier__card:hover { border-color: var(--rb-red); box-shadow: 0 12px 22px rgba(23,23,28,.12); transform: translateY(-3px); }
.rb-sponsor-tier__role { color: var(--rb-muted); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.rb-sponsor-tier__card--main .rb-sponsor-tier__role { color: var(--rb-red); }
.rb-sponsor-tier__logo { align-items: center; display: flex; height: 104px; justify-content: center; margin: 8px 0; width: 100%; }
.rb-sponsor-tier__logo img { max-height: 100%; max-width: min(220px, 100%); object-fit: contain; }
.rb-sponsor-tier__name { font-size: 14px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.rb-home-sponsors { background: var(--rb-ink); border-top: 5px solid var(--rb-red); color: #fff; padding: clamp(45px, 7vw, 88px) 0; }
.rb-home-sponsors__head { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 30px; }
.rb-home-sponsors__head .rb-eyebrow { color: #fff; opacity: .72; }
.rb-home-sponsors__head h2 { color: #fff; font-size: clamp(30px, 4.3vw, 56px); font-weight: 900; letter-spacing: -.06em; line-height: .88; margin: 10px 0 0; text-transform: uppercase; }
.rb-home-sponsors__all { align-items: center; border-bottom: 2px solid var(--rb-red); color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 12px; font-weight: 900; letter-spacing: .1em; padding: 0 0 9px; text-decoration: none; text-transform: uppercase; }
.rb-home-sponsors__all:hover { border-color: #fff; color: #fff; }
.rb-home-sponsors__window { overflow: hidden; }
.rb-home-sponsors__track { display: flex; gap: 10px; width: max-content; animation: rb-sponsor-flow 48s linear infinite both; will-change: transform; }
.rb-home-sponsors__window:hover .rb-home-sponsors__track { animation-play-state: paused; }
.rb-home-sponsors__logo { align-items: center; background: #fff; border: 1px solid rgba(255,255,255,.18); display: flex; flex: 0 0 190px; height: 130px; justify-content: center; padding: 16px; transition: transform .18s ease, box-shadow .18s ease; }
.rb-home-sponsors__logo:hover { box-shadow: 0 12px 23px rgba(0,0,0,.28); transform: translateY(-3px); }
.rb-home-sponsors__logo img { height: 100%; max-width: 100%; object-fit: contain; width: 100%; }
@keyframes rb-sponsor-flow { to { transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce) { .rb-home-sponsors__track { animation: none; } }
.rb-section { padding: clamp(56px, 8vw, 96px) 0; }
.rb-section--paper { background: var(--rb-paper); border-top: 5px solid var(--rb-red); }
.rb-section__head { align-items: end; display: flex; gap: 25px; justify-content: space-between; margin-bottom: 30px; }
.rb-section__title { font-size: clamp(38px, 5vw, 64px); font-weight: 900; letter-spacing: -.06em; line-height: .85; margin: 0; text-transform: uppercase; }
.rb-values__intro { align-items: end; display: flex; gap: 50px; justify-content: space-between; margin-bottom: 42px; }
.rb-values__intro .rb-eyebrow { margin-bottom: 14px; }
.rb-values__intro p { align-self: end; font-size: clamp(18px, 2vw, 23px); line-height: 1.35; margin: 0; }
.rb-values__grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-value { background: #fff; border-top: 5px solid var(--rb-ink); min-height: 235px; padding: 23px; }
.rb-value:nth-child(1) { border-top-color: var(--rb-red); }
.rb-value > span { color: var(--rb-red); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.rb-value h3 { font-size: 25px; letter-spacing: -.04em; line-height: .95; margin: 45px 0 12px; text-transform: uppercase; }
.rb-value p { color: var(--rb-muted); font-size: 15px; line-height: 1.42; margin: 0; }
.rb-news-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-news-card { background: #fff; border-top: 5px solid var(--rb-red); box-shadow: 0 10px 24px rgba(23,23,28,.08); display: flex; flex-direction: column; min-width: 0; }
.rb-news-card__image { aspect-ratio: 1.5; background: #ddd; display: block; overflow: hidden; }
.rb-news-card__image img { height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
.rb-news-card:hover img { transform: scale(1.04); }
.rb-news-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.rb-news-card time { color: var(--rb-red); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.rb-news-card h3 { font-size: 23px; line-height: 1; margin: 11px 0 13px; text-transform: uppercase; }
.rb-news-card h3 a { text-decoration: none; }
.rb-news-card p { color: var(--rb-muted); font-size: 15px; line-height: 1.4; margin: 0; }
.rb-news-card__read { align-items: center; color: var(--rb-red); display: inline-flex; font-size: 12px; font-weight: 900; letter-spacing: .08em; margin-top: 22px; text-decoration: none; text-transform: uppercase; }
.rb-news-card__read span { font-size: 16px; margin-left: 6px; transition: transform .18s ease; }
.rb-news-card__read:hover { color: var(--rb-ink); }
.rb-news-card__read:hover span { transform: translateX(4px); }

/* Matches */
.rb-match-hub { margin: 0 auto; max-width: 1120px; }
.rb-match-hub__header { align-items: end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 28px; }
.rb-match-hub__header h2, .rb-calendar__title { font-size: clamp(34px, 4vw, 56px); font-weight: 900; letter-spacing: -.05em; line-height: .88; margin: 0; text-transform: uppercase; }
.rb-match-hub__header p { color: #55555b; font-size: 14px; margin: 0 0 5px; text-align: right; }
.rb-match-hub__rail-wrap { align-items: center; display: grid; gap: 13px; grid-template-columns: 42px minmax(0, 1fr) 42px; }
.rb-match-hub__rail { display: flex; gap: 16px; overflow-x: auto; padding: 3px 1px 18px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--rb-red) transparent; }
.rb-match-hub__rail::-webkit-scrollbar { height: 7px; }
.rb-match-hub__rail::-webkit-scrollbar-thumb { background: var(--rb-red); }
.rb-match-arrow { align-items: center; background: var(--rb-ink); border: 0; color: #fff; cursor: pointer; display: flex; font-size: 21px; height: 42px; justify-content: center; width: 42px; }
.rb-match-arrow:hover { background: var(--rb-red); }
.rb-match-card { background: #fff; border-top: 5px solid var(--rb-red); box-shadow: 0 10px 23px rgba(23,23,28,.09); display: flex; flex: 0 0 300px; flex-direction: column; min-height: 248px; padding: 18px; scroll-snap-align: start; }
.rb-match-card--final { border-top-color: var(--rb-ink); }
.rb-match-card__top { align-items: center; color: #68686d; display: flex; font-size: 12px; font-weight: 900; justify-content: space-between; letter-spacing: .08em; text-transform: uppercase; }
.rb-match-card__top time { color: var(--rb-red); font-size: 15px; }
.rb-match-card__teams { align-items: center; display: grid; flex: 1; gap: 10px; grid-template-columns: 1fr auto 1fr; padding: 24px 0 18px; }
.rb-match-card__teams strong { font-size: 16px; font-weight: 900; line-height: 1.02; text-transform: uppercase; }
.rb-match-card__teams strong:first-child { text-align: right; }
.rb-match-card__vs { align-items: center; background: #f0efed; border-radius: 50%; color: var(--rb-red); display: flex; font-size: 13px; font-weight: 900; height: 43px; justify-content: center; min-width: 43px; }
.rb-match-card--final .rb-match-card__vs { background: var(--rb-red); color: #fff; min-width: 67px; }
.rb-match-card__bottom { align-items: center; border-top: 1px solid var(--rb-line); color: #68686d; display: flex; font-size: 12px; font-weight: 800; gap: 10px; padding-top: 13px; text-transform: uppercase; }
.rb-match-card__mark { align-items: center; background: #f1f0ee; border-radius: 50%; display: flex; height: 28px; justify-content: center; overflow: hidden; width: 28px; }
.rb-match-card__mark img, .rb-match-card__crest { height: 100%; object-fit: contain; width: 100%; }
.rb-match-card__crest--dinamo { background: url('https://www.rivierabasket.org/wp-content/uploads/2026/10/1-Foto-1.jpg') -34px -166px / 181px 256px no-repeat; display: block; }
.rb-match-link { color: var(--rb-red); display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .08em; margin: 18px 55px 0; text-decoration: none; text-transform: uppercase; }
.rb-calendar { background: var(--rb-paper); padding: clamp(38px, 6vw, 78px); }
.rb-calendar__head { border-left: 7px solid var(--rb-red); margin-bottom: 36px; max-width: 700px; padding-left: 22px; }
.rb-calendar__head p { font-size: 18px; line-height: 1.45; margin: 20px 0 0; }
.rb-calendar__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-calendar__grid .rb-match-card { flex-basis: auto; min-height: 198px; }
.rb-calendar__visuals { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.rb-calendar__visuals img { background: #fff; box-shadow: 0 12px 28px rgba(23,23,28,.1); width: 100%; }

/* Sponsor */
.rb-sponsors, .rb-roster, .rb-contact { padding: clamp(50px, 8vw, 105px) 0; }
.rb-sponsors__head, .rb-roster__head, .rb-contact__head { border-left: 8px solid var(--rb-red); max-width: 800px; padding-left: 24px; }
.rb-sponsors__head h1, .rb-roster__head h1, .rb-contact__head h1 { font-size: clamp(50px, 7vw, 88px); font-weight: 900; letter-spacing: -.07em; line-height: .8; margin: 0; text-transform: uppercase; }
.rb-sponsors__head p, .rb-roster__head p, .rb-contact__head p { font-size: clamp(18px, 2vw, 23px); line-height: 1.35; margin: 26px 0 0; }
.rb-sponsor-featured { margin-top: 54px; }
.rb-sponsor-featured__grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-sponsor-featured__card { align-items: center; background: var(--rb-paper); border-top: 6px solid var(--rb-ink); display: flex; flex-direction: column; justify-content: center; min-height: 275px; padding: 25px; text-align: center; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.rb-sponsor-featured__card.is-main { border-top-color: var(--rb-red); }
.rb-sponsor-featured__card:hover { box-shadow: 0 14px 28px rgba(23,23,28,.13); transform: translateY(-4px); }
.rb-sponsor-featured__card span { color: var(--rb-red); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.rb-sponsor-featured__card img { height: 135px; margin: 19px 0; max-width: 88%; object-fit: contain; }
.rb-sponsor-featured__card strong { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.rb-sponsor-wall { border-top: 1px solid var(--rb-line); margin-top: 58px; padding-top: 24px; }
.rb-sponsor-wall h2, .rb-roster > .rb-container > h2, .rb-contact__grid h2 { font-size: clamp(25px, 3vw, 38px); font-weight: 900; letter-spacing: -.04em; line-height: .95; margin: 0 0 24px; text-transform: uppercase; }
.rb-sponsor-wall__grid { display: grid; gap: 13px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-sponsor-wall--six .rb-sponsor-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-sponsor-wall--partner .rb-sponsor-wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-sponsor-wall__logo { align-items: center; background: #fff; border: 1px solid var(--rb-line); display: flex; height: 140px; justify-content: center; padding: 16px; }
a.rb-sponsor-wall__logo:hover { border-color: var(--rb-red); }
.rb-sponsor-wall__logo img { height: 100%; max-width: 100%; object-fit: contain; width: 100%; }

/* Roster */
.rb-roster__head { margin-bottom: 58px; }
.rb-roster__grid { display: grid; gap: 17px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-person { background: var(--rb-paper); border-bottom: 5px solid var(--rb-red); min-width: 0; }
.rb-person img { aspect-ratio: 1 / 1; display: block; object-fit: cover; width: 100%; }
.rb-person div { padding: 15px; }
.rb-person h3 { font-size: 19px; line-height: 1; margin: 0; text-transform: uppercase; }
.rb-person p { color: var(--rb-red); font-size: 14px; font-weight: 900; letter-spacing: .08em; margin: 8px 0 0; text-transform: uppercase; }
.rb-roster__staff-title { border-top: 1px solid var(--rb-line); margin-top: 60px !important; padding-top: 24px; }
.rb-roster__grid--staff { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Contacts */
.rb-contact__head { margin-bottom: 52px; }
.rb-contact__grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-contact__grid section { background: var(--rb-paper); border-top: 5px solid var(--rb-red); min-height: 270px; padding: clamp(28px, 4vw, 50px); }
.rb-contact__grid p { font-size: 19px; line-height: 1.5; }
.rb-contact__grid a:not(.rb-button) { color: var(--rb-red); font-weight: 800; }

/* Articles and footer */
.rb-article { padding: clamp(45px, 8vw, 100px) 0; }
.rb-article__meta { color: var(--rb-red); font-size: 13px; font-weight: 900; letter-spacing: .08em; margin: 0 0 18px; text-transform: uppercase; }
.rb-article__featured { margin: 0 0 35px; max-height: 650px; object-fit: cover; width: 100%; }
.rb-article__content { font-size: 19px; line-height: 1.65; margin: 0 auto; max-width: 850px; }
.rb-article__content h2, .rb-article__content h3 { font-size: 32px; line-height: 1; margin-top: 1.6em; }
.rb-pagination { display: flex; gap: 8px; margin-top: 42px; }
.rb-pagination .page-numbers { border: 1px solid var(--rb-line); font-weight: 800; padding: 10px 13px; text-decoration: none; }
.rb-pagination .current, .rb-pagination a:hover { background: var(--rb-red); border-color: var(--rb-red); color: #fff; }
.rb-footer { background: #29292d; border-top: 5px solid var(--rb-red); color: #fff; padding: 52px 0 22px; }
.rb-footer__grid { display: grid; gap: 35px; grid-template-columns: 1.1fr 1fr 1fr; }
.rb-footer h2 { font-size: 14px; letter-spacing: .1em; margin: 0 0 17px; text-transform: uppercase; }
.rb-footer p { color: #d5d4d2; line-height: 1.55; margin: 0 0 13px; }
.rb-footer a { text-decoration: none; }
.rb-footer__league { align-items: center; display: flex; gap: 16px; min-height: 64px; }
.rb-footer__league img { display: block; max-height: 58px; max-width: 122px; object-fit: contain; }
.rb-footer__league-divider { background: #5e5d61; height: 42px; width: 1px; }
.rb-footer__league img.rb-footer__fipic { background: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; max-height: 58px; max-width: 164px; padding: 5px 7px; }
.rb-footer__social { display: flex; gap: 9px; }
.rb-footer__social a { align-items: center; border: 1px solid #88878a; border-radius: 50%; display: flex; font-weight: 900; height: 37px; justify-content: center; width: 37px; }
.rb-footer__social a:hover { background: var(--rb-red); border-color: var(--rb-red); }
.rb-footer__bottom { border-top: 1px solid #555459; color: #b4b3b5; font-size: 12px; margin-top: 38px; padding-top: 18px; }

@media (max-width: 860px) {
  .rb-header { grid-template-columns: 1fr auto 1fr; min-height: 78px; }
  .rb-header__menu { align-self: stretch; justify-content: center; min-width: 88px; padding: 0; }
  .rb-header__menu b { font-size: 30px; }
  .rb-header__menu span { display: none; }
  .rb-header__brand img { height: 58px; width: 58px; }
  .rb-header__calendar { display: none; }
  .rb-nav { background: var(--rb-ink); display: none; left: 0; padding: 16px 28px 24px; position: absolute; right: 0; top: 78px; }
  .rb-nav.is-open { display: grid; gap: 0; }
  .rb-nav a { border-bottom: 1px solid #46454a; color: #fff; padding: 15px 0; }
  .rb-nav a:last-child { border-bottom: 0; }
  .rb-hero { padding-bottom: 0; }
  .rb-hero__image { height: 360px; object-position: center 38%; }
  .rb-hero__content { margin-top: 0; }
  .rb-hero__panel { border-left: 0; border-top: 6px solid var(--rb-red); box-shadow: none; max-width: none; padding: 30px 28px 34px; }
  .rb-hero__title { font-size: clamp(46px, 14vw, 66px); }
  .rb-news-grid { grid-template-columns: 1fr; }
  .rb-sponsor-tier__grid, .rb-calendar__grid, .rb-calendar__visuals { grid-template-columns: 1fr; }
  .rb-sponsor-featured__grid, .rb-sponsor-wall__grid, .rb-sponsor-wall--six .rb-sponsor-wall__grid, .rb-sponsor-wall--partner .rb-sponsor-wall__grid, .rb-roster__grid, .rb-roster__grid--staff, .rb-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-sponsor-featured__card { min-height: 220px; }
  .rb-sponsor-featured__card img { height: 98px; }
  .rb-sponsor-tier__card { display: grid; gap: 0 16px; grid-template-columns: 154px minmax(0, 1fr); grid-template-rows: auto 1fr; justify-content: stretch; min-height: 134px; padding: 14px 18px; text-align: left; }
  .rb-sponsor-tier__role { align-self: end; }
  .rb-sponsor-tier__logo { grid-row: 1 / span 2; height: 94px; margin: 0; }
  .rb-sponsor-tier__name { align-self: start; }
  .rb-match-hub__header, .rb-section__head { align-items: flex-start; flex-direction: column; }
  .rb-values__intro { display: block; }
  .rb-values__intro .rb-eyebrow { margin-bottom: 14px; }
  .rb-values__intro p { margin-top: 22px; }
  .rb-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-match-hub__header p { text-align: left; }
  .rb-match-hub__rail-wrap { display: block; }
  .rb-match-arrow { display: none; }
  .rb-match-card { flex-basis: 82vw; }
  .rb-match-link { margin-left: 0; }
  .rb-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .rb-sponsor-featured__grid, .rb-sponsor-wall__grid, .rb-sponsor-wall--six .rb-sponsor-wall__grid, .rb-sponsor-wall--partner .rb-sponsor-wall__grid { grid-template-columns: 1fr; }
  .rb-home-sponsors__head { align-items: start; flex-direction: column; }
  .rb-home-sponsors__logo { flex-basis: 156px; height: 112px; padding: 13px; }
  .rb-sponsor-featured__card { min-height: 190px; }
  .rb-sponsor-wall__logo { height: 122px; }
  .rb-roster__grid, .rb-roster__grid--staff { gap: 12px; }
  .rb-person div { padding: 11px; }
  .rb-person h3 { font-size: 15px; }
  .rb-person p { font-size: 11px; }
  .rb-contact__grid { grid-template-columns: 1fr; }
  .rb-values__grid { grid-template-columns: 1fr; }
  .rb-value { min-height: 0; padding: 22px; }
  .rb-value h3 { margin-top: 27px; }
}

@media (min-width: 861px) {
  .rb-header__menu { display: none; }
  .rb-header__left { justify-content: flex-end; }
  .rb-nav { gap: 27px; padding: 0 34px 0 20px; }
  .rb-header__brand img { height: 70px; width: 70px; }
}
