/* ==========================================================================
   Single Featured Work Styles - Buffalo Soldiers Child Theme
   Supports: Design 1 (Modern Spotlight) & Design 2 (Interactive Storyboard)
   ========================================================================== */

:root {
  --ink: #181918;
  --paper: #f7f7f1;
  --accent: #efff70;
  --accent-blue: #cde6ff;
  --accent-purple: #d9cafa;
  --border-light: rgba(24, 25, 24, 0.12);
  --text-muted: #666660;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-work-single {
  background-color: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 80px;
}

.featured-work-single * {
  box-sizing: border-box;
}

.featured-work-single a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.featured-work-single h1, 
.featured-work-single h2, 
.featured-work-single h3, 
.featured-work-single h4 {
  font-family: Tight, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   DESIGN 1: MODERN SPOTLIGHT
   -------------------------------------------------------------------------- */
.fw-d1-hero {
  padding-top: 30px;
  padding-bottom: 40px;
}

.fw-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fw-cat-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--ink);
}

.fw-d1-title {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-bottom: 20px;
  max-width: 1050px;
}

.fw-d1-tagline {
  font-size: clamp(18px, 2vw, 22px);
  color: #333330;
  max-width: 850px;
  margin-bottom: 36px;
}

.fw-d1-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 24px 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}

.fw-d1-meta-item .meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fw-d1-meta-item .meta-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.fw-d1-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
}

.fw-d1-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Feature Spotlight Rows (Alternating) */
.fw-d1-feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 70px 0;
}

.fw-d1-feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.fw-d1-feature-media {
  flex: 1 1 50%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.fw-d1-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fw-d1-feature-media:hover img {
  transform: scale(1.03);
}

.fw-d1-feature-text {
  flex: 1 1 50%;
}

.fw-d1-feature-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fw-d1-feature-text h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}

.fw-d1-feature-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #3b3b38;
}

/* --------------------------------------------------------------------------
   DESIGN 2: INTERACTIVE STORYBOARD & HIGH IMPACT
   -------------------------------------------------------------------------- */
.fw-d2-hero-banner {
  background: #111211;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 80px 60px 60px;
  margin: 20px 0 60px;
  position: relative;
  overflow: hidden;
}

.fw-d2-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fw-d2-title {
  font-size: clamp(40px, 6vw, 76px);
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.fw-d2-lead {
  font-size: clamp(18px, 2.2vw, 24px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-bottom: 40px;
}

.fw-d2-video-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
}

.fw-d2-video-wrap video,
.fw-d2-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* Storyboard Grid */
.fw-d2-storyboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 60px 0;
}

.fw-d2-tile {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.fw-d2-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.fw-d2-tile-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.fw-d2-tile-info {
  padding: 20px 24px;
}

.fw-d2-tile-info h4 {
  font-size: 18px;
  margin: 0 0 8px;
}

.fw-d2-tile-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Endorsement banner */
.fw-d2-quote-bar {
  background: var(--accent-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  margin: 60px 0;
  text-align: center;
}

.fw-d2-quote-bar blockquote {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  font-style: italic;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.35;
}

.fw-d2-quote-bar cite {
  font-size: 15px;
  font-weight: 600;
  color: #333330;
  font-style: normal;
}

/* Responsive */
@media (max-width: 991px) {
  .fw-d1-feature-row,
  .fw-d1-feature-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
  }
  .fw-d2-hero-banner {
    padding: 50px 30px;
  }
}

@media (max-width: 767px) {
  .fw-d1-meta-bar {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .fw-d2-quote-bar {
    padding: 36px 20px;
  }
}
