/* Extra polish and responsive rules for Deals/Testimonials pages */

.deals-section { padding: 1.25rem; }

.deal-card { gap: 0.9rem; }

.deal-badge { font-size: 0.95rem; padding: 0.45rem 0.7rem; }

.deal-mascot { width: 56px; height: 56px; }

.deals-grid { grid-auto-rows: minmax(60px, auto); }

.testimonial { font-size: 0.98rem; }

/* Mobile adjustments */
@media (max-width: 720px) {
  .site-shell { padding: 1rem; }
  .site-nav { gap: 0.5rem; }
  .site-nav a { padding: 0.5rem 0.8rem; font-size: 0.95rem; }
  .staff-member { grid-template-columns: 1fr; }
  .staff-image { height: 220px; }
  .deals-grid { grid-template-columns: 1fr; }
  .deal-card { flex-direction: row; align-items: center; }
}

@media (max-width: 420px) {
  .brand-logo { font-size: 1.1rem; }
  .brand-tag { display: none; }
  .deal-mascot { display: none; }
}

/* Polished testimonial styles */
.testimonial {
  display: block;
  background: linear-gradient(135deg, rgba(0,216,255,0.06), rgba(255,138,0,0.04));
  border-left: 6px solid rgba(0,216,255,0.18);
  padding: 1rem 1.25rem;
  margin: 0.8rem 0;
  border-radius: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #eaf6ff;
  position: relative;
}
.testimonial::before {
  content: '“';
  font-size: 2.4rem;
  position: absolute;
  left: 10px;
  top: 6px;
  color: rgba(255,255,255,0.12);
}
.testimonial + .testimonial {
  margin-left: 1rem;
}

.testimonial-archive {
  /* center the whole testimonial section and give breathing room */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.testimonial-archive .testimonial {
  margin: 0;
}

/* New improved testimonial card styles */
.testimonial-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.testimonial-controls { display:flex; gap:0.6rem; align-items:center }
.testimonial-controls input[type=range] { width:140px }

.testimonial-grid { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); margin-top:1rem; align-items:start }
.testimonial-card { width:100% }
.testimonial-card {
  display:flex;
  gap:0.9rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1rem;
  border-radius: 0.9rem;
  align-items:flex-start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.45) }
.avatar-wrap { width:64px; flex: 0 0 64px; border-radius: 0.6rem; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.avatar { width:56px; height:56px; border-radius:12px; object-fit:cover }
.avatar-svg { width:56px; height:56px; display:block }
.avatar-fallback { width:56px;height:56px;border-radius:12px;background:rgba(255,255,255,0.04);display:flex;align-items:center;justify-content:center;color:#ffd65a }
.testimonial-card .meta { display:flex; gap:0.6rem; align-items:center; margin-bottom:0.35rem }
.testimonial-card .who { color:#ffd65a; display:block }
.testimonial-card .role { color:#a9b3ff; font-size:0.9rem }
.stars { margin-left:auto; color:#ffd65a; font-size:1rem }
.star.filled { color:#ffd65a }
.star { color:rgba(255,255,255,0.12); margin-left:2px }
.quote { color:#eaf6ff; margin:0 0 0.5rem 0; line-height:1.45 }
.tags { display:flex; gap:0.4rem; flex-wrap:wrap }
.tag { background: rgba(0,216,255,0.06); color:#00d8ff; padding:0.25rem 0.5rem; border-radius:0.5rem; font-size:0.78rem }

/* Responsive tweaks */
@media (max-width:720px){ .testimonial-card { flex-direction:row; } .avatar-wrap{width:56px} }

