/* Split hero (RMD Home Page + RMD All Events): text left, photo with a diagonal cut right. Flat, no glow. */
.rsb-split { --cut: 46%; background: #fff; min-height: 640px; display: flex; align-items: center; }
.rsb-split::before { display: none; }
.rsb-split > .rsb-box { width: 100%; position: relative; z-index: 2; }
.rsb-split-copy { max-width: min(560px, calc(var(--cut) - 120px)); }
.rsb-split-copy > * { animation: rsbRise .9s var(--rsb-ease) both; }
.rsb-split-copy > :nth-child(2) { animation-delay: .08s; }
.rsb-split-copy > :nth-child(3) { animation-delay: .16s; }
.rsb-split-copy > :nth-child(4) { animation-delay: .24s; }
.rsb-split-copy > :nth-child(5) { animation-delay: .32s; }
.rsb-split-copy > :nth-child(6) { animation-delay: .4s; }
.rsb-split .rsb-hero-title { font-size: calc(58px * var(--rsb-hs, 1)); }
.rsb-split .rsb-hero-text { font-size: calc(17px * var(--rsb-fs, 1)); }
.rsb-split-copy .rsb-actions { margin-bottom: 0; }
.rsb-split-copy .rsb-actions .rsb-btn { white-space: nowrap; }
.rsb-split-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--rsb-line); font-size: calc(14px * var(--rsb-fs, 1)); color: var(--rsb-muted); }
.rsb-split-foot b { color: var(--rsb-ink); font-family: var(--rsb-display); font-weight: 800; }
.rsb-split-stat { display: inline-flex; align-items: center; gap: 8px; }
.rsb-split-stat svg { color: var(--rsb-p); }
.rsb-split-social { display: inline-flex; gap: 8px; }
.rsb-split-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rsb-line); color: var(--rsb-ink-2); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.rsb-split-social a:hover { background: var(--rsb-p); border-color: var(--rsb-p); color: #fff; transform: translateY(-2px); }

/* The photo side */
.rsb-split-visual { position: absolute; top: 0; right: 0; bottom: 0; left: var(--cut); z-index: 1; pointer-events: none; }
.rsb-split-media { position: absolute; inset: 0; overflow: hidden; background: var(--rsb-p-50, #fdf0f6); clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%, 0 62%); animation: rsbSplitIn 1.1s var(--rsb-ease) both; }
.rsb-split-media img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; animation: rsbKen 24s ease-in-out infinite alternate; }
.rsb-split-media .rsb-hero-art { padding: 16% 12% 16% 18%; }
@keyframes rsbSplitIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 62%); } }

/* Shapes */
.rsb-split-dots { position: absolute; left: -120px; top: 50%; width: 300px; height: 300px; background-image: radial-gradient(var(--rsb-p) 2.4px, transparent 2.9px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 68%); mask-image: radial-gradient(circle, #000 25%, transparent 68%); opacity: .7; z-index: -1; animation: rsbFloat 9s ease-in-out infinite; }
.rsb-split-wave { position: absolute; left: -96px; top: 72%; width: 118px; fill: none; stroke: var(--rsb-ink); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.rsb-split-ring { position: absolute; border-radius: 50%; border: 2px solid var(--rsb-p); }
.rsb-split-ring-1 { width: 26px; height: 26px; left: 10%; top: 9%; animation: rsbFloat 7s ease-in-out infinite; }
.rsb-split-ring-2 { width: 34px; height: 34px; right: 22%; bottom: 20%; border-color: #fff; border-width: 3px; animation: rsbFloat 8s ease-in-out infinite -3s; }
.rsb-split-x { position: absolute; right: 9%; top: 32%; width: 34px; height: 34px; }
.rsb-split-x::before, .rsb-split-x::after { content: ""; position: absolute; left: 50%; top: 0; width: 3px; height: 100%; margin-left: -1.5px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.rsb-split-x::after { transform: rotate(-45deg); }
.rsb-split-plus { position: absolute; z-index: 1; left: calc(var(--cut) - 70px); top: 14%; width: 16px; height: 16px; pointer-events: none; }
.rsb-split-plus::before, .rsb-split-plus::after { content: ""; position: absolute; background: var(--rsb-p); border-radius: 2px; }
.rsb-split-plus::before { left: 7px; top: 0; width: 2px; height: 16px; }
.rsb-split-plus::after { top: 7px; left: 0; height: 2px; width: 16px; }

/* Round badge on the cut */
.rsb-split-badge { position: absolute; left: -66px; top: 22%; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: #fff; animation: rsbPopIn .7s var(--rsb-ease) .5s both; }
.rsb-split-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--rsb-p); animation: rsbSplitSpin 26s linear infinite; }
.rsb-split-badge > span { width: 104px; height: 104px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--rsb-p); color: #fff; padding: 8px; }
.rsb-split-badge b { font: 800 calc(30px * var(--rsb-hs, 1))/1 var(--rsb-display); letter-spacing: -.03em; }
.rsb-split-badge small { margin-top: 4px; font-size: calc(11px * var(--rsb-fs, 1)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
@keyframes rsbSplitSpin { to { transform: rotate(360deg); } }

@media (max-width: 1200px) {
	.rsb-split { --cut: 50%; }
	.rsb-split .rsb-hero-title { font-size: calc(48px * var(--rsb-hs, 1)); }
}

/* Tablet / mobile: photo on top, text below */
@media (max-width: 1024px) {
	.rsb-split { display: block; min-height: 0; padding-top: 0; }
	.rsb-split-visual { position: relative; left: auto; aspect-ratio: 16 / 10; z-index: 0; }
	.rsb-split-media { clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
	@keyframes rsbSplitIn { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } }
	.rsb-split-copy { max-width: 680px; margin-top: 56px; }
	.rsb-split .rsb-hero-title { font-size: calc(46px * var(--rsb-hs, 1)); }
	.rsb-split-dots { left: -50px; top: auto; bottom: -50px; width: 190px; height: 190px; opacity: .55; }
	.rsb-split-ring-2 { display: none; }
	.rsb-split-wave { left: 5%; top: auto; bottom: -26px; width: 92px; }
	.rsb-split-badge { left: auto; right: 6%; top: auto; bottom: -34px; }
	.rsb-split-plus { left: auto; right: 12%; top: auto; display: none; }
	.rsb-split-ring-1 { border-color: #fff; left: 8%; top: 12%; }
}
@media (max-width: 767px) {
	.rsb-split-visual { aspect-ratio: 4 / 3.3; }
	.rsb-split .rsb-hero-title { font-size: calc(36px * var(--rsb-hs, 1)); }
	.rsb-split-badge { width: 104px; height: 104px; bottom: -30px; right: 5%; }
	.rsb-split-badge > span { width: 82px; height: 82px; }
	.rsb-split-badge b { font-size: calc(22px * var(--rsb-hs, 1)); }
	.rsb-split-badge small { font-size: calc(9px * var(--rsb-fs, 1)); }
	.rsb-split-wave { display: none; }
	.rsb-split-copy { margin-top: 48px; }
	.rsb-split-dots { width: 150px; height: 150px; bottom: -40px; }
	.rsb-split-foot { margin-top: 30px; }
}
@media (max-width: 420px) {
	.rsb-split-copy .rsb-actions .rsb-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.rsb-split-media, .rsb-split-media img, .rsb-split-dots, .rsb-split-ring, .rsb-split-badge, .rsb-split-badge::before { animation: none; }
}
