/* ============================================================
   Case Studies hub styles
   Upload to: /wp-content/themes/neve-child/css/case-studies-page.css
   Scoped under .lcs. Cards follow the blog grid: white card,
   8px radius, light shadow, 3:2 image on top.
   ============================================================ */
.lcs {
  --pd: #D84315;
  --pdd: #BF360C;
  --link: #b23a10;
  --green: #81c784;
  --ink: #1b1f24;
  --muted: #4f5963;
  --dark: #14181d;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}
.lcs *, .lcs *::before, .lcs *::after { box-sizing: border-box; }

.lcs-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.lcs-hero { padding: 72px 0 32px; }
.lcs-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pd); margin: 0 0 14px; }
.lcs h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 800; }
.lcs-intro { max-width: 720px; font-size: 1.12rem; color: var(--muted); }
.lcs-intro p { margin: 0 0 12px; }
.lcs-intro p:last-child { margin-bottom: 0; }

/* Grid */
.lcs-section { padding: 24px 0 88px; }
.lcs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 960px) { .lcs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lcs-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .lcs-hero { padding: 48px 0 24px; } }

/* Card */
.lcs-card { background: #fff; border-radius: 8px; box-shadow: 0 0 2px rgba(0, 0, 0, 0.15); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.lcs-card:hover { box-shadow: 0 6px 24px rgba(20, 24, 29, 0.12); transform: translateY(-2px); }
.lcs-thumb { display: block; aspect-ratio: 3 / 2; background: var(--dark); overflow: hidden; }
.lcs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcs-body { padding: 22px 25px 25px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcs-label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lcs-title { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; }
.lcs-title a { color: var(--ink); text-decoration: none; }
.lcs-title a:hover { color: var(--pdd); }
.lcs-metric { margin: 0; align-self: flex-start; font-weight: 700; font-size: 0.95rem; line-height: 1.3; color: #fff; background: var(--pdd); padding: 5px 12px; border-radius: 999px; }
.lcs-excerpt { margin: 0; color: var(--muted); font-size: 16px; }
.lcs-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--link); text-decoration: none; }
.lcs-more:hover { text-decoration: underline; }
.lcs-empty { color: var(--muted); }

/* CTA band */
.lcs-cta { background: var(--green); padding: 64px 0; }
.lcs-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.lcs-cta h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; font-weight: 700; color: var(--dark); }
.lcs-cta p { margin: 0; color: var(--dark); max-width: 560px; }
.lcs-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lcs-btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; text-align: center; transition: background 0.15s ease, color 0.15s ease; }
.lcs-btn-dark { background: var(--dark); color: #fff; }
.lcs-btn-dark:hover, .lcs-btn-dark:focus { background: #000; color: #fff; }
.lcs-btn-outline { border-color: var(--dark); color: var(--dark); }
.lcs-btn-outline:hover, .lcs-btn-outline:focus { background: var(--dark); color: #fff; }
