/* Ringed Horizon Final SaaS Theme */

body {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.rh-container,
.rh-page {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 72px 24px !important;
}

.rh-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 28px !important;
  padding: 72px 48px !important;
  margin-bottom: 42px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06) !important;
}

.rh-hero h1,
.rh-page h1 {
  font-size: clamp(42px, 6vw, 72px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: #0f172a !important;
  margin-bottom: 22px !important;
}

.rh-hero p,
.rh-page > p {
  max-width: 780px !important;
  font-size: 20px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}

.rh-section {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 24px !important;
  padding: 42px !important;
  margin-top: 32px !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07) !important;
}

.rh-section h2,
.rh-page h2 {
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
}

.rh-section p,
.rh-section li,
.rh-page p,
.rh-page li {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}

.rh-cta {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 28px !important;
}

.rh-btn-primary,
.btn-primary,
.button,
.rh-page a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: #0b3b75 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 1px solid #0b3b75 !important;
  box-shadow: 0 10px 24px rgba(11, 59, 117, 0.25) !important;
}

.rh-btn-secondary,
.btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rh-grid,
.rh-pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 28px !important;
}

.rh-card,
.rh-pricing-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 24px !important;
  padding: 32px !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07) !important;
}

.rh-price {
  font-size: 42px !important;
  font-weight: 950 !important;
  color: #0b3b75 !important;
}

pre {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  overflow-x: auto !important;
  border: 1px solid #1e293b !important;
}

.rh-portal-form {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 20px !important;
}

.rh-portal-form input {
  min-height: 48px !important;
  padding: 12px 16px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

.rh-portal-result {
  margin-top: 34px !important;
}

.rh-table-wrap {
  overflow-x: auto !important;
  margin-top: 20px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
}

.rh-table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
}

.rh-table th,
.rh-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  text-align: left !important;
}

.rh-table th {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}

.webform-submission-form {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 24px !important;
  padding: 36px !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09) !important;
}

.webform-submission-form input,
.webform-submission-form textarea,
.webform-submission-form select {
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  padding: 12px 14px !important;
}

footer.site-footer {
  background: #020617 !important;
  padding: 0 !important;
  margin-top: 60px !important;
}

footer.site-footer .site-footer__inner.container {
  padding: 22px 24px !important;
  max-width: 1120px !important;
}

.rh-footer {
  text-align: center !important;
}

.rh-footer-copy {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin: 0 0 10px 0 !important;
}

.rh-footer-links,
.rh-social-icons {
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.rh-footer-links a,
.rh-social-icons a {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.rh-social-icons a {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #1e293b !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 900px) {
  .rh-grid,
  .rh-pricing-grid,
  .rh-portal-form {
    grid-template-columns: 1fr !important;
  }

  .rh-container,
  .rh-page {
    padding: 40px 18px !important;
  }

  .rh-hero,
  .rh-section {
    padding: 30px 22px !important;
  }
}

/* Ringed Horizon SaaS Pages */
.rh-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.rh-hero {
  text-align: center;
  padding: 80px 24px 64px;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  border: 1px solid #dbeafe;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  margin-bottom: 36px;
}

.rh-eyebrow {
  color: #2563eb;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.rh-hero h1,
.rh-page h1 {
  color: #0f172a;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 22px;
}

.rh-hero p,
.rh-page > p {
  color: #475569;
  font-size: 20px;
  line-height: 1.7;
  max-width: 820px;
}

.rh-hero p {
  margin: 0 auto;
}

.rh-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rh-btn-primary,
.rh-btn-secondary,
.rh-page a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
}

.rh-btn-primary {
  background: #0b3b75;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(11, 59, 117, .25);
}

.rh-btn-secondary,
.rh-page a.button {
  background: #fff;
  color: #0b3b75 !important;
  border: 1px solid #bfdbfe;
}

.rh-section,
.rh-page,
.rh-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.rh-section,
.rh-page {
  padding: 36px;
  margin-bottom: 28px;
}

.rh-grid-3,
.rh-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.rh-card {
  padding: 28px;
}

.rh-card h2,
.rh-page h2,
.rh-section h2 {
  color: #0f172a;
  font-weight: 900;
  margin-top: 0;
}

.rh-card p,
.rh-page p,
.rh-page li,
.rh-section p,
.rh-section li {
  color: #475569;
  line-height: 1.7;
}

.rh-price {
  font-size: 44px;
  font-weight: 900;
  color: #0b3b75;
  margin: 10px 0 18px;
}

.rh-price span {
  font-size: 16px;
  color: #64748b;
}

.rh-featured {
  border: 2px solid #2563eb;
  transform: translateY(-8px);
}

.rh-page pre,
.rh-section pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid #1e293b;
}

.rh-page code,
.rh-section code {
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .rh-grid-3,
  .rh-pricing {
    grid-template-columns: 1fr;
  }

  .rh-featured {
    transform: none;
  }

  .rh-container {
    padding: 32px 16px;
  }

  .rh-section,
  .rh-page {
    padding: 24px;
  }
}

/* Ringed Horizon Homepage Hero */

.rh-home-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.rh-home-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 28, 58, 0.88), rgba(11, 59, 117, 0.72)),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.45), transparent 35%),
    linear-gradient(135deg, #0b2343, #123a6b);
  display: flex;
  align-items: center;
}

.rh-slide {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 24px;
}

.rh-slide-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.6;
}

.rh-hero-panel {
  position: relative;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  border-left: 8px solid #f59e0b;
}

.rh-hero-panel h1 {
  color: #0f172a;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 20px;
}

.rh-hero-panel p {
  color: #475569;
  font-size: 19px;
  line-height: 1.7;
}

.rh-hero-panel .rh-eyebrow {
  color: #0b3b75;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rh-accent {
  width: 72px;
  height: 6px;
  background: #f59e0b;
  border-radius: 999px;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .rh-home-slider {
    min-height: auto;
  }

  .rh-slide {
    padding: 48px 18px;
  }

  .rh-hero-panel {
    padding: 30px;
  }
}

/* ===== PRO FOOTER FINAL FIX ===== */

.rh-pro-footer {
  background: #071a33;
  color: #e5eefb;
  padding: 60px 24px 30px;
  margin-top: 80px;
}

.rh-footer-top {
  max-width: 1100px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 30px;
}

.rh-footer-brand h2 {
  font-size: 28px;
  color: #fff;
  margin: 0 0 10px;
}

.rh-footer-brand p {
  color: #94a3b8;
  max-width: 420px;
  margin: 0;
}

.rh-footer-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rh-footer-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.rh-footer-grid h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rh-footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}

.rh-footer-grid a:hover {
  color: #ffffff;
}

.rh-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .rh-footer-top,
  .rh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rh-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove Drupal footer padding conflict */
.site-footer {
  background: transparent !important;
  padding: 0 !important;
}

.site-footer__inner {
  padding: 0 !important;
  max-width: none !important;
}


/* ===== FOOTER COLOR FIX ===== */

.rh-pro-footer {
  background: #000000 !important;
}


/* ===== REMOVE HERO BLUE BOX ===== */

.rh-home-slider {
  background: none !important;
}

.rh-slide {
  background: transparent !important;
}

.rh-slide-bg {
  display: none !important;
}

/* Optional: center hero cleanly */
.rh-hero-panel {
  margin: 0 auto;
}


/* ===== FULL-WIDTH FOOTER FIX ===== */

/* Make entire footer blue */
.rh-pro-footer {
  width: 100%;
  margin: 0;
  border-radius: 0 !important;
}

/* Remove "card" look inside footer */
.rh-footer-top,
.rh-footer-grid,
.rh-footer-bottom {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Keep content centered but clean */
.rh-footer-top,
.rh-footer-grid,
.rh-footer-bottom {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Improve spacing */
.rh-footer-top {
  padding-bottom: 30px;
}

.rh-footer-grid {
  padding: 30px 0;
}

.rh-footer-bottom {
  padding-top: 20px;
}

/* Optional: softer text contrast */
.rh-pro-footer p {
  color: #b6c7df;
}


/* ===== MAKE ENTIRE FOOTER SAME BLUE ===== */

.site-footer,
.site-footer__inner,
.site-footer__inner.container,
.region--footer,
.region--footer .block,
.rh-pro-footer {
}

.site-footer {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.site-footer__inner,
.site-footer__inner.container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.region--footer,
.region-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rh-pro-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 60px 7vw 32px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Center footer content inside the full blue background */
.rh-footer-top,
.rh-footer-grid,
.rh-footer-bottom {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ===== FINAL FOOTER STYLE (DARK / BLACK) ===== */

.site-footer,
.site-footer__inner,
.region--footer,
.region-footer,
.rh-pro-footer {
  background: #05070d !important;   /* deep black/blue */
}

/* remove any blue leftovers */
.rh-pro-footer {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* keep layout clean and centered */
.rh-footer-top,
.rh-footer-grid,
.rh-footer-bottom {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* better contrast */
.rh-footer-grid a {
  color: #cbd5e1 !important;
}

.rh-footer-grid a:hover {
  color: #ffffff !important;
}

/* subtle text */
.rh-pro-footer p {
  color: #94a3b8;
}

/* remove spacing conflicts */
.site-footer__inner {
  padding: 0 !important;
  max-width: none !important;
}


/* ===== REMOVE OUTER BLUE FOOTER WRAPPER ===== */

.site-footer {
  background: transparent !important;
}

.site-footer__inner {
  background: transparent !important;
}

.rh-pro-footer {
  background: #05070d !important;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.site-footer,
.site-footer__inner,
.region-footer,
.region--footer {
  padding: 0 !important;
  margin: 0 !important;
}


/* ===== REMOVE INNER FOOTER CONTAINER ===== */

/* Kill container constraints */
.site-footer__inner.container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Make footer truly full width */
.site-footer {
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure your footer fills everything */
.rh-pro-footer {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 60px 5vw 30px !important;
}

/* Keep content centered manually */
.rh-footer-top,
.rh-footer-grid,
.rh-footer-bottom {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}


/* ===== REMOVE SOCIAL BAR BACKGROUND ===== */

.social-bar {
  background: transparent !important;
  background-color: transparent !important;
}

/* Optional: remove spacing if needed */
.social-bar {
  padding: 0 !important;
}


/* ===== REMOVE HEADER LIGHT BACKGROUND ===== */

.site-header__initial {
  background: transparent !important;
  background-color: transparent !important;
}


/* ==========================================================
   RINGED HORIZON PROFESSIONAL REDESIGN
   ========================================================== */

/* Global Layout */

.layout-container,
.container,
.main-content__container,
.page-wrapper {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main[role="main"] {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Hero Sections */

.rh-hero,
.hero-section,
.page-hero,
.services-hero,
.docs-hero,
.portal-hero {
  max-width: 1320px;
  margin: 40px auto;
  padding: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg,#041738,#0a2f73);
  color: #fff;
}

/* Page Titles */

h1 {
  font-size: 3rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #041738;
}

h2 {
  font-size: 2.25rem !important;
}

h3 {
  font-size: 1.5rem !important;
  line-height: 1.25 !important;
}

/* Service Cards */

.services-grid,
.rh-services-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(340px,1fr));
  gap: 28px;
  max-width: 1320px;
  margin: 40px auto;
}

.service-card,
.rh-service-card {
  background: #fff;
  border: 1px solid #d9e0ee;
  border-radius: 18px;
  padding: 30px;
  min-height: 240px;
}

.service-card h3,
.rh-service-card h3 {
  font-size: 1.75rem !important;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Documentation */

.docs-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(500px,1fr));
  gap:28px;
  max-width:1320px;
  margin:auto;
}

.docs-card {
  padding:35px;
  border-radius:18px;
  background:#fff;
}

/* Portal */

.portal-login {
  max-width:700px;
  margin:auto;
  text-align:center;
}

/* Pricing */

.pricing-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(320px,1fr));
  gap:30px;
  max-width:1320px;
  margin:auto;
}

.pricing-card {
  padding:35px;
  border-radius:20px;
}

/* Footer */

.site-footer {
  margin-top:80px;
  background:#041738 !important;
  color:#fff !important;
}

.site-footer__inner {
  max-width:1400px !important;
  margin:auto;
  padding:60px 40px !important;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer strong {
  color:#fff !important;
}

.site-footer a {
  color:#d7e4ff !important;
}

.site-footer ul {
  list-style:none;
  padding-left:0;
}

.site-footer li {
  margin-bottom:10px;
}

/* Static Content Pages */

.node--type-page {
  max-width:1200px;
  margin:auto;
}

.node--type-page h1,
.node--type-page h2 {
  color:#041738;
  margin-bottom:20px;
}

.node--type-page p,
.node--type-page li {
  font-size:1.05rem;
  line-height:1.8;
}


/* ==========================================================
   RH FINAL PROFESSIONAL LAYOUT 2026-05-29
========================================================== */

.site-header {
  min-height: 76px !important;
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid #dfe8f5 !important;
}

.site-header__inner__container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

#block-ringedhorizon-theme-sitebranding-logo img {
  max-width: 132px !important;
  height: auto !important;
}

.main-content__container,
main[role="main"] {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 56px 28px !important;
}

.rh-wrap {
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 56px 24px !important;
}

.rh-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 28px !important;
}

.rh-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
  gap: 28px !important;
}

.rh-card,
.rh-panel {
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 20px !important;
  padding: 34px !important;
  box-shadow: 0 18px 48px rgba(8,24,56,.07) !important;
}

.rh-card h2,
.rh-panel h2 {
  font-size: 1.8rem !important;
  line-height: 1.2 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.rh-dark {
  background: linear-gradient(135deg,#041738,#0a2f73) !important;
  color: #fff !important;
  border-radius: 22px !important;
  padding: 56px !important;
}

.rh-dark h1,
.rh-dark h2,
.rh-dark p {
  color: #fff !important;
}

.site-footer {
  width: 100% !important;
  background: linear-gradient(135deg,#030b1a,#061735) !important;
  color: #dce8ff !important;
  margin-top: 80px !important;
  padding: 0 !important;
}

.site-footer__inner {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 56px 28px !important;
}

.site-footer a {
  color: #fff !important;
  font-weight: 700 !important;
}

.site-footer ul {
  list-style: none !important;
  padding-left: 0 !important;
}

.site-footer li {
  margin-bottom: 9px !important;
}

@media (max-width: 900px) {
  .rh-grid-3,
  .rh-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .rh-dark {
    padding: 36px 24px !important;
  }
}


/* ==========================================================
   RH HOME PAGE HERO + STATS FIX
========================================================== */

.path-frontpage .rh-hero {
  max-width: 1180px !important;
  margin: 56px auto 48px auto !important;
  padding: 64px 72px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr) !important;
  gap: 48px !important;
  align-items: center !important;
  overflow: visible !important;
}

.path-frontpage .rh-hero > div:first-child {
  max-width: 560px !important;
  text-align: left !important;
}

.path-frontpage .rh-title {
  font-size: clamp(3.2rem, 5vw, 5.4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  margin: 14px 0 22px !important;
  text-align: left !important;
}

.path-frontpage .rh-subtitle {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  max-width: 540px !important;
  text-align: left !important;
}

.path-frontpage .rh-actions {
  justify-content: flex-start !important;
}

.path-frontpage .rh-visual {
  position: relative !important;
  min-height: 300px !important;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 44px 36px !important;
  border-radius: 24px !important;
  box-shadow: 0 26px 70px rgba(4,23,56,.22) !important;
  transform: none !important;
}

.path-frontpage .rh-visual h2 {
  font-size: 2rem !important;
  line-height: 1.15 !important;
  margin-bottom: 16px !important;
  color: #fff !important;
}

.path-frontpage .rh-visual p {
  color: #dce8ff !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* Home service cards */

.path-frontpage .rh-grid-3 {
  max-width: 1180px !important;
  margin: 28px auto 60px auto !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 28px !important;
}

.path-frontpage .rh-card {
  min-height: 230px !important;
  padding: 32px 30px !important;
}

.path-frontpage .rh-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 14px !important;
  margin-bottom: 18px !important;
  font-size: .85rem !important;
}

.path-frontpage .rh-card h2 {
  font-size: 1.75rem !important;
  line-height: 1.18 !important;
  margin-bottom: 14px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.path-frontpage .rh-card p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* Stats bar */

.path-frontpage .rh-stats {
  max-width: 920px !important;
  margin: 20px auto 90px auto !important;
  padding: 28px 34px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #041738, #082b66) !important;
  color: #fff !important;
  box-shadow: 0 20px 50px rgba(4,23,56,.18) !important;
}

.path-frontpage .rh-stat {
  text-align: center !important;
  font-size: .92rem !important;
  color: #dce8ff !important;
}

.path-frontpage .rh-stat strong {
  display: block !important;
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin-bottom: 4px !important;
}

/* Responsive */

@media (max-width: 980px) {
  .path-frontpage .rh-hero {
    grid-template-columns: 1fr !important;
    padding: 48px 32px !important;
  }

  .path-frontpage .rh-hero > div:first-child,
  .path-frontpage .rh-title,
  .path-frontpage .rh-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .path-frontpage .rh-actions {
    justify-content: center !important;
  }

  .path-frontpage .rh-grid-3 {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .path-frontpage .rh-grid-3,
  .path-frontpage .rh-stats {
    grid-template-columns: 1fr !important;
  }

  .path-frontpage .rh-title {
    font-size: 2.6rem !important;
  }
}


/* ==========================================================
   RH HOME HERO FULL WIDTH FIX
========================================================== */

.path-frontpage main[role="main"],
.path-frontpage .main-content__container,
.path-frontpage .node--type-page {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.path-frontpage .rh-hero {
  width: min(1180px, calc(100vw - 80px)) !important;
  max-width: 1180px !important;
  min-height: 520px !important;
  margin: 60px auto 56px auto !important;
  padding: 70px 72px !important;

  display: grid !important;
  grid-template-columns: minmax(520px, 1fr) minmax(340px, 430px) !important;
  gap: 56px !important;
  align-items: center !important;

  box-sizing: border-box !important;
}

.path-frontpage .rh-hero > div:first-child {
  width: 100% !important;
  max-width: 620px !important;
  min-width: 0 !important;
}

.path-frontpage .rh-title {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;

  font-size: clamp(3.4rem, 4.6vw, 5.2rem) !important;
  line-height: 1.04 !important;
  max-width: 620px !important;
}

.path-frontpage .rh-visual {
  position: static !important;
  width: 100% !important;
  max-width: 430px !important;
  min-height: 280px !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .path-frontpage .rh-hero {
    grid-template-columns: 1fr !important;
    width: min(760px, calc(100vw - 40px)) !important;
  }

  .path-frontpage .rh-hero > div:first-child,
  .path-frontpage .rh-title,
  .path-frontpage .rh-subtitle {
    max-width: 100% !important;
  }
}


/* ==========================================================
   RH HOME HERO CONTAINED RIGHT CARD FIX
========================================================== */

.path-frontpage .rh-hero {
  width: min(1120px, calc(100vw - 80px)) !important;
  max-width: 1120px !important;
  min-height: 500px !important;
  margin: 60px auto 56px auto !important;
  padding: 70px 64px !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) 340px !important;
  gap: 42px !important;
  align-items: center !important;

  overflow: hidden !important;
  position: relative !important;
}

.path-frontpage .rh-hero > div:first-child {
  max-width: 620px !important;
  width: 100% !important;
  z-index: 2 !important;
}

.path-frontpage .rh-title {
  font-size: clamp(3.1rem, 4.1vw, 4.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  max-width: 620px !important;
}

.path-frontpage .rh-subtitle {
  max-width: 560px !important;
}

.path-frontpage .rh-visual {
  position: relative !important;
  z-index: 1 !important;

  width: 100% !important;
  max-width: 320px !important;
  min-height: 220px !important;

  margin: 0 !important;
  padding: 34px 28px !important;

  background: linear-gradient(135deg, #041738, #0a2f73) !important;
  color: #fff !important;

  border-radius: 18px !important;
  box-shadow: 0 24px 60px rgba(4,23,56,.25) !important;
  transform: none !important;
}

.path-frontpage .rh-visual h2 {
  color: #fff !important;
  font-size: 1.9rem !important;
  line-height: 1.12 !important;
  margin: 0 0 12px 0 !important;
}

.path-frontpage .rh-visual p {
  color: #dce8ff !important;
  font-size: .95rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

@media (max-width: 980px) {
  .path-frontpage .rh-hero {
    grid-template-columns: 1fr !important;
    width: min(760px, calc(100vw - 40px)) !important;
    padding: 48px 32px !important;
  }

  .path-frontpage .rh-visual {
    max-width: 100% !important;
  }
}


/* ==========================================================
   RH EXACT HOME HERO MOCKUP FIX
========================================================== */

.path-frontpage main[role="main"],
.path-frontpage .main-content__container,
.path-frontpage .node--type-page {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.path-frontpage .rh-hero {
  width: 560px !important;
  max-width: calc(100vw - 48px) !important;
  min-height: 520px !important;
  margin: 64px auto 42px auto !important;
  padding: 56px 52px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(8,24,56,.08) !important;
}

.path-frontpage .rh-hero > div:first-child {
  width: 310px !important;
  max-width: 310px !important;
  text-align: left !important;
}

.path-frontpage .rh-kicker {
  font-size: .65rem !important;
  letter-spacing: .16em !important;
  color: #0057ff !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  margin-bottom: 10px !important;
}

.path-frontpage .rh-title {
  font-size: 2.65rem !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  margin: 0 0 18px 0 !important;
  max-width: 310px !important;
  color: #061735 !important;
  text-align: left !important;
}

.path-frontpage .rh-subtitle {
  max-width: 290px !important;
  font-size: .78rem !important;
  line-height: 1.55 !important;
  color: #34445c !important;
  text-align: left !important;
  margin: 0 0 18px 0 !important;
}

.path-frontpage .rh-actions {
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  margin-top: 12px !important;
}

.path-frontpage .rh-btn {
  padding: 9px 15px !important;
  font-size: .72rem !important;
  border-radius: 999px !important;
}

.path-frontpage .rh-visual {
  position: absolute !important;
  right: -46px !important;
  top: 150px !important;
  width: 210px !important;
  min-height: 150px !important;
  max-width: 210px !important;
  margin: 0 !important;
  padding: 26px 22px !important;
  background: linear-gradient(135deg, #041738, #0a2f73) !important;
  color: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 65px rgba(4,23,56,.30) !important;
  z-index: 3 !important;
}

.path-frontpage .rh-visual h2 {
  color: #fff !important;
  font-size: 1.55rem !important;
  line-height: 1.05 !important;
  margin: 0 0 10px 0 !important;
  text-align: center !important;
}

.path-frontpage .rh-visual p {
  color: #dce8ff !important;
  font-size: .68rem !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  text-align: center !important;
}

@media (max-width: 720px) {
  .path-frontpage .rh-hero {
    width: calc(100vw - 32px) !important;
    padding: 40px 28px !important;
  }

  .path-frontpage .rh-hero > div:first-child,
  .path-frontpage .rh-title,
  .path-frontpage .rh-subtitle {
    width: 100% !important;
    max-width: 100% !important;
  }

  .path-frontpage .rh-visual {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }
}


/* ==========================================================
   RH PRICING PAGE PROFESSIONAL DYNAMIC LAYOUT
========================================================== */

.path-pricing main[role="main"],
.path-pricing .main-content__container,
.path-pricing .node--type-page {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.rh-pricing-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

.rh-pricing-hero {
  max-width: 760px;
  margin: 0 auto 90px;
  padding: 58px 42px;
  background: #061735;
  color: #fff;
  border-radius: 0 0 24px 24px;
  text-align: center;
}

.rh-pricing-hero h1 {
  color: #fff !important;
  font-size: clamp(3rem, 5vw, 5.2rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 24px !important;
}

.rh-pricing-hero p {
  color: #9fb3d6;
  font-size: 1.2rem;
}

.rh-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.rh-price-card {
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 26px 70px rgba(8,24,56,.08);
}

.rh-price-card h2 {
  font-size: 2.35rem !important;
  line-height: 1.1 !important;
  margin: 0 0 26px !important;
  color: #061735 !important;
}

.rh-price {
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 900;
  color: #061735;
  margin-bottom: 24px;
}

.rh-price span {
  font-size: 1.15rem;
  font-weight: 700;
}

.rh-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.rh-price-card li {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 10px;
  color: #061735;
}

.rh-checkout-form {
  margin-top: 18px;
}

.rh-checkout-form input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #9fb0c4;
  border-radius: 0;
  font-size: 1rem;
  margin-bottom: -1px;
  box-sizing: border-box;
}

.rh-checkout-form button {
  margin-top: 14px;
  border: none;
  border-radius: 999px;
  background: #06437f;
  color: #fff;
  padding: 15px 28px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(6,67,127,.22);
  cursor: pointer;
}

.rh-checkout-message {
  margin-top: 12px;
  font-size: .9rem;
  color: #06437f;
  font-weight: 700;
}

@media (max-width: 960px) {
  .rh-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}


/* ==========================================================
   RH SITE-WIDE DYNAMIC UI SYSTEM
========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(0,87,255,.08), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(0,140,255,.07), transparent 28%),
    linear-gradient(180deg,#fff 0%,#f7fbff 100%) !important;
}

/* Dynamic banners */

.rh-dark,
.rh-pricing-hero,
.rh-hero {
  position: relative !important;
  overflow: hidden !important;
}

.rh-dark::before,
.rh-pricing-hero::before,
.rh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,87,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(0,87,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .32;
  pointer-events: none;
}

.rh-dark::after,
.rh-pricing-hero::after,
.rh-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(0,87,255,.22), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}

.rh-dark > *,
.rh-pricing-hero > *,
.rh-hero > * {
  position: relative;
  z-index: 2;
}

/* Header dynamics */

.site-header {
  transition: box-shadow .25s ease, background .25s ease, transform .25s ease;
}

.site-header.rh-scrolled {
  box-shadow: 0 12px 34px rgba(8,24,56,.10) !important;
  background: rgba(255,255,255,.98) !important;
}

/* Buttons */

.rh-btn,
.rh-checkout-form button,
button,
input[type="submit"],
a.button {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.rh-btn:hover,
.rh-checkout-form button:hover,
button:hover,
input[type="submit"]:hover,
a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,87,255,.22) !important;
}

.rh-btn:active,
.rh-checkout-form button:active,
button:active {
  transform: translateY(0);
}

/* Cards */

.rh-card,
.rh-panel,
.rh-price-card,
.service-card,
.docs-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.rh-card:hover,
.rh-panel:hover,
.rh-price-card:hover,
.service-card:hover,
.docs-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,87,255,.28) !important;
  box-shadow: 0 30px 80px rgba(8,24,56,.12) !important;
}

/* Reveal animation */

.rh-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.rh-reveal.rh-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active nav */

.primary-nav__menu-link.is-active,
.menu a.is-active,
.menu a:hover {
  color: #0057ff !important;
}

/* Pricing form interaction */

.rh-checkout-form input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #0057ff !important;
  box-shadow: 0 0 0 4px rgba(0,87,255,.10) !important;
}

/* Stats pulse */

.rh-stats {
  animation: rhSoftFloat 5s ease-in-out infinite;
}

@keyframes rhSoftFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Better page spacing */

.node--type-page {
  padding-bottom: 70px !important;
}

@media (max-width: 760px) {
  .rh-pricing-hero h1,
  .rh-title {
    font-size: 2.4rem !important;
  }

  .rh-card,
  .rh-panel,
  .rh-price-card {
    padding: 26px !important;
  }
}


/* ==========================================================
   RH RESPONSIVE CENTERING + CLEAN BANNERS
========================================================== */

/* General page spacing */
.rh-wrap {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 56px 24px !important;
  box-sizing: border-box !important;
}

/* Banner / hero consistency */
.rh-dark,
.rh-pricing-hero {
  max-width: 900px !important;
  margin: 44px auto 52px auto !important;
  padding: 54px 42px !important;
  border-radius: 24px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.rh-dark .rh-kicker,
.rh-dark h1,
.rh-dark h2,
.rh-dark p,
.rh-pricing-hero h1,
.rh-pricing-hero p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.rh-dark h1,
.rh-pricing-hero h1 {
  max-width: 760px !important;
  font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.rh-dark p,
.rh-pricing-hero p {
  max-width: 720px !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

/* CTA buttons centered */
.rh-actions {
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Cards centered and balanced */
.rh-grid-3,
.rh-grid-2,
.rh-pricing-grid {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  justify-items: center !important;
}

.rh-card,
.rh-panel,
.rh-price-card {
  text-align: center !important;
  box-sizing: border-box !important;
}

.rh-card h2,
.rh-panel h2,
.rh-price-card h2,
.rh-card p,
.rh-panel p,
.rh-price-card p,
.rh-card li,
.rh-panel li,
.rh-price-card li {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Icons centered */
.rh-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Forms centered */
.rh-checkout-form,
.rh-login-form {
  max-width: 440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .rh-wrap {
    max-width: 860px !important;
    padding: 44px 22px !important;
  }

  .rh-dark,
  .rh-pricing-hero {
    max-width: 760px !important;
    padding: 46px 32px !important;
    margin-top: 34px !important;
    margin-bottom: 42px !important;
  }

  .rh-grid-3,
  .rh-pricing-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    gap: 24px !important;
  }

  .rh-grid-2 {
    grid-template-columns: 1fr !important;
    max-width: 720px !important;
  }

  .rh-card,
  .rh-panel,
  .rh-price-card {
    padding: 30px 26px !important;
  }
}

/* Phone */
@media (max-width: 680px) {
  .main-content__container,
  main[role="main"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .rh-wrap {
    max-width: 100% !important;
    padding: 30px 16px !important;
  }

  .rh-dark,
  .rh-pricing-hero {
    max-width: 100% !important;
    margin: 24px auto 32px auto !important;
    padding: 36px 22px !important;
    border-radius: 20px !important;
  }

  .rh-dark h1,
  .rh-pricing-hero h1 {
    font-size: 2.35rem !important;
    line-height: 1.08 !important;
  }

  .rh-dark p,
  .rh-pricing-hero p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .rh-actions {
    flex-direction: column !important;
  }

  .rh-btn {
    width: 100% !important;
    max-width: 300px !important;
  }

  .rh-grid-3,
  .rh-grid-2,
  .rh-pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 20px !important;
  }

  .rh-card,
  .rh-panel,
  .rh-price-card {
    width: 100% !important;
    padding: 26px 20px !important;
    border-radius: 18px !important;
  }

  .rh-card h2,
  .rh-panel h2,
  .rh-price-card h2 {
    font-size: 1.65rem !important;
    line-height: 1.18 !important;
  }

  .rh-code,
  pre {
    text-align: left !important;
    font-size: .85rem !important;
    overflow-x: auto !important;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .rh-dark h1,
  .rh-pricing-hero h1 {
    font-size: 2rem !important;
  }

  .rh-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ==========================================================
   PORTAL LOGIN FIX
========================================================== */

.rh-login-form {
  max-width: 480px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.rh-login-form input {
  width: 100% !important;
  display: block !important;
}

.rh-login-form button {
  width: 220px !important;
  margin: 0 auto !important;
  display: block !important;
}

#rh-login-message,
#rh-reset-message {
  text-align: center !important;
  margin-top: 15px !important;
}


/* ==========================================================
   DOCS PAGE FIX
========================================================== */

.rh-grid-2,
.rh-grid-3 {
  align-items: stretch !important;
}

.rh-card,
.rh-panel {
  overflow: hidden !important;
  position: relative !important;
}

/* Stop cards from expanding outside grid */

.rh-card:hover,
.rh-panel:hover {
  transform: translateY(-4px) !important;
  scale: 1 !important;
}

/* Code blocks */

.rh-code,
pre {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  box-sizing: border-box !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* Prevent layout overflow */

.rh-card h2,
.rh-panel h2,
.rh-card p,
.rh-panel p,
.rh-card li,
.rh-panel li {
  overflow-wrap: break-word !important;
}


/* ==========================================================
   MOBILE OVERFLOW FIX
========================================================== */

html,
body {
  overflow-x: hidden !important;
}

.main-content,
.layout-content,
.region-content,
.rh-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {

  .rh-grid-2,
  .rh-grid-3,
  .rh-pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .rh-card,
  .rh-panel,
  .rh-price-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .rh-dark,
  .rh-pricing-hero {
    width: 100% !important;
    max-width: 100% !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }
}


/* ==========================================================
   RH PROFESSIONAL CONTACT FORM + LOGO POLISH
========================================================== */

.webform-submission-contact-ringed-horizon-form {
  max-width: 1100px !important;
  margin: 40px auto 80px !important;
  padding: 42px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(8,24,56,.10) !important;
}

.webform-submission-contact-ringed-horizon-form .form-item {
  margin-bottom: 22px !important;
}

.webform-submission-contact-ringed-horizon-form label {
  font-weight: 800 !important;
  color: #061735 !important;
  margin-bottom: 8px !important;
}

.webform-submission-contact-ringed-horizon-form input,
.webform-submission-contact-ringed-horizon-form select,
.webform-submission-contact-ringed-horizon-form textarea {
  width: 100% !important;
  border: 1px solid #c8d6e8 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-size: 1rem !important;
  background: #fff !important;
}

.webform-submission-contact-ringed-horizon-form input:focus,
.webform-submission-contact-ringed-horizon-form select:focus,
.webform-submission-contact-ringed-horizon-form textarea:focus {
  border-color: #0057ff !important;
  box-shadow: 0 0 0 4px rgba(0,87,255,.12) !important;
}

.webform-submission-contact-ringed-horizon-form .form-checkboxes,
.webform-submission-contact-ringed-horizon-form .form-radios {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px,1fr)) !important;
  gap: 12px 22px !important;
}

.webform-submission-contact-ringed-horizon-form .form-submit {
  width: 100% !important;
  max-width: 520px !important;
  margin: 28px auto 0 !important;
  display: block !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 17px 26px !important;
  background: linear-gradient(135deg,#0057ff,#06437f) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 42px rgba(0,87,255,.25) !important;
}

.webform-submission-contact-ringed-horizon-form .form-submit:hover {
  transform: translateY(-2px) !important;
}

.site-branding__logo img,
#block-ringedhorizon-theme-sitebranding-logo img {
  max-width: 145px !important;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.08)) !important;
}

@media (max-width: 760px) {
  .webform-submission-contact-ringed-horizon-form {
    padding: 26px 18px !important;
    margin: 24px 12px 60px !important;
  }

  .webform-submission-contact-ringed-horizon-form .form-checkboxes,
  .webform-submission-contact-ringed-horizon-form .form-radios {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================
   RH CONTACT FORM EXACT PROFESSIONAL POLISH
========================================================== */

.webform-submission-contact-ringed-horizon-form {
  max-width: 980px !important;
  margin: 42px auto 80px !important;
  padding: 42px 44px !important;
  background: #fff !important;
  border: 1px solid #d9e6f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(8,24,56,.10) !important;
}

.webform-submission-contact-ringed-horizon-form h2 {
  font-size: 2.2rem !important;
  color: #061735 !important;
  margin-bottom: 10px !important;
}

.webform-submission-contact-ringed-horizon-form .form-item {
  margin-bottom: 18px !important;
}

.webform-submission-contact-ringed-horizon-form label {
  font-weight: 800 !important;
  color: #061735 !important;
  margin-bottom: 7px !important;
}

.webform-submission-contact-ringed-horizon-form input:not([type="checkbox"]):not([type="radio"]),
.webform-submission-contact-ringed-horizon-form select,
.webform-submission-contact-ringed-horizon-form textarea {
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  padding: 13px 15px !important;
  border: 1px solid #c9d7e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #061735 !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
}

.webform-submission-contact-ringed-horizon-form textarea {
  min-height: 130px !important;
}

.webform-submission-contact-ringed-horizon-form input[type="checkbox"],
.webform-submission-contact-ringed-horizon-form input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
  accent-color: #0057ff !important;
  vertical-align: middle !important;
  box-shadow: none !important;
}

.webform-submission-contact-ringed-horizon-form .form-checkboxes,
.webform-submission-contact-ringed-horizon-form .form-radios {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
  gap: 14px 28px !important;
  margin: 12px 0 28px !important;
}

.webform-submission-contact-ringed-horizon-form .form-type-checkbox,
.webform-submission-contact-ringed-horizon-form .form-type-radio {
  display: flex !important;
  align-items: center !important;
  min-height: 28px !important;
  margin: 0 !important;
}

.webform-submission-contact-ringed-horizon-form .form-type-checkbox label,
.webform-submission-contact-ringed-horizon-form .form-type-radio label {
  margin: 0 !important;
  font-weight: 600 !important;
  color: #10213c !important;
}

.webform-submission-contact-ringed-horizon-form fieldset {
  border: 0 !important;
  border-top: 1px solid #d9e6f5 !important;
  padding: 28px 0 !important;
  margin: 0 !important;
}

.webform-submission-contact-ringed-horizon-form legend {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #061735 !important;
  padding: 0 !important;
}

.webform-submission-contact-ringed-horizon-form .form-submit {
  width: 100% !important;
  max-width: 680px !important;
  margin: 28px auto 0 !important;
  display: block !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 17px 26px !important;
  background: linear-gradient(135deg,#0057ff,#06437f) !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  box-shadow: 0 18px 42px rgba(0,87,255,.25) !important;
}

.webform-submission-contact-ringed-horizon-form .form-submit:hover {
  transform: translateY(-2px) !important;
}

@media (max-width: 760px) {
  .webform-submission-contact-ringed-horizon-form {
    padding: 26px 18px !important;
    margin: 24px 12px 60px !important;
  }

  .webform-submission-contact-ringed-horizon-form .form-checkboxes,
  .webform-submission-contact-ringed-horizon-form .form-radios {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   RH PROFESSIONAL FOOTER
========================================================== */

.site-footer {
  background: linear-gradient(135deg,#020b1c,#061b3d) !important;
  color: #dce8ff !important;
  margin-top: 80px !important;
}

.rh-footer-pro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 28px 30px;
}

.rh-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 42px;
}

.rh-footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.rh-footer-logo span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #0057ff;
  margin-right: 10px;
}

.rh-footer-pro h3 {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin-bottom: 18px !important;
}

.rh-footer-pro p,
.rh-footer-pro li {
  color: #dce8ff !important;
  line-height: 1.7 !important;
}

.rh-footer-pro ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rh-footer-pro a {
  color: #dce8ff !important;
  text-decoration: none !important;
}

.rh-footer-pro a:hover {
  color: #fff !important;
}

.rh-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.rh-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-weight: 900;
}

.rh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #dce8ff;
}

@media (max-width: 850px) {
  .rh-footer-grid {
    grid-template-columns: 1fr;
  }

  .rh-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


.rh-footer-logo img {
  max-width: 190px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 16px !important;
}


/* ==========================================================
   RH DOCS CODE BLOCK COPY + HORIZONTAL SCROLL
   Does not affect banners
========================================================== */

.path-docs .rh-card {
  overflow: visible !important;
}

.path-docs .rh-code,
.path-docs pre {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  box-sizing: border-box !important;
  padding: 52px 18px 18px !important;
  border-radius: 12px !important;
  background: #0b1224 !important;
  color: #fff !important;
  text-align: left !important;
  font-size: .9rem !important;
  line-height: 1.7 !important;
}

.path-docs .rh-code::-webkit-scrollbar,
.path-docs pre::-webkit-scrollbar {
  height: 9px;
}

.path-docs .rh-code::-webkit-scrollbar-thumb,
.path-docs pre::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 999px;
}

.rh-code-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

.rh-copy-code {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 5 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  padding: 7px 12px !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.rh-copy-code:hover {
  background: rgba(255,255,255,.20) !important;
}

@media (max-width: 680px) {
  .path-docs .rh-code,
  .path-docs pre {
    font-size: .78rem !important;
    padding: 50px 14px 16px !important;
  }
}


/* ==========================================================
   RH DOCS CODE COPY FINAL FIX
========================================================== */

.path-docs .rh-code-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

.path-docs .rh-code,
.path-docs pre {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  box-sizing: border-box !important;
  padding: 52px 18px 18px !important;
  border-radius: 12px !important;
  background: #0b1224 !important;
  color: #fff !important;
  text-align: left !important;
  font-size: .9rem !important;
  line-height: 1.7 !important;
}

.path-docs .rh-code::-webkit-scrollbar,
.path-docs pre::-webkit-scrollbar {
  height: 9px !important;
}

.path-docs .rh-code::-webkit-scrollbar-thumb,
.path-docs pre::-webkit-scrollbar-thumb {
  background: #64748b !important;
  border-radius: 999px !important;
}

.path-docs .rh-copy-code {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 5 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  padding: 7px 12px !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.path-docs .rh-copy-code:hover {
  background: rgba(255,255,255,.20) !important;
}

@media (max-width: 680px) {
  .path-docs .rh-code,
  .path-docs pre {
    font-size: .78rem !important;
    padding: 50px 14px 16px !important;
  }
}


/* FORCE DOCS CODE BLOCKS TO SCROLL + COPY LAYOUT */
body .rh-code-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

body .rh-card pre,
body .rh-card .rh-code,
body pre.rh-code {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-align: left !important;
  padding: 52px 18px 18px !important;
  box-sizing: border-box !important;
}

body .rh-copy-code {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 10 !important;
  background: #ffffff !important;
  color: #061735 !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body .rh-card {
  min-width: 0 !important;
}

/* ==========================================================
   RH DOCS PAGE
   Vertical layout with code scrolling
========================================================== */

.path-docs .rh-grid,
.path-docs .rh-grid-2,
.path-docs .rh-grid-3 {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.path-docs .rh-card {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  min-width: 0 !important;
}

.path-docs .rh-code-wrap {
  position: relative !important;
  width: 100% !important;
}

.path-docs pre,
.path-docs .rh-code {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-align: left !important;
  padding: 52px 18px 18px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  background: #081428 !important;
  color: #fff !important;
}

.path-docs pre::-webkit-scrollbar,
.path-docs .rh-code::-webkit-scrollbar {
  height: 10px;
}

.path-docs pre::-webkit-scrollbar-thumb,
.path-docs .rh-code::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 999px;
}

.path-docs .rh-copy-code {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: #ffffff !important;
  color: #081428 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {

  .path-docs .rh-grid,
  .path-docs .rh-grid-2,
  .path-docs .rh-grid-3 {
    max-width: calc(100vw - 24px) !important;
  }

  .path-docs .rh-card {
    max-width: calc(100vw - 24px) !important;
  }
}

/* ==========================================================
   FORCE DOCS STACKED LAYOUT
========================================================== */

.rh-docs-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.rh-docs-stack .rh-card {
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.rh-docs-stack .rh-code-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.rh-docs-stack pre,
.rh-docs-stack .rh-code {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: pre !important;
  text-align: left !important;
  padding: 52px 18px 18px !important;
  box-sizing: border-box !important;
}

.rh-docs-stack .rh-copy-code {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}

@media (max-width: 768px) {
  .rh-docs-stack,
  .rh-docs-stack .rh-card {
    max-width: calc(100vw - 28px) !important;
  }
}


/* FINAL PATCH FOR INTERRUPTED DOCS STACK CSS */
.rh-docs-stack .rh-copy-code {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: #ffffff !important;
  color: #081428 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {
  .rh-docs-stack,
  .rh-docs-stack .rh-card {
    max-width: calc(100vw - 28px) !important;
  }
}

/* ==========================================================
   PRICING PAGE CLEAN STACKED LAYOUT
========================================================== */

.rh-pricing-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.rh-price-card {
  width: 100% !important;
  max-width: 760px !important;
  min-height: auto !important;
  padding: 44px 52px !important;
  text-align: center !important;
}

.rh-checkout-form {
  max-width: 480px !important;
  margin: 28px auto 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.rh-checkout-form input {
  width: 100% !important;
  height: 58px !important;
  padding: 0 22px !important;
  border: 1px solid #8aa0b8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #061735 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.rh-checkout-form input::placeholder {
  color: #6f8194 !important;
  opacity: 1 !important;
}

.rh-checkout-form button {
  width: 100% !important;
  max-width: 300px !important;
  min-height: 64px !important;
  margin: 8px auto 0 !important;
  border-radius: 999px !important;
  background: #064985 !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
  border: none !important;
  box-shadow: 0 18px 40px rgba(6,73,133,.20) !important;
}

.rh-price-card ul {
  max-width: 420px !important;
  margin: 22px auto 20px !important;
  padding: 0 !important;
  list-style: none !important;
}

.rh-price-card li {
  text-align: center !important;
  margin-bottom: 12px !important;
}

@media (max-width: 760px) {
  .rh-pricing-grid {
    max-width: calc(100vw - 28px) !important;
  }

  .rh-price-card {
    padding: 34px 22px !important;
  }

  .rh-checkout-form {
    max-width: 100% !important;
  }
}


/* ==========================================================
   RH MODERN PRICING REDESIGN
========================================================== */

.rh-pricing-modern {
  max-width: 1160px !important;
  margin: 0 auto !important;
  padding: 40px 20px 90px !important;
}

.rh-modern-plan-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  margin: 52px auto 42px !important;
}

.rh-modern-plan-card {
  background: #fff !important;
  border: 1px solid #d8e5f5 !important;
  border-radius: 20px !important;
  padding: 34px 28px !important;
  text-align: center !important;
  box-shadow: 0 20px 55px rgba(8,24,56,.08) !important;
  cursor: pointer !important;
  color: #061735 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transition: .2s ease !important;
}

.rh-modern-plan-card:hover,
.rh-modern-plan-card.is-selected {
  border-color: #064985 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 70px rgba(6,73,133,.16) !important;
}

.rh-plan-name {
  font-size: 2rem !important;
  font-weight: 900 !important;
}

.rh-plan-price {
  color: #064985 !important;
  font-size: 2.6rem !important;
  font-weight: 900 !important;
}

.rh-plan-price small {
  font-size: 1rem !important;
  color: #4c5f77 !important;
}

.rh-modern-plan-card strong {
  margin-top: 16px !important;
  color: #064985 !important;
}

.rh-signup-panel,
.rh-enterprise-panel {
  max-width: 680px !important;
  margin: 34px auto !important;
  padding: 42px !important;
  background: #fff !important;
  border: 1px solid #d8e5f5 !important;
  border-radius: 20px !important;
  text-align: center !important;
  box-shadow: 0 20px 55px rgba(8,24,56,.08) !important;
}

.rh-signup-panel .rh-checkout-form {
  max-width: 480px !important;
  margin: 26px auto 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.rh-signup-panel .rh-checkout-form input {
  width: 100% !important;
  height: 58px !important;
  padding: 0 20px !important;
  border: 1px solid #8aa0b8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #061735 !important;
  font-size: 1.05rem !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.rh-selected-plan {
  padding: 14px !important;
  background: #f5f8fc !important;
  border-radius: 12px !important;
  color: #061735 !important;
}

.rh-signup-panel .rh-checkout-form button {
  width: 100% !important;
  max-width: 320px !important;
  min-height: 58px !important;
  margin: 8px auto 0 !important;
  border-radius: 999px !important;
  border: none !important;
  background: #064985 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 40px rgba(6,73,133,.20) !important;
}

@media (max-width: 900px) {
  .rh-modern-plan-grid {
    grid-template-columns: 1fr !important;
    max-width: 680px !important;
  }

  .rh-signup-panel,
  .rh-enterprise-panel {
    max-width: calc(100vw - 28px) !important;
    padding: 32px 22px !important;
  }
}

