/** Shopify CDN: Minification failed

Line 232:0 Unexpected "}"

**/
/* ==========================================================================
   TESTIMONIALS SECTION - Aboriginal Theme
   ========================================================================== */

:root {
  --tm-ochre: #b5651d;
  --tm-ochre-light: #d4a574;
  --tm-earth: #8b4513;
  --tm-sand: #f5e6d3;
  --tm-sand-light: #faf6f1;
  --tm-cream: #fefdfb;
  --tm-charcoal: #2c2c2c;
  --tm-charcoal-light: #4a4a4a;
}

/* Section Container */
.testimonials-section {
  position: relative;
  background: linear-gradient(180deg, var(--tm-sand-light) 0%, var(--tm-cream) 50%, var(--tm-sand-light) 100%);
  overflow: hidden;
}

/* Aboriginal Dot Pattern Background - Optimized */
.testimonials-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, var(--tm-ochre) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, var(--tm-earth) 1.5px, transparent 1.5px),
    radial-gradient(circle at 50% 50%, var(--tm-ochre-light) 1px, transparent 1px);
  background-size: 60px 60px, 45px 45px, 30px 30px;
  opacity: 0.12;
  pointer-events: none;
  /* Performance optimization */
  will-change: auto;
  contain: strict;
}

/* Container */
.testimonials-container {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================
   Scroll Reveal Animations (matching Our Story)
   ============================================ */

/* Base reveal - fade up (matching Our Story timing) */
.lazy-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-element.lazy-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card reveal - with slight scale (slower, smoother) */
.testimonial-card {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.lazy-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delays for cards - longer gaps for smoother sequence */
.testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.testimonial-card:nth-child(4) { transition-delay: 0.45s; }
.testimonial-card:nth-child(5) { transition-delay: 0.6s; }
.testimonial-card:nth-child(6) { transition-delay: 0.75s; }

/* Featured story - slide from side (slower, smoother) */
.featured-story,
.featured-story-mobile-only {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.featured-story.lazy-visible,
.featured-story-mobile-only.lazy-visible {
  opacity: 1;
  transform: translateX(0);
}

/* No JS fallback - show everything immediately */
.no-js .lazy-element,
.no-js .testimonial-card,
.no-js .featured-story,
.no-js .featured-story-mobile-only,
.testimonials-section:not(.js-loaded) .lazy-element,
.testimonials-section:not(.js-loaded) .testimonial-card,
.testimonials-section:not(.js-loaded) .featured-story,
.testimonials-section:not(.js-loaded) .featured-story-mobile-only {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .lazy-element,
  .testimonial-card,
  .featured-story,
  .featured-story-mobile-only {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .testimonials-dot {
    transition: none !important;
  }
}

.testimonials-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--tm-ochre) 0%, var(--tm-earth) 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 20px;
}

.testimonials-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--tm-charcoal);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

@media (min-width: 750px) {.testimonials-subheading, .testimonial-name, .featured-story-name {font-size: 1.6rem!important;} }

.testimonials-subheading {
  font-size: 14px;
  color: var(--tm-charcoal-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Banner Image - CLS Prevention */
.testimonials-banner {
  position: relative;
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(181, 101, 29, 0.12);
  /* Reserve space to prevent CLS */
  aspect-ratio: 16/5;
  background-color: var(--tm-sand-light);
  contain: layout style paint;
}

.testimonials-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Smooth image load */
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Desktop Banner */
.testimonials-banner-desktop {
  display: block;
  height: 100%;
}

.testimonials-banner-desktop .testimonials-banner-img {
  max-height: 420px;
}

/* Mobile Banner - Hidden on desktop */
.testimonials-banner-mobile {
  display: none;
  height: 100%;
}

/* Responsive Banners */
@media screen and (max-width: 749px) {
  .testimonials-banner-desktop {
    display: none;
  }
  
  .testimonials-banner-mobile {
    display: block;
  }
  
  .testimonials-banner {
    margin-top: 20px;
    border-radius: 16px;
    aspect-ratio: 1/1;
  }
  
  .testimonials-banner-mobile .testimonials-banner-img {
    max-height: 320px;
    object-position: center;
  }
  }
}

.testimonials-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 44, 44, 0.2) 100%);
  pointer-events: none;
}

/* Testimonials Wrapper */
.testimonials-wrapper {
  position: relative;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  gap: 30px;
}

.testimonials-grid--1,
.testimonials-grid--2 {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-grid--3,
.testimonials-grid--4,
.testimonials-grid--5,
.testimonials-grid--6,
.testimonials-grid--7 {
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 990px) {
  .testimonials-grid--3,
  .testimonials-grid--4,
  .testimonials-grid--5,
  .testimonials-grid--6,
  .testimonials-grid--7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   MOBILE SLIDER STYLES
   ============================================ */
@media screen and (max-width: 749px) {
  .testimonials-header {
    margin-bottom: 24px;
  }

  .testimonials-wrapper {
    margin: 0 -15px;
    padding: 0 15px;
  }
  
  .testimonials-grid,
  .testimonials-grid--1,
  .testimonials-grid--2,
  .testimonials-grid--3,
  .testimonials-grid--4,
  .testimonials-grid--5,
  .testimonials-grid--6,
  .testimonials-grid--7 {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding: 8px 0 16px;
    /* Smooth native scrolling */
    overscroll-behavior-x: contain;
  }
  
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  
  .testimonials-grid .testimonial-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Simpler transitions for better performance */
    opacity: 0.55;
    transform: scale(0.96);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  }
  
  .testimonials-grid .testimonial-card.active {
    opacity: 1;
    transform: scale(1);
  }
  
  /* Mobile Navigation Dots */
  .testimonials-dots-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }
  
  .testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tm-ochre-light);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  .testimonials-dot.active {
    background: var(--tm-ochre);
    width: 20px;
    border-radius: 4px;
  }
}

/* Hide mobile controls on desktop */
@media screen and (min-width: 750px) {
  .testimonials-dots-nav {
    display: none;
  }
  
  .testimonials-grid .testimonial-card {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   TESTIMONIAL CARD - Optimized for CLS
   ============================================ */
.testimonial-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 35px 25px 25px;
  box-shadow: 0 4px 20px rgba(181, 101, 29, 0.08);
  border: 1px solid rgba(181, 101, 29, 0.1);
  overflow: hidden;
  /* CLS Prevention */
  min-height: 280px;
  contain: layout style;
}

/* Only apply hover on devices that support it */
@media (hover: hover) and (pointer: fine) {
  .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(181, 101, 29, 0.15);
  }
}

/* Decorative dots on card - simplified for performance */
.testimonial-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--tm-ochre-light) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.2;
  border-radius: 0 20px 0 100px;
  pointer-events: none;
}

/* Quote Icon */
.testimonial-quote-icon {
  color: var(--tm-ochre);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-quote-icon svg {
  width: 40px;
  height: 40px;
}

/* Testimonial Content */
.testimonial-content {
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  border-left: none;
}

.testimonials-section blockquote,
.testimonial-card blockquote {
  border: none;
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--tm-charcoal);
  font-style: italic;
  margin: 0;
}

/* Author Info */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--tm-ochre-light);
  flex-shrink: 0;
  /* CLS Prevention */
  aspect-ratio: 1/1;
  background-color: var(--tm-sand);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Smooth load */
  opacity: 1;
  transition: opacity 0.2s ease;
}

.testimonial-avatar--placeholder {
  background: linear-gradient(135deg, var(--tm-sand) 0%, var(--tm-ochre-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm-earth);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--tm-charcoal);
  font-size: 1rem;
}

.testimonial-title {
  font-size: 1rem;
  color: var(--tm-ochre);
}

/* Star Rating */
.testimonial-rating {
  display: flex;
  gap: 3px;
}

.testimonial-star {
  color: var(--tm-sand);
  width: 18px;
  height: 18px;
}

.testimonial-star--filled {
  color: var(--tm-ochre);
}

/* ============================================
   FEATURED STORY - DESKTOP - Optimized for CLS
   ============================================ */
.featured-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, var(--tm-charcoal) 0%, #1A1311 100%);
  border-radius: 24px;
  overflow: hidden;
  /* CLS Prevention */
  min-height: 380px;
  contain: layout style;
}

.featured-story-desktop {
  display: grid;
}

/* Hide desktop version on mobile */
@media screen and (max-width: 749px) {
  .featured-story-desktop {
    display: none !important;
  }
}

.featured-story-content {
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-story-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--tm-ochre);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.featured-story-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: white;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.featured-story-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px 0;
}

.featured-story-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.featured-story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--tm-ochre);
}

.featured-story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-story-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.featured-story-name {
  font-weight: 700;
  color: white;
  font-size: 0.9375rem;
}

.featured-story-location {
  font-size: 0.8125rem;
  color: var(--tm-ochre-light);
}

.featured-story-image {
  position: relative;
}

.featured-story-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tm-charcoal) 0%, transparent 30%);
  z-index: 1;
}

.featured-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   FEATURED STORY - MOBILE ONLY (Outside Grid)
   ============================================ */
.featured-story-mobile-only {
  display: none;
}

@media screen and (max-width: 749px) {
  .featured-story-mobile-only {
    display: block;
    background: linear-gradient(135deg, var(--tm-charcoal) 0%, #1A1311 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .featured-story-mobile-image {
    height: 180px;
    position: relative;
  }
  
  .featured-story-mobile-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--tm-charcoal) 100%);
  }
  
  .featured-story-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .featured-story-mobile-content {
    padding: 20px;
  }
  
  .featured-story-mobile-content .featured-story-label {
    font-size: 9px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  
  .featured-story-mobile-content .featured-story-heading {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }
  
  .featured-story-mobile-content .featured-story-text {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  .featured-story-mobile-content .featured-story-avatar {
    width: 44px;
    height: 44px;
  }
  
  .featured-story-mobile-content .featured-story-name {
    font-size: 1rem;
  }
  
  .featured-story-mobile-content .featured-story-location {
    font-size: 1rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  opacity: 0;
}

.testimonial-card.lazy-visible {
  animation: fadeInUp 0.5s ease-out forwards;
}

.testimonial-card:nth-child(1).lazy-visible { animation-delay: 0.05s; }
.testimonial-card:nth-child(2).lazy-visible { animation-delay: 0.1s; }
.testimonial-card:nth-child(3).lazy-visible { animation-delay: 0.15s; }
.testimonial-card:nth-child(4).lazy-visible { animation-delay: 0.2s; }
.testimonial-card:nth-child(5).lazy-visible { animation-delay: 0.25s; }
.testimonial-card:nth-child(6).lazy-visible { animation-delay: 0.3s; }

.featured-story-mobile-only.lazy-visible,
.featured-story-desktop.lazy-visible {
  animation: fadeInUp 0.5s ease-out forwards;
}
