/* ============================================================
   Page-Detail CSS — Shared layout for single-news, single-locations,
   single-jobs, page-dcw-frankfurt, single-references.
   Based on hvac-solutions.css — uses the exact same premium pattern
   the customer has approved (HVAC/DC/CES).
   Namespace: .pd-*
   ============================================================ */

:root {
  --pd-content-width: 1200px;
  --pd-red: #E63915;
  --pd-blue: #1891D0;
  --pd-cyan: #16DABD;
  --pd-dark-slate-900: #111927;
  --pd-dark-slate-800: #1E293B;
  --pd-dark-slate-700: #222F44;
  --pd-dark-slate-600: #2D3B53;
  --pd-dark-slate-500: #475569;
  --pd-dark-slate-400: #667A99;
  --pd-dark-slate-300: #92A1B9;
  --pd-dark-slate-200: #C6CEDD;
  --pd-dark-slate-100: #E4E9F1;
  --pd-dark-slate-50:  #F2F4F8;
}

/* ── Consistent container for ALL sections ── */
.pd-container {
  max-width: var(--pd-content-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.pd-container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ── Eyebrow (shared) ── */
.pd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pd-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--pd-red);
  border-radius: 2px;
  flex-shrink: 0;
}
.pd-eyebrow--light { color: var(--pd-dark-slate-600); }
.pd-eyebrow--dark { color: #fff; }

/* ── E3 heading: dark bg ── */
.pd-heading-e3 { font-size: 46px; color: #fff; line-height: 1.2; margin-bottom: 20px; font-weight: 400; }
.pd-heading-e3 .bold { font-weight: 700; }
.pd-heading-e3 .light { font-weight: 300; }

/* ── E7 heading: light bg ── */
.pd-heading-e7 { font-size: 44px; line-height: 1.2; margin-bottom: 20px; font-weight: 400; }
.pd-heading-e7 .bold { font-weight: 700; color: var(--pd-dark-slate-800); }
.pd-heading-e7 .light { font-weight: 300; color: var(--pd-dark-slate-600); }

/* ── Description text ── */
.pd-desc--light { font-size: 20px; font-weight: 400; color: var(--pd-dark-slate-600); line-height: 1.7; }
.pd-desc--dark { font-size: 20px; font-weight: 400; color: var(--pd-dark-slate-200); line-height: 1.7; }

/* ── Buttons ── */
.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.pd-btn--red { background: var(--pd-red); color: #fff; }
.pd-btn--red:hover { background: #d1330f; transform: translateY(-1px); }
.pd-btn--outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.pd-btn--outline:hover { border-color: #fff; }
.pd-btn--outline-dark { background: transparent; border: 1.5px solid var(--pd-dark-slate-300); color: var(--pd-dark-slate-800); }
.pd-btn--outline-dark:hover { border-color: var(--pd-dark-slate-800); }
.pd-btn--blue { background: var(--pd-blue); color: #fff; }
.pd-btn--blue:hover { background: #1478b0; transform: translateY(-1px); }

/* ========== HERO ========== */
.pd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pd-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30,41,59,0.94) 0%, rgba(30,41,59,0.75) 40%, rgba(30,41,59,0.5) 100%),
    var(--pd-hero-bg, #1E293B) center/cover;
  background-size: cover;
}
.pd-hero .pd-container {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}
.pd-hero__text { max-width: 640px; }
.pd-hero__title { font-size: 56px; color: #fff; line-height: 1.08; margin-bottom: 24px; font-weight: 400; }
.pd-hero__title .bold { font-weight: 700; display: block; }
.pd-hero__title .light { font-weight: 300; display: block; color: rgba(255,255,255,0.85); }
.pd-hero__sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}
.pd-hero__ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* Hero meta row (date + source for news, pills for jobs) */
.pd-hero__meta {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.pd-hero__meta-item {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-hero__meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pd-cyan);
}

/* Hero meta pills (jobs) */
.pd-hero__pills { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pd-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.pd-hero__pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pd-cyan);
  flex-shrink: 0;
}

/* Hero stats (HVAC style) */
.pd-hero__stats { display: flex; gap: 20px; padding-bottom: 20px; }
.pd-hero__stat {
  text-align: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 28px;
  min-width: 140px;
}
.pd-hero__stat-val { font-size: 44px; font-weight: 700; color: var(--pd-red); line-height: 1; }
.pd-hero__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 10px;
  line-height: 1.4;
}

/* ========== ARTICLE / READING COLUMN (news) ========== */
.pd-article {
  background: #fff;
  padding: 100px 0 120px;
}
.pd-article__body {
  font-size: 19px;
  line-height: 1.75;
  color: var(--pd-dark-slate-600);
}
.pd-article__body p { margin: 0 0 1.25em; }
.pd-article__body h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  line-height: 1.25;
  margin: 2em 0 0.6em;
}
.pd-article__body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  margin: 1.75em 0 0.5em;
}
.pd-article__body a {
  color: var(--pd-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(24,145,208,0.3);
}
.pd-article__body a:hover { border-bottom-color: var(--pd-blue); }
.pd-article__body ul, .pd-article__body ol { padding-left: 1.5em; margin: 0 0 1.25em; }
.pd-article__body li { margin-bottom: 0.5em; }
.pd-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
}
.pd-article__body blockquote {
  border-left: 4px solid var(--pd-blue);
  padding: 12px 28px;
  margin: 2em 0;
  font-style: italic;
  color: var(--pd-dark-slate-600);
}

/* Summary callout */
.pd-article__summary {
  background: var(--pd-dark-slate-50);
  border-left: 4px solid var(--pd-red);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--pd-dark-slate-800);
  font-weight: 500;
}

/* Featured image above article */
.pd-article__thumb {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 20px 50px rgba(17,25,39,0.10);
}
.pd-article__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== TWO-COL LAYOUT (locations) ========== */
.pd-twocol {
  background: #fff;
  padding: 120px 0;
}
.pd-twocol .pd-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.pd-twocol__main {
  font-size: 19px;
  line-height: 1.75;
  color: var(--pd-dark-slate-600);
}
.pd-twocol__main p { margin: 0 0 1.25em; }
.pd-twocol__main h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  margin: 1.75em 0 0.5em;
}

/* Contact card (HVAC-esque sidebar card) */
.pd-contact-card {
  background: var(--pd-dark-slate-50);
  border-left: 3px solid var(--pd-red);
  border-radius: 0 16px 16px 0;
  padding: 40px;
  position: sticky;
  top: 120px;
}
.pd-contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  margin: 0 0 28px;
  line-height: 1.3;
}
.pd-contact-card__row {
  padding: 18px 0;
  border-bottom: 1px solid var(--pd-dark-slate-100);
}
.pd-contact-card__row:first-of-type { padding-top: 0; }
.pd-contact-card__row:last-child { border-bottom: none; padding-bottom: 0; }
.pd-contact-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--pd-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.pd-contact-card__value {
  font-size: 16px;
  color: var(--pd-dark-slate-800);
  line-height: 1.6;
  white-space: pre-line;
}
.pd-contact-card__value a {
  color: var(--pd-dark-slate-800);
  text-decoration: none;
  transition: color 0.2s;
}
.pd-contact-card__value a:hover { color: var(--pd-red); }

/* ========== JOB CONTENT ========== */
.pd-job {
  background: #fff;
  padding: 100px 0 120px;
}
.pd-job__body {
  font-size: 19px;
  line-height: 1.75;
  color: var(--pd-dark-slate-600);
  margin-bottom: 56px;
}
.pd-job__body p { margin: 0 0 1.25em; }
.pd-job__section {
  margin-bottom: 56px;
}
.pd-job__section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  margin-bottom: 28px;
  line-height: 1.25;
}
.pd-job__section-title::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--pd-red);
  border-radius: 2px;
  flex-shrink: 0;
}
.pd-job__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--pd-dark-slate-100);
}
.pd-job__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pd-dark-slate-100);
  font-size: 17px;
  line-height: 1.55;
  color: var(--pd-dark-slate-600);
}
.pd-job__list-icon {
  flex-shrink: 0;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  color: var(--pd-blue);
}

/* ========== REFERENCE ROW (themes for DCW, etc.) ========== */
.pd-refs {
  background: var(--pd-dark-slate-800);
  padding: 0 0 120px;
}
.pd-refs--with-top { padding-top: 120px; }
.pd-ref-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.pd-ref-row:last-child { margin-bottom: 0; }
.pd-ref-row:hover { border-color: rgba(230,57,21,0.2); }
.pd-ref-row--reversed { direction: rtl; }
.pd-ref-row--reversed > * { direction: ltr; }

.pd-ref-image {
  min-height: 360px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.pd-ref-image__stat {
  position: absolute;
  bottom: 28px;
  left: 28px;
}
.pd-ref-image__stat-val { font-size: 48px; font-weight: 700; color: #fff; line-height: 1; }
.pd-ref-image__stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

.pd-ref-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pd-ref-id {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--pd-red);
  margin-bottom: 8px;
}
.pd-ref-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}
.pd-ref-field { margin-bottom: 16px; }
.pd-ref-field__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.pd-ref-field__text { font-size: 18px; color: var(--pd-dark-slate-200); line-height: 1.6; }
.pd-ref-result {
  margin-top: 8px;
  padding: 14px 18px;
  border-left: 3px solid var(--pd-cyan);
  background: rgba(22,218,189,0.05);
  border-radius: 0 8px 8px 0;
}
.pd-ref-result p { font-size: 16px; color: var(--pd-cyan); line-height: 1.5; font-weight: 500; }

/* ========== SPEAKERS / TEAM GRID ========== */
.pd-team {
  background: #fff;
  padding: 120px 0;
}
.pd-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.pd-team-card {
  background: var(--pd-dark-slate-50);
  border: 1px solid var(--pd-dark-slate-100);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.pd-team-card:hover {
  border-color: var(--pd-blue);
  transform: translateY(-4px);
}
.pd-team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pd-dark-slate-200), var(--pd-dark-slate-100));
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(30,41,59,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pd-dark-slate-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pd-team-card__body { flex: 1; min-width: 0; }
.pd-team-card__name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  line-height: 1.3;
}
.pd-team-card__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--pd-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pd-team-card__contact {
  font-size: 14px;
  color: var(--pd-dark-slate-500);
  line-height: 1.7;
}
.pd-team-card__contact a {
  color: var(--pd-dark-slate-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.pd-team-card__contact a:hover { color: var(--pd-red); }
.pd-team-card__contact div { word-break: break-word; }
.pd-team-card--placeholder .pd-team-card__name,
.pd-team-card--placeholder .pd-team-card__role,
.pd-team-card--placeholder .pd-team-card__contact {
  font-style: italic;
  color: var(--pd-dark-slate-300);
}

/* ========== EVENT DETAILS (DCW) ========== */
.pd-event {
  background: var(--pd-dark-slate-50);
  padding: 120px 0;
}
.pd-event__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(17,25,39,0.06);
  border: 1px solid var(--pd-dark-slate-100);
}
.pd-event__cell {
  padding: 36px 32px;
  border-right: 1px solid var(--pd-dark-slate-100);
}
.pd-event__cell:last-child { border-right: none; }
.pd-event__cell-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--pd-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pd-event__cell-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--pd-dark-slate-800);
  line-height: 1.3;
}
.pd-event__cell-value.is-placeholder {
  color: var(--pd-dark-slate-300);
  font-style: italic;
  font-weight: 500;
}
.pd-event__footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--pd-dark-slate-400);
  font-style: italic;
  text-align: center;
}

/* ========== CTA — Dark Slate, E3, blue-to-cyan bottom line ========== */
.pd-cta {
  background: var(--pd-dark-slate-800);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pd-cta::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pd-blue), var(--pd-cyan));
}
.pd-cta .pd-eyebrow { justify-content: center; }
.pd-cta .pd-heading-e3 { text-align: center; }
.pd-cta__text {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 600px;
}
.pd-cta__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.pd-cta__trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pd-cta__trust-item {
  font-size: 12px;
  font-weight: 500;
  color: var(--pd-dark-slate-400);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-cta__trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pd-cyan); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pd-hero .pd-container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 80px;
    gap: 40px;
  }
  .pd-hero__title { font-size: 40px; }
  .pd-heading-e7, .pd-heading-e3 { font-size: 36px; }
  .pd-twocol .pd-container { grid-template-columns: 1fr; gap: 48px; }
  .pd-contact-card { position: static; }
  .pd-ref-row { grid-template-columns: 1fr; }
  .pd-ref-row--reversed { direction: ltr; }
  .pd-ref-image { min-height: 260px; }
  .pd-team__grid { grid-template-columns: 1fr; }
  .pd-event__grid { grid-template-columns: 1fr 1fr; }
  .pd-event__cell:nth-child(2n) { border-right: none; }
  .pd-event__cell:nth-child(-n+2) { border-bottom: 1px solid var(--pd-dark-slate-100); }
}

@media (max-width: 640px) {
  .pd-hero__stats { flex-direction: column; gap: 16px; width: 100%; }
  .pd-hero__stat { text-align: left; }
  .pd-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .pd-hero__ctas .pd-btn { justify-content: center; }
  .pd-event__grid { grid-template-columns: 1fr; }
  .pd-event__cell { border-right: none; border-bottom: 1px solid var(--pd-dark-slate-100); }
  .pd-event__cell:last-child { border-bottom: none; }
  .pd-team-card { flex-direction: column; padding: 32px 28px; }
  .pd-contact-card { padding: 32px 28px; }
  .pd-cta__ctas { flex-direction: column; align-items: stretch; }
  .pd-cta__trust { gap: 20px; }
}
