
.ff-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.ff-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.ff-intro {
  margin-bottom: 24px;
  max-width: 720px;
}

.ff-product-grid {
  margin-top: 8px;
}

.ff-card {
  min-height: 100%;
}

/* WO-339: product thumbnail is distinct from video-thumbnail */
.ff-card .product-image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafaf9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4px;
}

.ff-card .product-image-img {
  max-height: 148px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ff-card .product-actions {
  margin-top: auto;
}

.ff-benefit {
  color: #57534e;
  line-height: 1.5;
  font-size: 0.92rem;
  margin: 0;
}

.ff-asin {
  font-size: 0.82rem;
  color: #78716c;
  margin: 0;
}

.ff-more {
  margin-top: 24px;
  text-align: center;
}

.ff-more a {
  color: var(--blue);
  text-decoration: none;
}

.ff-more a:hover {
  text-decoration: underline;
}

.ff-cta-section {
  padding-top: 0;
}

/* WO005: Sticky mobile CTA — hidden by default (desktop) */
.ff-mobile-sticky-cta {
  display: none;
}

/* Video integration framework (automation-ready hooks) */

.video-preview {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  margin-top: 4px;
  padding: 14px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
}

.video-thumbnail {
  flex-shrink: 0;
  width: 140px;
  background: #1c1917;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

a.video-thumbnail:hover {
  filter: brightness(1.06);
}

.video-thumbnail::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.video-thumbnail-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #374151, #111827);
}

/* WO-340: deliberate coming-soon poster — no empty/broken <img> */
.video-thumbnail--coming-soon {
  aspect-ratio: 16 / 9;
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #292524 0%, #1c1917 55%, #0c0a09 100%);
  border: 1px dashed #57534e;
  box-sizing: border-box;
  cursor: default;
}

.video-thumbnail--coming-soon::after {
  display: none;
}

.video-coming-soon-label {
  display: block;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a8a29e;
}

.video-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-preview-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
}

.review-status {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #44403c;
}

.review-status q {
  font-style: italic;
  quotes: "\201C" "\201D";
}

.stewardship-rating {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #57534e;
}

.stewardship-rating-stars {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #d97706;
}

.publish-date {
  margin: 0;
  font-size: 0.78rem;
  color: #78716c;
}

.publish-date-label {
  font-weight: 800;
}

.publish-date-value {
  font-weight: 700;
}

.review-link {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.82rem;
  padding: 8px 14px;
}

.review-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  background: #e7e5e4;
  color: #78716c;
}

/* Active state when pipeline sets data-video-status="published" */
.ff-card[data-video-status="published"] .review-link {
  pointer-events: auto;
  opacity: 1;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
}

.ff-card[data-video-status="published"] .review-link[aria-disabled="true"] {
  pointer-events: auto;
  opacity: 1;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
}

/* Published thumbs keep play overlay for click affordance */
.ff-card[data-video-status="published"] a.video-thumbnail::after {
  display: flex;
}

@media (max-width: 850px) {
  .video-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .video-thumbnail {
    width: 100%;
    max-width: 100%;
  }

  .video-thumbnail-img {
    width: 100%;
  }

  .review-link {
    align-self: stretch;
    text-align: center;
  }

  /* WO005: Mobile-first revenue order — Amazon before video block */
  .ff-card {
    display: flex;
    flex-direction: column;
  }

  .ff-card .category-pill {
    order: 1;
  }

  .ff-card h3 {
    order: 2;
  }

  .ff-card .ff-benefit {
    order: 3;
  }

  .ff-card .product-actions {
    order: 4;
    margin-top: 0;
    margin-bottom: 6px;
  }

  .ff-card .product-actions .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 18px;
    font-size: 1rem;
    font-weight: 1000;
    background: var(--gold);
    color: var(--blue);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
    border: 2px solid #d97706;
  }

  .ff-card .ff-asin {
    order: 5;
  }

  .ff-card .video-preview {
    order: 6;
    margin-top: 4px;
  }

  /* Sticky mobile bottom CTA */
  .ff-landing-page {
    padding-bottom: 80px;
  }

  .ff-disclosure-section {
    padding-bottom: 40px;
  }

  .ff-disclosure-section .notice {
    font-size: 1rem;
    line-height: 1.55;
  }

  .ff-mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    background: var(--blue);
    border-top: 4px solid var(--red);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
  }

  .ff-mobile-sticky-cta-link {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gold);
    color: var(--blue);
    font-weight: 1000;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: 999px;
    text-decoration: none;
  }

  .ff-mobile-sticky-cta-link:hover {
    filter: brightness(1.05);
  }
}

@media (max-width: 480px) {
  .video-preview {
    padding: 12px;
    gap: 12px;
  }
}
