/**
 * Edarat DATA Center Engineering whitepaper — namespaced styles
 * Prefix: .edarat-dce-  (safe on live alongside Theme Builder / Elementor)
 *
 * Fonts match live edaratgroup.com Elementor stacks exactly:
 *   Headings → "Gotham", Sans-serif
 *   Body / buttons / captions → "Montserrat", Sans-serif
 *   Author / meta UI → "Gilroy", Sans-serif
 * Gotham + Gilroy are live Elementor Custom Fonts (already on production).
 * Montserrat is also loaded via Google Fonts for Local preview.
 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/* .elementor-7 scopes the Local/live page when container CSS classes are stripped by Elementor core */
.elementor-7,
.edarat-dce-page {
  --edarat-dce-navy: #112a43;
  --edarat-dce-cyan: #1abfde;
  --edarat-dce-cyan-btn: #188da3;
  --edarat-dce-teal-heading: #0e6e80;
  --edarat-dce-text: #0a0a0a;
  --edarat-dce-muted: #5a6a7a;
  --edarat-dce-line: #dbe3ea;
  --edarat-dce-soft: #e6eef5;
  --edarat-dce-grad-from: #ddedef;
  --edarat-dce-grad-to: #f1f2f5;
  --edarat-dce-content: 1216px;
  --edarat-dce-card: 1476px;
  /* Exact live stacks (edaratgroup.com) */
  --edarat-dce-font: "Montserrat", Sans-serif;
  --edarat-dce-display: "Gotham", Sans-serif;
  --edarat-dce-ui: "Gilroy", Sans-serif;

  font-family: var(--edarat-dce-font);
  color: var(--edarat-dce-text);
  background: linear-gradient(180deg, var(--edarat-dce-grad-from) 0%, var(--edarat-dce-grad-to) 28%, #ffffff 28%);
  width: 100%;
  max-width: 1844px;
  margin: 0 auto;
  box-sizing: border-box;
}

.elementor-7 *,
.elementor-7 *::before,
.elementor-7 *::after,
.edarat-dce-page *,
.edarat-dce-page *::before,
.edarat-dce-page *::after {
  box-sizing: border-box;
}

.elementor-7 > .e-con,
.edarat-dce-page.e-con,
.edarat-dce-page > .e-con-inner {
  max-width: 1844px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.elementor-7 .elementor-widget-container,
.edarat-dce-page .elementor-widget-container {
  margin: 0 !important;
}

/* Hide CSS injector widget */
.elementor-7 .edarat-dce-css-inject,
.edarat-dce-page .edarat-dce-css-inject {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ----- Hero ----- */
.edarat-dce-hero {
  width: 100%;
  padding: 80px 112px 48px !important;
  min-height: 720px;
}

.edarat-dce-hero__grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 32px !important;
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
}

.edarat-dce-hero__copy {
  flex: 1 1 48% !important;
  max-width: 760px;
  padding-top: 48px;
  min-width: 0 !important;
}

.edarat-dce-hero__media-wrap {
  flex: 1 1 48% !important;
  min-width: 0 !important;
}

.edarat-dce-hero__crumb {
  font-family: var(--edarat-dce-font);
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--edarat-dce-muted) !important;
  margin: 0 0 28px !important;
  letter-spacing: 0.01em;
}

.edarat-dce-hero__title .elementor-heading-title,
.edarat-dce-hero__title {
  font-family: var(--edarat-dce-display) !important;
  font-weight: 700 !important;
  font-size: 64px !important;
  line-height: 1.08 !important;
  color: var(--edarat-dce-navy) !important;
  margin: 0 0 22px !important;
  letter-spacing: -0.02em;
}

.edarat-dce-hero__sub .elementor-heading-title,
.edarat-dce-hero__sub {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 500 !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
  color: var(--edarat-dce-navy) !important;
  margin: 0 0 48px !important;
  max-width: 560px;
}

.edarat-dce-author {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.edarat-dce-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--edarat-dce-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--edarat-dce-ui);
  font-weight: 700;
  font-size: 16px;
  flex: 0 0 56px;
}

.edarat-dce-author__name {
  font-family: var(--edarat-dce-ui);
  font-weight: 700;
  font-size: 16px;
  color: var(--edarat-dce-navy);
  margin: 0;
}

.edarat-dce-author__role,
.edarat-dce-author__date {
  font-family: var(--edarat-dce-ui);
  font-weight: 400;
  font-size: 14.7px;
  color: var(--edarat-dce-muted);
  margin: 2px 0 0;
}

.edarat-dce-hero__media {
  flex: 1 1 48%;
  max-width: 760px;
}

.edarat-dce-hero__media img,
.edarat-dce-hero__media .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 0;
}

/* ----- Article card ----- */
.edarat-dce-card {
  width: 100%;
  max-width: var(--edarat-dce-card);
  margin: 0 auto !important;
  background: #fff !important;
  padding: 72px 130px 96px !important;
  box-shadow: 0 1px 0 rgba(17, 42, 67, 0.04);
}

.edarat-dce-figure {
  margin: 0 0 48px !important;
}

.edarat-dce-figure img,
.edarat-dce-figure .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--edarat-dce-line);
}

.edarat-dce-h2 .elementor-heading-title,
.edarat-dce-h2 {
  font-family: var(--edarat-dce-display) !important;
  font-weight: 700 !important;
  font-size: 36px !important;
  line-height: 1.25 !important;
  color: var(--edarat-dce-text) !important;
  margin: 0 0 20px !important;
}

.edarat-dce-h2--teal .elementor-heading-title,
.edarat-dce-h2--teal {
  color: var(--edarat-dce-teal-heading) !important;
}

.edarat-dce-body .elementor-widget-container,
.edarat-dce-body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  color: #000 !important;
  margin: 0 0 1.1em !important;
}

.edarat-dce-caption .elementor-widget-container,
.edarat-dce-caption p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #000 !important;
  margin: 12px 0 40px !important;
}

.edarat-dce-caption strong {
  font-weight: 500;
  font-size: 20px;
}

.edarat-dce-section {
  margin: 0 0 56px !important;
  width: 100%;
  max-width: var(--edarat-dce-content);
}

.edarat-dce-callout {
  background: #eef6f8 !important;
  border-radius: 6px;
  padding: 36px 40px !important;
  margin: 24px 0 48px !important;
  max-width: var(--edarat-dce-content);
}

/* ----- Capabilities grid (Figma 960:450 — editable text, not image) ----- */
.edarat-dce-cap__grid {
  width: 100% !important;
  max-width: var(--edarat-dce-content);
  margin: 8px 0 32px !important;
}

.edarat-dce-cap__card {
  flex: 1 1 calc(50% - 16px) !important;
  min-width: 280px !important;
  max-width: 552px;
  box-sizing: border-box;
}

.edarat-dce-cap__title .elementor-heading-title,
.edarat-dce-cap__title {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  color: #000 !important;
  margin: 0 0 6px !important;
}

.edarat-dce-cap__body .elementor-widget-container,
.edarat-dce-cap__body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #000 !important;
  margin: 0 !important;
}

.edarat-dce-cap__takeaway {
  max-width: var(--edarat-dce-content);
  margin: 8px 0 48px !important;
}

.edarat-dce-cap__takeaway-title .elementor-heading-title,
.edarat-dce-cap__takeaway-title {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: var(--edarat-dce-navy) !important;
  margin: 0 0 6px !important;
}

.edarat-dce-cap__takeaway-body .elementor-widget-container,
.edarat-dce-cap__takeaway-body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #000 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .edarat-dce-cap__card {
    flex: 1 1 100% !important;
    max-width: 100%;
  }
}

/* ----- H3 section labels ----- */
.edarat-dce-h3 .elementor-heading-title,
.edarat-dce-h3 {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  color: #000 !important;
  margin: 28px 0 12px !important;
}

.edarat-dce-h3--teal .elementor-heading-title,
.edarat-dce-h3--teal {
  color: var(--edarat-dce-teal-heading) !important;
}

/* ----- Executive stats row ----- */
.edarat-dce-stat__row {
  width: 100%;
  max-width: var(--edarat-dce-content);
  margin: 8px 0 28px !important;
}

.edarat-dce-stat__cell {
  flex: 1 1 30% !important;
  min-width: 200px;
  border-right: 1px solid #d0d7de;
}

.edarat-dce-stat__cell:last-child {
  border-right: 0;
}

.edarat-dce-stat__value .elementor-heading-title,
.edarat-dce-stat__value {
  font-family: var(--edarat-dce-display) !important;
  font-weight: 700 !important;
  font-size: 38px !important;
  line-height: 1.1 !important;
  color: var(--edarat-dce-navy) !important;
  margin: 0 !important;
}

.edarat-dce-stat__label .elementor-widget-container,
.edarat-dce-stat__label p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #000 !important;
  margin: 0 !important;
  max-width: 360px;
}

/* ----- 02:00 question list ----- */
.edarat-dce-q__list {
  max-width: var(--edarat-dce-content);
  margin: 0 0 20px !important;
}

.edarat-dce-q__line .elementor-widget-container,
.edarat-dce-q__line p,
.edarat-dce-q__item {
  font-family: var(--edarat-dce-font) !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  color: #000 !important;
  margin: 0 !important;
}

.edarat-dce-q__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--edarat-dce-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

/* ----- Lifecycle steps (Figma 960:524) ----- */
.edarat-dce-step__item {
  width: 100%;
  max-width: var(--edarat-dce-content);
  align-items: flex-start !important;
}

.edarat-dce-step__num {
  flex: 0 0 35px !important;
  width: 35px !important;
  max-width: 35px !important;
  margin: 0 !important;
}

.edarat-dce-step__num .elementor-heading-title,
.edarat-dce-step__num .elementor-widget-container {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 31px !important;
  color: #000 !important;
  margin: 0 !important;
  width: 35px !important;
  height: 35px !important;
  border: 2px solid #000 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.edarat-dce-step__body {
  flex: 1 1 auto !important;
  padding-top: 4px !important;
}

.edarat-dce-step__body .elementor-widget-container,
.edarat-dce-step__body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #000 !important;
  margin: 0 !important;
}

.edarat-dce-step__body strong {
  font-weight: 700 !important;
}

/* ----- SLA metrics row (Figma 960:493 — editable, not image) ----- */
.edarat-dce-sla__row {
  width: 100%;
  max-width: var(--edarat-dce-content);
  margin: 4px 0 28px !important;
}

.edarat-dce-sla__cell {
  flex: 1 1 18% !important;
  min-width: 140px;
}

.edarat-dce-sla__value .elementor-heading-title,
.edarat-dce-sla__value {
  font-family: var(--edarat-dce-display) !important;
  font-weight: 700 !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  color: var(--edarat-dce-navy) !important;
  margin: 0 !important;
}

.edarat-dce-sla__label .elementor-widget-container,
.edarat-dce-sla__label p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #000 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .edarat-dce-sla__cell {
    flex: 1 1 45% !important;
    border-right: 0 !important;
  }
}

@media (max-width: 640px) {
  .edarat-dce-sla__cell {
    flex: 1 1 100% !important;
  }
}

/* ----- Leader decision cards (Figma 960:578) ----- */
.edarat-dce-leader__row {
  width: 100%;
  max-width: var(--edarat-dce-content);
  margin: 0 0 8px !important;
}

.edarat-dce-leader__card {
  flex: 1 1 30% !important;
  min-width: 220px;
}

.edarat-dce-leader__title .elementor-heading-title,
.edarat-dce-leader__title {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 16.8px !important;
  line-height: 1.7 !important;
  color: #000 !important;
  margin: 0 !important;
}

.edarat-dce-leader__body .elementor-widget-container,
.edarat-dce-leader__body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 15.3px !important;
  line-height: 1.7 !important;
  color: #000 !important;
  margin: 0 !important;
}

.edarat-dce-closing .elementor-widget-container,
.edarat-dce-closing p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16.7px !important;
  font-weight: 400 !important;
  line-height: 1.73 !important;
  color: #000 !important;
  margin: 8px 0 24px !important;
  max-width: var(--edarat-dce-content);
}

/* ----- Leadership CTA box (Figma 960:596) ----- */
.edarat-dce-leadcta {
  width: 100%;
  max-width: var(--edarat-dce-content);
  margin: 0 0 24px !important;
  border-radius: 4px !important;
  background: var(--edarat-dce-navy) !important;
}

.edarat-dce-leadcta__title .elementor-heading-title,
.edarat-dce-leadcta__title {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  color: #fff !important;
  margin: 0 0 4px !important;
}

.edarat-dce-leadcta__body .elementor-widget-container,
.edarat-dce-leadcta__body p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #e6eef5 !important;
  margin: 0 0 4px !important;
}

.edarat-dce-leadcta__gold .elementor-widget-container,
.edarat-dce-leadcta__gold p,
.edarat-dce-leadcta__gold strong {
  font-family: var(--edarat-dce-font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  color: #f0c27a !important;
  margin: 0 !important;
}

/* ----- Related whitepaper link (Figma 960:603) ----- */
.edarat-dce-related-wrap {
  max-width: var(--edarat-dce-content);
  margin: 0 0 8px !important;
}

.edarat-dce-related {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 19px 16px;
  border: 1px solid var(--edarat-dce-line);
  border-radius: 4px;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.edarat-dce-related:hover {
  border-color: var(--edarat-dce-teal-heading);
  background: #f7fafb;
}

.edarat-dce-related__label {
  font-family: var(--edarat-dce-font);
  font-size: 13.6px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--edarat-dce-muted);
}

.edarat-dce-related__title {
  font-family: var(--edarat-dce-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--edarat-dce-teal-heading);
}

@media (max-width: 1024px) {
  .edarat-dce-stat__cell,
  .edarat-dce-leader__card {
    flex: 1 1 100% !important;
    border-right: 0 !important;
  }
}

/* ----- CTA ----- */
.edarat-dce-cta {
  background: var(--edarat-dce-navy) !important;
  width: 100% !important;
  max-width: 1844px;
  margin: 0 auto !important;
  padding: 56px 112px !important;
}

.edarat-dce-cta__inner {
  max-width: 860px;
}

.edarat-dce-cta__eyebrow .elementor-heading-title,
.edarat-dce-cta__eyebrow {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  color: var(--edarat-dce-cyan) !important;
  margin: 0 0 8px !important;
}

.edarat-dce-cta__title .elementor-heading-title,
.edarat-dce-cta__title {
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 36.8px !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
}

.edarat-dce-cta__text .elementor-widget-container,
.edarat-dce-cta__text p {
  font-family: var(--edarat-dce-font) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--edarat-dce-soft) !important;
  margin: 0 0 22px !important;
  max-width: 640px;
}

.edarat-dce-cta .elementor-button {
  background: var(--edarat-dce-cyan-btn) !important;
  color: #fff !important;
  font-family: var(--edarat-dce-font) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  border-radius: 4px !important;
  padding: 14px 26px !important;
  border: 0 !important;
  fill: #fff !important;
}

.edarat-dce-cta .elementor-button:hover {
  background: #147a8c !important;
  color: #fff !important;
}

/* ----- Sources ----- */
.edarat-dce-sources {
  max-width: var(--edarat-dce-card);
  margin: 0 auto !important;
  padding: 72px 130px 120px !important;
  background: #fff !important;
}

.edarat-dce-sources .edarat-dce-body p,
.edarat-dce-sources .elementor-widget-container {
  font-size: 18px !important;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .edarat-dce-hero {
    padding: 48px 32px 32px !important;
    min-height: 0 !important;
  }

  .edarat-dce-hero__grid {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* Elementor keeps width:48% after stack — force full bleed */
  .edarat-dce-hero__copy,
  .edarat-dce-hero__media-wrap,
  .edarat-dce-hero__media {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  .edarat-dce-hero__copy {
    padding-top: 0 !important;
  }

  .edarat-dce-hero__title .elementor-heading-title,
  .edarat-dce-hero__title {
    font-size: 42px !important;
  }

  .edarat-dce-card,
  .edarat-dce-sources {
    padding: 48px 28px 64px !important;
  }

  .edarat-dce-cta {
    padding: 48px 28px !important;
  }

  .edarat-dce-h2 .elementor-heading-title,
  .edarat-dce-h2 {
    font-size: 28px !important;
  }

  .edarat-dce-body .elementor-widget-container,
  .edarat-dce-body p {
    font-size: 17px !important;
  }

  .edarat-dce-callout {
    padding: 24px 20px !important;
    margin: 16px 0 32px !important;
  }

  .edarat-dce-leadcta {
    padding: 32px 24px !important;
  }

  .edarat-dce-cap__takeaway {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Dense Figma figures stay readable via horizontal scroll */
  .edarat-dce-figure {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  .edarat-dce-figure img,
  .edarat-dce-figure .elementor-widget-image img {
    width: 720px !important;
    max-width: none !important;
    min-width: 720px;
    height: auto !important;
  }

  /* SLA: 3-up on tablet instead of awkward 2+2+1 */
  .edarat-dce-sla__cell {
    flex: 1 1 30% !important;
    min-width: 180px !important;
  }

  .edarat-dce-stat__value .elementor-heading-title,
  .edarat-dce-stat__value,
  .edarat-dce-sla__value .elementor-heading-title,
  .edarat-dce-sla__value {
    font-size: 28px !important;
  }
}

@media (max-width: 640px) {
  .edarat-dce-hero {
    padding: 32px 20px 24px !important;
  }

  .edarat-dce-hero__title .elementor-heading-title,
  .edarat-dce-hero__title {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  .edarat-dce-hero__sub .elementor-heading-title,
  .edarat-dce-hero__sub {
    font-size: 18px !important;
  }

  .edarat-dce-card,
  .edarat-dce-sources {
    padding: 36px 18px 48px !important;
  }

  .edarat-dce-cta {
    padding: 40px 20px !important;
  }

  .edarat-dce-cta__title .elementor-heading-title,
  .edarat-dce-cta__title {
    font-size: 26px !important;
  }

  .edarat-dce-h2 .elementor-heading-title,
  .edarat-dce-h2 {
    font-size: 24px !important;
  }

  .edarat-dce-body .elementor-widget-container,
  .edarat-dce-body p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .edarat-dce-caption .elementor-widget-container,
  .edarat-dce-caption p {
    font-size: 15px !important;
  }

  .edarat-dce-leadcta {
    padding: 28px 18px !important;
  }

  .edarat-dce-leadcta__body .elementor-widget-container,
  .edarat-dce-leadcta__body p,
  .edarat-dce-leadcta__gold .elementor-widget-container,
  .edarat-dce-leadcta__gold p,
  .edarat-dce-leadcta__gold strong {
    font-size: 15px !important;
  }

  .edarat-dce-sla__cell {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    border-right: 0 !important;
  }

  .edarat-dce-figure img,
  .edarat-dce-figure .elementor-widget-image img {
    width: 640px !important;
    min-width: 640px;
  }

  .edarat-dce-step__body .elementor-widget-container,
  .edarat-dce-step__body p {
    font-size: 15px !important;
  }

  .edarat-dce-author {
    gap: 12px;
  }

  .edarat-dce-author__avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 14px;
  }
}
