/* ---- Classes Page ---- */
.yogas {
  margin-bottom: 5px;
}

.yoga-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 20px 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero {
  text-align: center;
}
h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.booking-link {
  font-family: "Playfair Display", serif;
  text-decoration: underline;
}

.yoga-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* ردیف معکوس: عکس راست، متن چپ */
.yoga-card.reverse {
  flex-direction: row-reverse;
}

.yoga-card img {
  width: 45%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.yoga-text {
  flex: 1;
}

.yoga-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.yoga-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.yoga-branches {
  width: 100%; /*arz e kole safhe*/
  padding: 60px 0px 20px 20px;
  padding-bottom: 0px;
}

#yogas {
  max-width: 1100px;
  margin: 0 auto; /*section ro miare vasate safhe*/
}
.yogas {
  text-decoration: underline;
}
.yoga-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /*card ha kenare ham mimonan va khate badi nemiran*/
}

.yogas-card {
  max-width: 420px;
  text-align: center;
}

.yogas-card img {
  width: 100%;
  height: 280px;
  object-fit: cover; /*aks bedone beham rikhtegi kadr r por mikone*/
  display: block; /*fasele ezafi zir aks ra pak mikonad*/
  border-radius: 18px;
}

.yogas-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 18px; /*bein aks va onvan*/
  font-size: 1.4rem;
  color: #222;
}

.yogas-card p {
  font-family: "Playfair Display", serif;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.3;

  padding: 0 10px; /*fasele dakheli*/
}
@media (max-width: 768px) {
  .yoga-page {
    padding: 40px 20px;
  }
  .yoga-card,
  .yoga-card.reverse {
    flex-direction: column;
  }
  .yoga-card img {
    width: 100%;
  }
  .yoga-text {
    text-align: center;
  }
  .yoga-grid {
    flex-direction: column;
    align-items: center;
  }
  .yogas-card {
    width: 100%;
    max-width: 350px;
  }
}
