/* ======================================
   AA TESTIMONIAL BLOCK
   2-column grid layout
====================================== */

.aa-tb {
  position: relative;
  width: 100%;
  padding: 80px 0 100px;
  background: #fff;
  color: #0f172a;
}

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

.aa-tb__inner {
  max-width: 1400px;
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
}

/* ======================================
   HEADER
====================================== */
.aa-tb__header {
  text-align: center;
  margin-bottom: 3rem;
}

.aa-tb__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06064E;
  margin-bottom: 0.75rem;
}

.aa-tb__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 0.75rem !important;
}

.aa-tb__subheading {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.55);
  margin: 0 auto;
  max-width: 500px;
  line-height: 1.6;
}

/* ======================================
   GRID — 2 columns
====================================== */
.aa-tb__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ======================================
   CARD
====================================== */
.aa-tb__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 0 0 24px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.aa-tb__card:hover {
}

/* ======================================
   THUMBNAIL / VIDEO
====================================== */
.aa-tb__thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
  border-radius: 16px;
}

.aa-tb__thumb {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
}

.aa-tb__thumb img,
.aa-tb__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.aa-tb__thumb:hover img {
  transform: scale(1.03);
}

.aa-tb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #06064E;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.aa-tb__thumb:hover .aa-tb__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.aa-tb__play i {
  margin-left: 3px;
}

.aa-tb__player {
  position: absolute;
  inset: 0;
  background: #000;
}

.aa-tb__player iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ======================================
   STARS
====================================== */
.aa-tb__stars {
  display: flex;
  gap: 3px;
  padding: 4px 0 0;
}

.aa-tb__stars .fa-star {
  font-size: 1.1rem;
  color: #F5C518;
}

.aa-tb__stars .aa-tb__star--empty {
  color: #e0e0e0;
}

/* ======================================
   QUOTE
====================================== */
.aa-tb__quote {
  font-size: 0.95rem;
  font-weight: 400;
  color: #0f172a;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  flex: 1;
}

/* ======================================
   AUTHOR
====================================== */
.aa-tb__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin-top: 4px;
}

.aa-tb__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #06064E;
}

.aa-tb__location {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.5);
}

/* ======================================
   MD — ≥ 768px
====================================== */
@media (min-width: 768px) {
  .aa-tb__quote {
    font-size: 1rem;
  }
}

/* ======================================
   TABLET — ≤ 767px (still 2 cols)
====================================== */
@media (max-width: 767px) {
  .aa-tb {
    padding: 50px 0 60px;
  }

  .aa-tb__grid {
    gap: 16px;
  }

  .aa-tb__quote {
    font-size: 0.875rem;
  }

  .aa-tb__stars .fa-star {
    font-size: 0.95rem;
  }
}

/* ======================================
   MOBILE — ≤ 575px (1 col)
====================================== */
@media (max-width: 575px) {
  .aa-tb__inner {
    padding: 0 16px;
  }

  .aa-tb {
    padding: 40px 0 50px;
  }

  .aa-tb__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aa-tb__header {
    margin-bottom: 2rem;
  }
}
