/* ==========================================================================================
   riata-theme.css — the Riata Buckle redesign, as one stylesheet.

   Loaded by Pages/Shared/_Layout.cshtml AFTER each page's PageHead section, so it wins over
   the pages' own <style> blocks at equal specificity without any page being edited. Every
   rule is scoped to body.rt (set by the new layout), so the staff (/rbsta2) and admin
   (/admin) shells — which do not use this layout — are untouched.

   It styles riata's existing markup: Bootstrap 5.1 classes, the class names the page models
   build in C# (news-text, calendar-item, stallion-centered, …) and the layout's own hooks.
   No element IDs, form names or data attributes are relied on for anything but styling.
   ========================================================================================== */

:root {
    --rt-ink: #222222;
    --rt-black: #111111;
    --rt-red: #c2272c;
    --rt-red-dk: #9e1f23;
    --rt-red-on-dark: var(--rt-red);   /* text on black uses the button red too (Equine Network choice, Oct 2026). Note: 3.3:1 on #111, under WCAG AA 4.5 for small text; #f0462d is the AA-passing alternative. */
    --rt-rule: #d6d6d6;
    --rt-muted: #d6d6d6;
    --rt-dim: #666666;
    --rt-silver: #babbbd;
    --rt-gold: #9c783c;       /* Rope Horse Rewards gold (RHR's own gold): rules and edges */
    --rt-gold-ink: #8a6a33;   /* the same gold one step deeper for small text on white (5:1; #9c783c is 4.1:1) */
    --rt-nav-h: 76px;
    --rt-wrap: 1180px;
    --rt-gutter: max(1rem, calc((100% - var(--rt-wrap)) / 2));
    --rt-page: 64rem;   /* inner pages: one column, the Press & Media Credentials width */
    --rt-page-pad: clamp(1rem, 4vw, 2rem);
    --rt-page-gutter: calc(max(0px, (100% - var(--rt-page)) / 2) + var(--rt-page-pad));
    --rt-display: "Barlow Condensed", "rt-display-fb", "Arial Narrow", sans-serif;   /* rt-*-fb: metric-matched fallbacks (@font-face in the motion & loading block at the end) */
    --rt-silver-fill: #babbbd;   /* the silver in the Riata logo (sampled from the logo art) */
    --rt-panel: #000;          /* dark surfaces only: pure black, as on Results */
    --rt-tint: #f5f5f5;        /* light surfaces: hover rows, sidebars, flyers (neutral grey) */
    --rt-placeholder: #f3f3f3; /* light box behind card photos while they load */
    --rt-font: Poppins, poppins, "rt-text-fb", "Helvetica Neue", Arial, sans-serif;
    --rt-site-name: "Riata Buckle";   /* the kicker over page banners */
}
/* The online-entry pages in the Rope Horse Rewards experience (body.rt-rhr, Pages/Shared/_Layout.cshtml): the same pages
   under RHR's header and footer, with RHR's gold in every place Riata's red would be. --rt-red is the deeper gold so
   white text on it keeps 5:1; on black the brighter RHR gold. Page banners carry RHR's name. */
body.rt.rt-rhr {
    --rt-red: #8a6a33;
    --rt-red-dk: #6e5428;
    --rt-red-on-dark: #c79a3e;
    --rt-site-name: "Rope Horse Rewards";
}

/* ── base ───────────────────────────────────────────────────────────────────────────────── */
body.rt {
    background: #fff;
    color: var(--rt-ink);
    font-family: var(--rt-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.rt h1, .rt h2, .rt h3, .rt h4, .rt h5 { font-family: var(--rt-font); text-wrap: balance; }
.rt h2 { font-weight: 700; }
.rt hr { color: var(--rt-rule); opacity: 1; }
.rt .container { max-width: var(--rt-wrap); }
.rt .container-skinny { max-width: 1100px; }
.rt .container-fluid { max-width: none; }
.rt section { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.rt a.link, .rt .link, .rt .link:hover, .rt .link:active { color: var(--rt-red); font-weight: 600; text-decoration: none; }
.rt a.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.rt .text-danger { color: var(--rt-red) !important; }

/* Pages that title themselves with the old gradient-text helper. */
.rt .rb-text-grad { background: none; -webkit-text-fill-color: currentColor; color: var(--rt-black); font-weight: 700; }

/* ── header / navigation ────────────────────────────────────────────────────────────────── */
/* strip above the main nav (Components/TopBar, as on wstroping.com): the next event, or the one running today, on the
   left; Log In on the right. It scrolls away; the nav under it stays stuck. Phones: one row, the event name cut short. */
.rt .rt-top-bar { background: #0b0c0d; color: #fff; border-bottom: 1px solid #2c2c2c; font-family: var(--rt-font); font-size: .78rem; line-height: 1.3; }
.rt .rt-top-bar-in { display: flex; align-items: center; gap: .5rem 1.5rem; min-height: 36px; }
.rt .rt-top-bar p { margin: 0; }
.rt .rt-top-evt { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: .3rem .75rem; }
.rt .rt-top-badge { flex: none; color: var(--rt-red); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rt .rt-top-bar.is-live .rt-top-badge { color: #fff; background: var(--rt-red); padding: .15rem .45rem; }
.rt .rt-top-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; text-decoration: none; font-family: var(--rt-display); font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rt .rt-top-name::after { content: "\00a0\2192"; content: "\00a0\2192" / ""; color: var(--rt-red); }
.rt .rt-top-name:hover, .rt .rt-top-name:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rt .rt-top-meta { flex: none; color: var(--rt-silver); letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.rt .rt-top-soon { flex: none; color: var(--rt-red); letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; font-weight: 600; }
.rt .rt-top-acct { flex: none; display: flex; gap: 1.25rem; margin-left: auto !important; }
.rt .rt-top-acct a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rt .rt-top-acct a:hover, .rt .rt-top-acct a:focus-visible { color: #fff; box-shadow: inset 0 -2px 0 var(--rt-red); }
@media (max-width: 991.98px) { .rt .rt-top-soon { display: none; } }
@media (max-width: 767.98px) { .rt .rt-top-meta { display: none; } }
@media print { .rt .rt-top-bar { display: none; } }

.rt .rt-nav {
    position: sticky; top: 0; z-index: 1030;
    background: var(--rt-black) !important;
    border: 0; border-bottom: 1px solid #3a3a3a;
    box-shadow: none;
    padding: 0;
    min-height: var(--rt-nav-h);
}
.rt .rt-nav > .container { min-height: var(--rt-nav-h); align-items: center; }
.rt .rt-nav .navbar-brand { min-width: 0; margin-right: 1.5rem; }
.rt .rt-logo { display: block; }
.rt .rt-logo img { display: block; height: auto; max-height: 92px; width: auto; margin-bottom: -22px; position: relative; z-index: 5; }
.rt .first-nav-item { margin-top: 0; }

.rt .rt-nav .nav-link {
    font-family: var(--rt-font);
    font-variant: normal;
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .16em;
    white-space: nowrap;
    color: #fff;
    padding: 0 .85rem !important;
    line-height: var(--rt-nav-h);
    transition: color .15s ease;
}
.rt .rt-nav .nav-link:hover, .rt .rt-nav .nav-link:focus-visible, .rt .rt-nav .nav-link.show { color: var(--rt-red-on-dark); text-decoration: none; }
.rt .rt-nav .dropdown-toggle::after {
    border: 0; width: 8px; height: 8px; margin-left: .5rem; vertical-align: .2em;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.rt .rt-nav .dropdown-menu {
    min-width: 250px; margin: 0; padding: .5rem 0;
    border: 0; border-top: 3px solid var(--rt-red); border-radius: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.rt .rt-nav .dropdown-item {
    font-family: var(--rt-font); font-variant: normal;
    font-size: .86rem; font-weight: 500; letter-spacing: .04em;
    color: var(--rt-ink); padding: .7rem 1.25rem;
    border-left: 3px solid transparent;
}
.rt .rt-nav .dropdown-item:hover, .rt .rt-nav .dropdown-item:focus { background: var(--rt-tint); border-left-color: var(--rt-red); color: var(--rt-ink); }
.rt .rt-nav .navbar-toggler { border: 0; padding: .5rem; box-shadow: none; }
.rt .rt-nav .navbar-toggler:focus-visible { outline: 2px solid #fff; }

/* Desktop: menus open on hover as well as on click (click still works for touch and keyboard). */
@media (min-width: 1200px) {
    .rt .rt-nav .dropdown-menu { position: absolute; top: 100%; }
}
/* Hover-open only where there is a real hovering pointer (not touch tablets, where :hover sticks). */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .rt .rt-nav .dropdown:hover > .dropdown-menu { display: block; }
    /* a click-opened panel gives way to the one under the pointer: never two panels at once */
    .rt .rt-nav .navbar-nav:hover > .dropdown:not(:hover) > .dropdown-menu.show { display: none; }
    .rt .rt-nav .navbar-nav:hover > .dropdown:not(:hover) > .nav-link.show { color: #fff; }
    /* Escape dismisses a hover-opened panel (riata-theme.js adds .rt-nohover until the pointer moves on) */
    .rt .rt-nav.rt-nohover .dropdown:hover > .dropdown-menu:not(.show) { display: none; }
}

/* Below xl: the collapse becomes a full-width dark panel with stacked groups. */
@media (max-width: 1199.98px) {
    .rt .rt-nav { --rt-nav-h: 66px; }
    .rt .rt-logo img { max-height: 66px; margin-bottom: -14px; }
    .rt .rt-nav .navbar-collapse { margin: 0 calc(var(--bs-gutter-x, .75rem) * -1); padding: .5rem 0 1rem; border-top: 1px solid rgba(255, 255, 255, .12); max-height: calc(100vh - var(--rt-nav-h)); overflow-y: auto; }
    .rt .rt-nav .nav-item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .rt .rt-nav .nav-link { line-height: 1.4; padding: 1.1rem 1.25rem !important; font-size: .85rem; letter-spacing: .14em; display: flex; justify-content: space-between; align-items: center; }
    .rt .rt-nav .dropdown-toggle::after { border-color: var(--rt-red); transition: transform .2s ease; }
    .rt .rt-nav .dropdown-toggle.show::after { transform: rotate(-135deg); }
    .rt .rt-nav .dropdown-menu { background: transparent; box-shadow: none; border-top: 0; padding: 0 0 .6rem; }
    .rt .rt-nav .dropdown-item { color: var(--rt-muted); font-size: .9rem; padding: .7rem 1.25rem .7rem 2rem; }
    .rt .rt-nav .dropdown-item:hover, .rt .rt-nav .dropdown-item:focus { background: transparent; color: #fff; }
}

/* ── page title band ────────────────────────────────────────────────────────────────────────
   Most pages open with <section><header class="border-grad-horz-sm"><h1 class="rb-header">. */
.rt section > header.border-grad-horz-sm {
    position: relative;
    background: var(--rt-black);
    border: 0; border-bottom: 3px solid var(--rt-red);
    border-image: none;
    text-align: left;
    padding: clamp(2.4rem, 7vw, 4rem) var(--rt-page-gutter);
    margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}
.rt section > header.border-grad-horz-sm::before {
    content: var(--rt-site-name); content: var(--rt-site-name) / "";
    display: block;
    text-transform: uppercase; letter-spacing: .26em; font-weight: 700;
    color: var(--rt-red-on-dark); font-size: clamp(.68rem, 2.2vw, .78rem);
    margin: 0 0 .8rem;
}
.rt .rb-header {
    font-family: var(--rt-font);
    font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.05;
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    color: var(--rt-black);
}
/* In the band: big and white. */
.rt header.border-grad-horz-sm .rb-header { font-size: clamp(2rem, 7.5vw, 4rem); line-height: 1; color: #fff; margin: 0; }

/* Section headings in the new layout (sponsor bar). */
.rt .rt-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.rt .rt-sec-h h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--rt-black); }
.rt .rt-sec-h h2::after { content: ""; display: block; width: 42px; height: 3px; background: var(--rt-red); margin-top: .7rem; }
.rt .rt-more { color: var(--rt-black); text-decoration: none; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; }
.rt .rt-more:hover { color: var(--rt-red); }

/* ── buttons & forms ────────────────────────────────────────────────────────────────────── */
.rt .btn {
    border-radius: 0;
    font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
    padding: .85rem 1.5rem;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.rt .btn-sm { padding: .35rem .75rem; font-size: .68rem; letter-spacing: .08em; }
.rt .btn-dark, .rt .btn-secondary, .rt .btn-primary { background: var(--rt-red); border-color: var(--rt-red); color: #fff; }
.rt .btn-dark:hover, .rt .btn-secondary:hover, .rt .btn-primary:hover { background: var(--rt-black); border-color: var(--rt-black); color: #fff; }
.rt .btn-danger { background: var(--rt-red); border-color: var(--rt-red); }
.rt .btn-danger:hover { background: var(--rt-red-dk); border-color: var(--rt-red-dk); }
.rt .btn-outline-dark, .rt .btn-light { background: transparent; border: 1px solid var(--rt-black); color: var(--rt-black); }
.rt .btn-outline-dark:hover, .rt .btn-light:hover { background: var(--rt-black); color: #fff; }
.rt .btn:disabled, .rt .btn.disabled { opacity: .55; }

.rt .form-control, .rt .form-select, .rt input.text-field, .rt select.text-field {
    border-radius: 0; border: 1px solid var(--rt-rule); border-bottom: 2px solid var(--rt-black);
    padding: .7rem .9rem; font-size: 1rem; color: var(--rt-ink);
}
.rt .form-control:focus, .rt .form-select:focus, .rt input.text-field:focus { border-color: var(--rt-red); box-shadow: 0 0 0 3px rgba(194, 39, 44, .15); outline: 0; }
.rt label, .rt .form-label, .rt .text-field-label { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rt-ink); }
.rt .form-check-input:checked { background-color: var(--rt-red); border-color: var(--rt-red); }

/* ── tables ─────────────────────────────────────────────────────────────────────────────── */
.rt .table { font-size: .92rem; }
.rt .table:not(.table-borderless) > :not(caption) > * > * { padding: .75rem .9rem; }   /* borderless form tables keep the page's own tight spacing */
.rt .table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
/* label-and-field tables (the horse details on Nominate and Rewards Entry): labels sit level with their fields; on
   phones each label stacks over its field (the phone block below) */
.rt .rt-field-table td { vertical-align: middle; }
@media (min-width: 768px) { .rt .rt-field-table td:first-child { width: 40%; } }
.rt .rt-field-table td:first-child label { margin: 0; }
.rt .rt-field-table .fst-italic { font-size: .85rem; color: var(--rt-dim); }
/* a lookup box and its button on one line (AQHA lookup): the box takes the room the button leaves */
.rt .rt-lookup { display: flex; align-items: center; gap: .5rem; max-width: 26rem; }
.rt .rt-lookup input[type=text] { flex: 1 1 auto; min-width: 0; }
/* a select with a button after it (Side Pot's # Entries and Reset): a gap between them, also when the button wraps */
.rt .rt-select-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* ── modals ─────────────────────────────────────────────────────────────────────────────── */
.rt .modal-content { border-radius: 0; border: 0; border-top: 3px solid var(--rt-red); }
.rt .modal-title { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }

/* ── home: slider, promo tiles, news + schedule ────────────────────────────────────────── */
/* Hero slideshow: a fixed-height band (whatever shape the uploaded slide is), the photo
   cropped to fill it, and the slide's Title as a caption over a dark gradient. */
.rt #rbCarousel { max-width: none; background: var(--rt-black); border-bottom: 3px solid var(--rt-red); }
.rt #rbCarousel .carousel-item { height: clamp(440px, 46vw, 640px); background: var(--rt-black); }
.rt #rbCarousel .carousel-item > a, .rt #rbCarousel .carousel-item > img { display: block; height: 100%; }
.rt #rbCarousel .carousel-item img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.rt #rbCarousel .carousel-item:has(.rt-cap)::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(17, 17, 17, .94) 0%, rgba(17, 17, 17, .7) 38%, rgba(17, 17, 17, .15) 75%, rgba(17, 17, 17, 0) 100%);
}
.rt #rbCarousel .rt-cap {
    z-index: 2; top: 50%; bottom: auto; left: var(--rt-gutter); right: var(--rt-gutter); transform: translateY(-50%);
    max-width: 680px; padding: 0; text-align: left; color: #fff;
}
.rt .rt-cap-k { text-transform: uppercase; letter-spacing: .26em; font-weight: 700; color: var(--rt-red-on-dark); font-size: clamp(.68rem, 2.2vw, .78rem); margin: 0 0 .9rem; }
.rt .rt-cap-t { font-family: var(--rt-font); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1; font-size: clamp(2rem, 6.4vw, 4.2rem); margin: 0 0 1.8rem; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.rt .rt-cap .btn { padding: .95rem 1.7rem; }
.rt .rt-cap .btn:hover { background: #fff; border-color: #fff; color: var(--rt-black); }
.rt #rbCarousel .carousel-control-prev, .rt #rbCarousel .carousel-control-next { width: 56px; z-index: 3; opacity: .7; }
.rt #rbCarousel .carousel-control-prev:hover, .rt #rbCarousel .carousel-control-next:hover { opacity: 1; }
@media (max-width: 767.98px) {
    .rt #rbCarousel .carousel-item { height: 520px; }
    .rt #rbCarousel .carousel-item:has(.rt-cap)::before { background: linear-gradient(0deg, rgba(17, 17, 17, .95) 0%, rgba(17, 17, 17, .75) 45%, rgba(17, 17, 17, .1) 100%); }
    .rt #rbCarousel .rt-cap { top: auto; bottom: 2.4rem; transform: none; left: 1.25rem; right: 1.25rem; }
    .rt #rbCarousel .carousel-control-prev, .rt #rbCarousel .carousel-control-next { top: 0; bottom: auto; height: 50%; width: 44px; }
}
.rt section.mb-4:has(#rbCarousel) { margin-bottom: clamp(2rem, 5vw, 3rem) !important; }

.rt #ContentBody .col-12.col-md-6 > a.link { display: block; position: relative; overflow: hidden; background: var(--rt-black); }
.rt #ContentBody .figure-img { margin: 0; width: 100%; transition: transform .35s ease, opacity .35s ease; }
.rt #ContentBody a.link:hover .figure-img { transform: scale(1.03); }
.rt #ContentBody a.link:has(.image-header)::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(17, 17, 17, .85) 0%, rgba(17, 17, 17, .35) 55%, rgba(17, 17, 17, .1) 100%);
}
.rt .image-header, .rt .image-subtext {
    z-index: 2; left: 1.5rem; right: 1.5rem; width: auto; transform: none; text-align: left; color: #fff;
}
.rt .image-header {
    top: auto; bottom: 3.1rem;
    font-family: var(--rt-font); font-variant: normal; text-decoration: none;
    text-transform: uppercase; font-weight: 700; letter-spacing: .03em; line-height: 1.05;
    font-size: clamp(1.4rem, 3.4vw, 2.2rem);
}
.rt .image-subtext {
    top: auto; bottom: 1.3rem;
    font-size: clamp(.66rem, 1.6vw, .78rem); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--rt-muted);
}
.rt .image-subtext::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--rt-red); vertical-align: middle; margin-right: .6rem; }

.rt .news-area, .rt .calendar-area {
    background: #fff !important; min-height: 0; padding: 1.6rem 1.6rem .4rem;
    border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-black);
}
.rt .news-box {
    position: static; transform: none; width: auto; text-align: left;
    font-family: var(--rt-font); font-variant: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    font-size: clamp(1.4rem, 3.5vw, 1.8rem); color: var(--rt-black); margin: .6rem 0 1rem;
}
.rt .news-box::after { content: ""; display: block; width: 42px; height: 3px; background: var(--rt-red); margin-top: .6rem; }
.rt p.news-text {
    display: flex; flex-direction: column-reverse; gap: .25rem;
    text-align: left; color: var(--rt-ink); font-size: 1rem; font-weight: 400; padding: 0 0 .9rem; margin: 0 0 .9rem;
    border-bottom: 1px solid var(--rt-rule);
}
.rt p.news-text br { display: none; }
.rt a.news-text { color: var(--rt-black); font-weight: 600; text-decoration: none; text-align: left; padding: 0; font-size: 1rem; }
.rt a.news-text:hover { color: var(--rt-red); text-decoration: none; }
.rt .news-date { color: var(--rt-red); font-style: normal; font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; text-align: left; width: auto; }
.rt div.more-text { text-align: left; padding: .2rem 0 .6rem; }
.rt div.more-text br { display: none; }
.rt a.more-text, .rt div.more-text a.news-text { color: var(--rt-black); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.rt div.more-text a::after { content: " \2192"; content: " \2192" / ""; }
.rt div.more-text a:hover { color: var(--rt-red); }

/* ── news (list and article) ────────────────────────────────────────────────────────────── */
/* News (/news): the homepage's news cards in a three-up grid, each with its one-line summary */
.rt .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: .5rem 0 2rem; }
.rt .news-grid .rt-news-t { padding-bottom: .4rem; font-size: 1.05rem; }
.rt .news-sum { display: block; padding: 0 1.2rem 1.3rem; font-size: .9rem; line-height: 1.5; color: var(--rt-dim); }
@media (max-width: 991.98px) { .rt .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .rt .news-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
/* News story (/news?N=…): the lead photo, never cropped or enlarged, beside the headline on desktop;
   the red date label; the story's own sub-heads and photos; Previous / Next as one row */
.rt .news-story { display: flow-root; margin: 0 0 1.5rem; }
.rt .news-story-img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(460px, 54vh); margin: 0 0 1.6rem; border-top: 3px solid var(--rt-black); box-shadow: 0 10px 22px -14px rgba(15, 16, 18, .5); }
.rt .news-story > .news-date { margin: -.2rem 0 1.2rem; }
.rt .news-body h4 { margin: 1.6rem 0 .6rem; font-weight: 700; }
.rt .news-body img { display: block; max-width: 100%; height: auto; margin: 1rem 0; }
.rt .news-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin: 0 0 2rem; padding-top: 1rem; border-top: 1px solid var(--rt-rule); }
.rt .news-pager a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--rt-black); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.rt .news-pager a:hover, .rt .news-pager a:focus-visible { color: var(--rt-red); }
.rt .news-pager-prev::before { content: "\2190"; content: "\2190" / ""; color: var(--rt-red); font-size: 1rem; letter-spacing: 0; }
.rt .news-pager-next { margin-left: auto; }
.rt .news-pager-next::after { content: "\2192"; content: "\2192" / ""; color: var(--rt-red); font-size: 1rem; letter-spacing: 0; }
@media (min-width: 992px) {
    .rt .news-story-img { float: right; max-width: min(46%, 560px); margin: .35rem 0 1.6rem clamp(1.5rem, 3vw, 2.5rem); }
}

/* ── schedule ───────────────────────────────────────────────────────────────────────────── */
.rt .calendar-item { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rt-rule); background: #fff; align-items: center; }
.rt .calendar-item.clickable { cursor: pointer; }
.rt .calendar-item.clickable:hover { background: var(--rt-tint); }
.rt .calendar-item-left { text-align: center; border-right: 3px solid var(--rt-red); }
.rt .calendar-item-left .eventDay { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--rt-red); }
.rt .calendar-item-left .eventDate { font-size: 1.05rem; font-weight: 700; color: var(--rt-black); }
.rt .expandableCal .eventDate { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--rt-dim); }
.rt .eventName { font-size: 1.1rem; font-weight: 700; color: var(--rt-black); }
.rt .expandableCal p:last-child { margin: .2rem 0 0; color: var(--rt-dim); font-size: .92rem; }
.rt .eventFlyer { background: var(--rt-tint); padding: 1rem 1.2rem; border-left: 3px solid var(--rt-red); }

/* ── stallions ──────────────────────────────────────────────────────────────────────────────
   Current stallions: a photo card per stallion, name and "Since" year under the photo. */
.rt .stallion-card { display: flex; flex-direction: column; text-decoration: none; color: var(--rt-ink); overflow: hidden; }
.rt .stallion-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-top: 3px solid var(--rt-black); background: var(--rt-placeholder); transition: border-color .15s ease, transform .35s ease; }
.rt .stallion-card:hover img { border-top-color: var(--rt-red); transform: scale(1.03); }
.rt .stallion-card-n {
    color: var(--rt-black); font-family: var(--rt-font); font-size: .95rem; font-weight: 600; line-height: 1.35; padding-top: .7rem;
    overflow-wrap: anywhere;   /* one-word names ("Moonshinesgotmefiren") wrap instead of being clipped */
}
.rt .stallion-card:hover .stallion-card-n { color: var(--rt-red); }

/* Past stallions and the text list: tidy lists, not big centred small-caps. */
.rt p.stallion-name { text-align: left; font-family: var(--rt-font); font-variant: normal; font-size: 1rem; font-weight: 600; margin: 0; padding: .7rem 0 0; color: var(--rt-black); }
.rt a.stallion-name { color: var(--rt-black); font-weight: 600; text-decoration: none; font-size: 1rem; font-variant: normal; }
.rt a.stallion-name:hover { color: var(--rt-red); }
.rt .p-years { margin: 0 0 .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--rt-rule); color: var(--rt-dim); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; text-align: left; }

/* Entry area (/enter): section rules and labels. */
.rt .hr-gradient { border: 0; border-bottom: 1px solid var(--rt-rule); box-shadow: none; border-image: none; height: 0; margin: 1.2rem 0; line-height: 0; overflow: hidden; }
.rt .type-name { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .14em; color: var(--rt-red); }

/* (Search box and sort added by riata-theme.js on the current stallions page.) */
.rt .rt-st-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin: 0 0 1rem; }
.rt .rt-st-search { flex: 1 1 260px; max-width: 360px; }
.rt .rt-st-count { color: var(--rt-dim); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1.4rem; }

/* ── sponsors (bar in the layout, and the Sponsors page) ───────────────────────────────── */
.rt .rt-sponsors { margin: clamp(2.5rem, 6vw, 4rem) auto clamp(2.5rem, 6vw, 4rem); }
.rt .rt-sponsors .sponsor-slider { border-top: 1px solid var(--rt-rule); border-bottom: 1px solid var(--rt-rule); padding: 1.6rem 0; }
.rt .rt-sponsors .slick-slide { padding: 0 1.4rem; }   /* this slick build renders .slick-slide > a > img (no row wrappers) */
.rt .rt-sponsors .slick-slide img { max-height: 56px; width: auto; margin: 0 auto; background: none; }
.rt .rt-sponsors .slick-track { display: flex; align-items: center; }
/* No grey card behind any logo. */
.rt .sponsor-background { background: none; border-radius: 0; box-shadow: none; width: auto; max-height: 90px; }
.rt .sponsor-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--rt-red); }

/* ── footer ─────────────────────────────────────────────────────────────────────────────── */
.rt .rt-foot {
    background: var(--rt-black) !important;
    border: 0; border-top: 3px solid var(--rt-red); border-image: none; box-shadow: none;
    padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; min-height: 0;
    font-family: var(--rt-font);
}
.rt .rt-foot-logo { width: 100%; max-width: 120px; height: auto; aspect-ratio: auto 271 / 200; margin-bottom: 1.2rem; }   /* box reserved before the lazy logo loads; its own ratio wins once it has */
.rt .rt-social { display: flex; gap: .6rem; margin: 0; }
.rt .rt-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #555; color: #fff; font-size: 1rem; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.rt .rt-social a:hover { border-color: var(--rt-red-on-dark); color: var(--rt-red-on-dark); text-decoration: none; }
.rt .rt-foot-h { color: var(--rt-red-on-dark); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; margin: 0 0 .8rem; }
.rt .rt-foot .rb-text-foot { font-variant: normal; font-size: .84rem; line-height: 1.75; padding: 0; color: #e6e6e6; margin: 0; }
.rt .rt-foot a { color: #fff; font-size: .84rem; font-weight: 500; text-decoration: none; }
.rt .rt-foot a:hover { color: var(--rt-red-on-dark); text-decoration: none; }
.rt .rt-foot-links { list-style: none; padding: 0; margin: 0; line-height: 2; }
.rt .rt-foot hr { color: #3a3a3a; margin: 2.5rem 0 1.2rem; background: currentColor; height: 1px; }
.rt .rt-copy { margin: 0; color: #9a9a9a; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }

/* ── /enter (online entries) ────────────────────────────────────────────────────────────── */
.rt .rhr-btn { border-radius: 0 !important; background: var(--rt-black) !important; border: 0 !important; border-left: 4px solid var(--rt-red) !important; box-shadow: none !important; }
.rt .rhr-btn:hover { background: var(--rt-red) !important; border-left-color: var(--rt-black) !important; }
.rt .rhr-btn, .rt .rhr-btn:hover, .rt .rhr-btn:focus-visible, .rt .rhr-btn .line1, .rt .rhr-btn:hover .line1 { color: #fff !important; text-decoration: none; }
.rt .rhr-btn .line1 { font-family: var(--rt-font); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.rt .rhr-btn .line2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--rt-muted); }
.rt .rhr-btn .divider { background: var(--rt-red) !important; }
.rt .entry-card, .rt .content-background { border-radius: 0 !important; border: 1px solid var(--rt-rule) !important; border-top: 3px solid var(--rt-black) !important; box-shadow: none !important; }
.rt .entry-header { font-family: var(--rt-font); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
/* the horse and partner pickers' groups (Pages/Enter/RecentPicks.cs): "Your recent horses" / "All horses" rows in the
   search table, "Your recent partners" over the partner list */
.rt .table-dark tr.rt-pick-h th { background: var(--rt-tint); color: var(--rt-dim) !important; font-size: .7rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: default; }
.rt p.rt-pick-h { margin: 0 0 .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rt-dim); }

/* ── small fixes ────────────────────────────────────────────────────────────────────────── */
.rt #ContentBody .row:has(.news-box), .rt #ContentBody .row:has(.rt-sec-h) { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.rt a.more-text, .rt div.more-text a { text-decoration: none; }
/* riata-theme.js splits the stallion card's "(2024)" into this line. */
.rt .stallion-card-y { display: block; margin-top: .15rem; color: var(--rt-dim); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.rt .stallion-card-y.is-new { color: var(--rt-red); }

/* Page tabs (cart: Credit Card / Bank Transfer). The active tab carries bg-dark in its markup. */
.rt .nav-tabs { border-bottom: 2px solid var(--rt-black); }
.rt .nav-tabs .nav-link { border: 0; border-radius: 0; color: var(--rt-ink); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: .85rem 1.2rem; }
.rt .nav-tabs .nav-link:hover { color: var(--rt-red); }
.rt .nav-tabs .nav-link.active { background: var(--rt-black) !important; color: #fff !important; box-shadow: inset 0 -3px 0 var(--rt-red); }

/* Login: the "Powered by Global" note. */
.rt #disclaimer { background: var(--rt-black) !important; border-left: 4px solid var(--rt-red); border-radius: 0 !important; font-size: .92rem; }

/* Band titles that use the older helper carry an inline font-size (5em/7em), which is what
   pushed the Riata, RHRC, Schedule and Breakaway pages sideways on phones. */
.rt header.border-grad-horz-sm > h1, .rt header.border-grad-horz-sm > h2 {
    font-family: var(--rt-font); font-size: clamp(2rem, 7.5vw, 4rem) !important; line-height: 1;
    font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    color: #fff; -webkit-text-fill-color: #fff; background: none; padding: 0; margin: 0;
    overflow-wrap: anywhere;
}
.rt header.border-grad-horz-sm > h3, .rt header.border-grad-horz-sm > p {
    border-top: 1px solid rgba(255, 255, 255, .22); margin: clamp(1.2rem, 3.5vw, 1.8rem) 0 0; padding-top: clamp(.9rem, 2.5vw, 1.1rem);
    color: var(--rt-muted); font-size: clamp(.7rem, 2.3vw, .82rem); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.8;
}

/* Wide tables scroll inside themselves on small screens instead of widening the page. */
@media (max-width: 767.98px) {
    .rt .table-responsive { display: block; max-width: 100%; overflow-x: auto; }
    .rt .table.w-75 { width: 100% !important; }
}
/* Safety net: nothing may scroll the whole page sideways. (clip, not hidden: sticky still works.) */
html:has(> body.rt), body.rt { overflow-x: clip; }


/* Schedule: the page's own rules add a black top rule and a red cap to the date; the theme's rows replace both. */
.rt .calendar-item, .rt .calendar-item-left { border-top: 0; }
.rt .calendar-item:first-child { border-top: 2px solid var(--rt-black); }
.rt .expandableCal::after { content: "+"; content: "+" / ""; font-family: var(--rt-font); font-weight: 400; font-size: 1.8rem; line-height: 1; color: var(--rt-red); top: 50%; transform: translateY(-50%); }
.rt .expandableCal.active::after { content: "\2013"; content: "\2013" / ""; }

/* ── home: news as image cards, schedule as date cards (both full width) ───────────────── */
.rt .news-area.rt-news { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 0; border: 0; background: none !important; min-height: 0; }
.rt .rt-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rt-rule); color: var(--rt-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.rt .rt-news-card:hover { border-color: var(--rt-black); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.rt .rt-news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--rt-placeholder); border-bottom: 3px solid var(--rt-black); transition: border-color .15s ease; }
.rt .rt-news-card:hover img { border-bottom-color: var(--rt-red); }
.rt .rt-news-card .news-date { display: block; padding: 1.1rem 1.2rem 0; }
.rt .rt-news-t { display: block; padding: .35rem 1.2rem 1.3rem; font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--rt-black); }
.rt .rt-news-card:hover .rt-news-t { color: var(--rt-red); }
.rt .news-area.rt-news > .more-text, .rt .calendar-area > .more-text { grid-column: 1 / -1; padding: 0; }

.rt .calendar-area { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 0; border: 0; background: none !important; min-height: 0; }
.rt .calendar-area > p.news-text { margin: 0; padding: 1.2rem 1.2rem 1.3rem; border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-red); background: #fff; }
.rt #ContentBody .row:has(.calendar-area) { margin-top: 0; }
.rt #ContentBody .col-12:has(.calendar-area) { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 991.98px) {
    .rt .news-area.rt-news, .rt .calendar-area { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .rt .news-area.rt-news, .rt .calendar-area { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================================
   Polish layer: black panels, silver hairlines, a condensed display face.
   Pure CSS on top of everything above; later layers build on it, so it is no longer removable as a block.
   Palette: the brand red stays; silver, from the logo (--rt-silver-fill), is for hairlines and small details only.
   ========================================================================================== */

/* display face for headlines */
.rt .rt-cap-t, .rt .rb-header, .rt header.border-grad-horz-sm > h1, .rt header.border-grad-horz-sm > h2,
.rt .image-header, .rt .rs-title, .rt .mc-title {
    font-family: var(--rt-display); font-weight: 700; letter-spacing: .02em;
}
.rt .rt-cap-t { font-size: clamp(2.6rem, 8.4vw, 5.6rem); line-height: .94; }
.rt header.border-grad-horz-sm > h1, .rt header.border-grad-horz-sm > h2 { font-size: clamp(2rem, 7.5vw, 4rem) !important; line-height: 1; }
.rt .rb-header { line-height: .98; }
.rt .image-header { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: .03em; }
/* section headings (sponsor bar, home News/Schedule) follow the Results split: Poppins 700 like content h2s; Barlow stays for bands, hero, CTA, promo tiles */
.rt .rt-sec-h h2, .rt .news-box {
    font-family: var(--rt-font); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
    font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.15; color: var(--rt-black);
}

/* header: pure black, silver hairline, soft drop */
.rt .rt-nav {
    background: #000 !important;
    border-bottom: 1px solid rgba(186, 187, 189, .30);
    box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .65);
}

/* title bands: the red bar is the ::after, not a border; footer: pure black under a solid red rule */
.rt section > header.border-grad-horz-sm { border-bottom: 0; }
.rt section > header.border-grad-horz-sm::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--rt-red);
}
.rt .rt-foot { position: relative; background: #000 !important; border-top: 0; }
.rt .rt-foot::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: var(--rt-red);
}

/* hero: black vignette, a solid red rule under it, and a slow push-in on the photo */
.rt #rbCarousel { border-bottom: 0; position: relative; background: var(--rt-panel); }
.rt #rbCarousel::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; pointer-events: none;
    background: var(--rt-red);
}
.rt #rbCarousel .carousel-item:has(.rt-cap)::before {
    background:
        radial-gradient(90% 120% at 0% 55%, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .72) 45%, rgba(0, 0, 0, 0) 80%),
        linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 38%);
}
.rt #rbCarousel .carousel-item { overflow: hidden; }
.rt #rbCarousel .carousel-item.active img { animation: rt-push 16s ease-out both; }
@keyframes rt-push { from { transform: scale(1); } to { transform: scale(1.07); } }
.rt .rt-cap-k::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: .7rem; vertical-align: middle; background: var(--rt-silver-fill); }
@media (max-width: 767.98px) {
    .rt #rbCarousel .carousel-item:has(.rt-cap)::before {
        background: linear-gradient(0deg, rgba(0, 0, 0, .97) 0%, rgba(0, 0, 0, .8) 46%, rgba(0, 0, 0, .08) 100%);
    }
}

/* buttons: flat brand red, black on hover (the Results look); on the black bands a hovered button turns white.
   Keyboard focus keeps the button's colours and adds a ring (focus rules in the brand-system block at the end). */
.rt .btn-dark, .rt .btn-secondary, .rt .btn-primary, .rt .btn-danger {
    background: var(--rt-red); border-color: var(--rt-red); color: #fff; box-shadow: none;
}
.rt .btn-dark:hover, .rt .btn-secondary:hover, .rt .btn-primary:hover, .rt .btn-danger:hover {
    background: var(--rt-black); border-color: var(--rt-black); color: #fff; box-shadow: none;
}
/* a button that can't be pressed yet (e.g. an entry form's Submit before "I Agree"): plainly grey, not a faded red */
.rt :is(.btn-dark, .btn-secondary, .btn-primary, .btn-danger):disabled {
    background: var(--rt-tint); border-color: var(--rt-rule); color: var(--rt-dim); opacity: 1;
}
.rt .rt-cta .btn:hover, .rt .rt-cap .btn:hover { background: #fff; border-color: #fff; color: var(--rt-black); box-shadow: none; }

/* promo tiles: deeper gradient, hairline frame, lift on hover */
.rt #ContentBody .col-12.col-md-6 > a.link { box-shadow: 0 1px 1px rgba(15, 16, 18, .06), 0 10px 26px -14px rgba(15, 16, 18, .45); transition: transform .25s ease, box-shadow .25s ease; }
.rt #ContentBody .col-12.col-md-6 > a.link:hover { transform: translateY(-4px); box-shadow: 0 2px 2px rgba(15, 16, 18, .08), 0 26px 40px -20px rgba(15, 16, 18, .6); }
.rt #ContentBody a.link:has(.image-header)::after {
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .45) 48%, rgba(0, 0, 0, .08) 100%);
    box-shadow: inset 0 0 0 1px rgba(186, 187, 189, .18);
}
.rt .image-subtext::before { background: var(--rt-silver-fill); }

/* cards: flat and square at rest (the Results look); news cards still lift on hover */
.rt .rt-news-card, .rt .calendar-area > p.news-text, .rt .rt-sponsors .sponsor-slider, .rt .eventFlyer { border-radius: 0; box-shadow: none; }
.rt .rt-news-card { transition: transform .22s ease, box-shadow .22s ease, border-color .15s ease; overflow: hidden; }
.rt .rt-news-card:hover { transform: translateY(-4px); box-shadow: 0 2px 2px rgba(15, 16, 18, .06), 0 22px 34px -18px rgba(15, 16, 18, .5); }
.rt .rt-sponsors .sponsor-slider { background: #fff; border: 1px solid var(--rt-rule); }

/* section headings: solid red rule, as on Results */
.rt .rt-sec-h h2::after, .rt .news-box::after { background: var(--rt-red); width: 56px; height: 3px; margin-top: .6rem; }
.rt .news-area.rt-news, .rt .calendar-area { margin-top: .4rem; }


/* dropdown menus: panel depth */
.rt .rt-nav .dropdown-menu { box-shadow: 0 24px 44px -16px rgba(0, 0, 0, .55); }

/* forms and tables sit on paper with a hairline */
.rt .entry-card, .rt .content-background { background: #fff; }

@media (prefers-reduced-motion: reduce) {
    .rt #rbCarousel .carousel-item.active img { animation: none; }
    .rt .rt-news-card, .rt #ContentBody .col-12.col-md-6 > a.link, .rt .stallion-card img { transition: none; }
    .rt .rt-news-card:hover, .rt #ContentBody .col-12.col-md-6 > a.link:hover { transform: none; }
}

/* The live pages still reference --riata-gold (footer text, a few page styles). Under the redesign
   that colour comes from the logo's silver instead. */
body.rt { --riata-gold: var(--rt-silver-fill); }

/* ==========================================================================================
   Showpiece layer: photography and contrast, so the page has rhythm instead of one cream stripe.
   Photos live in wwwroot/assets/img/hero/ (exported with the theme); the home photo band uses rewards.jpg.
   ========================================================================================== */

/* page title bands: the Results look. Solid black, red rules top and bottom. */
.rt section > header.border-grad-horz-sm {
    background: #000; border-top: 3px solid var(--rt-red);
    padding-top: clamp(2.6rem, 7.5vw, 4.4rem); padding-bottom: clamp(2.6rem, 7.5vw, 4.4rem);
}
.rt section > header.border-grad-horz-sm::after { background: var(--rt-red); }


/* promo tiles: red bar grows in on hover, photo pushes in */
.rt #ContentBody a.link:has(.image-header) .figure-img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rt #ContentBody a.link:has(.image-header):hover .figure-img { transform: scale(1.07); }
.rt #ContentBody a.link:has(.image-header)::before {
    content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; z-index: 3;
    background: var(--rt-red); transition: width .45s cubic-bezier(.2, .7, .2, 1);
}
.rt #ContentBody a.link:has(.image-header):hover::before { width: 100%; }

/* news: the newest story leads, big; the next three stack beside it */
@media (min-width: 992px) {
    .rt .news-area.rt-news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rt .news-area.rt-news > .rt-news-card:first-child { grid-column: 1 / span 2; grid-row: 1 / span 3; }
    .rt .news-area.rt-news > .rt-news-card:first-child img { aspect-ratio: auto; flex: 1; min-height: 260px; }
    .rt .news-area.rt-news > .rt-news-card:first-child .rt-news-t { font-family: var(--rt-display); font-weight: 700; text-transform: uppercase; font-size: 2.1rem; line-height: 1; letter-spacing: .01em; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) {
        grid-column: 3 / span 2; display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr; align-content: center;
    }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) img { grid-row: 1 / span 2; height: 100%; aspect-ratio: 16 / 11; border-bottom: 0; border-right: 3px solid var(--rt-black); }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):hover img { border-right-color: var(--rt-red); }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) .news-date { align-self: end; }
}

/* sponsors breathe a little more after the dark band */
.rt .rt-sponsors { padding-top: 0; }

@media (prefers-reduced-motion: reduce) {
    .rt #ContentBody a.link:has(.image-header) .figure-img, .rt #ContentBody a.link:has(.image-header)::before, .rt .calendar-area > p.news-text { transition: none; }
    .rt #ContentBody a.link:has(.image-header):hover .figure-img, .rt .calendar-area > p.news-text:hover { transform: none; }
}


/* ==========================================================================================
   Results look, site-wide, and the information widgets riata-theme.js builds from page text.
   ========================================================================================== */

/* crisp reading text on white */
body.rt { color: #1d1d1d; text-rendering: optimizeLegibility; }
.rt .container-skinny { font-size: 1.0625rem; line-height: 1.72; }
.rt .container-skinny > p.text-center { margin-left: auto; margin-right: auto; }
.rt .container-skinny b, .rt .container-skinny strong, .rt .container-skinny .fw-bold { color: #111; }

/* section headings: uppercase with the Results red rule */
.rt section .container-skinny h2:where(:not(.rs h2)), .rt section .container-skinny .rt-ph, .rt .rt-ph {   /* the Results pages (.rs) set their own h2s and rule */
    font-family: var(--rt-font); text-transform: uppercase; letter-spacing: .02em; font-weight: 700;
    font-size: clamp(1.35rem, 2.8vw, 2rem) !important; line-height: 1.15; color: var(--rt-black);
    margin: clamp(2.2rem, 5vw, 3rem) 0 1.2rem; text-align: left !important; scroll-margin-top: 20px;   /* the sticky bars are cleared by scroll-padding on html (navigation block) */
}
.rt section .container-skinny h2:where(:not(.rs h2))::after, .rt .rt-ph::after { content: ""; display: block; width: 56px; height: 3px; background: var(--rt-red); margin-top: .6rem; }
.rt section .container-skinny h3 { font-weight: 700; font-size: 1.15rem; margin: 1.8rem 0 .7rem; scroll-margin-top: 20px; }
.rt section .container-skinny > *:first-child { margin-top: 0; }

/* lists: red square markers, room to breathe */
.rt .container-skinny ul:not(.nav):not(.dropdown-menu) { list-style: none; padding-left: 0; }
.rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li { position: relative; padding-left: 1.4rem; margin: .45rem 0; }
.rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--rt-red); }
.rt .container-skinny ol { counter-reset: rt-ol; list-style: none; padding-left: 0; }
.rt .container-skinny ol > li { counter-increment: rt-ol; position: relative; padding-left: 2.4rem; margin: .7rem 0; }
.rt .container-skinny ol > li::before {
    content: counter(rt-ol); position: absolute; left: 0; top: .1em; width: 1.7rem; height: 1.7rem; border-radius: 50%;
    background: var(--rt-black); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}

/* tables: the Results table */
.rt .container-skinny .table { border-top: 2px solid var(--rt-black); --bs-table-bg: transparent; }
.rt .container-skinny .table th { color: var(--rt-red); font-size: .68rem; letter-spacing: .14em; border-bottom: 1px solid var(--rt-black); }
.rt .container-skinny .table td { border-color: var(--rt-rule); }
.rt .rt-as-cards { display: none !important; }

/* price cards (tables whose first column is a price) */
.rt .rt-price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; }
.rt .rt-price-grid-fill { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }   /* a short row stretches to the full width */
.rt .rt-price {
    position: relative; background: #fff; border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-black);
    padding: 1.3rem 1.3rem 1.4rem; transition: transform .22s ease, box-shadow .22s ease, border-color .2s ease;
}
.rt .rt-price:hover { transform: translateY(-3px); border-top-color: var(--rt-red); box-shadow: 0 18px 30px -20px rgba(15, 16, 18, .45); }
.rt .rt-price-v { font-family: var(--rt-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--rt-black); margin-bottom: .7rem; font-variant-numeric: tabular-nums; }
.rt .rt-price-v .text-decoration-line-through { font-size: 1.4rem; color: var(--rt-dim); margin-right: .4rem; }
.rt .rt-price-v .text-danger { color: var(--rt-red) !important; }
.rt .rt-price-d { font-size: .92rem; line-height: 1.5; color: #333; }
.rt .rt-price-sale { border-top-color: var(--rt-red); }
.rt .rt-price-sale::before { content: "Early rate"; position: absolute; top: -3px; right: 1rem; background: var(--rt-red); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .55rem; }

/* rate grid (two-column "item | $price" tables) */
.rt .rt-rate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .6rem; margin: .8rem 0 1.4rem; }
.rt .rt-rate { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .75rem .9rem; background: #fff; border: 1px solid var(--rt-rule); border-left: 3px solid var(--rt-red); }
.rt .rt-rate-k { font-size: .86rem; color: #333; }
.rt .rt-rate-v { font-weight: 700; color: var(--rt-black); white-space: nowrap; }

/* figures in running text */
.rt .rt-fig { color: var(--rt-red) !important; font-family: var(--rt-display); font-weight: 700; font-size: 1.12em; line-height: 1; letter-spacing: .01em; white-space: nowrap; }   /* line-height 1: the figure never stretches its line */

/* document cards for PDF links */
.rt a.rt-doc {
    display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1rem .7rem .7rem; margin: .25rem 0;
    background: #fff; border: 1px solid var(--rt-rule); color: var(--rt-black) !important; font-weight: 600; text-decoration: none;
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.rt a.rt-doc::before { content: "PDF"; flex: 0 0 auto; display: grid; place-items: center; width: 2.4rem; height: 2.8rem; background: var(--rt-red); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .1em; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.rt a.rt-doc::after { content: "\2193"; content: "\2193" / ""; margin-left: auto; padding-left: .6rem; color: var(--rt-red); font-weight: 700; }
.rt a.rt-doc:hover { border-color: var(--rt-black); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(15, 16, 18, .5); }

/* action links become buttons */
.rt p.rt-action-p { margin: 1.4rem 0; }
.rt p.rt-action-p.text-center { text-align: center; }
.rt a.rt-action {
    display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 0; text-decoration: none !important;
    background: var(--rt-red); color: #fff !important; border: 1px solid var(--rt-red);
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    box-shadow: none; transition: background-color .15s ease, border-color .15s ease;
}
.rt a.rt-action::after { content: "\2192"; content: "\2192" / ""; transition: transform .2s ease; }
.rt a.rt-action:hover { background: var(--rt-black); border-color: var(--rt-black); }
.rt a.rt-action:hover::after { transform: translateX(4px); }

/* contact chips */
.rt a.rt-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; margin: .15rem 0; border: 1px solid var(--rt-rule); border-radius: 999px; background: #fff; color: var(--rt-black) !important; font-weight: 600; font-size: .9em; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.rt a.rt-chip::before { color: var(--rt-red); font-size: 1em; line-height: 1; }
.rt a.rt-chip-tel::before { content: "\260E\FE0E"; content: "\260E\FE0E" / ""; }
.rt a.rt-chip-mail::before { content: "\2709\FE0E"; content: "\2709\FE0E" / ""; }
.rt a.rt-chip:hover { border-color: var(--rt-red); background: #fff5f5; }

/* contact cards and other boxed content */
.rt .content-background { background: #fff !important; border-top: 3px solid var(--rt-red) !important; padding: 1.6rem 1.6rem 1.2rem !important; margin-bottom: 1.2rem; }   /* 1px frame from the entry-card rule */
.rt .content-background hr { margin: 1rem 0; }

/* "On this page" bar: sticks just under the sticky nav (navigation block: offsets, wrapping, fades) */
.rt .rt-toc {
    position: sticky; top: calc(var(--rt-nav-h) + 1px); z-index: 1020;
    margin: calc(-1 * clamp(2rem, 5vw, 3.5rem)) 0 clamp(2rem, 5vw, 3rem);
    background: #fff; border-bottom: 1px solid var(--rt-rule);
}
.rt .rt-toc-in { display: flex; align-items: center; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .7rem var(--rt-page-gutter); }
.rt .rt-toc-in::-webkit-scrollbar { display: none; }
.rt .rt-toc-l { flex: 0 0 auto; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rt-red); margin-right: .6rem; }
.rt .rt-toc a { flex: 0 0 auto; padding: .4rem .8rem; border: 1px solid var(--rt-rule); border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--rt-black); text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.rt .rt-toc a:hover { border-color: var(--rt-black); }
.rt .rt-toc a.on { background: var(--rt-black); border-color: var(--rt-black); color: #fff; }
html:has(> body.rt) { scroll-behavior: smooth; }

/* page-end call to action (sponsor-bar.html, so it is left out with the sponsor bar on entries and the media pass/poster);
   hidden on home, which has its own band */
.rt .rt-cta { background: #000; color: #fff; border-top: 3px solid var(--rt-red); margin-top: clamp(3rem, 7vw, 5rem); }
.rt .rt-cta-in { max-width: none; padding: clamp(2.6rem, 7vw, 4.4rem) var(--rt-page-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
.rt .rt-cta-t { font-family: var(--rt-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: .95; margin: 0; color: #fff; }
.rt .rt-cta .rt-cap-k { margin-bottom: .8rem; }
.rt .rt-cta-b { display: flex; flex-wrap: wrap; gap: .7rem; }
.rt .rt-cta-b .btn { padding: .95rem 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; border-radius: 0; }
.rt.rt-p-home .rt-cta { display: none; }
.rt .rt-cta + #sponsorBar, .rt .rt-cta ~ .rt-sponsors { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* scroll reveal (only once riata-theme.js has marked the page). A block that starts below the fold waits
   hidden, then rises in once (rt-rise, the hero captions' keyframes) after its --rt-d stagger. It is an
   animation, not a transition, so it never holds back the block's own hover lift or transitions; rt-done
   (set when it ends) stops it replaying when the block is moved or shown again (stallion search and sort). */
html.rt-anim body.rt .rt-reveal:not(.rt-in) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
    html.rt-anim body.rt .rt-reveal.rt-in:not(.rt-done) { animation: rt-rise .6s cubic-bezier(.2, .7, .2, 1) var(--rt-d, 0ms) backwards; }
    /* section heads, and blocks an "On this page" chip jumps into, fade in place without the slide: the
       browser scrolls to the box as drawn, so a heading still sliding up would stop under the sticky nav */
    html.rt-anim body.rt .container-skinny > h2.rt-reveal.rt-in:not(.rt-done) { animation-name: rt-fade; }
    html.rt-anim body.rt .container-skinny > .rt-ph.rt-reveal.rt-in:not(.rt-done) { animation-name: rt-fade; }
    html.rt-anim body.rt .rt-reveal.rt-in:not(.rt-done)[id] { animation-name: rt-fade; }
    html.rt-anim body.rt .rt-reveal.rt-in:not(.rt-done):has(.rt-anchor) { animation-name: rt-fade; }
}
@media (prefers-reduced-motion: reduce) {
    html.rt-anim body.rt .rt-reveal:not(.rt-in) { opacity: 1; }
    .rt .rt-price, .rt a.rt-doc, .rt a.rt-action::after, .rt .rt-bar-f, .rt .rt-step { transition: none; }
    html:has(> body.rt) { scroll-behavior: auto; }
}
@media print {
    html.rt-anim body.rt .rt-reveal:not(.rt-in) { opacity: 1; }
    html.rt-anim body.rt .rt-reveal.rt-in:not(.rt-done) { animation: none; }
    .rt .rt-toc, .rt .rt-cta { display: none; }
    /* red list squares, numbered-list badges and PDF badges are backgrounds: print them */
    .rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li::before, .rt .container-skinny ol > li::before, .rt a.rt-doc::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* ==========================================================================================
   Home page in the Results look: white cards, black type, red labels and rules.
   ========================================================================================== */

/* quick links: the site's card style (black top rule, red label) */
.rt .rt-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 0 .5rem; }
.rt .rt-quick a {
    display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 2.6rem 1.15rem 1.2rem; position: relative;
    background: #fff; border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-black); color: var(--rt-black); text-decoration: none;
    transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.rt .rt-quick a::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--rt-red); font-weight: 700; transition: transform .2s ease; }
.rt .rt-quick a:hover { border-color: var(--rt-black); border-top-color: var(--rt-red); box-shadow: 0 14px 26px -18px rgba(15, 16, 18, .5); transform: translateY(-2px); }
.rt .rt-quick a:hover::after { transform: translate(4px, -50%); }
.rt .rt-quick-k { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); }
.rt .rt-quick-t { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
@media (max-width: 991.98px) { .rt .rt-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* promo tiles: photo on top, crisp white caption below */
.rt #ContentBody .col-12.col-md-6 > a.link:has(.image-header) {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rt-rule); color: var(--rt-black); text-decoration: none;
    box-shadow: none;
}
.rt #ContentBody .col-12.col-md-6 > a.link:has(.image-header):hover { box-shadow: 0 18px 30px -20px rgba(15, 16, 18, .5); border-color: var(--rt-black); }
.rt #ContentBody a.link:has(.image-header)::after { content: none; }
.rt #ContentBody a.link:has(.image-header) .figure-img { order: 1; aspect-ratio: 16 / 8; object-fit: cover; border-bottom: 3px solid var(--rt-black); transition: transform .6s cubic-bezier(.2, .7, .2, 1), border-color .2s ease; }
.rt #ContentBody a.link:has(.image-header):hover .figure-img { border-bottom-color: var(--rt-red); }
.rt #ContentBody a.link:has(.image-header)::before { bottom: auto; top: 0; }
.rt #ContentBody a.link .image-header, .rt #ContentBody a.link .image-subtext { position: static; transform: none; order: 2; color: var(--rt-black); left: auto; right: auto; }
.rt #ContentBody a.link .image-header { padding: 1.1rem 1.3rem .3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.rt #ContentBody a.link .image-subtext { order: 3; padding: 0 1.3rem 1.2rem; color: var(--rt-red); font-size: .68rem; }
.rt #ContentBody a.link .image-subtext::before { background: var(--rt-red); }
.rt #ContentBody a.link:has(.image-header) { overflow: hidden; }

/* schedule: Results division cards on white */
.rt #ContentBody .col-12:has(> .calendar-area) { margin-top: clamp(2.5rem, 6vw, 4rem); }
.rt .calendar-area > p.news-text {
    position: relative; left: auto; display: flex; flex-direction: column-reverse; justify-content: flex-end;
    background: #fff; border: 1px solid var(--rt-rule); border-top: 1px solid var(--rt-rule); border-left: 3px solid var(--rt-red);
    padding: 1.1rem 2.6rem 1.2rem 1.2rem; box-shadow: none; transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.rt .calendar-area > p.news-text::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--rt-red); font-weight: 700; }
.rt .calendar-area > p.news-text:hover { border-color: var(--rt-black); border-left-color: var(--rt-red); box-shadow: 0 14px 26px -18px rgba(15, 16, 18, .5); transform: translateY(-2px); }
.rt .calendar-area > p.news-text br { display: none; }
.rt .calendar-area .news-date { display: block; margin: 0 0 .4rem; font-family: var(--rt-font); font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); }
.rt .calendar-area > p.news-text a.news-text { color: var(--rt-black); font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.rt .calendar-area > p.news-text a.news-text::before { content: ""; position: absolute; inset: 0; }   /* whole card clicks through */
.rt .calendar-area > p.news-text a.news-text:hover { color: var(--rt-black); }

/* news cards: Results labels */
.rt .rt-news-card .news-date { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); font-style: normal; }

/* hero and photo band keep their photography; the band reads as the home page's CTA */

/* ==========================================================================================
   Phone audit fixes (390 px and 360 px): finger-sized tap targets, 12 px minimum labels.
   ========================================================================================== */
.rt .row.p-3 { margin-left: 0; margin-right: 0; }   /* rows used without a container ran 7 px off-screen */
@media (max-width: 767.98px) {
    .rt .rt-foot a, .rt .rt-more, .rt a.more-text, .rt div.more-text a,
    .rt p > a:only-child:not(.rt-action):not(.rt-doc):not(.btn):not(.rt-chip):not(.rt-inline-contact):not(:has(img)) {
        display: inline-block; padding-top: .7rem; padding-bottom: .7rem; max-width: 100%; overflow-wrap: anywhere;
    }
    .rt .rt-foot-links li { margin: 0; }
    .rt .rt-foot-links li a { padding-top: .55rem; padding-bottom: .55rem; }
    .rt a.rt-chip { padding: .55rem .85rem; min-height: 44px; }
    .rt .rt-toc a { padding: .6rem .95rem; }
    .rt .rt-st-tools .btn { min-height: 42px; padding-left: 1rem; padding-right: 1rem; }
    .rt .rt-cap-k, .rt section > header.border-grad-horz-sm::before, .rt .rt-toc-l, .rt .rt-quick-k, .rt .news-date,
    .rt .stallion-card-y, .rt .p-years, .rt .eventDay, .rt .image-subtext, .rt .rt-st-tools .btn, .rt .rt-st-count,
    .rt header.border-grad-horz-sm > h3, .rt .rt-foot-h, .rt .rt-copy, .rt .rt-price-sale::before, .rt .rs-kicker, .rt .rs-strap {
        font-size: 12px !important;
    }
    /* entry forms: fields fit the screen and are finger-sized */
    .rt input.text-field:not([type=radio]):not([type=checkbox]), .rt .text-field:not([type=radio]):not([type=checkbox]), .rt select, .rt textarea { box-sizing: border-box; max-width: 100%; }
    .rt select, .rt input.text-field:not([type=radio]):not([type=checkbox]), .rt .form-control, .rt .form-select { min-height: 44px; }
    .rt select.ms-2 { max-width: calc(100% - .5rem); }
    .rt .rt-field-table, .rt .rt-field-table tbody, .rt .rt-field-table tr, .rt .rt-field-table td { display: block; width: 100%; }
    .rt .rt-field-table tr.d-none { display: none; }
    .rt .rt-field-table td:first-child:not([colspan]) { padding-bottom: .3rem; border-bottom: 0; }
    .rt .rt-field-table td:last-child:not([colspan]) { padding-top: 0; }
    .rt input[type=radio], .rt input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--rt-red); vertical-align: middle; }
    .rt .btn, .rt a.rt-action, .rt button:not(.navbar-toggler):not(.carousel-control-prev):not(.carousel-control-next):not(.btn-close) { min-height: 44px; }
    .rt input[type=text], .rt input[type=email], .rt input[type=tel], .rt input[type=number], .rt input[type=password], .rt input[type=date] { min-height: 44px; box-sizing: border-box; max-width: 100%; }
    .rt .table th, .rt .table-dark th, .rt table th { font-size: 12px !important; }
    .rt .row.d-flex.justify-content-evenly { margin-left: 0; margin-right: 0; }
    .rt .row > .content-background { width: 100%; max-width: 100%; }
    .rt .content-background { min-width: 0; overflow-wrap: anywhere; padding-left: 1.1rem !important; padding-right: 1.1rem !important; }
    .rt a.rt-chip { max-width: 100%; overflow-wrap: anywhere; }
    .rt td > a, .rt .no-online-entry a { display: inline-block; padding-top: .6rem; padding-bottom: .6rem; }
    .rt .entry-card > .row { margin-left: 0; margin-right: 0; }
    .rt .text-field.d-inline-block:not([type=radio]):not([type=checkbox]) { max-width: calc(100% - 1rem); }
    /* app-style: entry-form selects and fields span the card, and Submit is a full-width bar */
    .rt .entry-card select, .rt .entry-card input.text-field:not([type=radio]):not([type=checkbox]):not([type=hidden]) { width: 100%; }
    .rt #mainContent #btnSubmit { width: 100%; min-height: 52px; }
}

/* ==========================================================================================
   Championship schedule (and any page using the old rounded "content-background" boxes):
   Results-style event cards. Riata events get a red edge, Rope Horse Rewards events black.
   ========================================================================================== */
.rt .content-background-Riata, .rt .content-background-RHR {
    position: relative; max-width: none; width: auto; margin: 0 0 1.2rem; padding: 1.5rem 1.7rem 1.3rem;
    text-align: left; background: #fff; border: 1px solid var(--rt-rule); border-left: 4px solid var(--rt-red);
    border-radius: 0; box-shadow: none; transition: box-shadow .2s ease, border-color .2s ease;
}
.rt .content-background-RHR { border-left-color: var(--rt-black); }
.rt .content-background-Riata:hover, .rt .content-background-RHR:hover { box-shadow: 0 18px 32px -24px rgba(15, 16, 18, .55); }
.rt .content-background-Riata *, .rt .content-background-RHR * { text-align: left !important; }
.rt .content-background-Riata > .container, .rt .content-background-RHR > .container { padding: 0; }
.rt .content-background-Riata center, .rt .content-background-RHR center { display: block; }
/* day and time */
.rt .content-background-Riata > h5, .rt .content-background-RHR > h5 {
    font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); margin: 0 0 .5rem; padding-right: 120px;
}
.rt .content-background-RHR > h5 { color: var(--rt-dim); }
/* event name */
.rt section .container-skinny .content-background-Riata > h2, .rt section .container-skinny .content-background-RHR > h2 {
    font-size: clamp(1.25rem, 2.6vw, 1.7rem) !important; font-weight: 700; color: var(--rt-black) !important; margin: 0 0 .9rem; padding-right: 120px;
}
.rt section .container-skinny .content-background-Riata > h2::after, .rt section .container-skinny .content-background-RHR > h2::after { display: none; }
/* brand marks sit top-right instead of interrupting the text */
.rt .content-background-Riata > center:has(> img), .rt .content-background-RHR > p:has(> img) {
    position: absolute; top: 1.3rem; right: 1.4rem; margin: 0; display: flex; gap: .5rem; align-items: center;
}
/* every brand mark the same height (the RHR art has empty space around it, so it gets a little more) */
.rt .content-background-Riata > center > img { height: 60px; width: auto; }
.rt .content-background-RHR > p:has(> img) img { height: 60px; width: auto; max-width: 120px; object-fit: contain; }
.rt .content-background-RHR > p:has(> img) img[src*="RopeHorseRewards"] { height: 72px; margin: -6px 0; }
/* money: a big figure */
.rt .content-background-Riata h4.added-riata, .rt .content-background-RHR > h4 {
    display: inline-block; font-family: var(--rt-display); font-style: normal; font-weight: 700; font-size: 2rem; line-height: 1;
    color: var(--rt-red) !important; margin: 0 0 1rem; letter-spacing: .01em;
}
.rt .content-background-RHR > h4 b { color: inherit !important; font-weight: inherit; }
/* sub-events inside a card (e.g. "6 & Under Incentive") */
.rt .content-background-Riata h4.roping-header-Riata, .rt .content-background-RHR h4.roping-header {
    display: block; margin: 1.4rem 0 .4rem; padding-top: 1.1rem; border-top: 1px solid var(--rt-rule);
    font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-black) !important;
}
.rt .content-background-Riata h4.roping-header-Riata + h4.added-riata { font-size: 1.5rem; }
/* "WSTR Super Qualifier" tag */
.rt .content-background-RHR > h3 { display: table; margin: 0 0 .55rem; padding: .3rem .6rem; background: var(--rt-black); color: #fff; font-size: .66rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rt .content-background-RHR > h3 i { font-style: normal; }
.rt .content-background-RHR > h6 { font-size: .86rem; line-height: 1.65; color: #333; margin: .1rem 0 1rem; }
/* body copy */
.rt .content-background-Riata p, .rt .content-background-RHR p { font-size: .95rem; line-height: 1.65; margin: 0 0 .75rem; max-width: none; }
.rt .content-background-Riata b[style], .rt .content-background-RHR b[style] { color: var(--rt-red) !important; }
.rt .content-background-RHR b[style] { color: var(--rt-black) !important; }
.rt .content-background-Riata p:empty, .rt .container-skinny > p:empty { display: none; }
/* a second <h1> in a title band reads as the strap line (dates, venue) */
.rt header.border-grad-horz-sm > h1 + h1 {
    font-family: var(--rt-font) !important; font-size: clamp(.72rem, 2.3vw, .85rem) !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #d6d6d6;
    border-top: 1px solid rgba(255, 255, 255, .22); margin-top: clamp(1.1rem, 3vw, 1.6rem) !important; padding-top: 1rem; line-height: 1.7;
}
/* day headings the script adds above each day's first event */
.rt .rt-day { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); margin: 2.4rem 0 .7rem; display: flex; align-items: center; gap: .8rem; }
.rt .rt-day::after { content: ""; flex: 1; height: 1px; background: var(--rt-black); }
@media (max-width: 575.98px) {
    .rt .content-background-Riata, .rt .content-background-RHR { padding: 1.2rem 1.1rem 1rem; }
    .rt .content-background-Riata > center:has(> img), .rt .content-background-RHR > p:has(> img) { position: static; margin: 0 0 .8rem; }
    .rt .content-background-RHR > h3 { margin-bottom: .9rem; }
    .rt .content-background-Riata > h5, .rt .content-background-RHR > h5,
    .rt section .container-skinny .content-background-Riata > h2, .rt section .container-skinny .content-background-RHR > h2 { padding-right: 0; }
}

/* title band headlines never break inside a word */
.rt header.border-grad-horz-sm > h1, .rt header.border-grad-horz-sm .rb-header { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 575.98px) {
    .rt header.border-grad-horz-sm > h1:first-child { font-size: clamp(1.9rem, 9.4vw, 2.6rem) !important; }
}

/* ==========================================================================================
   Design audit, round 2: the last pages still in their pre-redesign styling.
   ========================================================================================== */

/* entry area: rounded black label bars ("Customer Info", "Horse Info") read as Results section heads */
.rt .bg-dark.text-light.text-center.rounded {
    background: transparent !important; color: var(--rt-black) !important; border-radius: 0 !important;
    text-align: left !important; padding: 0 0 .5rem !important; margin: 1.6rem 0 .9rem;
    font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--rt-black);
}
/* entry home and event-detail buttons: Results division cards */
.rt a.rhr-btn {
    display: flex !important; flex-direction: column; align-items: flex-start; gap: .25rem; position: relative; width: 100%;
    margin: 0 0 .8rem; padding: 1.1rem 3rem 1.15rem 1.2rem !important; text-align: left;
    background: #fff !important; border: 1px solid var(--rt-rule) !important; border-left: 4px solid var(--rt-red) !important;
    text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;   /* text colour: the a.rhr-btn rule below */
}
.rt a.rhr-btn.rhr-btn-gold { border-left-color: var(--rt-gold) !important; }   /* Rope Horse Rewards buttons: gold where Riata's are red */
.rt a.rhr-btn.rhr-btn-gold::after { color: var(--rt-gold); }
.rt a.rhr-btn.rhr-btn-gold .line2 { color: var(--rt-gold-ink) !important; }
.rt a.rhr-btn::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--rt-red); font-weight: 700; transition: transform .2s ease; }
.rt a.rhr-btn:hover, .rt a.rhr-btn:focus-visible { background: #fff !important; border-color: var(--rt-black) !important; box-shadow: 0 14px 26px -18px rgba(15, 16, 18, .5); transform: translateY(-2px); }
.rt a.rhr-btn:hover::after { transform: translate(4px, -50%); }
.rt a.rhr-btn .line1, .rt a.rhr-btn:hover .line1 { color: var(--rt-black) !important; font-size: 1.02rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.rt a.rhr-btn .line2 { order: -1; color: var(--rt-red) !important; font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.rt a.rhr-btn .divider { display: none; }
.rt .max-60.m-auto:has(> a.rhr-btn) { max-width: 520px !important; margin-top: 1rem !important; }
/* the Enter Online page (/enter/index, /enter/riata, /enter/rhr): its own stylesheet, enter-dashboard.css */

/* Past Stallions: name over a red "years" label, in columns, under a black rule */
.rt .stallions-past::before { content: ""; display: block; height: 2px; margin: 0 0 1.4rem; background: var(--rt-black); }
.rt .stallions-past .col-lg-3 p.stallion-name { color: var(--rt-black); font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding: .9rem 0 0; margin: 0; border-top: 1px solid var(--rt-rule); }
.rt .stallions-past .col-lg-3 p.p-years { color: var(--rt-red); font-size: .7rem; font-weight: 700; letter-spacing: .14em; margin: .2rem 0 .9rem; padding-bottom: 0; border-bottom: 0; }
@media (max-width: 991.98px) {
    .rt .stallions-past .row > .col-lg-3 { flex: 0 0 auto; width: 50%; }
    .rt .stallions-past .col-lg-3 p.stallion-name { overflow-wrap: anywhere; }
}
@media (max-width: 575.98px) { .rt .stallions-past .col-lg-3 p.stallion-name { font-size: .85rem; } }
/* Stallion list (/stallions-text): names in columns, the year beside each, new stallions in red */
.rt .stallion-list-key { color: var(--rt-red); font-weight: 600; margin: 0 0 1rem; }
.rt .stallion-list { columns: 4 220px; column-gap: 2rem; border-top: 2px solid var(--rt-black); padding-top: .4rem; margin: 0 0 2rem; }
.rt .stallion-list > div { position: relative; break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--rt-rule); }
.rt .stallion-list a { color: var(--rt-black); font-weight: 600; font-size: .95rem; line-height: 1.3; text-decoration: none; overflow-wrap: break-word; }
.rt .stallion-list a::before { content: ""; position: absolute; inset: 0; }   /* the whole row is the link */
.rt .stallion-list > div:hover a { color: var(--rt-red); }
.rt .stallion-list-y { flex: 0 0 auto; color: var(--rt-dim); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.rt .stallion-list .is-new a, .rt .stallion-list .is-new .stallion-list-y { color: var(--rt-red); }

/* 2022 Results (/results-2022?type=…&pg=…): the result sheet beside its list of pages on desktop, the list
   under the sheet on phones; the page being shown is marked */
.rt .res22 { display: grid; gap: 2rem; margin: 0 0 3rem; }
.rt .res22-img img { display: block; max-width: 100%; height: auto; border-top: 3px solid var(--rt-black); }
.rt .res22-k { margin: 0 0 .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--rt-black); font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rt .res22-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; }
.rt .res22-links a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: .65rem .9rem; border: 1px solid var(--rt-rule); border-left: 3px solid var(--rt-red); background: #fff; color: var(--rt-black); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease; }
.rt .res22-links a::after { content: "\2192"; content: "\2192" / ""; color: var(--rt-red); font-weight: 700; }
.rt .res22-links a:hover { border-color: var(--rt-black); border-left-color: var(--rt-red); }
.rt .res22-links a[aria-current] { background: var(--rt-black); border-color: var(--rt-black); border-left-color: var(--rt-red); color: #fff; }
@media (min-width: 992px) {
    .rt .res22 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; }
    .rt .res22-links { grid-template-columns: 1fr; }
}
/* entry-area tables (cart, orders, receipt): the Results white table instead of black */
.rt .table-dark {
    --bs-table-bg: #fff; --bs-table-color: var(--rt-ink); --bs-table-striped-bg: #f7f7f7; --bs-table-striped-color: var(--rt-ink);
    --bs-table-hover-bg: #f2f2f2; --bs-table-hover-color: var(--rt-black); --bs-table-border-color: var(--rt-rule);
    color: var(--rt-ink); border-top: 2px solid var(--rt-black);
}
.rt .table-dark th { color: var(--rt-red) !important; border-bottom: 1px solid var(--rt-black); background: #fff; }
.rt .table-dark a.link-light, .rt .table-dark a { color: var(--rt-red) !important; font-weight: 600; }
/* a second line under a band title (h2/h3 after the h1) is the strap, as on Results */
.rt header.border-grad-horz-sm > h1 ~ h2, .rt header.border-grad-horz-sm > h1 ~ h3, .rt header.border-grad-horz-sm > .rb-header ~ h2, .rt header.border-grad-horz-sm > .rb-header ~ h3 {
    font-family: var(--rt-font) !important; font-size: clamp(.74rem, 2.3vw, .86rem) !important; font-weight: 600 !important; letter-spacing: .14em !important;
    text-transform: uppercase; color: #d6d6d6 !important; line-height: 1.7 !important;
    border-top: 1px solid rgba(255, 255, 255, .22); margin: clamp(1.1rem, 3vw, 1.6rem) 0 0 !important; padding-top: 1rem;
}
.rt header.border-grad-horz-sm > h1 ~ h2 + h2, .rt header.border-grad-horz-sm > h1 ~ h3 + h3 { border-top: 0; margin-top: 0 !important; padding-top: 0; }

/* results archives: PDF links that wrap a heading become a grid of document cards */
.rt center:has(> a.rt-doc), .rt .container-skinny > div:has(> a.rt-doc + a.rt-doc) {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .8rem; text-align: left; margin: 1rem 0 2rem;
}
.rt a.rt-doc h2, .rt a.rt-doc h3, .rt a.rt-doc h4 { margin: 0 !important; font-size: .98rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--rt-black); line-height: 1.25; }
.rt a.rt-doc h2::after, .rt a.rt-doc h3::after, .rt a.rt-doc h4::after { display: none !important; }
.rt center > a.rt-doc { margin: 0; width: 100%; }
.rt section .container-skinny h2:has(> a.rt-doc), .rt section .container-skinny h3:has(> a.rt-doc) { margin: .5rem 0 !important; }
.rt section .container-skinny h2:has(> a.rt-doc)::after, .rt section .container-skinny h3:has(> a.rt-doc)::after { display: none; }
.rt h2 > a.rt-doc, .rt h3 > a.rt-doc { font-size: .98rem; text-transform: uppercase; min-width: min(100%, 260px); }
.rt a.rhr-btn, .rt a.rhr-btn:hover, .rt a.rhr-btn:focus-visible { color: var(--rt-black) !important; }

/* ==========================================================================================
   Navigation, menus & in-page jumps: skip link, sticky-bar offsets, the "On this page" bar,
   desktop menus, the phone menu panel, "you are here", the logo on scroll, back to top.
   ========================================================================================== */

/* skip link (layout): waits above the top of the page and slides in when it gets keyboard focus */
.rt .rt-skip {
    position: absolute; top: .5rem; left: .5rem; z-index: 2000; display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1.1rem;
    background: #fff; color: var(--rt-black); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
    border-left: 4px solid var(--rt-red); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
    transform: translateY(calc(-100% - 3rem)); transition: transform .15s ease;
}
.rt .rt-skip:focus { transform: none; color: var(--rt-black); outline: 3px solid var(--rt-red); outline-offset: 2px; }
.rt main:focus { outline: 0; }

/* Where in-page jumps and keyboard focus stop: just below the sticky nav, and below the sticky
   "On this page" bar on pages that have one (WCAG 2.4.11). Headings add 20px of their own. */
html:has(> body.rt) { scroll-padding-top: 90px; }
@media (max-width: 1199.98px) { html:has(> body.rt) { scroll-padding-top: 80px; } }
@media (min-width: 1200px) and (min-height: 561px) { html:has(> body.rt):has(.rt-toc) { scroll-padding-top: 148px; } }
@media (min-width: 768px) and (max-width: 1199.98px) and (min-height: 561px) { html:has(> body.rt):has(.rt-toc) { scroll-padding-top: 138px; } }
@media (max-width: 767.98px) and (min-height: 561px) { html:has(> body.rt):has(.rt-toc) { scroll-padding-top: 144px; } }
/* focus inside the sticky bar itself must not scroll the page */
html:has(> body.rt):has(.rt-nav:focus-within) { scroll-padding-top: 0; }
/* /schedule: riata's own script scrolls an opened or linked event to 10px from the top
   (offset().top - 10), so on that page the bar scrolls away as it does in production. */
.rt:has(#eventsList) .rt-nav { position: relative; }
html:has(> body.rt):has(#eventsList) { scroll-padding-top: 12px; }

/* "On this page": sticks under the nav (top is set in the base rule; the nav is 67px below xl) */
@media (max-width: 1199.98px) { .rt .rt-toc { top: 67px; } }
.rt .rt-anchor { display: block; height: 0; margin: 0; padding: 0; scroll-margin-top: 20px; }
.rt .rt-toc a { text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; line-height: 1.25rem; scroll-snap-align: start; }
.rt .rt-toc a:focus-visible { outline: 2px solid var(--rt-red); outline-offset: 2px; }
.rt .rt-toc a.on { box-shadow: inset 0 -2px 0 var(--rt-red); }
/* tabbing along the stuck bar must not scroll the page (cancels the padding above); a bar that
   does not stick (short screens) scrolls into view like anything else */
.rt .rt-toc a { scroll-margin-top: -148px; }
@media (max-width: 1199.98px) { .rt .rt-toc a { scroll-margin-top: -144px; } }
@media (max-height: 560px) { .rt .rt-toc a { scroll-margin-top: 0; } }
.rt .rt-toc-in { scroll-snap-type: x proximity; scroll-padding-inline: max(2.5rem, var(--rt-page-gutter)); }   /* chips settle on the page column, clear of the edge fades */
.rt .rt-toc-l { scroll-snap-align: start; }   /* so the strip opens at its start, label in view */
/* edge fades (with a chevron on the right) while chips sit out of view; riata-theme.js sets the classes */
.rt .rt-toc::before, .rt .rt-toc::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 3.25rem; pointer-events: none; opacity: 0; transition: opacity .2s ease;
}
.rt .rt-toc::before { left: 0; width: 2.5rem; background: linear-gradient(90deg, #fff 25%, rgba(255, 255, 255, 0)); }
.rt .rt-toc::after {
    content: "\203A"; content: "\203A" / ""; right: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: .55rem;
    color: var(--rt-red); font-size: 1.5rem; font-weight: 700; line-height: 1;
    background: linear-gradient(270deg, #fff 45%, rgba(255, 255, 255, 0));
}
.rt .rt-toc.rt-toc-back::before, .rt .rt-toc.rt-toc-more::after { opacity: 1; pointer-events: auto; cursor: pointer; }   /* a click scrolls that way (riata-theme.js) */
@media (max-width: 575.98px) {
    .rt .rt-toc-in { padding-top: .55rem; padding-bottom: .55rem; }
    .rt .rt-toc-l { display: none; }
    .rt .rt-toc a { padding: .7rem .95rem; }
}
/* short or zoomed screens: never two bars stacked */
@media (max-height: 560px) { .rt .rt-toc { position: relative; top: auto; } }

/* desktop menus: a group label over the results links, a hairline before the form, a PDF tag */
.rt .rt-nav .dropdown-header {
    font-family: var(--rt-font); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--rt-red); white-space: nowrap;
    margin: .4rem 0 0; padding: .85rem 1.25rem .3rem calc(1.25rem + 3px); border-top: 1px solid var(--rt-rule);
}
.rt .rt-nav .dropdown-divider { height: 1px; margin: .4rem 0; border: 0; background: var(--rt-rule); opacity: 1; }
.rt .rt-nav .dropdown-item[href$=".pdf"]::after {
    content: "PDF"; display: inline-block; margin-left: .6rem; padding: 0 .35rem; vertical-align: .1em;
    border: 1px solid var(--rt-red); color: var(--rt-red); font-size: .62rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5;
}
/* a panel eases in; the short delay keeps menus the pointer only crosses from flashing open */
@keyframes rt-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
    .rt .rt-nav .dropdown:hover > .dropdown-menu, .rt .rt-nav .dropdown-menu.show { animation: rt-drop .16s ease-out .06s both; }
}

/* "You are here": riata-theme.js marks this page's nav and footer links, and their menu, rt-current */
.rt .rt-nav .nav-link.rt-current { box-shadow: inset 0 -3px 0 var(--rt-red); }
.rt .rt-nav .dropdown-item.rt-current { border-left-color: var(--rt-red); font-weight: 700; }
.rt .rt-foot-links a.rt-current { text-decoration: underline 2px var(--rt-red); text-underline-offset: 6px; }

/* header: one persistent call to action (in the bar on desktop; at the foot of the phone panel) */
.rt .rt-nav .rt-nav-act { display: flex; align-items: center; gap: .6rem; }
.rt .rt-nav .rt-nav-cta { font-size: .68rem; letter-spacing: .12em; line-height: 1.2; padding: .62rem 1rem; min-height: 0; border-radius: 0; white-space: nowrap; }
.rt .rt-nav .rt-nav-cta:hover, .rt .rt-nav .rt-nav-cta:focus-visible { background: #fff; border-color: #fff; color: var(--rt-black); box-shadow: none; }
.rt .rt-nav .rt-nav-tel { color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
@media (min-width: 1200px) {
    .rt .rt-logo img { max-width: 165px; }
    .rt .rt-nav .navbar-brand { margin-right: 1rem; }
    .rt .rt-nav .rt-nav-act { margin-left: .75rem; }
    .rt .rt-nav .rt-nav-tel { display: none; }
}
body.rt.rt-p-enter .rt-nav .rt-nav-act { display: none; }   /* already inside online entry (if the script fails, the button just stays) */

/* the logo hangs below the bar at the top of the page; once the page scrolls it sits inside the
   bar, so it never covers content or catches clicks meant for the page (body.rt-scrolled: riata-theme.js) */
.rt .rt-logo img { transition: max-height .25s ease, margin-bottom .25s ease; }
.rt.rt-scrolled .rt-logo img { max-height: calc(var(--rt-nav-h) - 12px); margin-bottom: 0; }
/* riata's home page keeps its own look: only its header, sponsor strip and footer take the theme. Each sits in a
   "rt-chrome rt" wrapper (body is rt-home, not rt); display: contents keeps the sticky header working and passes the
   theme's type settings through to the chrome only. */
.rt-chrome { display: contents; font-family: var(--rt-font); line-height: 1.6; color: var(--rt-ink); -webkit-font-smoothing: antialiased; }
.rt-home.rt-scrolled .rt-chrome .rt-logo img { max-height: calc(var(--rt-nav-h) - 12px); margin-bottom: 0; }

/* phone menu button: a white hamburger, and a white X while the panel is open */
.rt .rt-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.rt .rt-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e"); }

/* Phone menu panel (below xl): it lies over the page instead of pushing it down, scrolls on its
   own (with a silver glow at an edge while more items sit beyond it), and the page behind it is
   dimmed and held still. A tap on the dimmed page closes it (riata-theme.js). */
@keyframes rt-fade { from { opacity: 0; } }
@media (max-width: 1199.98px) {
    .rt .rt-nav .navbar-collapse {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 6; margin: 0;
        max-height: calc(100vh - var(--rt-nav-h) - 1px); max-height: calc(100dvh - var(--rt-nav-h) - 1px);
        overflow-y: auto; overscroll-behavior: contain;
        background:
            linear-gradient(#000 30%, rgba(0, 0, 0, 0)) center top / 100% 2.5rem no-repeat local,
            linear-gradient(rgba(0, 0, 0, 0), #000 70%) center bottom / 100% 2.5rem no-repeat local,
            radial-gradient(farthest-side at 50% 0, rgba(186, 187, 189, .4), rgba(186, 187, 189, 0)) center top / 100% 1rem no-repeat scroll,
            radial-gradient(farthest-side at 50% 100%, rgba(186, 187, 189, .4), rgba(186, 187, 189, 0)) center bottom / 100% 1rem no-repeat scroll,
            #000;
        box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7);
    }
    .rt .rt-nav:has(.navbar-collapse.show)::after {
        content: ""; position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--rt-nav-h) + 1px); z-index: 4; background: rgba(0, 0, 0, .55);
    }
    html:has(> body.rt .rt-nav .navbar-collapse.show), html:has(> body.rt-home .rt-nav .navbar-collapse.show) { overflow: hidden; }
    .rt .rt-nav .nav-link.rt-current { box-shadow: inset 3px 0 0 var(--rt-red); }
    .rt .rt-nav .dropdown-item.rt-current { color: #fff; }
    .rt .rt-nav .dropdown-header { color: var(--rt-red-on-dark); font-size: .75rem; padding: .9rem 0 .35rem; margin: .3rem 1.25rem 0 calc(2rem + 3px); border-top-color: rgba(255, 255, 255, .12); }
    .rt .rt-nav .dropdown-divider { margin: .3rem 1.25rem .3rem calc(2rem + 3px); background: rgba(255, 255, 255, .12); }
    .rt .rt-nav .dropdown-item[href$=".pdf"]::after { border-color: var(--rt-silver); color: var(--rt-silver); font-size: .7rem; }
    .rt .rt-nav .rt-nav-act { display: grid; gap: .6rem; padding: 1.1rem 1.25rem .4rem; }
    .rt .rt-nav .rt-nav-cta { width: 100%; font-size: .8rem; padding: 1rem 1.25rem; min-height: 48px; display: flex; align-items: center; justify-content: center; }
    .rt .rt-nav .rt-nav-tel { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid rgba(255, 255, 255, .35); }
    .rt .rt-nav .rt-nav-tel:hover, .rt .rt-nav .rt-nav-tel:focus-visible { background: #fff; color: var(--rt-black); }
}
@media (max-width: 1199.98px) and (prefers-reduced-motion: no-preference) {
    .rt .rt-nav:has(.navbar-collapse.show)::after { animation: rt-fade .25s ease-out; }
}

/* title band: the menu group as the kicker (riata-theme.js sets data-rt-kicker), and a way back
   to the list on story and stallion pages */
.rt section > header.border-grad-horz-sm[data-rt-kicker]::before { content: attr(data-rt-kicker); content: attr(data-rt-kicker) / ""; }
.rt .rt-back { margin: 0 0 1.25rem; }
.rt .rt-back a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--rt-red); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.rt .rt-back a::before { content: "\2190"; content: "\2190" / ""; font-size: 1rem; letter-spacing: 0; transition: transform .15s ease; }
.rt .rt-back a:hover, .rt .rt-back a:focus-visible { color: var(--rt-black); }
.rt .rt-back a:hover::before { transform: translateX(-3px); }

/* back to top on long pages: shown two screens down by riata-theme.js; "#top" is the document top */
.rt .rt-top {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1020;
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: #fff; color: var(--rt-red); border: 2px solid var(--rt-red); border-radius: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s, background-color .15s ease, color .15s ease;
}
.rt .rt-top.rt-top-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s, background-color .15s ease, color .15s ease; }
.rt .rt-top:hover, .rt .rt-top:focus-visible { background: var(--rt-red); color: #fff; }
.rt .rt-top:focus-visible { outline: 3px solid var(--rt-black); outline-offset: 2px; }
.rt .rt-top svg { display: block; width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
    .rt .rt-logo img, .rt .rt-top, .rt .rt-toc::before, .rt .rt-toc::after, .rt .rt-back a::before, .rt .rt-skip { transition: none; }
    .rt .rt-top { transform: none; }
}
@media print { .rt .rt-top, .rt .rt-back { display: none; } }

/* ==========================================================================================
   Brand system & shared components: one palette (red, black, silver), flat square buttons and
   cards, one focus ring, one label style. The in-place edits above (tokens, nav, footer, buttons,
   cards, rules, headings) belong to the same pass; these are the rules that are new.
   ========================================================================================== */

/* bold words inside a button follow the button's text colour ("Nominate Online" was black on red) */
.rt a.rt-action b, .rt a.rt-action strong, .rt .btn b, .rt .btn strong { color: inherit; }

/* focus: one ring for keyboard users; black on light surfaces, white on the black ones.
   Buttons keep their own colours while focused, so a focused button never looks disabled. */
.rt a:focus-visible, .rt button:focus-visible, .rt .btn:focus-visible, .rt summary:focus-visible,
.rt input[type="checkbox"]:focus-visible, .rt input[type="radio"]:focus-visible, .rt .slick-slide:focus-visible {
    outline: 2px solid var(--rt-black); outline-offset: 3px;
}
.rt .btn:focus-visible, .rt .btn-close:focus-visible { box-shadow: none; }
.rt .btn-outline-dark:focus, .rt .btn-light:focus { box-shadow: none; }   /* no Bootstrap blue glow */
.rt .rt-nav a:focus-visible, .rt .rt-nav button:focus-visible, .rt .rt-foot a:focus-visible, .rt .rt-cta a:focus-visible,
.rt #rbCarousel a:focus-visible, .rt #rbCarousel button:focus-visible, .rt #ghSubNav a:focus-visible,
.rt section > header.border-grad-horz-sm a:focus-visible, .rt .mc-contact a:focus-visible { outline-color: #fff; }
.rt .rt-nav .dropdown-item:focus-visible, .rt .slick-slide:focus-visible { outline-offset: -2px; }
@media (min-width: 1200px) {
    .rt .rt-nav .dropdown-item:focus-visible { outline-color: var(--rt-black); }   /* white menu panel */
    .rt .rt-nav .nav-link:focus-visible { outline: 0; text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: 8px; }
}
@media (max-width: 1199.98px) {
    .rt .rt-nav .nav-link:focus-visible { outline-offset: -3px; }
}

/* One label style (the Results look): red uppercase, bold, never under 12px, at every width.
   Kickers on the black bands keep the Results kicker's wide .26em tracking; every other label uses .16em. */
.rt .rt-cap-k, .rt section > header.border-grad-horz-sm::before {
    font-size: max(12px, .75rem) !important; letter-spacing: .26em; font-weight: 700;
}
.rt .news-date, .rt .rt-quick-k, .rt .sponsor-type, .rt .rt-day, .rt .rt-foot-h, .rt .type-name,
.rt .stallion-card-y, .rt .stallion-k, .rt .stallion-facts dt, .rt .rt-toc-l, .rt .image-subtext, .rt .rt-price-sale::before, .rt a.rhr-btn .line2,
.rt .content-background-Riata > h5, .rt .content-background-RHR > h5, .rt .content-background-RHR > h3 {
    font-size: max(12px, .75rem) !important; letter-spacing: .16em; font-weight: 700;
}
.rt a.rt-doc::before { font-size: max(12px, .75rem); }   /* PDF badge keeps its .1em tracking so it fits the 2.4rem box */
.rt .rt-more { font-size: max(12px, .75rem); }   /* links: size floor only, tracking unchanged */
@media (max-width: 575.98px) {
    /* /schedule: the col-2 date column was 29px wide at 360, so "OCT" overflowed into the red rule */
    .rt .calendar-item > .calendar-item-left { flex: 0 0 3.5rem; width: 3.5rem; padding-left: .25rem; padding-right: .25rem; }
    .rt .calendar-item > .expandableCal { flex: 1 1 0; width: auto; min-width: 0; }
}

/* ==========================================================================================
   Home page sweep: hero controls, focus and motion; one section rhythm; the News and Schedule
   widgets; shorter phone stacks. riata-theme.js adds the hero's control row (.rt-car-bar).
   ========================================================================================== */

/* hero: the caption keeps clear of the 56 px prev/next hit areas until the page gutter is wider than they are */
@media (min-width: 768px) {
    .rt #rbCarousel .rt-cap { left: max(var(--rt-gutter), 72px); right: max(var(--rt-gutter), 72px); }
}

/* hero arrows: a dark square behind each chevron, so it reads on any uploaded photo; red on hover and focus */
.rt #rbCarousel .carousel-control-prev, .rt #rbCarousel .carousel-control-next { opacity: .9; }
.rt #rbCarousel .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next-icon {
    width: 2.75rem; height: 2.75rem; background-color: rgba(0, 0, 0, .6); background-size: 2rem; transition: background-color .15s ease;
}
.rt #rbCarousel .carousel-control-prev:hover .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next:hover .carousel-control-next-icon,
.rt #rbCarousel .carousel-control-prev:focus-visible .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next:focus-visible .carousel-control-next-icon {
    background-color: var(--rt-red);
}
/* keyboard focus: Bootstrap marks a focused arrow only by opacity, so the ring goes on the square */
.rt #rbCarousel .carousel-control-prev:focus-visible, .rt #rbCarousel .carousel-control-next:focus-visible { opacity: 1; outline: 0; }
.rt #rbCarousel .carousel-control-prev:focus-visible .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next:focus-visible .carousel-control-next-icon {
    outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(0, 0, 0, .55);
}
/* the slide's image link fills an overflow:hidden slide under the dark overlay, so its ring is drawn above both */
.rt #rbCarousel .carousel-item > a:focus-visible { outline: 0; }
.rt #rbCarousel .carousel-item > a:focus-visible::after {
    content: ""; position: absolute; inset: 8px; z-index: 3; pointer-events: none;
    border: 3px solid #fff; box-shadow: 0 0 0 2px #000, inset 0 0 0 2px #000;
}

/* hero: each caption rises in as its slide fades in. No .active condition on purpose: Bootstrap shows the
   incoming slide (display:block) when its fade starts, which restarts these, so they run with the fade. */
.rt #rbCarousel .rt-cap > * { animation: rt-rise .7s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
.rt #rbCarousel .rt-cap > :nth-child(2) { animation-delay: .18s; }
.rt #rbCarousel .rt-cap > :nth-child(3) { animation-delay: .26s; }
@keyframes rt-rise { from { opacity: 0; transform: translateY(18px); } }

/* hero control row (riata-theme.js): a dot per slide, then pause/play in the corner. On phones the row spans
   the foot of the slide, dots under the caption. The button comes first in the markup (first in the tab
   order), so the row is laid out right to left. */
.rt #rbCarousel .rt-car-bar {
    position: absolute; z-index: 5; bottom: 1.25rem; right: max(var(--rt-gutter), 72px);
    display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 1.25rem;
    pointer-events: none;   /* any gap in the row still clicks through to the slide */
}
.rt #rbCarousel .rt-car-bar > * { pointer-events: auto; }
.rt #rbCarousel .rt-dots { position: static; z-index: auto; flex: 0 1 auto; min-width: 0; margin: 0; padding: 0; justify-content: flex-start; }
/* each dot is a 3 px bar inside a 32 px tap area (transparent borders, painted only inside them) */
.rt #rbCarousel .rt-dots [data-bs-slide-to] {
    box-sizing: content-box; flex: 0 1 auto; width: 22px; height: 3px; min-height: 0; margin: 0; padding: 0;
    border: solid transparent; border-width: 15px 5px; background-clip: padding-box; background-color: #fff; opacity: .5;
    transition: width .3s ease, opacity .3s ease;
}
.rt #rbCarousel .rt-dots [data-bs-slide-to]:hover { opacity: .9; }
.rt #rbCarousel .rt-dots [data-bs-slide-to].active { width: 40px; opacity: 1; background-color: var(--rt-red); }
/* while the slideshow runs, the current dot fills over Bootstrap's 5 s interval; a pause resets it with the interval */
.rt #rbCarousel.rt-run .rt-dots [data-bs-slide-to].active {
    background: rgba(255, 255, 255, .45) linear-gradient(var(--rt-red), var(--rt-red)) 0 0 / 0 100% no-repeat padding-box;   /* one layer: a comma here would make the size jump */
    animation: rt-prog 5s linear both;
}
@keyframes rt-prog { to { background-size: 100% 100%; } }
.rt #rbCarousel .rt-car-toggle {
    flex: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem; margin: 0;
    background: rgba(0, 0, 0, .6); color: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: 0;
    font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
    cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.rt #rbCarousel .rt-car-toggle:hover { background: var(--rt-red); border-color: var(--rt-red); }
.rt #rbCarousel .rt-car-ico { position: relative; width: 10px; height: 12px; flex: none; }
.rt #rbCarousel .rt-car-ico::before, .rt #rbCarousel .rt-car-ico::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; }
.rt #rbCarousel .rt-car-ico::before { left: 0; }
.rt #rbCarousel .rt-car-ico::after { right: 0; }
.rt #rbCarousel .rt-car-toggle.is-paused .rt-car-ico::before {
    width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor;
}
.rt #rbCarousel .rt-car-toggle.is-paused .rt-car-ico::after { content: none; }
@media (max-width: 767.98px) {
    .rt #rbCarousel .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next-icon { width: 2.5rem; height: 2.5rem; background-size: 1.75rem; }
    .rt #rbCarousel .rt-car-bar { left: calc(1.25rem - 5px); right: .75rem; bottom: .75rem; justify-content: space-between; }   /* dot bars line up with the caption */
    .rt #rbCarousel .rt-car-toggle { width: 44px; padding: 0; justify-content: center; }
    .rt #rbCarousel .rt-car-l { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .rt #rbCarousel:has(> .rt-car-bar) .rt-cap { bottom: calc(.75rem + 44px + 1rem); }   /* the caption sits above the control row */
    .rt #rbCarousel:has(> .rt-car-bar) .carousel-control-prev, .rt #rbCarousel:has(> .rt-car-bar) .carousel-control-next { height: 40%; }   /* arrows' tap areas end above the raised caption */
}
@media (prefers-reduced-motion: reduce) {
    .rt #rbCarousel .rt-cap > * { animation: none; }
    .rt #rbCarousel.rt-run .rt-dots [data-bs-slide-to].active { animation: none; background-size: 100% 100%; }
    .rt #rbCarousel .rt-car-toggle, .rt #rbCarousel .rt-dots [data-bs-slide-to], .rt #rbCarousel .carousel-control-prev-icon, .rt #rbCarousel .carousel-control-next-icon { transition: none; }
}

/* one section step between tiles, News, Schedule and Sponsors */
.rt #ContentBody .col-12:has(> .calendar-area) { margin-top: calc(clamp(2.5rem, 6vw, 4.5rem) - 1.4rem); }
.rt.rt-p-home #ContentBody { margin-bottom: 0; }   /* home only: the sponsor bar's own top margin gives the step */

/* Schedule fills its row whatever the event count (riata shows up to 4). auto-fit can't be used:
   .more-text spans 1 / -1, so no track would ever collapse. */
@media (min-width: 992px) {
    .rt .calendar-area:not(:has(> p.news-text:nth-of-type(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rt .calendar-area:not(:has(> p.news-text:nth-of-type(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 576px) {
    .rt .calendar-area:not(:has(> p.news-text:nth-of-type(2))) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .rt .calendar-area > p.news-text:nth-of-type(odd):last-of-type { grid-column: 1 / -1; }   /* no half-width orphan */
}
/* News: the three side stories centre their date and headline, in the lead story's display face */
@media (min-width: 992px) {
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) { grid-template-rows: 1fr auto auto 1fr; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) img { grid-row: 1 / -1; grid-column: 1; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) .news-date { grid-row: 2; grid-column: -2 / -1; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2) .rt-news-t {
        grid-row: 3; grid-column: -2 / -1; padding-bottom: 1.1rem;
        font-family: var(--rt-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; letter-spacing: .01em;
    }
    /* a story with no image (none uploaded, or hidden by its onerror): one column, no empty image slot */
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):not(:has(> img:not([style*="none"]))) { grid-template-columns: minmax(0, 1fr); }
}
/* "Full Schedule" reads left like "All News" (riata's page style centres .more-text) */
.rt a.more-text { text-align: left; }

/* promo tiles: the subtitle's dash is its own column, so a wrapped subtitle stays aligned after it */
.rt #ContentBody a.link .image-subtext { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5; }
.rt #ContentBody a.link .image-subtext::before { flex: 0 0 22px; margin: calc(.75em - 1px) 0 0; }

/* phones: shorter stacks and one 16 px edge */
@media (max-width: 575.98px) {
    /* quick links: two across */
    .rt .rt-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: 0 .25rem; }
    .rt .rt-quick a { gap: .25rem; padding: .85rem 1.8rem .9rem .9rem; }
    .rt .rt-quick a::after { right: .7rem; }
    .rt .rt-quick-t { font-size: .9rem; }
    /* quick links, promo tiles, news, schedule and the photo band share one 16 px edge */
    .rt #ContentBody .row > .col-12.p-2 { padding-left: 1rem !important; padding-right: 1rem !important; }
    /* news: the first story stays big; the next three are compact rows (only while their image shows) */
    .rt .news-area.rt-news { gap: .8rem; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):has(> img:not([style*="none"])) { display: grid; grid-template-columns: 34% minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):has(> img:not([style*="none"])) img { grid-column: 1; grid-row: 1 / span 2; height: 100%; aspect-ratio: 4 / 3; border-bottom: 0; border-right: 3px solid var(--rt-black); }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):has(> img:not([style*="none"])):hover img { border-right-color: var(--rt-red); }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):has(> img:not([style*="none"])) .news-date { grid-column: 2; align-self: end; padding: .8rem .9rem 0; }
    .rt .news-area.rt-news > .rt-news-card:nth-child(n+2):has(> img:not([style*="none"])) .rt-news-t { grid-column: 2; padding: .25rem .9rem .85rem; font-size: .92rem; }
}

/* ==========================================================================================
   Page-end CTA, sponsor bar and footer (the layout chrome under every page).
   The CTA aside now ships in sponsor-bar.html, inside the HideSponsorBar condition, so entries
   and the media pass/poster never output it; home hides it by CSS (rules with .rt-cta above).
   ========================================================================================== */

/* page-end CTA: never offer the page you are on (riata-theme.js marks that button rt-self). When the
   red "Nominate" button is the one dropped, the next button takes the red fill, so the band keeps one primary. */
.rt .rt-cta a.rt-self { display: none; }
.rt .rt-cta-b > a.rt-self:first-child + .btn { background: var(--rt-red); border-color: var(--rt-red); color: #fff; }
.rt .rt-cta-b > a.rt-self:first-child + .btn:hover { background: #fff; border-color: #fff; color: var(--rt-black); }
/* phones: one even, full-width column of buttons (the CTA) */
@media (max-width: 575.98px) {
    .rt .rt-cta-b { display: grid; grid-template-columns: 1fr; width: 100%; }
    .rt .rt-cta-b .btn { width: 100%; text-align: center; }
}

/* some page heads centre every .container (/championship-schedule: div.container{text-align:center});
   the shared nav, sponsor bar and footer keep start alignment */
.rt .rt-nav > .container, .rt .rt-foot > .container, .rt #sponsorBar { text-align: start; }

/* sponsor bar head: "All sponsors" sits on the heading's text baseline (not on its red rule), 44 px tall */
.rt .rt-sec-h { align-items: baseline; }
.rt .rt-sec-h .rt-more { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding-top: 0; padding-bottom: 0; }

/* sponsor slider before slick starts (or if jQuery never loads): one row the slider's height, not a
   1,700 px stack of logos. Columns follow slick's own responsive steps (6 / 4 under 1200 / 3 under 992 / 2 under 481). */
.rt .rt-sponsors .sponsor-slider:not(.slick-initialized) { display: flex; align-items: center; overflow: hidden; }
.rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div { flex: 0 0 16.6667%; min-width: 0; padding: 0 1.4rem; }
.rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div > a { display: block; padding: .35rem 0; }
.rt .rt-sponsors .sponsor-slider:not(.slick-initialized) img { display: block; max-height: 56px; width: auto; margin: 0 auto; }
/* logos past the first row are left out until slick runs (clipped ones would still take keyboard focus) */
.rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div:nth-child(n+7) { display: none; }
@media (max-width: 1199.98px) {
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div { flex-basis: 25%; }
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div:nth-child(n+5) { display: none; }
}
@media (max-width: 991.98px) {
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div { flex-basis: 33.3333%; }
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div:nth-child(n+4) { display: none; }
}
@media (max-width: 480.98px) {
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div { flex-basis: 50%; }
    .rt .rt-sponsors .sponsor-slider:not(.slick-initialized) > div:nth-child(n+3) { display: none; }
}

/* sponsor slider: pause/play (built by riata-theme.js once slick runs), a tab pinned to the bottom-right
   corner of the logo frame, centred on its rule; logos lift on hover and keyboard focus */
.rt .rt-sponsors { position: relative; }
.rt .rt-sponsors .rt-sp-toggle {
    position: absolute; z-index: 2; right: 2rem; bottom: 0; transform: translateY(50%);
    display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; margin: 0; padding: 0 .9rem;
    background: #fff; color: var(--rt-black); border: 1px solid var(--rt-black); border-radius: 0; cursor: pointer;
    font-family: var(--rt-font); font-weight: 700; font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.rt .rt-sponsors .rt-sp-toggle::before { content: ""; flex: none; width: 9px; height: 10px; box-sizing: border-box; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.rt .rt-sponsors .rt-sp-toggle.rt-sp-paused::before { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.rt .rt-sponsors .rt-sp-toggle:hover { background: var(--rt-black); color: #fff; }
.rt .rt-sponsors .slick-slide a { display: block; padding: .35rem 0; }
.rt .rt-sponsors .slick-slide img { transition: transform .2s ease; }
.rt .rt-sponsors .slick-slide a:hover img, .rt .rt-sponsors .slick-slide a:focus-visible img { transform: translateY(-3px) scale(1.04); }
.rt .rt-sponsors .slick-slide a:focus-visible { outline-offset: -2px; }   /* .slick-list clips anything drawn outside the link */
@media (max-width: 767.98px) {
    .rt .rt-sponsors .rt-sp-toggle { right: 1.5rem; }
    .rt .rt-sponsors { margin-bottom: calc(clamp(2.5rem, 6vw, 4rem) + 22px); }   /* room for the 44 px tab, which hangs 22 px below the frame (set up front, so nothing moves when it arrives) */
}

/* footer: 44 px social buttons; on phones the logo and the buttons share a row, the links run in two columns */
.rt .rt-social a { width: 44px; height: 44px; }
.rt .rt-social a svg { flex: none; width: 18px; height: 18px; }
.rt .rt-foot h2.rt-foot-h { line-height: 1.6; text-wrap: wrap; }   /* column titles are h2s now; they look as the old <p> did */
@media (max-width: 767.98px) {
    .rt .rt-foot { padding-top: 2.5rem; }
    .rt .rt-foot .row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .rt .rt-foot-logo { margin: 0; max-width: 96px; }
    .rt .rt-foot .rt-social a { display: inline-flex; padding: 0; }   /* undo the phone tap-target inline-block/padding */
    .rt .rt-foot-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rt .rt-sponsors .slick-slide img, .rt .rt-sponsors .rt-sp-toggle { transition: none; }
    .rt .rt-sponsors .slick-slide a:hover img, .rt .rt-sponsors .slick-slide a:focus-visible img { transform: none; }
}

/* ==========================================================================================
   Content pages sweep: one content edge, button artwork that fits its column, brand-red body
   links, figures and contact links that keep the line pitch, Results subheads, the event
   sidebar, the Sponsors page, the recap flipbook, text widgets (bar chart, tier and step cards,
   pull quote, callout), contact cards, list bullets beside widgets. riata-theme.js adds the
   classes used here (rt-sub, rt-close, rt-action-solo, rt-inline-contact, rt-doc-li, rt-bars,
   rt-steps, rt-quote, rt-callout); without the script the pages look as they did before.
   ========================================================================================== */

/* one content edge: title bands, hero caption, "On this page", CTA, photo band and page content all
   start at the container's text edge, (W - 1180px) / 2 + .75rem, which is 16px on phones */
body.rt { --rt-pad: .75rem; --rt-gutter: max(var(--rt-pad), calc((100% - var(--rt-wrap)) / 2 + var(--rt-pad))); }
.rt .container.rb-text-foot { padding-left: var(--rt-pad); padding-right: var(--rt-pad); }
.rt main :is(.container, .container-skinny) { max-width: var(--rt-page); padding-left: var(--rt-page-pad); padding-right: var(--rt-page-pad); }
.rt main :is(.container, .container-skinny) :is(.container, .container-skinny) { max-width: none; padding-left: 0; padding-right: 0; }
.rt .rt-quick { padding: 0; }
.rt #ContentBody > .container > .row { margin-left: -.5rem; margin-right: -.5rem; }   /* home: the columns' .5rem padding lands on the edge */
.rt section > .container.p-0 > .p-3 { padding-left: var(--rt-pad) !important; padding-right: var(--rt-pad) !important; }
.rt .rt-foot > .container { text-align: left; }
@media (max-width: 767.98px) {
    .rt #rbCarousel .rt-cap { left: var(--rt-gutter); right: var(--rt-gutter); }
    .rt #rbCarousel .rt-car-bar { left: calc(var(--rt-gutter) - 5px); }   /* the dot bars stay under the caption */
    .rt .container.rb-text-foot > .row.justify-content-evenly { margin-left: 0; margin-right: 0; }
}
@media (max-width: 575.98px) {
    body.rt { --rt-pad: 1rem; }
    .rt .container:not(.rs) { padding-left: var(--rt-pad); padding-right: var(--rt-pad); }
    .rt #ContentBody > .container > .row { margin-left: -1rem; margin-right: -1rem; }   /* home: the columns' 1rem phone padding */
}
.rt .container-skinny .container-skinny { padding-left: 0; padding-right: 0; }   /* nested columns (/roping) never indent (after the phone padding above) */

/* button artwork in page copy (the 400-500px "Enter ..." graphics) shrinks to fit the column instead of
   being clipped on phones; a lone one starts on the text column's edge like the headings and copy */
.rt .container-skinny img, .rt section img { max-width: 100%; height: auto; }
.rt .container-skinny > center:has(> a > img:only-child), .rt .container-skinny > a > center:has(> img:only-child) { text-align: left; }
.rt .container-skinny > a:has(> center > img:only-child) { display: inline-block; max-width: 100%; }   /* the link is only as wide as its button */
.rt .container-skinny > a:has(> center > img:only-child) + br { display: none; }
.rt section > a > center > img:only-child { max-width: calc(100% - 2 * var(--rt-pad)); }   /* one outside the column (/nomination-rules) keeps the page gutter */

/* body links: the brand red, never Bootstrap blue; an action link that is a heading's only content
   ("Fill Out a Stallion Application") reads as a button, not a 32px heading */
.rt section .container-skinny a:not([class]) { color: var(--rt-red); font-weight: 600; text-underline-offset: 3px; }
.rt section .container-skinny a:not([class]):hover { color: var(--rt-black); }
.rt section .container-skinny .rt-back a { font-weight: 700; }   /* the breadcrumb keeps its label weight */
.rt section .container-skinny h2.rt-action-p, .rt section .container-skinny h3.rt-action-p { margin: 1.6rem 0 2rem !important; font-size: 1rem !important; line-height: 1; }
.rt section .container-skinny h2.rt-action-p::after, .rt section .container-skinny h3.rt-action-p::after { display: none; }

/* figures and contact links in a sentence keep the paragraph's line pitch; a button's trailing "." is not painted */
.rt a.rt-inline-contact { color: var(--rt-red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rt a.rt-inline-contact:hover { text-decoration: underline; text-underline-offset: 3px; }
.rt p.rt-action-p.rt-action-solo { color: transparent; }   /* the "." stays in the page, unpainted; the button sets its own white text */

/* subheads: uppercase h3s with a short red rule, red labels for the bold lines that introduce a list,
   no heading stacked on a heading, and a last bold line that closes the page instead of heading nothing */
.rt section .container-skinny > h3 {
    font-family: var(--rt-font); text-transform: uppercase; font-weight: 700; letter-spacing: .03em;
    font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.25; color: var(--rt-black); margin: 2.2rem 0 1rem;
}
.rt section .container-skinny > h3::after { content: ""; display: block; width: 40px; height: 3px; background: var(--rt-red); margin-top: .5rem; }
.rt .container-skinny p.rt-sub {
    font-family: var(--rt-font); font-size: .8rem !important; font-weight: 700; font-style: normal !important; text-decoration: none !important;
    text-transform: uppercase; letter-spacing: .14em; line-height: 1.45; color: var(--rt-red);
    margin: 2rem 0 .6rem !important;
    padding-left: calc(22px + .6rem); text-indent: calc(-22px - .6rem);   /* a wrapped second line lines up after the dash */
}
.rt .container-skinny p.rt-sub::before { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 2px; margin: -.15em .6rem 0 0; background: var(--rt-black); }
.rt .container-skinny p.rt-sub b, .rt .container-skinny p.rt-sub strong { color: inherit; font-weight: inherit; }
.rt section .container-skinny > h3 + p.rt-sub, .rt section .container-skinny h2 + p.rt-sub { margin-top: .2rem !important; }
.rt section .container-skinny h2 + .rt-ph { font-size: .8rem !important; font-weight: 700; letter-spacing: .16em; color: var(--rt-red); margin: -.3rem 0 .7rem; }
.rt section .container-skinny h2 + .rt-ph::after { display: none; }
.rt .container-skinny > p.rt-close {
    font-family: var(--rt-font); font-size: clamp(1.05rem, 2vw, 1.35rem) !important; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; line-height: 1.3; color: var(--rt-black); margin: 2.6rem 0 0;
}
.rt .container-skinny > p.rt-close::before { content: ""; display: block; width: 40px; height: 3px; background: var(--rt-red); margin-bottom: .9rem; }

/* Sponsors: "Thank You to the" is the lead-in line, "Official Sponsors of the Riata" the headline; each logo
   is centred under its label, labels sit level across a row, and a short last row is centred */
.rt section > header.border-grad-horz-sm:has(> h1.rb-text-grad + h1.rb-header)::before { content: none; }
.rt header.border-grad-horz-sm > h1.rb-text-grad:has(+ h1.rb-header) {
    font-family: var(--rt-font) !important; font-size: clamp(.72rem, 2.3vw, .85rem) !important; font-weight: 700; letter-spacing: .26em; line-height: 1.4;
    color: var(--rt-red-on-dark); -webkit-text-fill-color: var(--rt-red-on-dark); margin: 0 0 .8rem !important;
}
.rt header.border-grad-horz-sm > h1.rb-text-grad + h1.rb-header {
    font-family: var(--rt-display) !important; font-size: clamp(2.2rem, 9vw, 5.2rem) !important; font-weight: 700; letter-spacing: .02em; line-height: .94;
    color: #fff; -webkit-text-fill-color: #fff; border-top: 0; padding-top: 0; margin-top: 0 !important;
}
.rt .container-skinny > .row:has(> div > a > img.sponsor-background) { justify-content: center; }
.rt .container-skinny > .row > div:has(> a > img.sponsor-background) { margin: 0 !important; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rt .container-skinny > .row > div > a:has(> img.sponsor-background) { margin: auto 0; }

/* Riata recap flipbook (/riatarecap): 16:9 on desktop, inset on the site gutter under a red rule; a portrait
   magazine needs a tall frame on phones and portrait tablets, not a 16:9 strip */
.rt .recap-frame { position: relative; aspect-ratio: 16 / 9; }
.rt .recap-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rt .recap > header.border-grad-horz-sm { margin-bottom: 0; }
@media (min-width: 992px) {
    .rt .recap-frame { margin: clamp(2rem, 4vw, 3rem) var(--rt-gutter); border-top: 3px solid var(--rt-red); }
}
@media (max-width: 991.98px) {
    .rt .recap-frame { aspect-ratio: auto; height: min(78vh, 900px); height: min(78svh, 900px); }
}

/* text widgets (riata-theme.js textWidgets): bar chart for "NAME - $N MILLION" lists */
.rt .rt-bars { max-width: 72ch; margin: .6rem 0 2.2rem; border-top: 2px solid var(--rt-black); }
.rt .rt-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .35rem 1rem; padding: .75rem 0 .8rem; border-bottom: 1px solid var(--rt-rule); }
.rt .rt-bar-k { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rt-black); }
.rt .rt-bar-v { font-family: var(--rt-display); font-weight: 700; font-size: 1.55rem; line-height: 1; color: var(--rt-black); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt .rt-bar-t { grid-column: 1 / -1; display: block; height: 10px; background: rgba(186, 187, 189, .28); overflow: hidden; }
.rt .rt-bar-f {
    display: block; height: 100%; width: var(--rt-w, 0%); background: var(--rt-black); transform-origin: left center;
    transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--rt-i, 0) * 90ms + 150ms);
}
.rt .rt-bar-hi .rt-bar-f { background: var(--rt-red); }
.rt .rt-bar-hi .rt-bar-k, .rt .rt-bar-hi .rt-bar-v { color: var(--rt-red); }
html.rt-anim body.rt .rt-bars.rt-reveal:not(.rt-in) .rt-bar-f { transform: scaleX(0); }
/* tier cards ("Level 1: $1,000 - ..." lists), on the price-card markup */
.rt .rt-tiers { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.rt .rt-price-k { font-size: max(12px, .66rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); margin-bottom: .55rem; }
.rt .rt-tiers > .rt-price:last-child { border-top-color: var(--rt-red); }
/* step cards ("STEP 1: ..." and its list) */
.rt .rt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin: 1.2rem 0 2.2rem; }
.rt .rt-step { background: #fff; border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-black); padding: 1.2rem 1.2rem .9rem; transition: border-color .2s ease, box-shadow .2s ease; }
.rt .rt-step:hover { border-top-color: var(--rt-red); box-shadow: 0 18px 30px -22px rgba(15, 16, 18, .45); }
.rt .rt-step-n { font-family: var(--rt-display); font-weight: 700; font-size: 3.2rem; line-height: .85; color: var(--rt-red); font-variant-numeric: tabular-nums; }
.rt .rt-step-l { display: block; font-family: var(--rt-font); font-size: max(12px, .64rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rt-black); margin-bottom: .35rem; }
.rt .rt-step-t { font-family: var(--rt-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; color: var(--rt-black); margin: .5rem 0 .8rem; padding-bottom: .7rem; border-bottom: 1px solid var(--rt-rule); }
.rt .rt-step ul { margin: 0; font-size: .92rem; line-height: 1.5; }
.rt .container-skinny .rt-step ul > li { margin: .4rem 0; }
/* pull quote (a paragraph that is only a quotation) and callout (an all-bold statement) */
.rt .container-skinny > p.rt-quote {
    max-width: 30ch; margin: clamp(2.2rem, 5vw, 3.2rem) 0; padding: .15rem 0 .25rem 1.3rem; border-left: 4px solid var(--rt-red);
    font-family: var(--rt-display); font-size: clamp(1.75rem, 4.4vw, 2.6rem); line-height: 1.06; color: var(--rt-black);
}
.rt .container-skinny > p.rt-quote b, .rt .container-skinny > p.rt-quote strong { font-weight: 600; color: inherit; }
.rt .container-skinny > p.rt-callout { padding: 1rem 1.2rem; margin: 1.6rem 0; background: #f6f6f6; border-left: 4px solid var(--rt-red); line-height: 1.55; }

/* contact page: Results info blocks, left-aligned, a red display title and grey labels; on desktop two equal
   blocks on the content edge (the phone stack and gutter come from the content-edge rules above) */
.rt .row.justify-content-evenly > .content-background { text-align: left; }
.rt .container.rb-text-foot { font-variant: normal; font-size: 1rem; line-height: 1.6; }   /* riata's footer-text class (all-small-caps, 1.5em, line-height 100%): body text, addresses and email as typed */
.rt .row.justify-content-evenly > .content-background > h3 { font-family: var(--rt-display); font-size: 1.35rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; color: var(--rt-red); margin: 0; }
.rt .row.justify-content-evenly > .content-background p > strong { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rt-dim); }
@media (min-width: 768px) {
    .rt .container.rb-text-foot > .row.justify-content-evenly { justify-content: flex-start !important; flex-wrap: nowrap; gap: 1.5rem; margin-left: 0; margin-right: 0; }
    .rt .container.rb-text-foot > .row > .content-background { flex: 1 1 0; max-width: none; margin: 0 0 1.2rem; }
}

/* schedule day headings run the full width of the event cards under them, not the 72ch text measure */
.rt .container-skinny > p.rt-day { max-width: none; }

/* a list item that is only a button or a document card loses its bullet (the card is the marker) */
.rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li.rt-action-p::before, .rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li.rt-doc-li::before { content: none; }
.rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li.rt-action-p, .rt .container-skinny ul:not(.nav):not(.dropdown-menu) > li.rt-doc-li { margin: .9rem 0 .6rem; }

/* ==========================================================================================
   Results, news, stallions & schedule pages (area sweep). Rules edited in place for this area:
   the section-heading rule skips the Results pages' own h2s (.rs), the RHR tag and prize lines, the stallion list rules
   (isNew, past-stallions rule and hairlines) and the old inline stallion-fact rules (removed).
   ========================================================================================== */

/* stallion finder: the tools stay under the bar while the grid scrolls, a visible label, an empty state.
   Fixed offsets: --rt-nav-h is set on .rt-nav itself, so it is not inherited here (76px + 1px border from 1200px, 66px + 1px below). */
.rt .rt-st-tools { position: sticky; top: 77px; z-index: 15; background: #fff; padding: .7rem 0; gap: .5rem 1rem; align-items: flex-end; border-bottom: 1px solid var(--rt-rule); }
@media (max-width: 1199.98px) { .rt .rt-st-tools { top: 67px; } }
.rt .rt-st-l { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 180px; max-width: 360px; margin: 0; }
.rt .rt-st-l > span { color: var(--rt-red); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.rt .rt-st-l .rt-st-search { flex: 0 0 auto; max-width: none; }   /* the old flex: 1 1 260px would make it 260px tall in the column label */
.rt .rt-st-empty { border-top: 3px solid var(--rt-black); padding: 2rem 0; text-align: center; }
.rt .rt-st-empty p { font-weight: 600; margin: 0 0 1rem; }

/* Stallion detail: the photo, then the stud fee, sire and dam as fact tiles, the stallion's links, and the
   standing and owner contacts. Photo and facts side by side from 992px. */
.rt .stallion { display: grid; gap: 1.75rem; margin: 0 0 2.5rem; }
.rt .stallion-photo { border-top: 3px solid var(--rt-black); background: var(--rt-rule); }
.rt .stallion-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rt .stallion-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.rt .stallion-facts > div { padding: .75rem 1rem .8rem; border: 1px solid var(--rt-rule); border-left: 3px solid var(--rt-red); background: #fff; min-width: 0; }
.rt .stallion-facts > .stallion-fee { grid-column: 1 / -1; }
.rt .stallion-facts dt { margin: 0 0 .3rem; color: var(--rt-red); line-height: 1.2; text-transform: uppercase; }
.rt .stallion-facts dd { margin: 0; color: var(--rt-black); font-size: 1.1rem; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.rt .stallion-fee dd { font-family: var(--rt-display); font-size: 1.7rem; line-height: 1.1; }
.rt .stallion-fee small { display: block; margin-top: .2rem; font-family: var(--rt-font); font-size: .8rem; font-weight: 500; color: var(--rt-dim); }
.rt .stallion-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.rt .stallion-links .btn { display: inline-flex; align-items: center; }   /* phones: centred in the 44px touch height */
.rt .stallion-who { padding: 1rem 0; border-top: 1px solid var(--rt-rule); }
.rt .stallion-who p { margin: 0; }
.rt .stallion-k { margin: 0 0 .5rem; color: var(--rt-red); text-transform: uppercase; line-height: 1.4; }
.rt .stallion-who .stallion-n { margin-bottom: .4rem; color: var(--rt-black); font-size: 1.1rem; font-weight: 700; }
@media (min-width: 768px) {
    .rt .stallion-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rt .stallion-facts > .stallion-fee { grid-column: auto; }
}
@media (min-width: 992px) {
    .rt .stallion { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: clamp(2rem, 3.5vw, 3rem); align-items: start; }
    .rt .stallion-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rt .stallion-facts > .stallion-fee { grid-column: 1 / -1; }
}

/* NRHRP monthly results: <h2><a.pdf>Month</a></h2> rows inside <center><section> form the same card grid
   as the other results archives (column gap only: the cards' bottom margin spaces the rows) */
.rt center > section:has(> h2 > a.rt-doc) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: .8rem; text-align: left; }
.rt center > section:has(> h2 > a.rt-doc) > :not(h2:has(> a.rt-doc)) { grid-column: 1 / -1; }   /* the video, the empty <p> and the heading span the row */
.rt center > section:has(> h2 > a.rt-doc) > p:empty { margin: 0; }
.rt section .container-skinny center > section > h2:has(> a.rt-doc) { margin: 0 0 .8rem !important; }
.rt center > section > h2 > a.rt-doc { display: flex; width: 100%; height: 100%; margin: 0; }

/* phones: the labels added above keep the theme's 12px minimum (as .rs-kicker / .rs-strap do on Results) */
@media (max-width: 767.98px) {
    .rt .rt-st-l > span, .rt .rs .day { font-size: 12px; }
}

/* ==========================================================================================
   Entry area (/enter/*): sweep fixes. Fields stay inside their columns, one Results title
   treatment, the logo's red and black instead of maroon and gold, a sub-nav that marks the
   current page and swipes on phones, cart rows as labelled cards on phones, 16px fields (no
   iOS zoom on focus) and finger-sized radio labels. Restyle only: no field, id or handler changes.
   ========================================================================================== */

/* entry forms: fields stay inside their columns at every width (riata's .text-field keeps its .75rem side margins) */
.rt .entry-card input.text-field:not([type=radio]):not([type=checkbox]) { box-sizing: border-box; max-width: calc(100% - 1.5rem); }
.rt .entry-card .form-group > input.text-field { width: calc(100% - 1.5rem); padding-left: .65rem; padding-right: .65rem; }   /* read-only fields (entry-detail, view-entry) fill their column */
.rt .entry-card select.ms-2 { box-sizing: border-box; max-width: calc(100% - .5rem); }
.rt .entry-card .text-field.d-inline-block + .btn.d-inline-block { margin-left: .75rem; margin-top: .5rem; }   /* Search lines up with its field when it wraps under it */
@media (min-width: 768px) and (max-width: 991.98px) { .rt .entry-card .form-group.col-md-3 { width: 50%; } }
/* read-only fields in a row line up when one label wraps to two lines ("Partner Horse Association:"): each label sits on its field */
.rt .entry-card .form-group:has(> label.text-field-label + input.text-field) { display: flex; flex-direction: column; justify-content: flex-end; }
/* view-entry labels its fields with plain paragraphs: they get the label style */
.rt .entry-card .form-group > p.mb-0:has(+ input.text-field) { margin-left: .75rem !important; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--rt-ink); }
/* Division / # Entries selects: the theme's square field (they were the browser's 30px default); radios and checkboxes in the logo red, not browser blue */
.rt .entry-card select {   /* our own chevron, inset from the edge (the native one sat against the border) */
    box-sizing: border-box; min-height: 44px; padding: .5rem 2.4rem .5rem .75rem; border: 1px solid var(--rt-rule); border-bottom: 2px solid var(--rt-black); border-radius: 0; color: var(--rt-ink);
    -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c2272c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center / .7rem auto;
}
.rt .entry-card select:disabled { background-color: var(--rt-tint); color: var(--rt-dim); }
.rt .entry-card select:focus { border-color: var(--rt-red); box-shadow: 0 0 0 3px rgba(194, 39, 44, .15); outline: 0; }
.rt #mainContent input[type=radio], .rt #mainContent input[type=checkbox] { accent-color: var(--rt-red); }
/* RHR Winnings: the <hr> between the roper and the results is a .row item and ran 12px past the card on both sides */
.rt .entry-card > .row > hr { box-sizing: border-box; width: calc(100% - var(--bs-gutter-x, 1.5rem)); margin: 1rem auto; padding: 0; }
/* the event date under an entry's title (entry-detail) is the red Results label */
.rt #mainContent h2 + h5 { margin: -.3rem 0 1.2rem; color: var(--rt-red); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
/* the entry layout's banner (Nominate, Rewards) gets room before the page title */

/* entry cards: the partner bars are the Results black band with a red rule (they were #330000, and silver on view-entry) */
.rt .entry-header-bar { background: var(--rt-black) !important; color: #fff; border-radius: 0 !important; border-bottom: 3px solid var(--rt-red); }
.rt .entry-header { width: 100%; color: #fff !important; font-size: clamp(1.05rem, .8rem + 1vw, 1.4rem); padding-top: .55rem; padding-bottom: .55rem; margin-bottom: 0; overflow-wrap: anywhere; }
.rt .entry-header-bar > .input-group:not(:has(*)) { margin-bottom: 0 !important; }   /* the empty options group (entry-detail) left a black strip under the title */
.rt .entry-header-bar label { color: #fff; }   /* "Futurity Incentive" / "Paying for Partner" sit on the black bar */
.rt .vegas-note { color: var(--rt-red) !important; }
.rt span.fw-bold[style*="darkred"] { color: var(--rt-red) !important; }   /* required-field stars */

/* Nominate / Rewards: the two "Horse Info" buttons sit in 200px paragraphs (inline style); the theme's spaced capitals cut their labels off */
.rt #divNHInfo p[style*="max-width:200px"] { max-width: 230px !important; width: 230px; }
.rt #divNHInfo p[style*="max-width:200px"] > .btn.w-100 { letter-spacing: .06em; padding-left: .9rem; padding-right: .9rem; }
/* lookup sub-heads ("AQHA Lookup", no class) read as the red Results label, not a second page title */
.rt #divNHInfo h3:not([class]) { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--rt-red); margin: 1.2rem 0 .5rem; }
/* horse-info fields (AQHA lookup, the nomination form) in the theme's square style */
.rt #divNHInfo input[type=text], .rt #divNHInfo input[type=date], .rt #divNHInfo select {
    box-sizing: border-box; min-height: 40px; padding: .4rem .6rem; border: 1px solid var(--rt-rule); border-bottom: 2px solid var(--rt-black);
    border-radius: 0; background-color: #fff; color: var(--rt-ink); vertical-align: middle;
}
.rt #divNHInfo input[type=text]:focus, .rt #divNHInfo input[type=date]:focus, .rt #divNHInfo select:focus { border-color: var(--rt-red); box-shadow: 0 0 0 3px rgba(194, 39, 44, .15); outline: 0; }
.rt #divNHInfo input[type=text] + .btn-sm { min-height: 40px; vertical-align: middle; }   /* "Find" matches its field's height */

/* one Results title treatment: uppercase display type over a short red rule, left-aligned */
.rt #mainContent h2 {
    font-family: var(--rt-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
    font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--rt-black);
    text-align: left !important; margin: 0 0 1.2rem;
}
.rt #mainContent h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--rt-red); margin-top: .6rem; }
/* the "Online entries are closed." notice sits in a centred 450px box (.m-auto.text-center): it stays centred */
.rt #mainContent .text-center > h2 { text-align: center !important; }
.rt #mainContent .text-center > h2::after { margin-left: auto; margin-right: auto; }
/* "For questions… call" clears the entry card (the hidden #no-div-selected sits between them, so + p would not match) */
.rt #mainContent .entry-card ~ p:last-child { margin-top: 1.25rem; }
/* entry home buttons: the small line in the site font, not the page's Arial */
.rt a.rhr-btn .line2 { font-family: var(--rt-font); }

/* cart: the line-item tables share one full-width edge (beats .w-75's !important) */
.rt #mainContent .table-dark.w-75 { width: 100% !important; }
/* payment summary: full column width, amounts on one right edge, the total ruled off
   (display:table undoes the phone .table-responsive { display: block }) */
.rt #payInfo > .table { display: table; width: 100% !important; font-variant-numeric: tabular-nums; }
.rt #payInfo > .table td { padding: .4rem 0; }
.rt #payInfo > .table tr:last-child > td { border-top: 2px solid var(--rt-black); padding-top: .6rem; font-weight: 700; color: var(--rt-black); }
/* card / bank form: inside the tab rule, fields in the theme's square style */
.rt #payInfo .tab-pane.container { padding-left: 0; padding-right: 0; }
.rt #payInfo .tab-pane > .table { width: 100% !important; }
.rt #payInfo .tab-pane > .table input[type="text"] { width: 100%; }
.rt #payInfo .tab-pane input[type="text"], .rt #payInfo .tab-pane select {
    box-sizing: border-box; min-height: 42px; padding: .45rem .6rem; border: 1px solid var(--rt-rule); border-bottom: 2px solid var(--rt-black);
    border-radius: 0; background-color: #fff; color: var(--rt-ink);
}
.rt #payInfo .tab-pane select { padding-left: .4rem; padding-right: .2rem; }
.rt #payInfo .tab-pane input[type="text"]:focus, .rt #payInfo .tab-pane select:focus { border-color: var(--rt-red); box-shadow: 0 0 0 3px rgba(194, 39, 44, .15); outline: 0; }
.rt #payInfo .tab-pane > .table > tbody > tr > td { padding-top: .25rem; padding-bottom: .25rem; vertical-align: middle; }   /* a gap between stacked fields */
.rt #payInfo .tab-pane > p.p-2 { padding-left: 0 !important; padding-right: 0 !important; }   /* release note and Submit on the fields' edge */
/* receipt: the section head's rule already tops each table (no double rule); the payment table spans its column */
.rt .bg-dark.text-light.text-center.rounded + div > table.table { border-top: 0; }
.rt #payInfo > table:not(.table) { width: 100%; font-variant-numeric: tabular-nums; }
/* cart below 992px: Payment stacks under the items; a clear break before it and a readable form width (not 600px-wide card fields) */
@media (max-width: 991.98px) {
    .rt #payInfo { max-width: 560px; }
    .rt #payInfo > h2 { margin-top: 2.2rem; }
}

/* Login: the two fields use form-control-sm without form-control, so the theme's field look never reached them.
   (inline-block on purpose: as blocks, the <br /> after #Password leaves an empty line) */
.rt input.form-control-sm {
    display: inline-block; vertical-align: top; box-sizing: border-box; width: 100%; margin: .3rem 0 !important;
    border-radius: 0; border: 1px solid var(--rt-rule); border-bottom: 2px solid var(--rt-black); background: #fff;
    padding: .7rem .9rem; font-size: 1rem; line-height: 1.5; color: var(--rt-ink); min-height: 48px;
}
.rt input.form-control-sm:focus { border-color: var(--rt-red); box-shadow: 0 0 0 3px rgba(194, 39, 44, .15); outline: 0; }
.rt form div:has(> #RoperID) > input[type=submit].w-75 { width: 100% !important; }   /* the button spans the fields */

/* iOS Safari zooms (and stays zoomed) when a field under 16px gets focus; the payment and lookup fields inherit the table's .92rem */
@media (max-width: 991.98px), (pointer: coarse) {
    .rt #mainContent input:not([type=radio]):not([type=checkbox]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]), .rt #mainContent select, .rt #mainContent textarea { font-size: 16px; }
}

/* ── entry area sub-nav (Enter/Shared/_Layout.cshtml, signed in) ──────────────────────────────────────────────
   As wstroping.com's Member Services: on desktop, a "My Account" card beside the page (who is signed in, the tabs as a
   list; Log Out is in the top bar), stuck under the nav, from 1200px. Narrower screens: right under the nav, a "Menu · this page" button
   with Cart beside it opens the same list (riata-theme.js adds .rt-sub-menu and toggles .open; without the script the
   list stays open). The current tab is .rt-current (riata-theme.js). Icons take the accent in a one-program experience
   (/enter/riata: .rt-sub-riata, red; /enter/rhr: .rt-sub-rhr, gold) and are neutral on the every-program dashboard (/enter/index). */
.rt main .container.rt-enter-in { max-width: 1320px; }   /* beside the 16rem links the page keeps the 60rem the entry forms are laid out for */
.rt #ghSubNav { --sub-ic: var(--rt-dim); }
.rt #ghSubNav:is(.rt-sub-riata, .rt-sub-rhr) { --sub-ic: var(--rt-red); }
.rt #ghSubNav .subnav-inner { list-style: none; margin: 0; padding: 0; }
.rt #ghSubNav .subnav-link {
    display: flex; align-items: center; gap: .75rem; min-height: 44px; text-decoration: none;
    font-family: var(--rt-font); font-size: max(12px, .78rem); font-weight: 600; line-height: 1.25; letter-spacing: .1em; text-transform: uppercase;
}
.rt #ghSubNav :is(.subnav-link, .subnav-cart) .fa { flex: none; width: 1.1rem; text-align: center; color: var(--sub-ic); }
.rt #ghSubNav .subnav-bar { display: none; }
.rt .rt-checkout-bar { display: none; }   /* phones and tablets only: the @media (max-width: 1199.98px) block below */
.rt #ghSubNav .subnav-count {   /* items in the cart */
    display: inline-flex; align-items: center; justify-content: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; margin-left: .45rem;
    border-radius: .7rem; background: var(--rt-red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: 0; line-height: 1;
}
.rt #ghSubNav .subnav-title { margin: 0 0 1rem; font-family: var(--rt-display); font-size: 1.35rem; font-weight: 700; line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: var(--rt-black); }
.rt #ghSubNav .subnav-title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: .55rem; background: var(--rt-red); }
.rt #ghSubNav .subnav-who { margin: 0 0 1rem; font-family: var(--rt-font); font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--rt-black); }
.rt #ghSubNav .subnav-who span { display: block; color: var(--rt-dim); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 1200px) {
    /* desktop: who is signed in sits in the My Account card */
    .rt .rt-enter-in { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }   /* room under the stuck card before the footer */
    .rt #ghSubNav { position: sticky; top: calc(var(--rt-nav-h) + 1.5rem); padding: 1.25rem; background: #fff; border: 1px solid var(--rt-rule); border-top: 3px solid var(--rt-red); }
    .rt #ghSubNav .subnav-inner { display: grid; gap: .2rem; }
    .rt #ghSubNav .subnav-link { padding: 0 .85rem; border-left: 3px solid var(--rt-rule); color: var(--rt-black); }
    .rt #ghSubNav .subnav-link:hover, .rt #ghSubNav .subnav-link:focus-visible { border-left-color: var(--rt-black); color: var(--rt-black); }
    .rt #ghSubNav .subnav-link.rt-current { border-left-color: var(--rt-red); color: var(--rt-red); }
    .rt #ghSubNav .subnav-link.rt-current .fa { color: var(--rt-red); }
}
@media (max-width: 1199.98px) {
    /* app-style: the bar sticks under the nav as the page scrolls (67px = the 66px nav + its border; --rt-nav-h lives on .rt-nav),
       and the open list drops over the page instead of pushing it down */
    .rt #ghSubNav {
        --sub-ic: #fff; position: sticky; top: 67px; z-index: 1010;
        margin: 0 calc(-1 * var(--rt-page-pad)) 1.25rem; background: #1b1b1b; border-bottom: 1px solid #333;
    }
    .rt #ghSubNav:is(.rt-sub-riata, .rt-sub-rhr) { --sub-ic: var(--rt-red); }
    .rt #ghSubNav :is(.subnav-title, .subnav-who) { display: none; }
    .rt #ghSubNav.rt-sub-menu .subnav-bar { display: flex; align-items: stretch; min-height: 52px; }
    .rt #ghSubNav .subnav-toggle {
        flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; margin: 0;
        background: none; border: 0; color: #fff; text-align: left; cursor: pointer;
        font-family: var(--rt-font); font-size: .8rem; font-weight: 600; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase;
    }
    .rt #ghSubNav .subnav-toggle-k { flex: none; color: var(--rt-muted); font-size: .64rem; letter-spacing: .16em; }
    .rt #ghSubNav .subnav-toggle-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rt #ghSubNav .subnav-toggle::after {   /* chevron: down when closed, up when open */
        content: ""; flex: none; margin-left: auto; width: .5rem; height: .5rem;
        border-right: 2px solid var(--rt-red); border-bottom: 2px solid var(--rt-red); transform: translateY(-25%) rotate(45deg); transition: transform .2s ease;
    }
    .rt #ghSubNav.open .subnav-toggle::after { transform: translateY(25%) rotate(-135deg); }
    .rt #ghSubNav .subnav-cart {
        flex: none; display: flex; align-items: center; gap: .45rem; padding: 0 1.1rem; border-left: 1px solid #333;
        color: #fff; text-decoration: none; font-family: var(--rt-font); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    }
    .rt #ghSubNav .subnav-toggle:focus-visible, .rt #ghSubNav .subnav-cart:focus-visible { outline: 2px solid var(--rt-red); outline-offset: -2px; }
    .rt #ghSubNav.rt-sub-menu .subnav-inner { display: none; }
    .rt #ghSubNav.rt-sub-menu.open .subnav-inner {
        display: block; position: absolute; left: 0; right: 0; top: 100%;
        max-height: calc(100vh - 67px - 53px); max-height: calc(100dvh - 67px - 53px); overflow-y: auto; overscroll-behavior: contain;
        background: #1b1b1b; border-top: 1px solid #333; box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, .45);
    }
    .rt #ghSubNav .subnav-link { min-height: 52px; padding: .9rem 1.25rem; color: var(--rt-muted); border-bottom: 1px solid #2a2a2a; }
    .rt #ghSubNav li:last-child > .subnav-link { border-bottom: 0; }
    .rt #ghSubNav .subnav-link:hover, .rt #ghSubNav .subnav-link:focus-visible { color: #fff; box-shadow: inset 3px 0 0 var(--rt-red); }
    .rt #ghSubNav .subnav-link.rt-current { color: #fff; background: #000; box-shadow: inset 3px 0 0 var(--rt-red); }

    /* while something is in the cart: a checkout bar fixed along the bottom of the screen (Pages/Enter/Shared/_Layout);
       the page and the back-to-top button make room for it */
    .rt .rt-checkout-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1015;
        display: flex; align-items: center; gap: .75rem; min-height: 60px;
        padding: .6rem max(16px, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        background: var(--rt-black); border-top: 3px solid var(--rt-red); color: #fff; text-decoration: none;
        box-shadow: 0 -10px 24px -12px rgba(0, 0, 0, .5);
    }
    .rt .rt-checkout-bar:hover, .rt .rt-checkout-bar:focus-visible { color: #fff; text-decoration: none; }
    .rt .rt-checkout-bar:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
    .rt .rt-checkout-bar-n {
        flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
        background: var(--rt-red); font-family: var(--rt-display); font-size: 1.1rem; font-weight: 700; line-height: 1;
    }
    .rt .rt-checkout-bar-t { flex: 1 1 auto; min-width: 0; font-size: .9rem; font-weight: 600; }
    .rt .rt-checkout-bar-go {
        flex: none; padding: .55rem 1rem; background: var(--rt-red); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    }
    .rt .rt-checkout-bar-go::after { content: " \2192"; content: " \2192" / ""; }
    .rt:has(.rt-checkout-bar) { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    .rt:has(.rt-checkout-bar) .rt-top { bottom: calc(60px + 16px + env(safe-area-inset-bottom)); }
}
}

@media (max-width: 767.98px) {
    /* payment tabs on phones: label over a full-width field, so the card and bank fields are no longer clipped in the table's own sideways scroll */
    .rt #payInfo .tab-pane > table.table-borderless,
    .rt #payInfo .tab-pane > table.table-borderless > tbody,
    .rt #payInfo .tab-pane > table.table-borderless > tbody > tr,
    .rt #payInfo .tab-pane > table.table-borderless > tbody > tr > td { display: block; width: 100% !important; overflow: visible; }
    .rt #payInfo .tab-pane > table.table-borderless > tbody > tr > td { padding: 0 0 .2rem; white-space: normal; text-align: left; }
    .rt #payInfo .tab-pane > table.table-borderless > tbody > tr > td.text-start { padding-top: .9rem; font-weight: 600; }
    .rt #payInfo .tab-pane > table.table-borderless input[type=text], .rt #payInfo .tab-pane > table.table-borderless select:not(.w-25):not(.w-50) { width: 100%; }

    /* entry forms: the label next to a radio or checkbox is a 44px tap target (the label comes before
       its control on the entry pages, after it on login). Two rules: a browser without :has() keeps the first. */
    .rt.rt-p-enter input[type=radio] + label:not(.d-inline-block), .rt.rt-p-enter input[type=checkbox] + label:not(.d-inline-block) {
        display: inline-flex; align-items: center; min-height: 44px; padding: 0 .45rem;
    }
    .rt.rt-p-enter label:has(+ input[type=radio]), .rt.rt-p-enter label:has(+ input[type=checkbox]) {
        display: inline-flex; align-items: center; min-height: 44px; padding-right: .45rem;
    }
}

/* cart / receipt / order tables on phone screens: each row becomes a card with every cell labelled by
   its column (riata-theme.js adds .rt-stack and data-rt-th; without it the tables scroll as before).
   The header row is hidden visually only, so screen readers keep it. Screen only: a printed receipt stays a table. */
@media screen and (max-width: 767.98px) {
    .rt table.table.rt-stack, .rt table.table.rt-stack > tbody { display: block; width: 100% !important; overflow: visible; border-top: 2px solid var(--rt-black); }
    .rt table.table.rt-stack > tbody { border-top: 0; }
    .rt table.table.rt-stack > tbody > tr:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
    .rt table.table.rt-stack > tbody > tr:not(:first-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; padding: 1rem .2rem; border-bottom: 1px solid var(--rt-rule); }
    .rt table.table.rt-stack > tbody > tr > td { display: block; padding: 0; border: 0; white-space: normal; text-align: left; background: none; box-shadow: none; overflow-wrap: anywhere; }
    .rt table.table.rt-stack > tbody > tr > td[data-rt-th]::before { content: attr(data-rt-th); content: attr(data-rt-th) / ""; display: block; margin-bottom: .15rem; color: var(--rt-red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .rt table.table.rt-stack > tbody > tr > td:last-child:not([data-rt-th]) { grid-column: 1 / -1; text-align: right; }
    .rt table.table.rt-stack > tbody > tr > td:empty { display: none; }
}

/* ==========================================================================================
   Motion, loading & performance. riata-theme.js runs before first paint (the layout loads it
   right after the footer, ahead of the vendor scripts), so its widgets never move the page once
   it shows. Edited in place for this area: the font stacks in :root, the scroll reveal and its
   reduced-motion and print rules (Results-look block), and the Poppins weights the page never
   loads (800 -> 700, 300 -> 400: they already drew as 700 and 400).
   ========================================================================================== */

/* Metric-matched fallbacks: they hold the layout while Barlow Condensed and Poppins load, so title bands
   and paragraphs do not re-wrap when the web fonts swap in (phones have no Arial Narrow; Macs without it
   fell back to Impact). Arial / Liberation Sans / Roboto, scaled to the web fonts' widths; the overrides
   are divided by size-adjust (Chromium scales them by it). Latin only, so glyphs the web fonts lack (the
   \2192 arrows, the phone and mail signs) fall back exactly as before. These faces only register rt-* names. */
@font-face { font-family: "rt-display-fb"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 68%; ascent-override: 147%; descent-override: 29.4%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: "rt-text-fb"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Roboto"), local("Roboto-Regular"); font-weight: 400; size-adjust: 111.5%; ascent-override: 94.2%; descent-override: 31.4%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: "rt-text-fb"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Roboto"), local("Roboto-Regular"); font-weight: 500; size-adjust: 113%; ascent-override: 92.9%; descent-override: 31%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: "rt-text-fb"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 600; size-adjust: 104.8%; ascent-override: 100.2%; descent-override: 33.4%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }
@font-face { font-family: "rt-text-fb"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700 900; size-adjust: 106%; ascent-override: 99.1%; descent-override: 33%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122; }

/* screen-reader-only text the script adds: the real price beside a counting one, "Was … now" on a sale price */
.rt .rt-vh { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Reduced motion: one block, last in the file, so it beats every earlier hover and transition rule of the
   same specificity (the earlier reduce blocks stay; this one is the complete list). No lifts, zooms, nudges
   or slow fades; the arrows keep their vertical centring. Colour and shadow changes still show. */
@media (prefers-reduced-motion: reduce) {
    .rt #rbCarousel .carousel-item.active img { animation: none; }
    html.rt-anim body.rt .rt-reveal:not(.rt-in) { opacity: 1; }
    html.rt-anim body.rt .rt-reveal.rt-in:not(.rt-done) { animation: none; }
    html:has(> body.rt) { scroll-behavior: auto; }
    .rt .rt-quick a, .rt .rt-quick a::after, .rt .calendar-area > p.news-text, .rt a.rhr-btn, .rt a.rhr-btn::after,
    .rt .rt-price, .rt a.rt-doc, .rt a.rt-action::after, .rt .rt-news-card, .rt #ContentBody .col-12.col-md-6 > a.link,
    .rt #ContentBody .figure-img, .rt #ContentBody a.link:has(.image-header) .figure-img, .rt #ContentBody a.link:has(.image-header)::before,
    .rt .stallion-card img, .rt .rt-back a::before, .rt .rt-bar-f, .rt .rt-step { transition: none; }
    .rt .rt-quick a:hover, .rt .calendar-area > p.news-text:hover, .rt a.rhr-btn:hover, .rt a.rhr-btn:focus-visible,
    .rt .rt-price:hover, .rt a.rt-doc:hover, .rt .rt-news-card:hover, .rt #ContentBody .col-12.col-md-6 > a.link:hover,
    .rt #ContentBody a.link:hover .figure-img, .rt #ContentBody a.link:has(.image-header):hover .figure-img,
    .rt .stallion-card:hover img, .rt a.rt-action:hover::after, .rt .rt-back a:hover::before { transform: none; }
    .rt .rt-quick a:hover::after, .rt a.rhr-btn:hover::after { transform: translateY(-50%); }
}

/* link tiles (riata-theme.js linkTiles): the site's own menu links as cards. Empty pages get a row under
   the band; text-only pages get a rail on the right on wide screens (after the text on phones). */
.rt .rt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; margin: 0 0 1rem; border-top: 2px solid var(--rt-black); padding-top: 1.2rem; }
.rt a.rt-tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; min-height: 120px;
    padding: 1rem 2.6rem 1rem 1rem; background: #fff; border: 1px solid var(--rt-rule); border-left: 3px solid var(--rt-red);
    color: var(--rt-black); text-decoration: none; transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
.rt a.rt-tile::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 1rem; bottom: 1rem; color: var(--rt-red); font-weight: 700; transition: transform .2s ease; }
.rt a.rt-tile:hover { border-color: var(--rt-black); border-left-color: var(--rt-red); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(15, 16, 18, .5); color: var(--rt-black); }
.rt a.rt-tile:hover::after { transform: translateX(3px); }
.rt a.rt-tile:focus-visible { outline: 2px solid var(--rt-red); outline-offset: 2px; }
.rt .rt-tile-k { font-size: max(12px, .68rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rt-red); line-height: 1.3; }
.rt .rt-tile-t { font-family: var(--rt-display); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.rt .rt-tiles-empty { margin-bottom: 2.5rem; }
.rt .rt-tiles-empty a.rt-tile { min-height: 150px; }
.rt .rt-tiles-rail { margin-top: 2.5rem; max-width: 72ch; }
@media (max-width: 767.98px) {
    .rt a.rt-tile, .rt .rt-tiles-empty a.rt-tile { min-height: 0; padding: .9rem 2.6rem .9rem 1rem; }
    .rt a.rt-tile::after { top: 0; bottom: 0; display: flex; align-items: center; }
}
@media (min-width: 1200px) {
    .rt .container-skinny.rt-has-rail { position: relative; min-height: var(--rt-rail-min, 0); }
    .rt .container-skinny.rt-has-rail > .rt-tiles-rail {
        position: absolute; top: var(--rt-rail-top, auto); right: var(--rt-pad, .75rem); width: 280px; margin: 0;
        grid-template-columns: 1fr;
    }
    .rt .container-skinny.rt-has-rail > .rt-tiles-rail a.rt-tile { min-height: 96px; }
    /* text, lists and widgets keep clear of the rail */
    .rt .container-skinny.rt-has-rail > :not(.rt-tiles-rail):not(.row) { max-width: min(72ch, calc(100% - 280px - 3rem)); }
}
@media (prefers-reduced-motion: reduce) {
    .rt a.rt-tile, .rt a.rt-tile::after { transition: none; }
    .rt a.rt-tile:hover, .rt a.rt-tile:hover::after { transform: none; }
}
@media (forced-colors: active) {
    .rt a.rt-tile { border: 1px solid CanvasText; }
    .rt .rt-tile-k, .rt a.rt-tile::after { color: LinkText; }
}
@media print {
    .rt .rt-tiles { display: none; }
}

/* rules pages: an h3 that is a top-level entry in the "On this page" bar is drawn like the h2 section heads */
.rt section .container-skinny h3.rt-sec {
    font-family: var(--rt-font); text-transform: uppercase; letter-spacing: .02em; font-weight: 700;
    font-size: clamp(1.35rem, 2.8vw, 2rem) !important; line-height: 1.15; color: var(--rt-black);
    margin: clamp(2.2rem, 5vw, 3rem) 0 1.2rem;
}
.rt section .container-skinny h3.rt-sec::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .6rem; background: var(--rt-red); }
.rt section .container-skinny > *:first-child.rt-sec { margin-top: 0; }

/* PDF links: inside a sentence a compact inline link (small PDF tag, underlined text, no box); a card in a
   paragraph uses the same compact uppercase label as the other document cards; riata's "(pdf)" note sits small under it */
.rt a.rt-doc.rt-doc-inline {
    display: inline; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; transform: none;
    color: var(--rt-red) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.rt a.rt-doc.rt-doc-inline::before {
    display: inline-block; width: auto; height: auto; padding: 0 .3em; margin-right: .35em; vertical-align: .12em;
    font-size: max(10px, .6rem); line-height: 1.5; letter-spacing: .08em; clip-path: none;
}
.rt a.rt-doc.rt-doc-inline::after { content: none; }
.rt a.rt-doc.rt-doc-inline:hover { color: var(--rt-black) !important; transform: none; box-shadow: none; }
.rt p > a.rt-doc:not(.rt-doc-inline) { font-size: .98rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; min-width: min(100%, 260px); }
.rt p:has(> a.rt-doc:not(.rt-doc-inline)) { line-height: 1.25; }
.rt .rt-doc-note { display: block; margin-top: .3rem; font-size: max(12px, .72rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b6c6e; }

/* ==========================================================================================
   Round 2: sponsors page & sponsor strip
   - /sponsors: the page is the full sponsor grid, so the layout's logo strip under it is left out
     (body.rt-p-sponsors is set by riata-theme.js; without it the strip shows as before).
   - phones: the strip's pause/play button sits under the logo box, right-aligned, instead of on
     its bottom-right corner (same reserved space as before, so nothing moves when it arrives).
   ========================================================================================== */
/* /sponsors: no repeat of the logo strip under the full grid */
body.rt.rt-p-sponsors .rt-sponsors { display: none; }

/* phones: pause/play under the logo box, right-aligned with its edge */
@media (max-width: 767.98px) {
    .rt .rt-sponsors .rt-sp-toggle { top: calc(100% + .6rem); bottom: auto; right: 1rem; transform: none; }
    .rt .rt-sponsors { margin-bottom: calc(clamp(2.5rem, 6vw, 4rem) + 44px + .6rem); }
}

/* ══ Round 2: nav, hero, sticky bars & accessibility modes ═══════════════════════════════════════
   r2-15  Desktop nav (one row from 1200px): its text, spacing and the "Enter online" button are
          sized in px, so the browser's Large / Very large font setting (which scales rem) cannot
          push the menu past the content edge; the logo box never shrinks to nothing.
   r2-16  Home hero on short screens (landscape phones, 200% zoom): the slide fits the screen
          under the nav, with a smaller caption, so the headline and "Learn more" are in view.
   r2-17  /stallions-current search/sort bar: not sticky on short screens (as the "On this page"
          bar); where it does stick, keyboard focus and jumps land below it.
   r2-18  Forced colors (Windows High Contrast): the phone menu button gets a system-colour
          frame and its hamburger / X is drawn in ButtonText (the white SVG would vanish). */
@media (min-width: 1200px) {
    .rt .rt-nav .navbar-brand { flex-shrink: 0; margin-right: 16px; }
    .rt .rt-nav .navbar-nav > .nav-item > .nav-link { font-size: 12px; letter-spacing: .1em; padding: 0 18px !important; }   /* the one nav spacing rule: the bar's container is 1180px wide at every width from 1200px, so this spacing holds from 1200px up */
    .rt .rt-nav .navbar-nav > .nav-item > .dropdown-toggle::after { margin-left: 8px; }
    .rt .rt-nav .rt-nav-act { gap: 9.6px; margin-left: 12px; }
    .rt .rt-nav .rt-nav-cta { font-size: 10.88px; padding: 9.92px 16px; }
}

@media (max-height: 560px) {
    .rt #rbCarousel .carousel-item { height: calc(100vh - 67px); height: calc(100svh - 67px); min-height: 260px; }
    .rt #rbCarousel .rt-cap-k { margin-bottom: .5rem; }
    .rt #rbCarousel .rt-cap-t { font-size: clamp(1.75rem, 9.5svh, 2.6rem); line-height: .96; margin-bottom: 1rem; }
    .rt #rbCarousel .rt-cap .btn { padding: .7rem 1.4rem; }
    .rt .rt-st-tools { position: static; }
}
@media (max-height: 560px) and (min-width: 1200px) {
    .rt #rbCarousel .carousel-item { height: calc(100vh - 77px); height: calc(100svh - 77px); }
}
@media (max-height: 560px) and (max-width: 767.98px) {
    .rt #rbCarousel .rt-cap { bottom: 1.25rem; }
    .rt #rbCarousel:has(> .rt-car-bar) .rt-cap { bottom: calc(.5rem + 44px + .6rem); }
    .rt #rbCarousel .rt-car-bar { bottom: .5rem; }
}
@media (min-width: 1200px) and (min-height: 561px) { html:has(> body.rt):has(.rt-st-tools) { scroll-padding-top: 184px; } }
@media (max-width: 1199.98px) and (min-height: 561px) { html:has(> body.rt):has(.rt-st-tools) { scroll-padding-top: 176px; } }

@media (forced-colors: active) {
    .rt .rt-nav .navbar-toggler { border: 1px solid ButtonText; padding: calc(.5rem - 1px); }
    .rt .rt-nav .navbar-toggler-icon {
        forced-color-adjust: none; background-color: ButtonText; background-image: none;
        -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center / 100% no-repeat;
        mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center / 100% no-repeat;
    }
    .rt .rt-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: none;
        -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
        mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
    }
}

/* ══ Round 2: scroll-reveal robustness, print & theme script resilience ══════════════════════════
   r2-10  (riata-theme.js motion) a reveal block scrolled past between two observer checks is
          shown at once; nothing to add here.
   r2-19  (riata-theme.js) the phone-menu, nav-hover and nav-focus listeners are delegated, so
          they still work after riata's printdiv() swaps body.innerHTML; nothing to add here.
   r2-20  Printing a content page: the site chrome (nav bar, sponsor strip, footer, the entry
          sub-nav's links) is left out, and every dark surface (title bands, the home band, dark
          day cards) prints as black text on white with a red rule, since browsers drop
          backgrounds by default. Print media only; the screen is untouched. No input, button,
          form or #id element is hidden (the chrome wrappers are hidden by class). */
@media print {
    .rt .rt-nav, .rt .rt-sponsors, .rt .rt-foot, .rt .rt-skip, .rt .rt-tiles { display: none !important; }
    .rt .subnav-inner { display: none !important; }
    .rt #ghSubNav { background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; }
    body.rt { background: #fff !important; color: #000; }

    /* title bands: black type, red rule, no reserved dark padding */
    .rt section > header.border-grad-horz-sm {
        background: none !important; color: #000 !important;
        padding: 0 0 .6rem !important; margin: 0 0 1.5rem !important; width: auto !important;
        border: 0 !important; border-bottom: 3px solid #c2272c !important;
    }
    .rt section > header.border-grad-horz-sm * {
        color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; text-shadow: none !important;
    }
    .rt section > header.border-grad-horz-sm::before { color: #c2272c !important; -webkit-text-fill-color: #c2272c !important; }
    .rt .rb-text-grad { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }

    /* dark day / info cards */
    .rt .content-background, .rt .content-background-Riata, .rt .content-background-RHR {
        background: none !important; color: #000 !important; border: 1px solid #000 !important; box-shadow: none !important;
    }
    .rt .content-background *, .rt .content-background-Riata *, .rt .content-background-RHR * {
        color: #000 !important; -webkit-text-fill-color: #000 !important; text-shadow: none !important;
    }
    .rt .content-background a, .rt .content-background-Riata a, .rt .content-background-RHR a { color: #c2272c !important; -webkit-text-fill-color: #c2272c !important; }

    /* the entry area's dark tables and panels */
    .rt .text-light, .rt main .text-white { color: #000 !important; }
    .rt .table-dark { --bs-table-bg: transparent; --bs-table-striped-bg: transparent; --bs-table-accent-bg: transparent; color: #000 !important; }
    .rt .table-dark > :not(caption) > * > * { color: #000 !important; background: none !important; }

    /* other dark surfaces: side-column title bands, the results-page event band, the entry headers,
       riata's own bg-dark panels and tabs, and dark call-to-action cards */
    .rt header.border-grad-horz-sm, body.rt.rt main .bg-dark, .rt a.rt-action {
        background: none !important; color: #000 !important; box-shadow: none !important;
    }
    body.rt.rt header.border-grad-horz-sm *, body.rt.rt main .bg-dark, body.rt.rt main .bg-dark *, .rt a.rt-action *, .rt .entry-header {   /* body.rt.rt: beats the band strap and active-tab rules */
        color: #000 !important; -webkit-text-fill-color: #000 !important; text-shadow: none !important;
    }
    .rt a.rt-action { border: 1px solid #000 !important; }
    body.rt.rt .nav-tabs .nav-link.active { background: none !important; color: #000 !important; border: 1px solid #000 !important; border-bottom: 3px solid #c2272c !important; box-shadow: none !important; }   /* the chosen payment tab */

    /* home hero: the photo prints, but the dark wash behind the white caption does not, so the
       caption prints under the photo in black; dark buttons print as outlined black text */
    .rt #rbCarousel .carousel-item { height: auto !important; min-height: 0 !important; }
    .rt #rbCarousel .carousel-item img { height: auto !important; max-height: 3.5in; object-fit: cover; }
    .rt #rbCarousel .carousel-item, .rt #rbCarousel .carousel-item * { animation: none !important; transition: none !important; }
    .rt #rbCarousel .carousel-item::before, .rt #rbCarousel::after { content: none !important; }   /* the photo's dark wash prints as a white sheet over it */   /* the caption's rise would print at its first, hidden frame */
    .rt #rbCarousel .rt-cap { position: static !important; transform: none !important; padding: .8rem 0 0 !important; max-width: none !important; }
    .rt #rbCarousel .rt-cap *, .rt #rbCarousel .rt-car-bar * { color: #000 !important; -webkit-text-fill-color: #000 !important; text-shadow: none !important; }
    .rt #rbCarousel .rt-cap-k { color: #c2272c !important; -webkit-text-fill-color: #c2272c !important; }
    .rt main .btn { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; border: 1px solid #000 !important; box-shadow: none !important; text-shadow: none !important; }
}

/* ══ Round 2: entry area forms & message states ═══════════════════════════════════════════════════
   r2-9  entry-detail / view-entry / horse-result: the Roper / Global ID block lines up with the field
         labels (riata's ms-3/ms-4 and the horse-result col-10 indents); the four-up partner rows get a
         gap between lines (fields stay bottom-aligned) so a wrapped label no longer crowds the field above; the
         horse-result card drops its empty rule strip until its results load.
   r2-12 entry-detail: the Division group's inline padding-right:2rem made its field 20px narrower than
         the fields stacked around it on phones.
   r2-21 message states the prototype never shows: the payment error (#payMsg), the empty cart line and
         the "entries closed" notice get the theme's callout look (logo red, left red bar, light panel).
         riata-theme.js adds links copied from the entry sub-nav (label and href unchanged) after the
         empty-cart and entries-closed notices (.rt-state-links). */
.rt .entry-card .form-group > p[class*="ms-"] { margin-left: .75rem !important; }
.rt .entry-card > .row > .col-10.mx-auto { width: 100%; }
.rt .entry-card > .row > .col-10.mx-auto > p, .rt .entry-card > p#lblEventInfo { margin-left: .75rem !important; }   /* horse-result: same inset as the field labels */
.rt .entry-card > p#lblEventInfo:empty { margin: 0 !important; }
.rt .entry-card > .row > hr:has(+ div > #resultsContainer:empty) { height: 0; margin: 0; border-top-width: 0; opacity: 0; }   /* the rule waits for the results (collapsed, not display:none) */
.rt .entry-card > .row > div:has(> #resultsContainer:empty) { padding-top: 0; padding-bottom: 0; }
@media (min-width: 992px) {
    .rt .entry-card .row:has(> .form-group.col-md-3) { row-gap: 1.1rem; }   /* between lines of fields only: a two-line label no longer touches the field above */
}
@media (max-width: 767.98px) {
    .rt .entry-card .form-group[style*="padding-right"] { padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5) !important; }
}

/* payment error: riata's page <style> sets #payMsg to 1.5rem bold #8b0000; display stays riata's (jQuery shows it) */
.rt #payMsg { color: var(--rt-red); font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0 0 1.25rem; padding: .8rem 1rem; background: var(--rt-tint); border: 1px solid var(--rt-rule); border-left: 4px solid var(--rt-red); }
/* empty cart: one callout line, left-aligned under the CART ITEMS title */
.rt .table-card > p.text-center { text-align: start !important; margin: 0; padding: .9rem 1.1rem; background: var(--rt-tint); border: 1px solid var(--rt-rule); border-left: 4px solid var(--rt-red); color: var(--rt-ink); font-weight: 600; }
/* entries closed: a callout the width of the entry form, title left-aligned like every page title */
.rt #divEntriesClosed { max-width: 60rem !important; margin: 0 auto 2rem !important; text-align: start !important; padding: 1.3rem 1.4rem 1.4rem; background: var(--rt-tint); border: 1px solid var(--rt-rule); border-left: 4px solid var(--rt-red); }
.rt #mainContent #divEntriesClosed > h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); text-align: start !important; }   /* #mainContent: beats the centred-title rule for .text-center > h2 */
.rt #mainContent #divEntriesClosed > h2::after { margin-left: 0; margin-right: 0; }
.rt .rt-state-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (max-width: 991.98px) { .rt #payMsg { margin-top: 1.5rem; } }   /* stacked under the cart column on phones and tablets */
.rt .table-card > .rt-state-links { margin: .9rem 0 0; }
.rt .rt-state-links > a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; background: var(--rt-black); color: #fff !important; -webkit-text-fill-color: #fff; border: 1px solid var(--rt-black); border-bottom: 3px solid var(--rt-red); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; transition: background-color .15s ease; }
.rt .rt-state-links > a + a { background: #fff; color: var(--rt-black) !important; -webkit-text-fill-color: var(--rt-black); }
.rt .rt-state-links > a:hover, .rt .rt-state-links > a:focus-visible { background: var(--rt-red); border-color: var(--rt-red); color: #fff !important; -webkit-text-fill-color: #fff; }
.rt .rt-state-links > a:focus-visible { outline: 2px solid var(--rt-black); outline-offset: 2px; }
@media (forced-colors: active) {
    .rt #payMsg, .rt .table-card > p.text-center, .rt #divEntriesClosed { border-left-color: CanvasText; }
    .rt .rt-state-links > a, .rt .rt-state-links > a + a { color: LinkText !important; -webkit-text-fill-color: LinkText; border-color: LinkText; }
}
@media print {
    .rt #payMsg, .rt .table-card > p.text-center, .rt #divEntriesClosed { background: none !important; }
    .rt .rt-state-links { display: none !important; }
}

/* Round 3: large-font phones — long emails wrap inside their chip */
.rt a.rt-chip-mail, .rt a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }

/* ── Riata customizations: deviations from the base theme, approved by Riata ──────────────── */

/* Homepage hero carousel (#rbCarousel): keeps the base theme's normal photo sizing and caption
   treatment -- the only change is no pause/play control, since hero() is never called (see
   riata-theme.js). This just guards against the control bar ever rendering. */
.rt #rbCarousel .rt-car-bar { display: none; }

/* Main nav: smaller dropdown chevrons. */
.rt .rt-nav .dropdown-toggle::after { width: 6px; height: 6px; border-width: 1.25px; margin-left: .4rem; }

/* Sponsor bar: a plain, continuous-loop CSS marquee instead of the base theme's Slick carousel
   -- no border/box, no pause control, a premium silver-gradient backdrop, sits directly above
   the footer (no CTA band between). */
.rt .rt-sponsors { margin: 0; padding: 0; max-width: none; }
.rt .rt-sponsors .spon-car {
    overflow: hidden; padding-block: 1.8rem;
    background: linear-gradient(135deg, #f3f3f3 0%, #ffffff 35%, #dedede 55%, #ffffff 80%, #f3f3f3 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
}
.rt .rt-sponsors .spon-track { display: flex; width: max-content; animation: spon-roll 70s linear infinite; }
.rt .rt-sponsors .spon-i { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 190px; padding: 0 1.6rem; }
.rt .rt-sponsors .spon-i img { max-height: 54px; width: auto; }
@keyframes spon-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .rt .rt-sponsors .spon-car { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .rt .rt-sponsors .spon-track { animation: none; }
}
@media (max-width: 640px) {
    .rt .rt-sponsors .spon-i { width: 150px; padding: 0 1.1rem; }
    .rt .rt-sponsors .spon-i img { max-height: 44px; }
}

/* "Early rate" tag: a small label inside the card above the price, instead of the base theme's
   sticker hanging off the card's top edge. */
.rt .rt-price-sale::before { position: static; display: inline-block; margin: 0 0 .7rem; font-size: .56rem; padding: .22rem .45rem; }

/* "On this page" jump links: plain text links underlined in red, no "On this page" label. */
.rt .rt-toc-l { display: none; }
.rt .rt-toc-in { gap: .2rem 1.6rem; }
.rt .rt-toc a { border: 0; border-radius: 0; background: none; padding: .55rem 0; color: var(--rt-black); box-shadow: inset 0 -2px 0 transparent; }
.rt .rt-toc a:hover, .rt .rt-toc a:focus-visible { color: var(--rt-red); box-shadow: inset 0 -2px 0 var(--rt-red); }
.rt .rt-toc a.on { background: none; color: var(--rt-red); box-shadow: inset 0 -2px 0 var(--rt-red); }

/* PDF download cards: no underline on hover (the card's lift/border already shows it's active). */
.rt a.rt-doc:hover, .rt a.rt-doc:focus-visible, .rt a.rt-doc:hover *, .rt a.rt-doc:focus-visible * { text-decoration: none; }

/* Dropdown group label at the top of a menu: no hairline above it (it was the separator from the links before it). */
.rt .rt-nav .dropdown-menu > li:first-child > .dropdown-header { border-top: 0; margin-top: 0; padding-top: .45rem; }

/* Championship schedule: a card per roping. Rope Horse Rewards cards carry a gold top rule. */
.rt .rt-rop ul { font-size: .9rem; margin-top: .6rem; }
.rt .rt-rop-rhr { border-top-color: var(--rt-gold); }
.rt .rt-rop-rhr:hover { border-top-color: var(--rt-gold); }
.rt .rt-rop-money { font-family: var(--rt-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--rt-red); margin: 0 0 .4rem; font-variant-numeric: tabular-nums; }
.rt .rt-rop-rhr .rt-rop-money { color: var(--rt-gold); }
.rt .rt-rop-sub { font-size: .82rem; color: var(--rt-dim); margin: 0 0 .6rem; }
.rt .rt-rop-tag { display: inline-block; margin: 0 .4rem .6rem 0; padding: .25rem .6rem; border: 1px solid var(--rt-rule); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rt-black); }
.rt .rt-rop-fee { font-size: .9rem; margin: .4rem 0 0; padding: .7rem .9rem; background: #f5f5f5; color: #222; border-left: 3px solid var(--rt-red); }
.rt .rt-rop-rhr .rt-rop-fee { border-left-color: var(--rt-gold); }

/* Online-entry dashboard buttons (/enter/index, /enter/riata, entry pages): their page styles set Arial / Arial Black;
   they take the theme's fonts. */
body.rt .rhr-btn .line1 { font-family: var(--rt-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; }
body.rt .rhr-btn .line2 { font-family: var(--rt-font); font-weight: 600; }

/* text pasted from Word (news articles and other stored content) carries inline fonts such as
   Times New Roman: it takes the page's font instead */
body.rt main [style*="font-family"], body.rt main font[face] { font-family: inherit !important; }

/* News articles (News.cshtml .rt-article; on the list page it wraps the cards). Articles are pasted
   from Word with inline colours, tight line-heights and point margins: they read as the rest of the site. */
.rt .rt-article :is(p, li, div, span)[style*="line-height"], .rt .rt-article p.MsoNormal { line-height: 1.75 !important; }
.rt .rt-article p.MsoNormal, .rt .rt-article p[style*="margin"] { margin: 0 0 1.1rem !important; }
.rt .rt-article :is(h1, h2, h3, h4) { margin-top: 2.8rem !important; margin-bottom: 1rem !important; }
.rt .rt-article :is(h1, h2, h3, h4) > :first-child { margin-top: 0; }
.rt .rt-article :is(h1, h2, h3, h4), .rt .rt-article :is(h1, h2, h3, h4) * { color: var(--rt-black) !important; }
.rt .rt-article [style*="border-left"] { border-left: 3px solid var(--rt-red) !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 1.2rem !important; }
.rt .rt-article [style*="border-left"] p { border: 0 !important; }
