/* Our Dogs — original layout, modern polish */

.page-our-dogs {
  --dogs-dark: #2e2c28;
  --dogs-bar: #5c5852;
  --dogs-panel: #3c3b36;
}

.page-our-dogs .page-banner {
  display: none;
}

.dogs-dark {
  background: var(--dogs-dark);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.dogs-section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.75rem;
}

.dogs-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0.75rem auto 0;
}

.dogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.65rem, 1.5vw, 1rem);
  max-width: min(100% - 2rem, 1000px);
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
}

.dogs-grid--three {
  grid-template-columns: repeat(2, 1fr);
}

.dogs-grid--three .dog-tile:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.5rem);
  margin: 0 auto;
  width: 100%;
}

.dog-tile {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.dog-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.dog-tile__img {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #1a1917;
}

.dog-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.dog-tile:hover .dog-tile__img img {
  transform: scale(1.04);
}

.dog-tile__name {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  background: var(--dogs-bar);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Profile blocks — original overlap on cream */
.dogs-profiles {
  background: var(--cream, #e8e3d3);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-our-dogs .dog-profile {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.page-our-dogs .dog-profile__image {
  border-radius: 4px 0 0 4px;
}

.page-our-dogs .dog-profile__image img {
  min-height: clamp(320px, 42vw, 480px);
  object-position: center 35%;
}

.page-our-dogs #ataly .dog-profile__image img {
  object-position: center 25%;
}

/* Tonka — keep the dog visible; panel sits on the right edge */
.page-our-dogs #tonka {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: center;
}

.page-our-dogs #tonka .dog-profile__image img {
  object-position: 12% 45%;
  min-height: clamp(340px, 40vw, 500px);
}

.page-our-dogs #tonka .dog-profile__info {
  margin-left: -2.75rem;
  margin-right: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  justify-self: end;
  width: 100%;
  max-width: 400px;
}

.page-our-dogs .dog-profile__info {
  background: var(--dogs-panel);
  border-radius: 4px;
  margin-left: -4rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 50px rgba(30, 28, 24, 0.25);
}

.page-our-dogs .dog-profile__info h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: 0.12em;
}

.page-our-dogs .dog-profile__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-weight: 400;
}

.page-our-dogs .dog-profile__info a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-our-dogs .dog-profile__info a:hover {
  color: #fff;
}

.page-our-dogs .dog-profile--alt .dog-profile__image {
  border-radius: 0 4px 4px 0;
}

.page-our-dogs .dog-profile--alt .dog-profile__info {
  margin-left: 0;
  margin-right: -4rem;
}

@media (max-width: 900px) {
  .dogs-grid,
  .dogs-grid--three {
    grid-template-columns: 1fr;
  }

  .dogs-grid--three .dog-tile:last-child {
    max-width: none;
  }

  .page-our-dogs .dog-profile__info,
  .page-our-dogs .dog-profile--alt .dog-profile__info {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .page-our-dogs #tonka {
    grid-template-columns: 1fr;
  }

  .page-our-dogs #tonka .dog-profile__info {
    margin: -2rem 1rem 0;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .dog-tile__img {
    aspect-ratio: 1;
  }
}

/* Males CTA on females page */
.dogs-males-cta {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.dogs-males-cta__btn {
  min-width: min(100%, 280px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Males page */
.dogs-males {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  min-height: 60vh;
}

.dogs-males__note {
  margin: 1.75rem auto 0;
  max-width: 36ch;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.dogs-males__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  max-width: min(100% - 2rem, 1000px);
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
}

.dog-placeholder {
  display: block;
}

.dog-placeholder__box {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #1a1917;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.dog-placeholder__soon {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dog-placeholder__name {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  background: var(--dogs-bar);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .dog-placeholder__box {
    aspect-ratio: 1;
  }
}
