﻿/*
 * File: styles/css/baths.css
 * Project: avrora26
 * Role: Styles for public baths page
 */

.baths-body {
  background: #f3f5f6;
}

.baths-page {
  background: transparent;
  color: #1f2937;
  min-height: 100vh;
}

.baths-hero {
  padding: 4px 0 10px;
  background: transparent;
}

.baths-hero .container {
  width: min(100%, var(--home-canvas-max));
  max-width: var(--home-canvas-max);
  background: linear-gradient(135deg, #00a88e 0%, #0f766e 58%, #ff7f6f 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: clamp(18px, 3vw, 32px) 20px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.baths-title {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.12;
  color: #fff;
  text-align: center;
}

.baths-subtitle {
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  max-width: 760px;
  text-align: center;
}

.baths-showcase {
  padding: 0 0 24px;
}

.baths-showcase__stack {
  grid-template-columns: 1fr;
}

.top-baths-list {
  width: min(100%, var(--home-canvas-max));
  max-width: var(--home-canvas-max);
  margin-left: auto;
  margin-right: auto;
  --top-houses-gap: 12px;
}

.top-baths-list .top-houses-week__link {
  aspect-ratio: 16 / 7;
}

.baths-badge {
  background: rgba(76, 29, 149, 0.45);
  border-color: rgba(255, 255, 255, 0.30);
}

.bath-feature .top-houses-week__label small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.4em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.top-baths-list .top-houses-week__label {
  top: 50%;
  bottom: auto;
  left: 16px;
  right: 16px;
  transform: translateY(-50%);
  align-items: center;
  text-align: center;
  gap: 8px;
}

.top-baths-list .top-houses-week__title {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
}

.top-baths-list .top-houses-week__buttons {
  justify-content: center;
}

.bath-rules {
  padding: 4px 0 28px;
}

.bath-rules .container {
  width: min(100%, var(--home-canvas-max));
  max-width: var(--home-canvas-max);
}

.bath-rules__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: 0 auto;
  padding: 18px;
}

.bath-rules__card h2 {
  margin: 0 0 12px;
  text-align: left;
  color: #111827;
  font-size: 26px;
}

.bath-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bath-rules__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.16);
  padding-bottom: 8px;
}

.bath-rules__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bath-rules__list span {
  color: #1f2937;
  line-height: 1.4;
}

.bath-rules__list strong {
  color: #0f766e;
  white-space: nowrap;
}

.bath-rules__list em {
  color: #475569;
  font-style: normal;
  text-align: right;
}

.bath-rules__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 6px;
}

.bath-rules__note p {
  margin: 0;
  color: #334155;
}

@media (max-width: 640px) {
  .baths-hero {
    padding-top: 4px;
  }

  .top-baths-list {
    --top-houses-gap: 8px;
  }

  .top-baths-list .top-houses-week__link {
    aspect-ratio: 16 / 9;
  }

  .bath-rules__card {
    padding: 14px;
  }

  .bath-rules__card h2 {
    font-size: 22px;
  }

  .bath-rules__list li {
    flex-direction: column;
  }

  .bath-rules__list strong,
  .bath-rules__list em {
    text-align: left;
    white-space: normal;
  }
}
