/* === Escala | Single Gym === */

.gym-container{
  margin: 0 auto;
  max-width: 920px;
  display: flex;
  flex-direction: column;
}

/* ---------- Carousel (Swiper) ---------- */
.gym-gallery{
  border-top: 0 !important;
}

.gym-carousel-gyms{
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--escala-gap-sm);
  border-radius: var(--escala-radius-lg);
}

.gym-carousel-gyms .swiper-slide{
  display: block;
  overflow: hidden;
  height: auto;
  /*background: black;*/
  border-radius: var(--escala-radius-lg);
  align-content: center;
}
.gym-carousel-gyms .swiper-slide img{
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: var(--escala-radius-lg);
}
.swiper-button-next,
.swiper-button-prev{
  color: var(--escala-primary) !important;
}
.swiper-pagination-bullet-active{
  background: var(--escala-primary) !important;
}

/* ---------- Descripción ---------- */
.gym-hero{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.gym-logo{
  height: clamp(60px, 8vw, 70px);
  object-fit: contain;
}
.tier-tag{
  display: inline-block;
  background: var(--escala-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .85rem;
}
/* ---------- Mapa ---------- */
.acf-map{
  width: 100%;
  height: 360px;
  border-radius: var(--escala-radius-lg);
  overflow: hidden;
  position: relative; 
}
.acf-map .marker { 
  display: none; 
}

/* ---------- Secciones de info ---------- */
.gym-information-card{
  padding: 8px 0px;
  text-align: left;
}
.gym-information-card:first-child{
  border-top: 0;
}
.gym-information-card h5{
  margin: 0 0 12px;
}
.gym-information-card ul{
  margin: 0 1.5em;
}

/* ---------- Tabla de horarios ---------- */
.gym-schedule-table{
  width: fit-content;
  font-size: .95rem;
  border: 0;
}
.gym-schedule-table th,
.gym-schedule-table td{
  text-align: left;
  padding: 6px 8px;
  border: none;
  vertical-align: top;
}
.gym-schedule-table thead th{
  font-weight: 600;
}
.gym-schedule-table tbody tr:hover td{
  background: #fafafa;
}

/* ---------- Contact Info ---------- */
.gym-contact-list {
  list-style: none;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: var(--escala-gap-sm);
}

.gym-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.gym-contact-icon {
  align-self: center;
}

.gym-contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: #585858;
  fill: none;
  stroke-width: 1.5;
}

.gym-contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gym-contact-label {
  font-weight: 600;
}

.gym-contact-value:hover,
.gym-contact-value:focus {
  text-decoration: underline;
}


/* ---------- Utilidades ---------- */
h6{ margin: 0; color: var(--escala-muted); font-weight: 500; }

@media (prefers-reduced-motion: reduce){
  .gym-carousel-gyms *{ transition: none !important; }
}

@media (min-width: 922px){
  .page-container{
      width: 75%;
      margin: auto;
  }
}