/* ==========================================================================
   Commercial Fishing Flies - scrolling testimonials band above the footer
   ========================================================================== */
.cff-testi-section {
  clear: both;
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #f3f8fd 0%, #e7f1fa 100%);
  border-top: 1px solid #d5e5f2;
  padding: 44px 0 38px;
}
.cff-testi-wrap {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1200px;
}
.cff-testi-head { text-align: center; margin-bottom: 26px; }
.cff-testi-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  color: #0a2540;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}
.cff-testi-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff6b35, #ffd166);
  transform: translateX(-50%);
}
.cff-testi-sub {
  color: #4c6b86;
  font-size: 14.5px;
  margin: 8px 0 0;
}

.cff-testi-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cff-testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: cff-testi-scroll 240s linear infinite;
}
.cff-testi-viewport:hover .cff-testi-track { animation-play-state: paused; }
@keyframes cff-testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

.cff-testi-card {
  flex: 0 0 340px;
  margin: 0;
  background: #ffffff;
  border: 1.5px solid #d7e6f3;
  border-radius: 18px;
  padding: 26px 24px 22px;
  box-shadow: 0 1px 2px rgba(10,37,64,.05), 0 16px 34px -24px rgba(10,37,64,.35);
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.cff-testi-card:hover {
  transform: translateY(-5px);
  border-color: #ff6b35;
  box-shadow: 0 4px 8px rgba(10,37,64,.07), 0 26px 46px -24px rgba(10,37,64,.45);
}
.cff-testi-stars { color: #ff6b35; font-size: 15px; letter-spacing: 3px; margin-bottom: 12px; }
.cff-testi-card blockquote {
  margin: 0 0 16px;
  color: #17324a;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}
.cff-testi-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.cff-testi-name { font-weight: 800; color: #0a2540; font-size: 14px; letter-spacing: .01em; }

@media (max-width: 767px) {
  .cff-testi-section { padding: 32px 0 28px; }
  .cff-testi-title { font-size: 24px; }
  .cff-testi-card { flex: 0 0 82vw; padding: 22px 18px 18px; }
  .cff-testi-track { animation-duration: 160s; }
}
@media (prefers-reduced-motion: reduce) {
  .cff-testi-track { animation: none; }
}

/* Keep the band on the same boxed width as the page container */
@media (max-width: 1199px) {
  .cff-testi-section { max-width: 940px; }
}
@media (max-width: 991px) {
  .cff-testi-section { max-width: 720px; }
}
@media (max-width: 767px) {
  .cff-testi-section { max-width: 100%; }
}
