/* Cats Grid Layout */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin: 20px 0;
}

/* Cat Card Base Styles */
.cat-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Clickable Card Hover Effects */
.cat-card-clickable {
  text-decoration: none;
  color: inherit;
}

.cat-card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Cat Card Image Container */
.cat-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 aspect ratio (square) */
  overflow: hidden;
  background: #f5f5f5;
}

.cat-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cat Card Info Section */
.cat-card-info {
  padding: 16px;
}

.cat-name {
  font-size: 18px;
  font-weight: 600;
}

.cat-details {
  font-size: 14px;
  line-height: 1;
  opacity: 0.75;
}

/* Image-only cards (adopted cats) */
.cat-card-image-only {
  cursor: default;
}

.cat-card-image-only:hover {
  transform: none;
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cats-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .cat-card-info {
    padding: 12px;
  }

  .cat-name {
    font-size: 16px;
  }

  .cat-details {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Adoption Alert Styles */
.adoption-alert {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.8);
}

.adoption-alert-image {
  flex: 0 0 20%;
  max-width: 400px;
}

.adoption-alert-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.adoption-alert-content {
  flex: 1;
}

.adoption-alert-content h2 {
  margin-top: 0;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(255, 255, 255);
}

.adoption-alert-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.adoption-alert-content p a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* Responsive adjustments for adoption alert */
@media (max-width: 768px) {
  .adoption-alert {
    flex-direction: column;
    gap: 20px;
  }

  .adoption-alert-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .adoption-alert-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .adoption-alert-content p {
    font-size: 16px;
  }
}
