/* Rispit Builder — sections added with the builder (themes can replace these styles). */
:root {
	--rbk-accent: #1F6FEB;
	--rbk-text: #1F2328;
	--rbk-muted: color-mix(in srgb, var(--rbk-text) 62%, transparent);
	--rbk-soft: color-mix(in srgb, var(--rbk-text) 5%, #fff);
	--rbk-line: color-mix(in srgb, var(--rbk-text) 12%, #fff);
	--rbk-radius: 14px;
	--rbk-max: 1140px;
}
.rb-sec { position: relative; }
.rb-sec-block { color: var(--rbk-text); }
.rb-sec.alignwide, .rb-sec.alignfull { box-sizing: border-box; }
.rb-sec.alignfull > .rbk-band > .rbk { padding-left: 20px; padding-right: 20px; }
.rb-sec > .rbk:not(.rbk-wrap) { padding-left: 0; padding-right: 0; }
.rbk { box-sizing: border-box; padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(28px, 4vw, 52px); }
.rbk *, .rbk *::before, .rbk *::after { box-sizing: border-box; }
.rbk-tight { padding-top: 14px; padding-bottom: 14px; }
.rbk-wrap { width: 100%; max-width: calc(var(--rbk-max) * .78); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.rbk-wide { max-width: var(--rbk-max); }
.rbk-narrow { max-width: 720px; }
.rbk-full { width: 100%; }
.rbk-stack { display: flex; flex-direction: column; gap: 14px; }
.rbk-center { align-items: center; text-align: center; justify-content: center; }
.rbk-kicker { font-size: .78em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rbk-accent); }
.rbk-title { margin: 0; line-height: 1.2; color: inherit; }
.rbk-h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.rbk-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.rbk-h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.rbk-lead { margin: 0; font-size: 1.1em; line-height: 1.65; color: var(--rbk-muted); max-width: 680px; }
.rbk-center .rbk-lead { margin-left: auto; margin-right: auto; }
.rbk-prose { line-height: 1.7; }
.rbk-prose > :first-child { margin-top: 0; }
.rbk-prose > :last-child { margin-bottom: 0; }
.rbk-prose a { color: var(--rbk-accent); }
.rbk-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rbk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none !important; border: 2px solid transparent; transition: filter .15s, background .15s, color .15s; line-height: 1.2; }
.rbk-btn:hover { filter: brightness(.94); }
.rbk-btn-primary { background: var(--rbk-accent); color: #fff !important; }
.rbk-btn-outline { border-color: currentColor; color: var(--rbk-text) !important; background: transparent; }
.rbk-btn-dark { background: var(--rbk-text); color: #fff !important; }
.rbk-btn-light { background: #fff; color: var(--rbk-accent) !important; }
.rbk-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff !important; background: transparent; }
.rbk-band-soft { background: var(--rbk-soft); }
.rbk-band-accent { background: var(--rbk-accent); color: #fff; }
.rbk-band-dark { background: var(--rbk-text); color: #fff; }
.rbk-band-accent .rbk-lead, .rbk-band-dark .rbk-lead, .rbk-band-accent .rbk-kicker, .rbk-band-dark .rbk-kicker { color: rgba(255,255,255,.82); }
.rbk-band-accent .rbk-card, .rbk-band-dark .rbk-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.rbk-band-accent .rbk-card span:last-child, .rbk-band-dark .rbk-card span:last-child { color: rgba(255,255,255,.78); }
.rbk-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; border-radius: calc(var(--rbk-radius) + 6px); padding: clamp(24px, 4vw, 44px); }
.rbk-cta-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.rbk-cta-text p { margin: 0; opacity: .85; }
.rbk-cta-accent { background: var(--rbk-accent); color: #fff; }
.rbk-cta-dark { background: var(--rbk-text); color: #fff; }
.rbk-cta-soft { background: var(--rbk-soft); border: 1px solid var(--rbk-line); }
.rbk-split { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 52px); align-items: center; }
.rbk-split-rev { flex-direction: row-reverse; }
.rbk-split-text { flex: 1 1 380px; min-width: 0; }
.rbk-split-media { flex: 1 1 340px; min-width: 0; }
.rbk-img { display: block; width: 100%; height: auto; }
.rbk-split-media .rbk-img, .rbk-split-media .rbk-img-ph { border-radius: var(--rbk-radius); aspect-ratio: 4 / 3; object-fit: cover; }
.rbk-img-ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; background: var(--rbk-soft); color: var(--rbk-line); border-radius: var(--rbk-radius); }
.rbk-img-ph-wide { aspect-ratio: 21 / 9; }
.rbk-figure { margin-top: 0; margin-bottom: 0; }
.rbk-round .rbk-img, .rbk-round .rbk-img-ph { border-radius: var(--rbk-radius); }
.rbk-figure figcaption { margin-top: 10px; text-align: center; font-size: .92em; color: var(--rbk-muted); }
.rbk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rbk-radius); overflow: hidden; background: #111; }
.rbk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rbk-video-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #bbb; }
.rbk-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rbk-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rbk-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .rbk-grid, .rbk-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rbk-grid, .rbk-cols-2, .rbk-cols-4 { grid-template-columns: 1fr; } }
.rbk-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--rbk-line); border-radius: var(--rbk-radius); color: inherit; text-decoration: none !important; }
a.rbk-card:hover { border-color: var(--rbk-accent); }
.rbk-card b { font-size: 1.12em; }
.rbk-card span:last-child { color: var(--rbk-muted); line-height: 1.55; }
.rbk-card-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: color-mix(in srgb, var(--rbk-accent) 12%, #fff); color: var(--rbk-accent); }
.rbk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.rbk-stats > div { display: flex; flex-direction: column; gap: 2px; }
.rbk-stats b { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--rbk-accent); }
.rbk-band-accent .rbk-stats b, .rbk-band-dark .rbk-stats b { color: #fff; }
.rbk-stats span { color: var(--rbk-muted); font-weight: 600; }
.rbk-band-accent .rbk-stats span, .rbk-band-dark .rbk-stats span { color: rgba(255,255,255,.78); }
.rbk-quote { margin-top: 0; margin-bottom: 0; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rbk-quote blockquote { margin: 0; padding: 0; border: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; font-weight: 600; quotes: "“" "”"; }
.rbk-quote blockquote::before { content: open-quote; color: var(--rbk-accent); }
.rbk-quote blockquote::after { content: close-quote; color: var(--rbk-accent); }
.rbk-quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.rbk-quote figcaption span { color: var(--rbk-muted); }
.rbk-faq { display: flex; flex-direction: column; gap: 10px; }
.rbk-faq details { background: #fff; border: 1px solid var(--rbk-line); border-radius: var(--rbk-radius); padding: 0 18px; color: var(--rbk-text); }
.rbk-faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style-position: inside; }
.rbk-faq details p { margin: 0 0 16px; color: var(--rbk-muted); line-height: 1.6; }
.rbk-post { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none !important; }
.rbk-post-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--rbk-radius); height: auto; }
.rbk-post b { font-size: 1.1em; line-height: 1.35; }
.rbk-post:hover b { color: var(--rbk-accent); }
.rbk-post span { color: var(--rbk-muted); font-size: .95em; line-height: 1.55; }
.rbk-spacer { display: flex; align-items: center; max-width: var(--rbk-max); margin: 0 auto; padding: 0 20px; }
.rbk-line { width: 100%; border: 0; border-top: 1px solid var(--rbk-line); margin: 0; }
.rbk-html { overflow-wrap: anywhere; }
.rbk-empty { padding: 18px; border: 2px dashed var(--rbk-line); border-radius: var(--rbk-radius); text-align: center; color: var(--rbk-muted); }

/* ---- 1.1 shared pieces (used by several sections) ---- */
.rbk-center-text { text-align: center; }
.rbk-center-text .rbk-lead { margin-left: auto; margin-right: auto; }
.rbk-small { margin: 0; font-size: .9em; color: var(--rbk-muted); }
.rbk-more { color: var(--rbk-accent); font-weight: 700; text-decoration: none !important; }
.rbk-more:hover { text-decoration: underline !important; }
.rbk-flush { padding-left: 0 !important; padding-right: 0 !important; }
.rbk-btn-sm { min-height: 38px; padding: 0 16px; font-size: .92em; gap: 6px; }
.rbk-head { margin-bottom: 6px; }
.rbk-card-has-img { padding: 0; overflow: hidden; }
.rbk-card-has-img > :not(.rbk-card-img) { margin-left: 22px; margin-right: 22px; }
.rbk-card-has-img > :last-child { margin-bottom: 22px; }
.rbk-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; display: block; margin-bottom: 6px; }

/* Photo backgrounds with a darkening layer (hero, page header, slider) */
.rbk-hero-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; max-width: none; z-index: 0; }
.rbk-ov-light::after, .rbk-ov-medium::after, .rbk-ov-strong::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rbk-ov-light::after { background: rgba(0, 0, 0, .25); }
.rbk-ov-medium::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)); }
.rbk-ov-strong::after { background: rgba(0, 0, 0, .7); }
.rbk-tone-light { color: #fff; }
.rbk-tone-light .rbk-title { color: #fff; }
.rbk-tone-light .rbk-lead { color: rgba(255, 255, 255, .88); }
.rbk-tone-light .rbk-kicker { color: rgba(255, 255, 255, .9); }

/* Sliding rows (slider, testimonials) */
.rbk-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rbk-slides::-webkit-scrollbar { display: none; }
.rbk-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.rbk-sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .92) !important; color: var(--rbk-text) !important; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); display: inline-flex; align-items: center; justify-content: center; -webkit-appearance: none; appearance: none; }
.rbk-sl-arrow:hover { background: #fff !important; }
.rbk-sl-arrow:disabled { opacity: 0; pointer-events: none; }
.rbk-sl-prev { left: 14px; }
.rbk-sl-next { right: 14px; }
.rbk-sl-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.rbk-sl-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5) !important; cursor: pointer; -webkit-appearance: none; appearance: none; min-height: 0; box-shadow: none; }
.rbk-sl-dots button[aria-current="true"] { background: #fff !important; transform: scale(1.25); }

/* Stars */
.rbk-stars { display: inline-flex; gap: 1px; color: #F5A623; font-size: 1.05em; line-height: 1; letter-spacing: 0; }
.rbk-stars i { font-style: normal; color: color-mix(in srgb, var(--rbk-text) 18%, #fff); }
.rbk-stars i.is-on { color: #F5A623; }
.rbk-stars i.is-half { background: linear-gradient(90deg, #F5A623 50%, color-mix(in srgb, var(--rbk-text) 18%, #fff) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Avatars */
.rbk-avatar { width: 46px !important; height: 46px !important; max-width: none; border-radius: 50%; object-fit: cover; flex: 0 0 auto; margin: 0; }
.rbk-avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--rbk-accent) 14%, #fff); color: var(--rbk-accent); font-weight: 800; font-size: 1.1em; text-transform: uppercase; }

/* Forms (contact form, newsletter) */
.rbk-form { display: flex; flex-direction: column; gap: 14px; }
.rbk-form input[type=text], .rbk-form input[type=email], .rbk-form input[type=tel], .rbk-form textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--rbk-text); background: #fff; border: 1px solid color-mix(in srgb, var(--rbk-text) 22%, #fff); border-radius: calc(var(--rbk-radius) * .6); padding: 12px 14px; min-height: 48px; margin: 0; }
.rbk-form textarea { min-height: 130px; resize: vertical; }
.rbk-form input:focus, .rbk-form textarea:focus { outline: 2px solid var(--rbk-accent); outline-offset: 1px; border-color: var(--rbk-accent); }
.rbk-form .is-invalid { border-color: #C62828 !important; }
.rbk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rbk-form-msg { margin: 0; padding: 12px 16px; border-radius: calc(var(--rbk-radius) * .6); font-weight: 600; }
.rbk-form-msg.is-ok { background: #E7F6EC; color: #1B5E20; }
.rbk-form-msg.is-error { background: #FDECEA; color: #8E1C1C; }
.rbk-form.is-busy button[type=submit] { opacity: .65; pointer-events: none; }
.rbk-form.is-done > :not(.rbk-form-msg):not(input[type=hidden]) { display: none; }
.rbk-band-accent .rbk-form input, .rbk-band-dark .rbk-form input, .rbk-band-accent .rbk-form textarea, .rbk-band-dark .rbk-form textarea { border-color: transparent; }

/* Social links (social icons, team) */
.rbk-social { display: flex; flex-wrap: wrap; gap: 10px; }
.rbk-center .rbk-social { justify-content: center; }
.rbk-soc { --s: 44px; display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); border-radius: 50%; text-decoration: none !important; color: #fff !important; background: var(--c, var(--rbk-accent)); transition: transform .15s, filter .15s; }
.rbk-soc:hover { transform: translateY(-2px); filter: brightness(1.08); }
.rbk-soc .dashicons { font-size: calc(var(--s) * .48); width: auto; height: auto; line-height: 1; }
.rbk-social-small .rbk-soc { --s: 34px; }
.rbk-social-large .rbk-soc { --s: 56px; }
.rbk-social-square .rbk-soc { border-radius: calc(var(--rbk-radius) * .6); }
.rbk-social-plain .rbk-soc { background: none !important; color: var(--c, var(--rbk-accent)) !important; width: auto; padding: 0 2px; }
.rbk-social-plain .rbk-soc .dashicons { font-size: calc(var(--s) * .62); }
.rbk-social-accent .rbk-soc { --c: var(--rbk-accent) !important; }
.rbk-social-mono .rbk-soc { --c: var(--rbk-text) !important; }
.rbk-social-plain.rbk-social-mono .rbk-soc { color: var(--rbk-muted) !important; }
.rbk-social-plain.rbk-social-mono .rbk-soc:hover { color: var(--rbk-accent) !important; }
.rbk-soc-facebook { --c: #1877F2; } .rbk-soc-instagram { --c: #D6249F; } .rbk-soc-whatsapp { --c: #25D366; } .rbk-soc-youtube { --c: #FF0000; }
.rbk-soc-tiktok { --c: #111111; } .rbk-soc-x { --c: #111111; } .rbk-soc-linkedin { --c: #0A66C2; } .rbk-soc-pinterest { --c: #E60023; }
.rbk-soc-spotify { --c: #1DB954; } .rbk-soc-google { --c: #4285F4; } .rbk-soc-email { --c: #5F6368; } .rbk-soc-phone { --c: #34A853; } .rbk-soc-website { --c: #5F6368; }
.rbk-band-dark .rbk-social-mono .rbk-soc, .rbk-band-accent .rbk-social-mono .rbk-soc { --c: #fff !important; color: var(--rbk-text) !important; }

@media (prefers-reduced-motion: reduce) {
	.rbk-slides { scroll-behavior: auto; }
	.rbk-soc, .rbk-btn { transition: none; }
}
/* Themes often style <button>; keep form buttons in the section's style. */
button.rbk-btn { font: inherit; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: normal; -webkit-appearance: none; appearance: none; }
button.rbk-btn-primary, button.rbk-btn-primary:hover, button.rbk-btn-primary:focus { background: var(--rbk-accent) !important; color: #fff !important; border-color: transparent !important; }
button.rbk-btn-primary:hover { filter: brightness(.94); }
