/* Hunt Pack Lists species cards, plus last-win rack-safe hero rules on gear pages. */

.hp-species{
  scroll-margin-top:3.25rem;
  border-top:2px solid #e3dccf;
  padding-top:1.25rem;
  margin-top:2rem;
}
.hp-species>h2{
  font-family:inherit;
  font-size:1.6rem;
  line-height:1.25;
  margin:0 0 .85rem;
  color:#3b2f22;
}
.hp-cards{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:1rem;
}
@media (min-width:600px){
  .hp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:980px){
  .hp-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.hp-cards a{
  display:block;
  text-decoration:none;
  color:#3b2f22;
  background:#fbf8f2;
  border:1px solid #c9bfae;
  overflow:hidden;
}
.hp-cards a:hover .hp-card-label,
.hp-cards a:focus .hp-card-label{text-decoration:underline}
.hp-cards img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center top;
  background:#1E2A22;
}
.hp-card-label{
  display:block;
  padding:.7rem .85rem .8rem;
  font-size:1.05rem;
  line-height:1.35;
  font-family:inherit;
}
.hp-other{
  margin:2.5rem 0 1.25rem;
  font-size:1.125rem;
  line-height:1.55;
  color:#3b2f22;
}
.hp-other a{color:inherit;text-decoration:underline}

/* Last-win: never crop racks/horns on kit heroes (these pages load CSS after heroes-20261114). */
html body .gp-hero > .gp-hero-photo img,
html body .gp-hero img.gp-hero-image,
html body .gp-hero img.home-elk-right-image,
html body.pack-ak-bb-hero .gp-hero-photo img,
html body img.fp-ak-bb05-lake-clark,
html body .gp-hero-image.fp-ak-bb05-lake-clark,
html body .gp-hero-image.fp-ak-bb02-denali{
  object-fit:cover !important;
  object-position:50% 0% !important;
}
html body .gp-hero img.home-elk-right-image{object-position:62% 0% !important}
html body .gp-hero img.dl-elk-frost-image{object-position:50% 0% !important}
@media (max-width:699px){
  html body .gp-hero img.home-elk-right-image{object-position:84% 0% !important}
}

/* Moose kit: the bull stands in the lower half. Anchor to the bottom so the
   animal and rack stay in frame; crop the water and trees at the top. */
html body .gp-hero img.gp-hero-image[src*="ak-moose-sukakpak"],
html body .gp-hero img.fp-ak-moose-sukakpak{
  object-position:58% 100% !important;
}

/* Dall sheep kit: on a tall phone crop, keep the ram (right of frame) and horns in view. */
@media (max-width:699px){
  html body .gp-hero img.gp-hero-image.fp-ak-dall-ridge,
  html body .gp-hero img.fp-ak-dall-ridge{
    object-position:38% 0% !important;
  }
}


/* Nov 14 PM: last-win, same native-aspect rule as heroes v=8. Do not cover-zoom or side-crop. */
html body .gp-hero,
html body.pack-ak-bb-hero .gp-hero{min-height:0 !important;height:auto !important;overflow:visible !important}
html body .gp-hero > .gp-hero-photo,
html body.pack-ak-bb-hero .gp-hero > .gp-hero-photo{
  min-height:0 !important;height:auto !important;max-height:none !important;aspect-ratio:auto !important;overflow:visible !important
}
html body .gp-hero > .gp-hero-photo img,
html body .gp-hero img.gp-hero-image,
html body .gp-hero img.home-elk-right-image,
html body .gp-hero img.dl-elk-frost-image,
html body.pack-ak-bb-hero .gp-hero-photo img,
html body img.fp-ak-bb05-lake-clark,
html body .gp-hero-image.fp-ak-bb05-lake-clark,
html body .gp-hero-image.fp-ak-bb02-denali,
html body .gp-hero img.gp-hero-image[src*="ak-moose-sukakpak"],
html body .gp-hero img.fp-ak-moose-sukakpak,
html body .gp-hero img.gp-hero-image.fp-ak-dall-ridge,
html body .gp-hero img.fp-ak-dall-ridge{
  position:static !important;
  inset:auto !important;
  width:100% !important;
  max-width:min(100%, 1600px) !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:50% 50% !important;
  margin:0 auto !important;
}
