/* Reedin Rider Portal — standalone styles, designed to sit INSIDE reedin.com.
   Matches the site: HurmeGeometricSans3 · white bg · black type · red #FF0000 accents ·
   grey #fafafa panels with 25px corner radius (same as the kite-spares category sidebar). */

@font-face {
  font-family: 'HurmeGeometricSans3';
  src: url('../fonts/HurmeGeometricSans3-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'HurmeGeometricSans3';
  src: url('../fonts/HurmeGeometricSans3-Black.woff2') format('woff2'),
       url('../fonts/HurmeGeometricSans3-Black.woff') format('woff');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --black: #000; --red: #FF0000; --red-dark: #CC0000;
  --bg: #ffffff; --panel: #fafafa; --panel-hover: #f1f1f1; --border: #ececec;
  --text: #000; --muted: #6d6d6d;
  --danger: #dc2626; --success: #16a34a;
  --radius-panel: 25px;      /* reedin.com sidebar/card radius */
  --radius: 10px;            /* controls */
  --shadow-lg: 0 14px 40px rgba(0,0,0,.16);
  --font: 'HurmeGeometricSans3', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --site-w: 1265px;          /* reedin.com content width */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.rr-ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.rr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 800; cursor: pointer; letter-spacing: .2px;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 13px 20px; transition: background .15s, border-color .15s, opacity .15s;
}
.rr-btn:disabled { opacity: .55; cursor: not-allowed; }
.rr-btn-dark { background: var(--black); color: #fff; }
.rr-btn-dark:not(:disabled):hover { background: #222; }
.rr-btn-red { background: var(--red); color: #fff; }
.rr-btn-red:not(:disabled):hover { background: var(--red-dark); }
.rr-btn-ghost { background: transparent; border-color: #d8d8d8; color: var(--text); }
.rr-btn-ghost:not(:disabled):hover { background: var(--panel-hover); }
.rr-btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.rr-btn-block { width: 100%; }
.rr-link-btn { background: none; border: none; color: var(--red); font: inherit; font-weight: 800; cursor: pointer; padding: 0; }
.rr-link-btn:hover { text-decoration: underline; }

/* ── Forms ───────────────────────────────────────────────── */
.rr-field { text-align: left; margin-bottom: 16px; }
.rr-label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.rr-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.rr-input, .rr-select, .rr-textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid #ddd; border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.rr-input:focus, .rr-select:focus, .rr-textarea:focus {
  outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}
.rr-textarea { resize: vertical; min-height: 90px; }
.rr-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.rr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rr-form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.rr-check-group { display: flex; gap: 10px; flex-wrap: wrap; }
.rr-check {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid #ddd; border-radius: 999px; padding: 9px 16px; font-size: 15px;
  transition: border-color .15s, background .15s; user-select: none;
}
.rr-check input { accent-color: var(--red); }
.rr-check.on { border-color: var(--black); background: var(--black); color: #fff; }
.rr-check.on input { accent-color: #fff; }
.rr-msg { font-size: 14px; border-radius: var(--radius); padding: 11px 13px; margin-bottom: 14px; text-align: left; }
.rr-msg.err { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.rr-msg.ok  { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }

/* ── Superadmin impersonation bar ────────────────────────── */
.rr-imp-bar { background: #111; color: #fff; font-size: 13px; }
.rr-imp-inner { max-width: var(--site-w); margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rr-imp-tag { background: var(--red); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; padding: 2px 8px; }
.rr-imp-co { font-weight: 800; }
.rr-imp-none { color: #bbb; }
.rr-imp-btn { margin-left: auto; background: transparent; border: 1px solid #555; color: #fff; font: inherit; font-size: 12px; font-weight: 800; border-radius: 6px; padding: 5px 12px; cursor: pointer; }
.rr-imp-btn:hover { border-color: #fff; }

/* ── Mock reedin.com site chrome (header/footer preview) ─── */
.rr-site-header { background: #fff; border-bottom: 1px solid var(--border); }
.rr-site-header-inner {
  max-width: var(--site-w); margin: 0 auto; padding: 0 24px; height: 78px;
  display: flex; align-items: center; gap: 32px;
}
.rr-site-logo img { height: 30px; width: auto; display: block; }
.rr-site-nav { display: flex; gap: 34px; margin: 0 auto; }
.rr-site-nav a { font-weight: 800; font-size: 17px; letter-spacing: .5px; text-transform: uppercase; }
.rr-site-nav a:hover { color: var(--red); }
.rr-preview-chip {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #92600a; background: #fdf3dd; border: 1px solid #f3dfae; border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.rr-site-footer { background: var(--black); color: #9a9a9a; margin-top: 80px; }
.rr-site-footer-inner { max-width: var(--site-w); margin: 0 auto; padding: 36px 24px; display: flex; align-items: center; gap: 20px; font-size: 13px; }
.rr-site-footer img { height: 22px; width: auto; opacity: .9; }
.rr-site-footer .rr-foot-note { margin-left: auto; }

/* ── Portal layout: grey sidebar + content ───────────────── */
.rr-page { max-width: var(--site-w); margin: 0 auto; padding: 34px 24px 0; }
.rr-layout { display: flex; gap: 30px; align-items: flex-start; }

.rr-side {
  width: 310px; flex: none;
  background: var(--panel); border-radius: var(--radius-panel);
  padding: 26px 20px 20px; position: sticky; top: 20px;
}
.rr-side-title { font-size: 24px; font-weight: 800; letter-spacing: -.2px; padding: 0 10px 16px; }
.rr-nav { display: flex; flex-direction: column; gap: 2px; }
.rr-nav-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 400; padding: 11px 12px; border-radius: 14px;
  transition: background .12s, color .12s; color: #222;
}
.rr-nav-link .rr-ico { color: #555; }
.rr-nav-link:hover { background: var(--panel-hover); }
.rr-nav-link.active { background: var(--black); color: #fff; font-weight: 800; }
.rr-nav-link.active .rr-ico { color: #fff; }
.rr-nav-link.disabled { opacity: .45; cursor: default; }
.rr-nav-link.disabled:hover { background: none; }
.rr-soon { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #999; border: 1px solid #ddd; border-radius: 999px; padding: 2px 8px; }
.rr-nav-sep { border: none; border-top: 1px solid #e8e8e8; margin: 14px 10px; }

.rr-side-account { margin-top: 18px; border-top: 1px solid #e8e8e8; padding: 16px 10px 0; display: flex; align-items: center; gap: 12px; }
.rr-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.rr-side-account .rr-acc-name { font-weight: 800; font-size: 14px; line-height: 1.25; }
.rr-side-account .rr-acc-kind { font-size: 12px; color: var(--muted); }
.rr-side-logout { margin-left: auto; background: none; border: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.rr-side-logout:hover { color: var(--red); }

.rr-content { flex: 1; min-width: 0; padding-top: 6px; }
.rr-h1 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; }
.rr-sub { color: var(--muted); margin-top: 4px; }

/* ── Cards / tiles ───────────────────────────────────────── */
.rr-card { background: var(--panel); border-radius: var(--radius-panel); padding: 26px 24px; }
.rr-card-white { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-panel); padding: 26px 24px; }
.rr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.rr-tile { background: var(--panel); border-radius: var(--radius-panel); padding: 24px 22px; min-height: 150px; display: flex; flex-direction: column; transition: background .15s; }
.rr-tile:hover { background: var(--panel-hover); }
.rr-tile.disabled { opacity: .55; }
.rr-tile.disabled:hover { background: var(--panel); }
.rr-tile-icon { margin-bottom: 14px; }
.rr-tile-icon .rr-ico { width: 28px; height: 28px; }
.rr-tile h3 { font-size: 17px; font-weight: 800; }
.rr-tile p { color: var(--muted); font-size: 14px; margin-top: 5px; flex: 1; }
.rr-tile-arrow { color: var(--red); font-weight: 800; font-size: 14px; margin-top: 12px; }
.rr-stat { font-size: 40px; font-weight: 800; line-height: 1; }
.rr-stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ── Product list ────────────────────────────────────────── */
.rr-sec-title { font-size: 20px; font-weight: 800; margin: 34px 0 14px; }
.rr-sec-title:first-child { margin-top: 0; }
.rr-prod-list { display: flex; flex-direction: column; gap: 12px; }
.rr-prod {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel); border-radius: 18px; padding: 16px 20px;
}
.rr-prod.released { opacity: .62; }
.rr-prod-cat {
  width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; flex: none; color: #333;
}
.rr-prod-cat .rr-ico { width: 24px; height: 24px; }
.rr-prod-info { min-width: 0; flex: 1; }
.rr-prod-name { font-weight: 800; font-size: 16px; }
.rr-prod-meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; display: flex; gap: 14px; flex-wrap: wrap; }
.rr-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; background: #eee; color: #444; }
.rr-badge.kite { background: #fee2e2; color: #b91c1c; }
.rr-badge.wing { background: #dbeafe; color: #1d4ed8; }
.rr-badge.board, .rr-badge.foilboard { background: #dcfce7; color: #15803d; }
.rr-badge.bar { background: #fef3c7; color: #92600a; }
.rr-badge.foil { background: #ede9fe; color: #6d28d9; }
.rr-badge.accessory { background: #e5e7eb; color: #374151; }
.rr-prod-actions { flex: none; display: flex; gap: 8px; align-items: center; }
.rr-released-note { font-size: 12.5px; color: var(--muted); }

/* ── Empty / loading ─────────────────────────────────────── */
.rr-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.rr-empty .rr-ico { width: 40px; height: 40px; color: #c9c9c9; margin-bottom: 12px; }
.rr-loading { display: grid; place-items: center; padding: 60px; }
.rr-spinner {
  width: 22px; height: 22px; border: 3px solid rgba(0,0,0,.15); border-top-color: var(--black);
  border-radius: 50%; display: inline-block; animation: rrspin .7s linear infinite;
}
.rr-btn .rr-spinner { width: 16px; height: 16px; border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes rrspin { to { transform: rotate(360deg); } }

/* ── Login ───────────────────────────────────────────────── */
.rr-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #fff; }
.rr-login-card {
  width: 100%; max-width: 440px; background: var(--panel);
  border-radius: var(--radius-panel); padding: 40px 36px 30px; text-align: center;
}
.rr-login-logo img { height: 34px; width: auto; margin-bottom: 8px; }
.rr-login-tag { font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }
.rr-login h1 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.rr-login .rr-lsub { color: var(--muted); font-size: 14.5px; margin: 6px 0 24px; }
.rr-code-input { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: 12px; padding: 14px; }
.rr-login-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e5e5e5; font-size: 13.5px; color: var(--muted); }

/* ── Onboarding wizard ───────────────────────────────────── */
.rr-ob-wrap { max-width: 720px; margin: 0 auto; padding: 44px 24px 0; }
.rr-ob-card { background: var(--panel); border-radius: var(--radius-panel); padding: 38px 36px; }
.rr-ob-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.rr-ob-step { height: 5px; flex: 1; border-radius: 999px; background: #e2e2e2; transition: background .2s; }
.rr-ob-step.on { background: var(--red); }
.rr-ob-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.rr-ob-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; }
.rr-ob-card .rr-ob-sub { color: var(--muted); margin-bottom: 26px; }
.rr-ob-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* ── Modal ───────────────────────────────────────────────── */
.rr-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100;
  display: grid; place-items: center; padding: 20px;
}
.rr-modal { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 520px; max-height: 86vh; display: flex; flex-direction: column; }
.rr-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.rr-modal-head h2 { font-size: 19px; font-weight: 800; }
.rr-modal-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #999; }
.rr-modal-close:hover { color: var(--black); }
.rr-modal-body { padding: 18px 24px 24px; overflow-y: auto; }
.rr-pick-search { margin-bottom: 12px; }
.rr-pick-list { max-height: 380px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; }
.rr-pick-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--border); }
.rr-pick-item:last-child { border-bottom: none; }
.rr-pick-item:hover { background: var(--panel); }
.rr-pick-item.active { background: #f0f0f0; font-weight: 800; }
.rr-pick-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ── Toast ───────────────────────────────────────────────── */
.rr-toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.rr-toast {
  background: var(--black); color: #fff; font-size: 14px; font-weight: 800;
  border-radius: 999px; padding: 11px 22px; opacity: 0; transform: translateY(8px);
  transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg);
}
.rr-toast.show { opacity: 1; transform: none; }
.rr-toast.err { background: var(--danger); }

/* ── News: dashboard feed ────────────────────────────────── */
.rr-feed-head { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 4px; }
.rr-feed-head h2 { font-size: 20px; font-weight: 800; }
.rr-feed-head a { color: var(--red); font-size: 14px; font-weight: 800; }
.rr-feed-head a:hover { color: var(--red-dark); }
.rr-feed { margin-top: 14px; border-top: 1px solid var(--border); }
.rr-feed-item { display: flex; align-items: center; gap: 16px; padding: 14px 6px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .12s; border-radius: 10px; }
.rr-feed-item:hover { background: var(--panel); }
.rr-feed-thumb { width: 84px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--panel); }
.rr-feed-thumb.placeholder { display: grid; place-items: center; color: #c9c9c9; }
.rr-feed-body { flex: 1; min-width: 0; }
.rr-feed-date { font-size: 12px; color: var(--muted); }
.rr-feed-title { font-size: 15px; font-weight: 800; margin-top: 2px; }
.rr-feed-arrow { color: var(--muted); flex: none; }
.rr-feed-item:hover .rr-feed-arrow { color: var(--red); }

/* ── News: list ──────────────────────────────────────────── */
.rr-news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.rr-news-card {
  background: var(--panel); border-radius: var(--radius-panel); overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column; transition: background .15s;
}
.rr-news-card:hover { background: var(--panel-hover); }
.rr-news-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ececec; display: block; }
.rr-news-cover.placeholder { display: flex; align-items: center; justify-content: center; color: #c9c9c9; }
.rr-news-cover.placeholder .rr-ico { width: 40px; height: 40px; }
.rr-news-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rr-news-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.rr-pin { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--red-dark); background: #fff0f0; padding: 2px 8px; border-radius: 999px; }
.rr-news-card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.rr-news-card p { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }

/* ── News: article view ──────────────────────────────────── */
.rr-article-topbar { margin: 0 0 18px; }
.rr-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; padding: 0; }
.rr-back:hover { color: var(--text); }
.rr-article-col { max-width: 760px; background: var(--panel); border-radius: var(--radius-panel); padding: 48px 56px; }
.rr-article-cover { width: calc(100% + 112px); margin: -48px -56px 30px; display: block; border-radius: var(--radius-panel) var(--radius-panel) 0 0; }
.rr-article-col h1 { font-size: 32px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.rr-article-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.rr-article-body { margin-top: 26px; font-size: 17px; line-height: 1.75; color: #222; }
.rr-article-body > :first-child { margin-top: 0; }
.rr-article-body h2 { font-size: 23px; font-weight: 800; margin: 34px 0 12px; letter-spacing: -.2px; }
.rr-article-body h3 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.rr-article-body p { margin: 0 0 18px; }
.rr-article-body ul, .rr-article-body ol { margin: 0 0 18px 24px; }
.rr-article-body li { margin: 6px 0; }
.rr-article-body a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.rr-article-body blockquote { margin: 24px 0; padding: 4px 22px; border-left: 3px solid var(--red); color: #444; font-style: italic; font-size: 18px; }
.rr-article-body img { max-width: 100%; border-radius: 12px; }
.rr-article-img { margin: 24px 0; }
.rr-article-body code { background: #f0f0f0; padding: 1px 5px; border-radius: 4px; font-size: 14px; }
.rr-article-body > * + * { margin-top: 28px; }

/* Related posts */
.rr-related { max-width: 760px; margin: 40px 0 0; }
.rr-related-head { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.rr-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rr-related-card { background: var(--panel); border-radius: 18px; overflow: hidden; cursor: pointer; transition: background .15s; }
.rr-related-card:hover { background: var(--panel-hover); }
.rr-related-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ececec; display: block; }
.rr-related-cover.placeholder { display: grid; place-items: center; color: #c9c9c9; }
.rr-related-cover.placeholder .rr-ico { width: 26px; height: 26px; }
.rr-related-body { padding: 12px 14px 15px; }
.rr-related-date { font-size: 11px; color: var(--muted); }
.rr-related-title { font-size: 14px; font-weight: 800; margin-top: 3px; line-height: 1.3; }

/* Page-builder blocks */
.rr-blk > :last-child, .rr-it-body > :last-child { margin-bottom: 0; }
.rr-blk-btn { display: flex; }
.rr-cta-btn { display: inline-flex; }
.rr-article-body a.rr-btn { text-decoration: none; }
.rr-article-body a.rr-btn-red, .rr-article-body a.rr-btn-dark { color: #fff; }
.rr-article-body a.rr-btn-ghost { color: var(--text); }
.rr-cta.boxed { border: 1px solid var(--border); border-radius: 18px; padding: 28px 30px; background: #fff; }
.rr-cta.align-center { text-align: center; }
.rr-cta.align-left { text-align: left; }
.rr-cta.align-center .rr-cta-btn, .rr-cta.align-left .rr-cta-btn { margin-top: 16px; }
.rr-cta.align-split { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
.rr-cta.align-split .rr-cta-btn { margin-top: 0; flex: none; }
.rr-cta-h { font-size: 20px; font-weight: 800; }
.rr-cta-t { color: #444; margin-top: 6px; }
.rr-it { display: flex; gap: 30px; align-items: center; }
.rr-it.img-right { flex-direction: row-reverse; }
.rr-it-img, .rr-it-text { flex: 1; min-width: 0; }
.rr-it-img img { width: 100%; border-radius: 14px; display: block; }
.rr-it-h { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.rr-blk-img { margin: 0; }
.rr-blk-img img { width: 100%; border-radius: 14px; display: block; }
.rr-blk-img figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }
.rr-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.rr-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rr-blk-embed iframe { max-width: 100%; }
.rr-blk-hr { border: none; border-top: 1px solid var(--border); margin: 34px 0; }
.rr-blk-space { height: 24px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .rr-layout { flex-direction: column; }
  .rr-side { width: 100%; position: static; }
  .rr-tiles { grid-template-columns: 1fr; }
  .rr-form-grid, .rr-form-grid-3 { grid-template-columns: 1fr; }
  .rr-site-nav { display: none; }
  .rr-prod { flex-wrap: wrap; }
  .rr-news-list { grid-template-columns: 1fr; }
  .rr-related-grid { grid-template-columns: 1fr; }
  .rr-article-col { padding: 28px 22px; }
  .rr-article-cover { width: calc(100% + 44px); margin: -28px -22px 22px; }
  .rr-it { flex-direction: column; }
  .rr-it.img-right { flex-direction: column; }
}

/* ── Onboarding: declaration + signature ─────────────────── */
.rr-decl { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; background: #fafafa; font-size: 14px; line-height: 1.55; color: #333; }
.rr-decl-title { font-weight: 800; font-size: 15px; color: #111; margin-bottom: 10px; }
.rr-decl p { margin: 0 0 12px; }
.rr-decl ul { margin: 0 0 12px; padding-left: 18px; }
.rr-decl li { margin: 0 0 8px; }
.rr-decl-agree { margin-top: 16px; font-size: 14px; }
.rr-decl-onfile { margin-top: 16px; display: flex; align-items: center; gap: 8px; background: #f0fdf4;
  border: 1px solid #bbf7d0; color: #15803d; border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.rr-decl-onfile .rr-ico { width: 18px; height: 18px; }
.rr-sig-wrap { position: relative; }
.rr-sig-pad { width: 100%; max-width: 560px; height: 180px; border: 1px dashed #bbb; border-radius: 12px;
  background: #fff; touch-action: none; cursor: crosshair; display: block; }
.rr-sig-clear { position: absolute; top: 8px; right: 8px; font-size: 12px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.rr-sig-clear:hover { color: var(--red); border-color: var(--red); }
