/* =========================================================================
   template-parts/section-agency-case-studies.php
   Moved out of the partial's inline <style id="wlcs-css"> on the owner's
   instruction, 10 Sep 2026. en_print_css() (inc/css-loader.php) prints this
   file's <link> where the <style> used to be, once per page, so every page
   that renders this section shares this one file.
   ========================================================================= */

.wlcs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-fluid-md);
}

.wlcs-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.wlcs-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
}

.wlcs-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  font-family: var(--font-label);
  font-size: var(--fs-eyebrow);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-5);
}

.wlcs-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}

.wlcs-card h3 {
  font-size: var(--fs-card-title);
  font-weight: 800;
  line-height: var(--lh-subhead);
  letter-spacing: -0.01em;
  color: var(--text-heading);
  margin: 0 0 var(--space-3);
}

.wlcs-summary {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  color: var(--text-body);
  margin: 0 0 var(--space-5);
  flex-grow: 1;
}

.wlcs-metrics {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px dashed var(--border-default);
  margin-bottom: var(--space-5);
}

.wlcs-metric-value {
  font-size: var(--fs-title-sm);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--brand-500);
}

.wlcs-metric-label {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.wlcs-nda {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--text-muted);
  margin-top: auto;
}

.wlcs-nda svg { flex-shrink: 0; color: var(--brand-500); }

.wlcs-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.wlcs-link svg { transition: transform var(--duration-fast) var(--ease-out); }
.wlcs-link:hover { color: var(--brand-500); }
.wlcs-link:hover svg { transform: translateX(4px); }

@media (max-width: 991px) { .wlcs-grid { grid-template-columns: 1fr; } }
