/* Healthcare pages (/healthcare/, /epic/, /oracle-health/, /meditech/). Classes are prefixed .hc- */

/* --- Hero art: decorative animated SVG behind the hero text (aria-hidden by nature: it is a background) --- */
.hc-hero > * { position: relative; z-index: 1; }
.hc-hero--lifeline::after,
.hc-hero--globe::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events: none;
  max-width: 100%; background-position: center; background-repeat: no-repeat; background-size: contain;
}
.hc-hero--lifeline::after {
  right: 44px; width: 560px; height: 260px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22260%22%20viewBox%3D%220%200%20560%20260%22%20fill%3D%22none%22%3E%3Cstyle%3E%40keyframes%20l%7Bfrom%7Bstroke-dashoffset%3A180%7Dto%7Bstroke-dashoffset%3A-1000%7D%7D%40media%20(prefers-reduced-motion%3Areduce)%7Bpath%7Banimation%3Anone!important%7D%7D%3C%2Fstyle%3E%3Cpath%20d%3D%22M0%20130%20L90%20130%20L100%20130%20L110%20120%20L120%20130%20L140%20130%20L146%20142%20L156%2040%20L166%20175%20L176%20130%20L200%20130%20L215%20110%20L230%20130%20L280%20130%20L370%20130%20L380%20130%20L390%20120%20L400%20130%20L420%20130%20L426%20142%20L436%2040%20L446%20175%20L456%20130%20L480%20130%20L495%20110%20L510%20130%20L560%20130%22%20stroke%3D%22%2300A9ED%22%20stroke-opacity%3D%220.18%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M0%20130%20L90%20130%20L100%20130%20L110%20120%20L120%20130%20L140%20130%20L146%20142%20L156%2040%20L166%20175%20L176%20130%20L200%20130%20L215%20110%20L230%20130%20L280%20130%20L370%20130%20L380%20130%20L390%20120%20L400%20130%20L420%20130%20L426%20142%20L436%2040%20L446%20175%20L456%20130%20L480%20130%20L495%20110%20L510%20130%20L560%20130%22%20pathLength%3D%221000%22%20stroke%3D%22%2300A9ED%22%20stroke-width%3D%228%22%20stroke-opacity%3D%220.35%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%20stroke-dasharray%3D%22180%201200%22%20style%3D%22filter%3Ablur(6px)%3Banimation%3Al%203.2s%20linear%20infinite%22%2F%3E%3Cpath%20d%3D%22M0%20130%20L90%20130%20L100%20130%20L110%20120%20L120%20130%20L140%20130%20L146%20142%20L156%2040%20L166%20175%20L176%20130%20L200%20130%20L215%20110%20L230%20130%20L280%20130%20L370%20130%20L380%20130%20L390%20120%20L400%20130%20L420%20130%20L426%20142%20L436%2040%20L446%20175%20L456%20130%20L480%20130%20L495%20110%20L510%20130%20L560%20130%22%20pathLength%3D%221000%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222.5%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%20stroke-dasharray%3D%22180%201200%22%20style%3D%22animation%3Al%203.2s%20linear%20infinite%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hc-hero--globe::after { right: 90px; width: 360px; height: 360px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22360%22%20height%3D%22360%22%20viewBox%3D%220%200%20360%20360%22%20fill%3D%22none%22%3E%3Cstyle%3E%40keyframes%20spin%7Bfrom%7Btransform%3Arotate(-18deg)%7Dto%7Btransform%3Arotate(342deg)%7D%7D%40keyframes%20glow%7B0%25%2C70%25%2C100%25%7Bopacity%3A0%3Btransform%3Ascale(0.5)%7D20%25%7Bopacity%3A0.35%3Btransform%3Ascale(1)%7D%7D%40keyframes%20core%7B0%25%2C70%25%2C100%25%7Bopacity%3A0.35%7D20%25%7Bopacity%3A1%7D%7D%40media%20(prefers-reduced-motion%3Areduce)%7Bg%2Ccircle%7Banimation%3Anone!important%7D%7D%3C%2Fstyle%3E%3Cg%20style%3D%22transform-origin%3A180px%20180px%3Banimation%3Aspin%2060s%20linear%20infinite%22%3E%3Cg%20stroke%3D%22%2300A9ED%22%20stroke-opacity%3D%220.32%22%20stroke-width%3D%221.6%22%3E%3Ccircle%20cx%3D%22180%22%20cy%3D%22180%22%20r%3D%22150%22%20stroke-opacity%3D%220.55%22%20stroke-width%3D%222%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22309.9%22%20rx%3D%2275.0%22%20ry%3D%2221.0%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22255.0%22%20rx%3D%22129.9%22%20ry%3D%2236.4%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22180.0%22%20rx%3D%22150.0%22%20ry%3D%2242.0%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22105.0%22%20rx%3D%22129.9%22%20ry%3D%2236.4%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%2250.1%22%20rx%3D%2275.0%22%20ry%3D%2221.0%22%2F%3E%3Cpath%20d%3D%22M180%2030%20L180%20330%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22180%22%20rx%3D%2275.0%22%20ry%3D%22150%22%2F%3E%3Cellipse%20cx%3D%22180%22%20cy%3D%22180%22%20rx%3D%22129.9%22%20ry%3D%22150%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cg%20transform%3D%22translate(286.4%20275.9)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A0.00s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A0.00s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(50.1%20201)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A0.55s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A0.55s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(202.6%20140.8)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A1.10s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A1.10s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(109.5%20302.7)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A1.65s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A1.65s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(279.5%2083.6)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A2.20s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A2.20s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(248%20243.4)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A2.75s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A2.75s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(142.5%2068.3)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A3.30s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A3.30s%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(62.3%20243.4)%22%3E%3Ccircle%20r%3D%2216%22%20fill%3D%22%2300A9ED%22%20style%3D%22opacity%3A0%3Banimation%3Aglow%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A3.85s%22%2F%3E%3Ccircle%20r%3D%226.5%22%20fill%3D%22%230D2844%22%20stroke%3D%22%236EC1FF%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20r%3D%223%22%20fill%3D%22%236EC1FF%22%20style%3D%22opacity%3A0.35%3Banimation%3Acore%204.2s%20ease-in-out%20infinite%3Banimation-delay%3A3.85s%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.hc-lede-s { max-width: 560px; text-wrap: pretty; }

/* --- Layout gaps that scale with --sg (WordPress drops calc() from the Block Spacing control) --- */
.wp-block-columns.hc-gap-52 { gap: calc(52px * var(--sg)); }
.wp-block-group.hc-gap-72 { gap: calc(72px * var(--sg)); }
.wp-block-group.hc-gap-48 { gap: calc(48px * var(--sg)); }
.wp-block-group.hc-gap-40 { gap: calc(40px * var(--sg)); }
/* Stack of media rows: vertical rhythm between top-level children */
.hc-rows > * + * { margin-top: calc(56px * var(--sg)); }
.hc-rows--96 > * + * { margin-top: calc(96px * var(--sg)); }

/* --- Section pieces --- */
.hc-h-wide { max-width: 900px; text-wrap: balance; }

/* Checklist with the larger 26px badge used by the program outcomes */
ul.is-style-checklist.hc-checks { gap: 14px; font-size: 16px; line-height: 1.55; }
ul.is-style-checklist.hc-checks:not(.has-text-color) { color: var(--wp--preset--color--navy); }
ul.is-style-checklist.hc-checks > li { padding-left: 40px; }
ul.is-style-checklist.hc-checks > li::before { width: 26px; height: 26px; top: 0; font-size: 13px; background: #00A9ED1a; border: 1px solid #00A9ED66; }

/* Dashed connectors between the program steps (core Separator) */
hr.wp-block-separator.hc-connector {
  width: 2px; height: 40px; margin: 0 auto; border: 0; opacity: 1;
  background: repeating-linear-gradient(#00A9ED 0 6px, transparent 6px 11px);
}
hr.wp-block-separator.hc-connector--lg { height: 48px; }

.hc-next > .hc-arrow-dot {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0;
  border-radius: 50%; background: var(--wp--preset--color--blue); color: var(--wp--preset--color--navy); font-size: 16px; font-weight: 700; line-height: 1;
}

.hc-stat-link a { color: inherit; }

.wp-block-image.hc-partner-logo { margin: 0 0 20px; }
.wp-block-image.hc-partner-logo img { display: block; width: 170px; height: 52px; object-fit: contain; object-position: 0 50%; }
.wp-block-image.hc-partner-logo--sm img { width: 150px; }

.gt-doc.hc-card-240 { min-height: 240px; }

/* MEDITECH logos fill their cell (the first is a taller crop) */
.is-style-logos.hc-logos-fill > .wp-block-image img { width: 100%; max-width: 100%; height: 56px; max-height: none; object-fit: contain; }
.is-style-logos.hc-logos-fill > .wp-block-image.hc-logo-lg { height: 87px; margin: -15px 0; }
.is-style-logos.hc-logos-fill > .wp-block-image.hc-logo-lg img { height: 87px; }

/* Quote at the 30px maximum used on MEDITECH */
.wp-block-quote.is-style-large.hc-quote-30 p { font-size: clamp(20px, calc(20px + 10 * (100vw - 400px) / 880), 30px); }

/* Long button labels wrap instead of overflowing on phones */
.wp-block-button.hc-btn-wrap { max-width: 100%; }
.wp-block-button.hc-btn-wrap .wp-block-button__link { white-space: normal; text-align: left; height: auto; min-height: 52px; }

/* --- Oracle Health --- */
/* Client logos: centered rows of four (two per row on phones) */
.hc-logos > .wp-block-image { flex: 0 0 calc((100% - 144px) / 4); height: 56px; margin: 0; display: flex; align-items: center; justify-content: center; }
.hc-logos > .wp-block-image img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.hc-logos > .wp-block-image.hc-logo-tall { height: 148px; }
@media (max-width: 640px) { .hc-logos > .wp-block-image { flex-basis: calc((100% - 32px) / 2); } }

/* Perception / reality cards: video flush to the top edge */
.hc-media-card.is-style-panel-gray { padding: 0; overflow: hidden; }
.hc-media-card .gvideo-figure { margin: 0; }
.hc-media-card .gvideo { border-radius: 0; box-shadow: none; }

/* Deployment architecture diagram */
.hc-arch { border-left: 1px solid #DFE6F0; padding: 32px 0 36px min(52px, var(--gx)); }
.hc-arch .wp-block-image img { display: block; width: 140px; height: 110px; border-radius: 12px; object-fit: contain; }
/* Section headings at the Astro sizes: 20px up to 28px (32px on MEDITECH) from 400px to 1280px wide */
.hc-h-28 { font-size: clamp(20px, calc(20px + 8 * (100vw - 400px) / 880), 28px); line-height: 1.12; letter-spacing: -0.02em; }
.hc-h-26 { font-size: clamp(20px, calc(20px + 6 * (100vw - 400px) / 880), 26px); line-height: 1.15; letter-spacing: -0.02em; }
.hc-h-32 { font-size: clamp(20px, calc(20px + 12 * (100vw - 400px) / 880), 32px); line-height: 1.1; letter-spacing: -0.02em; }

/* Step titles: 21px at every width (a custom size in the editor would become fluid) */
.hc-step-title { font-size: 21px; }
.hc-arch h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.hc-arch-desc { max-width: 220px; text-wrap: pretty; }
hr.wp-block-separator.hc-arch-lines {
  width: 100%; height: 56px; margin: 12px 0; border: 0; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cline%20x1%3D%2250%22%20y1%3D%220%22%20x2%3D%2225%22%20y2%3D%22100%22%20stroke%3D%22%2300A9ED%22%20stroke-width%3D%221.5%22%20stroke-dasharray%3D%225%205%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%220%22%20x2%3D%2275%22%20y2%3D%22100%22%20stroke%3D%22%2300A9ED%22%20stroke-width%3D%221.5%22%20stroke-dasharray%3D%225%205%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}

/* Customer quote beside the case-study video */
.wp-block-quote.hc-case-quote { margin: 28px 0 0; padding: 0; border: 0; }
.hc-case-quote p {
  margin: 0 0 14px; font-family: var(--wp--preset--font-family--poppins); font-weight: 500; font-size: 20px; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--wp--preset--color--navy); text-wrap: pretty; font-style: normal;
}
.hc-case-quote p::before, .hc-case-quote p::after { color: #00A9ED; font-weight: 700; }
.hc-case-quote p::before { content: '“'; }
.hc-case-quote p::after { content: '”'; }
.hc-case-quote cite {
  display: flex; align-items: center; gap: 14px; font-style: normal; font-size: 15px;
  font-family: var(--wp--preset--font-family--poppins); color: var(--wp--preset--color--slate);
}
.hc-case-quote cite::before { content: ''; width: 28px; height: 2px; background: #00A9ED; flex: none; }
.hc-case-quote cite strong { color: var(--wp--preset--color--navy); }
.hc-rule { border-top: 1px solid var(--wp--preset--color--border); padding-top: 28px; }
