/* WDA – Agency Portfolio Showcase: extracted Portfolio Section layout */
.wda-portfolio-widget,
.wda-portfolio-widget * {
  box-sizing: border-box;
}
.wda-portfolio-widget {
  --wda-primary: var(--e-global-color-primary, #0057ff);
  --wda-secondary: var(--e-global-color-accent, var(--e-global-color-secondary, #ff4d1c));
  --wda-accent: var(--e-global-color-accent, #ff4d1c);
  --wda-text: var(--e-global-color-text, #0a0a0a);
  --wda-bg: var(--e-global-color-background, #fafafa);
  --wda-surface: rgba(10, 10, 10, 0.06);
  --wda-muted: rgba(10, 10, 10, 0.55);
  --wda-border: rgba(10, 10, 10, 0.10);
  --wda-image-meta: rgba(255, 255, 255, 0.82);
  --wda-image-meta-muted: rgba(255, 255, 255, 0.65);
  --wda-font-body: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wda-font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 8rem 0;
  border-top: 0.5px solid var(--wda-border);
  background: var(--wda-bg);
  color: var(--wda-text);
  font-family: var(--wda-font-body);
}


.wda-legacy-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .wda-portfolio-widget { padding: 12rem 0; }
  

.wda-legacy-container { padding: 0 3rem; }
}
.wda-w-label {
  font-family: var(--wda-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--wda-primary);
  display: block;
  margin-bottom: 1.5rem;
}
.wda-w-heading {
  font-size: clamp(2rem, 5vw, 64px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--wda-text);
  margin: 0;
}
.wda-w-heading .dim { color: var(--wda-secondary); }
.wda-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.wda-reveal.wda-visible,
.elementor-editor-active .wda-reveal {
  opacity: 1;
  transform: translateY(0);
}
.wda-portfolio-header {
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .wda-portfolio-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.wda-portfolio-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wda-primary);
  font-family: var(--wda-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}
.wda-portfolio-all-link:hover,
.wda-portfolio-all-link:focus { color: var(--wda-secondary); text-decoration: none; }
.wda-inline-arrow { width: 1em; height: 1em; flex: 0 0 auto; }
.wda-projects-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media (min-width: 768px) { .wda-projects-list { gap: 8rem; } }
.wda-project-card { position: relative; cursor: pointer; }
.wda-project-card a,
.wda-project-card a:hover,
.wda-project-card a:focus { text-decoration: none; }
.wda-project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--wda-surface);
}
.wda-project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9);
  display: block;
}
.wda-project-card:hover .wda-project-img-wrap img {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.wda-project-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--wda-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wda-project-placeholder span {
  color: var(--wda-muted);
  font-size: 0.75rem;
  font-family: var(--wda-font-mono);
}
.wda-project-hover-circle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.wda-project-card:hover .wda-project-hover-circle { opacity: 1; }
.wda-project-hover-inner {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--wda-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.wda-project-card:hover .wda-project-hover-inner { transform: scale(1); }
.wda-project-hover-inner span {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.wda-project-meta {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  z-index: 3;
}
.wda-project-category {
  font-family: var(--wda-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--wda-image-meta);
}
.wda-project-year {
  font-family: var(--wda-font-mono);
  font-size: 0.75rem;
  color: var(--wda-image-meta-muted);
}
.wda-project-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
}
.wda-project-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--wda-text);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
@media (min-width: 768px) { .wda-project-title { font-size: 2.25rem; } }
.wda-project-desc {
  color: var(--wda-muted);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
  max-width: 28rem;
  line-height: 1.5;
}
.wda-project-kpis {
  display: none;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}
@media (min-width: 768px) { .wda-project-kpis { display: flex; } }
.wda-project-kpi { text-align: right; }
.wda-kpi-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wda-secondary);
  margin: 0;
  line-height: 1;
}
.wda-kpi-val.bronze { color: var(--wda-primary); }
.wda-kpi-lbl {
  font-family: var(--wda-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--wda-muted);
  margin: 0.35rem 0 0;
}
@media (max-width: 767px) {
  .wda-project-bottom { align-items: flex-start; flex-direction: column; }
  .wda-project-meta { top: 1rem; left: 1rem; right: 1rem; }
  .wda-project-category, .wda-project-year { font-size: 0.65rem; }
}
