/* =========================
   WORKSHOPS PAGE STYLES
   ========================= */

.heading-divider {
  width: 48px;
  height: 2px;
  background-color: var(--color-accent); /* terracotta */
  margin: 1.2rem auto 1.8rem;
  border-radius: 2px;
  opacity: 0.7;
}

/* Hero */
.workshops-hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: center;
}

.workshops-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.workshops-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
  line-height: 1.7;
 

}

.workshops-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}



.workshops-hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.workshop-card-image {
  width: 100%;
  height: 180px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.workshop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-card:hover .workshop-card-image img {
  transform: scale(1.04);
}

/* Workshop cards */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.workshop-card {
  background-color: var(--color-bg-section);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.workshop-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.workshop-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.workshop-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workshop-card li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* Steps */
.workshop-steps {
  text-align: center;
  background-color: rgba(196, 106, 74, 0.12); /* transparent terracotta */
}

.steps-inner h2 {
  font-family: var(--font-heading);
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  
}

.step span {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1rem;
  
}

.step p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA */
.workshops-cta {
  text-align: center;
}

.workshops-cta h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.workshops-cta p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

@media (max-width: 480px) {

  .workshops-hero {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .workshops-hero-inner {
    display: flex;              /* switch from grid to flex */
    flex-direction: column;
    gap: 2rem;
  }

  /* Image FIRST */
  .workshops-hero-image {
    order: 1;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
  }

  .workshops-hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
  }

  /* Text SECOND */
  .workshops-hero-text {
    order: 2;
    padding: 0 1.25rem;
    text-align: center;
  }

  .workshops-hero-text h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .workshops-hero-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}
