/*
 Theme Name:   Hairy Heifer Child
 Theme URI:    https://hairyheifer.com
 Description:  Custom Luxury Child Theme for Hairy Heifer Cattle Company
 Author:       Hairy Heifer Team
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Core Design System & Variables */
:root {
  --ink: #0d1417;
  --ink-card: #121a1e;
  --ink-surface: #172126;
  --ink-deep: #080d0f;
  --limestone: #f3f0e8;
  --brass: #c39244;
  --brass-bright: #dcb267;
  --border: rgba(243, 240, 232, 0.12);
  --border-strong: rgba(243, 240, 232, 0.22);
  --border-subtle: rgba(243, 240, 232, 0.08);
  --muted: rgba(243, 240, 232, 0.62);
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

body {
  background-color: var(--ink);
  color: var(--limestone);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Uniform Exact Card Sizing (620px Lock) */
.donor-card {
  background: var(--ink-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 620px;
  max-height: 620px;
}

.donor-card:hover {
  border-color: var(--brass);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.donor-media-box {
  position: relative;
  background: #090e11;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.donor-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.donor-card:hover .donor-media-box img { transform: scale(1.03); }

.donor-media-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(11, 17, 20, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-bright);
  border: 1px solid rgba(243, 240, 232, 0.15);
  z-index: 5;
}

.donor-content-box {
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--ink-card);
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.donor-header-wrap {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.donor-reg-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #927546;
  margin-bottom: 4px;
  display: block;
  font-weight: 600;
}

.donor-name-heading {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.specs-table tr { border-bottom: 1px solid var(--border-subtle); }
.specs-table td { padding: 7px 0; }
.specs-table .lbl {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  width: 44%;
}
.specs-table .val {
  color: #ffffff;
  text-align: right;
  font-weight: 600;
}
.specs-table .val.gold { color: var(--brass-bright); }

.donor-bio-note {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(243, 240, 232, 0.75);
  border-left: 2px solid var(--brass);
  padding-left: 14px;
  margin: 2px 0;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donor-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-gold-action {
  background: var(--brass);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--brass);
  transition: all 0.2s ease;
}

.btn-gold-action:hover {
  background: var(--brass-bright);
  border-color: var(--brass-bright);
}

.btn-outline-action {
  background: transparent;
  color: rgba(243, 240, 232, 0.8);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 11px 20px;
  text-align: center;
  border: 1px solid rgba(243, 240, 232, 0.18);
  transition: all 0.2s ease;
}

.btn-outline-action:hover {
  border-color: var(--brass);
  color: var(--limestone);
  background: rgba(195, 146, 68, 0.06);
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .donor-card { 
    grid-template-columns: 1fr; 
    height: auto;
    max-height: none;
  }
  .donor-media-box { 
    height: 420px; 
    min-height: 420px; 
  }
  .donor-content-box {
    height: auto;
    padding: 32px 26px;
  }
}