:root {
  --bg: #F4EEE6;
  --text: #1C1C1C;
  --muted: #5B5B5B;
  --cta-bg: #0A0A0A;
  --cta-text: #ffffff;
  --card-width: 240px;
  --card-height: 320px;
  --card-radius: 20px;
  --space-between: 24px;
}

.fhrs-coverflow-hero {
  background: var(--bg);
  padding: 72px 24px;
  overflow-x: hidden; /* prevent horizontal scroll while allowing inner overflow visuals */
}

.fhrs-coverflow-hero .hero-content {
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
}

.fhrs-coverflow-hero .hero-content h1 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(28px, 5vw, 52px);
  margin: 0;
}

.fhrs-coverflow-hero .hero-content .serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.fhrs-coverflow-hero .hero-content .sans {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.fhrs-coverflow-hero .hero-content p {
  color: var(--muted);
  margin: 16px auto 24px;
  max-width: 720px;
  font-size: clamp(14px, 2.2vw, 18px);
}

.fhrs-coverflow-hero .hero-content .cta {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.fhrs-coverflow-hero .coverflow-wrap {
  margin: 24px auto;
  width: 100%;
}

.fhrs-coverflow-hero.is-full .coverflow-wrap {
  max-width: none;
  width: 100%;
}

.fhrs-coverflow-hero .fhrs-coverflow-swiper {
  padding: 28px 24px 44px;
  overflow: visible; /* allow side slides to peek outside container */
}

/* spacing handled by Swiper's spaceBetween; do not use CSS gap here */

.fhrs-coverflow-hero .swiper-slide {
  width: var(--card-width);
  height: var(--card-height);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10), 0 3px 8px rgba(0,0,0,0.07);
  transform-style: preserve-3d;
  will-change: transform; /* smoother transforms on arc */
}

.fhrs-coverflow-hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fhrs-coverflow-hero .swiper-button-prev,
.fhrs-coverflow-hero .swiper-button-next { color: var(--text); }

.fhrs-coverflow-hero .swiper-pagination-bullet { background: #AFAFAF; opacity: 1; }
.fhrs-coverflow-hero .swiper-pagination-bullet-active { background: var(--text); }

@media (max-width: 767px) {
  .fhrs-coverflow-hero .swiper-slide { width: 200px; height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .fhrs-coverflow-hero .fhrs-coverflow-swiper { scroll-behavior: auto; }
}

/* Features section */
.fhrs-coverflow-hero .features {
  max-width: 980px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fhrs-coverflow-hero .feature-item {
  background: transparent;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

.fhrs-coverflow-hero .feature-item h3 {
  margin: 8px 0 6px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text);
  font-weight: 700;
}

.fhrs-coverflow-hero .feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 2vw, 16px);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .fhrs-coverflow-hero .features { grid-template-columns: 1fr; gap: 18px; }
  .fhrs-coverflow-hero .feature-item { padding-top: 12px; }
}
