/* ============================================================================
   DWDG Energy v6.3 — Single source of truth.
   Aligned with homepage typography (h2 clamp(2rem,3.6vw,3rem), --section pad).
   All publication CSS scoped to .dwdg-energy-publications (no homepage leak).
   ============================================================================ */

/* ── 1. TOKENS & GLOBAL WRAP ─────────────────────────────────────────────── */
.dwdg-energy-page,
.dwdg-energy-hero,
.dwdg-energy-expertise,
.dwdg-energy-experts,
.dwdg-energy-projects,
.dwdg-energy-publications,
.dwdg-energy-insights,
.dwdg-energy-contact {
  --dwdg-energy-max:        1480px;
  --dwdg-energy-pad:        clamp(20px, 3.4vw, 56px);
  --dwdg-energy-paper:      #fffdf8;
  --dwdg-energy-soft:       #f1ece6;
  --dwdg-energy-soft-2:     #ece6df;
  --dwdg-energy-ink:        #0c0d0b;
  --dwdg-energy-muted:      #4a4b46;
  --dwdg-energy-green:      #12c95f;
  --dwdg-energy-green-soft: #d9f7e6;
  --dwdg-energy-green-deep: #0aa04b;
  --dwdg-energy-radius:     22px;
  --dwdg-energy-pill:       999px;
  --dwdg-energy-shadow:     0 12px 30px rgba(20,14,9,.06);
  --dwdg-energy-glass:      rgba(255,255,255,.55);
  --dwdg-energy-glass-deep: rgba(255,255,255,.72);
}

.dwdg-energy-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--dwdg-energy-paper);
}
.dwdg-energy-page > * { max-width: none; }

.dwdg-energy-wrap {
  width: min(100% - 2 * var(--dwdg-energy-pad), var(--dwdg-energy-max));
  margin-inline: auto;
}

/* Section titles aligned to homepage h2 (clamp(2rem, 3.6vw, 3rem), -0.045em) */
.dwdg-energy-hero .dwdg-energy-section-title,
.dwdg-energy-expertise .dwdg-energy-section-title,
.dwdg-energy-experts .dwdg-energy-section-title,
.dwdg-energy-projects .dwdg-energy-section-title,
.dwdg-energy-projects .section-heading h2,
.dwdg-energy-publications .section-heading h2,
.dwdg-energy-insights .dwdg-energy-section-title,
.dwdg-energy-insights .section-heading h2 {
  display: block;
  color: var(--dwdg-energy-ink);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0 0 clamp(24px, 3vw, 40px);
}


/* ── 2. HERO ─────────────────────────────────────────────────────────────── */
.dwdg-energy-hero {
  background: var(--dwdg-energy-paper);
  padding-top:    clamp(110px, 12vw, 170px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.dwdg-energy-hero__head { margin-bottom: clamp(40px, 5vw, 64px); }
.dwdg-energy-hero__title {
  color: var(--dwdg-energy-ink);
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 800;
  margin: 0;
}
.dwdg-energy-hero__subtitle {
  max-width: 660px;
  color: var(--dwdg-energy-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.42;
  letter-spacing: -.018em;
  font-weight: 500;
  margin: clamp(28px, 3.4vw, 42px) 0 0;
}
.dwdg-energy-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #d9d7d0;
  isolation: isolate;
}
.dwdg-energy-hero__media img,
.dwdg-energy-hero__media video {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: var(--dwdg-energy-object-position, center center);
}
.dwdg-energy-hero__curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 38%;
  pointer-events: none;
  z-index: 2;
  display: block;
}
.dwdg-energy-hero__curve path { fill: var(--dwdg-energy-paper); }
.dwdg-energy-hero__copy {
  width: min(58%, 640px);
  margin: clamp(28px, 3.4vw, 48px) 0 0 auto;
}
.dwdg-energy-hero__copy p {
  color: var(--dwdg-energy-ink);
  font-size: clamp(.95rem, 1.18vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -.015em;
  margin: 0;
}
.dwdg-energy-hero__copy p + p { margin-top: clamp(16px, 2vw, 24px); }
.dwdg-energy-hero__copy strong {
  color: var(--dwdg-energy-green);
  font-weight: 500;
}


/* ── 3. EXPERTISE — simple 3 × 2 grid ────────────────────────────────────── */
.dwdg-energy-expertise {
  background: var(--dwdg-energy-soft);
  padding-block: clamp(72px, 9vw, 128px);
}
.dwdg-energy-expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.dwdg-energy-expertise__card {
  background: #fff;
  border-radius: var(--dwdg-energy-radius);
  box-shadow: var(--dwdg-energy-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dwdg-energy-expertise__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  background: #d9d7d0;
  overflow: hidden;
}
.dwdg-energy-expertise__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dwdg-energy-expertise__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 28px);
  flex: 1 1 auto;
}
.dwdg-energy-expertise__title {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0;
}
.dwdg-energy-expertise__desc {
  color: var(--dwdg-energy-muted);
  font-size: clamp(.88rem, 1.05vw, .98rem);
  line-height: 1.45;
  letter-spacing: -.012em;
  margin: 0;
}


/* ── 4. EXPERTS — carousel with prev + next ──────────────────────────────── */
.dwdg-energy-experts {
  background: var(--dwdg-energy-paper);
  padding-block: clamp(72px, 9vw, 128px);
}
.dwdg-energy-experts__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.dwdg-energy-experts__head .dwdg-energy-section-title { margin: 0; }
.dwdg-energy-experts__shell {
  position: relative;
  display: grid;
  grid-template-columns: clamp(36px, 3.4vw, 52px) 1fr clamp(36px, 3.4vw, 52px);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}
.dwdg-energy-experts__track {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  min-width: 0;
}
.dwdg-energy-experts__track::-webkit-scrollbar { display: none; }
.dwdg-energy-experts__card {
  flex: 0 0 calc((100% - 3 * clamp(24px, 3vw, 48px)) / 4);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.dwdg-energy-experts__photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #efeee9;
  margin: 0 0 clamp(14px, 1.6vw, 18px);
}
.dwdg-energy-experts__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.dwdg-energy-experts__name {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 6px;
}
.dwdg-energy-experts__role {
  color: var(--dwdg-energy-green);
  font-size: clamp(.85rem, 1vw, .95rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 14px;
}
.dwdg-energy-experts__bio {
  color: var(--dwdg-energy-ink);
  font-size: clamp(.85rem, 1vw, .95rem);
  line-height: 1.42;
  letter-spacing: -.012em;
  margin: 0 0 18px;
}
.dwdg-energy-experts__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-green);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: -.012em;
  text-decoration: none;
  transition: background .2s;
}
.dwdg-energy-experts__more:hover { background: var(--dwdg-energy-green-deep); }
.dwdg-energy-experts__nav {
  align-self: center;
  width: clamp(36px, 3.4vw, 52px);
  height: clamp(36px, 3.4vw, 52px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--dwdg-energy-green);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: color .2s, opacity .2s, transform .2s;
}
.dwdg-energy-experts__nav:hover { color: var(--dwdg-energy-green-deep); }
.dwdg-energy-experts__nav--prev { justify-self: end; }
.dwdg-energy-experts__nav--next { justify-self: start; }
.dwdg-energy-experts__nav[aria-disabled="true"] {
  opacity: .25;
  cursor: default;
  pointer-events: none;
}


/* ── 5. PROJECTS ─────────────────────────────────────────────────────────── */
.dwdg-energy-projects {
  background: var(--dwdg-energy-soft);
  padding-block: clamp(72px, 9vw, 128px);
}
.dwdg-energy-projects .work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}
.dwdg-energy-projects .work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(220px, 22vw, 290px);
  overflow: hidden;
  border-radius: var(--dwdg-energy-radius);
  background: #fff;
  box-shadow: var(--dwdg-energy-shadow);
  padding: 0;
  margin: 0;
  gap: 0;
}
.dwdg-energy-projects .work-card-reverse .work-media { order: 2; }
.dwdg-energy-projects .work-card-reverse .work-copy { order: 1; }
.dwdg-energy-projects .work-card .work-media {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
}
.dwdg-energy-projects .work-card .work-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dwdg-energy-projects .work-card .work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 48px) clamp(28px, 3.6vw, 52px);
  gap: clamp(10px, 1.2vw, 14px);
  background: #fff;
}
.dwdg-energy-projects .work-card .work-copy h3 {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0;
}
.dwdg-energy-projects .work-card .work-copy p {
  color: var(--dwdg-energy-muted);
  font-size: clamp(.85rem, 1vw, .95rem);
  line-height: 1.45;
  letter-spacing: -.012em;
  margin: 0;
  max-width: 460px;
}
.dwdg-energy-projects .work-card .work-copy .button {
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-green);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
}
.dwdg-energy-projects .work-card .work-copy .button:hover {
  background: var(--dwdg-energy-green-deep);
}
.dwdg-energy-projects .work-card .work-media .eyebrow {
  position: absolute;
  top: clamp(14px, 1.6vw, 20px);
  left: clamp(14px, 1.6vw, 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-glass-deep);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--dwdg-energy-ink);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 12px rgba(20,14,9,.06);
}


/* ── 6. PUBLICATIONS — strictly scoped to Energy ─────────────────────────── */
.dwdg-energy-publications {
  background: var(--dwdg-energy-soft);
  padding-block: clamp(20px, 3vw, 48px) clamp(72px, 9vw, 128px);
}
.dwdg-energy-publications .dwdg-pub-slider__track { position: relative; }
.dwdg-energy-publications .publication-card {
  display: none;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  align-items: center;
  min-height: clamp(280px, 28vw, 380px);
  background: rgba(255,255,255,.55);
  border-radius: var(--dwdg-energy-radius);
  padding: clamp(28px, 3.5vw, 52px) clamp(36px, 4.5vw, 72px);
  box-shadow: var(--dwdg-energy-shadow);
  gap: clamp(28px, 4vw, 64px);
}
.dwdg-energy-publications .publication-card.active { display: grid; }
.dwdg-energy-publications .report-preview {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.dwdg-energy-publications .report-preview img,
.dwdg-energy-publications .report-cover-media img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(20,14,9,.14);
  background: #fff;
}
.dwdg-energy-publications .publication-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 30px);
}
.dwdg-energy-publications .publication-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-green-soft);
  color: var(--dwdg-energy-green-deep);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
}
.dwdg-energy-publications .publication-copy h3 {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -.028em;
  font-weight: 700;
  margin: 0;
  max-width: 520px;
}
.dwdg-energy-publications .publication-copy .button {
  padding: 9px 22px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-green);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.dwdg-energy-publications .publication-copy .button:hover {
  background: var(--dwdg-energy-green-deep);
}
.dwdg-energy-publications .dwdg-pub-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(24px, 3vw, 36px);
}
.dwdg-energy-publications .dwdg-pub-slider__btn {
  width: clamp(40px, 3.6vw, 52px);
  height: clamp(40px, 3.6vw, 52px);
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--dwdg-energy-ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.dwdg-energy-publications .dwdg-pub-slider__btn:hover {
  background: var(--dwdg-energy-glass-deep);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.dwdg-energy-publications .dwdg-pub-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dwdg-energy-publications .dwdg-pub-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dwdg-energy-soft-2);
  display: inline-block;
  transition: background .2s;
  cursor: pointer;
}
.dwdg-energy-publications .dwdg-pub-slider__dot.active {
  background: var(--dwdg-energy-green);
}


/* ── 7. INSIGHTS — glassmorphism title pill, text centered ───────────────── */
.dwdg-energy-insights {
  background: var(--dwdg-energy-paper);
  padding-block: clamp(72px, 9vw, 128px);
}
.dwdg-energy-insights .insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.dwdg-energy-insights .insight-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--dwdg-energy-radius);
  background: #d8d5cc;
  box-shadow: var(--dwdg-energy-shadow);
  aspect-ratio: .85 / 1;
  margin: 0;
  padding: 0;
}
.dwdg-energy-insights .insight-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Glassmorphism eyebrow */
.dwdg-energy-insights .insight-card .eyebrow {
  position: absolute;
  top: clamp(14px, 1.6vw, 22px);
  left: clamp(14px, 1.6vw, 22px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-glass-deep);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--dwdg-energy-ink);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: 0;
}
.dwdg-energy-insights .insight-card .insight-copy {
  position: absolute;
  left: clamp(14px, 1.6vw, 22px);
  right: clamp(14px, 1.6vw, 22px);
  bottom: clamp(14px, 1.6vw, 22px);
  z-index: 2;
}
.dwdg-energy-insights .insight-card .insight-copy h3 {
  background: var(--dwdg-energy-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--dwdg-energy-ink);
  padding: clamp(12px, 1.3vw, 16px) clamp(14px, 1.6vw, 20px);
  border-radius: 18px;
  font-size: clamp(.92rem, 1.1vw, 1.05rem);
  line-height: 1.25;
  letter-spacing: -.022em;
  font-weight: 500;
  margin: 0;
  box-shadow: 0 6px 16px rgba(20,14,9,.06);
  text-align: center;
}
.dwdg-energy-insights .insight-card .insight-copy h3 a {
  color: inherit;
  text-decoration: none;
}


/* ── 8. CONTACT — full-bleed, larger photo flush bottom, tighter layout ──── */
.dwdg-energy-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg,
    #eafff4 0%,
    #d2f7e0 22%,
    #8cebb4 55%,
    #18c95f 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: 0;
}
.dwdg-energy-contact__inner {
  width: min(100% - 2 * var(--dwdg-energy-pad), var(--dwdg-energy-max));
  margin-inline: auto;
  min-height: clamp(560px, 52vw, 720px);
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: end;
  padding: 0;
}
.dwdg-energy-contact__photo {
  align-self: end;
  justify-self: start;
  width: 100%;
  max-width: 620px;
  height: clamp(540px, 54vw, 720px);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.dwdg-energy-contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  display: block;
}
.dwdg-energy-contact__photo.is-empty {
  height: clamp(280px, 30vw, 360px);
  background: rgba(255,255,255,.25);
  border-radius: 28px 28px 0 0;
  align-items: center;
  justify-content: center;
}
.dwdg-energy-contact__body {
  align-self: center;
  max-width: 720px;
  padding-block: clamp(60px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 22px);
}
.dwdg-energy-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-glass-deep);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--dwdg-energy-ink);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: -.012em;
  margin: 0;
  box-shadow: 0 6px 16px rgba(20,14,9,.06);
}
.dwdg-energy-contact__body h2 {
  color: var(--dwdg-energy-ink);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0;
}
.dwdg-energy-contact__body strong {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.2;
  letter-spacing: -.022em;
  font-weight: 500;
  margin: 0;
}
.dwdg-energy-contact__body p {
  color: rgba(12,13,11,.92);
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
  line-height: 1.55;
  letter-spacing: -.012em;
  max-width: 680px;
  margin: 0;
}
.dwdg-energy-contact__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--dwdg-energy-ink);
  font-size: clamp(.92rem, 1.08vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  margin-top: 8px;
}
.dwdg-energy-contact__email svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #fff;
  color: var(--dwdg-energy-ink);
  box-shadow: 0 6px 14px rgba(20,14,9,.08);
}


/* ── 9. RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dwdg-energy-page,
  .dwdg-energy-hero,
  .dwdg-energy-expertise,
  .dwdg-energy-experts,
  .dwdg-energy-projects,
  .dwdg-energy-publications,
  .dwdg-energy-insights,
  .dwdg-energy-contact { --dwdg-energy-pad: clamp(20px, 3.5vw, 40px); }
  .dwdg-energy-expertise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dwdg-energy-experts__card { flex: 0 0 calc((100% - clamp(24px, 3vw, 48px)) / 2); }
  .dwdg-energy-hero__copy { width: 70%; }
}

@media (max-width: 768px) {
  .dwdg-energy-page,
  .dwdg-energy-hero,
  .dwdg-energy-expertise,
  .dwdg-energy-experts,
  .dwdg-energy-projects,
  .dwdg-energy-publications,
  .dwdg-energy-insights,
  .dwdg-energy-contact { --dwdg-energy-pad: 20px; }
  .dwdg-energy-hero__title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .dwdg-energy-hero__media { aspect-ratio: 1.6 / 1; border-radius: 14px; }
  .dwdg-energy-hero__copy { width: 100%; }

  .dwdg-energy-expertise__grid { grid-template-columns: 1fr; }
  .dwdg-energy-experts__card { flex: 0 0 100%; }
  .dwdg-energy-experts__shell { grid-template-columns: 1fr; }
  .dwdg-energy-experts__nav { display: none; }

  .dwdg-energy-projects .work-card,
  .dwdg-energy-projects .work-card-reverse {
    grid-template-columns: 1fr;
  }
  .dwdg-energy-projects .work-card-reverse .work-media,
  .dwdg-energy-projects .work-card-reverse .work-copy { order: initial; }
  .dwdg-energy-projects .work-card .work-media { min-height: 200px; }

  .dwdg-energy-publications .publication-card { grid-template-columns: 1fr; padding: clamp(20px, 5vw, 32px); }

  .dwdg-energy-insights .insight-grid { grid-template-columns: 1fr; }
  .dwdg-energy-insights .insight-card { aspect-ratio: 1.2 / 1; }

  .dwdg-energy-contact__inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .dwdg-energy-contact__photo {
    order: 2;
    justify-self: center;
    height: 420px;
    max-width: 340px;
  }
  .dwdg-energy-contact__photo img { object-position: bottom center; }
  .dwdg-energy-contact__body {
    order: 1;
    padding-block: clamp(40px, 8vw, 56px) 0;
  }
}


/* ============================================================================
   Single post + Single expert detail pages.
   ============================================================================ */

.dwdg-single,
.dwdg-expert {
  --dwdg-energy-max:        1480px;
  --dwdg-energy-pad:        clamp(20px, 3.4vw, 56px);
  --dwdg-energy-paper:      #fffdf8;
  --dwdg-energy-soft:       #f1ece6;
  --dwdg-energy-ink:        #0c0d0b;
  --dwdg-energy-muted:      #4a4b46;
  --dwdg-energy-green:      #12c95f;
  --dwdg-energy-green-deep: #0aa04b;
  --dwdg-energy-radius:     22px;
  --dwdg-energy-pill:       999px;
  background: var(--dwdg-energy-paper);
  padding-top:    clamp(110px, 12vw, 170px);
  padding-bottom: clamp(72px, 9vw, 128px);
  color: var(--dwdg-energy-ink);
}
.dwdg-single__wrap,
.dwdg-expert__wrap {
  width: min(100% - 2 * var(--dwdg-energy-pad), var(--dwdg-energy-max));
  margin-inline: auto;
}

.dwdg-single__head { margin-bottom: clamp(32px, 4vw, 52px); }
.dwdg-single__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: var(--dwdg-energy-pill);
  background: var(--dwdg-energy-green);
  color: #fff;
  font-size: .76rem;
  font-weight: 500;
}
.dwdg-single__title {
  color: var(--dwdg-energy-ink);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
  margin: 0;
  max-width: 1000px;
}
.dwdg-single__hero {
  margin: 0 0 clamp(40px, 5vw, 72px);
  border-radius: var(--dwdg-energy-radius);
  overflow: hidden;
  max-height: 540px;
}
.dwdg-single__hero img {
  width: 100%; height: auto; display: block; object-fit: cover;
}
.dwdg-single__body {
  max-width: 760px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--dwdg-energy-muted);
}
.dwdg-single__body p { margin: 0 0 1em; }
.dwdg-single__body h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -.025em;
  color: var(--dwdg-energy-ink);
  margin: 1.5em 0 .5em;
}
.dwdg-single__nav {
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(20,14,9,.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dwdg-single__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  padding: 10px 18px;
  border-radius: var(--dwdg-energy-pill);
  background: transparent;
  border: 1.5px solid rgba(20,14,9,.12);
  color: var(--dwdg-energy-ink);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.dwdg-single__nav-link:hover {
  border-color: var(--dwdg-energy-green);
  background: rgba(18,201,95,.06);
}
.dwdg-single__nav-link--next { margin-left: auto; }
.dwdg-single__nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Expert detail page */
.dwdg-expert__top {
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
  margin-bottom: clamp(64px, 7vw, 96px);
}
.dwdg-expert__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  border-radius: var(--dwdg-energy-radius);
  overflow: hidden;
  background: #efeee9;
}
.dwdg-expert__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.dwdg-expert__media-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 800;
  color: rgba(20,14,9,.18);
}
.dwdg-expert__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: clamp(20px, 3vw, 36px);
}
.dwdg-expert__name {
  color: var(--dwdg-energy-ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
  margin: 0;
}
.dwdg-expert__role {
  color: var(--dwdg-energy-green);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.dwdg-expert__bio {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.6;
  letter-spacing: -.012em;
  margin: 0 0 12px;
  max-width: 720px;
}
.dwdg-expert__bio p { margin: 0 0 1em; }
.dwdg-expert__bio p:last-child { margin-bottom: 0; }
.dwdg-expert__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--dwdg-energy-ink);
  font-size: clamp(.92rem, 1.08vw, 1rem);
  font-weight: 500;
  text-decoration: none;
}
.dwdg-expert__email svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #fff;
  color: var(--dwdg-energy-ink);
  box-shadow: 0 6px 14px rgba(20,14,9,.08);
}

.dwdg-expert__related-title {
  color: var(--dwdg-energy-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.dwdg-expert__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.dwdg-expert__related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: transform .2s;
}
.dwdg-expert__related-card:hover { transform: translateY(-2px); }
.dwdg-expert__related-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #efeee9;
  margin: 0 0 14px;
}
.dwdg-expert__related-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.dwdg-expert__related-name {
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--dwdg-energy-ink);
  margin: 0 0 4px;
}
.dwdg-expert__related-role {
  font-size: clamp(.82rem, .98vw, .92rem);
  color: var(--dwdg-energy-green);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .dwdg-single,
  .dwdg-expert { --dwdg-energy-pad: 20px; }
  .dwdg-expert__top { grid-template-columns: 1fr; }
  .dwdg-expert__media { max-width: 320px; }
  .dwdg-expert__related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dwdg-expert__related-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   DWDG Energy v6.4 — refinement pass from Figma/PDF feedback.
   Goals: aligned carousel, visible arrows, compact homepage-like projects,
   smaller contact block, non-zoomed expert portraits, faithful video curve.
   ============================================================================ */

.dwdg-energy-page,
.dwdg-energy-hero,
.dwdg-energy-expertise,
.dwdg-energy-experts,
.dwdg-energy-projects,
.dwdg-energy-publications,
.dwdg-energy-insights,
.dwdg-energy-contact {
  --dwdg-energy-max: 1180px;
  --dwdg-energy-wide: 1320px;
  --dwdg-energy-pad: clamp(24px, 4vw, 64px);
  font-family: var(--wp--preset--font-family--inter, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

.dwdg-energy-wrap {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), var(--dwdg-energy-max));
  max-width: var(--dwdg-energy-max);
}

.dwdg-energy-hero .dwdg-energy-wrap { max-width: var(--dwdg-energy-wide); }
.dwdg-energy-hero__head { max-width: var(--dwdg-energy-wide); }
.dwdg-energy-hero__media { aspect-ratio: 2.35 / 1; border-radius: 26px 26px 0 0; }
.dwdg-energy-hero__curve { height: 34%; }
.dwdg-energy-hero__copy { width: min(58%, 610px); margin-top: clamp(30px, 3.2vw, 44px); margin-right: clamp(20px, 8vw, 170px); }
.dwdg-energy-hero__copy p { font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.42; }
.dwdg-energy-hero__copy strong { color: var(--dwdg-energy-green); font-weight: 500; }

.dwdg-energy-experts { padding-block: clamp(64px, 7vw, 94px); }
.dwdg-energy-experts__head { margin-bottom: clamp(26px, 3vw, 42px); }
.dwdg-energy-experts__shell {
  display: block;
  position: relative;
}
.dwdg-energy-experts__track {
  gap: clamp(34px, 4.2vw, 58px);
  padding: 0 clamp(18px, 2vw, 26px) 4px 0;
}
.dwdg-energy-experts__card {
  flex: 0 0 calc((100% - 3 * clamp(34px, 4.2vw, 58px)) / 4);
  min-height: 0;
}
.dwdg-energy-experts__photo {
  width: min(100%, 158px);
  max-width: 158px;
  aspect-ratio: .88 / 1;
  border-radius: 18px;
  margin-bottom: clamp(14px, 1.4vw, 18px);
  background: #efeee9;
}
.dwdg-energy-experts__photo img {
  object-fit: contain;
  object-position: center bottom;
  background: #efeee9;
}
.dwdg-energy-experts__name { font-size: clamp(1.02rem, 1.12vw, 1.16rem); line-height: 1.04; margin-bottom: 7px; }
.dwdg-energy-experts__role { font-size: clamp(.86rem, .95vw, .96rem); margin-bottom: 14px; }
.dwdg-energy-experts__bio { font-size: clamp(.86rem, .95vw, .94rem); line-height: 1.36; margin-bottom: 18px; }
.dwdg-energy-experts__more { padding: 7px 18px; font-size: .86rem; }
.dwdg-energy-experts__nav {
  position: absolute;
  z-index: 5;
  top: 42%;
  transform: translateY(-50%);
  visibility: visible !important;
  opacity: 1;
  width: 42px;
  height: 42px;
  color: var(--dwdg-energy-green);
  background: transparent;
}
.dwdg-energy-experts__nav--prev { left: -56px; justify-self: auto; }
.dwdg-energy-experts__nav--next { right: -56px; justify-self: auto; }
.dwdg-energy-experts__nav[aria-disabled="true"] { opacity: .28; pointer-events: auto; }

.dwdg-energy-projects { padding-block: clamp(62px, 6.2vw, 86px); }
.dwdg-energy-projects .dwdg-energy-wrap { max-width: 1040px; }
.dwdg-energy-projects .section-heading { margin-bottom: clamp(20px, 2vw, 28px); }
.dwdg-energy-projects .work-list { gap: clamp(14px, 1.6vw, 18px); }
.dwdg-energy-projects .work-card {
  min-height: clamp(145px, 14vw, 176px);
  border-radius: 18px;
  box-shadow: none;
  background: rgba(255,255,255,.78);
}
.dwdg-energy-projects .work-card .work-copy {
  justify-content: center;
  padding: clamp(22px, 2.4vw, 34px) clamp(24px, 3vw, 42px);
  gap: 9px;
}
.dwdg-energy-projects .work-card .work-copy h3 {
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.12;
  letter-spacing: -.032em;
  max-width: 420px;
}
.dwdg-energy-projects .work-card .work-copy p {
  font-size: clamp(.82rem, .9vw, .9rem);
  line-height: 1.35;
  max-width: 430px;
}
.dwdg-energy-projects .work-card .work-copy .button {
  margin-top: 4px;
  padding: 7px 16px;
  font-size: .78rem;
}
.dwdg-energy-projects .work-card .work-media img { object-fit: cover; }
.dwdg-energy-projects .work-card .work-media .eyebrow {
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  font-size: .7rem;
}

.dwdg-energy-publications { padding-block: clamp(30px, 3vw, 46px) clamp(62px, 6.2vw, 86px); }
.dwdg-energy-publications .dwdg-energy-wrap { max-width: 1040px; }
.dwdg-energy-insights { padding-block: clamp(62px, 6.5vw, 92px); }
.dwdg-energy-insights .dwdg-energy-wrap { max-width: 1180px; }

.dwdg-energy-contact {
  min-height: 0;
  padding: 0;
}
.dwdg-energy-contact__inner {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), 1180px);
  min-height: clamp(340px, 34vw, 430px);
  grid-template-columns: minmax(270px, .42fr) minmax(0, .58fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.dwdg-energy-contact__photo {
  width: min(100%, 330px);
  max-width: 330px;
  height: clamp(310px, 32vw, 410px);
  justify-self: start;
  align-items: flex-end;
}
.dwdg-energy-contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  image-rendering: auto;
}
.dwdg-energy-contact__body {
  max-width: 620px;
  padding-block: clamp(52px, 6vw, 74px);
  gap: clamp(12px, 1.4vw, 18px);
}
.dwdg-energy-contact__body h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); }
.dwdg-energy-contact__body p { font-size: clamp(.9rem, 1vw, .98rem); line-height: 1.46; }
.dwdg-energy-contact__eyebrow { min-height: 32px; padding: 0 16px; font-size: .86rem; }

.dwdg-video-container {
  max-width: 1320px;
  width: min(calc(100% - 2 * var(--dwdg-energy-pad, clamp(24px, 4vw, 64px))), 1320px);
  margin: clamp(44px, 6vw, 80px) auto;
  padding-inline: 0;
}
.dwdg-video-container__frame {
  position: relative;
  border-radius: 26px 26px 0 0;
  aspect-ratio: 2.35 / 1;
  box-shadow: none;
  isolation: isolate;
}
.dwdg-video-container.is-rounded .dwdg-video-container__frame { border-radius: 26px 26px 0 0; }
.dwdg-video-container.has-slant .dwdg-video-container__frame { clip-path: none; }
.dwdg-video-container__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 34%;
  z-index: 2;
  pointer-events: none;
}
.dwdg-video-container__curve path { fill: var(--dwdg-energy-paper, #fffdf8); }

@media (max-width: 1240px) {
  .dwdg-energy-experts__nav--prev { left: -10px; }
  .dwdg-energy-experts__nav--next { right: -10px; }
  .dwdg-energy-experts__track { padding-inline: 48px; }
}

@media (max-width: 1024px) {
  .dwdg-energy-experts__card { flex-basis: calc((100% - clamp(34px, 4.2vw, 58px)) / 2); }
  .dwdg-energy-projects .work-card { min-height: 160px; }
}

@media (max-width: 768px) {
  .dwdg-energy-wrap,
  .dwdg-energy-hero .dwdg-energy-wrap { width: min(calc(100% - 40px), var(--dwdg-energy-max)); }
  .dwdg-energy-hero__media,
  .dwdg-video-container__frame { aspect-ratio: 1.55 / 1; border-radius: 18px 18px 0 0; }
  .dwdg-energy-hero__copy { width: 100%; margin-right: 0; }
  .dwdg-energy-experts__track { padding-inline: 0; }
  .dwdg-energy-experts__nav { display: inline-flex; top: auto; bottom: -58px; transform: none; }
  .dwdg-energy-experts__nav--prev { left: 0; }
  .dwdg-energy-experts__nav--next { right: 0; }
  .dwdg-energy-experts { padding-bottom: clamp(88px, 14vw, 120px); }
  .dwdg-energy-projects .work-card { min-height: 0; }
  .dwdg-energy-projects .work-card .work-media { min-height: 210px; }
  .dwdg-energy-contact__inner { grid-template-columns: 1fr; min-height: 0; }
  .dwdg-energy-contact__photo { order: 2; justify-self: center; width: 270px; height: 330px; }
  .dwdg-energy-contact__body { order: 1; padding-block: 42px 0; }
}

/* ============================================================================
   DWDG Energy v6.5 — precision pass.
   - Expert portraits fill their frames cleanly, without the floating/tiny effect.
   - Contact photo nearly matches the gradient frame height.
   - Video/Hero curve is stronger and closer to the reference mockup.
   - Other insights inherits the homepage card proportions and centered copy.
   - Sector pages keep using the same sector attribute logic for dynamic blocks.
   ============================================================================ */

/* EXPERTS: portrait integration fixed */
.dwdg-energy-experts__track {
  align-items: flex-start;
}
.dwdg-energy-experts__card {
  min-width: 0;
}
.dwdg-energy-experts__photo {
  width: min(100%, 180px);
  max-width: 180px;
  aspect-ratio: .86 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #efeee9;
  display: block;
  margin-bottom: clamp(16px, 1.7vw, 22px);
}
.dwdg-energy-experts__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #efeee9;
}
@media (min-width: 1024px) {
  .dwdg-energy-experts__card {
    flex-basis: calc((100% - 3 * clamp(30px, 3.8vw, 52px)) / 4);
  }
}

/* CONTACT: photo must almost take the full green frame height */
.dwdg-energy-contact__inner {
  min-height: clamp(390px, 34vw, 480px);
  grid-template-columns: minmax(300px, .44fr) minmax(0, .56fr);
  align-items: stretch;
}
.dwdg-energy-contact__photo {
  align-self: stretch;
  width: min(100%, 390px);
  max-width: 390px;
  height: auto;
  min-height: calc(clamp(390px, 34vw, 480px) - 8px);
  justify-self: start;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.dwdg-energy-contact__photo img {
  width: auto;
  height: min(100%, 456px);
  max-height: calc(clamp(390px, 34vw, 480px) - 6px);
  max-width: 100%;
  object-fit: contain;
  object-position: bottom left;
}
.dwdg-energy-contact__body {
  align-self: center;
  padding-block: clamp(44px, 5vw, 64px);
}
@media (max-width: 720px) {
  .dwdg-energy-contact__inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .dwdg-energy-contact__photo {
    order: 2;
    min-height: 300px;
    width: 260px;
    max-width: 72vw;
    justify-self: center;
  }
  .dwdg-energy-contact__photo img {
    height: 100%;
    max-height: 320px;
  }
  .dwdg-energy-contact__body {
    order: 1;
    padding-block: 42px 4px;
  }
}

/* HERO / VIDEO: stronger bottom curve */
.dwdg-energy-hero__curve,
.dwdg-video-container__curve {
  height: 44%;
}
.dwdg-energy-hero__media,
.dwdg-video-container__frame {
  border-radius: 26px 26px 0 0;
}

/* OTHER INSIGHTS: exact homepage component behavior, scoped to Energy sector pages */
.dwdg-energy-insights {
  padding-block: clamp(52px, 6vw, 78px);
}
.dwdg-energy-insights .dwdg-energy-wrap {
  max-width: 1180px;
}
.dwdg-energy-insights .insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.dwdg-energy-insights .insight-card {
  position: relative;
  display: flex;
  min-height: 300px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: var(--radius-lg, 24px);
  background: #dfe4dc;
  box-shadow: var(--shadow, 0 20px 55px rgba(20,14,9,.08));
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s cubic-bezier(.22,.61,.36,1);
}
.dwdg-energy-insights .insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover, 0 24px 70px rgba(20,14,9,.12));
}
.dwdg-energy-insights .insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 40%, rgba(0,0,0,.36));
}
.dwdg-energy-insights .insight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), filter .45s cubic-bezier(.22,.61,.36,1);
}
.dwdg-energy-insights .insight-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.06) brightness(1.02);
}
.dwdg-energy-insights .insight-card .eyebrow {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ink, #0c0d0b);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.dwdg-energy-insights .insight-card .insight-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  left: auto;
  right: auto;
  bottom: auto;
}
.dwdg-energy-insights .insight-card .insight-copy h3 {
  margin: 10px 0 0;
  min-height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: var(--radius-md, 16px);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ink, #0c0d0b);
  font-size: clamp(.94rem, 1.55vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 500;
  text-align: center;
  box-shadow: none;
}
.dwdg-energy-insights .insight-card .insight-copy h3 a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}
@media (max-width: 900px) {
  .dwdg-energy-insights .insight-grid {
    grid-template-columns: 1fr;
  }
  .dwdg-energy-insights .insight-card {
    min-height: 300px;
  }
}

/* ============================================================================
   DWDG Energy v6.6 — sector-template polish + locked image ratios
   ============================================================================ */
:root {
  --dwdg-type-h1: clamp(4.1rem, 7.6vw, 7rem);
  --dwdg-type-h2: clamp(2.65rem, 4.8vw, 4.7rem);
  --dwdg-type-lead: clamp(1.45rem, 2vw, 2rem);
  --dwdg-type-body: clamp(.98rem, 1.05vw, 1.08rem);
  --dwdg-type-small: clamp(.84rem, .92vw, .94rem);
  --dwdg-image-ratio: 4 / 5;
}

.dwdg-energy-hero__title { font-size: var(--dwdg-type-h1); line-height: .86; letter-spacing: -.075em; }
.dwdg-energy-section-title,
.dwdg-energy-insights .section-heading h2 { font-size: var(--dwdg-type-h2); line-height: .92; letter-spacing: -.07em; }
.dwdg-energy-hero__subtitle { font-size: var(--dwdg-type-lead); line-height: 1.12; letter-spacing: -.035em; }
.dwdg-energy-hero__copy p,
.dwdg-energy-contact__body p { font-size: var(--dwdg-type-body); }

/* Experts: the frame owns the ratio; any uploaded image keeps consistent proportions. */
.dwdg-energy-experts__photo {
  width: 100%;
  max-width: 210px;
  aspect-ratio: var(--dwdg-image-ratio);
  border-radius: 24px;
  background: #f1f0ec;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.dwdg-energy-experts__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.dwdg-energy-experts__name { font-size: clamp(1.08rem, 1.28vw, 1.28rem); line-height: 1.05; }
.dwdg-energy-experts__role { font-size: clamp(.94rem, 1.05vw, 1.08rem); }
.dwdg-energy-experts__bio { font-size: clamp(.88rem, .98vw, .98rem); line-height: 1.42; }

/* Contact: same locked 4:5 logic, centered automatically and almost full-height. */
.dwdg-energy-contact__inner {
  min-height: clamp(430px, 36vw, 540px);
  grid-template-columns: minmax(360px, .47fr) minmax(0, .53fr);
  align-items: stretch;
}
.dwdg-energy-contact__photo {
  align-self: stretch;
  justify-self: center;
  width: auto;
  height: calc(100% - clamp(34px, 4vw, 58px));
  min-height: 0;
  aspect-ratio: var(--dwdg-image-ratio);
  max-width: min(44vw, 430px);
  margin-top: clamp(26px, 3.2vw, 42px);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dwdg-energy-contact__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.dwdg-energy-contact__body {
  align-self: center;
  max-width: 690px;
  padding-block: clamp(48px, 5vw, 70px);
}
.dwdg-energy-contact__body h2 { font-size: clamp(2.25rem, 3.9vw, 4rem); line-height: .95; letter-spacing: -.065em; }
.dwdg-energy-contact__body strong { font-size: clamp(1.12rem, 1.55vw, 1.55rem); }
.dwdg-energy-contact__email { font-size: clamp(1.02rem, 1.35vw, 1.25rem); }

/* More pronounced Figma-style lower curve for hero/video media. */
.dwdg-energy-hero__curve,
.dwdg-video-container__curve { height: 50%; }
.dwdg-energy-hero__curve path,
.dwdg-video-container__curve path { fill: var(--dwdg-energy-paper, #fffdf8); }

/* Other insights: homepage dimensions + perfectly centered glass text. */
.dwdg-energy-insights .insight-card { min-height: 330px; border-radius: 28px; }
.dwdg-energy-insights .insight-card .insight-copy { padding: clamp(16px, 1.5vw, 20px); }
.dwdg-energy-insights .insight-card .insight-copy h3 {
  min-height: 96px;
  margin: 0;
  padding: 18px 22px;
  display: grid;
  place-items: center;
  text-align: center;
}
.dwdg-energy-insights .insight-card .insight-copy h3 a {
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  min-height: 100%;
}

@media (min-width: 1100px) {
  .dwdg-energy-experts__card { flex-basis: calc((100% - 3 * clamp(28px, 3.1vw, 44px)) / 4); }
  .dwdg-energy-experts__track { gap: clamp(28px, 3.1vw, 44px); }
}

@media (max-width: 900px) {
  .dwdg-energy-contact__inner { grid-template-columns: 1fr; min-height: 0; }
  .dwdg-energy-contact__photo {
    order: 2;
    width: min(78vw, 360px);
    height: auto;
    aspect-ratio: var(--dwdg-image-ratio);
    margin: 20px auto 0;
  }
  .dwdg-energy-contact__body { order: 1; padding-block: 42px 8px; }
  .dwdg-energy-experts__photo { max-width: 190px; }
}

/* ============================================================================
   v6.8 — fidelity pass: typography scale, publication cover, contact/expert images.
   Keep this block last: it intentionally overrides previous v6.x refinements.
   ============================================================================ */
.dwdg-energy-page,
.dwdg-energy-hero,
.dwdg-energy-expertise,
.dwdg-energy-experts,
.dwdg-energy-projects,
.dwdg-energy-publications,
.dwdg-energy-insights,
.dwdg-energy-contact {
  --dwdg-type-h1: clamp(3rem, 4.1vw, 4rem);
  --dwdg-type-h2: clamp(2.05rem, 3vw, 3rem);
  --dwdg-type-h3: clamp(1.25rem, 1.7vw, 1.55rem);
  --dwdg-type-body-lg: clamp(1.05rem, 1.28vw, 1.22rem);
  --dwdg-type-body: clamp(.94rem, 1.02vw, 1rem);
  --dwdg-type-small: clamp(.78rem, .84vw, .88rem);
  --dwdg-energy-max: 1180px;
  --dwdg-energy-wide: 1320px;
}

.dwdg-energy-hero { padding-top: clamp(116px, 11vw, 156px); }
.dwdg-energy-hero__title {
  font-size: var(--dwdg-type-h1) !important;
  line-height: .96;
  letter-spacing: -.058em;
  max-width: 980px;
}
.dwdg-energy-hero__subtitle {
  font-size: var(--dwdg-type-body-lg) !important;
  max-width: 760px;
  margin-top: clamp(26px, 3vw, 40px);
}
.dwdg-energy-hero__media { aspect-ratio: 2.42 / 1; }
.dwdg-energy-hero__curve { height: 39%; }
.dwdg-energy-hero__curve path { d: path('M0,240 L0,204 C250,172 535,68 1200,104 L1200,240 Z'); }
.dwdg-energy-hero__copy { width: min(55%, 600px); margin-right: clamp(24px, 8vw, 160px); }
.dwdg-energy-hero__copy p { font-size: var(--dwdg-type-body) !important; line-height: 1.46; }

.dwdg-energy-expertise .dwdg-energy-section-title,
.dwdg-energy-experts .dwdg-energy-section-title,
.dwdg-energy-projects .section-heading h2,
.dwdg-energy-publications .section-heading h2,
.dwdg-energy-insights .section-heading h2,
.dwdg-energy-insights .dwdg-energy-section-title {
  font-size: var(--dwdg-type-h2) !important;
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Experts: fixed 4:5 image frame. New portraits keep identical proportions. */
.dwdg-energy-experts__track { gap: clamp(30px, 3.6vw, 52px); padding-right: 0; }
.dwdg-energy-experts__card { flex-basis: calc((100% - 3 * clamp(30px, 3.6vw, 52px)) / 4); }
.dwdg-energy-experts__photo {
  width: min(100%, 178px) !important;
  max-width: 178px !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  border-radius: 22px !important;
  background: #efeee9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dwdg-energy-experts__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
.dwdg-energy-experts__name { font-size: clamp(1rem, 1.06vw, 1.12rem) !important; }
.dwdg-energy-experts__role,
.dwdg-energy-experts__bio { font-size: var(--dwdg-type-small) !important; }

/* Publications: same homepage-like cover proportion and left alignment. */
.dwdg-energy-publications { padding-block: clamp(54px, 6vw, 82px); }
.dwdg-energy-publications .dwdg-energy-wrap { max-width: 1180px !important; }
.dwdg-energy-publications .publication-card {
  grid-template-columns: minmax(250px, .38fr) minmax(0, .62fr) !important;
  min-height: clamp(360px, 30vw, 450px) !important;
  padding: clamp(42px, 4.5vw, 68px) clamp(50px, 5vw, 84px) !important;
  gap: clamp(46px, 5vw, 78px) !important;
  align-items: center;
}
.dwdg-energy-publications .report-preview {
  justify-content: flex-start;
  align-items: center;
}
.dwdg-energy-publications .report-cover-media {
  width: clamp(150px, 15vw, 205px);
  aspect-ratio: 340 / 480;
  display: block;
}
.dwdg-energy-publications .report-preview img,
.dwdg-energy-publications .report-cover-media img,
.dwdg-energy-publications .publication-cover-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 340 / 480;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}
.dwdg-energy-publications .publication-copy { align-items: flex-start; text-align: left; }
.dwdg-energy-publications .publication-copy h3 {
  font-size: var(--dwdg-type-h3) !important;
  line-height: 1.13;
  max-width: 620px;
}
.dwdg-energy-publications .publication-copy .button { font-size: .92rem; }

/* Contact: left visual area centered, ratio stable, photo nearly full height. */
.dwdg-energy-contact__inner {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), 1180px) !important;
  min-height: clamp(430px, 40vw, 560px) !important;
  grid-template-columns: minmax(360px, .46fr) minmax(0, .54fr) !important;
  gap: clamp(48px, 6vw, 92px) !important;
  align-items: center !important;
}
.dwdg-energy-contact__photo {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  height: clamp(390px, 38vw, 520px) !important;
  justify-self: center !important;
  align-self: center !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden;
}
.dwdg-energy-contact__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}
.dwdg-energy-contact__body { max-width: 620px; padding-block: clamp(56px, 5.5vw, 76px); }
.dwdg-energy-contact__body h2 { font-size: var(--dwdg-type-h2) !important; }
.dwdg-energy-contact__body strong { font-size: var(--dwdg-type-body-lg) !important; }
.dwdg-energy-contact__body p,
.dwdg-energy-contact__email { font-size: var(--dwdg-type-body) !important; }

/* Gutenberg preview: avoid serif fallback while editing server-side blocks. */
.editor-styles-wrapper .dwdg-energy-page,
.editor-styles-wrapper .dwdg-energy-hero,
.editor-styles-wrapper .dwdg-energy-expertise,
.editor-styles-wrapper .dwdg-energy-experts,
.editor-styles-wrapper .dwdg-energy-projects,
.editor-styles-wrapper .dwdg-energy-publications,
.editor-styles-wrapper .dwdg-energy-insights,
.editor-styles-wrapper .dwdg-energy-contact {
  font-family: var(--wp--preset--font-family--inter, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
}

@media (max-width: 1024px) {
  .dwdg-energy-experts__card { flex-basis: calc((100% - clamp(24px, 3vw, 40px)) / 2); }
  .dwdg-energy-contact__inner { grid-template-columns: 1fr 1fr !important; }
  .dwdg-energy-contact__photo { width: min(100%, 340px) !important; height: clamp(340px, 44vw, 460px) !important; }
}
@media (max-width: 768px) {
  .dwdg-energy-hero__title { font-size: clamp(2.4rem, 12vw, 3.1rem) !important; }
  .dwdg-energy-hero__copy { width: 100%; margin-right: 0; }
  .dwdg-energy-experts__card { flex-basis: 100%; }
  .dwdg-energy-publications .publication-card { grid-template-columns: 1fr !important; }
  .dwdg-energy-contact__inner { grid-template-columns: 1fr !important; }
  .dwdg-energy-contact__photo { order: 2; justify-self: center !important; }
  .dwdg-energy-contact__body { order: 1; }
}

/* ════════════════════════════════════════════════════════════════
   v7.0 — final fidelity pass: publication homepage dimensions,
   centered contact image, Gutenberg publish-safe page preview.
   ════════════════════════════════════════════════════════════════ */

/* Publications: same visual scale as homepage, not a full-width giant card. */
.dwdg-energy-publications {
  background: var(--dwdg-energy-soft) !important;
  padding-block: clamp(52px, 6vw, 78px) clamp(68px, 7vw, 96px) !important;
}
.dwdg-energy-publications .dwdg-energy-wrap {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), 980px) !important;
  max-width: 980px !important;
  margin-inline: auto !important;
}
.dwdg-energy-publications .section-heading {
  margin-bottom: clamp(24px, 3vw, 34px) !important;
}
.dwdg-energy-publications .section-heading h2 {
  font-size: var(--dwdg-type-h2) !important;
  line-height: .96 !important;
  letter-spacing: -.065em !important;
}
.dwdg-energy-publications .dwdg-pub-slider__track {
  position: relative !important;
  width: 100% !important;
}
.dwdg-energy-publications .publication-card,
.dwdg-energy-publications .publication-card.active {
  display: grid !important;
  grid-template-columns: minmax(245px, .42fr) minmax(0, .58fr) !important;
  align-items: center !important;
  width: 100% !important;
  min-height: clamp(330px, 30vw, 420px) !important;
  padding: clamp(38px, 4vw, 58px) clamp(42px, 4.6vw, 70px) !important;
  gap: clamp(36px, 4vw, 58px) !important;
  border: 1px solid rgba(20,14,9,.08) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 18px 50px rgba(20,14,9,.06) !important;
  overflow: hidden !important;
}
.dwdg-energy-publications .publication-card[aria-hidden="true"] {
  display: none !important;
}
.dwdg-energy-publications .report-preview {
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 70% 30%, rgba(18,201,95,.10), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,243,238,.94)) !important;
}
.dwdg-energy-publications .report-cover-media,
.dwdg-energy-publications .report-cover {
  width: clamp(150px, 15vw, 210px) !important;
  aspect-ratio: 340 / 480 !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 46px rgba(20,14,9,.15) !important;
}
.dwdg-energy-publications .report-preview img,
.dwdg-energy-publications .report-cover-media img,
.dwdg-energy-publications .publication-cover-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 8px !important;
}
.dwdg-energy-publications .publication-copy {
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  padding: 0 !important;
  background: transparent !important;
}
.dwdg-energy-publications .publication-copy .eyebrow {
  font-size: .78rem !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}
.dwdg-energy-publications .publication-copy h3 {
  max-width: 560px !important;
  font-size: clamp(1.85rem, 2.65vw, 2.8rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.055em !important;
  margin: 0 !important;
}
.dwdg-energy-publications .publication-copy .button {
  min-height: 46px !important;
  padding: 0 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.dwdg-energy-publications .dwdg-pub-slider__nav {
  margin-top: 22px !important;
}

/* Contact: image frame is centered automatically and keeps the same ratio on replacement. */
.dwdg-energy-contact__inner {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), 1180px) !important;
  min-height: clamp(500px, 41vw, 640px) !important;
  grid-template-columns: minmax(340px, .46fr) minmax(0, .54fr) !important;
  align-items: center !important;
  gap: clamp(52px, 6vw, 96px) !important;
}
.dwdg-energy-contact__photo {
  justify-self: center !important;
  align-self: center !important;
  width: min(100%, 450px) !important;
  max-width: 450px !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.dwdg-energy-contact__photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
.dwdg-energy-contact__body {
  align-self: center !important;
  padding-block: clamp(42px, 5vw, 70px) !important;
  max-width: 630px !important;
}

/* Editor: hide old classic page meta boxes if a browser cache still injects them. */
.editor-post-meta-boxes-area #dwdg_page_sector,
.editor-post-meta-boxes-area #dwdg_video {
  display: none !important;
}

@media (max-width: 900px) {
  .dwdg-energy-publications .publication-card,
  .dwdg-energy-publications .publication-card.active {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }
  .dwdg-energy-contact__inner {
    grid-template-columns: 1fr !important;
  }
  .dwdg-energy-contact__photo {
    order: 2 !important;
    width: min(74vw, 360px) !important;
  }
  .dwdg-energy-contact__body {
    order: 1 !important;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   v7.1 — sector-page final polish
   - Contact portrait reduced by ~50% and centered in left column.
   - Publications dimensions aligned to homepage card rhythm.
   - Extra admin hardening for cached legacy page metaboxes.
   ════════════════════════════════════════════════════════════════════════════ */
.dwdg-energy-contact__inner {
  min-height: clamp(420px, 34vw, 540px) !important;
  grid-template-columns: minmax(260px, .42fr) minmax(0, .58fr) !important;
  gap: clamp(56px, 7vw, 112px) !important;
}
.dwdg-energy-contact__photo {
  width: clamp(230px, 22vw, 315px) !important;
  max-width: 315px !important;
  aspect-ratio: 4 / 5 !important;
  justify-self: center !important;
  align-self: center !important;
  margin-inline: auto !important;
  background: transparent !important;
  overflow: hidden !important;
}
.dwdg-energy-contact__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.dwdg-energy-contact__body {
  padding-block: clamp(46px, 4.5vw, 64px) !important;
}

.dwdg-energy-publications .dwdg-energy-wrap {
  width: min(calc(100% - 2 * var(--dwdg-energy-pad)), 920px) !important;
  max-width: 920px !important;
}
.dwdg-energy-publications .publication-card,
.dwdg-energy-publications .publication-card.active {
  grid-template-columns: minmax(220px, .42fr) minmax(0, .58fr) !important;
  min-height: clamp(300px, 25vw, 370px) !important;
  padding: clamp(34px, 3.6vw, 48px) clamp(38px, 4vw, 58px) !important;
  gap: clamp(34px, 4vw, 54px) !important;
  border-radius: 28px !important;
}
.dwdg-energy-publications .report-preview {
  min-height: 0 !important;
  height: clamp(220px, 23vw, 300px) !important;
}
.dwdg-energy-publications .report-cover-media,
.dwdg-energy-publications .report-cover {
  width: clamp(132px, 13vw, 178px) !important;
  aspect-ratio: 340 / 480 !important;
}
.dwdg-energy-publications .publication-copy h3 {
  max-width: 480px !important;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.052em !important;
}
.dwdg-energy-publications .publication-copy .button {
  min-height: 42px !important;
  padding-inline: 24px !important;
  font-size: .94rem !important;
}

@media (max-width: 900px) {
  .dwdg-energy-contact__inner { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .dwdg-energy-contact__photo { width: min(62vw, 280px) !important; }
  .dwdg-energy-publications .publication-card,
  .dwdg-energy-publications .publication-card.active { grid-template-columns: 1fr !important; }
  .dwdg-energy-publications .report-preview { height: auto !important; min-height: 220px !important; }
}
