@media (min-width: 1025px) {

.auf-testimonials {
    width: 100%;
    background: transparent;
    color: #111;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
}

/* ── GÓRNA SEKCJA ── */
.auf-testi-upper {
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 30px;
    padding-bottom: 40px;
}

.auf-testi-left {
    padding-top: 40px;
    border-top: 1px solid #111;
    padding-right: 40px;
}

.auf-testi-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: opacity 0.3s ease;
}

.auf-testi-tags span {
    font-size: 16px;
    color: #111;
    line-height: 1.7;
    font-weight: 300;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.auf-testi-tags .auf-testi-tag--cat {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.auf-testi-tags .auf-testi-tag--tag {
    font-weight: 400;
    line-height: 20px;
    font-size: 16px;
}

.auf-testi-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-top: 1px solid #111;
    padding-top: 40px;
    padding-bottom: 28px;
}

/* ── HEAD ROW ── */
.auf-testi-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.auf-testi-author-block {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.3s ease;
}

.auf-testi-photo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #ccc;
}

.auf-testi-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.auf-testi-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auf-testi-name {
    font-size: 24px;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.2;
}

.auf-testi-role {
    font-size: 16px;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.auf-testi-company {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.auf-testi-see-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: color 0.4s ease, opacity 0.3s ease;
}

.auf-testi-see-link:hover {
    color: #565656;
}

.auf-testi-arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #909191;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.auf-testi-arrow-btn img {
    width: 28px;
    height: 28px;
    display: block;
}

.auf-testi-see-link:hover .auf-testi-arrow-btn {
    transform: translate(2px, -2px);
}

/* ── CYTAT ── */
.auf-testi-quote {
    font-size: 32px;
    line-height: 1.15;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 745px;
    transition: opacity 0.3s ease;
    margin-top: 20px;
}

/* ── FADING ── */
.auf-testi-quote.is-fading,
.auf-testi-tags.is-fading,
.auf-testi-author-block.is-fading,
.auf-testi-see-link.is-fading,
.auf-testi-next-info.is-fading {
    opacity: 0;
}

/* ── DIVIDER ── */
.auf-testi-divider {
    height: 1px;
    background: #111;
    margin-bottom: 0;
}

/* ── DOLNA SEKCJA ── */
.auf-testi-lower {
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 30px;
    align-items: start;
    padding: 24px 0 48px 0;
    border-bottom: none;
}

.auf-testi-lower-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
	padding-top: 4px;
}

.auf-testi-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.auf-testi-next-label {
    font-size: 16px;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.auf-testi-counter {
    color: #111;
    font-weight: 400;
    font-size: 26px;
}

.auf-testi-next-btn {
    background: none;
    border: none;
    color: #111;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    width: fit-content;
    line-height: 1;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.auf-testi-next-btn img {
    width: 21px;
    height: 29px;
    display: block;
    transition: transform 0.2s ease;
}

.auf-testi-next-btn:hover img {
    transform: translateX(5px);
}

.auf-testi-next-btn:hover {
    background: none;
    color: #111;
    outline: none;
}

.auf-testi-next-btn:focus {
    outline: none;
    background: none;
}

.auf-testi-next-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.auf-testimonials button {
    -webkit-appearance: none;
    appearance: none;
    background: none !important;
    box-shadow: none !important;
}

.auf-testi-next-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: opacity 0.3s ease;
}

.auf-testi-next-title {
    font-size: 32px;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.1;
}

.auf-testi-next-author {
    font-size: 24px;
    color: #111;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.auf-testi-next-company {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* See all testimonials button */
.auf-testi-see-all.auf-btn {
    max-width: 180px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #909191 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.auf-testi-see-all.auf-btn::before {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
}

/* ── ZDJĘCIA ── */
.auf-testi-images-wrap {
    width: 100%;
    overflow: hidden;
    height: 420px;
}

.auf-testi-images-track {
    display: flex;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.auf-testi-slide {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 30px;
    flex-shrink: 0;
}

.auf-testi-img {
    overflow: hidden;
    height: 100%;
}

.auf-testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* portrait (hero) — lewo, szerokość = 1fr */
.auf-testi-img--portrait {
    flex: 1;
}

/* landscape (card) — prawo, szerokość = 3fr */
.auf-testi-img--landscape {
    flex: 3;
}

} /* end @media */

/* ===================== MOBILE (≤1024px) ===================== */
@media (max-width: 1024px) {

  .auf-testimonials {
    width: 100%;
    color: #111;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
  }

  /* reset różowych obramówek (tap/focus iOS) */
  .auf-testimonials a,
  .auf-testimonials button {
    -webkit-tap-highlight-color: transparent;
  }
  .auf-testi-see-link,
  .auf-testi-see-link:focus,
  .auf-testi-see-link:focus-visible,
  .auf-testi-see-link:active,
  .auf-testi-next-btn,
  .auf-testi-next-btn:focus,
  .auf-testi-next-btn:focus-visible,
  .auf-testi-next-btn:active {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }

  /* ── GÓRNA SEKCJA → 2 kolumny: tagi | autor ── */
.auf-testi-upper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 16px;
    padding-bottom: 24px;
  }

  .auf-testi-left {
    grid-column: 1;
    grid-row: 1;
    border-top: 1px solid #111;
    padding-top: 20px;
    padding-right: 0;
  }

  /* tagi: pionowo w wąskiej kolumnie */
  .auf-testi-tags {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .auf-testi-tags span,
  .auf-testi-tags .auf-testi-tag--cat,
  .auf-testi-tags .auf-testi-tag--tag {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    color: #555;
  }
  .auf-testi-tags .auf-testi-tag--cat {
    font-weight: 700;
    color: #111;
  }

  /* kontener znika z układu — jego dzieci stają się elementami gridu */
  .auf-testi-right {
    display: contents;
  }

  /* autor w prawej kolumnie, See realization pod spodem do prawej */
  .auf-testi-head-row {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #111;
    padding-top: 20px;
    gap: 12px;
  }

  .auf-testi-author-block { gap: 12px; }
  .auf-testi-photo { width: 44px; height: 44px; }

  /* imię / rola / firma jedno pod drugim */
  .auf-testi-author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .auf-testi-name { font-size: 18px; line-height: 1.2; font-weight: 600; }
.auf-testi-role { font-size: 13px; font-weight: 500; color: #111; }
  .auf-testi-company { font-size: 13px; font-weight: 400; color: #333; }

 .auf-testi-see-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #111 !important;
    flex-shrink: 0;
  }
  .auf-testi-arrow-btn { width: 30px; height: 30px; }
  .auf-testi-arrow-btn img { width: 24px; height: 24px; }

  /* cytat na pełną szerokość pod obiema kolumnami */
  .auf-testi-quote {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 20px;
    line-height: 1.3;
    max-width: none;
    margin-top: 24px;
    font-weight: 500;
  }

  /* fade przy zmianie slajdu (JS) */
  .auf-testi-quote.is-fading,
  .auf-testi-tags.is-fading,
  .auf-testi-author-block.is-fading,
  .auf-testi-see-link.is-fading,
  .auf-testi-next-info.is-fading {
    opacity: 0;
  }

  /* ── DIVIDER ── */
  .auf-testi-divider {
    height: 1px;
    background: #111;
  }

  /* ── DOLNA SEKCJA: Next + See all w jednym rzędzie ── */
  .auf-testi-lower {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 24px 0;
  }
  .auf-testi-nav { gap: 14px; }
.auf-testi-next-label { font-size: 14px; font-weight: 400; color: #111; }
  .auf-testi-counter { font-size: 20px; font-weight: 500; }
  .auf-testi-next-btn img { width: 16px; height: 22px; }

  /* powtórzony tytuł projektu na dole — chowamy dla zwartości */
  .auf-testi-next-info { display: none; }
  .auf-testi-lower-right { justify-content: flex-end; }

  /* ── ZDJĘCIA: jeden slajd = jedno zdjęcie na całą szerokość ── */
  .auf-testi-images-wrap {
    width: 100%;
    overflow: hidden;
    height: 200px;
  }
  .auf-testi-images-track {
    display: flex;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
  }
  .auf-testi-slide {
    display: flex;
    height: 100%;
    flex-shrink: 0;
  }
  /* tylko zdjęcie poziome (card); pionowe (hero) chowamy */
  .auf-testi-img--portrait { display: none; }
  .auf-testi-img--landscape {
    flex: 1;
    height: 100%;
    overflow: hidden;
  }
  .auf-testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

}