/* Easysail Transformer launch readability fixes. Loaded after the main visual system. */

.es-page--detail [id] {
  scroll-margin-top: calc(var(--es-header-height) + 42px);
}

.es-context-brief > *,
.es-page--detail .es-content-module > *,
.es-page--detail .es-compliance-module > *,
.es-page--detail .es-evidence-module > *,
.es-page--detail .es-faq-block > * {
  position: relative;
  z-index: 1;
}

.es-context-brief::before {
  z-index: 0;
  opacity: .34;
}

.es-page--detail .es-content-module,
.es-page--detail .es-compliance-module,
.es-page--detail .es-evidence-module,
.es-page--detail .es-faq-block,
.es-page--detail .es-page-distinct,
.es-page--detail .es-product-distinct,
.es-page--detail .es-product-keyword-module,
.es-page--detail .es-inner-priorities,
.es-page--detail .es-inner-specification,
.es-page--detail .es-inner-process,
.es-page--detail .es-inner-evidence {
  isolation: isolate;
}

.es-page--detail .es-page-distinct > *,
.es-page--detail .es-product-distinct > *,
.es-page--detail .es-product-keyword-module > *,
.es-page--detail .es-inner-priorities > *,
.es-page--detail .es-inner-specification > *,
.es-page--detail .es-inner-process > *,
.es-page--detail .es-inner-evidence > * {
  position: relative;
  z-index: 1;
}

.es-page--detail .es-content-module::before,
.es-page--detail .es-content-module::after,
.es-page--detail .es-compliance-module::before,
.es-page--detail .es-compliance-module::after,
.es-page--detail .es-evidence-module::before,
.es-page--detail .es-evidence-module::after,
.es-page--detail .es-page-distinct::before,
.es-page--detail .es-page-distinct::after,
.es-page--detail .es-product-distinct::before,
.es-page--detail .es-product-distinct::after,
.es-page--detail .es-inner-priorities::before,
.es-page--detail .es-inner-priorities::after {
  pointer-events: none;
}

.es-page--detail .es-article-layout--buyer .es-inner-priorities {
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(42, 111, 158, .08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,249,249,.95));
}

.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-module-heading,
.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid,
.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid article {
  min-width: 0;
}

.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-module-heading h2,
.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-module-heading span,
.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid article strong,
.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid article p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid article {
  min-height: 0;
  padding: clamp(22px, 2.2vw, 28px);
  border: 1px solid rgba(16, 42, 79, .10);
  border-radius: 18px;
  border-right: 1px solid rgba(16, 42, 79, .10);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(10, 34, 56, .045);
}

.es-page--detail .es-page-distinct__grid article,
.es-page--detail .es-product-distinct__grid article,
.es-context-brief__cards article {
  min-width: 0;
  overflow: hidden;
}

.es-page--detail .es-page-distinct__grid article strong,
.es-page--detail .es-page-distinct__grid article p,
.es-page--detail .es-product-distinct__grid article strong,
.es-page--detail .es-product-distinct__grid article p,
.es-context-brief__cards article strong,
.es-context-brief__cards article p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.es-page-section--applications.es-page--detail .es-inner-priorities {
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 58px);
  border: 1px solid rgba(16, 42, 79, .11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(42, 111, 158, .10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,249,250,.94));
  box-shadow: 0 18px 48px rgba(10, 34, 56, .065);
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-module-heading {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
  gap: 18px 34px;
  align-items: end;
  margin-bottom: 28px;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-module-heading > span {
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(216, 115, 43, .18);
  border-radius: 999px;
  background: #fff4e8;
  color: #94420f;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-module-heading h2 {
  margin: 0;
  color: #102a43;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article,
.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child {
  min-height: 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 79, .105);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,252,.95));
  box-shadow: 0 12px 30px rgba(10, 34, 56, .045);
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #2a6f9e;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child::before {
  background: #ef781f;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article > span,
.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child > span {
  margin-bottom: 16px;
  color: #a64d16;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article > strong,
.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child > strong {
  color: #102a43;
}

.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article > p,
.es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child > p {
  color: #405668;
}

.es-page--detail .es-distinct-anchor-grid,
.es-context-brief .es-distinct-anchor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.es-page--detail .es-distinct-anchor-grid span,
.es-context-brief .es-distinct-anchor-grid span {
  display: block;
  max-width: none;
  min-height: 0;
  padding: 11px 13px;
  border-radius: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: rgba(255, 255, 255, .86);
  color: #243d52;
  box-shadow: none;
}

.es-page--detail .es-table-wrap,
.es-page--detail .es-spec-table,
.es-page--detail .es-spec-table th,
.es-page--detail .es-spec-table td {
  min-width: 0;
}

.es-page--detail .es-spec-table th,
.es-page--detail .es-spec-table td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.es-page--detail .es-decision-grid article,
.es-page--detail .es-process-strip--buyer > div,
.es-context-brief__cards article {
  color: #102a43;
}

.es-page--detail .es-decision-grid article > strong,
.es-page--detail .es-process-strip--buyer > div > strong,
.es-context-brief__cards strong {
  color: #102a43;
}

.es-page--detail .es-decision-grid article > p,
.es-page--detail .es-process-strip--buyer > div > p,
.es-context-brief__cards p {
  color: #405668;
}

.es-context-brief__rail div:nth-child(1),
.es-context-brief__rail div:nth-child(2),
.es-context-brief__rail div:nth-child(1) strong,
.es-context-brief__rail div:nth-child(2) strong,
.es-context-brief__rail div:nth-child(1) p,
.es-context-brief__rail div:nth-child(2) p {
  color: #fff !important;
  opacity: 1 !important;
}

.es-context-brief__rail div:nth-child(3),
.es-context-brief__rail div:nth-child(3) strong {
  color: #123047 !important;
}

.es-context-brief__rail div:nth-child(3) p {
  color: #526a7d !important;
  opacity: 1 !important;
}

html[dir="rtl"] .es-page:not(.es-page--home) .es-hero.es-hero--subpage .es-hero-media {
  right: auto !important;
  left: 0 !important;
}

html[dir="rtl"] .es-page--product.es-page--detail .es-hero.es-hero--subpage .es-hero-media {
  right: auto !important;
  left: max(28px, calc((100vw - 1280px) / 2)) !important;
}

.es-page--product.es-page--detail .es-product-section-head {
  align-items: start;
}

.es-page--product.es-page--detail .es-product-section-head > h2 {
  min-width: 0;
  max-width: min(860px, 100%);
}

.es-page--product.es-page--detail .es-product-section-context,
.es-page--product.es-page--detail .es-product-section-label {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.es-page--product.es-page--detail #testing .es-product-section-head {
  grid-column: 1 / -1;
  align-items: start;
  margin-bottom: 18px;
}

.es-page--product.es-page--detail #testing .es-product-section-context {
  color: #f2b16d;
}

.es-page--product.es-page--detail #testing .es-test-delivery-layout {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.es-page--product.es-page--detail #testing .es-test-delivery-panel {
  min-width: 0;
}

.es-page--product.es-page--detail #testing .es-test-chip-grid em,
.es-page--product.es-page--detail #testing .es-delivery-mini-list div,
.es-page--product.es-page--detail #testing .es-delivery-mini-list strong,
.es-page--product.es-page--detail #testing .es-delivery-mini-list p {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .es-page-section--applications.es-page--detail .es-inner-priorities .es-module-heading,
  .es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid,
  .es-page--detail .es-distinct-anchor-grid,
  .es-context-brief .es-distinct-anchor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html[dir="rtl"] .es-page:not(.es-page--home) .es-hero.es-hero--subpage .es-hero-media {
    right: auto !important;
    left: auto !important;
  }

  .es-page--detail [id] {
    scroll-margin-top: calc(var(--es-header-height) + 24px);
  }

  .es-page-section--applications.es-page--detail .es-inner-priorities {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .es-page--detail .es-article-layout--buyer .es-inner-priorities {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article,
  .es-page-section--applications.es-page--detail .es-inner-priorities .es-decision-grid article:first-child {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .es-page--detail .es-article-layout--buyer .es-inner-priorities .es-decision-grid article {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .es-page--product.es-page--detail #testing .es-test-delivery-layout {
    grid-template-columns: 1fr;
  }
}

.es-home-latest-articles {
  border-top: 1px solid rgba(16, 42, 79, 0.08);
  border-bottom: 1px solid rgba(16, 42, 79, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(42, 111, 158, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(248, 251, 252, 0.96), rgba(243, 247, 248, 0.96));
}

.es-home-latest-grid,
.es-cms-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: var(--es-max-width);
  margin: 0 auto;
}

.es-home-latest-grid article,
.es-cms-card {
  min-width: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(16, 42, 79, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(10, 34, 56, 0.065);
}

.es-home-latest-grid time,
.es-cms-card time,
.es-cms-article-hero time {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2a6f9e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.es-home-latest-grid h3,
.es-cms-card h3 {
  margin: 0 0 14px;
  color: var(--es-navy);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.16;
}

.es-home-latest-grid a,
.es-cms-card a {
  color: inherit;
  text-decoration: none;
}

.es-home-latest-grid p,
.es-cms-card p {
  color: var(--es-text-secondary);
  line-height: 1.72;
}

.es-home-latest-grid article > a:last-child,
.es-cms-read,
.es-home-latest-more a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: 12px;
  color: var(--es-link-accent);
  font-weight: 850;
}

.es-home-latest-more {
  display: flex;
  justify-content: center;
  max-width: var(--es-max-width);
  margin: 26px auto 0;
}

.es-cms-hero,
.es-cms-article-hero {
  padding: calc(var(--es-header-height) + clamp(56px, 8vw, 108px)) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(circle at 80% 0%, rgba(239, 120, 31, 0.12), transparent 34%),
    linear-gradient(135deg, #f8faf9 0%, #eef4f6 100%);
}

.es-cms-hero > div,
.es-cms-article-hero > div {
  max-width: min(980px, var(--es-max-width));
  margin: 0 auto;
}

.es-cms-hero h1,
.es-cms-article-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--es-navy);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
}

.es-cms-hero p,
.es-cms-article-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--es-text-secondary);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.75;
}

.es-cms-index-wrap {
  display: grid;
  gap: 42px;
}

.es-cms-category h2 {
  max-width: var(--es-max-width);
  margin: 0 auto 20px;
  color: var(--es-navy);
  font-size: clamp(28px, 3vw, 42px);
}

.es-cms-empty {
  max-width: var(--es-max-width);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(16, 42, 79, 0.1);
  border-radius: 22px;
  background: #fff;
  color: var(--es-text-secondary);
}

.es-page--cms-index .es-inner-intro,
.es-page--cms-index .es-copy-panel,
.es-page--cms-index .es-decision-grid article,
.es-page--cms-index .es-process-strip--buyer {
  max-width: var(--es-max-width);
  margin-right: auto;
  margin-left: auto;
  border: 1px solid rgba(16, 42, 79, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 0%, rgba(22, 140, 200, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 249, 0.94));
  box-shadow: 0 18px 46px rgba(10, 34, 56, 0.055);
}

.es-page--cms-index .es-inner-intro,
.es-page--cms-index .es-copy-panel {
  padding: clamp(28px, 4vw, 54px);
}

.es-page--cms-index .es-inner-intro__copy {
  max-width: 980px;
}

.es-page--cms-index .es-inner-intro__copy p,
.es-page--cms-index .es-copy-panel p {
  margin: 14px 0 0;
  color: var(--es-text-secondary);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.78;
}

.es-page--cms-index .es-decision-grid {
  display: grid;
  max-width: var(--es-max-width);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.es-page--cms-index .es-decision-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
}

.es-page--cms-index .es-decision-grid article strong,
.es-page--cms-index .es-copy-panel h2,
.es-page--cms-index .es-process-strip__head h2,
.es-page--cms-index .es-process-strip__steps strong {
  color: var(--es-navy);
}

.es-page--cms-index .es-decision-grid article strong {
  font-size: 18px;
}

.es-page--cms-index .es-decision-grid article p,
.es-page--cms-index .es-process-strip__steps article {
  color: var(--es-text-secondary);
  line-height: 1.7;
}

.es-page--cms-index .es-process-strip--buyer {
  padding: clamp(28px, 4vw, 48px);
}

.es-page--cms-index .es-process-strip__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.es-page--cms-index .es-process-strip__steps article {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.es-page--cms-index .es-process-strip__steps span {
  color: var(--es-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.es-page--cms-index .es-copy-panel--contact .es-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.es-cms-article-layout {
  align-items: start;
}

.es-cms-article-body {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(16, 42, 79, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 34, 56, 0.055);
}

.es-cms-article-body h2:first-child {
  margin-top: 0;
}

.es-cms-sidebar .es-side-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(16, 42, 79, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f6f9fa);
  box-shadow: 0 16px 42px rgba(10, 34, 56, 0.055);
}

@media (max-width: 980px) {
  .es-home-latest-grid,
  .es-cms-card-grid {
    grid-template-columns: 1fr;
  }

  .es-cms-article-layout {
    grid-template-columns: 1fr;
  }

  .es-page--cms-index .es-decision-grid,
  .es-page--cms-index .es-process-strip__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .es-cms-hero,
  .es-cms-article-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .es-cms-hero h1,
  .es-cms-article-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.04;
  }

  .es-home-latest-grid article,
  .es-cms-card,
  .es-cms-article-body,
  .es-page--cms-index .es-inner-intro,
  .es-page--cms-index .es-copy-panel,
  .es-page--cms-index .es-decision-grid article,
  .es-page--cms-index .es-process-strip--buyer {
    border-radius: 18px;
  }

  .es-page--cms-index .es-decision-grid,
  .es-page--cms-index .es-process-strip__steps {
    grid-template-columns: 1fr;
  }
}
