:root {
  --dark-green:   #346739;
  --mid-green:    #79AE6F;
  --light-green:  #9FCB98;
  --cream:        #F2EDC2;
  --dark-green-rgb: 52, 103, 57;
}

/* ── Base ── */
body {
  background: #d6d3bc;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2a2a2a;
}

/* ── Page wrapper – boxed layout ── */
#page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 60px rgba(0,0,0,.35);
  min-height: 100vh;
}

/* ── Top bar ── */
#top-bar {
  background: var(--dark-green);
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: .45rem 2rem;
}
#top-bar a { color: var(--light-green); text-decoration: none; }
#top-bar a:hover { color: var(--cream); }

/* ── Header / brand ── */
#site-header {
  background: var(--cream);
  padding: 1.4rem 2rem;
  border-bottom: 3px solid var(--mid-green);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
#site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 110%, rgba(52,103,57,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(121,174,111,.10) 0%, transparent 55%);
  pointer-events: none;
}
.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.game-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dark-green);
  border: 1.5px solid var(--mid-green);
  border-radius: 2px;
  padding: .2rem .55rem;
  align-self: center;
  position: relative;
  z-index: 1;
}

/* ── Navbar ── */
#main-nav {
  background: var(--dark-green);
}
#main-nav .navbar-toggler {
  border-color: rgba(242,237,194,.4);
}
#main-nav .navbar-toggler-icon {
  filter: invert(1);
}
#main-nav .nav-link {
  color: var(--cream) !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 1.1rem !important;
  position: relative;
  transition: color .2s;
}
#main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--light-green);
  transition: left .2s, right .2s;
}
#main-nav .nav-link:hover::after,
#main-nav .nav-link.active::after {
  left: .6rem; right: .6rem;
}
#main-nav .nav-link:hover,
#main-nav .nav-link.active {
  color: var(--light-green) !important;
}

/* Dropdowns */
#main-nav .dropdown-menu {
  background: var(--dark-green);
  border: 1px solid rgba(159,203,152,.25);
  border-top: 3px solid var(--light-green);
  border-radius: 0 0 4px 4px;
  padding: .4rem 0;
  min-width: 200px;
}
#main-nav .dropdown-item {
  color: var(--cream);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .06em;
  padding: .55rem 1.3rem;
  transition: background .15s, color .15s;
}
#main-nav .dropdown-item:hover {
  background: rgba(159,203,152,.18);
  color: var(--light-green);
}
#main-nav .dropdown-divider {
  border-color: rgba(159,203,152,.2);
}
#main-nav .dropdown-toggle::after {
  border-color: var(--light-green) transparent transparent;
  vertical-align: .18em;
}

/* ── Hero ── */
#hero {
  background:
    linear-gradient(160deg, rgba(52,103,57,.72) 0%, rgba(52,103,57,.38) 60%, transparent 100%),
    repeating-linear-gradient(
      135deg,
      rgba(159,203,152,.07) 0px, rgba(159,203,152,.07) 1px,
      transparent 1px, transparent 40px
    ),
    linear-gradient(180deg, #5a7f4a 0%, #3d6640 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '\F51B';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  font-size: 16rem;
  color: rgba(242,237,194,.06);
  line-height: 1;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: .75rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-title em {
  font-style: italic;
  color: var(--light-green);
}
.hero-body {
  color: rgba(242,237,194,.82);
  font-size: .95rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.btn-ranch {
  background: var(--cream);
  color: var(--dark-green);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  padding: .7rem 1.8rem;
  border-radius: 2px;
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-ranch:hover {
  background: var(--light-green);
  color: var(--dark-green);
  transform: translateY(-2px);
}
.btn-ranch-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(242,237,194,.5);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .65rem 1.6rem;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-ranch-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* ── Stat band ── */
#stat-band {
  background: var(--mid-green);
  padding: 1.2rem 2rem;
  display: flex;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
  padding: .3rem .5rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}
.stat-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(242,237,194,.75);
  margin-top: .2rem;
}

/* ── Section titles ── */
.section-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--mid-green);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark-green);
  line-height: 1.15;
}
.section-rule {
  width: 48px;
  height: 3px;
  background: var(--mid-green);
  margin: .75rem 0 1.25rem;
}

/* ── Discipline cards ── */
.disc-card {
  background: #fff;
  border: 1px solid rgba(52,103,57,.12);
  border-top: 4px solid var(--mid-green);
  border-radius: 4px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  transition: border-top-color .2s, box-shadow .2s, transform .2s;
}
.disc-card:hover {
  border-top-color: var(--dark-green);
  box-shadow: 0 8px 28px rgba(var(--dark-green-rgb),.14);
  transform: translateY(-3px);
}
.disc-icon {
  width: 44px;
  height: 44px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.disc-icon i { color: var(--dark-green); font-size: 1.15rem; }
.disc-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: .5rem;
}
.disc-card p {
  font-size: .83rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.disc-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.disc-link:hover { color: var(--mid-green); }
.disc-link i { font-size: .65rem; }

/* ── Featured horse table ── */
.ranch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.ranch-table thead th {
  background: var(--dark-green);
  color: var(--cream);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  border: none;
}
.ranch-table tbody tr {
  border-bottom: 1px solid rgba(52,103,57,.1);
  transition: background .15s;
}
.ranch-table tbody tr:hover { background: rgba(159,203,152,.12); }
.ranch-table tbody td {
  padding: .75rem 1rem;
  color: #333;
  vertical-align: middle;
}
.horse-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark-green);
}
.badge-disc {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--light-green);
  color: var(--dark-green);
  padding: .2rem .55rem;
  border-radius: 2px;
}

/* ── Sidebar card ── */
.sidebar-card {
  background: var(--dark-green);
  color: var(--cream);
  border-radius: 4px;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
}
.sidebar-card h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--light-green);
  margin-bottom: .85rem;
  letter-spacing: .03em;
}
.sidebar-card p, .sidebar-card li {
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(242,237,194,.85);
}
.sidebar-card ul { padding-left: 1.1rem; margin: 0; }
.sidebar-card li { margin-bottom: .3rem; }

.sidebar-card-light {
  background: rgba(159,203,152,.18);
  border: 1px solid rgba(52,103,57,.2);
  border-left: 4px solid var(--mid-green);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}
.sidebar-card-light h6 {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: .6rem;
}
.sidebar-card-light p { font-size: .82rem; color: #444; margin: 0; line-height: 1.6; }

/* ── Footer ── */
#site-footer {
  background: var(--dark-green);
  color: rgba(242,237,194,.7);
  font-size: .78rem;
  padding: 2.5rem 2rem 1.5rem;
}
#site-footer h6 {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: .9rem;
  letter-spacing: .03em;
}
#site-footer a {
  color: rgba(242,237,194,.65);
  text-decoration: none;
  display: block;
  margin-bottom: .35rem;
  transition: color .15s;
}
#site-footer a:hover { color: var(--light-green); }
#site-footer .footer-rule {
  border-color: rgba(159,203,152,.2);
  margin: 1.5rem 0 1rem;
}
.footer-copy {
  font-size: .72rem;
  color: rgba(242,237,194,.4);
  letter-spacing: .06em;
}

/* ── Utility padding ── */
.content-pad { padding: 3rem 2rem; }
@media (max-width: 767px) {
  .content-pad { padding: 2rem 1rem; }
  #hero { padding: 2.5rem 1.2rem; }
  #stat-band { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }
}

/* ── Discipline filter buttons ── */
.btn-filter {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-green);
  background: transparent;
  border: 1.5px solid var(--mid-green);
  border-radius: 2px;
  padding: .35rem .9rem;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-filter:hover {
  background: var(--light-green);
  color: var(--dark-green);
  border-color: var(--light-green);
}
.btn-filter.active {
  background: var(--dark-green);
  color: var(--cream);
  border-color: var(--dark-green);
}

/* ── Horse list & cards ── */
.horse-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.horse-card {
  display: flex;
  align-items: stretch;
  background: var(--dark-green);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
}
.horse-card:hover {
  box-shadow: 0 6px 24px rgba(var(--dark-green-rgb), .3);
  transform: translateY(-2px);
}

.horse-card-img {
  flex-shrink: 0;
  width: 180px;
}
.horse-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.horse-card-body {
  flex: 1;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
}

.horse-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .15rem;
  line-height: 1.2;
}

.horse-card-barn {
  font-size: .82rem;
  font-style: italic;
  color: rgba(242,237,194,.55);
  margin-bottom: .65rem;
}

.horse-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .1rem;
  margin-bottom: .6rem;
}
.horse-card-stats span {
  font-size: .78rem;
  color: rgba(242,237,194,.8);
}
.horse-card-stats span + span::before {
  content: '·';
  margin: 0 .45rem;
  color: var(--mid-green);
}

.horse-card-lineage {
  font-size: .75rem;
  color: var(--mid-green);
  font-style: italic;
  letter-spacing: .02em;
}

/* Stud block — right side */
.horse-card-stud {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1.4rem;
  gap: .5rem;
}
.stud-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--dark-green);
  color: var(--cream);
  border: 1.5px solid var(--mid-green);
  border-radius: 2px;
  padding: .25rem .7rem;
  white-space: nowrap;
}
.stud-fee {
  font-size: .78rem;
  color: rgba(242,237,194,.7);
  white-space: nowrap;
}
.stud-fee strong {
  color: var(--cream);
}

/* ── Responsive horse cards ── */
@media (max-width: 600px) {
  .horse-card {
    flex-direction: column;
  }
  .horse-card-img {
    width: 100%;
    height: 180px;
  }
  .horse-card-stud {
    flex-direction: row;
    justify-content: flex-start;
    padding: .75rem 1.2rem;
    border-top: 1px solid rgba(159,203,152,.15);
  }
}

/* ── Empty state ── */
.alert-empty {
  background: rgba(159,203,152,.15);
  border: 1px solid rgba(52,103,57,.2);
  border-left: 4px solid var(--mid-green);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  color: var(--dark-green);
  font-size: .9rem;
  font-weight: 600;
}

.horse-card-bred {
  font-size: .72rem;
  color: rgba(242,237,194,.45);
  margin-top: .2rem;
  font-style: italic;
}

/* ── Contract page ── */
.contract-intro {
  font-size: .92rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(52,103,57,.12);
}

.contract-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contract-item {
  display: flex;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(52,103,57,.1);
}
.contract-item:last-child {
  border-bottom: none;
}

.contract-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--light-green);
  line-height: 1;
  flex-shrink: 0;
  width: 2.2rem;
  padding-top: .1rem;
}

.contract-body h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: .4rem;
}

.contract-body p {
  font-size: .87rem;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

/* ── Horse Hero ── */
#horse-hero {
  display: flex;
  align-items: stretch;
  background: var(--dark-green);
  min-height: 260px;
}
.horse-hero-img {
  flex-shrink: 0;
  width: 280px;
}
.horse-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.horse-hero-info {
  flex: 1;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.horse-hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: .2rem;
}
.horse-hero-barn {
  font-size: .9rem;
  font-style: italic;
  color: rgba(242,237,194,.55);
  margin-bottom: .75rem;
}
.horse-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 0;
  margin-bottom: .9rem;
}
.horse-hero-stats span {
  font-size: .82rem;
  color: rgba(242,237,194,.8);
}
.horse-hero-stats span + span::before {
  content: '·';
  margin: 0 .5rem;
  color: var(--mid-green);
}

/* Association pills */
.horse-hero-assoc {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.assoc-pill {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(159,203,152,.2);
  color: var(--light-green);
  border: 1px solid rgba(159,203,152,.35);
  border-radius: 20px;
  padding: .2rem .75rem;
  cursor: default;
}

/* ── View sections ── */
.view-section {
  border: 1px solid rgba(52,103,57,.12);
  border-radius: 4px;
  overflow: hidden;
}
.view-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--dark-green);
  margin: 0;
  padding: .7rem 1.2rem;
  letter-spacing: .03em;
}
.view-section-body {
  background: #fff;
  padding: 1.2rem 1.4rem;
}
.view-bio {
  font-size: .88rem;
  color: #444;
  line-height: 1.8;
  margin: 0;
}
.view-sub-heading {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: .4rem;
  margin-top: 1rem;
}
.view-sub-heading:first-child { margin-top: 0; }
.view-text {
  font-size: .85rem;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

/* Progeny count badge */
.progeny-count {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  background: var(--mid-green);
  color: var(--cream);
  border-radius: 20px;
  padding: .1rem .55rem;
  vertical-align: middle;
  margin-left: .4rem;
}

/* ── Pedigree table ── */
.ped-table {
  display: flex;
  width: 100%;
  min-height: 200px;
  background: #fff;
}
.ped-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(52,103,57,.1);
}
.ped-col:last-child { border-right: none; }

.ped-col-horse { flex: 0 0 18%; justify-content: center; }
.ped-col-2     { flex: 0 0 22%; }
.ped-col-3     { flex: 0 0 25%; }
.ped-col-4     { flex: 1; }

.ped-col-2 > div,
.ped-col-3 > div,
.ped-col-4 > div {
  flex: 1;
  border-bottom: 1px solid rgba(52,103,57,.08);
  display: flex;
  align-items: stretch;
}
.ped-col-2 > div:last-child,
.ped-col-3 > div:last-child,
.ped-col-4 > div:last-child {
  border-bottom: none;
}

/* Sire rows — slightly lighter green tint */
.ped-col-2 > .ped-row-sire { background: rgba(159,203,152,.06); }

.ped-cell {
  padding: .5rem .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.ped-cell.ped-subject {
  background: var(--dark-green);
  padding: 1rem;
}
.ped-subject .ped-name {
  color: var(--cream);
  font-size: .82rem;
}
.ped-subject .ped-info {
  color: rgba(242,237,194,.6);
}
.ped-cell.ped-empty {
  color: rgba(0,0,0,.2);
  font-size: .8rem;
  align-items: center;
}
.ped-name {
  font-family: 'Playfair Display', serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark-green);
  text-decoration: none;
  line-height: 1.3;
}
.ped-name:hover { color: var(--mid-green); }
a.ped-name { text-decoration: underline dotted; }
.ped-info {
  font-size: .68rem;
  color: #888;
  margin-top: .15rem;
  line-height: 1.3;
}

/* ── Quick facts table ── */
.quick-facts-table {
  width: 100%;
  font-size: .82rem;
  border-collapse: collapse;
}
.quick-facts-table tr {
  border-bottom: 1px solid rgba(159,203,152,.2);
}
.quick-facts-table tr:last-child { border-bottom: none; }
.quick-facts-table th {
  color: rgba(242,237,194,.6);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem .2rem .45rem 0;
  width: 40%;
  vertical-align: top;
}
.quick-facts-table td {
  color: var(--cream);
  padding: .45rem 0;
  vertical-align: top;
}
.quick-facts-table a {
  color: var(--light-green);
  text-decoration: none;
}
.quick-facts-table a:hover { color: var(--cream); }

/* ── Responsive view ── */
@media (max-width: 767px) {
  #horse-hero { flex-direction: column; }
  .horse-hero-img { width: 100%; height: 220px; }
  .ped-table { overflow-x: auto; }
  .ped-col-horse { flex: 0 0 120px; }
  .ped-col-2 { flex: 0 0 150px; }
  .ped-col-3 { flex: 0 0 160px; }
}

/* ── Pedigree info toggle (col 4) ── */
.ped-name-wrap {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
}
.ped-info-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--mid-green);
  font-size: .75rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color .15s;
}
.ped-info-toggle:hover { color: var(--dark-green); }

.ped-detail {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: .25rem;
}
.ped-detail-hidden {
  display: none;
}
.ped-info-link {
  font-size: .65rem;
  color: var(--mid-green);
  text-decoration: none;
}
.ped-info-link:hover { color: var(--dark-green); }

/* ── Reference page status badges ── */
.ref-status-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: .25rem .7rem;
  white-space: nowrap;
  border: 1.5px solid;
}
.ref-status-reference {
  color: var(--light-green);
  border-color: var(--mid-green);
}
.ref-status-pensioned {
  color: #a8c5da;
  border-color: #6a9ab0;
}
.ref-status-sold {
  color: rgba(242,237,194,.6);
  border-color: rgba(242,237,194,.3);
}
.ref-status-exported {
  color: #c9b8e8;
  border-color: #9b7fc4;
}
.ref-status-deceased {
  color: rgba(242,237,194,.4);
  border-color: rgba(242,237,194,.2);
}

/* ── Reference page — no image variant ── */
.horse-card.no-img .horse-card-body {
  padding-left: 1.6rem;
}

/* ── Sales empty state ── */
.sales-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--dark-green);
}
.sales-empty i {
  font-size: 3rem;
  color: var(--light-green);
  display: block;
  margin-bottom: 1rem;
}
.sales-empty h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: .6rem;
}
.sales-empty p {
  font-size: .9rem;
  color: #555;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}
.sales-empty a {
  color: var(--dark-green);
  font-weight: 700;
  text-decoration: underline dotted;
}
.sales-empty a:hover { color: var(--mid-green); }
