/**
 * Yoga Studios Block - Frontend Styles
 */

.cmy-yoga-studios {
  width: 100%;
  margin: 0 auto;
}

.cmy-yoga-studios__grid {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmy-yoga-studios__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cmy-yoga-studios__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.cmy-yoga-studios__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 4px;
}

.cmy-yoga-studios__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cmy-yoga-studios__title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.cmy-yoga-studios__location {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cmy-yoga-studios__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .cmy-yoga-studios__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .cmy-yoga-studios__item {
    padding: 12px;
  }

  .cmy-yoga-studios__title {
    font-size: 14px;
  }

  .cmy-yoga-studios__location {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cmy-yoga-studios__grid {
    grid-template-columns: 1fr !important;
  }

  .cmy-yoga-studios__item {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .cmy-yoga-studios__logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .cmy-yoga-studios__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
