/* ==========================================================================
   RSB Corporate — styles on top of Kadence.
   Harbour navy owns bands, panels and the footer; RSB red is kept for the
   quote action; logo cyan draws thin rules and states. Barlow throughout.
   ========================================================================== */

/* Fonts (self-hosted, SIL OFL) ------------------------------------------ */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

/* Tokens ------------------------------------------------------------------ */
:root {
	--rsb-navy: #0E2438;
	--rsb-navy-950: #081726;
	--rsb-navy-2: #1F3346;
	--rsb-red: #C8161F;
	--rsb-red-dark: #A3121A;
	--rsb-cyan: #00A8E6;
	--rsb-cyan-ink: #006C99;
	--rsb-cyan-light: #7FD6F7;
	--rsb-text: #3E4B58;
	--rsb-muted: #5F6B77;
	--rsb-line: #DDE3E8;
	--rsb-line-strong: #C5CED6;
	--rsb-band: #F2F5F7;
	--rsb-on-navy: #C9D4DD;
	--rsb-on-navy-2: #9FB0BE;
	--rsb-head: "Barlow Semi Condensed", Barlow, "Arial Narrow", sans-serif;
	--rsb-body: Barlow, "Helvetica Neue", Arial, sans-serif;
	/* Same edge and measure as Kadence's header and footer containers. */
	--rsb-gutter: var(--global-content-edge-padding, 40px);
	--rsb-wide: var(--global-calc-content-width, 1240px);
	--rsb-sec: clamp(72px, 9vw, 128px);
	--rsb-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base and browser surfaces ------------------------------------------------ */
html { scroll-padding-top: 96px; }
body { font-feature-settings: "kern" 1; text-rendering: optimizeLegibility; }
::selection { background: var(--rsb-navy); color: #fff; }
input, textarea, select { caret-color: var(--rsb-red); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--rsb-cyan-ink);
	outline-offset: 3px;
	border-radius: 2px;
}
html { scrollbar-color: #9AA8B4 #EEF2F5; }
a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
table, .rsb-fact__v, .rsb-specs strong { font-variant-numeric: tabular-nums lining-nums; }

.rsb-icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }

/* Header ------------------------------------------------------------------- */
.rsb-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rsb-top__desk, .rsb-top__link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rsb-top__desk { color: #fff; font-weight: 600; }
.rsb-top__desk .rsb-icon { color: var(--rsb-on-navy-2); }
.site-top-header-wrap .site-header-row-container-inner { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-top-header-wrap .header-navigation .menu > li > a { padding-block: 6px; }
.site-top-header-wrap .lang-item a { text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; }
.site-top-header-wrap .lang-item.current-lang > a { color: #fff; box-shadow: inset 0 -2px 0 var(--rsb-cyan); }
.site-branding .site-title { font-family: var(--rsb-head); letter-spacing: 0; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-size: 16px; }
.header-navigation[class*="header-navigation-style-underline"] .header-menu-container > ul > li > a::after { background: var(--rsb-red); height: 3px; }
.header-navigation .header-menu-container ul ul { box-shadow: none; border: 1px solid var(--rsb-line); border-top: 2px solid var(--rsb-navy); border-radius: 0 0 4px 4px; overflow: hidden; }
.site-main-header-wrap.item-is-stuck { border-bottom: 1px solid var(--rsb-line); }
/* Keyboard toggle of the Services sub-menu: 24 px wide target (WCAG 2.5.8), arrow unchanged. */
.wp-site-blocks .header-navigation.nav--toggle-sub .dropdown-nav-special-toggle { width: 24px; }
.header-button, .mobile-header-button-wrap .button { letter-spacing: 0.01em; }

/* Mobile menu (navy popup) */
#mobile-drawer .drawer-inner { background: var(--rsb-navy); }
#mobile-drawer .mobile-navigation ul li, #mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap > a { font-size: 18px; font-weight: 600; }
#mobile-drawer .mobile-navigation ul ul li, #mobile-drawer .mobile-navigation ul ul li > a { font-size: 16px; font-weight: 500; }
#mobile-drawer .rsb-lines a, #mobile-drawer .rsb-langs a { text-decoration: none; }
.rsb-langs { display: flex; gap: 8px; margin-top: 24px; }
.rsb-langs a { flex: 1; text-align: center; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 4px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.rsb-langs a[aria-current="true"] { background: #fff; border-color: #fff; color: var(--rsb-navy); }
.rsb-lines, .entry-content .rsb-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rsb-lines a { display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; }
.rsb-lines a span { display: grid; line-height: 1.25; }
.rsb-lines small { font-size: 13px; letter-spacing: 0.02em; }
.rsb-lines--menu { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 12px; }
.rsb-lines--menu a { color: #fff; }
.rsb-lines--menu small { color: var(--rsb-on-navy-2); }
.rsb-lines--menu .rsb-icon { color: var(--rsb-on-navy-2); width: 22px; height: 22px; }

/* Page canvas ------------------------------------------------------------- */
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.entry-content > .rsb-section:first-child { margin-top: 0; }
.rsb-section,
.entry-content > .rsb-section.alignfull { /* Kadence zeroes side padding on .alignfull */
	padding: var(--rsb-sec) var(--rsb-gutter);
	margin-block: 0 !important;
}
.entry-content > .rsb-hero.wp-block-cover,
.entry-content > .rsb-cta.wp-block-cover,
.entry-content > .rsb-pagehead.wp-block-cover { padding-inline: var(--rsb-gutter); }
/* Kadence widens .alignwide past the content width; keep one 1240px measure. */
.entry-content .rsb-section > .alignwide { max-width: var(--rsb-wide) !important; margin-inline: auto !important; width: 100%; }
.rsb-facts, .rsb-hero__text, .rsb-pagehead__text, .rsb-cta__text { max-width: var(--rsb-wide); }
/* Kadence pads cover inner containers too; the cover already carries the gutter. */
.entry-content > .rsb-hero > .wp-block-cover__inner-container,
.entry-content > .rsb-cta > .wp-block-cover__inner-container,
.entry-content > .rsb-pagehead > .wp-block-cover__inner-container {
	padding: 0;
	/* Core's content-position rules set width:auto and margin-left:0; keep the page measure. */
	width: 100% !important; max-width: var(--rsb-wide) !important; margin-inline: auto !important;
}
.rsb-band { background: var(--rsb-band); }
.rsb-head { margin-bottom: clamp(36px, 4vw, 56px) !important; }
.rsb-head > * { max-width: 760px; }
.rsb-head h2 { margin: 0 0 16px; }
.rsb-lead { font-size: clamp(18px, 1.1rem + 0.25vw, 21px); line-height: 1.55; color: var(--rsb-text); max-width: 62ch; }
.entry-content h2 { margin-top: 0; }
.entry-content h2 + p, .entry-content h3 + p { margin-top: 12px; }

/* Links with arrow */
.rsb-more { margin-top: 24px; }
.rsb-more a {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; color: var(--rsb-navy); text-decoration: none;
	border-bottom: 2px solid var(--rsb-cyan); padding-bottom: 3px;
}
.rsb-more a::after {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 320ms var(--rsb-ease);
}
.rsb-more a:hover { color: var(--rsb-red); }
.rsb-more a:hover::after { transform: translateX(4px); }

/* Buttons */
.wp-block-button__link { border-radius: 4px; font-weight: 600; transition: background-color 200ms, color 200ms, border-color 200ms; }
.wp-block-buttons { gap: 12px; margin-top: 32px; }
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	background: transparent; color: var(--rsb-navy); border: 2px solid var(--rsb-navy); padding: 13px 24px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover { background: var(--rsb-navy); color: #fff; }
.wp-block-button.is-style-outline.rsb-btn-light > .wp-block-button__link:not(.has-text-color) { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.wp-block-button.is-style-outline.rsb-btn-light > .wp-block-button__link:not(.has-text-color):hover { background: #fff; color: var(--rsb-navy); border-color: #fff; }

/* Hero -------------------------------------------------------------------- */
.rsb-hero.wp-block-cover { min-height: min(80vh, 820px) !important; padding: 0 var(--rsb-gutter) clamp(112px, 12vw, 152px); align-items: flex-end; }
.rsb-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--rsb-wide); margin-inline: auto; }
.rsb-hero__text { max-width: 640px !important; margin-left: 0 !important; }
.rsb-hero__title {
	font-size: clamp(2.75rem, 1.6rem + 3.9vw, 4.5rem) !important;
	line-height: 1 !important; color: #fff !important; margin: 0 0 22px;
	letter-spacing: -0.015em;
}
.rsb-hero .rsb-lead { color: #E3EAF0; font-size: clamp(18px, 1.05rem + 0.35vw, 22px); max-width: 34em; }
.rsb-hero .wp-block-buttons { margin-top: 36px; }

/* Facts bar (overlaps the hero's bottom edge) */
.rsb-facts,
.entry-content > .rsb-facts.alignwide {
	position: relative; z-index: 3;
	margin: calc(-1 * clamp(56px, 6vw, 72px)) auto 0 !important;
	width: calc(100% - 2 * var(--rsb-gutter));
	max-width: var(--rsb-wide) !important;
	background: #fff;
	border-top: 3px solid var(--rsb-cyan);
	box-shadow: 0 28px 48px -32px rgba(8, 23, 38, 0.5);
	padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.8vw, 40px);
}
.rsb-facts__row { gap: 0 !important; margin: 0 !important; }
.rsb-facts__row > .wp-block-column { padding: 4px clamp(14px, 2vw, 28px); border-left: 1px solid var(--rsb-line); }
.rsb-facts__row > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.rsb-fact__v { font-family: var(--rsb-head); font-weight: 700; font-size: clamp(30px, 1.5rem + 1.2vw, 42px); line-height: 1; color: var(--rsb-navy); margin: 0 0 8px !important; }
.rsb-fact__l { font-size: 15px; line-height: 1.35; color: var(--rsb-muted); margin: 0 !important; }

/* Split sections ---------------------------------------------------------- */
.rsb-split { gap: clamp(32px, 5vw, 80px) !important; }
.rsb-intro { padding-top: clamp(80px, 9vw, 128px); }
.rsb-photo { margin: 0; }
.rsb-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; }
.wp-element-caption, .wp-block-image figcaption { font-size: 14px; color: var(--rsb-muted); margin-top: 12px; text-align: left; max-width: 72ch; }

/* Delivery modes ---------------------------------------------------------- */
.rsb-modes { gap: 24px !important; align-items: stretch !important; }
.rsb-modes__stack { display: flex; flex-direction: column; gap: 24px; }
.rsb-modes__stack > * { margin: 0 !important; flex: 1; }
.rsb-card { background: #fff; border: 1px solid var(--rsb-line); border-radius: 2px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.rsb-card > * { margin-inline: clamp(20px, 2.2vw, 32px) !important; }
.rsb-card > .rsb-card__img { margin: 0 0 24px !important; overflow: hidden; }
.rsb-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
/* Lead card: the photograph takes whatever height the stacked cards leave. */
.rsb-card--lead > .rsb-card__img { flex: 1 1 auto; position: relative; min-height: 300px; }
.rsb-card--lead .rsb-card__img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.rsb-card h3 { margin: 0 0 8px; }
.rsb-card p { margin: 0 0 20px; }
.rsb-specs { list-style: none; padding: 0 !important; margin-top: auto !important; margin-bottom: clamp(20px, 2.2vw, 28px) !important; border-top: 1px solid var(--rsb-line); }
.rsb-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rsb-line); font-size: 15px; }
.rsb-specs li span { color: var(--rsb-muted); }
.rsb-specs li strong { color: var(--rsb-navy); font-weight: 600; text-align: right; }

/* Grades table ------------------------------------------------------------ */
.rsb-split--table { align-items: flex-start !important; }
.rsb-grades { margin: 0; overflow-x: auto; }
.rsb-grades table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 620px; }
.rsb-grades thead th { text-align: left; font-weight: 600; font-size: 14px; color: var(--rsb-muted); border: 0; border-bottom: 2px solid var(--rsb-navy); padding: 0 16px 12px 0; }
.rsb-grades td { border: 0; border-bottom: 1px solid var(--rsb-line); padding: 18px 16px 18px 0; vertical-align: top; color: var(--rsb-text); line-height: 1.45; }
.rsb-grades td:first-child { min-width: 190px; color: var(--rsb-muted); font-size: 14px; }
.rsb-grades td:first-child strong { display: inline-block; font-family: var(--rsb-head); font-size: 22px; color: var(--rsb-navy); margin-bottom: 2px; }
.rsb-grades td:nth-child(2), .rsb-grades td:nth-child(3) { white-space: nowrap; color: var(--rsb-navy); font-weight: 500; }
.rsb-grades figcaption { font-size: 14px; color: var(--rsb-muted); margin-top: 16px; text-align: left; max-width: 72ch; }

/* Compliance: photograph + overlapping navy panel --------------------------- */
.rsb-proof,
.entry-content > .rsb-proof.alignfull { padding: 0 !important; margin-block: 0 !important; background: var(--rsb-band); }
.entry-content .rsb-proof > .rsb-proof__row { gap: 0 !important; margin: 0 !important; align-items: stretch !important; max-width: none !important; width: 100%; }
.rsb-proof__row > .wp-block-column:first-child { position: relative; min-height: clamp(420px, 44vw, 680px); }
.rsb-proof__img { position: absolute; inset: 0; margin: 0 !important; overflow: hidden; }
.rsb-proof__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.rsb-panel {
	position: relative; z-index: 2;
	background: var(--rsb-navy);
	color: var(--rsb-on-navy);
	margin: clamp(48px, 6vw, 88px) var(--rsb-gutter) clamp(48px, 6vw, 88px) calc(-1 * clamp(40px, 5vw, 88px)) !important;
	padding: clamp(36px, 4.4vw, 64px) !important;
	align-self: center;
	max-width: 760px;
}
.rsb-panel h2 { color: #fff; }
.rsb-panel .rsb-lead { color: var(--rsb-on-navy); }
.rsb-docs { list-style: none; padding: 0 !important; margin: 32px 0 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.rsb-docs li { padding: 18px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 15px; line-height: 1.5; }
.rsb-docs li strong { display: block; color: #fff; font-family: var(--rsb-head); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.rsb-ref { display: block; margin-top: 8px; color: var(--rsb-on-navy-2); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Vessel tiles ------------------------------------------------------------ */
.rsb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rsb-tiles > * { margin: 0 !important; }
.rsb-tiles > .rsb-tile:first-child { grid-column: span 2; }
.rsb-tile.wp-block-cover { min-height: 300px !important; padding: 24px; border-radius: 2px; overflow: hidden; }
.rsb-tile .wp-block-cover__image-background { transition: transform 900ms var(--rsb-ease); }
.rsb-tile:hover .wp-block-cover__image-background, .rsb-tile:focus-within .wp-block-cover__image-background { transform: scale(1.05); }
.rsb-tile h3 { margin: 0 0 6px; font-size: 24px; }
.rsb-tile h3 a { color: #fff; text-decoration: none; }
.rsb-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rsb-tile h3 a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rsb-cyan); text-decoration-thickness: 2px; }
.rsb-tile__text { color: #D5DEE6; font-size: 15px; line-height: 1.45; margin: 0; max-width: 36ch; min-height: calc(3 * 1.45em); }

/* Ports ------------------------------------------------------------------- */
.rsb-map { margin: 0; }
.rsb-map img { width: 100%; height: auto; display: block; border: 1px solid var(--rsb-line); border-radius: 2px; }
.rsb-maps > .rsb-map { margin: 0 !important; }
.rsb-map--narrow { display: none; }
.rsb-map__note { font-size: 14px; color: var(--rsb-muted); margin: 12px 0 0 !important; max-width: 72ch; }
@media (max-width: 781px) {
	.rsb-map--wide { display: none; }
	.rsb-map--narrow { display: block; }
}
.rsb-ports { list-style: none; padding: 0 !important; margin: 28px 0 0 !important; border-top: 1px solid var(--rsb-line); }
.rsb-ports li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rsb-line); line-height: 1.35; }
.rsb-ports li strong { grid-row: span 2; font-family: var(--rsb-head); font-weight: 700; color: var(--rsb-cyan-ink); font-size: 17px; letter-spacing: 0.02em; padding-top: 1px; }
.rsb-port__name { color: var(--rsb-navy); font-weight: 600; }
.rsb-port__modes { color: var(--rsb-muted); font-size: 14px; }
.rsb-ports--notes li { grid-template-columns: 72px minmax(0, 1fr); padding: 16px 0; }
.rsb-ports--notes li strong { grid-row: span 3; }
.rsb-port__note { color: var(--rsb-text); font-size: 15px; margin-top: 4px; }

/* Closing band ------------------------------------------------------------ */
.rsb-cta.wp-block-cover { padding: var(--rsb-sec) var(--rsb-gutter); min-height: 420px !important; }
.rsb-cta .wp-block-cover__inner-container { width: 100%; max-width: var(--rsb-wide); margin-inline: auto; }
.rsb-cta__text { max-width: 640px !important; margin-left: 0 !important; }
.rsb-cta h2 { color: #fff; margin: 0 0 16px; }
.rsb-cta .rsb-lead { color: #E3EAF0; }

/* Interior page head ------------------------------------------------------ */
.rsb-pagehead.wp-block-cover { min-height: 460px !important; padding: 120px var(--rsb-gutter) 64px; align-items: flex-end; }
.rsb-pagehead .wp-block-cover__inner-container { width: 100%; max-width: var(--rsb-wide); margin-inline: auto; }
.rsb-pagehead__text { max-width: 780px !important; margin-left: 0 !important; }
.rsb-pagehead h1 { color: #fff !important; margin: 0 0 18px; font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.75rem) !important; line-height: 1.02 !important; }
.rsb-pagehead .rsb-lead { color: #E3EAF0; margin: 0; }
.rank-math-breadcrumb { font-size: 14px; color: var(--rsb-on-navy); margin: 0 0 20px; }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.rank-math-breadcrumb .separator { color: rgba(255, 255, 255, 0.6); padding-inline: 6px; }

/* Lists: milestones and points --------------------------------------------- */
.rsb-log { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; border-top: 2px solid var(--rsb-navy); }
.rsb-log li { padding: 20px 0 0; font-size: 15px; line-height: 1.5; }
.rsb-year { display: block; font-family: var(--rsb-head); font-size: 34px; line-height: 1; color: var(--rsb-navy); margin-bottom: 10px; }
.rsb-log__title { display: block; font-weight: 600; color: var(--rsb-navy); margin-bottom: 6px; }
.rsb-points { list-style: none; padding: 0 !important; margin: 24px 0 0 !important; }
.rsb-points li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid var(--rsb-line); line-height: 1.55; }
.rsb-points li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 12px; border: 3px solid var(--rsb-cyan); border-radius: 50%; }
.rsb-points li strong { display: block; color: var(--rsb-navy); font-family: var(--rsb-head); font-size: 20px; font-weight: 600; margin-bottom: 2px; }
.rsb-aside { background: var(--rsb-band); padding: clamp(28px, 3vw, 40px) !important; align-self: flex-start; }
.rsb-aside .rsb-more { margin-top: 16px; }

/* FAQ --------------------------------------------------------------------- */
.rsb-faq { max-width: 860px; margin-inline: auto; border-top: 2px solid var(--rsb-navy); }
.rsb-faq .wp-block-details { border-bottom: 1px solid var(--rsb-line); padding: 0; margin: 0 !important; }
.rsb-faq summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 22px 48px 22px 0; font-family: var(--rsb-head); font-weight: 600; font-size: 22px; color: var(--rsb-navy);
}
.rsb-faq summary::-webkit-details-marker { display: none; }
.rsb-faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
	border-right: 2px solid var(--rsb-navy); border-bottom: 2px solid var(--rsb-navy); transform: rotate(45deg);
	transition: transform 320ms var(--rsb-ease);
}
.rsb-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.rsb-faq summary:hover { color: var(--rsb-red); }
.rsb-faq details p { margin: 0 0 24px; max-width: 70ch; }

/* Quotation page ---------------------------------------------------------- */
.rsb-quote { gap: clamp(32px, 4vw, 64px) !important; align-items: flex-start !important; }
.rsb-quote__aside { position: sticky; top: 104px; }
.rsb-desk { background: var(--rsb-navy); color: var(--rsb-on-navy); padding: 28px 28px 20px; }
.rsb-desk__title { font-family: var(--rsb-head); font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.rsb-lines--desk a { color: #fff; font-weight: 600; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.rsb-lines--desk small { color: var(--rsb-on-navy-2); font-weight: 500; }
.rsb-lines--desk .rsb-icon { color: var(--rsb-on-navy-2); width: 22px; height: 22px; }
.rsb-desk__note { font-size: 15px; margin: 12px 0 0; }
.rsb-desk__addr { display: flex; gap: 12px; font-size: 15px; margin: 16px 0 0; line-height: 1.45; }
.rsb-desk__addr .rsb-icon { color: var(--rsb-on-navy-2); margin-top: 2px; }
.rsb-quote__aside .rsb-quote__subtitle { font-size: 22px; margin: 36px 0 12px; }
.rsb-quote__form .rsb-quote__title { font-size: clamp(26px, 1.2rem + 1vw, 32px); margin: 0 0 6px; }
.rsb-quote__note { font-size: 15px; color: var(--rsb-muted); margin: 0 0 28px; }
.rsb-steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 0 !important; }
.rsb-steps li { counter-increment: step; position: relative; padding: 0 0 16px 44px; line-height: 1.5; }
.rsb-steps li::before {
	content: counter(step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center; background: #fff; border: 2px solid var(--rsb-navy); color: var(--rsb-navy);
	font-family: var(--rsb-head); font-weight: 700; font-size: 15px;
}

/* Fluent Forms in the RSB language */
.rsb-quote .fluentform .ff-el-group { margin-bottom: 22px; }
.rsb-quote .fluentform .ff-el-input--label label { font-weight: 600; font-size: 15px; color: var(--rsb-navy); }
.rsb-quote .fluentform .ff-el-is-required.asterisk-right label::after { color: var(--rsb-red); }
.rsb-quote .fluentform .ff-el-form-control {
	border: 1px solid var(--rsb-line-strong); border-radius: 4px; min-height: 50px; padding: 12px 14px;
	font: inherit; font-size: 17px; color: var(--rsb-navy); background: #fff; box-shadow: none;
}
.rsb-quote .fluentform textarea.ff-el-form-control { min-height: 120px; }
.rsb-quote .fluentform .ff-el-form-control:focus { border-color: var(--rsb-cyan-ink); box-shadow: 0 0 0 3px rgba(0, 108, 153, 0.18); outline: 0; }
.rsb-quote .fluentform .ff-el-form-control::placeholder { color: var(--rsb-muted); }
.rsb-quote .fluentform .ff-el-section-break { margin: 12px 0 18px; }
.rsb-quote .fluentform .ff-el-section-break .ff-el-section-title { font-family: var(--rsb-head); font-size: 26px; font-weight: 700; color: var(--rsb-navy); margin: 0 0 4px; }
.rsb-quote .fluentform .ff-el-section-break hr { border: 0; border-top: 1px solid var(--rsb-line); margin: 12px 0 0; }
.rsb-quote .fluentform .ff-el-help-message { color: var(--rsb-muted); font-size: 14px; }
.rsb-quote .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--rsb-red); }
.rsb-quote .fluentform .error { color: var(--rsb-red); font-weight: 600; font-size: 14px; }
.rsb-quote .fluentform .rsb-ff-grades .ff-el-input--content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rsb-quote .fluentform .rsb-ff-grades .ff-el-form-check { margin: 0; }
.rsb-quote .fluentform .rsb-ff-grades .ff-el-form-check-label {
	display: flex; align-items: center; gap: 10px; border: 1px solid var(--rsb-line-strong); border-radius: 4px;
	padding: 12px 14px; cursor: pointer; font-size: 16px; color: var(--rsb-navy); background: #fff; margin: 0;
}
.rsb-quote .fluentform .rsb-ff-grades .ff-el-form-check.ff_item_selected .ff-el-form-check-label { border-color: var(--rsb-navy); box-shadow: inset 0 0 0 1px var(--rsb-navy); background: #F5F8FA; }
.rsb-quote .fluentform .rsb-ff-grades .ff-el-form-check-label { min-height: 54px; }
.rsb-quote .fluentform .rsb-ff-grades input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: none; display: grid; place-content: center;
	width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--rsb-navy); border-radius: 4px; background: #fff; cursor: pointer;
	transition: background-color 160ms, border-color 160ms;
}
.rsb-quote .fluentform .rsb-ff-grades input[type="checkbox"]::before {
	content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform 160ms var(--rsb-ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.2 4.6 9.2 10.5 2.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.2 4.6 9.2 10.5 2.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rsb-quote .fluentform .rsb-ff-grades input[type="checkbox"]:checked { background: var(--rsb-red); border-color: var(--rsb-red); }
.rsb-quote .fluentform .rsb-ff-grades input[type="checkbox"]:checked::before { transform: scale(1); }
.rsb-quote .fluentform .rsb-ff-grades input[type="checkbox"]:focus-visible { outline: 2px solid var(--rsb-cyan-ink); outline-offset: 2px; }
.rsb-quote .fluentform .ff-el-tooltip svg { fill: var(--rsb-cyan-ink); }
.rsb-quote .fluentform .ff-el-help-message { margin-top: 6px; }
.rsb-quote .fluentform .rsb-ff-qty { background: var(--rsb-band); padding: 14px 16px 4px; border-left: 3px solid var(--rsb-navy); }
@media (prefers-reduced-motion: no-preference) {
	/* The signature moment: ticking a grade opens its quantity line. Replays each time Fluent Forms shows the field. */
	.rsb-quote .fluentform .rsb-ff-qty { animation: rsb-reveal 420ms var(--rsb-ease) both; }
	@keyframes rsb-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
.rsb-quote .fluentform .ff-btn-submit {
	background: var(--rsb-red) !important; border: 0; border-radius: 4px; color: #fff; font: 600 18px/1.2 var(--rsb-body);
	padding: 17px 30px; min-height: 56px; cursor: pointer; transition: background-color 200ms;
}
.rsb-quote .fluentform .ff-btn-submit:hover { background: var(--rsb-red-dark) !important; }
.rsb-quote .ff-message-success { border: 0; border-top: 3px solid var(--rsb-cyan); background: var(--rsb-band); color: var(--rsb-navy); padding: 24px; box-shadow: none; }

/* Footer ------------------------------------------------------------------ */
.site-footer .footer-widget-area .widget { margin-bottom: 0; }
.rsb-foot p { margin: 0 0 12px; }
.rsb-foot__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.rsb-foot__logo span { font-family: var(--rsb-head); font-weight: 700; font-size: 22px; color: #fff; }
.rsb-foot__muted { color: var(--rsb-on-navy-2); font-size: 15px; }
.rsb-foot__title { color: #fff; font-family: var(--rsb-head); font-weight: 600; font-size: 19px; margin: 0 0 14px !important; }
.rsb-foot__links, .widget-area .rsb-foot__links, .widget-area .rsb-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rsb-foot a { color: var(--rsb-on-navy); text-decoration: none; }
.rsb-foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rsb-cyan); }
.rsb-lines--foot a { padding: 6px 0; gap: 12px; }
.rsb-lines--foot a span { color: #fff; font-weight: 600; }
.rsb-lines--foot small { color: var(--rsb-on-navy-2); font-weight: 500; }
.rsb-lines--foot .rsb-icon { color: var(--rsb-on-navy-2); }
.rsb-foot__addr { font-size: 15px; margin-top: 14px !important; color: var(--rsb-on-navy-2); }
.rsb-foot__social { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.rsb-legal { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }

/* Motion: photographs settle in once, from a visible state ---------------- */
@media (prefers-reduced-motion: no-preference) {
	/* Only the photograph moves; captions stay put and fully legible. */
	.rsb-js .rsb-rise img { opacity: 0.45; filter: saturate(0.6); transition: opacity 900ms var(--rsb-ease), transform 1400ms var(--rsb-ease), filter 1100ms var(--rsb-ease); }
	.rsb-js .rsb-card__img.rsb-rise img, .rsb-js .rsb-proof__img.rsb-rise img { transform: scale(1.04); }
	.rsb-js .rsb-rise.is-in img { opacity: 1; transform: none; filter: none; }
}

/* Services index (home): one column per service under a navy rule ------------- */
.rsb-services { gap: clamp(24px, 3vw, 40px) !important; margin: 0 !important; }
.rsb-svc { display: flex; flex-direction: column; border-top: 2px solid var(--rsb-navy); padding-top: 26px; }
.rsb-svc::before {
	content: ""; flex: none; width: 40px; height: 40px; margin-bottom: 22px; background: var(--rsb-navy);
	-webkit-mask: var(--rsb-svc-icon) center / contain no-repeat; mask: var(--rsb-svc-icon) center / contain no-repeat;
}
.rsb-svc > h3 { margin: 0 0 10px; font-size: clamp(22px, 1.2rem + 0.4vw, 26px); }
.rsb-svc > p:not(.rsb-more) { margin: 0 0 22px; font-size: 16px; line-height: 1.55; max-width: 34ch; }
.rsb-svc > .rsb-specs { margin-top: auto !important; margin-bottom: 20px !important; }
.rsb-svc > .rsb-more { margin-top: 0; }
.rsb-svc--sts { --rsb-svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5h18.5c3.2 0 5.6 1.8 6.5 4-.9 2.2-3.3 4-6.5 4H4a1.5 1.5 0 0 1-1.5-1.5v-5A1.5 1.5 0 0 1 4 6.5z'/%3E%3Cpath d='M8 18.5h13c2.6 0 4.6 1.4 5.4 3.25-.8 1.85-2.8 3.25-5.4 3.25H8a1.5 1.5 0 0 1-1.5-1.5v-3.5A1.5 1.5 0 0 1 8 18.5z'/%3E%3Cpath d='M7 9v3M10.5 20.5v2.5'/%3E%3Cpath d='M16 14.5c-1.1 1.3-1.1 2.7 0 4'/%3E%3C/svg%3E"); }
.rsb-svc--truck { --rsb-svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8.5h12a4 4 0 0 1 0 8H6a4 4 0 0 1 0-8z'/%3E%3Cpath d='M2.5 20h19.5'/%3E%3Cpath d='M22 11.5h3.6l3.4 4.5v4h-7z'/%3E%3Ccircle cx='8' cy='23' r='2.5'/%3E%3Ccircle cx='25' cy='23' r='2.5'/%3E%3C/svg%3E"); }
.rsb-svc--pipeline { --rsb-svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 15.5h9M2.5 21.5h9M20.5 15.5h9M20.5 21.5h9'/%3E%3Cpath d='M11.5 13.5v10M20.5 13.5v10'/%3E%3Cpath d='M11.5 15.5l9 6M11.5 21.5l9-6'/%3E%3Cpath d='M16 18.5V9M11.5 7h9'/%3E%3C/svg%3E"); }
.rsb-svc--fuel { --rsb-svc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3.5c5.2 6.4 8.5 11 8.5 15.2a8.5 8.5 0 0 1-17 0C7.5 14.5 10.8 9.9 16 3.5z'/%3E%3Cpath d='M12 19.5a4 4 0 0 0 4 4'/%3E%3C/svg%3E"); }
/* Service links from the home page land below the sticky header. */
.rsb-card[id] { scroll-margin-top: 104px; }
@media (max-width: 781px) {
	/* Phones: icon beside the text, so four services stay compact. */
	.rsb-svc { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding-top: 22px; }
	.rsb-svc::before { grid-row: 1 / span 4; width: 36px; height: 36px; margin: 2px 0 0; }
	.rsb-svc > * { grid-column: 2; }
	.rsb-svc > p:not(.rsb-more) { margin-bottom: 16px; }
}

/* Band variants: panel on the left, and light content inside navy panels ---- */
.entry-content .rsb-proof--mirror > .rsb-proof__row { flex-direction: row-reverse; }
/* Two grey grounds in a row read as one block: after a band, the photo band sits on white. */
.entry-content > .rsb-band + .rsb-proof { background: #fff; }
.rsb-proof--mirror .rsb-panel {
	margin: clamp(48px, 6vw, 88px) calc(-1 * clamp(40px, 5vw, 88px)) clamp(48px, 6vw, 88px) max(var(--rsb-gutter), calc((var(--global-vw, 100vw) - var(--rsb-wide)) / 2)) !important;
}
.rsb-panel .rsb-points li { border-top-color: rgba(255, 255, 255, 0.16); color: var(--rsb-on-navy); }
.rsb-panel .rsb-points li strong { color: #fff; }
.rsb-panel p:not(.rsb-lead) { color: var(--rsb-on-navy); }
.rsb-panel .rsb-more a { color: #fff; }
.rsb-panel .rsb-more a:hover { color: #fff; border-bottom-color: #fff; }
.rsb-panel .rsb-more + .rsb-more { margin-top: 14px; }
.rsb-panel .rsb-docs { margin-bottom: 8px !important; }
.rsb-points--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: 0 !important; }
.rsb-points--row li { border-top: 2px solid var(--rsb-navy); padding-top: 22px; }
.rsb-points--row li::before { top: 29px; }

/* Phones: call, WhatsApp and quote always one tap away ---------------------- */
.rsb-actbar { display: none; }
@media (max-width: 781px) {
	.rsb-actbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--rsb-navy);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.rsb-actbar__item {
		flex: 1 1 0; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px;
		color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 4px;
	}
	.rsb-actbar__item .rsb-icon { width: 18px; height: 18px; color: var(--rsb-on-navy-2); }
	.rsb-actbar__quote { flex-grow: 1.4; background: var(--rsb-red); border-color: var(--rsb-red); }
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
	.ht-ctc-chat { display: none !important; } /* WhatsApp sits in the bar on phones. */
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.rsb-services { flex-wrap: wrap !important; row-gap: 40px !important; }
	.rsb-services > .rsb-svc { flex-basis: calc(50% - 20px) !important; flex-grow: 0 !important; }
	.rsb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rsb-tiles > .rsb-tile:first-child { grid-column: span 2; }
	.rsb-log { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.rsb-docs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.rsb-proof { background: #fff; }
	.rsb-proof__row { flex-direction: column; }
	.rsb-proof__row > .wp-block-column:first-child { min-height: 360px; }
	.rsb-proof__row > .wp-block-column { flex-basis: auto !important; }
	.rsb-panel, .rsb-proof--mirror .rsb-panel { margin: -48px var(--rsb-gutter) var(--rsb-sec) !important; }
	.entry-content .rsb-proof--mirror > .rsb-proof__row { flex-direction: column; }
	.rsb-points--row { grid-template-columns: minmax(0, 1fr); }
	.rsb-quote__aside { position: static; }
}
@media (max-width: 781px) {
	.rsb-facts__row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0 !important; }
	.rsb-facts__row > .wp-block-column { border-left: 0; padding: 0 12px 0 0; }
	.rsb-facts__row > .wp-block-column:nth-child(2n) { border-left: 1px solid var(--rsb-line); padding-left: 16px; }
	.rsb-hero.wp-block-cover { min-height: 640px !important; }
	.rsb-top__mail span { display: none; }
	.rsb-top { gap: 18px; }
}
@media (max-width: 600px) {
	/* Two columns of titled tiles; the one-line descriptions live on each segment page. */
	.rsb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.rsb-tiles > .rsb-tile:first-child { grid-column: span 2; }
	.rsb-tile.wp-block-cover { min-height: 176px !important; padding: 16px; }
	.rsb-tile h3 { font-size: 20px; margin: 0; }
	.rsb-tile__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; min-height: 0; }
	.rsb-log { grid-template-columns: minmax(0, 1fr); }
	.rsb-pagehead.wp-block-cover { min-height: 400px !important; padding-top: 96px; }
	.rsb-ports li, .rsb-ports--notes li { grid-template-columns: 56px minmax(0, 1fr); }
	.rsb-hero .wp-block-buttons .wp-block-button { width: 100%; }
	.rsb-hero .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; }
	.rsb-quote .fluentform .rsb-ff-grades .ff-el-input--content { grid-template-columns: minmax(0, 1fr); }
	.rsb-points--row { grid-template-columns: minmax(0, 1fr); }
}

/* Grades table on phones: one block per grade, no sideways scroll ----------- */
@media (max-width: 781px) {
	.rsb-grades { overflow: visible; }
	.rsb-grades table { min-width: 0; }
	.rsb-grades thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.rsb-grades tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rsb-line); }
	.rsb-grades tbody td { border: 0; padding: 0; min-width: 0 !important; }
	.rsb-grades tbody td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
	.rsb-grades tbody td:nth-child(2), .rsb-grades tbody td:nth-child(3) { grid-column: 2; text-align: right; font-size: 14px; }
	.rsb-grades tbody td:nth-child(4) { grid-column: 1 / -1; margin-top: 10px; font-size: 15px; }
	.rsb-grades tbody tr:first-child { border-top: 2px solid var(--rsb-navy); }
	.rsb-grades tbody td:empty { display: none; }
}

/* ==========================================================================
   Language selector (top bar and mobile menu, navy background) — v1.2
   ========================================================================== */
.rsb-lang { position: relative; display: inline-flex; align-items: center; vertical-align: middle; }
.rsb-lang__face { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 4px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; pointer-events: none; white-space: nowrap; }
.rsb-lang__globe { width: 16px; height: 16px; flex: none; }
.rsb-lang__chev { width: 10px; height: 10px; flex: none; opacity: 0.8; }
.rsb-lang__select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 16px; color: #0E2438; background: #fff; -webkit-appearance: none; appearance: none; }
.rsb-lang:hover .rsb-lang__face { border-color: rgba(255, 255, 255, 0.6); }
.rsb-lang:focus-within .rsb-lang__face { outline: 2px solid var(--rsb-cyan, #7FD6F7); outline-offset: 2px; }
.rsb-lang__links a { color: #fff; margin-inline-end: 10px; }
.rsb-lang--menu { display: flex; margin-top: 24px; }
.rsb-lang--menu .rsb-lang__face { flex: 1; justify-content: center; padding: 11px 12px; font-size: 15px; }
.site-top-header-wrap .rsb-lang { margin-block: 4px; }

/* Waiting screen while the chosen language opens. */
.rsb-lang-wait { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; background: rgba(14, 36, 56, 0.55); }
.rsb-lang-wait__box { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 8px; background: #fff; color: #0E2438; font-size: 17px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.rsb-lang-wait__spin { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid rgba(14, 36, 56, 0.18); border-top-color: #0A7FB8; animation: rsb-lang-spin 0.8s linear infinite; }
@keyframes rsb-lang-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rsb-lang-wait__spin { animation-duration: 2.4s; } }

/* Right-to-left languages (Arabic, Persian, Urdu…): text reads from the right. */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .rsb-lines a, html[dir="rtl"] .rsb-desk { direction: rtl; }
