/* DiviPerfect Carousel. Text defaults use :where() so Divi's own font settings always win. */
.dp-carousel {
  --dp-height: 860px;
  --dp-head-y: 8%;
  --dp-offset-y: 12%;
  --dp-scale: 1;
  --dp-card-w: 300px;
  --dp-card-h: 400px;
  --dp-radius: 20px;
  --dp-perspective: 1200px;
  --dp-card-bg: #0c0c0e;
  --dp-overlay: rgba(0, 0, 0, .65);
  --dp-shadow: rgba(0, 0, 0, .45);
  --dp-tag-bg: rgba(255, 255, 255, .18);
  /* The module has no background of its own: dots, counter and headings follow the text colour around it. */
  --dp-dot: color-mix(in srgb, currentColor 30%, transparent);
  --dp-dot-active: var(--dp-g-accent, #2c59fa);
  --dp-arrow: var(--dp-g-heading, #060606);
  --dp-arrow-bg: #fff;
  --dp-disc: #0c0c0e;
  position: relative;
  height: var(--dp-height);
  overflow: hidden;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
.dp-carousel:focus-visible { box-shadow: inset 0 0 0 2px var(--dp-dot-active); }
/* Without headlines, Fit Cards centres the cards (Vertical Position only makes room for the headline), so the height shrinks to the cards. */
.dp-carousel[data-dp-head="off"][data-dp-height="fit"] { --dp-shift: 0px; }

/* Headline */
.dp-head {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--dp-head-y);
  z-index: 2000;
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
}
.dp-carousel[data-dp-head="off"] .dp-head { display: none; }
:where(.dp-carousel) .dp-topic {
  display: block;
  margin: 0 0 12px;
  color: color-mix(in srgb, currentColor 60%, transparent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
:where(.dp-carousel) .dp-headline {
  margin: 0;
  padding: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
}

/* Stage: one card in size, centred. Every card (and clone) is stacked on it and placed by the engine. */
.dp-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--dp-card-w);
  height: var(--dp-card-h);
  transform: translate(-50%, -50%) translateY(var(--dp-shift, var(--dp-offset-y))) scale(var(--dp-scale));
  perspective: var(--dp-perspective);
  touch-action: pan-y;
}
/* Builder wrappers around the cards behave like the stage itself. */
.dp-stage > :not(.dp-card) {
  position: absolute;
  inset: 0;
  perspective: inherit;
}
.dp-carousel[data-dp-drag="on"] .dp-stage { cursor: grab; }
.dp-carousel[data-dp-dragging="on"] .dp-stage { cursor: grabbing; }

.dp-carousel .dp-card {
  position: absolute !important;
  left: 50%;
  top: 50%;
  width: var(--dp-card-w);
  height: var(--dp-card-h);
  margin: 0 !important;
  padding: 0;
  border-radius: var(--dp-radius);
  box-shadow: var(--dp-sh, 0 30px 60px -20px var(--dp-shadow));
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.dp-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--dp-radius);
  background: var(--dp-card-bg);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
/* Behind a photo or video the dark card colour only showed as a thin rim along the rounded corners (where the
 * picture's edge is smoothed), so it is left out there. */
.dp-card-inner:has(> .dp-card-img, > .dp-card-video, > .dp-card-media) { background: transparent; }
.dp-card-img,
.dp-card-video,
.dp-card-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.dp-card-media { position: absolute; inset: 0; }
.dp-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, color-mix(in srgb, var(--dp-g-accent, #2c59fa) 70%, #0c0c0e), #0c0c0e 70%);
}
.dp-card:nth-child(4n+2) .dp-card-placeholder { background: linear-gradient(145deg, color-mix(in srgb, var(--dp-g-accent, #2c59fa) 40%, #0c0c0e), #0c0c0e 70%); }
.dp-card:nth-child(4n+3) .dp-card-placeholder { background: linear-gradient(145deg, color-mix(in srgb, var(--dp-g-accent, #2c59fa) 20%, #0c0c0e), #060606 70%); }
.dp-card:nth-child(4n+4) .dp-card-placeholder { background: linear-gradient(145deg, color-mix(in srgb, #f1f1f0 16%, #0c0c0e), #060606 70%); }

.dp-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--dp-overlay) 0%, transparent 55%);
  pointer-events: none;
}
.dp-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: var(--dp-dim, 0);
  transition: opacity .25s;
  pointer-events: none;
}
.dp-card.is-active:hover .dp-card-img { transform: scale(1.05); }

.dp-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 26px 26px;
}
.dp-carousel[data-dp-captions="off"] .dp-card-tag,
.dp-carousel[data-dp-captions="off"] .dp-card-title,
.dp-carousel[data-dp-captions="off"] .dp-card-subtitle,
.dp-carousel[data-dp-captions="off"] .dp-card-inner::before { display: none; }
.dp-carousel[data-dp-numbers="on"] .dp-card-body::before {
  content: attr(data-num);
  display: block;
  margin-bottom: 8px;
}
/* Low specificity, so the Card Number font group (.dp_carousel_N .dp-card-body::before) wins. */
:where(.dp-carousel[data-dp-numbers="on"]) .dp-card-body::before {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .7);
}
:where(.dp-carousel) .dp-card-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--dp-tag-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
:where(.dp-carousel) .dp-card-title {
  margin: 0 0 4px;
  padding: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
:where(.dp-carousel) .dp-card-subtitle {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .8);
}

/* ---- per-style touches ---- */
.dp-carousel[data-dp-style="fan"] .dp-card { transform-origin: 50% 160%; }
.dp-carousel[data-dp-style="arcCards"] .dp-card { transform-origin: 50% 50%; }

/* Small cards: tighter text. */
.dp-carousel:is([data-dp-style="curved"], [data-dp-style="dna"], [data-dp-style="marquee"], [data-dp-style="galleryArc"], [data-dp-style="arcCards"]) .dp-card-body { padding: 14px 16px 16px; }
:where(.dp-carousel:is([data-dp-style="curved"], [data-dp-style="dna"], [data-dp-style="marquee"], [data-dp-style="galleryArc"], [data-dp-style="arcCards"])) .dp-card-title { font-size: 16px; }
:where(.dp-carousel:is([data-dp-style="curved"], [data-dp-style="dna"], [data-dp-style="marquee"], [data-dp-style="galleryArc"], [data-dp-style="arcCards"])) .dp-card-subtitle { font-size: 13px; }
:where(.dp-carousel:is([data-dp-style="curved"], [data-dp-style="dna"], [data-dp-style="marquee"], [data-dp-style="galleryArc"], [data-dp-style="arcCards"])) .dp-card-tag { font-size: 10px; padding: 3px 9px; margin-bottom: 6px; }

/* Arc Card Wheel, Text Position "Below Image": text sits under the image instead of on it. */
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card { box-shadow: none; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-inner { overflow: visible; background: none; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-inner::before { display: none; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-img,
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-placeholder,
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-media { bottom: 40px; height: auto; border-radius: var(--dp-radius); overflow: hidden; box-shadow: var(--dp-sh, 0 24px 50px -24px var(--dp-shadow)); }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-img { height: calc(100% - 40px); }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 10px 2px 0; height: 40px; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-body::before { order: 2; margin: 0 0 0 auto !important; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-tag,
.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"] .dp-card-subtitle { display: none; }
:where(.dp-carousel[data-dp-style="arcCards"][data-dp-text="below"]) .dp-card-title { font-size: 14px; font-weight: 500; }

/* Arc Card Wheel, Text Position "On Hover": captions fade in over a darkened image. Touch screens always show them. */
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card-body,
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card-inner::before { opacity: 0; transition: opacity .3s; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card-img { transition: filter .3s; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card:is(:hover, :focus-within) .dp-card-body,
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card:is(:hover, :focus-within) .dp-card-inner::before { opacity: 1; }
.dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card:is(:hover, :focus-within) .dp-card-img { filter: brightness(.7); }
@media (hover: none) {
  .dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card-body,
  .dp-carousel[data-dp-style="arcCards"][data-dp-text="hover"] .dp-card-inner::before { opacity: 1; }
}

/* Arc Card Wheel: background disc and entrance reveal. */
.dp-disc { display: none; }
.dp-carousel[data-dp-style="arcCards"][data-dp-disc="on"] .dp-disc {
  display: block;
  position: absolute;
  left: 50%;
  top: calc(50% + var(--dp-shift, var(--dp-offset-y, 0px)));
  width: 200vmax;
  height: 200vmax;
  border-radius: 50%;
  background: var(--dp-disc);
  transform: translate(-50%, 0) translateY(calc(var(--dp-card-h) * .35));
  pointer-events: none;
}
.dp-carousel[data-dp-style="arcCards"][data-dp-reveal="on"] .dp-stage { opacity: 0; translate: 0 30px; transition: opacity 1.1s ease, translate 1.1s cubic-bezier(.2, .7, .2, 1); }
.dp-carousel[data-dp-style="arcCards"][data-dp-reveal="on"][data-dp-seen="on"] .dp-stage { opacity: 1; translate: 0 0; }

/* Video: posters shade slightly when not in front. */
.dp-carousel[data-dp-style="video"] .dp-card:not(.is-active) .dp-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .1), rgba(0, 0, 0, .35));
}

/* ---- navigation ---- */
.dp-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dp-dots[hidden] { display: none; }
.dp-carousel .dp-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--dp-dot);
  cursor: pointer;
  transition: width .3s, background-color .3s;
}
.dp-carousel .dp-dot.is-active { width: 28px; background: var(--dp-dot-active); }

.dp-ui { position: absolute; inset: 0; z-index: 2000; pointer-events: none; }
.dp-carousel .dp-arrow,
.dp-carousel .dp-mute {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dp-arrow-bg);
  color: var(--dp-arrow);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--dp-sh, 0 6px 20px -6px rgba(0, 0, 0, .35));
  transition: transform .2s;
}
.dp-carousel .dp-arrow:hover,
.dp-carousel .dp-mute:hover { transform: scale(1.08); }
.dp-carousel .dp-arrow svg,
.dp-carousel .dp-mute svg { width: 20px; height: 20px; }
.dp-arrow-prev { left: 20px; top: 50%; margin-top: -22px; }
.dp-arrow-next { right: 20px; top: 50%; margin-top: -22px; }
.dp-mute { right: 20px; bottom: 20px; }

.dp-empty { display: none; }
.dp-carousel[data-dp-empty="on"] .dp-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, currentColor 60%, transparent);
  font-size: 14px;
}

@media (max-width: 767px) {
  .dp-card-body { padding: 16px 18px 18px; }
  :where(.dp-carousel) .dp-card-tag { margin-bottom: 8px; padding: 4px 10px; font-size: 10px; }
  :where(.dp-carousel) .dp-card-title { font-size: 17px; }
  :where(.dp-carousel) .dp-card-subtitle { font-size: 13px; }
  :where(.dp-carousel) .dp-topic { font-size: 12px; margin-bottom: 8px; }
  .dp-arrow-prev { left: 10px; }
  .dp-arrow-next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-card-img { transition: none; }
}

/* Height: Full Screen fills the browser window (svh avoids the mobile address-bar jump). Fit Cards is sized by the engine. */
.dp-carousel[data-dp-height="screen"] { height: 100vh; height: 100svh; }

/* ---------------------------------------------------------------- Orbit Ring */
.dp-carousel[data-dp-style="orbit"] .dp-card { transform-origin: 50% 50%; }

/* ---------------------------------------------------------------- Card Stack */
.dp-carousel[data-dp-style="stack"] .dp-card { box-shadow: var(--dp-sh, 0 18px 40px -18px var(--dp-shadow)); }
.dp-carousel[data-dp-style="stack"] .dp-card.is-active { cursor: pointer; }

/* ---------------------------------------------------------------- Runway */
.dp-carousel[data-dp-style="runway"] .dp-card { box-shadow: var(--dp-sh, 0 40px 60px -30px var(--dp-shadow)); }

/* ---------------------------------------------------------------- Counter */
.dp-carousel .dp-counter {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font: 500 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .14em;
  color: var(--dp-counter, currentColor);
  opacity: .7;
}
.dp-carousel .dp-counter b { font-weight: 700; }
.dp-carousel[data-dp-click="lightbox"] .dp-card.is-active { cursor: zoom-in; }

/* ---------------------------------------------------------------- Lightbox */
.dp-lightbox {
  --dp-lb-bg: rgba(12, 12, 14, .92);
  --dp-lb-blur: 8px;
  --dp-lb-accent: var(--dp-g-accent, #2c59fa);
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 64px 72px 20px;
  background: var(--dp-lb-bg);
  -webkit-backdrop-filter: blur(var(--dp-lb-blur));
  backdrop-filter: blur(var(--dp-lb-blur));
  color: #fff;
  opacity: 0;
  transition: opacity .25s;
}
.dp-lightbox[hidden] { display: none; }
.dp-lightbox.is-open { opacity: 1; }
.dp-lightbox[data-thumbs="off"] { grid-template-rows: minmax(0, 1fr); }
.dp-lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
}
.dp-lb-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  touch-action: pan-y;
}
.dp-lb-media img,
.dp-lb-media video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  -webkit-user-select: none;
  user-select: none;
}
.dp-lb-media video { cursor: auto; background: #000; }
.dp-lb-media.is-zoomed img { transform: scale(2.2); cursor: zoom-out; }
.dp-lb-media iframe { width: min(100%, calc((100vh - 220px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; background: #000; }
.dp-lb-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; padding: 14px 0 0; text-align: center; }
.dp-lb-caption:empty { display: none; }
.dp-lb-tag { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dp-lb-title { font-size: 18px; font-weight: 700; }
.dp-lb-sub { font-size: 15px; opacity: .7; }
.dp-lb-count { position: absolute; left: 24px; top: 24px; font: 500 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .14em; opacity: .75; }
.dp-lb-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.dp-lb-btn:hover { background: rgba(255, 255, 255, .2); }
.dp-lb-btn:focus-visible,
.dp-lb-thumb:focus-visible { outline: 2px solid var(--dp-lb-accent); outline-offset: 2px; }
.dp-lb-btn svg { width: 22px; height: 22px; }
.dp-lb-close { right: 16px; top: 12px; }
.dp-lb-prev { left: 14px; top: 50%; margin-top: -23px; }
.dp-lb-next { right: 14px; top: 50%; margin-top: -23px; }
.dp-lightbox[data-single="on"] .dp-lb-prev,
.dp-lightbox[data-single="on"] .dp-lb-next { display: none; }
.dp-lb-thumbs { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 16px 4px 4px; scrollbar-width: none; }
.dp-lb-thumbs::-webkit-scrollbar { display: none; }
.dp-lightbox[data-thumbs="off"] .dp-lb-thumbs { display: none; }
.dp-lb-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s, border-color .2s;
}
.dp-lb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dp-lb-thumb:hover { opacity: .85; }
.dp-lb-thumb.is-active { opacity: 1; border-color: var(--dp-lb-accent); }
@media (max-width: 767px) {
  .dp-lightbox { padding: 56px 10px 14px; }
  .dp-lb-prev,
  .dp-lb-next { top: auto; bottom: 74px; margin: 0; width: 40px; height: 40px; }
  .dp-lightbox[data-thumbs="off"] .dp-lb-prev,
  .dp-lightbox[data-thumbs="off"] .dp-lb-next { bottom: 14px; }
  .dp-lb-thumb { width: 52px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-lightbox,
  .dp-lb-media img { transition: none; }
}

/* Built-In Shadows off (the module's dp-noshadow class): the blurred shadows above use these. */
.dp-noshadow { --dp-sh: none; --dp-sh-o: 0 0 #0000; }

/* Card Design preview in the builders: the card drawn by its design, in a frame. */
.dp-card-inner.dp-card-framed { background: transparent; }
.dp-card-inner.dp-card-framed::before { display: none; }
.dp-card-framed > iframe.dp-card-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  pointer-events: none;
}

/* Card Design: a button set to Entry Link URL, on a card without a link. */
.dp-card-custom .et_pb_button_module_wrapper:has(> .dp-entry-no-link),
.dp-card-custom .dp-entry-no-link {
  display: none !important;
}

/* Card Design set to a Library layout or canvas: the user's own design fills the card. */
/* Low priority (one class), so a Background set for the card in Divi wins whichever stylesheet loads first. */
.dp-card-inner:where(.dp-card-custom) { background: transparent; }
.dp-card-inner.dp-card-custom::before { display: none; }
.dp-card-custom > div,
.dp-card-custom .et-l,
.dp-card-custom .et_builder_inner_content { height: 100%; }
.dp-card-custom .et_pb_section:first-child:last-child { box-sizing: border-box; min-height: 100%; }
.dp-card-custom img { -webkit-user-drag: none; }

/* A Box Shadow chosen for this element in the Design tab (None included) replaces its built-in shadow. */
.dp-sh-crcard .dp-card, .dp-card.dp-sh-module, .dp-sh-crarrow .dp-arrow { --dp-sh: none; --dp-sh-o: 0 0 #0000; }

/* Card Design: the Entry Tag, Title and Subtitle in a design are wrapped in the card's classes so the Design tab's
   Card Tag / Title / Subtitle settings reach them. The wrapper itself adds nothing (the built-in card text styles
   stay off), so only what was set in the Design tab changes the design's own styling. Keep this last. */
.dp-carousel .dp-card-custom .dp-entry-wrap.dp-entry-wrap,
.dp-entry-frame-card .dp-entry-wrap { all: unset; }

/* Card Design: a background set under Design > Cards (dp-bg-crcard) or in a card's own Background (dp-bg-module)
   replaces the backgrounds of the design's sections and rows, which would otherwise cover it. */
:is(.dp-bg-crcard .dp-card, .dp-card.dp-bg-module, .dp-entry-frame-card.dp-bg-own) .dp-card-custom :is(.et_pb_section, .et_pb_row):not(#dp#dp),
.dp-entry-frame-card.dp-bg-own :is(.et_pb_section, .et_pb_row):not(#dp#dp) { background: none !important; background-color: transparent !important; background-image: none !important; }
:is(.dp-bg-crcard .dp-card, .dp-card.dp-bg-module) .dp-card-custom :is(.et_pb_section, .et_pb_row) > :is(.et_parallax_bg_wrap, .et_pb_section_video_bg, .et_pb_background_pattern, .et_pb_background_mask),
.dp-entry-frame-card.dp-bg-own :is(.et_pb_section, .et_pb_row) > :is(.et_parallax_bg_wrap, .et_pb_section_video_bg, .et_pb_background_pattern, .et_pb_background_mask) { display: none !important; }

/* A card with no image: its own Background (dp-bg-module) or the carousel's Cards background (dp-bg-crcard), when
   set, shows instead of the built-in placeholder. */
:is(.dp-bg-crcard .dp-card, .dp-card.dp-bg-module) .dp-card-placeholder { display: none; }

/* Background defaults for the elements with a Background setting in the Design tab, as Divi gives its own
   modules (Cover, centred, no repeat): Divi only prints these when they are changed. Low priority, so any value set wins. */
:where(.dp-card-inner, .dp-card-tag, .dp-card-body, .dp-arrow):not(#dp) { background-size: cover; background-position: 50%; background-repeat: no-repeat; }
