/* =========================================================
   RBAI55 — Terms & Conditions v1.0.0
   Scoped styles only. Designed for a WordPress Custom HTML block.
   ========================================================= */
#rbai55 {
  --t55-ink: #13264b;
  --t55-muted: #526987;
  --t55-blue: #2864ed;
  --t55-purple: #7150ed;
  --t55-line: #dce6f7;
  --t55-soft: #f5f8ff;
  color: var(--t55-ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  isolation: isolate;
}
#rbai55 *, #rbai55 *::before, #rbai55 *::after { box-sizing: border-box; }
#rbai55 a { color: #245ce8; text-decoration: underline; text-underline-offset: 3px; }
#rbai55 a:hover { color: #173ca5; }
#rbai55 .t55-wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
#rbai55 .t55-hero { position: relative; overflow: hidden; padding: 54px 0 40px; background: linear-gradient(125deg,#eef3ff 0%,#f7f5ff 52%,#e8fbf7 100%); border: 1px solid #e1eafa; border-radius: 0 0 34px 34px; }
#rbai55 .t55-hero-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(320px,.96fr); align-items: center; gap: 38px; }
#rbai55 .t55-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid #dbe5fb; border-radius: 999px; background: rgba(255,255,255,.8); color: #33517f; font-size: 13px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
#rbai55 .t55-kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: #20b99a; box-shadow: 0 0 0 4px #d8f7ef; }
#rbai55 .t55-hero h1 { margin: 20px 0 14px; color: #13264b; font-size: clamp(38px,5vw,66px); font-weight: 850; letter-spacing: -.045em; line-height: 1.06; }
#rbai55 .t55-hero h1 span { color: #4264ed; background: linear-gradient(90deg,#2b69ed,#7650e9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#rbai55 .t55-lead { max-width: 620px; margin: 0; color: #4d668a; font-size: clamp(17px,1.6vw,20px); line-height: 1.8; }
#rbai55 .t55-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
#rbai55 .t55-meta span { padding: 8px 12px; border: 1px solid #dce6f7; border-radius: 14px; background: rgba(255,255,255,.88); color: #3b567d; font-size: 13px; font-weight: 750; }
#rbai55 .t55-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#rbai55 .t55-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
#rbai55 .t55-btn:hover { transform: translateY(-2px); text-decoration: none; }
#rbai55 .t55-btn-primary, #rbai55 .t55-btn-primary:visited { color: #fff; background: linear-gradient(100deg,#2864ed,#7150ed); box-shadow: 0 10px 22px rgba(61,88,220,.2); }
#rbai55 .t55-btn-primary:hover, #rbai55 .t55-btn-primary:focus { color: #fff; background: linear-gradient(100deg,#1d4fc9,#5d3bd2); }
#rbai55 .t55-btn-secondary, #rbai55 .t55-btn-secondary:visited { color: #214aab; border-color: #d8e3fa; background: #fff; }
#rbai55 .t55-btn-secondary:hover, #rbai55 .t55-btn-secondary:focus { color: #173c9a; background: #edf3ff; }
#rbai55 .t55-hero-art { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 28px; background: #fff; box-shadow: 0 22px 50px rgba(33,63,119,.12); }
#rbai55 .t55-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1024/546; object-fit: cover; }
#rbai55 .t55-art-caption { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; }
#rbai55 .t55-art-caption > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; color: #087d69; background: #dcf8ef; font-size: 22px; font-weight: 900; }
#rbai55 .t55-art-caption strong, #rbai55 .t55-art-caption small { display: block; }
#rbai55 .t55-art-caption strong { font-size: 15px; }
#rbai55 .t55-art-caption small { color: var(--t55-muted); font-size: 13px; }
#rbai55 .t55-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 30px; }
#rbai55 .t55-principle { padding: 19px 20px; border: 1px solid #dce6f7; border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 7px 20px rgba(34,63,119,.035); }
#rbai55 .t55-principle-icon { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 10px; border-radius: 12px; color: #2b63e9; background: #eaf0ff; font-size: 22px; font-weight: 800; }
#rbai55 .t55-principle:nth-child(2) .t55-principle-icon { color: #7b4cdb; background: #f1eaff; }
#rbai55 .t55-principle:nth-child(3) .t55-principle-icon { color: #087d69; background: #def8ef; }
#rbai55 .t55-principle h2 { margin: 0 0 4px; font-size: 17px; line-height: 1.4; }
#rbai55 .t55-principle p { margin: 0; color: var(--t55-muted); font-size: 14px; line-height: 1.65; }
#rbai55 .t55-main { padding: 38px 0 26px; background: linear-gradient(180deg,#fbfcff 0%,#fff 100%); }
#rbai55 .t55-layout { display: grid; grid-template-columns: 255px minmax(0,1fr); align-items: start; gap: 30px; }
#rbai55 .t55-toc { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 50px); overflow: auto; padding: 18px 14px; border: 1px solid var(--t55-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(31,58,110,.045); }
#rbai55 .t55-toc-heading { margin: 0 8px 8px; color: #162a50; font-size: 14px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
#rbai55 .t55-toc a { display: flex; align-items: baseline; gap: 10px; padding: 8px 9px; border-radius: 10px; color: #4b6285; font-size: 13px; font-weight: 650; line-height: 1.45; text-decoration: none; }
#rbai55 .t55-toc a span { flex: 0 0 22px; color: #3c65df; font-size: 11px; font-weight: 900; }
#rbai55 .t55-toc a:hover, #rbai55 .t55-toc a:focus-visible { color: #214fc1; background: #eef3ff; outline: none; }
#rbai55 .t55-content { min-width: 0; }
#rbai55 .t55-intro { margin-bottom: 18px; padding: 24px 26px; border: 1px solid #dce6f7; border-radius: 20px; background: linear-gradient(115deg,#f2f6ff,#f8f5ff); }
#rbai55 .t55-intro p { margin: 0; color: #405a7f; font-size: 17px; line-height: 1.8; }
#rbai55 .t55-card { scroll-margin-top: 24px; margin: 0 0 17px; padding: 25px 27px; border: 1px solid #dce6f7; border-radius: 21px; background: #fff; box-shadow: 0 9px 25px rgba(32,61,117,.04); }
#rbai55 .t55-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
#rbai55 .t55-number { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; border-radius: 14px; color: #285fe1; background: #eaf0ff; font-size: 17px; font-weight: 900; }
#rbai55 .t55-card h2 { margin: 0; color: #14274c; font-size: clamp(21px,2vw,27px); font-weight: 850; letter-spacing: -.025em; line-height: 1.3; }
#rbai55 .t55-card h3 { margin: 20px 0 8px; font-size: 17px; }
#rbai55 .t55-card p { margin: 10px 0; color: #4e6687; line-height: 1.8; }
#rbai55 .t55-card ul { display: grid; gap: 7px; margin: 12px 0 15px; padding: 0; list-style: none; }
#rbai55 .t55-card li { position: relative; padding-left: 29px; color: #405b7f; line-height: 1.65; }
#rbai55 .t55-card li::before { position: absolute; left: 2px; top: 1px; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 900; }
#rbai55 .t55-check-list li::before { content: "✓"; color: #087e69; background: #dcf8ef; }
#rbai55 .t55-stop-list li::before { content: "×"; color: #b63d53; background: #ffeaee; font-size: 15px; }
#rbai55 .t55-callout { margin-top: 18px; padding: 17px 19px; border: 1px solid #f3dfae; border-radius: 15px; background: #fff9e9; }
#rbai55 .t55-callout strong { color: #805514; }
#rbai55 .t55-callout p { margin-bottom: 0; color: #765d35; }
#rbai55 .t55-resource-link { display: flex; gap: 14px; margin-top: 18px; padding: 18px; border: 1px solid #dbe7fc; border-radius: 16px; background: #f5f8ff; }
#rbai55 .t55-resource-link > span { font-size: 25px; }
#rbai55 .t55-resource-link strong { color: #1a315b; }
#rbai55 .t55-resource-link p { margin: 4px 0 8px; font-size: 15px; }
#rbai55 .t55-email-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin: 16px 0 4px; padding: 17px; border: 1px solid #dce6f7; border-radius: 16px; background: #f6f8ff; }
#rbai55 .t55-email-label { display: block; margin-bottom: 3px; color: #7183a0; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
#rbai55 .t55-email-address { color: #1d3764; font-size: clamp(15px,2vw,18px); overflow-wrap: anywhere; }
#rbai55 .t55-copy-email, #rbai55 .t55-copy-email:visited { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid #2864ed !important; border-radius: 9px; background: #2864ed !important; color: #fff !important; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
#rbai55 .t55-copy-email:hover, #rbai55 .t55-copy-email:focus-visible { background: #1d4fc9 !important; border-color: #1d4fc9 !important; color: #fff !important; box-shadow: 0 4px 12px rgba(37,99,235,.22); }
#rbai55 .t55-copy-email:focus-visible { outline: 3px solid rgba(37,99,235,.3); outline-offset: 3px; }
#rbai55 .t55-copy-email:active { background: #1e40af !important; border-color: #1e40af !important; color: #fff !important; transform: translateY(1px); }
#rbai55 .t55-copy-status { min-height: 0; margin: 0; color: #087e69 !important; font-size: 13px; font-weight: 750; }
#rbai55 .t55-related-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
#rbai55 .t55-related-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border: 1px solid #dce6f7; border-radius: 12px; background: #f8faff; color: #31558e; font-weight: 750; text-decoration: none; }
#rbai55 .t55-related-links a:hover { border-color: #b8cafa; background: #edf3ff; color: #214fc1; }
#rbai55 .t55-closing { display: flex; align-items: flex-start; gap: 17px; margin-top: 21px; padding: 27px; border-radius: 22px; color: #fff; background: linear-gradient(110deg,#17356c,#2d5bd4 58%,#7048e8); }
#rbai55 .t55-closing-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; background: rgba(255,255,255,.14); font-size: 25px; }
#rbai55 .t55-closing h2 { margin: 0 0 6px; color: #fff; font-size: clamp(21px,2vw,27px); font-weight: 850; line-height: 1.35; }
#rbai55 .t55-closing p { margin: 0 0 10px; color: #f0f4ff; }
#rbai55 .t55-closing a, #rbai55 .t55-closing a:visited { color: #fff; font-weight: 850; text-decoration-thickness: 2px; }
#rbai55 .t55-closing a:hover { color: #e0eaff; }
#rbai55 .t55-footnote { margin: 20px 0 0; color: #71829e; font-size: 13px; text-align: center; }
#rbai55 .t55-top { position: fixed; z-index: 999; right: 22px; bottom: 22px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #dce6f7; border-radius: 15px; background: #fff; color: #235ce7; box-shadow: 0 8px 25px rgba(28,57,115,.14); font-size: 27px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
#rbai55 .t55-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#rbai55 .t55-top:hover { background: #edf3ff; color: #173ca5; }
@media (max-width: 960px) {
  #rbai55 .t55-hero-grid { grid-template-columns: 1fr; }
  #rbai55 .t55-hero-art { max-width: 680px; }
  #rbai55 .t55-layout { grid-template-columns: 1fr; }
  #rbai55 .t55-toc { position: relative; top: auto; max-height: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #rbai55 .t55-toc-heading { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  #rbai55 { font-size: 16px; }
  #rbai55 .t55-wrap { width: min(100% - 26px,1240px); }
  #rbai55 .t55-hero { padding: 32px 0 27px; border-radius: 0 0 24px 24px; }
  #rbai55 .t55-hero-grid { gap: 25px; }
  #rbai55 .t55-hero h1 { font-size: clamp(36px,10vw,48px); }
  #rbai55 .t55-principles { grid-template-columns: 1fr; gap: 10px; margin-top: 19px; }
  #rbai55 .t55-principle { padding: 15px; }
  #rbai55 .t55-layout { gap: 18px; }
  #rbai55 .t55-toc { grid-template-columns: 1fr; padding: 12px; }
  #rbai55 .t55-card { padding: 19px 17px; border-radius: 17px; }
  #rbai55 .t55-card-heading { gap: 10px; }
  #rbai55 .t55-number { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  #rbai55 .t55-intro { padding: 18px; }
  #rbai55 .t55-related-links { grid-template-columns: 1fr; }
  #rbai55 .t55-closing { padding: 20px 17px; gap: 12px; }
  #rbai55 .t55-closing-icon { width: 40px; height: 40px; flex-basis: 40px; }
  #rbai55 .t55-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #rbai55 *, #rbai55 *::before, #rbai55 *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* =========================================================
   RBAI55 — Color & Alignment Enhancement v1.1.0
   Full-file enhancement: horizontal contents navigation,
   stronger visual hierarchy, consistent alignment, responsive.
   All selectors remain scoped to #rbai55.
   ========================================================= */

/* Consistent component width and alignment */
#rbai55 {
  --t55-ink: #14264b;
  --t55-muted: #506889;
  --t55-blue: #2864ed;
  --t55-purple: #7449e8;
  --t55-teal: #0d9f88;
  --t55-line: #dce5fb;
  --t55-soft: #f5f7ff;
  color: var(--t55-ink);
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}
#rbai55 .t55-wrap {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
#rbai55 .t55-main {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(94, 133, 255, .055), transparent 34%),
    radial-gradient(ellipse at 100% 22%, rgba(29, 199, 169, .045), transparent 32%),
    #fbfcff;
}
#rbai55 .t55-content { min-width: 0; width: 100%; }

/* More vibrant but still readable hero */
#rbai55 .t55-hero {
  background:
    radial-gradient(circle at 8% 15%, rgba(100, 132, 255, .15), transparent 28%),
    radial-gradient(circle at 90% 78%, rgba(34, 211, 177, .13), transparent 30%),
    linear-gradient(125deg, #eef3ff 0%, #f7f3ff 53%, #e8fbf6 100%);
}
#rbai55 .t55-kicker {
  border-color: #d6e2ff;
  box-shadow: 0 5px 16px rgba(47, 87, 180, .055);
}
#rbai55 .t55-meta span {
  box-shadow: 0 5px 15px rgba(34, 62, 120, .035);
}
#rbai55 .t55-hero-art {
  box-shadow: 0 24px 55px rgba(38, 67, 135, .15);
}
#rbai55 .t55-principle:nth-child(1) {
  border-top: 3px solid #4e75f0;
  background: linear-gradient(155deg, #fff 58%, #f0f4ff);
}
#rbai55 .t55-principle:nth-child(2) {
  border-top: 3px solid #8b5be8;
  background: linear-gradient(155deg, #fff 58%, #f7f0ff);
}
#rbai55 .t55-principle:nth-child(3) {
  border-top: 3px solid #16b69a;
  background: linear-gradient(155deg, #fff 58%, #edfcf7);
}

/* Horizontal, full-width "On This Page" navigation */
#rbai55 .t55-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 22px !important;
}
#rbai55 .t55-toc {
  position: relative !important;
  top: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 20px !important;
  border: 1px solid #d9e4ff !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(119, 81, 232, .08), transparent 32%),
    linear-gradient(120deg, #fff, #f7f8ff) !important;
  box-shadow: 0 12px 30px rgba(35, 65, 130, .065) !important;
}
#rbai55 .t55-toc-heading {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  padding: 0 2px 11px !important;
  border-bottom: 1px solid #e5eafa;
  color: #1a2f5b !important;
  font-size: 14px !important;
  letter-spacing: .075em !important;
}
#rbai55 .t55-toc a {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid #e0e7f8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #425b82 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  box-shadow: 0 3px 9px rgba(36, 64, 120, .035);
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease,
              box-shadow .18s ease !important;
}
#rbai55 .t55-toc a span {
  display: inline-grid;
  flex: 0 0 25px !important;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: #eaf0ff;
  color: #2c60e5 !important;
  font-size: 11px !important;
}
#rbai55 .t55-toc a:nth-of-type(4n+2) span { background: #e5faf3; color: #087e69 !important; }
#rbai55 .t55-toc a:nth-of-type(4n+3) span { background: #f2eaff; color: #7544d6 !important; }
#rbai55 .t55-toc a:nth-of-type(4n+4) span { background: #fff2df; color: #a95c0a !important; }
#rbai55 .t55-toc a:hover,
#rbai55 .t55-toc a:focus-visible {
  color: #214fc1 !important;
  background: #eef3ff !important;
  border-color: #aebff8 !important;
  box-shadow: 0 6px 15px rgba(42, 86, 195, .10);
  transform: translateY(-1px);
  outline: none;
}

/* Better intro alignment and visual separation */
#rbai55 .t55-intro {
  width: 100%;
  margin: 0 0 20px !important;
  padding: 25px 28px !important;
  border: 1px solid #dce4ff !important;
  border-left: 4px solid #5b65ee !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(132, 91, 239, .08), transparent 35%),
    linear-gradient(115deg, #f0f5ff, #f9f5ff) !important;
}
#rbai55 .t55-intro p {
  max-width: 100%;
  color: #3d587f !important;
  font-size: clamp(16px, 1.3vw, 18px) !important;
  line-height: 1.85 !important;
}

/* More colorful section cards with consistent heading alignment */
#rbai55 .t55-card {
  position: relative;
  width: 100%;
  margin: 0 0 19px !important;
  padding: 27px 29px !important;
  border: 1px solid #dce6f8 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 9px 28px rgba(32, 61, 117, .045) !important;
  transition: border-color .18s ease, box-shadow .18s ease,
              transform .18s ease;
}
#rbai55 .t55-card:nth-of-type(3n+1) { border-top: 3px solid #4775ee !important; }
#rbai55 .t55-card:nth-of-type(3n+2) { border-top: 3px solid #8a5ce8 !important; }
#rbai55 .t55-card:nth-of-type(3n) { border-top: 3px solid #19ad96 !important; }
#rbai55 .t55-card:hover {
  border-color: #c8d7fa !important;
  box-shadow: 0 14px 34px rgba(32, 61, 117, .075) !important;
}
#rbai55 .t55-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px !important;
}
#rbai55 .t55-number {
  box-shadow: inset 0 0 0 1px rgba(63, 95, 180, .035);
  background: linear-gradient(145deg, #eaf0ff, #e9e8ff) !important;
  color: #2c5fe4 !important;
}
#rbai55 .t55-card:nth-of-type(3n+2) .t55-number {
  color: #7444d3 !important;
  background: linear-gradient(145deg, #f1eaff, #f8eaff) !important;
}
#rbai55 .t55-card:nth-of-type(3n) .t55-number {
  color: #07846f !important;
  background: linear-gradient(145deg, #ddf9ef, #e8fbf6) !important;
}
#rbai55 .t55-card h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.3 !important;
}
#rbai55 .t55-card p { max-width: 100%; }
#rbai55 .t55-card ul { margin-top: 14px !important; margin-bottom: 17px !important; }
#rbai55 .t55-card li { padding-left: 30px; }
#rbai55 .t55-check-list li::before {
  width: 20px; height: 20px;
  color: #087e69; background: #dff9f0;
}
#rbai55 .t55-stop-list li::before {
  width: 20px; height: 20px;
  color: #b8324d; background: #ffeaee;
}

/* Highlight resource, contact and related-policy areas */
#rbai55 .t55-callout {
  border-color: #f1d99b !important;
  background: linear-gradient(110deg, #fff8e7, #fffdf6) !important;
}
#rbai55 .t55-resource-link {
  border-color: #d7e5ff !important;
  background: linear-gradient(110deg, #f0f6ff, #f7f3ff) !important;
}
#rbai55 .t55-email-row {
  border-color: #d6e2ff !important;
  background: linear-gradient(110deg, #f0f5ff, #f8f3ff) !important;
}
#rbai55 .t55-related-links a {
  border-color: #dce5fb !important;
  background: linear-gradient(110deg, #fff, #f6f8ff) !important;
  transition: transform .18s ease, box-shadow .18s ease,
              border-color .18s ease, background-color .18s ease;
}
#rbai55 .t55-related-links a:hover {
  border-color: #b7c9fb !important;
  background: #edf3ff !important;
  box-shadow: 0 6px 16px rgba(42, 86, 195, .08);
  transform: translateY(-1px);
}

/* Preserve readable white text on the gradient closing panel */
#rbai55 .t55-closing {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.15), transparent 30%),
    linear-gradient(110deg, #17356c, #2d5bd4 58%, #7048e8) !important;
  box-shadow: 0 15px 34px rgba(42, 67, 157, .16);
}
#rbai55 .t55-closing a:hover,
#rbai55 .t55-closing a:focus-visible {
  color: #fff !important;
  text-decoration-thickness: 3px;
}

/* Responsive alignment */
@media (max-width: 960px) {
  #rbai55 .t55-wrap { width: min(100% - 36px, 1320px); }
  #rbai55 .t55-layout { display: flex !important; flex-direction: column !important; }
  #rbai55 .t55-toc {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #rbai55 .t55-toc-heading { flex-basis: 100% !important; }
}
@media (max-width: 620px) {
  #rbai55 .t55-wrap { width: calc(100% - 26px) !important; }
  #rbai55 .t55-toc {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px !important;
    padding: 14px !important;
  }
  #rbai55 .t55-toc-heading { flex: 0 0 auto !important; }
  #rbai55 .t55-toc a {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
  #rbai55 .t55-intro { padding: 19px !important; }
  #rbai55 .t55-card { padding: 20px 18px !important; }
  #rbai55 .t55-card-heading { align-items: flex-start !important; gap: 11px !important; }
  #rbai55 .t55-number { width: 41px; height: 41px; flex-basis: 41px; }
  #rbai55 .t55-card h2 { font-size: clamp(20px, 5.4vw, 25px) !important; }
  #rbai55 .t55-email-row { align-items: flex-start !important; }
  #rbai55 .t55-copy-email { width: 100%; }
  #rbai55 .t55-closing { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  #rbai55 .t55-card,
  #rbai55 .t55-toc a,
  #rbai55 .t55-related-links a { transition: none !important; }
}