/* Detail Page Styles */

/* ========== BREED TITLE HEADER (No hero image) ========== */
.breed-title-header {
  background: linear-gradient(135deg, #fff8f5 0%, #fffaf7 100%);
  padding: 2rem 0 1.5rem;
  text-align: center;
  border-bottom: 1px solid #f0e8e5;
}

.breed-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.breed-title-header .hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breed-title-header .hero-badge {
  background: #e8836b;
  color: white;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.breed-title-header .hero-badge#badge-type-container {
  background: linear-gradient(135deg, #5ba4c9 0%, #c9a962 100%);
}

.breed-title-header .hero-badge#badge-generation-container {
  background: #b23a28;
}

@media (max-width: 768px) {
  .breed-page-title {
    font-size: 1.75rem;
  }

  .breed-title-header {
    padding: 1.5rem 0 1rem;
  }
}

/* ========== LEGACY HERO SECTION (kept for reference) ========== */
.breed-hero {
  position: relative;
  height: 50vh;
  min-height: 280px;
  max-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none; /* Hidden - no longer used */
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  padding: 1rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Temperament tagline below hero badges */
.breed-temperament {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #a07060;
  text-align: center;
  max-width: 580px;
  margin: 0.5rem auto 1.25rem;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn.large {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn.large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.breed-header {
  background: #fff8f5;
  padding: 3rem 0 2rem;
  text-align: center;
}

.breed-header h1 {
  font-size: 3rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.breed-header .subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  padding: 2rem 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.main-image {
  grid-column: 1 / 2;
  grid-row: 1 / -1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-height: 420px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-images {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(140px, 1fr);
  gap: 1rem;
  grid-column: 2 / 3;
  grid-row: 1 / -1;
}

.small-image {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: white;
  display: block;
}

.small-image:hover {
  transform: scale(1.02);
}

.small-image:focus {
  outline: 2px solid #e8836b;
  outline-offset: 2px;
}

.small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-images:empty {
  display: none;
}

/* Content Layout */
.breed-content-section {
  padding: 3rem 0 5rem;
  background: white;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

/* Left Column: Info */
.breed-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.temperament-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tag {
  background: #ffeee8;
  color: var(--color-primary-text);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quick-fact {
  background: #fff4f0;
  border: 1px solid #f1d5d0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quick-fact-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-fact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.long-description p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Right Column: Stats Card */
.stats-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
}

.stats-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  color: #222;
  font-weight: 700;
}

.stat-row {
  margin-bottom: 2rem;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.stat-header .stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.stat-header .stat-value-group {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stat-header .stat-numeric {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-text);
  font-variant-numeric: tabular-nums;
}

.stat-header .stat-descriptor {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}

.progress-bar {
  height: 10px;
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8836b 0%, #f4a896 100%);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Breed Summary */
/* Breed Summary - Considerations */
.breed-summary {
  background: linear-gradient(135deg, #fef8f5 0%, #fef2ed 100%);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #e8836b;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(232, 131, 107, 0.08);
}

.breed-summary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.summary-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b85c47;
}

.breed-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.consideration-badge {
  display: inline-block;
  background: white;
  color: #8b4513;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #f5d5c8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.consideration-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Stat Groups */
.stat-group {
  margin-bottom: 2.5rem;
}

.stat-group:last-child {
  margin-bottom: 0;
}

.stat-group-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

/* Stat Endpoints */
.stat-endpoints {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #999;
}

.endpoint-low {
  text-align: left;
}

.endpoint-high {
  text-align: right;
}

/* Extreme Values */
.stat-extreme-high {
  color: var(--color-primary-text);
  font-weight: 900;
  font-size: 1.35rem;
}

.stat-extreme-low {
  opacity: 0.6;
  font-weight: 600;
}

/* Ad Placeholder */
.ad-placeholder {
  margin-top: 2rem;
  padding: 1rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-align: center;
}

.ad-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ad-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 600;
}

/* MREC 300x250 Dummy Ad */
.dummy-ad {
  width: 300px;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dummy-ad-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.dummy-ad-text {
  color: white;
  text-align: center;
}

.dummy-ad-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dummy-ad-headline {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
}

.dummy-ad-body {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  opacity: 0.95;
}

.dummy-ad-cta {
  background: white;
  color: #667eea;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dummy-ad-cta:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .main-image {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .small-images {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-auto-rows: 160px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn.large {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .breed-hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

.detail-empty {
  padding: 4rem 0;
  background: #fffaf8;
  text-align: center;
}

.detail-empty h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.detail-empty p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* ========== PARENT BREEDS SECTION ========== */
.parent-breeds-section {
  background: linear-gradient(135deg, #f9f5f4 0%, #fff 100%);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.parent-breeds-section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.parent-breeds-intro {
  color: #666;
  margin-bottom: 1.5rem;
}

.parent-breeds-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.parent-breed-card {
  flex: 1;
  max-width: 200px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.parent-breed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.parent-breed-image {
  height: 120px;
  overflow: hidden;
}

.parent-breed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parent-breed-info {
  padding: 0.75rem 1rem;
  text-align: center;
}

.parent-label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.parent-breed-info h4 {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: #333;
}

.parent-cross {
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-primary-text);
}

/* Generation Explainer */
.generation-explainer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border: 2px solid #e8dcc8;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.generation-badge-large {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e8836b 0%, #f4a896 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.generation-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #333;
}

.generation-info p {
  margin: 0 0 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.learn-more-link {
  color: var(--color-primary-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.learn-more-link:hover {
  text-decoration: underline;
}

/* ========== TRAIT INHERITANCE SECTION (Collapsible) ========== */
/* Did You Know Section */
.did-you-know-section {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
  border: 1px solid #ffe8a1;
  border-left: 4px solid #fbbf24;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.1);
}

.did-you-know-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dyk-icon {
  font-size: 1.5rem;
}

.did-you-know-header h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #92400e;
  font-weight: 700;
}

.did-you-know-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #78350f;
  margin: 0;
}

/* ========== CARE REQUIREMENTS HIGHLIGHT BOX ========== */
.care-requirements-box {
  background: white;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
  border: 1px solid #f0e8e5;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.care-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
  text-align: left;
  font-weight: 700;
  position: relative;
  padding: 0.75rem 1.5rem;
  background: #e8836b;
  border-radius: 8px;
  display: inline-block;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.care-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #f0ebe8;
  overflow: hidden;
  position: relative;
}

.care-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.care-accent {
  height: 4px;
  background: linear-gradient(90deg, #e8836b 0%, #f4a896 100%);
  width: 100%;
}

.care-card:nth-child(2) .care-accent {
  background: linear-gradient(90deg, #d4a574 0%, #e8c9a8 100%);
}

.care-card:nth-child(3) .care-accent {
  background: linear-gradient(90deg, #7ba3a8 0%, #a8c5c9 100%);
}

.care-card h4 {
  font-size: 0.85rem;
  color: #888;
  margin: 1.25rem 1.5rem 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.care-icon {
  width: 24px;
  height: 24px;
  color: inherit;
  flex-shrink: 0;
  opacity: 0.7;
}

#care-exercise .care-icon {
  color: #667eea;
}

#care-grooming .care-icon {
  color: #56ab2f;
}

#care-training .care-icon {
  color: #f2994a;
}

.care-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin: 0 1.5rem 1.5rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .care-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .care-requirements-box {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* ========== ABOUT BREED SECTION ========== */
.about-breed-section {
  margin-bottom: 2.5rem;
}

.about-breed-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.25rem;
  position: relative;
}

.breed-personality {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.breed-personality .tag {
  background: transparent;
  border: 1.5px solid #e8836b;
  color: #d96b52;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.breed-personality .tag:hover {
  background: #e8836b;
  color: white;
}

/* ========== VITAL STATS ========== */
.breed-vitals {
  margin-bottom: 2.5rem;
}

.breed-vitals h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
}

.vitals-grid .quick-fact {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.vitals-grid .quick-fact:nth-child(3n) {
  border-right: none;
}

.vitals-grid .quick-fact:nth-last-child(-n + 3) {
  border-bottom: none;
}

.vitals-grid .quick-fact-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.vitals-grid .quick-fact-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
}

@media (max-width: 768px) {
  .vitals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vitals-grid .quick-fact:nth-child(3n) {
    border-right: 1px solid #eee;
  }

  .vitals-grid .quick-fact:nth-child(2n) {
    border-right: none;
  }
}

/* ========== BREED STORY ========== */
.breed-story {
  margin-bottom: 2rem;
}

.breed-story h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.story-content {
  overflow: auto; /* Clearfix for floated images */
}

.story-content p {
  color: #444;
  line-height: 2.1;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.story-content p:first-of-type {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 2;
  color: #333;
}

.story-content p:first-child::first-letter {
  font-size: 3.5rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  color: var(--color-primary-text);
}

/* Floated inline images */
.story-image-float-right {
  float: right;
  width: 320px;
  margin: 0 0 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.story-image-float-right img {
  width: 100%;
  height: auto;
  display: block;
}

.story-image-float-left {
  float: left;
  width: 280px;
  margin: 0 2rem 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.story-image-float-left img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .story-image-float-right,
  .story-image-float-left {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
}

/* ========== SIMILAR BREEDS SECTION ========== */
.similar-breeds-section {
  background: #fafafa;
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.similar-breeds-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #222;
}

.similar-breeds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.similar-breed-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.similar-breed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.similar-breed-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.similar-breed-info {
  padding: 1.25rem;
}

.similar-breed-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 0.5rem 0;
}

.similar-breed-traits {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .similar-breeds-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ========== BREED TYPE BADGE ========== */
.hero-badge#badge-type-container {
  background: linear-gradient(
    135deg,
    rgba(91, 164, 201, 0.3) 0%,
    rgba(201, 169, 98, 0.3) 100%
  );
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-badge#badge-generation-container {
  background: rgba(178, 58, 40, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .parent-breeds-grid {
    flex-direction: column;
  }

  .parent-breed-card {
    max-width: 100%;
    width: 100%;
  }

  .parent-cross {
    transform: rotate(90deg);
  }

  .generation-explainer {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== VITAL STATS BAR (New) ========== */
.vital-stats-bar {
  background: linear-gradient(135deg, #e8836b 0%, #d96b52 100%);
  padding: 1.25rem 0;
}

.stats-bar-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  min-width: 120px;
}

.stat-bar-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.25rem;
}

.stat-bar-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.stat-bar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
  .vital-stats-bar {
    padding: 1rem 0;
  }

  .stats-bar-grid {
    gap: 0.5rem;
    justify-content: center;
  }

  .stat-bar-item {
    padding: 0.5rem 1rem;
    min-width: 100px;
  }

  .stat-bar-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-bar-item {
    min-width: 80px;
    padding: 0.4rem 0.75rem;
  }

  .stat-bar-value {
    font-size: 0.95rem;
  }
}

/* ========== GALLERY MOSAIC (New) ========== */
.breed-gallery-mosaic {
  padding: 2rem 0;
  background: #fff8f5;
}

.gallery-mosaic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 200px;
}

.gallery-main {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-side {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.gallery-side-img {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

.gallery-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.3s ease;
}

.gallery-side-img:hover img {
  transform: scale(1.03);
}

/* Image loading states with blur-up effect */
.gallery-main img,
.gallery-side-img img {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  transition:
    opacity 0.4s ease-in-out,
    transform 0.3s ease;
}

.gallery-main img:not([data-loaded]),
.gallery-side-img img:not([data-loaded]) {
  opacity: 0.6;
}

/* Smooth fade-in when image loads */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gallery-main img[data-loaded="true"],
.gallery-side-img img[data-loaded="true"] {
  animation: fadeIn 0.4s ease-in-out;
}

/* Placeholder state for missing images */
.gallery-side-img.placeholder,
.gallery-main.placeholder {
  background: linear-gradient(135deg, #f5ebe8 0%, #ede3df 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gallery-side-img.placeholder::before,
.gallery-main.placeholder::before {
  content: "🐾";
  font-size: 2rem;
  opacity: 0.4;
}

.gallery-main.placeholder::before {
  font-size: 3.5rem;
}

.gallery-side-img.placeholder::after,
.gallery-main.placeholder::after {
  content: "Photo coming soon";
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b88c82;
}

@media (max-width: 768px) {
  .breed-gallery-mosaic {
    padding: 1.5rem 0;
  }

  .gallery-main {
    height: 280px;
  }

  .gallery-side {
    gap: 0.75rem;
  }

  .gallery-side-img {
    height: 150px;
  }
}

/* ========== RESPONSIVE HERO ADJUSTMENTS ========== */
@media (max-width: 768px) {
  .breed-hero {
    min-height: 240px;
    max-height: 320px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .breed-temperament {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-ctas {
    gap: 0.5rem;
  }

  .btn.large {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

.breed-quote-section {
  padding: 3rem 0;
  background: var(--color-bg-soft, #faf9f7);
  text-align: center;
}
.breed-quote-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
}
.breed-quote-section blockquote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin: 1rem 0 0.75rem;
}
.breed-quote-author {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.03em;
}
