/* DiviPerfect Cursor Effects. The layer is placed by cursor.js: fixed over the page, inside the section, or in the box. */
.dp-cursor { position: relative; }
.dp-cu-sample { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.dp-cursor) .dp-cu-sample { font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1; color: #fff; }

.dp-cu-box { position: relative; display: none; height: var(--dpcu-h, 460px); overflow: hidden; border-radius: inherit; background: var(--dpcu-bg, transparent); }
.dp-cursor[data-dpcu-area="box"] .dp-cu-box { display: grid; place-items: center; }
@media (max-width: 980px) { .dp-cu-box { height: var(--dpcu-h-t, var(--dpcu-h, 460px)); } }
@media (max-width: 767px) { .dp-cu-box { height: var(--dpcu-h-p, var(--dpcu-h-t, var(--dpcu-h, 460px))); } }
.dp-cu-heading { position: relative; z-index: 1; margin: 0; padding: 0 20px; text-align: center; pointer-events: none; }
:where(.dp-cursor) .dp-cu-heading { font-size: clamp(26px, 4vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: #f1f1f0; }
.dp-cu-note { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; text-align: center; font-size: 12px; color: rgba(241, 241, 240, .7); pointer-events: none; }

/* Layer: never takes clicks */
.dp-cu-layer { --dpcu-c: var(--dpcu-color, var(--dp-g-accent, #2c59fa)); pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.dp-cu-layer.is-on { opacity: 1; }
.dp-cu-layer[data-area="page"] { position: fixed; inset: 0; z-index: 2147482000; overflow: hidden; }
.dp-cu-layer[data-area="section"],
.dp-cu-layer[data-area="row"],
.dp-cu-layer[data-area="column"],
.dp-cu-layer[data-area="box"] { position: absolute; inset: 0; z-index: 40; overflow: hidden; border-radius: inherit; }
.dp-cu-layer > div { position: absolute; left: 0; top: 0; will-change: transform; }

/* Hide the normal arrow while the effect stands in for it (text fields keep theirs). */
.dpcu-nocursor, .dpcu-nocursor * { cursor: none !important; }
.dpcu-nocursor input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dpcu-nocursor textarea, .dpcu-nocursor [contenteditable="true"] { cursor: text !important; }

/* Dot & Ring */
.dp-cu-dot::before, .dp-cu-ring::before, .dp-cu-circle::before, .dp-cu-pill::before, .dp-cu-blob::before {
	content: ""; position: absolute; left: 0; top: 0; border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width .3s cubic-bezier(.2, .7, .2, 1), height .3s cubic-bezier(.2, .7, .2, 1), background-color .3s, border-color .3s, opacity .3s;
}
.dp-cu-dot::before { width: 6px; height: 6px; background: var(--dpcu-c); }
.dp-cu-ring::before { width: var(--dpcu-size); height: var(--dpcu-size); border: 1.5px solid var(--dpcu-c); opacity: .65; }
.dp-cu-dot .is-hot::before, .is-hot .dp-cu-dot::before { opacity: 0; }
.is-hot .dp-cu-ring::before { width: calc(var(--dpcu-size) * 1.7); height: calc(var(--dpcu-size) * 1.7); background: color-mix(in srgb, var(--dpcu-c) 14%, transparent); opacity: 1; }
.is-down .dp-cu-ring::before { width: calc(var(--dpcu-size) * .8); height: calc(var(--dpcu-size) * .8); }

/* Blend Circle: the layer blends, so the circle inverts whatever is under it */
.dp-cu-layer.dp-cu-is-blend { mix-blend-mode: difference; }
.dp-cu-circle::before { width: var(--dpcu-size); height: var(--dpcu-size); background: #fff; }
.is-hot .dp-cu-circle::before { width: calc(var(--dpcu-size) * 2.4); height: calc(var(--dpcu-size) * 2.4); }
.is-down .dp-cu-circle::before { width: calc(var(--dpcu-size) * .7); height: calc(var(--dpcu-size) * .7); }

/* Label Cursor: a small dot that opens into a pill with a word over links and buttons */
.dp-cu-pill::before { width: 10px; height: 10px; background: var(--dpcu-c); }
.has-text .dp-cu-pill::before { width: calc(var(--dpcu-size) * 2.4); height: calc(var(--dpcu-size) * 2.4); }
.is-down .dp-cu-pill::before { width: calc(var(--dpcu-size) * 2.1); height: calc(var(--dpcu-size) * 2.1); }
.dp-cu-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; white-space: nowrap; transition: opacity .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.has-text .dp-cu-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Glow: a soft light behind the content (over the whole page it lightens what is under it) */
.dpcu-glowhost { isolation: isolate; }
.dp-cu-layer.dp-cu-is-glow[data-area="section"], .dp-cu-layer.dp-cu-is-glow[data-area="row"], .dp-cu-layer.dp-cu-is-glow[data-area="column"], .dp-cu-layer.dp-cu-is-glow[data-area="box"] { z-index: -1; }
.dp-cu-layer.dp-cu-is-glow[data-area="page"] { mix-blend-mode: screen; }
.dp-cu-blob::before { width: var(--dpcu-glow); height: var(--dpcu-glow); background: radial-gradient(closest-side, color-mix(in srgb, var(--dpcu-c) 70%, transparent), color-mix(in srgb, var(--dpcu-c) 22%, transparent) 55%, transparent); opacity: .9; }
.is-hot .dp-cu-blob::before { width: calc(var(--dpcu-glow) * 1.15); height: calc(var(--dpcu-glow) * 1.15); }
.dp-cursor[data-dpcu-style="glow"] .dp-cu-heading { z-index: 1; }

/* Image Trail */
.dp-cu-pic { position: absolute; width: var(--dpcu-img); height: auto; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--dpcu-radius, 12px); box-shadow: var(--dp-sh, 0 18px 40px -16px rgba(6, 6, 6, .45)); opacity: 0; transform: translate(-50%, -50%); will-change: transform, opacity; backface-visibility: hidden; }

/* Magnetic: a smooth return when the cursor leaves */
.dp-cu-pulled { will-change: translate; }

/* Builder demo button (builder only) */
.dp-cu-demo { position: absolute; left: 50%; bottom: 22%; z-index: 2; margin-left: -64px; width: 128px; padding: 14px 0; border-radius: 999px; background: #2c59fa; background: var(--dp-g-accent, #2c59fa); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-align: center; }

/* 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; }
