/* Rope Horse Rewards header and footer (Pages/Shared/_RhrHeader.cshtml, _RhrFooter.cshtml), loaded only in the RHR
   experience. A copy of ropehorserewards.com's own header and footer (its .rhr-nav and .foot rules, values as the site
   computes them), so a roper coming from that site sees the same top and bottom of the page. Keep in step with it. */

@font-face { font-family: AG; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/rhr/fonts/AkzidenzGroteskBE-Regular.woff2") format("woff2"); }
@font-face { font-family: AG; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/rhr/fonts/AkzidenzGroteskBE-XBd.woff2") format("woff2"); }
@font-face { font-family: "AG Ext"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/rhr/fonts/AkzidenzGroteskBE-BoldEx.woff2") format("woff2"); }
@font-face { font-family: "Good Brush"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/rhr/fonts/GoodBrush.woff2") format("woff2"); }

.rhr-nav, .rhr-foot {
    --rhr-gold: #9c783c;
    --rhr-gold-mid: #c79a3e;
    --rhr-gold-pale: #e8d9a8;
    --rhr-gold-lite: #f6e7b4;
    --rhr-hover: #c9a84c;
    --rhr-text: #f4f2ee;
    --rhr-line-soft: rgba(199, 154, 62, .18);
    --rhr-ag: AG, system-ui, sans-serif;
    --rhr-ag-ext: "AG Ext", AG, sans-serif;
}

/* ── strip above the header: next RHR event and Log In (TopBar/Rhr.cshtml; the same strip is on ropehorserewards.com) ── */
.rhr-top { --rhr-hover: #c9a84c; background: #0b0b0c; border-bottom: 1px solid rgba(199, 154, 62, .18); color: #f4f2ee; font-family: AG, system-ui, sans-serif; font-size: 12px; line-height: 1.3; text-align: left; }
.rhr-top .inner { display: flex; align-items: center; gap: 6px 22px; max-width: 1200px; min-height: 36px; margin: 0 auto; padding: 0 22px; box-sizing: content-box; }
.rhr-top p { margin: 0; }
.rhr-top a { text-decoration: none; }
.rhr-top-evt { display: flex; flex: 1 1 auto; align-items: baseline; gap: 4px 12px; min-width: 0; }
/* AG, not the wide AG Ext, with tight spacing: Ext read too large on the Live Now chip (Whitney, 2026-12-04); same as ropehorserewards.com */
.rhr-top-badge { flex: none; color: var(--rhr-hover); font-family: AG, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* AG caps sit high in the line box: 2px top / 0 bottom centres the letters in the gold (same height as 1px/1px) */
.rhr-top.is-live .rhr-top-badge { padding: 2px 6px 0; background: var(--rhr-hover); color: #0a0a0a; }
.rhr-top-name { min-width: 0; overflow: hidden; color: #f4f2ee; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
a.rhr-top-name::after { content: "\00a0\2192"; content: "\00a0\2192" / ""; color: var(--rhr-hover); }
a.rhr-top-name:hover, a.rhr-top-name:focus-visible { color: var(--rhr-hover); }
.rhr-top-meta { flex: none; color: #bfb8ae; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.rhr-top-soon { flex: none; color: var(--rhr-hover); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rhr-top-acct { flex: none; display: flex; gap: 1.25rem; margin-left: auto !important; }
.rhr-top-acct a { display: inline-flex; align-items: center; min-height: 36px; color: #f4f2ee; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rhr-top-acct a:hover, .rhr-top-acct a:focus-visible { color: var(--rhr-hover); box-shadow: inset 0 -2px 0 var(--rhr-hover); }
@media (max-width: 991.98px) { .rhr-top-soon { display: none; } }
@media (max-width: 767.98px) { .rhr-top-meta { display: none; } }
@media print { .rhr-top { display: none; } }

/* ── header ─────────────────────────────────────────────────────────────────────────────── */
.rhr-nav { position: sticky; top: 0; z-index: 1030; margin: 0; padding: 0; background: #000; border-bottom: 1px solid var(--rhr-line-soft); font-family: var(--rhr-ag); line-height: normal; text-align: left; }   /* margin to text-align: the site's own header rule (_mainnew.css) is for page banners */
.rhr-nav a { text-decoration: none; }
.rhr-nav .inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1200px; min-height: 88px; margin: 0 auto; padding: 0 22px; box-sizing: content-box; }
.rhr-nav .brand { display: flex; align-items: center; gap: 14px; border-bottom: 0; }
.rhr-nav .brand-mark { position: relative; z-index: 999; width: auto; max-width: 140px; height: auto; margin-bottom: -20px; }
.rhr-nav .links { display: flex; align-items: center; gap: 30px; }
.rhr-nav .links a { padding-bottom: 6px; border-bottom: 2px solid transparent; color: var(--rhr-text); font-family: var(--rhr-ag); font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; transition: color .18s, border-color .18s; }
.rhr-nav .links a:hover { color: var(--rhr-hover); }
.rhr-nav .links a.is-current { color: var(--rhr-hover); border-bottom-color: var(--rhr-hover); }
.rhr-nav .has-sub { position: relative; display: flex; align-items: center; }
.rhr-nav .has-sub > a { display: flex; align-items: center; gap: 7px; border-bottom-color: transparent; }
.rhr-nav .caret { transition: transform .18s; }
.rhr-nav .has-sub:hover .caret, .rhr-nav .has-sub:focus-within .caret { transform: rotate(180deg); }
.rhr-nav .sub { position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 260px; margin-top: 14px; padding: 0; background: #fff; border: 1px solid #e6dfd0; border-top: 2px solid var(--rhr-hover); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .16s, transform .16s, visibility .16s; }
.rhr-nav .sub::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.rhr-nav .has-sub:hover .sub, .rhr-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%); }
.rhr-nav .links .sub a { display: block; padding: 12px 20px; border-bottom: 0; color: #14120e; font-size: 13px; white-space: nowrap; }
.rhr-nav .links .sub a:hover { color: #14120e; background: #f6f2ea; }

.rhr-nav .burger { display: none; justify-content: center; align-items: center; padding: 8px; color: var(--rhr-text); background: none; border: 0; cursor: pointer; }
.rhr-nav .mobile-panel { position: fixed; inset: 0; z-index: 1050; visibility: hidden; pointer-events: none; }
.rhr-nav .mobile-panel.is-open { visibility: visible; pointer-events: auto; }
.rhr-nav .mobile-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; transition: background .25s; }
.rhr-nav .mobile-panel.is-open .mobile-backdrop { background: rgba(0, 0, 0, .6); }
.rhr-nav .mobile-drawer { position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 82%; max-width: 340px; overflow-y: auto; background: #000; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); transform: translate(-100%); transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.rhr-nav .mobile-panel.is-open .mobile-drawer { transform: translate(0); }
.rhr-nav .mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 22px; }
.rhr-nav .mobile-drawer-head img { width: auto; height: 56px; }
.rhr-nav .mobile-close { display: flex; flex: 0 0 auto; justify-content: center; align-items: center; width: 38px; height: 38px; color: #0a0a0a; background: var(--rhr-hover); border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.rhr-nav .mobile-drawer nav { display: flex; flex-direction: column; }
.rhr-nav .mobile-drawer nav a { padding: 18px 22px; border-bottom: 1px solid var(--rhr-line-soft); color: var(--rhr-text); font-family: var(--rhr-ag); font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.rhr-nav .mobile-drawer nav a.is-current { color: var(--rhr-hover); }
.rhr-nav .mobile-drawer nav a.sub-link { padding: 14px 22px 14px 40px; color: #cfc8bc; font-size: 12px; }
.rhr-nav .mobile-drawer nav a.sub-link::before { content: "— "; color: var(--rhr-hover); }

@media (max-width: 900px) {
    .rhr-nav .inner { min-height: 72px; }
    .rhr-nav .brand { order: 2; }
    .rhr-nav .brand-mark { max-width: none; height: 54px; margin-bottom: 0; }
    .rhr-nav .links { display: none; }
    .rhr-nav .burger { order: 1; display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .rhr-nav .mobile-drawer, .rhr-nav .mobile-backdrop { transition: none; }
}

/* ── footer ─────────────────────────────────────────────────────────────────────────────── */
.rhr-foot { padding: 60px 0 54px; line-height: normal; background: #050506; color: var(--rhr-text); font-family: var(--rhr-ag); text-align: center; }
.rhr-foot .wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; box-sizing: content-box; }
.rhr-foot a { text-decoration: none; }
.rhr-foot .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rhr-foot .btn-rhr { display: inline-block; padding: 15px 28px; border: 1px solid var(--rhr-gold); color: var(--rhr-gold-pale); font-family: var(--rhr-ag); font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 0 26px -14px rgba(199, 154, 62, .55); transition: background .18s, color .18s, box-shadow .25s, transform .18s; }
.rhr-foot .btn-rhr:hover { background: var(--rhr-gold-mid); border-color: var(--rhr-gold-mid); color: #0a0a0a; box-shadow: 0 0 40px -8px rgba(199, 154, 62, .75); }
.rhr-foot .btn-rhr--solid { background: var(--rhr-gold-mid); border-color: var(--rhr-gold-mid); color: #0a0a0a; box-shadow: 0 0 34px -10px rgba(199, 154, 62, .6); }
.rhr-foot .btn-rhr--solid:hover { background: var(--rhr-gold-lite); border-color: var(--rhr-gold-lite); }
.rhr-foot .money { margin: 26px 0 0; color: var(--rhr-gold-pale); font-family: "Good Brush", Georgia, serif; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.2; }
.rhr-foot .presented { display: flex; justify-content: center; margin: 48px 0 32px; }
.rhr-foot .presented img { width: auto; height: auto; max-height: 118px; }
.rhr-foot .label { margin: 0 0 26px; color: var(--rhr-gold); font-family: var(--rhr-ag-ext); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.rhr-foot .sponsors { display: flex; align-items: center; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.rhr-foot .sponsors-track { display: flex; flex-wrap: nowrap; align-items: center; gap: 44px; width: max-content; animation: rhrSponsorLoop 48s linear infinite; }
.rhr-foot .sponsors:hover .sponsors-track { animation-play-state: paused; }
.rhr-foot .sponsors a { display: inline-flex; flex: 0 0 auto; align-items: center; }
.rhr-foot .sponsors a:focus-visible { outline: 2px solid var(--rhr-gold-mid); outline-offset: 6px; }
.rhr-foot .sponsors img { flex: 0 0 auto; width: auto; max-width: none; opacity: .95; }
.rhr-foot .lg-riata, .rhr-foot .lg-aqha { height: 55px; }
.rhr-foot .lg-ariat { height: 53px; }
.rhr-foot .lg-global, .rhr-foot .lg-laredo { height: 46px; }
.rhr-foot .lg-tophand { height: 40px; }
.rhr-foot .lg-priefert { height: 33px; }
.rhr-foot .copy { margin: 34px 0 0; color: #8c857c; font-size: 13px; }
@keyframes rhrSponsorLoop { to { transform: translateX(-50%); } }

@media (hover: hover) and (pointer: fine) {
    .rhr-foot .btn-rhr:hover { transform: translateY(-2px); }
    .rhr-foot .sponsors a { transition: transform .25s; }
    .rhr-foot .sponsors a:hover { transform: translateY(-3px); }
}
@media (max-width: 640px) {
    .rhr-foot .btn-rhr { width: 100%; padding: 15px 16px; letter-spacing: .06em; text-align: center; }
    .rhr-foot .sponsors { mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
    .rhr-foot .sponsors-track { gap: 30px; animation-duration: 38s; }
}
@media (prefers-reduced-motion: reduce) {
    .rhr-foot .sponsors { overflow-x: auto; }
    .rhr-foot .sponsors-track { animation: none; }
}
