/* ──────────────────────────────────────────────────────────────────
   AT Hotel 35 — Testimonials Slider  |  testimonials-slider.css
   ────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

.ath35-ts {
  --ath35-bg:     #E7E5DF;
  --ath35-accent: #685442;
  --ath35-text:   #2a1f15;
  --ath35-muted:  rgba(104, 84, 66, 0.50);
  --ath35-border: rgba(104, 84, 66, 0.18);
  --ath35-border-hover: rgba(104, 84, 66, 0.45);

  background: var(--ath35-bg);
  color: var(--ath35-text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  padding: 120px 0;
}

/* ── NAGŁÓWEK ── */
.ath35-ts__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.ath35-ts__header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ath35-ts__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ath35-muted);
  white-space: nowrap;
  display: block;
}

.ath35-ts__heading {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ath35-accent);
}

/* ── BLOK OCENY ── */
.ath35-ts__header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
@media (max-width: 768px) {
  .ath35-ts__header-right { align-items: flex-start; }
}

.ath35-ts__rating-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ath35-ts__rating-num {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ath35-accent);
}

.ath35-ts__rating-sub {
  font-size: 12px;
  color: var(--ath35-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ath35-ts__platforms {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .ath35-ts__platforms { justify-content: flex-start; }
}

.ath35-ts__platform {
  font-size: 12px;
  color: var(--ath35-muted);
  letter-spacing: 0.04em;
}
.ath35-ts__platform strong {
  color: var(--ath35-accent);
  font-weight: 400;
}

/* ── DIVIDER ── */
.ath35-ts__divider {
  width: 100%;
  height: 1px;
  background: var(--ath35-border);
  margin-bottom: 80px;
}

/* ── TRACK ── */
.ath35-ts__carousel-outer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ath35-border);
  background: var(--ath35-border); /* pokazuje się jako 1px separator między kartami */
}

.ath35-ts__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1px;
  will-change: transform;
  align-items: stretch;
}

/* ── KARTA ── */
.ath35-ts__card {
  flex: 0 0 auto;
  box-sizing: border-box;
  background: var(--ath35-bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background 0.3s;
  /* wysokość: rozciągnij do najwyższej karty w rzędzie */
  align-self: stretch;
}
.ath35-ts__card:hover { background: #dddbd4; }

@media (max-width: 560px) {
  .ath35-ts__card { padding: 36px 24px; }
}

/* Gwiazdki */
.ath35-ts__stars {
  display: flex;
  gap: 3px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ath35-accent);
  opacity: 0.85;
}
.ath35-ts__star-off { opacity: 0.25; }

/* Cytat */
.ath35-ts__quote {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(42, 31, 21, 0.75);
  flex-grow: 1;
}

/* Meta */
.ath35-ts__meta {
  border-top: 1px solid var(--ath35-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ath35-ts__author-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--ath35-accent);
  margin-bottom: 3px;
}

.ath35-ts__author-detail {
  font-size: 11px;
  color: var(--ath35-muted);
  letter-spacing: 0.06em;
}

.ath35-ts__source-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ath35-muted);
  border: 1px solid var(--ath35-border);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── CONTROLS ── */
.ath35-ts__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

/* Dots */
.ath35-ts__dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ath35-ts__dot {
  width: 20px;
  height: 1px;
  background: var(--ath35-muted);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s, width 0.3s;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}
.ath35-ts__dot:focus-visible {
  outline: 2px solid var(--ath35-accent);
  outline-offset: 4px;
}
.ath35-ts__dot.active {
  background: var(--ath35-accent);
  width: 40px;
}

/* Strzałki */
.ath35-ts__nav-btns {
  display: flex;
  gap: 1px;
}

.ath35-ts__nav-btn,
.ath35-ts__nav-btn:link,
.ath35-ts__nav-btn:visited,
.ath35-ts__nav-btn:hover,
.ath35-ts__nav-btn:focus,
.ath35-ts__nav-btn:focus-within,
.ath35-ts__nav-btn:active {
  /* reset wszystkich stanów, żeby Elementor nie mógł nadpisać */
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.ath35-ts__nav-btn {
  width: 48px;
  height: 48px;
  background: transparent !important;
  border: 1px solid var(--ath35-border) !important;
  color: var(--ath35-accent) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
  user-select: none;
  border-radius: 0 !important;
}
.ath35-ts__nav-btn:hover {
  background: rgba(104, 84, 66, 0.07) !important;
  border-color: var(--ath35-border-hover) !important;
}
.ath35-ts__nav-btn:active {
  background: rgba(104, 84, 66, 0.12) !important;
  border-color: var(--ath35-border-hover) !important;
}
.ath35-ts__nav-btn:focus {
  background: transparent !important;
  border-color: var(--ath35-border) !important;
}
.ath35-ts__nav-btn:focus-visible {
  outline: 2px solid var(--ath35-accent) !important;
  outline-offset: 2px !important;
}
/* stan po kliknięciu myszą — focus bez keyboard */
.ath35-ts__nav-btn:focus:not(:focus-visible) {
  outline: none !important;
  background: transparent !important;
  border-color: var(--ath35-border) !important;
  box-shadow: none !important;
}
.ath35-ts__nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── CTA ── */
.ath35-ts__cta {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--ath35-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.ath35-ts__cta-text {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  max-width: 400px;
}

.ath35-ts__cta-muted { color: var(--ath35-muted); }

.ath35-ts__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border: 1px solid var(--ath35-border-hover);
  background: transparent;
  color: var(--ath35-accent);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.ath35-ts__cta-btn:hover {
  background: rgba(104, 84, 66, 0.07);
  border-color: var(--ath35-accent);
}
.ath35-ts__cta-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.ath35-ts__cta-btn:hover svg { transform: translateX(4px); }
