/* Testimonials Page Start */
  #testimonials-wrapper {
    max-width: 1200px;
    margin: 60px auto;
  }
  #testimonials-wrapper .testimonials-title {
    padding-bottom: 20px;
    text-align: center;
    font-size: 48px !important;
    font-weight: 700;
    line-height: 100%;
    color: #001b4d;
  }
  #testimonials-wrapper .testimonials-block {
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #testimonials-wrapper .testimonial-item {
    flex: 1 0 calc(33% - 20px);
    position: relative;
    border: 3px solid #00000033;
    border-radius: 20px;
    padding: 0;
  }
  #testimonials-wrapper .testimonial-item-img img {
    aspect-ratio: 7 / 6;
    min-height: 300px;
    width: 100%;
    margin: 0 !important;
    border-radius: 17px !important;
    object-fit: cover;
    opacity: 0.9;
  }
  #testimonials-wrapper .testimonial-item-info {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: absolute;
    bottom: 0px;
    padding: 15px;
    border-top: 3px solid #ccc;
    width: 100%;
    background: linear-gradient(to bottom, #00000033, #000000E5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 5px 5px 4px #FFFFFF14;
    border-radius: 0 0 17px 17px;
    text-align: center;
  }
  #testimonials-wrapper .testimonial-item-video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    opacity: 0.8;
    border-radius: 50%;
  }
  #testimonials-wrapper .testimonial-item-video-btn:hover {
    opacity: 1;
    box-shadow: inset 5px 5px 4px #FFFFFF14; 
  }
  #testimonials-wrapper .testimonial-item-title {
    text-align: center;
    font-size: 22px !important;
    font-weight: 600;
    line-height: 100%;
    color: #fff;
  }
  #testimonials-wrapper .testimonial-item-desc {
    text-align: center;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 100%;
    color: #fff;
  }
  #testimonials-google-reviews .google-reviews-block{
    max-width: 1200px;
    margin: 40px auto;

  }
  #testimonials-google-reviews {
    background: #E6ECF0;
    padding: 20px;
    width: 100%;
    justify-self: center;
  }

  @media (max-width: 768px) {
    #testimonials-wrapper .testimonials-block {
      padding: 20px;
    }
    #testimonials-wrapper .testimonial-item {
      flex: 1 0 calc(50% - 20px);
    }
    #testimonials-wrapper .testimonial-item-title {
      font-size: 20px !important;
    }
    #testimonials-wrapper .testimonial-item-desc {
      font-size: 15px !important;
    }
  }
  
  @media (max-width: 425px) {
    #testimonials-wrapper .testimonial-item {
      flex: 1 0 100%;
    }
  }


.tamc-category-testimonials, .tamc-category-testimonials * { box-sizing: border-box; }
.tamc-category-testimonials { background: #fff; font-family: var(--tamc-font-text); padding-bottom: 1px; }
#testimonials-wrapper { padding-inline: 20px; }
#testimonials-wrapper .testimonials-title { margin: 0 0 20px; }
#testimonials-wrapper .testimonial-item { min-width: 0; }
#testimonials-wrapper .testimonial-item-img,
#testimonials-wrapper .testimonial-item-img img { display: block; }
#testimonials-wrapper .testimonial-item-img img { height: auto; }
#testimonials-wrapper .testimonial-item-info a { color: #fff; text-decoration: none; width: 100%; }
#testimonials-wrapper .testimonial-item-title { margin: 0 0 8px; overflow-wrap: anywhere; }
#testimonials-wrapper .testimonial-item-desc { overflow-wrap: anywhere; }
#testimonials-wrapper .testimonial-item-desc p { margin: 0; font: inherit; color: inherit; }
#testimonials-wrapper .testimonial-item-video-btn,
#testimonials-wrapper .testimonial-item-video-btn:is(:hover, :focus, :active) { background: transparent; color: #fff; border: 0; padding: 0; width: 70px; height: 70px; line-height: 1; }
#testimonials-wrapper .testimonial-item-video-btn svg { display: block; width: 70px; height: 70px; }
#testimonials-wrapper :is(a, button):focus-visible { outline: 3px solid #3580cb; outline-offset: 3px; }
#testimonials-wrapper .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
#testimonials-wrapper .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 40px; min-height: 40px; padding: 8px 12px; border-radius: 4px; background: #e6ecf0; color: #3580cb; text-decoration: none; }
#testimonials-wrapper .page-numbers.current,
#testimonials-wrapper a.page-numbers:is(:hover, :focus-visible) { background: #3580cb; color: #fff; }
.testimonials-empty { text-align: center; }
.tamc-review-video { position: fixed; inset: 0; margin: auto; width: min(900px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 44px 12px 12px; border: 0; border-radius: 12px; background: #fff; overflow: auto; }
.tamc-review-video::backdrop { background: rgba(0, 0, 0, .75); }
.tamc-review-video__frame iframe { display: block; width: 100%; height: auto; max-height: calc(100dvh - 100px); aspect-ratio: 16 / 9; border: 0; }
.tamc-review-video .tamc-review-video__close { position: absolute; top: 4px; inset-inline-end: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; font: 32px/1 Arial, sans-serif; background: #fff; color: #3580cb; }
.tamc-review-video .tamc-review-video__close:is(:hover, :focus, :active) { background: #e8f0f7; color: #001b4d; }
.tamc-review-video .tamc-review-video__close:focus-visible { outline: 2px solid #3580cb; outline-offset: -2px; }
html:has(.tamc-review-video[open]) { overflow: hidden; }
@media (max-width: 768px) {
    #testimonials-wrapper .testimonials-title { font-size: 32px !important; }
    #testimonials-wrapper .testimonials-block { padding-inline: 0; }
}