.training-rooms-page {
  background: var(--paper);
  color: var(--ink);
}

.training-rooms-page .nav-link.is-current {
  color: var(--ink);
}

.training-rooms-page .nav-link.is-current .nav-text {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.tr-intro,
.tr-gallery {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 72px;
}

.tr-gallery {
  padding-top: 32px;
  padding-bottom: 96px;
  background: #efe8da;
}

.tr-wrap {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
  text-align: center;
}

.tr-eyebrow {
  margin: 0 0 14px;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tr-title,
.tr-gallery-head h2 {
  margin: 0 0 18px;
  font-family: var(--ar);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

.tr-lead {
  margin: 0 0 8px;
  font-family: var(--ar);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-soft);
}

.tr-panel {
  width: 100%;
  box-sizing: border-box;
  margin: 48px 0 0;
  padding: 32px 36px 28px;
  text-align: start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.tr-panel .tr-eyebrow {
  margin-bottom: 6px;
  text-align: start;
}

html[dir="rtl"] .tr-panel .tr-eyebrow {
  text-align: right;
}

.tr-panel-title {
  margin: 0 0 22px;
  font-family: var(--ar);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
  text-align: start;
}

.tr-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

.tr-features li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: #f3efe6;
}

.tr-features li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.tr-booking-note {
  margin: -8px 0 22px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: start;
}

.tr-rates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-rates li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3efe6;
  text-align: start;
}

.tr-rates span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.tr-rates strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.tr-per-person {
  margin: 18px 0 0;
  padding-top: 4px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  text-align: start;
}

.tr-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.training-rooms-page .hero-cta {
  min-width: 168px;
}

.training-rooms-page .hero-cta.is-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.training-rooms-page .hero-cta.is-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.tr-gallery-head {
  margin-bottom: 28px;
}

.tr-slider {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.tr-slide {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
}

.tr-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(22, 20, 18, 0.08);
}

.tr-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}

.tr-arrow:hover {
  border-color: rgba(22, 20, 18, 0.28);
  background: #fffdf8;
}

.tr-gallery-count {
  margin: 16px 0 0;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 720px) {
  .tr-intro {
    padding: calc(var(--header-h) + 32px) 0 48px;
  }

  .tr-gallery {
    padding: 16px 0 72px;
  }

  .tr-wrap {
    width: min(100% - 40px, 920px);
  }

  .tr-panel {
    padding: 24px 18px 20px;
  }

  .tr-features {
    grid-template-columns: 1fr;
  }

  .tr-rates li {
    flex-wrap: wrap;
  }

  .tr-slider {
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
  }

  .tr-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .tr-slide img {
    max-height: min(70vh, 720px);
  }

  .tr-actions {
    flex-direction: column;
    align-items: center;
  }

  .training-rooms-page .hero-cta {
    width: 100%;
    max-width: 280px;
  }
}
