:root {
  --green-950:#042f1d;
  --green-900:#064e2f;
  --green-800:#075f39;
  --green-700:#087443;
  --green-100:#eaf6ef;
  --green-50:#f5fbf7;
  --text:#10251c;
  --muted:#5d6f66;
  --line:#d9e8df;
  --card:#ffffff;
  --shadow:0 18px 45px rgba(4,47,29,.10);
  --radius:18px;
}

html[data-theme="dark"] {
  --green-50:#071b12;
  --green-100:#0c2c1d;
  --text:#eef8f2;
  --muted:#aac3b5;
  --line:#1f4b34;
  --card:#0b2418;
  --shadow:0 18px 45px rgba(0,0,0,.35);
}

html[data-theme="contrast"] {
  --green-50:#fff;
  --green-100:#fff;
  --text:#000;
  --muted:#111;
  --line:#000;
  --card:#fff;
  --shadow:none;
}

* { box-sizing:border-box; }

body {
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--green-50),#fff 42%,var(--green-50));
}

a { color:inherit; text-decoration:none; }

.rg-topbar {
  min-height:74px;
  padding:0 5.2vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:linear-gradient(90deg,var(--green-900),var(--green-700));
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.18);
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 10px 26px rgba(4,47,29,.16);
}

.rg-brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:245px;
}

.rg-brand-mark {
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:24px;
  background:rgba(255,255,255,.10);
}

.rg-brand strong {
  display:block;
  font-size:24px;
  letter-spacing:.03em;
  line-height:1;
}

.rg-brand small {
  display:block;
  font-size:11px;
  opacity:.86;
  margin-top:3px;
}

.rg-nav {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:1;
}

.rg-nav > a,
.rg-nav-menu > button,
.rg-login {
  border:0;
  color:#fff;
  background:transparent;
  font:700 14px/1 inherit;
  padding:12px 13px;
  border-radius:12px;
  cursor:pointer;
}

.rg-nav > a:hover,
.rg-nav-menu > button:hover,
.rg-nav > a.active {
  background:rgba(255,255,255,.14);
}

.rg-login {
  background:#fff !important;
  color:var(--green-900) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.10);
}

.rg-nav-menu { position:relative; }

.rg-nav-menu button span { opacity:.72; }

.rg-dropdown {
  position:absolute;
  top:44px;
  left:0;
  min-width:225px;
  padding:9px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  color:var(--text);
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.18s ease;
}

.rg-nav-menu:hover .rg-dropdown,
.rg-nav-menu:focus-within .rg-dropdown {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.rg-dropdown a {
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:var(--text);
  font-size:13px;
}

.rg-dropdown a:hover { background:var(--green-100); }

.rg-lang,
.rg-theme {
  display:flex;
  gap:4px;
  align-items:center;
  padding-left:8px;
  border-left:1px solid rgba(255,255,255,.22);
}

.rg-lang button,
.rg-theme button {
  border:1px solid rgba(255,255,255,.30);
  background:rgba(255,255,255,.10);
  color:#fff;
  min-width:34px;
  height:34px;
  border-radius:10px;
  cursor:pointer;
  font-weight:800;
}

.rg-lang button.active,
.rg-theme button:hover {
  background:#fff;
  color:var(--green-900);
}

.rg-mobile-toggle {
  display:none;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.10);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:12px;
  font-size:22px;
}

.rg-hero {
  min-height:560px;
  padding:64px 5.6vw 52px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  gap:52px;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 74% 28%, rgba(8,116,67,.14), transparent 28%),
    linear-gradient(135deg,#fff 0%,var(--green-50) 100%);
}

.rg-kicker {
  margin:0 0 12px;
  color:var(--green-700);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.rg-hero h1 {
  max-width:720px;
  margin:0;
  color:var(--green-950);
  font-size:clamp(34px,4.1vw,62px);
  line-height:1.06;
  letter-spacing:-.04em;
}

html[data-theme="dark"] .rg-hero h1 { color:#f2fff8; }

.rg-lead {
  max-width:660px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.68;
}

.rg-hero-actions {
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.rg-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  padding:0 22px;
  border-radius:10px;
  border:1px solid var(--green-700);
  font-weight:900;
  font-size:15px;
}

.rg-btn-primary {
  color:#fff;
  background:linear-gradient(135deg,var(--green-800),var(--green-700));
  box-shadow:0 12px 24px rgba(8,116,67,.18);
}

.rg-btn-outline {
  color:var(--green-800);
  background:#fff;
}

.rg-btn-soft {
  color:var(--green-900);
  background:var(--green-100);
}

.rg-hero-visual {
  position:relative;
  min-height:360px;
  display:grid;
  place-items:center;
}

.rg-laptop {
  width:min(520px,88vw);
  height:285px;
  border-radius:22px;
  background:linear-gradient(180deg,#0c5a37,#043821);
  padding:18px;
  box-shadow:var(--shadow);
}

.rg-screen {
  height:100%;
  border-radius:14px;
  background:linear-gradient(135deg,#fff,var(--green-100));
  position:relative;
  overflow:hidden;
  border:1px solid rgba(8,116,67,.25);
}

.rg-scale {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:96px;
  color:var(--green-800);
}

.rg-lines {
  position:absolute;
  left:38px;
  top:42px;
  width:170px;
  display:grid;
  gap:12px;
}

.rg-lines span {
  height:8px;
  border-radius:99px;
  background:#d5e9dd;
}

.rg-check {
  position:absolute;
  right:44px;
  bottom:42px;
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--green-700);
  font-size:31px;
  font-weight:900;
}

.rg-books {
  position:absolute;
  right:6px;
  bottom:20px;
  width:170px;
  height:76px;
  border-radius:12px;
  background:
    linear-gradient(90deg,var(--green-800) 0 34%, #dfece4 34% 38%, var(--green-700) 38% 70%, #dfece4 70% 74%, #a7c7b5 74%);
  box-shadow:0 18px 30px rgba(4,47,29,.14);
}

.rg-shield {
  position:absolute;
  right:146px;
  bottom:56px;
  width:70px;
  height:78px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-size:28px;
}

.rg-section {
  width:min(1440px,91vw);
  margin:0 auto 28px;
}

.rg-section-head.compact {
  text-align:center;
  margin:20px 0 18px;
  border-top:1px solid var(--line);
}

.rg-section-head h2 {
  display:inline-block;
  margin:-15px 0 0;
  padding:0 22px;
  background:#fff;
  color:var(--green-950);
  font-size:24px;
}

html[data-theme="dark"] .rg-section-head h2 { background:var(--green-50); }

.rg-profile-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

.rg-profile-card {
  min-height:128px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  color:var(--text);
  display:grid;
  place-items:center;
  gap:10px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(4,47,29,.04);
  transition:.18s ease;
}

.rg-profile-card span {
  color:var(--green-800);
  font-size:34px;
}

.rg-profile-card strong {
  max-width:130px;
  text-align:center;
  line-height:1.25;
}

.rg-profile-card:hover,
.rg-profile-card.active {
  border-color:var(--green-700);
  background:linear-gradient(180deg,#fff,var(--green-100));
  transform:translateY(-2px);
}

.rg-dynamic-panel {
  margin-top:18px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  box-shadow:0 8px 24px rgba(4,47,29,.05);
}

.rg-panel-label {
  margin:0 0 6px;
  color:var(--green-700);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.rg-dynamic-panel h3 {
  margin:0 0 6px;
  font-size:22px;
}

.rg-dynamic-panel p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.rg-panel-link {
  white-space:nowrap;
  color:var(--green-800);
  font-weight:900;
}

.rg-feature-strip {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--card);
  box-shadow:var(--shadow);
}

.rg-feature-strip article {
  padding:28px;
  display:flex;
  gap:18px;
  align-items:flex-start;
  border-right:1px solid var(--line);
}

.rg-feature-strip article:last-child { border-right:0; }

.rg-feature-strip span {
  width:56px;
  height:56px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:linear-gradient(135deg,var(--green-800),var(--green-700));
  color:#fff;
  font-size:24px;
}

.rg-feature-strip h3,
.rg-resource-grid h3,
.rg-trust h3 {
  margin:0 0 8px;
  color:var(--green-950);
}

html[data-theme="dark"] .rg-feature-strip h3,
html[data-theme="dark"] .rg-resource-grid h3,
html[data-theme="dark"] .rg-trust h3 {
  color:#f1fff7;
}

.rg-feature-strip p,
.rg-resource-grid p,
.rg-trust p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.rg-pathways {
  display:grid;
  grid-template-columns:340px 1fr;
  gap:28px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
}

.rg-pathway-copy h2,
.rg-discover h2,
.rg-access-block h2 {
  margin:0 0 12px;
  color:var(--green-950);
  font-size:30px;
}

html[data-theme="dark"] .rg-pathway-copy h2,
html[data-theme="dark"] .rg-discover h2,
html[data-theme="dark"] .rg-access-block h2 {
  color:#f1fff7;
}

.rg-pathway-copy p {
  color:var(--muted);
  line-height:1.62;
}

.rg-matter-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}

.rg-matter-grid button {
  min-height:74px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}

html[data-theme="dark"] .rg-matter-grid button { background:var(--green-100); }

.rg-matter-grid button:hover,
.rg-matter-grid button.active {
  border-color:var(--green-700);
  background:var(--green-100);
  color:var(--green-900);
}

.rg-pathway-result {
  grid-column:2;
  margin-top:-2px;
  padding:16px 18px;
  background:var(--green-100);
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--text);
  line-height:1.55;
}

.rg-centered {
  grid-column:2;
  justify-self:start;
  margin-top:0;
}

.rg-discover {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  padding:34px;
  border-radius:var(--radius);
  background:linear-gradient(135deg,var(--green-900),var(--green-700));
  color:#fff;
}

.rg-discover h2,
.rg-discover .rg-kicker { color:#fff; }

.rg-discover p {
  color:rgba(255,255,255,.84);
  line-height:1.68;
}

.rg-discover-list {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  align-content:center;
}

.rg-discover-list span {
  padding:18px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:14px;
  background:rgba(255,255,255,.10);
  font-weight:900;
}

.rg-resource-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.rg-resource-grid article {
  padding:28px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
}

.rg-trust {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  padding:32px 5.6vw;
  background:var(--green-100);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.rg-trust article {
  padding:0 28px;
  border-right:1px solid var(--line);
}

.rg-trust article:last-child { border-right:0; }

.rg-trust span {
  color:var(--green-800);
  font-size:32px;
}

.rg-access-block {
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  text-align:center;
}

.rg-access-block div {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-top:20px;
}

.rg-access-block a {
  min-height:58px;
  border:1px solid var(--line);
  border-radius:12px;
  display:grid;
  place-items:center;
  padding:12px;
  font-weight:900;
  color:var(--green-900);
  background:var(--green-50);
}

.rg-access-block a:hover {
  border-color:var(--green-700);
  background:var(--green-100);
}

.rg-footer {
  padding:26px 5.6vw 34px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
  color:var(--muted);
  font-size:13px;
}

.rg-chat-launcher {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:80;
  width:62px;
  height:62px;
  border:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--green-800),var(--green-700));
  color:#fff;
  font-size:28px;
  cursor:pointer;
  box-shadow:0 16px 35px rgba(4,47,29,.30);
}

.rg-chat-panel {
  position:fixed;
  right:24px;
  bottom:96px;
  z-index:79;
  width:min(360px,calc(100vw - 32px));
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:.2s ease;
}

.rg-chat-panel.open {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.rg-chat-head {
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line);
}

.rg-chat-head strong {
  display:block;
  color:var(--green-900);
}

.rg-chat-head small {
  display:block;
  color:var(--muted);
  margin-top:3px;
}

.rg-chat-head button {
  border:0;
  background:transparent;
  color:var(--text);
  font-size:24px;
  cursor:pointer;
}

.rg-chat-body { padding:18px; }

.rg-chat-body label {
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-bottom:8px;
}

.rg-chat-input {
  display:flex;
  gap:8px;
}

.rg-chat-input input {
  flex:1;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}

.rg-chat-input button {
  width:46px;
  border:0;
  border-radius:12px;
  background:var(--green-700);
  color:#fff;
  cursor:pointer;
}

.rg-chat-title {
  margin:18px 0 10px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  color:var(--green-700);
}

.rg-chat-actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}

.rg-chat-actions a {
  min-height:46px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  font-weight:900;
  color:var(--green-900);
  background:var(--green-50);
}

@media (max-width:1080px) {
  .rg-mobile-toggle { display:block; }

  .rg-nav {
    position:absolute;
    left:0;
    right:0;
    top:74px;
    display:none;
    padding:16px 5.2vw;
    background:var(--green-900);
    flex-direction:column;
    align-items:stretch;
  }

  .rg-nav.open { display:flex; }

  .rg-dropdown {
    position:static;
    display:none;
    visibility:visible;
    opacity:1;
    transform:none;
    margin-top:4px;
    box-shadow:none;
  }

  .rg-nav-menu:focus-within .rg-dropdown,
  .rg-nav-menu:hover .rg-dropdown {
    display:block;
  }

  .rg-hero {
    grid-template-columns:1fr;
    min-height:auto;
  }

  .rg-profile-grid { grid-template-columns:repeat(3,1fr); }
  .rg-feature-strip { grid-template-columns:1fr; }
  .rg-feature-strip article { border-right:0; border-bottom:1px solid var(--line); }
  .rg-pathways { grid-template-columns:1fr; }
  .rg-pathway-result, .rg-centered { grid-column:1; }
  .rg-matter-grid { grid-template-columns:repeat(3,1fr); }
  .rg-trust { grid-template-columns:repeat(2,1fr); gap:24px; }
  .rg-trust article { border-right:0; padding:0; }
  .rg-access-block div { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:680px) {
  .rg-topbar { padding:0 18px; }
  .rg-brand { min-width:0; }
  .rg-brand strong { font-size:19px; }
  .rg-brand small { display:none; }

  .rg-hero { padding:42px 22px; }
  .rg-lead { font-size:16px; }
  .rg-hero-actions { flex-direction:column; align-items:stretch; }
  .rg-btn { width:100%; }

  .rg-profile-grid,
  .rg-resource-grid,
  .rg-discover,
  .rg-trust,
  .rg-access-block div {
    grid-template-columns:1fr;
  }

  .rg-dynamic-panel {
    flex-direction:column;
    align-items:flex-start;
  }

  .rg-matter-grid { grid-template-columns:repeat(2,1fr); }
}


/* =========================================================
   RENGANURA PUBLIC LANDING — COMPACT REFINEMENT PATCH
   Purpose:
   - Reduce aggressive hero typography
   - Compress vertical spacing
   - Improve button/card border visibility
   - Keep corporate green navbar
   ========================================================= */

:root {
  --line:#b8d3c2;
  --line-strong:#6ea47e;
  --shadow:0 12px 28px rgba(4,47,29,.08);
}

body {
  letter-spacing:0;
}

.rg-topbar {
  min-height:66px;
  padding:0 4.6vw;
}

.rg-brand-mark {
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:21px;
}

.rg-brand strong {
  font-size:21px;
  letter-spacing:.02em;
}

.rg-brand small {
  font-size:10px;
}

.rg-nav > a,
.rg-nav-menu > button,
.rg-login {
  font-size:13px;
  padding:10px 11px;
  border-radius:10px;
}

.rg-login {
  border:2px solid rgba(255,255,255,.82) !important;
}

.rg-hero {
  min-height:430px;
  padding:42px 5.2vw 34px;
  grid-template-columns:minmax(0,1fr) minmax(320px,.78fr);
  gap:34px;
}

.rg-kicker {
  font-size:11px;
  margin-bottom:9px;
  letter-spacing:.06em;
}

.rg-hero h1 {
  max-width:620px;
  font-size:clamp(28px,3.05vw,46px);
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:780;
}

.rg-lead {
  max-width:610px;
  margin-top:16px;
  font-size:15.5px;
  line-height:1.58;
}

.rg-hero-actions {
  margin-top:22px;
  gap:12px;
}

.rg-btn {
  min-height:44px;
  padding:0 19px;
  border-radius:10px;
  border:2px solid var(--green-700);
  font-size:14px;
  box-shadow:none;
}

.rg-btn-outline {
  border-color:var(--line-strong);
  background:#fff;
}

.rg-btn-outline:hover {
  border-color:var(--green-800);
  background:var(--green-100);
}

.rg-hero-visual {
  min-height:300px;
}

.rg-laptop {
  width:min(430px,82vw);
  height:235px;
  border-radius:18px;
  padding:14px;
}

.rg-scale {
  font-size:74px;
}

.rg-lines {
  left:30px;
  top:34px;
  width:135px;
  gap:9px;
}

.rg-check {
  right:34px;
  bottom:34px;
  width:48px;
  height:48px;
  font-size:25px;
}

.rg-books {
  right:0;
  bottom:12px;
  width:138px;
  height:60px;
}

.rg-shield {
  right:118px;
  bottom:40px;
  width:58px;
  height:64px;
  border:2px solid var(--line-strong);
}

.rg-section {
  width:min(1360px,90vw);
  margin:0 auto 22px;
}

.rg-section-head.compact {
  margin:12px 0 14px;
}

.rg-section-head h2 {
  font-size:20px;
}

.rg-profile-grid {
  gap:13px;
}

.rg-profile-card {
  min-height:104px;
  border:2px solid var(--line);
  border-radius:13px;
  gap:7px;
}

.rg-profile-card span {
  font-size:28px;
}

.rg-profile-card strong {
  font-size:13.5px;
}

.rg-profile-card:hover,
.rg-profile-card.active {
  border-color:var(--green-800);
}

.rg-dynamic-panel {
  margin-top:14px;
  padding:16px 18px;
  border:2px solid var(--line);
  border-radius:15px;
}

.rg-dynamic-panel h3 {
  font-size:19px;
}

.rg-dynamic-panel p {
  font-size:14px;
  line-height:1.48;
}

.rg-feature-strip {
  border:2px solid var(--line);
  border-radius:15px;
}

.rg-feature-strip article {
  padding:20px 22px;
  gap:14px;
}

.rg-feature-strip span {
  width:48px;
  height:48px;
  font-size:20px;
}

.rg-feature-strip h3,
.rg-resource-grid h3,
.rg-trust h3 {
  font-size:17px;
  margin-bottom:6px;
}

.rg-feature-strip p,
.rg-resource-grid p,
.rg-trust p {
  font-size:14px;
  line-height:1.48;
}

.rg-pathways {
  grid-template-columns:300px 1fr;
  gap:22px;
  padding:22px;
  border:2px solid var(--line);
  border-radius:15px;
}

.rg-pathway-copy h2,
.rg-discover h2,
.rg-access-block h2 {
  font-size:24px;
  line-height:1.18;
}

.rg-pathway-copy p {
  font-size:14px;
  line-height:1.52;
}

.rg-matter-grid {
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}

.rg-matter-grid button {
  min-height:60px;
  border:2px solid var(--line);
  border-radius:10px;
  font-size:12.5px;
}

.rg-pathway-result {
  padding:13px 15px;
  border:2px solid var(--line);
  border-radius:12px;
  font-size:14px;
}

.rg-discover {
  padding:26px;
  border-radius:15px;
}

.rg-discover p {
  font-size:14.5px;
  line-height:1.55;
}

.rg-discover-list {
  gap:10px;
}

.rg-discover-list span {
  padding:14px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:12px;
  font-size:14px;
}

.rg-resource-grid {
  gap:14px;
}

.rg-resource-grid article {
  padding:22px;
  border:2px solid var(--line);
  border-radius:15px;
}

.rg-trust {
  padding:24px 5.2vw;
}

.rg-trust article {
  padding:0 22px;
}

.rg-trust span {
  font-size:27px;
}

.rg-access-block {
  padding:24px;
  border:2px solid var(--line);
  border-radius:15px;
}

.rg-access-block div {
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:16px;
}

.rg-access-block a {
  min-height:52px;
  border:2px solid var(--line);
  border-radius:11px;
  font-size:13.5px;
}

.rg-chat-launcher {
  width:58px;
  height:58px;
  right:22px;
  bottom:22px;
  border:2px solid #fff;
}

.rg-chat-panel {
  border:2px solid var(--line);
}

@media (max-width:1080px) {
  .rg-nav {
    top:66px;
  }

  .rg-hero {
    grid-template-columns:1fr;
    padding-top:34px;
  }

  .rg-pathways {
    grid-template-columns:1fr;
  }

  .rg-pathway-result,
  .rg-centered {
    grid-column:1;
  }

  .rg-access-block div {
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:680px) {
  .rg-hero h1 {
    font-size:30px;
  }

  .rg-lead {
    font-size:15px;
  }

  .rg-profile-grid,
  .rg-resource-grid,
  .rg-discover,
  .rg-access-block div {
    grid-template-columns:1fr;
  }

  .rg-matter-grid {
    grid-template-columns:repeat(2,1fr);
  }
}

/* =========================================================
   RENGANURA PROFILE CARD BACKGROUND IMAGES
   Adds subtle corporate-green image backgrounds to profile frames.
   ========================================================= */

.rg-profile-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-position: right 10px bottom 8px;
  background-size: 88px 88px;
}

.rg-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 86% 72%, rgba(8,116,67,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(234,246,239,.56));
}

.rg-profile-card span,
.rg-profile-card strong {
  position: relative;
  z-index: 1;
}

.rg-profile-card[data-profile="individual"] {
  background-image: url("/public/assets/profile-bg/individual-client.svg");
}

.rg-profile-card[data-profile="lawyer"] {
  background-image: url("/public/assets/profile-bg/lawyer-advocate.svg");
}

.rg-profile-card[data-profile="corporate"] {
  background-image: url("/public/assets/profile-bg/corporate-client.svg");
}

.rg-profile-card[data-profile="government"] {
  background-image: url("/public/assets/profile-bg/government-institution.svg");
}

.rg-profile-card[data-profile="agent"] {
  background-image: url("/public/assets/profile-bg/justice-agent.svg");
}

.rg-profile-card[data-profile="visitor"] {
  background-image: url("/public/assets/profile-bg/general-visitor.svg");
}

.rg-profile-card:hover,
.rg-profile-card.active {
  background-position: right 8px bottom 6px;
  background-size: 96px 96px;
}

html[data-theme="dark"] .rg-profile-card::before {
  background:
    radial-gradient(circle at 86% 72%, rgba(130,206,154,.13), transparent 34%),
    linear-gradient(180deg, rgba(12,44,29,.94), rgba(7,27,18,.74));
}

html[data-theme="contrast"] .rg-profile-card {
  background-image: none !important;
}

@media (max-width: 680px) {
  .rg-profile-card {
    background-size: 78px 78px;
  }

  .rg-profile-card:hover,
  .rg-profile-card.active {
    background-size: 84px 84px;
  }
}

/* =========================================================
   RENGANURA PROFILE CARD BACKGROUNDS — VIVID PATCH
   Makes the six profile-frame background images visibly stronger.
   ========================================================= */

.rg-profile-card {
  background-position: right 2px bottom 0;
  background-size: 118px 118px;
  border-color: #4f9567;
}

.rg-profile-card::before {
  background:
    radial-gradient(circle at 84% 72%, rgba(8,116,67,.26), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(234,246,239,.42));
}

.rg-profile-card:hover,
.rg-profile-card.active {
  background-position: right -2px bottom -4px;
  background-size: 130px 130px;
  border-color: #075f39;
  box-shadow: 0 12px 28px rgba(4,47,29,.15);
}

.rg-profile-card span {
  color: #064e2f;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.rg-profile-card strong {
  color: #042f1d;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}

html[data-theme="dark"] .rg-profile-card::before {
  background:
    radial-gradient(circle at 84% 72%, rgba(21,185,105,.34), transparent 38%),
    linear-gradient(180deg, rgba(12,44,29,.76), rgba(7,27,18,.58));
}

html[data-theme="dark"] .rg-profile-card span,
html[data-theme="dark"] .rg-profile-card strong {
  color: #f1fff7;
  text-shadow: none;
}

@media (max-width: 680px) {
  .rg-profile-card {
    background-size: 104px 104px;
  }

  .rg-profile-card:hover,
  .rg-profile-card.active {
    background-size: 112px 112px;
  }
}

/* =========================================================
   RENGANURA SELECTED PROFILE ACTION FRAME
   Converts "Open lawyer path →" and other selected options into
   a visible framed CTA inside the dynamic selected-profile panel.
   ========================================================= */

.rg-selected-profile-frame {
  min-width: 220px;
  padding: 14px 18px;
  border: 2px solid var(--green-700);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(234,246,239,.82));
  color: var(--green-900);
  display: grid;
  gap: 4px;
  align-content: center;
  box-shadow: 0 8px 20px rgba(4,47,29,.09);
  transition: .18s ease;
}

.rg-selected-profile-frame:hover {
  border-color: var(--green-900);
  background: var(--green-100);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(4,47,29,.14);
}

.rg-selected-profile-frame .rg-selected-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-700);
}

.rg-selected-profile-frame strong {
  font-size: 15px;
  line-height: 1.25;
  color: var(--green-950);
}

.rg-panel-link {
  border: 2px solid var(--green-700);
  border-radius: 14px;
  padding: 13px 17px;
  background: var(--green-100);
}

html[data-theme="dark"] .rg-selected-profile-frame {
  background:
    linear-gradient(180deg, rgba(12,44,29,.96), rgba(7,27,18,.84));
  color: #f1fff7;
}

html[data-theme="dark"] .rg-selected-profile-frame strong {
  color: #f1fff7;
}

@media (max-width: 680px) {
  .rg-selected-profile-frame {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   RENGANURA MATTER BUTTON BACKGROUND IMAGES — VIVID
   Adds strong visual backgrounds to public matter-category frames.
   ========================================================= */

.rg-matter-grid button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 78px;
  padding: 12px 10px;
  color: #042f1d;
  background-repeat: no-repeat;
  background-position: right -8px bottom -8px;
  background-size: 118px 74px;
  border: 2px solid #4f9567;
  text-shadow: 0 1px 0 rgba(255,255,255,.84);
}

.rg-matter-grid button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 76%, rgba(8,116,67,.30), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(234,246,239,.44));
}

.rg-matter-grid button:hover,
.rg-matter-grid button.active {
  background-size: 132px 84px;
  background-position: right -14px bottom -12px;
  border-color: #064e2f;
  color: #042f1d;
  box-shadow: 0 12px 25px rgba(4,47,29,.16);
}

.rg-matter-grid button[data-matter="Family"] {
  background-image: url("/public/assets/matter-bg/family.svg");
}

.rg-matter-grid button[data-matter="Land / Property"] {
  background-image: url("/public/assets/matter-bg/land-property.svg");
}

.rg-matter-grid button[data-matter="Employment"] {
  background-image: url("/public/assets/matter-bg/employment.svg");
}

.rg-matter-grid button[data-matter="Debt / Payment"] {
  background-image: url("/public/assets/matter-bg/debt-payment.svg");
}

.rg-matter-grid button[data-matter="Contract"] {
  background-image: url("/public/assets/matter-bg/contract.svg");
}

.rg-matter-grid button[data-matter="Business Dispute"] {
  background-image: url("/public/assets/matter-bg/business-dispute.svg");
}

.rg-matter-grid button[data-matter="Criminal"] {
  background-image: url("/public/assets/matter-bg/criminal.svg");
}

.rg-matter-grid button[data-matter="Government Service"] {
  background-image: url("/public/assets/matter-bg/government-service.svg");
}

.rg-matter-grid button[data-matter="Other"] {
  background-image: url("/public/assets/matter-bg/other.svg");
}

html[data-theme="dark"] .rg-matter-grid button {
  color: #f1fff7;
  text-shadow: none;
}

html[data-theme="dark"] .rg-matter-grid button::before {
  background:
    radial-gradient(circle at 88% 76%, rgba(27,200,120,.34), transparent 42%),
    linear-gradient(180deg, rgba(12,44,29,.70), rgba(7,27,18,.54));
}

html[data-theme="contrast"] .rg-matter-grid button {
  background-image: none !important;
}

@media (max-width: 680px) {
  .rg-matter-grid button {
    background-size: 104px 68px;
  }

  .rg-matter-grid button:hover,
  .rg-matter-grid button.active {
    background-size: 112px 74px;
  }
}

/* =========================================================
   RENGANURA MATTER CLICK SIMULATION PATCH
   Removes separate intake CTA and makes matter frames direct entry points.
   ========================================================= */

.rg-matter-grid button {
  cursor: pointer;
  position: relative;
}

.rg-matter-grid button::after {
  content: "Open simulation →";
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 900;
  color: #075f39;
  opacity: .88;
}

.rg-matter-grid button:hover::after {
  color: #042f1d;
  opacity: 1;
}

.rg-pathway-result {
  grid-column: 2;
  font-weight: 700;
  border-style: dashed;
}

.rg-centered,
#startSimulationLink {
  display: none !important;
}

@media (max-width:1080px) {
  .rg-pathway-result {
    grid-column: 1;
  }
}


/* =========================================================
   RENGANURA HERO GRADIENT TITLE PATCH
   Reduces hero-title aggression and applies corporate-green gradient.
   ========================================================= */

.renganura-gradient-hero-title,
.rg-hero h1.renganura-gradient-hero-title {
  max-width: 720px !important;
  font-size: clamp(27px, 2.65vw, 40px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.018em !important;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #042f1d 0%, #087443 48%, #16b86b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-wrap: balance;
}

@media (max-width: 680px) {
  .renganura-gradient-hero-title,
  .rg-hero h1.renganura-gradient-hero-title {
    font-size: 28px !important;
    line-height: 1.18 !important;
  }
}

/* =========================================================
   RENGANURA CHATBOT SIZE PATCH
   Larger chatbot panel + smaller Quick Support / Ticket / Email / FAQ text.
   ========================================================= */

.rg-chat-panel {
  width: min(520px, calc(100vw - 40px)) !important;
  min-height: 360px !important;
  right: 28px !important;
  bottom: 104px !important;
  border-radius: 22px !important;
}

.rg-chat-head {
  padding: 24px 26px !important;
}

.rg-chat-head strong {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.rg-chat-head small {
  font-size: 14px !important;
}

.rg-chat-body {
  padding: 24px 26px 26px !important;
}

.rg-chat-body label {
  font-size: 13px !important;
}

.rg-chat-input input {
  height: 58px !important;
  font-size: 15px !important;
  border-radius: 16px !important;
}

.rg-chat-input button {
  width: 60px !important;
  height: 58px !important;
  border-radius: 16px !important;
  font-size: 18px !important;
}

.rg-chat-title {
  margin: 22px 0 12px !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
}

.rg-chat-actions {
  gap: 10px !important;
}

.rg-chat-actions a {
  min-height: 54px !important;
  border-radius: 15px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.rg-chat-launcher {
  width: 66px !important;
  height: 66px !important;
  font-size: 30px !important;
}

@media (max-width: 680px) {
  .rg-chat-panel {
    right: 16px !important;
    bottom: 92px !important;
    width: calc(100vw - 32px) !important;
    min-height: 340px !important;
  }

  .rg-chat-actions a {
    font-size: 11px !important;
  }
}

/* =========================================================
   RENGANURA CHATBOT HEIGHT + SOFT GREEN BACKGROUND PATCH
   ========================================================= */

.rg-chat-panel {
  min-height: 470px !important;
  max-height: calc(100vh - 135px) !important;
  background: linear-gradient(180deg, #f1faf5 0%, #ffffff 58%, #eaf6ef 100%) !important;
  border: 2px solid #9bc8aa !important;
  box-shadow: 0 22px 48px rgba(4,47,29,.20) !important;
}

.rg-chat-head {
  background: linear-gradient(180deg, #e6f5ec, #f7fcf9) !important;
  border-bottom: 2px solid #b8d7c4 !important;
  border-radius: 20px 20px 0 0 !important;
}

.rg-chat-body {
  background: rgba(234,246,239,.72) !important;
  min-height: 350px !important;
  border-radius: 0 0 20px 20px !important;
}

.rg-chat-input input {
  background: #ffffff !important;
  border: 2px solid #a8ceb5 !important;
}

.rg-chat-input input:focus {
  outline: none !important;
  border-color: #087443 !important;
  box-shadow: 0 0 0 4px rgba(8,116,67,.12) !important;
}

.rg-chat-title {
  color: #064e2f !important;
}

.rg-chat-actions a {
  background: linear-gradient(180deg, #ffffff, #edf8f2) !important;
  border: 2px solid #a8ceb5 !important;
  color: #064e2f !important;
}

.rg-chat-actions a:hover {
  background: #dff2e7 !important;
  border-color: #087443 !important;
}

@media (max-width: 680px) {
  .rg-chat-panel {
    min-height: 430px !important;
    max-height: calc(100vh - 110px) !important;
  }

  .rg-chat-body {
    min-height: 315px !important;
  }
}

/* =========================================================
   RENGANURA CHATBOT HEIGHT + SOFT GREEN BACKGROUND PATCH
   ========================================================= */

.rg-chat-panel {
  min-height: 470px !important;
  max-height: calc(100vh - 135px) !important;
  background: linear-gradient(180deg, #f1faf5 0%, #ffffff 58%, #eaf6ef 100%) !important;
  border: 2px solid #9bc8aa !important;
  box-shadow: 0 22px 48px rgba(4,47,29,.20) !important;
}

.rg-chat-head {
  background: linear-gradient(180deg, #e6f5ec, #f7fcf9) !important;
  border-bottom: 2px solid #b8d7c4 !important;
  border-radius: 20px 20px 0 0 !important;
}

.rg-chat-body {
  background: rgba(234,246,239,.72) !important;
  min-height: 350px !important;
  border-radius: 0 0 20px 20px !important;
}

.rg-chat-input input {
  background: #ffffff !important;
  border: 2px solid #a8ceb5 !important;
}

.rg-chat-input input:focus {
  outline: none !important;
  border-color: #087443 !important;
  box-shadow: 0 0 0 4px rgba(8,116,67,.12) !important;
}

.rg-chat-title {
  color: #064e2f !important;
}

.rg-chat-actions a {
  background: linear-gradient(180deg, #ffffff, #edf8f2) !important;
  border: 2px solid #a8ceb5 !important;
  color: #064e2f !important;
}

.rg-chat-actions a:hover {
  background: #dff2e7 !important;
  border-color: #087443 !important;
}

@media (max-width: 680px) {
  .rg-chat-panel {
    min-height: 430px !important;
    max-height: calc(100vh - 110px) !important;
  }

  .rg-chat-body {
    min-height: 315px !important;
  }
}

/* =========================================================
   RENGANURA STAKEHOLDER PROFILE LINK PATCH
   Replaces selected-option panel with stakeholder explanations.
   ========================================================= */

.rg-profile-card {
  text-decoration: none !important;
}

.rg-profile-card:focus-visible {
  outline: 4px solid rgba(8,116,67,.25);
  outline-offset: 3px;
}

.rg-stakeholder-explain-panel {
  display: grid !important;
  grid-template-columns: 0.85fr 1.45fr !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 22px !important;
  border: 2px solid #8fbea0 !important;
  background:
    radial-gradient(circle at 96% 16%, rgba(8,116,67,.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #eef8f2) !important;
}

.rg-stakeholder-explain-head h3 {
  margin: 0 0 8px !important;
  color: #042f1d !important;
  font-size: 21px !important;
  line-height: 1.2 !important;
}

.rg-stakeholder-explain-head p:not(.rg-panel-label) {
  margin: 0 !important;
  color: #41594d !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

.rg-stakeholder-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

.rg-stakeholder-mini-grid article {
  min-height: 112px;
  padding: 14px 15px;
  border: 2px solid #b8d7c4;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 6px 16px rgba(4,47,29,.04);
}

.rg-stakeholder-mini-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #064e2f;
  font-size: 14px;
  line-height: 1.2;
}

.rg-stakeholder-mini-grid span {
  display: block;
  color: #526a5e;
  font-size: 12.5px;
  line-height: 1.42;
}

html[data-theme="dark"] .rg-stakeholder-explain-panel {
  background:
    radial-gradient(circle at 96% 16%, rgba(22,184,107,.16), transparent 26%),
    linear-gradient(180deg, #0c2c1d, #071b12) !important;
}

html[data-theme="dark"] .rg-stakeholder-explain-head h3,
html[data-theme="dark"] .rg-stakeholder-mini-grid strong {
  color: #f1fff7 !important;
}

html[data-theme="dark"] .rg-stakeholder-explain-head p:not(.rg-panel-label),
html[data-theme="dark"] .rg-stakeholder-mini-grid span {
  color: #bad2c5 !important;
}

html[data-theme="dark"] .rg-stakeholder-mini-grid article {
  background: rgba(7,27,18,.78);
}

@media (max-width: 1080px) {
  .rg-stakeholder-explain-panel {
    grid-template-columns: 1fr !important;
  }

  .rg-stakeholder-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .rg-stakeholder-mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   RENGANURA DUAL STAKEHOLDER SELECTOR
   Replaces "I am here as..." with:
   - I am here as
   - I am looking for
   ========================================================= */

.rg-dual-stakeholder-section {
  margin-top: 18px !important;
}

.rg-stakeholder-mode-head {
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 2px solid #9bc8aa;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 12%, rgba(8,116,67,.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #eef8f2);
}

.rg-stakeholder-mode-head h2 {
  margin: 0 0 14px;
  color: #042f1d;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.rg-stakeholder-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rg-stakeholder-mode-switch button {
  min-height: 86px;
  padding: 16px 18px;
  border: 2px solid #a8ceb5;
  border-radius: 16px;
  background: #ffffff;
  color: #064e2f;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}

.rg-stakeholder-mode-switch button:hover,
.rg-stakeholder-mode-switch button.active {
  border-color: #075f39;
  background:
    radial-gradient(circle at 92% 20%, rgba(8,116,67,.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #eaf6ef);
  box-shadow: 0 10px 24px rgba(4,47,29,.10);
  transform: translateY(-1px);
}

.rg-stakeholder-mode-switch strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  color: #042f1d;
}

.rg-stakeholder-mode-switch span {
  display: block;
  max-width: 540px;
  color: #526a5e;
  font-size: 13.5px;
  line-height: 1.42;
}

.rg-dual-profile-grid {
  margin-bottom: 18px;
}

.rg-dual-profile-grid .rg-profile-card {
  text-decoration: none !important;
}

.rg-dual-profile-grid .rg-profile-card::after {
  content: "Open profile →";
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 900;
  color: #075f39;
  opacity: .78;
}

.rg-dual-profile-grid[data-mode="find"] .rg-profile-card::after {
  content: "Find provider →";
}

.rg-stakeholder-explain-panel {
  display: grid !important;
  grid-template-columns: 0.85fr 1.45fr !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 22px !important;
  border: 2px solid #8fbea0 !important;
  background:
    radial-gradient(circle at 96% 16%, rgba(8,116,67,.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #eef8f2) !important;
}

.rg-stakeholder-explain-head h3 {
  margin: 0 0 8px !important;
  color: #042f1d !important;
  font-size: 21px !important;
  line-height: 1.2 !important;
}

.rg-stakeholder-explain-head p:not(.rg-panel-label) {
  margin: 0 !important;
  color: #41594d !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

.rg-stakeholder-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

.rg-stakeholder-mini-grid article {
  min-height: 112px;
  padding: 14px 15px;
  border: 2px solid #b8d7c4;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 6px 16px rgba(4,47,29,.04);
}

.rg-stakeholder-mini-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #064e2f;
  font-size: 14px;
  line-height: 1.2;
}

.rg-stakeholder-mini-grid span {
  display: block;
  color: #526a5e;
  font-size: 12.5px;
  line-height: 1.42;
}

@media (max-width: 1080px) {
  .rg-stakeholder-mode-switch,
  .rg-stakeholder-explain-panel {
    grid-template-columns: 1fr !important;
  }

  .rg-stakeholder-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .rg-stakeholder-mode-head {
    padding: 18px;
  }

  .rg-stakeholder-mode-switch,
  .rg-stakeholder-mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   RENGANURA SERVICE PROVIDER / STAKEHOLDER CARD CLEANUP
   Purpose:
   - Stop text from overlaying background images
   - Separate category label from action label
   - Keep background image vivid but controlled
   - Make cards readable in both "I am here as" and "I am looking for" modes
   ========================================================= */

.rg-dual-profile-grid {
  gap: 16px !important;
}

.rg-dual-profile-grid .rg-profile-card {
  position: relative !important;
  min-height: 142px !important;
  padding: 16px 16px 50px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  border: 2px solid #087443 !important;
  border-radius: 18px !important;
  background-position: right 8px top 8px !important;
  background-size: 112px 112px !important;
  background-repeat: no-repeat !important;
}

/* Soft layer between image and text */
.rg-dual-profile-grid .rg-profile-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 48%, rgba(234,246,239,.64) 100%),
    radial-gradient(circle at 86% 28%, rgba(8,116,67,.16), transparent 34%) !important;
}

/* Action badge: no longer overlays the stakeholder category */
.rg-dual-profile-grid .rg-profile-card::after {
  content: "Open profile →" !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 12px !important;
  z-index: 3 !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #9bc8aa !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  color: #075f39 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  opacity: 1 !important;
}

.rg-dual-profile-grid[data-mode="find"] .rg-profile-card::after {
  content: "Find provider →" !important;
}

/* Icon sits clearly above the category text */
.rg-dual-profile-grid .rg-profile-card > span {
  position: relative !important;
  z-index: 2 !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 0 16px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #b8d7c4 !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.88) !important;
  color: #064e2f !important;
  font-size: 23px !important;
  text-shadow: none !important;
}

/* Stakeholder category label gets its own readable strip */
.rg-dual-profile-grid .rg-profile-card > strong {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid rgba(8,116,67,.22) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.90) !important;
  color: #042f1d !important;
  font-size: 13.5px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-shadow: none !important;
}

/* Hover and active states remain clear without text collision */
.rg-dual-profile-grid .rg-profile-card:hover,
.rg-dual-profile-grid .rg-profile-card.active {
  background-size: 120px 120px !important;
  background-position: right 4px top 4px !important;
  box-shadow: 0 14px 28px rgba(4,47,29,.14) !important;
  transform: translateY(-2px) !important;
}

.rg-dual-profile-grid .rg-profile-card:hover > strong,
.rg-dual-profile-grid .rg-profile-card.active > strong {
  border-color: rgba(8,116,67,.45) !important;
  background: rgba(255,255,255,.96) !important;
}

.rg-dual-profile-grid .rg-profile-card:hover::after,
.rg-dual-profile-grid .rg-profile-card.active::after {
  background: #eaf6ef !important;
  border-color: #087443 !important;
  color: #042f1d !important;
}

/* Remove any previous card text overlap caused by older profile-card rules */
.rg-profile-card[data-profile] {
  text-align: left !important;
}

/* Dark mode protection */
html[data-theme="dark"] .rg-dual-profile-grid .rg-profile-card::before {
  background:
    linear-gradient(90deg, rgba(12,44,29,.96) 0%, rgba(12,44,29,.88) 50%, rgba(7,27,18,.72) 100%),
    radial-gradient(circle at 86% 28%, rgba(22,184,107,.18), transparent 34%) !important;
}

html[data-theme="dark"] .rg-dual-profile-grid .rg-profile-card > span,
html[data-theme="dark"] .rg-dual-profile-grid .rg-profile-card > strong,
html[data-theme="dark"] .rg-dual-profile-grid .rg-profile-card::after {
  background: rgba(7,27,18,.88) !important;
  color: #f1fff7 !important;
  border-color: #2f6848 !important;
}

/* Mobile */
@media (max-width: 680px) {
  .rg-dual-profile-grid .rg-profile-card {
    min-height: 132px !important;
    background-size: 96px 96px !important;
  }

  .rg-dual-profile-grid .rg-profile-card:hover,
  .rg-dual-profile-grid .rg-profile-card.active {
    background-size: 104px 104px !important;
  }

  .rg-dual-profile-grid .rg-profile-card > strong {
    font-size: 13px !important;
  }
}

/* =========================================================
   RENGANURA RWANDA-CORRECTED STAKEHOLDER SELECTOR
   ========================================================= */

.rg-rwanda-access-section {
  margin-top: 20px !important;
}

.rg-rwanda-selector-head {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 2px solid #9bc8aa;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 12%, rgba(8,116,67,.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #eef8f2);
}

.rg-rwanda-selector-head h2 {
  margin: 0 0 14px;
  color: #042f1d;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.rg-rwanda-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rg-rwanda-mode-switch button {
  min-height: 88px;
  padding: 16px 18px;
  border: 2px solid #a8ceb5;
  border-radius: 16px;
  background: #ffffff;
  color: #064e2f;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}

.rg-rwanda-mode-switch button:hover,
.rg-rwanda-mode-switch button.active {
  border-color: #075f39;
  background:
    radial-gradient(circle at 92% 20%, rgba(8,116,67,.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #eaf6ef);
  box-shadow: 0 10px 24px rgba(4,47,29,.10);
  transform: translateY(-1px);
}

.rg-rwanda-mode-switch strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  color: #042f1d;
}

.rg-rwanda-mode-switch span {
  display: block;
  color: #526a5e;
  font-size: 13.5px;
  line-height: 1.42;
}

.rg-privacy-rule {
  margin: 0 0 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  border: 2px solid #087443;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 20%, rgba(8,116,67,.16), transparent 30%),
    linear-gradient(180deg, #f2faf5, #ffffff);
  box-shadow: 0 12px 28px rgba(4,47,29,.08);
}

.rg-privacy-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #064e2f, #087443);
  color: #ffffff;
  font-size: 28px;
}

.rg-privacy-rule strong {
  display: block;
  margin-bottom: 6px;
  color: #042f1d;
  font-size: 18px;
  line-height: 1.2;
}

.rg-privacy-rule p {
  margin: 0;
  color: #385144;
  font-size: 14px;
  line-height: 1.58;
  font-weight: 650;
}

.rg-rwanda-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.rg-rwanda-category-card {
  position: relative;
  min-height: 214px;
  padding: 17px 16px 54px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 2px solid #9bc8aa;
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 8%, rgba(8,116,67,.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f3faf6);
  color: #10251c;
  overflow: hidden;
  text-decoration: none !important;
  transition: .18s ease;
}

.rg-rwanda-category-card:hover {
  border-color: #075f39;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(4,47,29,.13);
}

.rg-rwanda-card-icon {
  width: 44px;
  height: 44px;
  border: 2px solid #b8d7c4;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #064e2f;
  font-size: 24px;
  font-style: normal;
}

.rg-rwanda-category-card strong {
  display: block;
  color: #042f1d;
  font-size: 15px;
  line-height: 1.18;
}

.rg-rwanda-category-card em {
  display: block;
  color: #526a5e;
  font-style: normal;
  font-size: 12.8px;
  line-height: 1.42;
}

.rg-rwanda-category-card b {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #9bc8aa;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #075f39;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.rg-rwanda-mode-note {
  padding: 16px 18px;
  border: 2px solid #b8d7c4;
  border-radius: 16px;
  background: #ffffff;
  color: #42594d;
  font-size: 14px;
  line-height: 1.52;
}

.rg-rwanda-mode-note strong {
  color: #064e2f;
}

@media (max-width: 1180px) {
  .rg-rwanda-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .rg-rwanda-mode-switch,
  .rg-rwanda-category-grid {
    grid-template-columns: 1fr;
  }

  .rg-privacy-rule {
    grid-template-columns: 1fr;
  }

  .rg-privacy-icon {
    width: 52px;
    height: 52px;
  }
}

/* =========================================================
   RENGANURA SELECTOR INITIAL EMPTY + BLUE FIND MODE PATCH
   - No categories displayed until a mode is selected
   - "I am looking for" frame uses blue visual language
   ========================================================= */

.rg-rwanda-category-grid.is-empty {
  display: none !important;
}

.rg-rwanda-mode-note-empty {
  text-align: center !important;
  border-style: dashed !important;
  background: #ffffff !important;
  color: #526a5e !important;
}

/* Blue frame for "I am looking for" */
.rg-rwanda-mode-switch button[data-rw-mode="find"] {
  border-color: #8bb7e8 !important;
  background:
    radial-gradient(circle at 94% 20%, rgba(37,99,235,.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #eef6ff) !important;
  color: #0f3b78 !important;
}

.rg-rwanda-mode-switch button[data-rw-mode="find"] strong {
  color: #0b3b7a !important;
}

.rg-rwanda-mode-switch button[data-rw-mode="find"] span {
  color: #335f94 !important;
}

.rg-rwanda-mode-switch button[data-rw-mode="find"]:hover,
.rg-rwanda-mode-switch button[data-rw-mode="find"].active {
  border-color: #1d4ed8 !important;
  background:
    radial-gradient(circle at 94% 20%, rgba(37,99,235,.20), transparent 34%),
    linear-gradient(180deg, #f8fbff, #dcebff) !important;
  box-shadow: 0 10px 24px rgba(29,78,216,.14) !important;
}

/* When "I am looking for" is selected, make the displayed provider cards subtly blue */
.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-category-card {
  border-color: #9dc3ee !important;
  background:
    radial-gradient(circle at 95% 8%, rgba(37,99,235,.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f0f7ff) !important;
}

.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-category-card:hover {
  border-color: #1d4ed8 !important;
  box-shadow: 0 14px 30px rgba(29,78,216,.13) !important;
}

.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-card-icon {
  border-color: #9dc3ee !important;
  color: #0b3b7a !important;
  background: #eef6ff !important;
}

.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-category-card strong {
  color: #0b3b7a !important;
}

.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-category-card em {
  color: #335f94 !important;
}

.rg-rwanda-category-grid[data-mode="find"] .rg-rwanda-category-card b {
  border-color: #9dc3ee !important;
  color: #0b3b7a !important;
  background: #eef6ff !important;
}

/* Keep "I am here as" green */
.rg-rwanda-mode-switch button[data-rw-mode="as"].active,
.rg-rwanda-mode-switch button[data-rw-mode="as"]:hover {
  border-color: #075f39 !important;
  background:
    radial-gradient(circle at 92% 20%, rgba(8,116,67,.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #eaf6ef) !important;
}

/* =========================================================
   RENGANURA PRIVACY RULE — DARK RED + SMALLER TEXT
   ========================================================= */

.rg-privacy-rule {
  border-color: #8b1a1a !important;
  background:
    radial-gradient(circle at 96% 20%, rgba(139,26,26,.10), transparent 30%),
    linear-gradient(180deg, #fff8f8, #ffffff) !important;
}

.rg-privacy-icon {
  background: linear-gradient(135deg, #6f1111, #8b1a1a) !important;
}

.rg-privacy-rule strong {
  color: #7a1111 !important;
  font-size: 15px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
}

.rg-privacy-rule p {
  color: #7a1111 !important;
  font-size: 12.2px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* Also apply to privacy blocks on stakeholder subpages */
.privacy {
  border-color: #8b1a1a !important;
  background: linear-gradient(180deg, #fff8f8, #ffffff) !important;
}

.privacy h2 {
  color: #7a1111 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.privacy p {
  color: #7a1111 !important;
  font-size: 12.2px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* =========================================================
   RENGANURA LOGO SIZE PATCH ONLY
   Does not alter page sections, cards, chatbot, privacy block,
   stakeholder selector, or hero content.
   ========================================================= */

.rg-topbar .rg-brand {
  gap: 15px !important;
}

.rg-topbar .rg-brand-mark {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 17px !important;
  font-size: 30px !important;
}

.rg-topbar .rg-brand strong {
  font-size: 31px !important;
  line-height: .95 !important;
  letter-spacing: .035em !important;
}

.rg-topbar .rg-brand small {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

@media (max-width: 980px) {
  .rg-topbar .rg-brand-mark {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    font-size: 26px !important;
  }

  .rg-topbar .rg-brand strong {
    font-size: 25px !important;
  }

  .rg-topbar .rg-brand small {
    font-size: 11px !important;
  }
}

/* =========================================================
   RENGANURA CORPORATE SCREENSHOT NAVBAR PATCH
   Scope: navbar/header only.
   Removes dropdown behavior visually and enlarges logo.
   ========================================================= */

.rg-corp-nav {
  min-height: 86px !important;
  padding: 0 28px !important;
  display: grid !important;
  grid-template-columns: minmax(310px, 370px) 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
  background:
    radial-gradient(circle at 75% 0%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(90deg, #003f2a 0%, #005b3b 48%, #007a4a 100%) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 28px rgba(4,47,29,.18) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.rg-corp-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  min-width: 0 !important;
}

.rg-corp-brand-mark {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #ffffff !important;
  color: #00613c !important;
  border: 2px solid rgba(255,255,255,.75) !important;
  font-size: 34px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.16) !important;
}

.rg-corp-brand-text strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 25px !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
}

.rg-corp-brand-text small {
  display: block !important;
  margin-top: 5px !important;
  color: rgba(255,255,255,.90) !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
}

.rg-corp-menu {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  white-space: nowrap !important;
}

.rg-corp-nav-link {
  position: relative !important;
  min-height: 54px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  color: rgba(255,255,255,.94) !important;
  text-decoration: none !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.rg-corp-nav-link:hover,
.rg-corp-nav-link.active {
  color: #ffffff !important;
}

.rg-corp-nav-link.active::after,
.rg-corp-nav-link:hover::after {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  right: 6px !important;
  bottom: 7px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #f2c94c !important;
  box-shadow: 0 0 0 1px rgba(242,201,76,.15) !important;
}

.rg-corp-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
}

.rg-corp-icon {
  position: relative !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 21px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
}

.rg-corp-icon:hover {
  background: rgba(255,255,255,.16) !important;
}

.rg-corp-bell span {
  position: absolute !important;
  top: -5px !important;
  right: -4px !important;
  width: 20px !important;
  height: 20px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #f2c94c !important;
  color: #073b29 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.rg-corp-avatar {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #f5faf7 !important;
  color: #063f2a !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  border: 2px solid rgba(255,255,255,.70) !important;
}

/* Force-remove old dropdown navigation behavior/items inside the restored navbar */
.rg-corp-nav .rg-dropdown,
.rg-corp-nav .rg-menu,
.rg-corp-nav .rg-submenu,
.rg-corp-nav [class*="dropdown"],
.rg-corp-nav [class*="submenu"],
.rg-corp-nav .caret,
.rg-corp-nav .arrow {
  display: none !important;
}

@media (max-width: 1220px) {
  .rg-corp-nav {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px 22px !important;
  }

  .rg-corp-menu {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    gap: 18px !important;
    padding-bottom: 6px !important;
  }

  .rg-corp-actions {
    position: absolute !important;
    right: 22px !important;
    top: 16px !important;
  }
}

@media (max-width: 760px) {
  .rg-corp-brand-mark {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    font-size: 29px !important;
  }

  .rg-corp-brand-text strong {
    font-size: 21px !important;
  }

  .rg-corp-brand-text small {
    font-size: 12px !important;
  }

  .rg-corp-actions {
    display: none !important;
  }

  .rg-corp-menu {
    gap: 16px !important;
  }

  .rg-corp-nav-link {
    font-size: 14px !important;
  }
}

/* =========================================================
   RENGANURA PUBLIC NAVBAR RESTORE WITH DROPDOWNS
   Scope: navbar/header only.
   ========================================================= */

.rg-public-nav-restored {
  min-height: 88px !important;
  padding: 0 5vw !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 390px) 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
  background: linear-gradient(90deg, #043f28 0%, #075f39 48%, #087443 100%) !important;
  color: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2000 !important;
  box-shadow: 0 12px 30px rgba(4,47,29,.18) !important;
}

.rg-public-brand {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.rg-public-brand-mark {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255,255,255,.13) !important;
  border: 1.5px solid rgba(255,255,255,.42) !important;
  color: #ffffff !important;
  font-size: 32px !important;
}

.rg-public-brand-text strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 32px !important;
  line-height: .95 !important;
  letter-spacing: .035em !important;
  font-weight: 900 !important;
}

.rg-public-brand-text small {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12.5px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
}

.rg-public-menu {
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.rg-public-nav-link {
  min-height: 52px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.rg-public-nav-link:hover,
.rg-public-nav-link.active,
.rg-public-nav-group:hover > .rg-public-nav-link {
  background: rgba(255,255,255,.13) !important;
}

.rg-public-nav-link span {
  font-size: 11px !important;
  opacity: .92 !important;
}

.rg-public-nav-group {
  position: relative !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
}

.rg-public-dropdown {
  position: absolute !important;
  top: 76px !important;
  left: 0 !important;
  min-width: 270px !important;
  padding: 10px !important;
  display: none !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  border: 2px solid #9bc8aa !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 44px rgba(4,47,29,.20) !important;
  z-index: 3000 !important;
}

.rg-public-nav-group:hover .rg-public-dropdown,
.rg-public-nav-group:focus-within .rg-public-dropdown {
  display: grid !important;
}

.rg-public-dropdown a {
  min-height: 40px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 12px !important;
  color: #064e2f !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

.rg-public-dropdown a:hover {
  background: #eaf6ef !important;
  color: #042f1d !important;
}

.rg-public-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.rg-public-login {
  min-height: 54px !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #064e2f !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

.rg-public-lang,
.rg-public-theme {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding-left: 10px !important;
  border-left: 1px solid rgba(255,255,255,.24) !important;
}

.rg-public-lang a,
.rg-public-theme button {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  background: rgba(255,255,255,.10) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rg-public-theme button {
  font-size: 16px !important;
}

.rg-public-lang a:hover,
.rg-public-theme button:hover {
  background: rgba(255,255,255,.18) !important;
}

@media (max-width: 1280px) {
  .rg-public-nav-restored {
    grid-template-columns: 1fr !important;
    padding: 14px 24px !important;
    gap: 10px !important;
  }

  .rg-public-menu {
    height: auto !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
  }

  .rg-public-nav-group {
    height: auto !important;
  }

  .rg-public-dropdown {
    top: 50px !important;
  }

  .rg-public-actions {
    position: absolute !important;
    right: 24px !important;
    top: 16px !important;
  }
}

@media (max-width: 760px) {
  .rg-public-brand-mark {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    font-size: 27px !important;
  }

  .rg-public-brand-text strong {
    font-size: 24px !important;
  }

  .rg-public-brand-text small {
    font-size: 11px !important;
  }

  .rg-public-actions {
    display: none !important;
  }

  .rg-public-menu {
    gap: 6px !important;
  }

  .rg-public-nav-link {
    font-size: 13px !important;
    padding: 0 11px !important;
  }
}
