/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0.0
Author: Your Name
*/

.single-cat-container {
  padding-top: 120px; /* Adjust if header is sticky */
}

.cat-hero-simple {
  height: 200px;
  background: linear-gradient(to right, #fef6e4, #fbeec2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-name {
  font-size: 2.8rem;
  color: #4b372e;
  font-weight: 700;
  text-align: center;
}

.cat-main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* ==== Preview Section with Fixed Size ==== */
.cat-image-preview {
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: #f7f7f7;
  border-radius: 12px;
}

.cat-image-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* no cropping */
}


/* ==== Thumbnails (Smaller & Uniform) ==== */
.cat-thumbnails {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cat-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.cat-thumbnails img:hover {
  border-color: #f5a623;
}


/* Info Section */
.cat-profile {
  display: flex;
  gap: 2rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Story */
.cat-story {
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
}

/* Video */
.cat-video iframe {
  width: 100%;
  max-width: 720px;
  height: 400px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.cat-cta-buttons {
  text-align: center;
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cat-cta-buttons a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  min-width: 220px; /* ⬅️ Set fixed width */
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-adopt {
  background-color: #ff914d;
  color: #fff;
}

.btn-adopt:hover {
  background-color: #e2752f;
  transform: translateY(-2px);
}

.btn-support {
  background-color: #ffd1dc;
  color: #5a2a41;
}

.btn-support:hover {
  background-color: #f8a8be;
  transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 768px) {
  .cat-name {
    font-size: 2rem;
  }
  .cat-profile {
    flex-direction: column;
    align-items: flex-start;
  }
  .cat-thumbnails img {
    width: 70px;
    height: 70px;
  }
  .cat-video iframe {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .cat-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cat-cta-buttons a {
    width: 80%;
    max-width: 300px;
  }
}

