/* RB Testimonials */
.rbt {
	--rbt-navy: #1E467C;
	--rbt-amber: #F69A11;
	--rbt-amber-soft: #FFF4E2;
	--rbt-ink: #26313d;
	--rbt-muted: #66717d;
	--rbt-line: #e3e7ec;
	--rbt-bg: #ffffff;
	--rbt-radius: 14px;
	color: var(--rbt-ink);
	box-sizing: border-box;
}
.rbt *, .rbt *::before, .rbt *::after { box-sizing: inherit; }

/* ---------- Testimonial grid ---------- */
.rbt-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 370px));
	justify-content: center;
	align-items: stretch;
	margin: 0 auto;
}
.rbt-cols-1 { max-width: 760px; grid-template-columns: minmax(0, 760px); }
.rbt-cols-2 { max-width: 764px; }
.rbt-cols-3 { max-width: 1158px; }
.rbt-cols-4 { max-width: 1552px; }
@media (max-width: 680px) { .rbt-grid { gap: 16px; } }

.rbt-card {
	position: relative;
	margin: 0;
	padding: 28px 26px 24px;
	background: var(--rbt-bg);
	border: 1px solid var(--rbt-line);
	border-top: 4px solid var(--rbt-amber);
	border-radius: var(--rbt-radius);
	box-shadow: 0 6px 20px rgba(30, 70, 124, 0.06);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rbt-card::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	right: 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 88px;
	line-height: 1;
	color: var(--rbt-amber);
	opacity: 0.18;
	pointer-events: none;
}

.rbt-stars { font-size: 18px; letter-spacing: 2px; line-height: 1; color: #d9dde2; }
.rbt-stars .on { color: var(--rbt-amber); }

.rbt-quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	line-height: 1.6;
	font-style: normal;
	color: var(--rbt-ink);
	quotes: none;
}
.rbt-quote::before, .rbt-quote::after { content: none; }
.rbt-quote p { margin: 0 0 0.75em; }
.rbt-quote p:last-child { margin-bottom: 0; }
.rbt-quote.is-clamped .rbt-quote-inner {
	max-height: 14.4em; /* about 9 lines */
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	        mask-image: linear-gradient(#000 70%, transparent);
}
.rbt-more {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--rbt-navy);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rbt-more:hover, .rbt-more:focus { color: var(--rbt-amber); background: none; }

.rbt-person {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--rbt-line);
}
.rbt-avatar {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--rbt-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rbt-avatar img, .rbt-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.rbt-avatar-initials { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 0.5px; }
.rbt-who { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rbt-name { color: var(--rbt-navy); font-size: 16px; font-weight: 700; }
.rbt-role { color: var(--rbt-muted); font-size: 14px; }

/* ---------- Feedback form ---------- */
.rbt-form-wrap { max-width: 760px; margin: 0 auto; scroll-margin-top: 120px; }
.rbt-intro { font-size: 17px; line-height: 1.6; margin: 0 0 24px; }

.rbt-section {
	margin: 0 0 24px;
	padding: 24px 24px 8px;
	border: 1px solid var(--rbt-line);
	border-radius: var(--rbt-radius);
	background: var(--rbt-bg);
}
.rbt-section legend {
	padding: 0 8px;
	margin-left: -8px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rbt-navy);
}
.rbt-note {
	margin: 0 0 20px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	background: var(--rbt-amber-soft);
	color: #7a4a00;
}
.rbt-note-private { background: #eef2f7; color: var(--rbt-navy); }
.rbt-note-private::before { content: "\1F512\00a0"; }

.rbt-field { display: block; margin: 0 0 20px; }
.rbt-field > span { display: block; margin: 0 0 6px; font-weight: 600; font-size: 15px; color: var(--rbt-ink); }
.rbt-req { color: var(--rbt-amber); }

.rbt-form input[type="text"],
.rbt-form input[type="email"],
.rbt-form input[type="url"],
.rbt-form select,
.rbt-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid #cfd6de;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--rbt-ink);
	transition: border-color .15s, box-shadow .15s;
}
.rbt-form textarea { resize: vertical; min-height: 90px; }
.rbt-form input:focus, .rbt-form select:focus, .rbt-form textarea:focus {
	outline: none;
	border-color: var(--rbt-navy);
	box-shadow: 0 0 0 3px rgba(30, 70, 124, 0.15);
}

.rbt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .rbt-row { grid-template-columns: 1fr; } .rbt-section { padding: 20px 16px 4px; } }

.rbt-choice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 15px; line-height: 1.5; font-weight: 400; cursor: pointer; }
.rbt-choice input { margin-top: 4px; flex: 0 0 auto; accent-color: var(--rbt-navy); }

/* Star picker (pure CSS, highest value first in markup, shown reversed) */
.rbt-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rbt-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rbt-stars-input label { font-size: 34px; line-height: 1; color: #d9dde2; cursor: pointer; transition: color .1s, transform .1s; }
.rbt-stars-input label::before { content: "\2605"; }
.rbt-stars-input label:hover,
.rbt-stars-input label:hover ~ label,
.rbt-stars-input input:checked ~ label { color: var(--rbt-amber); }
.rbt-stars-input label:hover { transform: scale(1.1); }
.rbt-stars-input input:focus-visible + label { outline: 2px solid var(--rbt-navy); outline-offset: 2px; border-radius: 4px; }

.rbt-submit {
	display: inline-block;
	padding: 14px 32px;
	border: 0;
	border-radius: 8px;
	background: var(--rbt-amber);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: background .15s;
}
.rbt-submit:hover, .rbt-submit:focus { background: var(--rbt-navy); color: #fff; }

.rbt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rbt .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rbt-alert { padding: 12px 16px; margin: 0 0 20px; border-left: 4px solid #B23B3B; background: #FDECEC; border-radius: 6px; }
.rbt-thanks { padding: 32px; text-align: center; border: 1px solid var(--rbt-line); border-top: 4px solid var(--rbt-amber); border-radius: var(--rbt-radius); }
.rbt-thanks h3 { margin: 0 0 8px; color: var(--rbt-navy); }
.rbt-thanks p { margin: 0; font-size: 17px; }

/* ---------- Career Hub form ---------- */
.rbt-tool-group { margin: 0 0 18px; }
.rbt-tool-group-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rbt-amber); margin: 0 0 8px; }
.rbt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rbt-chip { position: relative; cursor: pointer; margin: 0; }
.rbt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rbt-chip span {
	display: inline-block;
	padding: 8px 14px;
	border: 1.5px solid #cfd6de;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--rbt-ink);
	background: #fff;
	transition: background .15s, border-color .15s, color .15s;
}
.rbt-chip span::before { content: "+ "; color: var(--rbt-muted); }
.rbt-chip:hover span { border-color: var(--rbt-navy); }
.rbt-chip input:checked + span { background: var(--rbt-navy); border-color: var(--rbt-navy); color: #fff; }
.rbt-chip input:checked + span::before { content: "\2713\00a0"; color: #fff; }
.rbt-chip input:focus-visible + span { outline: 2px solid var(--rbt-amber); outline-offset: 2px; }

.rbt-rate-empty { color: var(--rbt-muted); font-size: 15px; margin: 0 0 16px; }
.rbt-js .rbt-tool-panel { display: none; }
.rbt-js .rbt-tool-panel.is-on { display: block; }
.rbt-js .rbt-rate-section.has-tools .rbt-rate-empty { display: none; }
.rbt:not(.rbt-js) .rbt-rate-empty { display: none; }
.rbt-tool-panel {
	padding: 16px 18px 4px;
	margin: 0 0 14px;
	border: 1px solid var(--rbt-line);
	border-left: 4px solid var(--rbt-navy);
	border-radius: 10px;
	background: #fbfcfd;
}
.rbt-tool-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; }
.rbt-tool-panel-head strong { color: var(--rbt-navy); font-size: 16px; }
.rbt-tool-panel .rbt-stars-input label { font-size: 28px; }
.rbt-tool-panel.is-missing { border-left-color: #B23B3B; background: #FDF6F6; }
.rbt-field-tight { margin-bottom: 14px; }
.rbt-field-tight > span { font-weight: 500; font-size: 14px; }

.rbt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rbt-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rbt-pills label {
	padding: 7px 14px;
	border: 1.5px solid #cfd6de;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.3;
	color: #4A5568;
	background: #fff;
	cursor: pointer;
	transition: all .15s;
}
.rbt-pills label:hover { border-color: var(--rbt-navy); color: var(--rbt-navy); }
.rbt-pills input:checked + label { background: var(--rbt-navy); border-color: var(--rbt-navy); color: #fff; }
.rbt-pills input:focus-visible + label { outline: 2px solid var(--rbt-amber); outline-offset: 2px; }
.rbt-form-error { color: #B23B3B; font-weight: 600; margin: 0 0 12px; }

/* LinkedIn block */
.rbt-linkedin { padding: 14px 16px 4px; border: 1px dashed #cfd6de; border-radius: 10px; background: #fbfcfd; }
.rbt-linkedin .rbt-choice { margin-bottom: 12px; }

/* ---------- Slider ---------- */
.rbt-slider {
	--rbt-gold: #F5A50A;
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	padding: 8px 0 0;
}
.rbt-slides { display: grid; overflow: hidden; }
.rbt-slide {
	grid-area: 1 / 1;
	margin: 0;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	align-content: center;
	padding: 12px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(56px);
	transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.rbt-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rbt-slide.is-leaving { transform: translateX(-56px); }
.rbt-slider[data-dir="prev"] .rbt-slide { transform: translateX(-56px); }
.rbt-slider[data-dir="prev"] .rbt-slide.is-active { transform: none; }
.rbt-slider[data-dir="prev"] .rbt-slide.is-leaving { transform: translateX(56px); }

.rbt-slide-photo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--rbt-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--rbt-line);
	justify-self: center;
}
.rbt-slide-photo img, .rbt-slide-photo .rbt-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.rbt-slide-photo .rbt-avatar-initials { color: #fff; font-size: 44px; font-weight: 700; letter-spacing: 1px; }

.rbt-slide-body { min-width: 0; }
.rbt-slide-stars { font-size: 26px; line-height: 1; letter-spacing: 3px; color: #D9DEE4; margin: 0 0 16px; }
.rbt-slide-stars .on { color: var(--rbt-gold); }
.rbt-slide-quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	quotes: none;
	font-style: normal;
	font-size: 19px;
	line-height: 1.6;
	color: var(--rbt-ink);
	max-width: 62ch;
}
.rbt-slide-quote::before, .rbt-slide-quote::after { content: none; }
.rbt-slide-quote p { margin: 0 0 .7em; }
.rbt-slide-quote p:last-child { margin: 0; }
.rbt-slide-who { display: flex; flex-direction: column; margin-top: 18px; line-height: 1.4; }
.rbt-slide-who .rbt-name { color: var(--rbt-navy); font-size: 17px; font-weight: 700; }
.rbt-slide-who .rbt-role { color: var(--rbt-muted); font-size: 15px; }

/* Controls */
.rbt-slider-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.rbt-slider .rbt-sl-btn {
	width: 40px; height: 40px;
	padding: 0; margin: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--rbt-line);
	border-radius: 50%;
	background: #fff;
	color: var(--rbt-navy);
	font: inherit; font-size: 26px; line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: border-color .15s, color .15s;
}
.rbt-slider .rbt-sl-btn:hover, .rbt-slider .rbt-sl-btn:focus { border-color: var(--rbt-navy); background: #fff; color: var(--rbt-navy); }
.rbt-slider .rbt-sl-btn span { margin-top: -3px; }
.rbt-slider .rbt-sl-btn:focus-visible, .rbt-slider .rbt-sl-dot:focus-visible { outline: 3px solid var(--rbt-amber); outline-offset: 2px; }
.rbt-sl-dots { display: flex; gap: 8px; align-items: center; }
.rbt-slider .rbt-sl-dot {
	width: 10px; height: 10px;
	padding: 0; margin: 0;
	border: 0; border-radius: 5px;
	background: #CBD3DC;
	cursor: pointer;
	transition: width .25s, background .25s;
}
.rbt-slider .rbt-sl-dot:hover { background: #9FB0C3; }
.rbt-slider .rbt-sl-dot.is-active { width: 26px; background: var(--rbt-gold); }
.rbt-slider .rbt-sl-toggle { margin-left: 6px; width: 34px; height: 34px; }
.rbt-ico-pause, .rbt-ico-play { display: inline-block; width: 12px; height: 12px; position: relative; margin: 0 !important; }
.rbt-ico-pause::before, .rbt-ico-pause::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; background: currentColor; border-radius: 1px; }
.rbt-ico-pause::before { left: 1px; } .rbt-ico-pause::after { right: 1px; }
.rbt-ico-play::before { content: ""; position: absolute; left: 2px; top: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

@media (max-width: 680px) {
	.rbt-slide {
		grid-template-columns: 76px minmax(0, 1fr);
		grid-template-areas: "photo stars" "quote quote" "who who";
		gap: 16px 18px;
		align-content: start;
		padding: 8px;
	}
	.rbt-slide-body { display: contents; }
	.rbt-slide-photo { grid-area: photo; width: 76px; height: 76px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--rbt-line); }
	.rbt-slide-photo .rbt-avatar-initials { font-size: 24px; }
	.rbt-slide-stars { grid-area: stars; align-self: center; margin: 0; font-size: 22px; }
	.rbt-slide-quote { grid-area: quote; font-size: 17px; }
	.rbt-slide-who { grid-area: who; margin-top: 0; }
	.rbt-slider-nav { gap: 10px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.rbt-slide, .rbt-slider[data-dir="prev"] .rbt-slide { transform: none !important; transition: opacity .01s, visibility 0s; }
}
