/* =============================================
   HobbyzHQ – Hobby Page Styles
   Depends on: styles.css (global)
   ============================================= */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #25603a;
}

.breadcrumb-sep {
  color: #c4c4c0;
}

.breadcrumb-current {
  color: #2d2d2d;
  font-weight: 500;
}

/* ---------- Hobby Hero ---------- */
.hobby-hero {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 24px;
}

/* ---------- Hobby Elaboration ---------- */
.hobby-elaboration {
  max-width: 1100px;
  margin: 0 auto 0;
  padding: 0 24px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ---------- Hobby Image Grid ---------- */
.hobby-image-grid {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.hobby-image-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hobby-image-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hobby-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Slight vertical shift for tall crops */
.hobby-image-offset-top {
  object-position: center 10%;
}

.hobby-image-caption {
  font-size: 1rem;
  font-weight: 600;
  color: #25603a;
  margin: 16px 0 18px;
}

@media (max-width: 900px) {
  .hobby-image-grid-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hobby-image-grid-inner {
    grid-template-columns: 1fr;
  }
  .hobby-image-card img {
    height: 140px;
  }
}

.hobby-hero-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}

.hobby-hero-image {
  flex: 0 0 340px;
  overflow: hidden;
}

.hobby-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hobby-hero-content {
  flex: 1;
  min-width: 0;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hobby-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #25603a;
  margin: 0 0 12px;
}

.hobby-hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #1a1a1a;
}

.hobby-hero-content p {
  font-size: 1.05rem;
  color: #555;
  margin: 0 0 28px;
  line-height: 1.65;
}

/* ---------- Hobby Sections ---------- */
.hobby-section {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.hobby-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.hobby-section p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hobby-hero-inner {
    flex-direction: column;
  }
  .hobby-hero-image {
    flex: none;
    width: 100%;
  }
  .hobby-hero-image img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .hobby-hero-content {
    padding: 28px 28px 32px;
  }
  .hobby-hero-content h1 {
    font-size: 2rem;
  }
  .hobby-section {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  .hobby-hero {
    padding: 0 16px;
  }
  .hobby-hero-content h1 {
    font-size: 1.75rem;
  }
  .hobby-section h2 {
    font-size: 1.1rem;
  }
}
