/* Datamac – liquid-glass hero, interactive illustrations and blog post body (loaded by Datamac Shield). */

/* ---------------------------------------------------------------- liquid-glass stage */
.dm-liquid-stage { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; margin: 0 auto; isolation: isolate; }
.dm-liquid-stage canvas.dm-liquid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* CSS fallback blobs (hidden once WebGL runs) */
.dm-blobs { position: absolute; inset: 6%; z-index: 0; filter: blur(2px) saturate(130%); }
.dm-webgl .dm-blobs { display: none; }
.dm-blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: radial-gradient(circle at 30% 28%, #E0F2FE 0 6%, #38BDF8 18%, #0047FF 52%, #1D4ED8 72%, #001A66 100%);
  box-shadow: inset -18px -24px 40px rgba(0, 26, 102, .45), inset 14px 16px 30px rgba(255, 255, 255, .55), 0 30px 60px -20px rgba(0, 71, 255, .45);
  animation: dm-morph 12s ease-in-out infinite, dm-drift 18s ease-in-out infinite; opacity: .92; }
.dm-blob:nth-child(1) { width: 58%; height: 58%; left: 18%; top: 14%; }
.dm-blob:nth-child(2) { width: 30%; height: 30%; left: 62%; top: 58%; animation-delay: -4s, -6s; }
.dm-blob:nth-child(3) { width: 20%; height: 20%; left: 8%; top: 64%; animation-delay: -8s, -11s; }
@keyframes dm-morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 63% 37% 44% 56% / 53% 61% 39% 47%; }
  66% { border-radius: 37% 63% 51% 49% / 37% 35% 65% 63%; }
}
@keyframes dm-drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(4%, -5%) rotate(14deg); } }

/* 3D glass logo floating over the liquid */
.dm-glass-logo { position: absolute; left: 50%; top: 46%; width: 46%; z-index: 2; transform-style: preserve-3d; transition: transform .25s ease-out;
  translate: -50% -50%; filter: drop-shadow(0 24px 30px rgba(0, 26, 102, .35)); animation: dm-float 7s ease-in-out infinite; }
.dm-glass-logo img { display: block; width: 100%; height: auto; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 60%, rgba(224, 242, 254, .35));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 2px 14px rgba(255, 255, 255, .9), inset 0 -10px 30px rgba(0, 71, 255, .18); }
.dm-glass-logo::after { content: ""; position: absolute; inset: 6% 16% 56% 16%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transform: translateZ(30px); }
@keyframes dm-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }

/* frosted glass cards on top of the liquid */
.dm-glass { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .28), inset 0 1px 0 rgba(255, 255, 255, .9);
  font-family: "Inter", system-ui, sans-serif; color: #0F172A; animation: dm-float 8s ease-in-out infinite; }
.dm-glass p { margin: 0 !important; font-size: 13px !important; line-height: 1.35 !important; color: #334155 !important; }
.dm-glass strong { display: block; font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 22px; color: #0F172A; }
.dm-glass-a { left: -2%; top: 12%; animation-delay: -2s; }
.dm-glass-b { right: -2%; top: 30%; animation-delay: -5s; }
.dm-glass-c { left: 6%; bottom: 6%; animation-delay: -1s; }
.dm-glass .dm-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #B91C1C !important; }
.dm-glass .dm-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #DC2626; animation: dm-blink 1.4s infinite; }
@keyframes dm-blink { 50% { opacity: .25; } }
@media (max-width: 980px) { .dm-liquid-stage { max-width: 440px; } .dm-glass strong { font-size: 18px; } }
@media (max-width: 480px) { .dm-glass-b { display: none; } }

/* ---------------------------------------------------------------- interactive illustrations */
.dm-figure.dm-illus img { border: 0; box-shadow: none; background: transparent; transition: transform .35s ease; }
.dm-figure.dm-illus:hover img { transform: translateY(-6px) scale(1.01); }

/* ---------------------------------------------------------------- blog post body (Divi Theme Builder template) */
.dm-post-body { font-family: "Inter", system-ui, sans-serif; color: #334155; font-size: 18px; line-height: 1.75; }
.dm-post-body h2 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; color: #0F172A; font-size: 28px; line-height: 1.25; margin: 44px 0 12px; padding: 0; scroll-margin-top: 110px; }
.dm-post-body h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; color: #0F172A; font-size: 21px; margin: 28px 0 8px; padding: 0; }
.dm-post-body p, .dm-post-body li { font-size: 18px; color: #334155; }
.dm-post-body a { color: #1D4ED8; text-decoration: underline; text-underline-offset: 3px; }
.dm-post-body ul, .dm-post-body ol { padding-left: 24px; margin-bottom: 20px; }
.dm-post-body li { margin-bottom: 8px; }
.dm-post-body blockquote { border-left: 4px solid #1D4ED8; background: #EEF2FF; margin: 24px 0; padding: 16px 20px; border-radius: 0 12px 12px 0; }
.dm-post-body blockquote p { margin: 0; color: #0F172A; font-style: normal; }
.dm-post-body pre.dm-code { background: #0F172A; color: #E2E8F0; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; margin: 20px 0; }
.dm-post-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.dm-post-body :not(pre) > code { background: #F1F5F9; border: 1px solid #E2E8F0; padding: 2px 6px; border-radius: 6px; color: #0F172A; }
.dm-post-body .dm-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid #E2E8F0; border-radius: 14px; }
.dm-post-body table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 15.5px; }
.dm-post-body th, .dm-post-body td { padding: 12px 14px; text-align: left; border: 0; border-bottom: 1px solid #F1F5F9; vertical-align: top; }
.dm-post-body thead th { background: #F8FAFC; color: #0F172A; font-weight: 600; }
.dm-post-body .dm-post-cta { margin: 44px 0 10px; padding: 28px; border-radius: 20px; border: 1px solid rgba(29, 78, 216, .18);
  background: linear-gradient(135deg, #EEF2FF, #F8FAFC 60%, #E0F2FE); }
.dm-post-body .dm-post-cta h2 { margin-top: 0; }
.dm-post-meta { font-size: 14px; color: #64748B; }
.dm-reading-bar { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 99999; background: linear-gradient(90deg, #1D4ED8, #0EA5E9); }

@media (prefers-reduced-motion: reduce) {
  .dm-blob, .dm-glass, .dm-glass-logo { animation: none; }
  .dm-figure.dm-illus img { transition: none; }
}

/* ---------------------------------------------------------------- 3-slide hero slider */
.dm-slider { position: relative; }
.dm-slides { display: grid; }
.dm-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.dm-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.dm-slider .dm-slide-title { font-size: clamp(36px, 5.4vw, 58px) !important; line-height: 1.08 !important; letter-spacing: -0.03em; font-weight: 800 !important; margin: 0 0 20px !important; }
.dm-slider-nav { display: none; align-items: center; gap: 10px; margin-top: 26px; }
.dm-slider-ready .dm-slider-nav { display: flex; }
.dm-slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E2E8F0; background: rgba(255, 255, 255, .85); color: #1D4ED8;
  font: 600 18px/1 "Inter", system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, .12); transition: background .15s, border-color .15s; }
.dm-slider-btn:hover { border-color: #1D4ED8; background: #EEF2FF; }
.dm-slider-btn.dm-pause { font-size: 11px; letter-spacing: -1px; margin-left: 4px; }
.dm-dots { display: flex; gap: 8px; }
.dm-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #CBD5E1; cursor: pointer; transition: width .3s, background .3s; }
.dm-dot.is-active { width: 30px; background: linear-gradient(90deg, #1D4ED8, #0EA5E9); }
.dm-dot:hover { background: #93C5FD; }
.dm-slider-btn:focus-visible, .dm-dot:focus-visible { outline: 2px solid #0047FF; outline-offset: 3px; }
/* progress line for the auto-advance */
.dm-slider-ready .dm-slides::after { content: ""; position: absolute; left: 0; bottom: -14px; height: 2px; width: 0; background: linear-gradient(90deg, #1D4ED8, #0EA5E9); opacity: .5; }
.dm-slider-ready.is-playing .dm-slides::after { animation: dm-progress var(--dm-interval, 7s) linear infinite; }
@keyframes dm-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dm-slide, .dm-slide.is-active { transition: none; transform: none; } }

/* ---------------------------------------------------------------- funnel: seats left + landing page */
.dms-seats { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #FEF3C7;
  border: 1px solid #FCD34D; color: #78350F; font: 600 13px/1.3 "Inter", system-ui, sans-serif; }
.dms-seats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D97706; animation: dm-blink 1.6s infinite; }
.dms-seats[data-left="0"] { background: #FEE2E2; border-color: #FCA5A5; color: #7F1D1D; }
.dm-seats-wrap { margin: 4px 0 14px !important; }
.dm-seats-wrap.dm-center { text-align: center; }
.dm-section .dm-lead-card { border: 2px solid transparent !important; background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(135deg, #1D4ED8, #0EA5E9 60%, #93C5FD) border-box !important; box-shadow: 0 24px 48px -12px rgba(29, 78, 216, .25); }
.dm-landing-header .dm-wordmark img { max-width: 140px; margin: 0; }
.dm-landing-header .dm-actions { margin: 0 !important; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .dms-seats::before { animation: none; } }

/* ---------------------------------------------------------------- scroll reveal (only when JS has started, so nothing hides without it) */
.dm-anim .dm-reveal { opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--dm-delay, 0ms); }
.dm-anim .dm-reveal.is-in { opacity: 1; transform: none; filter: none; }
.dm-anim .dm-toolbar li.dm-reveal { transform: translateY(12px); }
.dm-anim .dm-chips span.dm-reveal { transform: scale(.9); }

/* heading eyebrow: line draws in */
.dm-section .dm-eyebrow { position: relative; overflow: hidden; }
.dm-section .dm-eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, #1D4ED8, #0EA5E9); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s cubic-bezier(.2, .7, .2, 1); }
.dm-head.is-in .dm-eyebrow::after, html:not(.dm-anim) .dm-eyebrow::after { transform: scaleX(1); }

/* cards: lift + light that follows the pointer */
.dm-section .et_pb_text.dm-card, .dm-section .dm-col-card, .dm-blog .et_pb_post { position: relative; overflow: hidden; }
.dm-section .et_pb_text.dm-card::after, .dm-section .dm-col-card::after, .dm-blog .et_pb_post::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 71, 255, .09), transparent 45%); }
.dm-section .et_pb_text.dm-card:hover::after, .dm-section .dm-col-card:hover::after, .dm-blog .et_pb_post:hover::after { opacity: 1; }
.dm-section .et_pb_text.dm-card:hover, .dm-blog .et_pb_post:hover { transform: translateY(-4px); }
.dm-section .et_pb_text.dm-card .dm-card-icon { transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .35s; }
.dm-section .et_pb_text.dm-card:hover .dm-card-icon { transform: rotate(-6deg) scale(1.08); background: #DBEAFE; }

/* buttons: sheen sweep */
.dm-section a.dm-btn-primary, .dm-menu.et_pb_menu .et-menu > li.dm-menu-cta > a { position: relative; overflow: hidden; }
.dm-section a.dm-btn-primary::before, .dm-menu.et_pb_menu .et-menu > li.dm-menu-cta > a::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.dm-section a.dm-btn-primary:hover::before, .dm-menu.et_pb_menu .et-menu > li.dm-menu-cta > a:hover::before { left: 130%; transition: left .7s ease; }

/* illustrations and the founder photo tilt with the pointer (liquid.js) */
.dm-figure.dm-illus, .dm-ceo-photo { transition: transform .25s ease-out; transform-style: preserve-3d; }

/* tools strip: items float up on hover */
.dm-toolbar li:not(.dm-tool-label) { transition: transform .25s, color .25s; cursor: default; }
.dm-toolbar li:not(.dm-tool-label):hover { transform: translateY(-3px); color: #1D4ED8; }

/* FAQ: smoother open state */
.dm-faq .et_pb_toggle { transition: border-color .25s, box-shadow .25s; }
.dm-faq .et_pb_toggle_open { border-color: rgba(29, 78, 216, .35) !important; box-shadow: 0 10px 30px -12px rgba(29, 78, 216, .25); }

/* stray empty paragraphs WordPress adds inside the hero stage */
.dm-liquid-stage > p { display: none; }

@media (prefers-reduced-motion: reduce) {
  .dm-anim .dm-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .dm-section .et_pb_text.dm-card:hover, .dm-blog .et_pb_post:hover { transform: none; }
  .dm-section a.dm-btn-primary::before { display: none; }
}

/* ================================================================ v1.4: shades, floating header, marquees, photos */

/* --- different shades of white between sections ------------------------------------------- */
body #page-container .et_pb_section.dm-section.dm-porcelain { background: linear-gradient(180deg, #F8FAFC 0%, #F2F6FC 100%) !important; }
body #page-container .et_pb_section.dm-section.dm-porcelain:nth-of-type(3n+1) { background: linear-gradient(160deg, #F4F8FF 0%, #FFFFFF 70%) !important; }
body #page-container .et_pb_section.dm-section.dm-porcelain:nth-of-type(3n+2) { background: linear-gradient(200deg, #F1F7FD 0%, #F8FAFC 60%) !important; }
body #page-container .et_pb_section.dm-section.dm-tint-ice {
  background: radial-gradient(circle at 12% 0%, rgba(14, 165, 233, .10), transparent 42%),
              radial-gradient(circle at 92% 100%, rgba(29, 78, 216, .09), transparent 46%), #F5F8FF !important; }
/* white sections get a very faint dot grid so they never read as flat white */
body #page-container .et_pb_section.dm-section:not(.dm-porcelain):not(.dm-tint-ice):not(.dm-header):not(.dm-topbar):not(.dm-footer):not(.dm-hero):not(.dm-band) {
  background-image: radial-gradient(rgba(15, 23, 42, .045) 1px, transparent 1.2px) !important; background-size: 22px 22px !important; }
body #page-container .et_pb_section.dm-section.dm-page-hero { background: radial-gradient(circle at 90% 0%, rgba(0, 71, 255, .08), transparent 42%), linear-gradient(180deg, #F6F9FF, #FFFFFF) !important; }

/* --- announcement ticker (top of every page) ---------------------------------------------- */
.dm-announce { position: relative; z-index: 9996; overflow: hidden; background: linear-gradient(90deg, #0039CC, #1D4ED8 40%, #0EA5E9); color: #FFFFFF; }
.dm-announce-track { overflow: hidden; contain: inline-size; }
.dm-announce-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 36px; color: #FFFFFF !important; text-decoration: none !important;
  font: 600 13px/1.2 "Inter", system-ui, sans-serif; white-space: nowrap; }
.dm-announce-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FDE68A; box-shadow: 0 0 0 3px rgba(253, 230, 138, .3); }
.dm-announce-item:hover { text-decoration: underline !important; }

/* --- marquees -------------------------------------------------------------------------------- */
.dm-marquee-wrap { display: flex; align-items: center; gap: 22px; min-width: 0; max-width: 100%; }
.dm-marquee-wrap .dm-tool-label { flex: none; margin: 0 !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #64748B !important; }
.dm-marquee { flex: 1 1 0; width: 0; min-width: 0; contain: inline-size; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.dm-marquee-inner { display: flex; width: max-content; }
.dm-marquee-right .dm-marquee-inner { animation: dm-marq-right var(--dm-dur, 30s) linear infinite; }
.dm-marquee-left .dm-marquee-inner { animation: dm-marq-left var(--dm-dur, 30s) linear infinite; }
.dm-marquee:hover .dm-marquee-inner, .dm-announce:hover .dm-marquee-inner { animation-play-state: paused; }
@keyframes dm-marq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes dm-marq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dm-section .dm-marquee ul.dm-toolbar { display: flex; flex-wrap: nowrap; gap: 12px; padding: 4px 12px 8px 0; justify-content: flex-start; }
.dm-marquee .dm-toolbar li { flex: none; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, .12); font-size: 14px; }
.dm-marquee .dm-toolbar li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #1D4ED8, #0EA5E9); vertical-align: middle; }
.dm-marquee-static .dm-marquee-inner { flex-wrap: wrap; width: auto; }
@media (max-width: 767px) { .dm-marquee-wrap { flex-direction: column; align-items: stretch; gap: 12px; } .dm-marquee { flex: none; width: 100%; } }

/* --- floating header ----------------------------------------------------------------------- */
.dm-header-spacer { height: 0; }
.dm-floating body #page-container .et_pb_section.dm-section.dm-header {
  position: fixed !important; top: 12px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 24px)); z-index: 9995;
  padding: 0 !important; border-radius: 18px; border: 1px solid rgba(226, 232, 240, .9) !important;
  background: rgba(255, 255, 255, .82) !important; -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 20px 44px -20px rgba(15, 23, 42, .35); animation: dm-drop .35s cubic-bezier(.2, .7, .2, 1); }
.dm-floating body.admin-bar #page-container .et_pb_section.dm-section.dm-header { top: 44px; }
.dm-floating .dm-section.dm-header .et_pb_row { width: calc(100% - 36px) !important; }
.dm-floating .dm-menu.et_pb_menu .et-menu > li > a { padding-top: 16px; padding-bottom: 16px; }
/* header logo: keep its real shape (Divi can stretch it to fill the logo box) */
.dm-menu .et_pb_menu__logo-wrap { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.dm-menu .et_pb_menu__logo { width: auto !important; max-width: none !important; margin-right: 28px; }
.dm-menu .et_pb_menu__logo img { width: auto !important; height: 56px !important; max-height: 56px !important; max-width: none !important; object-fit: contain; }
.dm-floating .dm-menu .et_pb_menu__logo img { height: 42px !important; max-height: 42px !important; }
@media (max-width: 980px) { .dm-menu .et_pb_menu__logo img { height: 46px !important; max-height: 46px !important; } }
/* logo on the far left, menu and Apply button pushed to the right */
.dm-menu .et_pb_menu_inner_container { display: flex !important; align-items: center; justify-content: space-between; width: 100%; }
.dm-menu .et_pb_menu__logo-wrap { margin-right: auto !important; }
.dm-menu .et_pb_menu__wrap { flex: 1 1 auto !important; display: flex !important; justify-content: flex-end !important; margin-left: auto; }
.dm-menu .et_pb_menu__menu, .dm-menu .et-menu-nav, .dm-menu .et-menu-nav > ul.et-menu { justify-content: flex-end !important; }
.dm-menu .et_mobile_nav_menu { margin-left: auto; }
@keyframes dm-drop { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 980px) { .dm-floating body #page-container .et_pb_section.dm-section.dm-header { top: 8px; border-radius: 14px; } }

/* --- photos -------------------------------------------------------------------------------- */
.dm-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28); isolation: isolate; }
.dm-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.dm-photo:hover img { transform: scale(1.05); }
.dm-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); background: linear-gradient(180deg, transparent 55%, rgba(0, 26, 102, .28)); }
.dm-photo-chip { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .35);
  font: 500 13px/1.35 "Inter", system-ui, sans-serif; color: #334155; animation: dm-float 7s ease-in-out infinite; }
.dm-photo-chip strong { display: block; font: 700 16px/1.2 "Plus Jakarta Sans", "Inter", sans-serif; color: #0F172A; }
.dm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dm-gallery-item { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.dm-gallery-item:hover { transform: translateY(-6px); }
.dm-gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; color: #E2E8F0;
  font: 400 14px/1.45 "Inter", system-ui, sans-serif; background: linear-gradient(180deg, transparent, rgba(0, 16, 63, .82)); }
.dm-gallery-item figcaption strong { display: block; color: #FFFFFF; font: 700 18px/1.25 "Plus Jakarta Sans", "Inter", sans-serif; margin-bottom: 2px; }
@media (max-width: 980px) { .dm-gallery { grid-template-columns: 1fr; } }
.dm-post-body .dm-post-photo, .dm-post-photo { margin: 26px 0 30px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .3); }
.dm-post-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- typewriter caret on the hero accent words ------------------------------------------- */
.dm-accent.dm-typing::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em;
  background: currentColor; animation: dm-blink .8s steps(1) infinite; }

/* --- Divi back-to-top: brand colours, above the WhatsApp button -------------------------- */
.et_pb_scroll_top.et-pb-icon { background: #1D4ED8 !important; color: #FFFFFF !important; border-radius: 50% !important; right: 22px !important;
  bottom: 88px !important; padding: 10px !important; box-shadow: 0 10px 24px -8px rgba(29, 78, 216, .5); }

/* footer credit */
.dm-bottom .dm-credit a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .dm-marquee-inner, .dm-photo-chip { animation: none !important; }
  .dm-photo:hover img, .dm-gallery-item:hover { transform: none; }
}

/* ================================================================ v1.5: Datamac Newsroom (news-style blog) */
.dm-nr { --nr-ink: #0B1220; --nr-sub: #475569; --nr-rule: #E2E8F0; --nr-blue: #1D4ED8; --nr-red: #C8102E;
  background: #FFFFFF; color: var(--nr-ink); font-family: "Inter", system-ui, sans-serif; padding-bottom: 64px; }
.dm-nr a { color: inherit; text-decoration: none; }
.dm-nr-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.dm-nr-mast { padding: 34px 0 18px; border-bottom: 1px solid var(--nr-rule);
  background: radial-gradient(circle at 92% 0%, rgba(0, 71, 255, .07), transparent 40%), linear-gradient(180deg, #F6F9FF, #FFFFFF); }
.dm-nr-date { margin: 0 0 6px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nr-sub); }
.dm-nr-title { margin: 0; padding: 0; font: 800 clamp(34px, 5vw, 56px)/1.02 "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.025em; color: var(--nr-ink); }
.dm-nr-brand::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 10px; border-radius: 50%; background: var(--nr-red);
  vertical-align: .55em; animation: dm-nr-pulse 2s infinite; }
.dm-nr-intro { margin: 10px 0 0; padding: 0; max-width: 720px; font-size: 17px; line-height: 1.55; color: var(--nr-sub); }
@keyframes dm-nr-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .45); } 70% { box-shadow: 0 0 0 10px rgba(200, 16, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } }
@keyframes dm-nr-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* topic bar */
.dm-nr-topics { border-bottom: 1px solid var(--nr-rule); background: #FFFFFF; }
.dm-nr-topics .dm-nr-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dm-nr-topics .dm-nr-wrap::-webkit-scrollbar { display: none; }
.dm-nr-topics a { flex: none; padding: 14px 12px 12px; font-size: 14px; font-weight: 600; color: var(--nr-sub); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.dm-nr-topics a:hover, .dm-nr-topics a.is-active { color: var(--nr-ink); border-bottom-color: var(--nr-blue); }

/* latest ticker */
.dm-nr-ticker { display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--nr-rule); }
.dm-nr-live { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 3px; background: var(--nr-red); color: #FFFFFF;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dm-nr-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; animation: dm-nr-blink 1.2s ease-in-out infinite; }
.dm-nr-ticker-track { flex: 1 1 0; width: 0; min-width: 0; overflow: hidden; contain: inline-size;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.dm-nr-ticker-track .dm-marquee-inner > a { flex: none; white-space: nowrap; padding: 0 22px; font-size: 15px; font-weight: 600; position: relative; }
.dm-nr-ticker-track .dm-marquee-inner > a::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: #94A3B8; }
.dm-nr-ticker-track .dm-marquee-inner > a:hover { color: var(--nr-blue); text-decoration: underline; }
.dm-nr-ticker:hover .dm-marquee-inner { animation-play-state: paused; }

/* cards */
.dm-nr-card { position: relative; }
.dm-nr-img { display: block; overflow: hidden; border-radius: 6px; background: #EEF2FF; }
.dm-nr-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dm-nr-card:hover .dm-nr-img img { transform: scale(1.04); }
.dm-nr-body { padding-top: 12px; }
.dm-nr-kicker { display: inline-block; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--nr-blue) !important; }
.dm-nr-headline { margin: 0; padding: 0; font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 800; letter-spacing: -.012em; color: var(--nr-ink); }
.dm-nr-headline a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.dm-nr-card:hover .dm-nr-headline a, .dm-nr-headline a:focus-visible { background-size: 100% 2px; }
.dm-nr-dek { margin: 8px 0 0; padding: 0; color: var(--nr-sub); font-size: 15.5px; line-height: 1.55; }
.dm-nr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding: 0; font-size: 12.5px; color: #64748B; }
.dm-nr-meta span + span::before { content: "\00B7"; margin-right: 14px; color: #CBD5E1; }
.dm-nr-by { font-weight: 700; color: var(--nr-ink); }

/* top grid: side stories | lead | top stories */
.dm-nr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); grid-template-areas: "sides lead list"; gap: 0; margin-top: 22px; }
.dm-nr-lead { grid-area: lead; padding: 0 28px; border-left: 1px solid var(--nr-rule); border-right: 1px solid var(--nr-rule); }
.dm-nr-sides { grid-area: sides; display: grid; gap: 22px; align-content: start; padding-right: 28px; }
.dm-nr-list { grid-area: list; padding-left: 28px; }
.dm-nr-lead .dm-nr-headline { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.dm-nr-lead .dm-nr-dek { font-size: 17px; }
.dm-nr-side .dm-nr-headline { font-size: 18px; line-height: 1.3; }
.dm-nr-side + .dm-nr-side { padding-top: 22px; border-top: 1px solid var(--nr-rule); }
.dm-nr-label { margin: 0 0 14px; padding: 12px 0 0; border-top: 3px solid var(--nr-ink); font: 800 21px/1.2 "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.01em; color: var(--nr-ink); }
.dm-nr-label a:hover { color: var(--nr-blue); }
.dm-nr-list ol { list-style: none; counter-reset: nr; margin: 0; padding: 0; }
.dm-nr-list li { counter-increment: nr; position: relative; padding: 0 0 14px 38px; margin: 0 0 14px; border-bottom: 1px solid var(--nr-rule); list-style: none; }
.dm-nr-list li:last-child { border-bottom: 0; }
.dm-nr-list li::before { content: counter(nr); position: absolute; left: 0; top: -4px; font: 800 26px/1 "Plus Jakarta Sans", sans-serif; color: var(--nr-blue); opacity: .85; }
.dm-nr-list li a { display: block; font: 700 15.5px/1.38 "Plus Jakarta Sans", "Inter", sans-serif; color: var(--nr-ink); }
.dm-nr-list li a:hover { color: var(--nr-blue); text-decoration: underline; }
.dm-nr-time { display: block; margin-top: 4px; font-size: 12px; color: #64748B; }

/* topic sections */
.dm-nr-topic { margin-top: 48px; }
.dm-nr-topic-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
.dm-nr-feature .dm-nr-headline { font-size: 24px; line-height: 1.2; }
.dm-nr-mini-list { display: grid; gap: 18px; align-content: start; }
.dm-nr-mini, .dm-nr-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; }
.dm-nr-mini + .dm-nr-mini { padding-top: 18px; border-top: 1px solid var(--nr-rule); }
.dm-nr-mini .dm-nr-body, .dm-nr-row .dm-nr-body { padding-top: 0; }
.dm-nr-mini .dm-nr-headline { font-size: 16px; line-height: 1.35; }

/* more stories */
.dm-nr-more { margin-top: 52px; }
.dm-nr-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
.dm-nr-row { grid-template-columns: 200px minmax(0, 1fr); padding-bottom: 26px; border-bottom: 1px solid var(--nr-rule); }
.dm-nr-row .dm-nr-headline { font-size: 18.5px; line-height: 1.3; }
.dm-nr-row .dm-nr-dek { font-size: 14.5px; }

/* call to action */
.dm-nr-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 56px; padding: 34px 38px; border-radius: 18px; color: #DBEAFE;
  background: radial-gradient(circle at 90% 10%, rgba(14, 165, 233, .35), transparent 45%), linear-gradient(120deg, #0B1220, #0039CC); }
.dm-nr-cta .dm-nr-kicker { color: #93C5FD !important; }
.dm-nr-cta h2 { margin: 0 0 6px; padding: 0; color: #FFFFFF; font: 800 28px/1.2 "Plus Jakarta Sans", "Inter", sans-serif; }
.dm-nr-cta p { margin: 0; padding: 0; }
.dm-nr-btn { flex: none; display: inline-block; padding: 14px 24px; border-radius: 10px; background: #FFFFFF; color: #0039CC !important; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .2s; }
.dm-nr-btn:hover { transform: translateY(-2px); }
.dm-nr-empty { padding: 60px 0; font-size: 18px; color: var(--nr-sub); }

/* inside the Divi Blog page (shortcode) */
.dm-section .dm-nr { padding-bottom: 0; background: transparent; }
.dm-section .dm-nr .dm-nr-wrap { width: 100%; }

@media (max-width: 1080px) {
  .dm-nr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "sides list"; row-gap: 30px; }
  .dm-nr-lead { padding: 0; border: 0; }
  .dm-nr-sides { padding-right: 24px; border-right: 1px solid var(--nr-rule); }
  .dm-nr-list { padding-left: 24px; }
}
@media (max-width: 767px) {
  .dm-nr-wrap { width: calc(100% - 32px); }
  .dm-nr-title { font-size: 30px; }
  .dm-nr-brand::after { width: 9px; height: 9px; margin-left: 6px; }
  .dm-nr-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "sides" "list"; }
  .dm-nr-sides { padding: 0; border: 0; }
  .dm-nr-list { padding: 0; }
  .dm-nr-topic-grid, .dm-nr-more-grid { grid-template-columns: minmax(0, 1fr); }
  .dm-nr-mini, .dm-nr-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .dm-nr-row .dm-nr-dek { display: none; }
  .dm-nr-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-nr-brand::after, .dm-nr-live::before { animation: none; }
  .dm-nr-card:hover .dm-nr-img img { transform: none; }
}

/* --- v2.4: no layout shift ---------------------------------------------------------------- */
/* The slider controls keep their space from the first paint; the script only makes them visible. */
.dm-slider-nav { display: flex !important; visibility: hidden; }
.dm-slider-ready .dm-slider-nav { visibility: visible; }
/* Typewriter: the untyped words keep their place (invisible), so the headline never jumps. */
.dm-accent .dm-type-rest { visibility: hidden; }
.dm-accent.dm-typing:has(.dm-typed)::after { display: none; }
.dm-accent .dm-typed::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em;
  background: currentColor; animation: dm-blink .8s steps(1) infinite; }
/* Links inside paragraphs are underlined, not only coloured (WCAG 1.4.1). */
.et_pb_text_inner p a:not([class]), .et_pb_text_inner li a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
