/* ===== Variables ===== */
:root {
  --teal: #0b4ea6;
  --teal-dark: #083a7c;
  --teal-light: #2d6fc4;
  --saffron: #ff9933;
  --green: #138808;
  --navy: #0b4ea6;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #d8e0e8;
  --gray-600: #5a6a7a;
  --gray-800: #2d3748;
  --shadow-sm: 0 2px 8px rgba(11, 78, 166, 0.08);
  --shadow-md: 0 8px 30px rgba(11, 78, 166, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 78, 166, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --ticker-height: 28px;
  --logo-size: 118px;
  --logo-hang: 42px;
  --nav-pad-y: 0px;
  --nav-height: 62px;
  --header-total: calc(var(--ticker-height) + var(--nav-height));
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-total); width: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { width: 100%; max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1140px, 92vw); margin: 0 auto; }

/* ===== Sky Layer ===== */
.sky-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bird {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.06;
  animation: flyAcross linear infinite;
}
.bird-1 { top: 12%; animation-duration: 28s; animation-delay: 0s; }
.bird-2 { top: 28%; animation-duration: 35s; animation-delay: -8s; font-size: 1rem; }
.bird-3 { top: 55%; animation-duration: 22s; animation-delay: -14s; font-size: 0.9rem; }
.bird-4 { top: 72%; animation-duration: 40s; animation-delay: -20s; }
.bird-5 { top: 88%; animation-duration: 30s; animation-delay: -5s; font-size: 1.4rem; }

@keyframes flyAcross {
  0% { left: -5%; transform: translateY(0) scaleX(1); }
  25% { transform: translateY(-20px) scaleX(1); }
  50% { transform: translateY(10px) scaleX(1); }
  75% { transform: translateY(-15px) scaleX(1); }
  100% { left: 105%; transform: translateY(0) scaleX(1); }
}

/* ===== Header ===== */
.top-ticker {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  height: var(--ticker-height);
  display: flex;
  align-items: center;
}
.ticker-wrap {
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-content span {
  flex-shrink: 0;
  padding: 0 48px 0 0;
  line-height: var(--ticker-height);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ticker-content span::before {
  content: '★';
  margin-right: 14px;
  color: var(--saffron);
  font-size: 0.65rem;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; }
  .ticker-wrap { overflow-x: auto; }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 78, 166, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
  padding: 0;
  overflow: visible;
  height: var(--header-total);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
  padding: 0;
  height: var(--nav-height);
  min-height: var(--nav-height);
  max-height: var(--nav-height);
  overflow: visible;
  box-sizing: border-box;
  position: relative;
}
.header.scrolled .nav {
  padding: 0;
}
.nav-brand {
  display: block;
  position: relative;
  width: var(--logo-size);
  height: var(--nav-height);
  flex-shrink: 0;
  z-index: 5;
  grid-column: 1;
  justify-self: start;
  align-self: center;
  overflow: visible;
  padding: 0;
  margin: 0;
}
.nav-brand-text {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.nav-logo-wrap {
  position: absolute;
  top: 3px;
  left: 0;
  width: var(--logo-size);
  height: auto;
  display: block;
  border-radius: 14px;
  background: var(--white);
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 6px 8px 8px;
  box-sizing: border-box;
  margin: 0;
}
.nav-logo {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
}
.nav-drawer {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.nav-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  align-self: center;
  flex-shrink: 0;
  height: 100%;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
  height: 100%;
  margin: 0;
}
.nav-menu-contact { display: none; }
.nav-drawer-brand { display: none; }
.nav-link {
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width var(--transition), left var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 60%; left: 20%; }

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  flex-shrink: 0;
  background: var(--saffron);
  color: var(--gray-800);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  border: 1px solid var(--saffron);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-admin-btn:hover {
  background: #ffb366;
  color: var(--gray-800);
  border-color: #ffb366;
}
.nav-admin-btn svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 78, 166, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(11, 78, 166, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(11, 78, 166, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-accent {
  background: linear-gradient(135deg, var(--saffron), #e88a2a);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 153, 51, 0.35);
  white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-full { width: 100%; justify-content: center; border: none; font-family: var(--font-sans); }

/* ===== Slider ===== */
.slider-section {
  padding-top: var(--header-total);
  background: var(--white);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: min(520px, 75vh);
  overflow: hidden;
  border-radius: 0;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 58% 42%;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  width: 100%;
}
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.slide.active .slide-image img { transform: scale(1); }

.slide-panel {
  background: var(--teal);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.slide-panel.panel-alt { background: #3d5a45; }
.slide-panel.panel-green { background: var(--teal-dark); }

.slide-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-bottom: 12px;
}
.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.slide-text {
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.slide-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--saffron);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  background: #ffaa44;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--teal-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}
.slider-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: 20px; right: auto; }
.slider-next { right: 20px; left: auto; }

/* Desktop: keep both arrows on the image side */
@media (min-width: 993px) {
  .slider-next {
    left: calc(58% - 64px);
    right: auto;
  }
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 29%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot.active,
.dot:hover {
  background: var(--white);
  transform: scale(1.15);
}

/* ===== Page Sections ===== */
.page-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-light);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--teal-dark);
  font-weight: 700;
}
.section-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Inner pages */
.inner-page main {
  padding-top: var(--header-total);
}

/* 12-column grid */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.col-12 { grid-column: span 12; }
.col-11 { grid-column: span 11; }
.col-10 { grid-column: span 10; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-1 { grid-column: span 1; }

/* About */
.about-section { background: var(--white); }
.about-page-section { background: var(--white); }
.about-page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b4ea6;
}
.about-page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/about-banner.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
.about-page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 48px;
}
.about-page-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 480px;
  margin-bottom: 0;
}
.about-page-head .section-label {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.about-page-head .section-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 40, 100, 0.35);
  margin: 0;
}
.about-page-head .section-line {
  margin: 14px 0 0;
  align-self: flex-start;
  background: linear-gradient(90deg, #ff9933, #fff, #138808);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-page-row {
  margin-top: 8px;
}
.about-page-content {
  border-left: 3px solid #0b4ea6;
  padding: 8px 0 8px 28px;
  max-width: 100%;
}
.about-page-content p {
  color: #444;
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 18px;
  text-align: left;
}
.about-page-content p:last-child { margin-bottom: 0; }
.about-page-content strong {
  color: #222;
  font-weight: 700;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.about-badge img {
  width: 48px;
  height: 58px;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  flex-shrink: 0;
}
.about-badge span { font-size: 0.8rem; font-weight: 600; color: var(--teal-dark); }
.about-content p {
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.8;
  text-align: justify;
}
.about-content strong { color: var(--teal-dark); }
.about-highlight {
  font-size: 1.05rem;
  color: var(--teal) !important;
  margin-bottom: 24px !important;
}
.about-highlight em { font-style: normal; color: var(--saffron); font-weight: 600; }
.about-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}
.about-actions .btn {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
}

/* Race Results */
.results-section { background: var(--off-white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}
.result-card:hover::before { transform: scaleX(1); }
.result-card.featured {
  background: linear-gradient(160deg, var(--teal-dark), var(--teal));
  color: var(--white);
  border-color: transparent;
}
.result-card.featured .result-year { color: var(--saffron); }
.result-card.featured .result-year-icon {
  background: rgba(255, 153, 51, 0.18);
  color: var(--saffron);
  border-color: rgba(255, 153, 51, 0.35);
}
.result-card.featured h3 { color: var(--white); }
.result-card.featured p { color: rgba(255,255,255,0.85); }
.result-card.featured .result-link { color: var(--saffron); }
.result-card.featured .result-link-icon {
  background: rgba(255, 153, 51, 0.18);
  color: var(--saffron);
}
.result-year {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
}
.result-year-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(11, 78, 166, 0.08);
  color: var(--teal);
  border: 1px solid rgba(11, 78, 166, 0.12);
  flex-shrink: 0;
}
.result-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.result-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.65;
}
.result-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal);
  transition: gap 0.25s ease;
}
.result-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 78, 166, 0.1);
  color: var(--teal);
  transition: transform 0.25s ease, background 0.25s ease;
}
.result-card:hover .result-link { gap: 14px; }
.result-card:hover .result-link-icon { transform: translateX(3px); }

/* Race results page */
.results-page-section {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(11, 78, 166, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 100%, rgba(255, 153, 51, 0.08), transparent 50%),
    var(--off-white);
}
.results-page-head {
  text-align: center;
  margin-bottom: 20px;
}
.results-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
}
.results-tools {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr);
  gap: 16px;
  align-items: end;
  max-width: 720px;
  margin: 0 auto 36px;
}
.results-tool {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.results-tool-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.results-select,
.results-search-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.results-select {
  padding: 0 40px 0 14px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--teal) 50%),
    linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.results-search-wrap {
  position: relative;
}
.results-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
  pointer-events: none;
}
.results-search-input {
  padding: 0 14px 0 42px;
}
.results-select:focus,
.results-search-input:focus {
  outline: none;
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(11, 78, 166, 0.12);
}
.results-grid-years {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}
.results-grid-years .result-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  text-decoration: none;
  color: inherit;
}
.results-grid-years .result-card .result-year {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.results-grid-years .result-card .result-year-icon {
  display: none;
}
.results-grid-years .result-card.is-filtered-out {
  display: none !important;
}
.result-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--saffron);
  color: #1a1a1a;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 1;
}
.results-grid-years .result-link {
  margin-top: auto;
}
.results-list-years {
  display: none;
}
.result-row {
  display: none;
}
.results-pagination {
  margin-top: 28px;
}
.results-empty {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  padding: 24px 0 8px;
}
.result-detail-section { background: var(--off-white); }
.result-detail-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.result-detail-heading {
  text-align: left;
  min-width: 0;
}
.result-detail-heading .section-label {
  margin-bottom: 6px;
}
.result-detail-heading .section-title {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
}
.result-detail-heading .section-line {
  margin: 10px 0 0;
}
.result-detail-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.result-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal);
  background: var(--white);
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.result-back::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.result-back:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 78, 166, 0.25);
}
.result-detail-bar p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}
.result-detail-search {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}
.result-detail-search .results-search-wrap { width: 100%; }
.result-detail-top .result-detail-search {
  justify-self: end;
}
.race-event-card.is-filtered-out { display: none; }
.race-events-empty {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  padding: 16px 0 8px;
}

/* Year race event cards */
.race-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.race-event-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 78, 166, 0.08);
  border: 1px solid rgba(11, 78, 166, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.race-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 78, 166, 0.14);
}
.race-event-media {
  position: relative;
  overflow: hidden;
}
.race-event-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.race-event-card:hover .race-event-media img {
  transform: scale(1.06);
}
.race-event-media .place-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  color: #fff;
  background: rgba(255, 153, 51, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.race-event-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.race-event-body time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b4ea6;
  margin-bottom: 8px;
}
.race-event-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.race-event-body .place-meta {
  margin-bottom: 14px;
}
.race-event-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}
.race-event-card:hover .race-event-link { color: var(--saffron); }

/* Full race detail - gallery cards + zoom */
.race-full-section { background: var(--white); }
.race-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 32px;
}
.race-photo-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  appearance: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.race-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.race-photo-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.race-photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.race-photo-card:hover .race-photo-card-media img {
  transform: scale(1.06);
}
.race-photo-view {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(11, 78, 166, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.race-photo-card:hover .race-photo-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.race-photo-card-body {
  padding: 12px 14px 14px;
}
.race-photo-card-body h3 {
  font-size: 0.95rem;
  color: var(--teal-dark);
  margin: 0 0 4px;
}
.race-photo-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray-600);
}

.race-zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 16, 32, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.race-zoom-lightbox[hidden] { display: none; }
.race-zoom-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.race-zoom-close:hover { opacity: 1; }
.race-zoom-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  z-index: 2;
}
.race-zoom-tool {
  min-width: 44px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 14px;
}
.race-zoom-tool:hover { background: rgba(255, 153, 51, 0.9); color: #1a1a1a; }
.race-zoom-stage {
  width: min(92vw, 980px);
  height: min(72vh, 620px);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.race-zoom-stage img {
  max-width: none;
  transform-origin: center center;
  transition: transform 0.2s ease;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
}
.race-zoom-caption {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: center;
}

.race-full-article {
  max-width: 100%;
  min-width: 0;
  padding: 8px 0 20px;
  overflow-x: hidden;
}
.race-full-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.race-full-header time {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b4ea6;
  margin-bottom: 10px;
}
.race-full-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.race-full-header .place-badge {
  margin-bottom: 12px;
  color: #fff;
  background: #0b4ea6;
}
.race-full-header .place-meta {
  font-size: 1rem;
  margin-bottom: 0;
}
.race-full-body {
  margin: 0 0 36px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.race-report-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.95));
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.race-para-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: none;
}
.race-para-block + .race-para-block {
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.race-para-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--teal-dark);
  margin: 0 0 12px;
  padding-bottom: 0;
  line-height: 1.3;
  border-bottom: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.race-para-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.race-para {
  color: var(--gray-800);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 72ch;
}
.race-full-body p {
  color: var(--gray-800);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 12px;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.race-full-body p:last-child { margin-bottom: 0; }
.race-full-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}
.race-fact {
  background: var(--off-white);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.race-fact span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.race-fact strong {
  color: var(--teal-dark);
  font-size: 0.95rem;
}

.result-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.result-detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 78, 166, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.result-detail-card.featured-place {
  background: linear-gradient(160deg, var(--teal-dark), var(--teal));
  color: var(--white);
  border: none;
}
.result-detail-card.featured-place .place-meta,
.result-detail-card.featured-place p { color: rgba(255,255,255,0.88); }
.result-detail-card.featured-place h3 { color: var(--white); }
.place-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(255, 153, 51, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.result-detail-card.featured-place .place-badge {
  background: rgba(255, 153, 51, 0.25);
  color: var(--saffron);
}
.result-detail-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.place-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}
.result-detail-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}
.result-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
/* Breeders */
.breeders-section { background: var(--white); }
.breeders-text p {
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.8;
  text-align: justify;
}
.pedigree-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.pedigree-tags .tag {
  padding: 8px 16px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.pedigree-tags .tag:hover {
  transform: translateY(-2px);
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.breeders-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.breeder-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease;
}
.breeder-item:hover { transform: translateY(-4px) scale(1.02); }
.breeder-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.breeder-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(8, 58, 124, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Breeders listing page */
.breeders-page-section { background: var(--off-white); }
.breeders-page-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.15fr);
  gap: 20px 24px;
  align-items: end;
  margin-bottom: 32px;
}
.breeders-page-heading {
  text-align: left;
  min-width: 0;
}
.breeders-page-heading .section-label { margin-bottom: 8px; }
.breeders-page-heading .section-line {
  margin: 12px 0 0;
}
.breeders-page-intro {
  text-align: left;
  max-width: 480px;
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.breeders-filters {
  display: grid;
  grid-template-columns: auto minmax(100px, 120px) minmax(140px, 1fr) minmax(100px, 120px) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.results-filters {
  grid-template-columns: auto minmax(120px, 160px) minmax(160px, 1fr) auto;
}
.gallery-filters {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.breeders-filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  line-height: 1;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.breeders-select,
.breeders-input,
.breeders-search-btn {
  height: 42px;
  box-sizing: border-box;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  margin: 0;
}
.breeders-select,
.breeders-input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  padding: 0 32px 0 12px;
}
.breeders-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #888 50%),
    linear-gradient(135deg, #888 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.breeders-input {
  padding-right: 12px;
}
.breeders-select:focus,
.breeders-input:focus {
  outline: none;
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(11, 78, 166, 0.12);
}
.breeders-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(11, 78, 166, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.breeders-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 78, 166, 0.35);
}
.breeders-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.breeder-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(11, 78, 166, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.breeder-card:hover,
.breeder-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 14px 32px rgba(11, 78, 166, 0.18);
  outline: none;
}
.breeder-card:active {
  transform: translateY(-2px);
  border-color: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(11, 78, 166, 0.16);
}
.breeder-card-media {
  position: relative;
  background: #eef2f6;
  overflow: hidden;
}
.breeder-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.breeder-card:hover .breeder-card-media img,
.breeder-card:focus-visible .breeder-card-media img {
  transform: scale(1.06);
}
.breeder-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 78, 166, 0.88);
  backdrop-filter: blur(4px);
}
.breeder-card-badge.is-hen { background: rgba(19, 136, 8, 0.88); }
.breeder-card-badge.is-cock { background: rgba(11, 78, 166, 0.88); }
.breeder-card-view {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translate(-50%, -40%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.breeder-card:hover .breeder-card-view,
.breeder-card:focus-visible .breeder-card-view {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.breeder-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid #e8eef5;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.breeder-card-name {
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.breeder-card:hover .breeder-card-name {
  color: var(--teal);
}
.breeder-card-ring {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 600;
}
.breeder-card-meta {
  color: var(--gray-600);
  font-size: 0.8rem;
}
.breeders-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.breeders-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #fff;
  color: var(--teal-dark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.breeders-page-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}
.breeders-page-btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 78, 166, 0.28);
}
.breeders-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Bird detail */
.bird-detail-section { background: var(--off-white); }
.bird-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.bird-info-header {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
}
.bird-info-header h1 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}
.bird-info-sub {
  margin: 4px 0 0;
  font-size: 0.88rem;
  opacity: 0.9;
}
.bird-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  align-items: stretch;
}
.bird-media-box,
.bird-other-box {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.bird-media-grid .bird-media-frame {
  flex: 1;
  aspect-ratio: 1;
  min-height: 180px;
}
.bird-media-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.bird-media-frame {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f7fa;
  aspect-ratio: 1;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
button.bird-media-zoomable {
  cursor: zoom-in;
}
button.bird-media-zoomable:hover,
button.bird-media-zoomable:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 78, 166, 0.15);
  outline: none;
}
.bird-media-zoom-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -40%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
button.bird-media-zoomable:hover .bird-media-zoom-hint,
button.bird-media-zoomable:focus-visible .bird-media-zoom-hint {
  opacity: 1;
  transform: translate(-50%, -50%);
}
button.bird-media-zoomable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 58, 124, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
}
button.bird-media-zoomable:hover::after,
button.bird-media-zoomable:focus-visible::after {
  opacity: 1;
}
.bird-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bird-media-hero {
  aspect-ratio: 4 / 5;
  height: 100%;
  min-height: 320px;
}
.bird-media-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9aa6b2;
  font-size: 0.78rem;
  padding: 12px;
  text-align: center;
}
.bird-section-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.bird-section-head {
  background: #e8eef5;
  color: var(--teal-dark);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid #d5deea;
}
.bird-parents-grid,
.bird-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  align-items: start;
}
.bird-parent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.bird-parent-card-media {
  aspect-ratio: 4 / 3;
  min-height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f4f7fa;
}
.bird-parent-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.bird-parent-card:hover .bird-parent-card-media,
.bird-parent-card:focus-visible .bird-parent-card-media,
.bird-parent-card.is-active .bird-parent-card-media {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 78, 166, 0.15);
  outline: none;
}
.bird-parent-card:hover .bird-parent-card-media img,
.bird-parent-card.is-active .bird-parent-card-media img {
  transform: scale(1.04);
}
.bird-parent-card .bird-media-zoom-hint {
  opacity: 0;
}
.bird-parent-card:hover .bird-media-zoom-hint,
.bird-parent-card:focus-visible .bird-media-zoom-hint {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.bird-parent-detail {
  margin-bottom: 18px;
}
.bird-parent-detail[hidden] { display: none !important; }
.bird-parent-detail .bird-info-header h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.bird-parent-detail-body {
  padding: 18px;
}
.bird-parent-detail-media {
  max-width: 420px;
  margin-bottom: 16px;
}
.bird-parent-detail-photo {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}
.bird-parent-detail .bird-facts {
  padding: 0 0 16px;
  border-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bird-parent-detail-info .bird-other-text {
  max-height: none;
  min-height: 80px;
}
.bird-parents-grid .bird-media-frame,
.bird-extra-grid .bird-media-frame {
  aspect-ratio: 4 / 3;
  min-height: 180px;
}
.bird-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  overflow: hidden;
  background: #0a2540;
}
.bird-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.bird-other-box {
  display: flex;
  flex-direction: column;
}
.bird-other-text {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  flex: 1;
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
  background: #fafbfc;
  scrollbar-width: thin;
}
.bird-other-text p {
  margin: 0 0 10px;
}
.bird-other-text p:last-child {
  margin-bottom: 0;
}
.bird-other-cat {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--gray-800);
}
.bird-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  padding: 6px 18px 20px;
  border-top: 1px solid var(--gray-100);
}
.bird-fact {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.bird-fact strong { color: var(--teal-dark); }
.bird-pedigree-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #e8eef5;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 14px 18px;
}
.bird-pedigree-bar h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--teal-dark);
}
.bird-pedigree-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bird-pdf-viewer {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bird-pdf-viewer[hidden] { display: none !important; }
.bird-pdf-viewer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #e8eef5;
  border-bottom: 1px solid #d5deea;
}
.bird-pdf-viewer-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--teal-dark);
}
.bird-pdf-frame {
  display: block;
  width: 100%;
  height: min(80vh, 820px);
  border: 0;
  background: #f4f7fa;
}

/* Pedigree / Achievements modal (legacy unused) */
.bird-doc-modal[hidden] { display: none !important; }
.bird-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.bird-doc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 30, 60, 0.55);
}
.bird-doc-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.bird-doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--off-white);
  position: sticky;
  top: 0;
}
.bird-doc-toolbar h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--teal-dark);
}
.bird-doc-toolbar-actions {
  display: flex;
  gap: 8px;
}
.bird-doc-body { padding: 20px 22px 28px; }
.bird-doc-sheet h2 {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-family: var(--font-serif);
}
.bird-doc-meta {
  color: var(--gray-600);
  margin: 0 0 18px;
  font-size: 0.92rem;
}
.bird-doc-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--gray-800);
  line-height: 1.7;
}
.bird-doc-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.bird-pedigree-tree {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: #f7fafc;
}
.bird-pedigree-self {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gray-200);
}
.bird-pedigree-parents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bird-pedigree-node {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px;
}
.bird-pedigree-role {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 4px;
  font-weight: 700;
}

@media print {
  body > *:not(.bird-doc-modal),
  .whatsapp-button,
  .call-button,
  .no-print,
  .bird-doc-backdrop {
    display: none !important;
  }
  .bird-doc-modal {
    position: static;
    display: block !important;
    padding: 0;
  }
  .bird-doc-panel {
    box-shadow: none;
    max-height: none;
    width: 100%;
  }
}

/* What's Special */
.special-section { background: var(--off-white); }
.special-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.special-content { grid-column: span 6; }
.special-video { grid-column: span 6; }
.special-content p {
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.8;
  text-align: justify;
}
.special-content p:last-child { margin-bottom: 0; }
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.special-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.special-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.special-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.special-icon { font-size: 2rem; margin-bottom: 12px; }
.special-item h3 {
  font-family: var(--font-serif);
  color: var(--teal-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.special-item p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }
.special-visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  color: var(--white);
}
.special-visit p { opacity: 0.92; font-size: 0.95rem; flex: 1; }

/* Gallery */
.gallery-section { background: var(--white); }
.gallery-head { margin-bottom: 40px; }
.gallery-head .section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: 0.01em;
}
.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.gallery-more {
  text-align: center;
  margin-top: 36px;
}

/* Gallery page */
.gallery-page-section {
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 40%);
}
.gallery-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
}
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-page-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 78, 166, 0.08);
  border: 1px solid rgba(11, 78, 166, 0.08);
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 78, 166, 0.12);
}
.gallery-page-card-media {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-page-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-page-card:hover .gallery-page-card-media img {
  transform: scale(1.05);
}
.gallery-page-card-media::after {
  content: 'Click to zoom';
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(11, 78, 166, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-page-card:hover .gallery-page-card-media::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gallery-page-card-body {
  padding: 18px 20px 22px;
  flex: 1;
}
.gallery-page-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b4ea6;
  background: rgba(11, 78, 166, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.gallery-page-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.gallery-page-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
.gallery-page-card.is-filtered-out {
  display: none !important;
}
.gallery-pagination {
  margin-top: 32px;
}

/* ===== Sales listing ===== */
.sales-page-section {
  background: var(--off-white);
}
.sales-filters {
  grid-template-columns: auto minmax(110px, 140px) minmax(0, 1fr) auto;
}
.sales-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.sale-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 22px;
  align-items: center;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 251, 0.92)),
    radial-gradient(ellipse at 100% 0%, rgba(11, 78, 166, 0.06), transparent 55%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}
.sale-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 78, 166, 0.35);
}
.sale-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}
.sale-row-top {
  min-width: 0;
}
.sale-row-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sale-row-id {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.sale-row-specs {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.45;
}
.sale-row-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.sale-row-price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.sale-row-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.sale-row-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.4;
}
.sale-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sale-status--sold {
  background: #fde8e8;
  color: #b42318;
}
.sale-status--available {
  background: #e8f6ee;
  color: #067647;
}
.sale-row-body {
  min-width: 0;
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.sale-row-body p { margin: 0 0 8px; }
.sale-row-body p:last-child { margin-bottom: 0; }
.sale-row-body strong { color: var(--teal-dark); font-weight: 700; }
.sale-row-media {
  width: 200px;
  height: 160px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.sale-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sales-pagination { margin-top: 28px; }

/* ===== Sale detail ===== */
.sale-detail-section {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(11, 78, 166, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(255, 153, 51, 0.08), transparent 40%),
    var(--off-white);
  padding-bottom: 64px;
}
.sale-detail-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}
.sale-detail-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 360px;
  background:
    linear-gradient(145deg, #0b4ea6 0%, #083a7c 55%, #0a2f5c 100%);
  box-shadow: var(--shadow-lg);
}
.sale-detail-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 58, 124, 0.35));
  pointer-events: none;
}
.sale-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.sale-detail-hero-panel {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.sale-detail-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
}
.sale-detail-title-row h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.sale-detail-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 16px;
}
.sale-detail-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}
.sale-detail-facts li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}
.sale-detail-facts li span {
  color: var(--gray-600);
}
.sale-detail-facts li strong {
  color: var(--gray-800);
  font-weight: 600;
}
.sale-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.sale-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.sale-detail-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sale-detail-card h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--teal-dark);
  margin: 0 0 12px;
}
.sale-detail-card > p,
.sale-pedigree-block p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}
.sale-pedigree-block + .sale-pedigree-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.sale-pedigree-block h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.sale-gallery-card { margin-bottom: 20px; }
.sale-gallery-intro {
  margin: -4px 0 16px;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.sale-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sale-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sale-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.sale-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.sale-gallery-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 58, 124, 0.88);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sale-enquiry {
  margin-top: 8px;
}
.sale-enquiry-inner {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.sale-enquiry-inner h2 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.sale-enquiry-inner p {
  margin: 0 0 18px;
  opacity: 0.92;
  max-width: 52ch;
}
.sale-enquiry-inner .btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.sale-enquiry-inner .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}
.sale-enquiry-inner .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}
.sale-enquiry-inner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Gallery detail page (unused) */
.gallery-detail-section {
  background: #f5f7fa;
  padding-top: 28px;
  padding-bottom: 60px;
}
.gallery-detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
  align-items: start;
}
.gallery-detail-main {
  min-width: 0;
}
.gd-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0a2540;
  aspect-ratio: 16 / 10;
  box-shadow: 0 10px 30px rgba(11, 78, 166, 0.12);
}
.gd-slider-track {
  width: 100%;
  height: 100%;
}
.gd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.gd-slide.active { opacity: 1; }
.gd-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gd-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b4ea6;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, color 0.25s ease;
}
.gd-slider-btn:hover {
  background: #0b4ea6;
  color: #fff;
}
.gd-slider-prev { left: 14px; }
.gd-slider-next { right: 14px; }
.gd-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.gd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.gd-dot.active { background: #0b4ea6; box-shadow: 0 0 0 2px #fff; }

.gd-about {
  margin-top: 28px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  border: 1px solid #e6ebf2;
  box-shadow: 0 6px 20px rgba(11, 78, 166, 0.06);
}
.gd-about-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.gd-about-title svg { color: #0b4ea6; flex-shrink: 0; }
.gd-about-body {
  color: #555;
  line-height: 1.75;
  font-size: 0.98rem;
}
.gd-about-block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8eef5;
}
.gd-about-block:last-child {
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}
.gd-about-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b4ea6;
  margin: 0 0 10px;
}
.gd-about-block p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.75;
}
.gd-about-block p:last-child { margin-bottom: 0; }
.gd-about-bullets {
  list-style: none;
  margin: 8px 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.gd-about-bullets li {
  position: relative;
  padding: 10px 12px 10px 34px;
  background: #f7faff;
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.45;
}
.gd-about-bullets li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0b4ea6;
}
.gd-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(11, 78, 166, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
}
.gd-highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b4ea6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.gd-highlight p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.55;
  padding-top: 3px;
}

.gallery-detail-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-total) + 16px);
}
.gd-enquiry {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6ebf2;
  box-shadow: 0 8px 24px rgba(11, 78, 166, 0.08);
}
.gd-enquiry-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #0b4ea6;
  color: #fff;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}
.gd-enquiry-head svg { flex-shrink: 0; margin-top: 1px; }
.gd-enquiry-head span {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.gd-enquiry-form {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gd-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 6px;
}
.gd-field label span { color: #e53935; }
.gd-field input,
.gd-field textarea {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
  color: #222;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.gd-field input:focus,
.gd-field textarea:focus {
  outline: none;
  border-color: #0b4ea6;
  box-shadow: 0 0 0 3px rgba(11, 78, 166, 0.15);
}
.gd-field textarea { resize: vertical; min-height: 96px; }
.gd-enquiry-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: #0b4ea6;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.gd-enquiry-btn:hover {
  background: #083a7c;
  transform: translateY(-1px);
}
.gd-enquiry-form .form-success {
  margin: 0;
  font-size: 0.85rem;
  color: #138808;
}

.gd-related {
  background: #fff;
  border-radius: 12px;
  padding: 18px 14px 12px;
  border: 1px solid #e6ebf2;
  box-shadow: 0 8px 24px rgba(11, 78, 166, 0.06);
}
.gd-related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 14px 4px;
}
.gd-related-title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #0b4ea6;
}
.gd-related-list {
  display: flex;
  flex-direction: column;
}
.gd-related-item {
  display: grid;
  grid-template-columns: 56px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 10px 6px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}
.gd-related-item:hover { background: rgba(11, 78, 166, 0.06); }
.gd-related-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.gd-related-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gd-related-info strong {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.3;
}
.gd-related-info span {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gd-related-arrow {
  color: #0b4ea6;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

/* Tips blog pages */
body.inner-page {
  max-width: 100%;
}
.tip-detail-section {
  background: var(--off-white);
  overflow: visible;
  width: 100%;
  max-width: 100%;
}
.tip-detail-section .container {
  width: min(1280px, 94vw);
  max-width: none;
  overflow: visible;
  box-sizing: border-box;
}
body.inner-page:has(.tip-detail-layout) {
  overflow-x: visible;
}
body.inner-page:has(.tip-detail-layout) main {
  overflow: visible;
}
.tips-page-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 20px 28px;
  align-items: end;
  margin-bottom: 36px;
}
.tips-page-heading {
  text-align: left;
  min-width: 0;
}
.tips-page-heading .section-label {
  margin-bottom: 8px;
}
.tips-page-heading .section-title {
  margin-bottom: 0;
}
.tips-page-heading .section-line {
  margin: 12px 0 0;
}
.tips-page-intro {
  text-align: left;
  max-width: 520px;
  margin: 14px 0 0;
  font-size: 0.98rem;
}
.tips-tools {
  width: 100%;
  max-width: none;
  margin: 0;
}
.tips-search-row {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.tips-search-row .results-tool-label {
  flex-shrink: 0;
  margin: 0;
  color: var(--teal);
}
.tips-search-row .results-search-wrap {
  flex: 1;
  min-width: 0;
}
.tips-grid { margin-bottom: 12px; }
.tip-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.tip-detail-main {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.tip-detail-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(560px, 70vh);
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 18px;
  display: block;
  background: #eef2f6;
}
.tip-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--teal-dark);
  margin: 8px 0 18px;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
.tip-detail-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.tip-detail-body .race-para-block {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.tip-detail-body .race-para,
.tip-detail-body .race-para-heading {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.tip-detail-side {
  min-width: 0;
  width: 100%;
  max-width: 360px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-total) + 16px);
  z-index: 3;
}
.tip-detail-side-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - var(--header-total) - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.tip-detail-side .gd-related,
.tip-detail-side .gd-enquiry {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}
.tip-detail-side .gd-enquiry {
  overflow: hidden;
}
.tip-detail-side .gd-enquiry-form {
  gap: 12px;
  padding: 14px 14px 16px;
}
.tip-detail-side .gd-field textarea {
  min-height: 72px;
}
.tip-detail-side .gd-related-item {
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  max-width: 100%;
}

/* Blog / Tips */
.blog-section { background: var(--off-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.blog-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-tile-image {
  display: block;
  overflow: hidden;
}
.blog-tile-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-tile:hover .blog-tile-image img { transform: scale(1.05); }
.blog-tile-body { padding: 22px 24px 26px; }
.blog-tile-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 12px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(11, 78, 166, 0.08);
  border: 1px solid rgba(11, 78, 166, 0.12);
}
.blog-tile-date::before {
  content: '';
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.blog-tile-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--teal-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-tile-title a {
  transition: color 0.25s ease;
}
.blog-tile-title a:hover { color: var(--teal); }
.blog-tile-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}
.blog-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--saffron);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 153, 51, 0.12);
  border: 1px solid rgba(255, 153, 51, 0.22);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.blog-tile-link::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.blog-tile-link:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}
.blog-tile:hover .blog-tile-link {
  color: var(--white);
  background: var(--saffron);
  border-color: var(--saffron);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox p {
  color: var(--white);
  margin-top: 16px;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.lightbox-close:hover { opacity: 1; }

/* Contact */
.contact-section { background: var(--off-white); }
.contact-page-section {
  background: var(--white);
  padding-bottom: 0;
}
.contact-page-head {
  text-align: left;
  margin-bottom: 28px;
}
.contact-heading {
  color: #0b4ea6;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.contact-page-head .section-line { display: none; }

.contact-top-row {
  align-items: center;
  margin-bottom: 8px;
  column-gap: 24px;
  row-gap: 28px;
}
.contact-flag-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-address-col {
  min-width: 0;
}
.contact-flag img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.contact-loft-name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0b4ea6;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.contact-address-text {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 22px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--gray-800);
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}
.contact-channel:hover {
  color: #0b4ea6;
  transform: translateX(4px);
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.contact-icon-phone { background: #0b4ea6; }
.contact-icon-wa { background: #25d366; }
.contact-icon-mail { background: #0b4ea6; }

.contact-map-col { min-width: 0; }
.contact-map {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 10px;
}

.mail-us-wrap {
  background: #eef2f6;
  padding: 48px 0 64px;
  margin-top: 40px;
}
.mail-us {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #d8dee6;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(11, 78, 166, 0.1);
  padding: 32px 40px 36px;
}
.mail-us-title {
  text-align: center;
  color: #0b4ea6;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.mail-us-form .form-group { margin-bottom: 16px; }
.mail-us-form input,
.mail-us-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #c5ccd4;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mail-us-form input:focus,
.mail-us-form textarea:focus {
  outline: none;
  border-color: #0b4ea6;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}
.mail-us-form textarea { resize: vertical; min-height: 140px; }
.mail-us-btn {
  display: block;
  margin: 10px auto 0;
  min-width: 100px;
  padding: 10px 28px;
  background: #0b4ea6;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mail-us-btn:hover {
  background: #005f8a;
  transform: translateY(-1px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--gray-800);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(26, 138, 158, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  margin-top: 14px;
  padding: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
}
.info-card h3 {
  font-family: var(--font-serif);
  color: var(--teal-dark);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.info-card p, .info-card li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.info-card ul li { margin-bottom: 6px; }
.info-card a { color: var(--teal); font-weight: 500; }
.info-card a:hover { color: var(--saffron); }
.map-card { text-align: center; border-left-color: var(--saffron); }
.info-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 12px 12px;
  box-sizing: border-box;
}

/* ===== Footer ===== */
.footer { position: relative; z-index: 1; }
.footer-top {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr;
  gap: 36px;
}
.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 16px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 12px 12px;
  box-sizing: border-box;
}
.footer-address { font-size: 0.9rem; line-height: 1.8; opacity: 0.8; }
.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-links a:hover { opacity: 1; color: var(--saffron); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-contact svg { flex-shrink: 0; opacity: 0.6; margin-top: 2px; }
.footer-contact a {
  transition: color 0.3s ease, opacity 0.3s ease;
}
.footer-contact a:hover { color: var(--saffron); opacity: 1; }
.footer-col h4 + .footer-address { margin-top: 0; }
.footer-tagline { font-size: 0.9rem; opacity: 0.75; line-height: 1.7; margin-bottom: 16px; }
.footer-flags { display: flex; height: 4px; border-radius: 2px; overflow: hidden; max-width: 120px; }
.flag-stripe { flex: 1; }
.flag-stripe.saffron { background: var(--saffron); }
.flag-stripe.white { background: var(--white); }
.flag-stripe.green { background: var(--green); }
.footer-map {
  width: 100%;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.footer-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  border: 0;
  border-radius: 10px;
}
.footer-col-map {
  min-width: 0;
}

.footer-bottom {
  background: #061525;
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== Scroll Animations ===== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-stagger > * {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal { transform: translateY(40px); }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-stagger > * { transform: translateY(30px); }

.reveal.visible, .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.55s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.6s; }

.reveal-up.visible { transition-delay: var(--delay, 0s); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .slide {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }
  .slide-image {
    flex: 0 0 50%;
    width: 100%;
    height: auto;
    min-height: 220px;
  }
  .slide-panel {
    flex: 1 1 auto;
    width: 100%;
    padding: 32px 24px;
  }
  .slider { height: min(640px, 90vh); }
  .slider-arrow {
    top: 25%;
    transform: translateY(-50%);
  }
  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }
  .slider-prev { left: 12px; right: auto; }
  .slider-next { right: 12px; left: auto; }
  .slider-dots {
    left: 50%;
    bottom: auto;
    top: calc(50% - 28px);
    transform: translateX(-50%);
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .about-actions .btn {
    flex: 1 1 0;
    padding: 11px 10px;
    font-size: 0.78rem;
  }
  .col-md-12 { grid-column: span 12; }
  .col-md-6 { grid-column: span 6; }
  .about-page-content { padding-left: 18px; }
  .about-page-hero {
    min-height: 220px;
  }
  .about-page-hero-bg {
    background-position: 38% center;
  }
  .about-page-hero-inner {
    padding: 44px 0 36px;
  }
  .results-grid { grid-template-columns: 1fr; }
  .results-grid-years { grid-template-columns: repeat(2, 1fr); }
  .results-tools {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .result-detail-grid { grid-template-columns: 1fr; }
  .race-event-grid { grid-template-columns: 1fr; }
  .race-full-facts { grid-template-columns: 1fr 1fr; }
  .special-grid { grid-template-columns: 1fr; gap: 28px; }
  .special-content,
  .special-video { grid-column: span 1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .result-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .race-event-grid { grid-template-columns: repeat(2, 1fr); }
  .race-full-facts { grid-template-columns: repeat(2, 1fr); }
  .race-photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .special-cards { grid-template-columns: repeat(2, 1fr); }
  .breeders-gallery { grid-template-columns: repeat(2, 1fr); }
  .breeders-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bird-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bird-media-grid .bird-media-frame { min-height: 160px; }
  .bird-parents-grid,
  .bird-extra-grid { grid-template-columns: 1fr 1fr; }
  .bird-facts { grid-template-columns: 1fr 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-detail-layout { grid-template-columns: 1fr; }
  .gallery-detail-side { position: static; }
  .tip-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .tip-detail-side {
    position: static;
    max-width: 100%;
    top: auto;
  }
  .tip-detail-side-inner {
    max-height: none;
    overflow: visible;
  }
  .tip-detail-main { padding: 20px; }
  .tip-detail-section .container { width: min(1140px, 94vw); }
  .tips-page-top {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 20px;
  }
  .breeders-page-top {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 18px;
  }
  .result-detail-top {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
  }
  .result-detail-top .result-back {
    justify-self: start;
  }
  .result-detail-top .result-detail-search {
    justify-self: stretch;
    max-width: none;
  }
  .breeders-filters {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .results-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .results-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .gallery-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .gallery-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .sales-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .sales-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .sale-row {
    grid-template-columns: 1fr 160px;
    gap: 16px;
    align-items: center;
  }
  .sale-row-media {
    width: 160px;
    height: 130px;
  }
  .sale-detail-hero {
    grid-template-columns: 1fr;
  }
  .sale-detail-hero-media,
  .sale-detail-hero-media img {
    min-height: 280px;
  }
  .sale-detail-grid {
    grid-template-columns: 1fr;
  }
  .sale-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sale-detail-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .sale-detail-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding: 11px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: 0;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-top-row { gap: 28px; }
  .contact-flag-col,
  .contact-address-col,
  .contact-map-col { grid-column: span 12; }
  .contact-flag-col { justify-content: center; }
  .contact-flag { text-align: center; width: 100%; }
  .contact-flag img { margin-inline: auto; }
  .contact-map iframe { height: 340px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col-map {
    grid-column: 1 / -1;
  }
  .footer-map iframe { height: 200px; }
  .special-visit { flex-direction: column; text-align: center; }
}

@media (max-width: 1100px) {
  :root {
    --logo-size: 104px;
    --logo-hang: 38px;
    --nav-height: 58px;
  }
  .nav-brand-text { display: none; }
  .nav-link {
    padding: 8px 7px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 768px) {
  .row > [class*="col-"] { grid-column: span 12; }
  .header .nav.container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 12px;
    padding: 0;
    height: var(--nav-height);
    min-height: var(--nav-height);
    max-height: var(--nav-height);
    overflow: visible;
  }
  :root {
    --logo-size: 92px;
    --logo-hang: 34px;
    --nav-height: 54px;
  }
  .nav-logo-wrap {
    padding: 6px 8px 8px;
    border-radius: 14px;
  }
  .nav-brand-text { display: inline; font-size: 1.1rem; }
  .nav-drawer {
    grid-column: auto;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 20px 24px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    z-index: 1000;
    --drawer-pad-x: 16px;
  }
  .nav-drawer.open { right: 0; }
  .nav-drawer-brand {
    display: flex;
    justify-content: center;
    padding: 0 var(--drawer-pad-x) 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
  }
  .nav-drawer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-align: center;
  }
  .nav-drawer-logo-wrap {
    width: 140px;
    height: auto;
    border-radius: 18px;
    background: var(--white);
    border: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    display: block;
    padding: 10px 12px 12px;
    box-sizing: border-box;
  }
  .nav-drawer-logo-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .nav-drawer-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .nav-actions { gap: 10px; }
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .nav-admin-btn {
    height: 36px;
    padding: 0 12px;
    margin: 0;
  }
  .nav-menu {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    flex: 1;
    overflow-y: auto;
    width: 100%;
    padding: 0;
  }
  .nav-menu li {
    width: 100%;
    flex: 0 0 auto;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 13px var(--drawer-pad-x);
    font-size: 0.8rem;
    white-space: normal;
    border-left: 3px solid transparent;
  }
  .nav-link::after { display: none; }
  .nav-link.active {
    color: var(--white);
    border-left-color: var(--saffron);
    background: rgba(255, 255, 255, 0.04);
  }
  .nav-menu-contact {
    display: block;
    margin-top: auto;
    padding-top: 4px;
    flex-shrink: 0;
    width: 100%;
  }
  .nav-menu-divider {
    height: 2px;
    width: 72px;
    background: linear-gradient(90deg, var(--saffron), rgba(255, 153, 51, 0.3));
    margin: 4px var(--drawer-pad-x) 16px;
    border-radius: 2px;
  }
  .nav-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px var(--drawer-pad-x);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
  }
  .nav-contact-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--saffron);
  }
  .nav-contact-address { cursor: default; }
  .nav-contact-address:hover { background: transparent; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .page-section { padding: 56px 0; }
  .slider-section {
    padding-top: calc(var(--header-total) - 4px);
    width: 100%;
    max-width: 100vw;
  }
  .slider {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: min(620px, 92vh);
  }
  .slide-image {
    flex: 0 0 42%;
    min-height: 200px;
  }
  .slide-image img {
    transform: none;
  }
  .slide.active .slide-image img {
    transform: none;
  }
  .slide-panel {
    padding: 24px 20px;
  }
  .slide-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }
  .slide-text {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }
  .slide-btn {
    padding: 11px 22px;
    font-size: 0.85rem;
  }
  .slider-dots {
    top: calc(42% - 24px);
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    top: 21%;
    transform: translateY(-50%);
  }
  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }
  .slider-prev { left: 12px; right: auto; }
  .slider-next { right: 12px; left: auto; }
  .gallery-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-page-grid { grid-template-columns: 1fr; gap: 20px; }
  .gd-about { padding: 22px 18px; }
  .gd-slider { aspect-ratio: 4 / 3; }
  .race-event-grid { grid-template-columns: 1fr; }
  .race-full-facts { grid-template-columns: 1fr; }
  .race-report-box {
    padding: 16px 16px 14px;
  }
  .race-para {
    max-width: none;
  }
  .race-photo-gallery { grid-template-columns: 1fr; }
  .tip-detail-image {
    height: auto;
    max-height: min(420px, 60vh);
  }
  .tip-detail-main { padding: 16px; }
  .tip-detail-section .container { width: min(100%, 96vw); }
  .blog-grid { grid-template-columns: 1fr; }
  .breeders-card-grid { grid-template-columns: 1fr; }
  .breeders-filters {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
    column-gap: 12px;
    row-gap: 12px;
  }
  .breeders-filter-label { grid-column: 1; }
  .breeders-select:first-of-type { grid-column: 2; }
  .breeders-select-blood { grid-column: 3; }
  .breeders-input { grid-column: 1 / 3; }
  .breeders-search-btn { grid-column: 3; }
  .results-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .results-filters .breeders-filter-label { grid-column: 1; }
  .results-filters .breeders-select { grid-column: 2; }
  .results-filters .breeders-input {
    grid-column: 1 / 3;
  }
  .results-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .gallery-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .gallery-filters .breeders-filter-label { grid-column: 1; }
  .gallery-filters .breeders-input { grid-column: 2; }
  .gallery-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .sales-filters {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .sales-filters .breeders-filter-label { grid-column: 1; }
  .sales-filters .breeders-select { grid-column: 2; }
  .sales-filters .breeders-input {
    grid-column: 1 / 3;
  }
  .sales-filters .breeders-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .sale-gallery { grid-template-columns: 1fr; }
  .sale-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sale-row-media {
    width: 100%;
    height: 200px;
  }
  .bird-media-grid { grid-template-columns: 1fr; }
  .bird-media-grid .bird-media-frame { min-height: 200px; aspect-ratio: 16 / 10; }
  .bird-parents-grid,
  .bird-extra-grid { grid-template-columns: 1fr; }
  .bird-facts { grid-template-columns: 1fr; }
  .bird-pedigree-bar { flex-direction: column; align-items: flex-start; }
  .bird-pedigree-parents { grid-template-columns: 1fr; }
  .special-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-map iframe { height: 260px; }
  .results-grid-years { grid-template-columns: 1fr; }
  .mail-us-wrap { padding: 36px 0 48px; margin-top: 28px; }
  .mail-us { padding: 24px 18px 28px; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .nav-admin-btn span { display: none; }
  .nav-admin-btn { width: 36px; padding: 0; }
  .nav-admin-btn svg { display: block; width: 18px; height: 18px; }
  .about-actions .btn {
    padding: 10px 8px;
    font-size: 0.72rem;
  }
  .slider { height: min(580px, 94vh); }
  .slide-image { flex: 0 0 38%; min-height: 180px; }
  .slide-panel { padding: 20px 16px; }
  .slide-title { font-size: 1.3rem; }
  .slider-dots { top: calc(38% - 20px); }
  .slider-arrow { width: 32px; height: 32px; font-size: 0.9rem; top: 19%; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .sale-detail-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .sale-detail-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.74rem;
    white-space: nowrap;
    min-width: 0;
  }
}
