
/* Admin-editable channel nodes reuse the same presentation. */
html body:has(.evx-channel) {
  background: #fff !important;
}

html body:has(.evx-channel) #block-mercury-page-title {
  display: none !important;
}

html body:has(.evx-channel) .layout-content,
html body:has(.evx-channel) .region-content,
html body:has(.evx-channel) main,
html body:has(.evx-channel) article,
html body:has(.evx-channel) .node__content,
html body:has(.evx-channel) .text-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Public solution, service, project, insight and company channels. */
html body.evx-channel-page {
  background: #fff !important;
}

html body.evx-channel-page #block-mercury-page-title {
  display: none !important;
}

html body.evx-channel-page .layout-content,
html body.evx-channel-page .region-content,
html body.evx-channel-page main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.evx-channel {
  --ec-ink: var(--evx-ink, #101828);
  --ec-muted: var(--evx-muted, #5b6b82);
  --ec-line: var(--evx-line, #e3e8f0);
  --ec-soft: var(--evx-gray-100, #f0f3f7);
  --ec-blue: var(--evx-blue, #0e62fe);
  --ec-blue-hover: var(--evx-blue-hover, #0a4fd6);
  --ec-blue-deep: var(--evx-blue, #0e62fe);
  --ec-blue-soft: var(--evx-blue-soft, #e9f1ff);
  --ec-font: "Google Sans", Roboto, Inter, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  background: #fff;
  color: var(--ec-ink);
  font-family: var(--ec-font);
}

.evx-channel *,
.evx-channel *::before,
.evx-channel *::after {
  box-sizing: border-box;
}

.evx-channel a {
  color: inherit;
  text-decoration: none;
}

.evx-channel img {
  display: block;
  max-width: 100%;
}

.ec-inner {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 48px;
}

.ec-eyebrow,
.ec-kicker {
  margin: 0;
  color: var(--ec-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ec-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 19px 48px 0;
  color: #8b9297;
  font-size: 11px;
  line-height: 1.4;
}

.ec-breadcrumb a:hover {
  color: var(--ec-blue);
}

.ec-breadcrumb > span:last-child {
  color: #3d454a;
}

/* Hero */
.ec-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 42px 48px 72px;
}

.ec-hero-copy h1 {
  margin: 14px 0 18px;
  color: #111416;
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.07;
}

.ec-hero-text {
  max-width: 540px;
  margin: 0;
  color: #5f676d;
  font-size: 15px;
  line-height: 1.75;
}

.ec-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.evx-channel .ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ec-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.evx-channel .ec-btn--primary {
  background: var(--ec-blue);
  color: #fff;
}

.evx-channel .ec-btn--primary:hover {
  background: var(--ec-blue-hover);
  color: #fff;
  transform: translateY(-1px);
}

.evx-channel .ec-btn--quiet {
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #30373b;
  font-weight: 650;
}

.evx-channel .ec-btn--quiet:hover {
  color: var(--ec-blue);
}

.evx-channel .ec-btn--quiet span {
  margin-left: 5px;
  color: var(--ec-blue);
  font-size: 17px;
  font-weight: 400;
}

.ec-hero-media {
  overflow: hidden;
  border-radius: 5px;
  background: var(--ec-soft);
  aspect-ratio: 1.14 / 1;
}

.ec-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Generic sections */
.evx-channel .ec-section {
  padding: 78px 0;
}

.ec-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 32px;
}

.ec-section-head h2 {
  margin: 12px 0 0;
  color: var(--ec-ink);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.ec-section-head > p {
  max-width: 330px;
  flex: 0 0 auto;
  margin: 0 0 4px;
  color: #737b81;
  font-size: 12px;
  line-height: 1.6;
}

.ec-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.evx-channel .ec-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.evx-channel a.ec-card:hover {
  transform: translateY(-3px);
}

.ec-card-media {
  display: block;
  overflow: hidden;
  background: var(--ec-soft);
  aspect-ratio: 1.4 / 1;
}

.ec-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.evx-channel a.ec-card:hover .ec-card-media img {
  transform: scale(1.035);
}

.ec-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 1px 0;
}

.ec-card-title {
  display: block;
  margin: 8px 0 9px;
  color: var(--ec-ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.28;
}

.ec-card-text {
  display: block;
  flex: 1;
  color: #667077;
  font-size: 12.5px;
  line-height: 1.7;
}

.ec-card-meta {
  display: block;
  margin-top: 15px;
  color: #7d878d;
  font-size: 10.5px;
  line-height: 1.45;
}

.ec-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  color: #30373b;
  font-size: 12px;
  font-weight: 650;
}

.ec-card-link span {
  color: var(--ec-blue);
  font-size: 16px;
  font-weight: 400;
}

.evx-channel .ec-card--text {
  padding: 23px 20px 21px;
  border: 1px solid var(--ec-line);
  background: #fbfcfc;
}

.ec-card--text .ec-card-copy {
  padding: 0;
}

.ec-card--text .ec-card-title {
  margin-top: 0;
}

/* Split content */
.evx-channel .ec-split-section {
  padding: 0;
  background: var(--ec-soft);
}

.ec-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center;
  gap: 62px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.ec-split-media {
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 1.22 / 1;
  background: #e8edef;
}

.ec-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ec-split--reverse .ec-split-media {
  order: 2;
}

.ec-split--reverse .ec-split-copy {
  order: 1;
}

.ec-split-copy h2 {
  margin: 12px 0 16px;
  color: var(--ec-ink);
  font-size: clamp(30px, 3.3vw, 43px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.09;
}

.ec-prose {
  max-width: 540px;
  color: #626b71;
  font-size: 14px;
  line-height: 1.78;
}

.ec-prose p {
  margin: 0 0 12px;
}

.ec-prose p:last-child {
  margin-bottom: 0;
}

.ec-checklist {
  display: grid;
  gap: 10px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.ec-checklist li {
  display: flex;
  gap: 9px;
  color: #343b40;
  font-size: 13px;
  line-height: 1.55;
}

.ec-checklist li > span {
  flex: 0 0 auto;
  color: var(--ec-blue);
  font-weight: 700;
}

/* Metrics */
.evx-channel .ec-metrics-section {
  padding: 66px 0;
  background: var(--ec-blue-deep);
  color: #fff;
}

.ec-metrics-head {
  margin-bottom: 30px;
}

.ec-metrics-head .ec-eyebrow {
  color: #cfe0ff;
}

.ec-metrics-head h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.ec-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ec-metric {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.ec-metric strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

.ec-metric span {
  color: #dce8ff;
  font-size: 11px;
  line-height: 1.45;
}

/* FAQ */
.evx-channel .ec-faq-section {
  background: #fff;
}

.ec-faq-list {
  max-width: 900px;
  border-top: 1px solid var(--ec-line);
}

.ec-faq {
  border-bottom: 1px solid var(--ec-line);
}

.ec-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: #293136;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.ec-faq summary::-webkit-details-marker {
  display: none;
}

.ec-faq summary span {
  color: var(--ec-blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.ec-faq[open] summary span {
  transform: rotate(45deg);
}

.ec-faq p {
  max-width: 760px;
  margin: -3px 0 20px;
  color: #677077;
  font-size: 13px;
  line-height: 1.75;
}

/* CTA */
.evx-channel .ec-cta {
  padding: 50px 0;
  background: var(--ec-blue-soft);
}

.ec-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.ec-cta h2 {
  margin: 0 0 7px;
  color: #0b3b9a;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.ec-cta p {
  max-width: 630px;
  margin: 0;
  color: #5b6b82;
  font-size: 13px;
  line-height: 1.65;
}

.evx-channel .ec-btn--dark {
  flex: 0 0 auto;
  background: #0e62fe;
  color: #fff;
}

.evx-channel .ec-btn--dark:hover {
  background: #0a4fd6;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .ec-hero {
    gap: 38px;
    padding-inline: 34px;
  }

  .ec-breadcrumb {
    padding-inline: 34px;
  }

  .ec-inner {
    padding-inline: 34px;
  }

  .ec-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ec-card-grid .ec-card:nth-child(4) {
    grid-column: auto;
  }

  .ec-split {
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .ec-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 30px 28px 52px;
  }

  .ec-hero-media {
    aspect-ratio: 16 / 9;
  }

  .ec-hero-copy h1 {
    font-size: clamp(36px, 7vw, 49px);
  }

  .ec-breadcrumb {
    padding: 16px 28px 0;
  }

  .ec-inner {
    padding-inline: 28px;
  }

  .evx-channel .ec-section {
    padding: 58px 0;
  }

  .ec-section-head {
    display: block;
    margin-bottom: 26px;
  }

  .ec-section-head > p {
    max-width: 600px;
    margin-top: 12px;
  }

  .ec-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ec-card-grid .ec-card:nth-child(4) {
    grid-column: auto;
  }

  .ec-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .ec-split--reverse .ec-split-media,
  .ec-split--reverse .ec-split-copy {
    order: initial;
  }

  .ec-split-media {
    aspect-ratio: 16 / 9;
  }

  .evx-channel .ec-metrics-section {
    padding: 52px 0;
  }

  .ec-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .ec-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .ec-hero {
    padding: 24px 20px 44px;
  }

  .ec-breadcrumb {
    padding-inline: 20px;
  }

  .ec-inner {
    padding-inline: 20px;
  }

  .ec-hero-copy h1 {
    font-size: 37px;
  }

  .ec-hero-text {
    font-size: 14px;
  }

  .ec-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .evx-channel .ec-btn--primary {
    width: auto;
  }

  .evx-channel .ec-section {
    padding: 46px 0;
  }

  .ec-section-head h2 {
    font-size: 31px;
  }

  .ec-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ec-card-media {
    aspect-ratio: 1.5 / 1;
  }

  .ec-card-copy {
    padding-top: 14px;
  }

  .ec-card-title {
    font-size: 20px;
  }

  .evx-channel .ec-split-section {
    padding: 0;
  }

  .ec-split {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .ec-split-copy h2 {
    font-size: 31px;
  }

  .evx-channel .ec-metrics-section {
    padding: 44px 0;
  }

  .ec-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .ec-metric strong {
    font-size: 31px;
  }

  .ec-faq summary {
    font-size: 13px;
  }

  .evx-channel .ec-cta {
    padding: 40px 0;
  }

  .ec-cta h2 {
    font-size: 28px;
  }
}

/* Hide the node/page title above an editable channel body. */
html body:has(.evx-channel) #block-mercury-page-title,
html body:has(.evx-channel) .block-page-title-block,
html body:has(.evx-channel) .page-title,
html body:has(.evx-channel) header[role="banner"] h1 {
  display: none !important;
}

/* Node body overrides from the Mercury article text styles. */
html body:has(.evx-channel) .evx-channel .ec-hero-media img,
html body:has(.evx-channel) .evx-channel .ec-split-media img,
html body:has(.evx-channel) .evx-channel .ec-card-media img,
html body:has(.evx-channel) .evx-channel .ec-resource-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

html body:has(.evx-channel) .evx-channel .ec-metrics-head h2 {
  color: #fff !important;
}

html body:has(.evx-channel) .evx-channel .ec-metrics-head .ec-eyebrow {
  color: #cfe0ff !important;
}

html body:has(.evx-channel) .ec-metrics-section header.ec-metrics-head h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}
