/* ============================================
   MONLIS Website - Other Studios Section
   List of all studio locations
   Figma node: 2:3321
   Pixel-perfect specs from Figma
   ============================================ */

/* ==========================================
   SECTION CONTAINER
   Figma: padding-top: 96px, gap: 48px
   ========================================== */
.studio-other-studios {
  width: 100%;
  background-color: var(--color-white);
  padding: 100px 0;
}

.studio-other-studios__container {
  max-width: 1304px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ==========================================
   HEADER
   Figma: height: 120px, padding: 32px, 
   border-radius: 16px (top only), bg: neutral-900
   ========================================== */
.studio-other-studios__header {
  background-color: #171717;
  border-radius: 16px 16px 0 0;
  padding: 0 32px;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.studio-other-studios__header-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-other-studios__title {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
  margin: 0;
}

.studio-other-studios__subtitle {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.studio-other-studios__header-link {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.studio-other-studios__header-link:hover {
  opacity: 0.8;
}

/* ==========================================
   STUDIOS LIST
   Figma: gap: 32px
   ========================================== */
.studio-other-studios__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================
   STUDIO CARD
   Figma: border: 1px neutral-100, border-radius: 16px
   padding: 33px
   ========================================== */
.studio-other-studios__card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid #f5f5f5;
  border-radius: 16px;
  padding: 33px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.studio-other-studios__card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Clickable card overlay link */
.studio-other-studios__card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}

/* Card left section: number + image */
.studio-other-studios__card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 180px;
  flex-shrink: 0;
}

/* Card number */
.studio-other-studios__card-number {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #d4d4d4;
  width: 40px;
  flex-shrink: 0;
}

/* Card image */
.studio-other-studios__card-image {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.studio-other-studios__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card content */
.studio-other-studios__card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card header row */
.studio-other-studios__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 24px;
}

.studio-other-studios__card-title {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0;
}

.studio-other-studios__card-badge {
  display: inline-flex;
  align-items: center;
  height: 17.5px;
  padding: 0 8px;
  background-color: #171717;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 9px;
  line-height: 13.5px;
  letter-spacing: 0.45px;
  color: var(--color-white);
}

/* Card address */
.studio-other-studios__card-address {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-other-studios__card-address svg {
  width: 12px;
  height: 12px;
  stroke: #525252;
  fill: none;
  flex-shrink: 0;
}

.studio-other-studios__card-address span {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #525252;
}

/* Card tags */
.studio-other-studios__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-other-studios__card-tag {
  display: inline-flex;
  align-items: center;
  height: 17.5px;
  padding: 0 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 9px;
  line-height: 13.5px;
  color: #525252;
}

/* Card actions */
.studio-other-studios__card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  width: 280px;
}

.studio-other-studios__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  transition: all 0.2s ease;
}

.studio-other-studios__card-btn--route {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0a0a0a;
}

.studio-other-studios__card-btn--route:hover {
  background-color: #fafafa;
}

.studio-other-studios__card-btn--route svg {
  width: 16px;
  height: 16px;
  stroke: #0a0a0a;
  fill: none;
}

.studio-other-studios__card-btn--termin {
  background-color: #171717;
  border: none;
  color: var(--color-white);
}

.studio-other-studios__card-btn--termin:hover {
  background-color: #262626;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 1200px) {
  .studio-other-studios__card {
    padding: 28px 32px;
  }
}

@media (max-width: 1024px) {
  .studio-other-studios__container {
    padding: 0 40px;
  }
  
  .studio-other-studios__header {
    padding: 28px 32px;
  }
  
  .studio-other-studios__card {
    flex-wrap: wrap;
  }
  
  .studio-other-studios__card-content {
    flex: 1 1 300px;
  }
  
  .studio-other-studios__card-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .studio-other-studios {
    padding: 60px 0;
  }
  
  .studio-other-studios__container {
    padding: 0 20px;
    gap: 32px;
  }
  
  .studio-other-studios__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    height: auto;
  }
  
  .studio-other-studios__title {
    font-size: 24px;
  }
  
  .studio-other-studios__card {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .studio-other-studios__card-left {
    width: auto;
    flex-shrink: 0;
  }
  
  .studio-other-studios__card-number {
    display: none;
  }
  
  .studio-other-studios__card-image {
    width: 56px;
    height: 56px;
  }
  
  .studio-other-studios__card-content {
    gap: 6px;
    flex: none;
  }
  
  .studio-other-studios__card-header {
    height: auto;
  }
  
  .studio-other-studios__card-title {
    font-size: 15px;
  }
  
  .studio-other-studios__card-address {
    margin-top: 2px;
  }
  
  .studio-other-studios__card-tags {
    margin-top: 4px;
    margin-bottom: 0;
  }
  
  .studio-other-studios__card-actions {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
  }
  
  .studio-other-studios__card-btn {
    flex: 1;
    height: 42px;
    font-size: 12px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .studio-other-studios {
    padding: 40px 0;
  }

  .studio-other-studios__container {
    padding: 0 15px;
  }

  .studio-other-studios__title {
    font-size: 20px;
  }

  .studio-other-studios__card {
    padding: 20px;
  }
}

/* ==========================================
   STUDIOS PAGE HEADER (for /studios/ page)
   Contains H1 for SEO
   ========================================== */
.studios-page__header {
  background-color: #171717;
  padding: 80px 0 60px;
}

.studios-page__header-container {
  max-width: 1304px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.studios-page__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.studios-page__subtitle {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Studios page - remove top padding from section since header provides it */
.studios-page .studio-other-studios {
  padding-top: 0;
}

.studios-page .studio-other-studios__container {
  gap: 0;
}

@media (max-width: 768px) {
  .studios-page__header {
    padding: 60px 0 40px;
  }

  .studios-page__header-container {
    padding: 0 20px;
  }

  .studios-page__title {
    font-size: 32px;
  }

  .studios-page__subtitle {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .studios-page__header {
    padding: 50px 0 30px;
  }

  .studios-page__title {
    font-size: 28px;
  }
}
