/* Cow Collection / The First Herd. Visual only. No supply counts. */
body.collection-page{
  margin:0;
  background:#f3ead7;
  color:#241d19;
  font-family:Georgia,"Times New Roman",serif;
}
body.collection-page header{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:66px;
  padding:10px 22px;
  background:#123c2c;
  color:#e1eee3;
}
body.collection-page a.udder-home{
  color:#fff7e7;
  text-decoration:none;
  font-family:system-ui,sans-serif;
}
body.collection-page a.udder-home span{color:#c1ef8f}
body.collection-page main{
  max-width:1180px;
  margin:0 auto;
  padding:32px 20px 72px;
}
.herd-sign{
  background:#8b5a2b;
  color:#fff8e7;
  border-radius:18px;
  padding:28px 28px 24px;
  box-shadow:0 6px 0 #5e3b1c;
  margin-bottom:28px;
}
.herd-sign .kicker{
  margin:0 0 6px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  font-family:system-ui,sans-serif;
  font-weight:800;
  opacity:.9;
}
.herd-sign h1{
  font-size:clamp(2rem,5vw,3.1rem);
  margin:0 0 12px;
  letter-spacing:-.03em;
}
.herd-sign p{
  margin:0 0 10px;
  max-width:42rem;
  line-height:1.65;
  font-size:1.0625rem;
}
.herd-sign a{color:#c1ef8f;font-weight:700}
.herd-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px !important;
}
.herd-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:11px;
  font-family:system-ui,sans-serif;
  font-weight:800;
  padding:12px 16px;
  min-height:44px;
}
.btn-adopt,.btn-barn{background:#b9ef72;color:#173a29 !important}
.btn-quiet{background:transparent;color:#fff8e7 !important;box-shadow:inset 0 0 0 2px #fff8e799}
.herd-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:18px;
}
.herd-card{
  background:#fffaf1;
  border:1px solid #e2d3b6;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 0 #e8dcc6;
  display:flex;
  flex-direction:column;
}
.herd-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#e8dcc6;
  display:block;
}
.herd-info{padding:12px 14px 16px}
.herd-card h2{
  margin:0;
  font-size:1.15rem;
  letter-spacing:-.02em;
}
.herd-card .breed{
  margin:4px 0 0;
  font-family:system-ui,sans-serif;
  font-size:.82rem;
  color:#5a4a3a;
  font-weight:700;
}
.herd-card p{margin:8px 0 0;line-height:1.55;font-size:.95rem}
.herd-card a{color:#3b8362;font-weight:700}
.shy-card .shy-stall{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  background:
    repeating-linear-gradient(90deg,#6b4a2a 0 14px,#5a3c22 14px 18px),
    #6b4a2a;
  color:#fff8e7;
  font-family:system-ui,sans-serif;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:.8rem;
}
.collection-foot{
  background:#123c2c;
  color:#d5ead8;
  padding:22px 20px 32px;
  text-align:center;
}
.collection-foot a{color:#c1ef8f;font-weight:700}
.collection-foot .fine{opacity:.85;margin-top:8px}
@media (max-width:700px){
  body.collection-page header{
    flex-wrap:wrap;
    height:auto;
  }
  .herd-sign{padding:22px 18px}
}
