/* Product and sector pages (/products/..., /solution/...): the same look as the homepage and How
   it works, on top of their Elementor blocks. The pages carry <html class="pg">; the classes
   below are added to their own blocks:
   - .pg-top    the first block: deep blue, with the page's line drawing in light lines on the
                right (.pg-top__draw);
   - .pg-band   the block under it: light, text on the left and a diagram on the right (.pg-fig);
   - the closing band is the homepage's (.hp-final, home.css).
   The network in the diagrams: style.css and classic.css. */

/* The site header is a white bar above the top (as on the homepage), not laid over it. */
html.pg .elementor-location-header { position: relative; z-index: 20; background: #fff; }

/* ---------- Top ---------- */
html.pg .pg-top.pg-top.pg-top { --margin-top: 0px; --padding-top: 52px; --padding-bottom: 60px; --min-height: 0px;
  position: relative; z-index: 3; isolation: isolate; overflow: clip; background: #003069 none !important; color: #CFE0F5; }
html.pg .pg-top.pg-top::before { display: none; }
.pg-top__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 66% at 76% 50%, rgba(52, 150, 240, .5), transparent 72%),
    radial-gradient(30% 42% at 78% 52%, rgba(95, 219, 120, .2), transparent 70%),
    linear-gradient(150deg, #00214A 0%, #003472 46%, #044E9D 100%); }
.pg-top__bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .17) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 75% at 76% 50%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 75% at 76% 50%, #000 20%, transparent 100%); }

/* The picture: right of the text, as high as the block. */
.it-home.pg-top__pic { position: absolute; z-index: -1; top: 0; bottom: 0; right: max(3%, calc((100% - 1360px) / 2)); width: min(45%, 620px);
  background: none; overflow: visible; pointer-events: none; }
.pg-top__draw { position: absolute; inset: 0 -3% 0 -14%; background: center / contain no-repeat; opacity: .95;
  -webkit-mask-image: radial-gradient(closest-side, #000 56%, transparent 100%); mask-image: radial-gradient(closest-side, #000 56%, transparent 100%); }
/* The drawings made for the pages without an original one (tools/make-drawings.js) fill their
   whole picture, so they fade towards all four edges instead of in a circle. */
.pg-top__draw--own { inset: 3% -2% 3% -8%; opacity: .86;
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%); }

/* The text keeps to the left half, in light colours. */
html.pg .pg-top.pg-top > .e-con { --padding-left: max(40px, calc((100% - 1240px) / 2)); --padding-right: 50%; }
/* (The first row used to leave room for the header that lay over the block.) */
html.pg .pg-top.pg-top > .pg-top__pic + .e-con { --padding-top: 0px; }
html.pg .pg-top .elementor-heading-title { color: #fff !important; background: none !important; -webkit-text-fill-color: currentColor !important; text-wrap: balance; }
html.pg .pg-top .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(38px, 3.5vw, 54px) !important; line-height: 1.08 !important; }
html.pg .pg-top .elementor-widget-text-editor, html.pg .pg-top .elementor-widget-text-editor p { color: #CFE0F5 !important; }
html.pg .pg-top .elementor-widget-text-editor { width: auto !important; max-width: 34em !important; font-size: 20px !important; line-height: 1.55 !important; }
html.pg .pg-top .elementor-widget-text-editor strong { color: #fff; font-weight: 500; }
html.pg .pg-top .elementor-widget-text-editor a { color: #fff !important; }
html.pg .pg-top .elementor-widget-icon svg, html.pg .pg-top .elementor-widget-icon svg path { fill: #A9D2FF !important; }
html.pg .pg-top a:focus-visible { outline-color: #fff; }
/* Its button (the two overview pages): the bright green one of the homepage. */
html.pg .pg-top .elementor-button { background: #5FDB78 !important; color: #00264F !important; border: 0 !important; box-shadow: 0 10px 30px -10px rgba(95, 219, 120, .75); }
html.pg .pg-top .elementor-button:hover, html.pg .pg-top .elementor-button:focus { background: #7BE891 !important; color: #00264F !important; }
/* The two overview pages had their text centred on a full-width band: left, like the others. */
html.pg .pg-top--overview.pg-top, html.pg .pg-top--overview .e-con { --align-items: flex-start; --justify-content: flex-start; align-items: flex-start; justify-content: flex-start; }
html.pg .pg-top--overview .e-con .e-con { --padding-left: 0px; --padding-right: 0px; --width: 100%; }
html.pg .pg-top--overview .elementor-widget, html.pg .pg-top--overview .elementor-widget-container, html.pg .pg-top--overview .elementor-heading-title, html.pg .pg-top--overview p { text-align: left !important; }
html.pg .pg-top--overview .elementor-widget-heading, html.pg .pg-top--overview .elementor-widget-text-editor { width: 100% !important; }

/* ---------- The block under the top: light, with a diagram ---------- */
html.pg .pg-band.pg-band.pg-band { --padding-top: 76px; --padding-bottom: 84px; --padding-left: max(40px, calc((100% - 1240px) / 2)); --padding-right: max(40px, calc((100% - 1240px) / 2)); --gap: 22px 56px; --row-gap: 22px; --column-gap: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-content: center; gap: 22px 56px; background: #F5F8FC none !important; }
html.pg .pg-band.pg-band::before { display: none; }
html.pg .pg-band > .e-con { grid-column: 1; --width: 100%; --justify-content: flex-start; width: 100%; }
html.pg .pg-band > .e-con > .e-con { --width: 100%; width: 100%; }
html.pg .pg-band .elementor-heading-title { color: #003C7C !important; }
html.pg .pg-band .elementor-widget-text-editor, html.pg .pg-band .elementor-widget-text-editor p { color: #33475E !important; }
html.pg .pg-band .elementor-widget-text-editor { font-size: 20px !important; line-height: 1.6 !important; }
html.pg .pg-band .elementor-widget-text-editor strong { color: #0E2340; }
html.pg .pg-band a, html.pg .pg-band a.it-onblue { color: #044E9D !important; text-decoration: underline; text-underline-offset: 3px; }

/* The diagram: a white card with a still picture of the network (classic.js, data-fc-still) or
   a flow of cards (.pg-flow), and one line under it. */
.it-home.pg-fig { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; padding: 14px 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); overflow: hidden; }
.pg-fig__net { position: relative; height: 500px; }
.pg-fig figcaption { margin-top: 6px; padding: 0 12px; font-size: 16.5px; line-height: 1.4; text-align: center; color: var(--muted); }
.pg-fig figcaption b { font-weight: 500; color: var(--ink); }

/* Flow of cards (medical): from the analyser to the lab, top to bottom. */
.pg-flow { display: grid; gap: 30px; margin: 0; padding: 22px 26px 14px !important; list-style: none; }
.pg-flow li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 2px 16px; padding: 14px 18px !important; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-sm); }
.pg-flow li + li::before { content: ""; position: absolute; left: 43px; top: -31px; width: 2px; height: 30px; background: var(--green); }
.pg-flow li + li::after { content: ""; position: absolute; left: 38px; top: -10px; width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }
.pg-flow__ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.pg-flow__ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pg-flow li.is-key .pg-flow__ico { background: var(--gtint); color: var(--gdark); }
.pg-flow b { font-family: var(--head); font-size: 19.5px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.pg-flow span:last-child { grid-column: 2; font-size: 16.5px; line-height: 1.35; color: var(--text); }
.pg-flow__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 26px 0 !important; padding: 9px 14px !important; border-radius: 999px; background: var(--gtint); font-size: 16px; line-height: 1.3; color: var(--gdark); }
.pg-flow__note svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  /* The picture comes under the text. */
  html.pg .pg-top.pg-top.pg-top { --padding-top: 40px; --padding-bottom: 28px; }
  html.pg .pg-top.pg-top > .e-con { --padding-left: 40px; --padding-right: 40px; }
  .it-home.pg-top__pic { position: relative; order: 9; top: auto; right: auto; width: min(100% - 32px, 640px); height: 340px; margin: 4px auto 0; }
  html.pg .pg-band.pg-band.pg-band { grid-template-columns: minmax(0, 1fr); --padding-top: 56px; --padding-bottom: 64px; }
  .it-home.pg-fig { grid-column: 1; grid-row: auto; width: 100%; max-width: 640px; margin: 14px auto 0; }
}
@media (max-width: 767px) {
  html.pg .pg-top.pg-top.pg-top { --padding-top: 28px; }
  html.pg .pg-top.pg-top > .e-con { --padding-left: 20px; --padding-right: 20px; }
  html.pg .pg-top .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(32px, 8.6vw, 40px) !important; }
  html.pg .pg-top .elementor-widget-text-editor, html.pg .pg-band .elementor-widget-text-editor { font-size: 18.5px !important; }
  .it-home.pg-top__pic { width: calc(100% - 16px); height: 260px; }
  html.pg .pg-band.pg-band.pg-band { --padding-left: 20px; --padding-right: 20px; --padding-top: 44px; --padding-bottom: 52px; }
  .it-home.pg-fig { padding: 8px 8px 14px; border-radius: 20px; }
  .pg-fig__net { height: 430px; }
  .pg-flow { gap: 26px; padding: 14px 10px 10px !important; }
  .pg-flow li + li::before { top: -27px; height: 26px; }
  .pg-flow__note { margin: 6px 10px 0 !important; border-radius: 14px; }
}
