/*
Theme Name: Rede do Bem
Theme URI: https://rededobem.org.br/
Author: Agencia do Bem
Description: Tema de blocos para o novo site da Rede do Bem, com layouts vibrantes, fotos reais e secoes editaveis no editor nativo do WordPress.
Version: 0.3.7
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rede-do-bem
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

body {
  overflow-x: hidden;
}

/* The full-width template must join header, page content and footer without
   WordPress' default block gap creating visible white strips. */
.page-template-page-full .wp-site-blocks {
  padding-top: 0;
  padding-bottom: 0;
}

.page-template-page-full .wp-site-blocks > *,
.page-template-page-full .wp-block-post-content > .rdb-content-page,
.page-template-page-full .wp-block-post-content > .rdb-editais-page {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.page-template-page-full .wp-block-post-content {
  margin-block: 0 !important;
  padding-block: 0 !important;
}

body:has(.rdb-home-shortcode) .wp-site-blocks > main,
body:has(.rdb-home-shortcode) .entry-content,
body:has(.rdb-home-shortcode) .wp-block-post-content,
.rdb-has-home-shortcode .wp-site-blocks > main,
.rdb-has-home-shortcode .entry-content,
.rdb-has-home-shortcode .wp-block-post-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.rdb-home-shortcode) .wp-block-post-title,
.rdb-has-home-shortcode .wp-block-post-title {
  display: none;
}

body:has(.rdb-home-shortcode) .wp-site-blocks > footer.wp-block-template-part,
.rdb-has-home-shortcode .wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
}

.rdb-site-header {
  position: relative;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(43, 131, 174, 0.16);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.rdb-header-inner {
  min-height: 78px;
}

.rdb-site-logo img {
  max-height: 58px;
  width: auto;
}

.rdb-nav a {
  font-weight: 750;
}

.rdb-page-section {
  padding-top: clamp(64px, 9vw, 118px);
  padding-bottom: clamp(64px, 9vw, 118px);
}

.rdb-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(650px, 82vh, 860px);
  display: grid;
  align-items: center;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(110deg, rgba(13, 49, 73, 0.92), rgba(27, 101, 138, 0.76)),
    var(--wp--preset--color--brand);
  color: #fff;
}

.rdb-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -26% 44%;
  height: 420px;
  border-radius: 999px 0 0 0;
  background: linear-gradient(135deg, rgba(88, 194, 231, 0.34), rgba(246, 196, 83, 0.18));
  transform: rotate(-8deg);
}

.rdb-hero-media {
  min-height: 460px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(2, 24, 38, 0.32);
}

.rdb-hero-media img,
.rdb-image-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(88, 194, 231, 0.16);
  color: var(--wp--preset--color--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rdb-hero .rdb-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.rdb-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(43, 131, 174, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(23, 50, 70, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.rdb-card:hover {
  border-color: rgba(43, 131, 174, 0.34);
  box-shadow: 0 28px 80px rgba(23, 50, 70, 0.15);
  transform: translateY(-7px);
}

.rdb-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaf7fc;
}

.rdb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.rdb-card:hover .rdb-card-media img {
  transform: scale(1.06);
}

.rdb-soft-band {
  background:
    radial-gradient(circle at top left, rgba(88, 194, 231, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.20), transparent 34%),
    #ffffff;
}

.rdb-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rdb-impact-item {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(23, 50, 70, 0.08);
}

.rdb-counter {
  display: block;
  color: var(--wp--preset--color--brand);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.rdb-feature-band {
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #173246, #2b83ae 70%, #58c2e7);
  color: #fff;
}

.rdb-feature-band a {
  color: #fff;
}

.rdb-filter-bar {
  padding: 18px;
  border: 1px solid rgba(43, 131, 174, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 50, 70, 0.08);
}

.rdb-filter-bar input,
.rdb-filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(43, 131, 174, 0.22);
  border-radius: 8px;
  padding: 0 0.85rem;
  color: var(--wp--preset--color--ink);
  background: #fff;
}

.rdb-shortcode-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: center;
}

.rdb-shortcode-filter-grid button {
  min-height: 46px;
  border: 0;
  cursor: pointer;
}

.rdb-shortcode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.rdb-card > a.rdb-card-media {
  display: block;
  color: inherit;
}

.rdb-card-body {
  padding: 24px;
}

.rdb-card-body h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.rdb-card-body p {
  margin-bottom: 0;
  color: var(--wp--preset--color--muted);
}

.rdb-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rdb-meta-item {
  padding: 18px;
  border-radius: 8px;
  background: #f2f9fc;
}

.rdb-meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--wp--preset--color--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rdb-button,
.wp-block-button__link {
  box-shadow: 0 14px 30px rgba(43, 131, 174, 0.23);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rdb-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(43, 131, 174, 0.29);
}

.rdb-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 620ms ease, transform 620ms ease;
}

.rdb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rdb-pop {
  animation: rdbPop 760ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes rdbPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .rdb-hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 72px;
    border-radius: 0 0 28px 28px;
  }

  .rdb-hero-media {
    min-height: 300px;
  }

  .rdb-impact-grid,
  .rdb-meta-grid,
  .rdb-shortcode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdb-shortcode-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rdb-header-inner {
    min-height: 68px;
  }

  .rdb-site-logo img {
    max-height: 46px;
  }

  .rdb-impact-grid,
  .rdb-meta-grid,
  .rdb-shortcode-grid,
  .rdb-shortcode-filter-grid {
    grid-template-columns: 1fr;
  }

  .rdb-page-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .rdb-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Editorial Home v2 */
.rdb-home-editorial {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #ffffff;
}

.rdb-home-shortcode {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.rdb-shortcode-container,
.rdb-shortcode-hero-inner {
  width: min(1320px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.rdb-shortcode-hero {
  min-height: clamp(640px, 88vh, 860px);
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.rdb-shortcode-hero-inner {
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(70px, 10vw, 130px);
}

.rdb-shortcode-hero .rdb-eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.rdb-shortcode-hero .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.rdb-two-col {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(32px, 6vw, 74px);
  align-items: start;
}

.rdb-home-shortcode .rdb-section-heading {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rdb-home-shortcode .rdb-numbers-band h2 {
  text-align: center;
}

.rdb-home-editorial .rdb-home-hero {
  position: relative;
  min-height: clamp(640px, 88vh, 860px);
}

.rdb-home-editorial .rdb-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 33, 54, 0.48));
}

.rdb-home-editorial .rdb-hero-content {
  position: relative;
  z-index: 2;
  margin-left: 0;
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(70px, 10vw, 130px);
}

.rdb-eyebrow {
  margin-bottom: 16px;
  color: var(--wp--preset--color--brand-light);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rdb-home-hero .rdb-eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.rdb-home-title {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 6.2rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.rdb-home-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.28rem;
  line-height: 1.48;
}

.rdb-home-hero .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.rdb-about-band {
  padding-top: clamp(56px, 7vw, 86px);
  padding-bottom: clamp(56px, 7vw, 86px);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(23, 50, 70, 0.98), rgba(43, 131, 174, 0.94)),
    var(--wp--preset--color--brand);
}

.rdb-about-band h2,
.rdb-about-band p {
  color: #ffffff;
}

.rdb-about-band .rdb-eyebrow {
  color: #9ee0f6;
}

.rdb-section {
  padding-top: clamp(72px, 9vw, 122px);
  padding-bottom: clamp(72px, 9vw, 122px);
}

.rdb-section-white {
  background: #ffffff;
}

.rdb-section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.rdb-section-heading h2,
.rdb-section h2 {
  font-size: 4.3rem;
  line-height: 0.98;
}

.rdb-initiative-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.rdb-initiative-grid > .wp-block-column {
  margin: 0;
}

.rdb-initiative-card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(43, 131, 174, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(23, 50, 70, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.rdb-initiative-card:hover {
  border-color: rgba(43, 131, 174, 0.36);
  box-shadow: 0 28px 78px rgba(23, 50, 70, 0.16);
  transform: translateY(-8px);
}

.rdb-initiative-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.08;
}

.rdb-initiative-card p {
  margin-bottom: 0;
  color: var(--wp--preset--color--muted);
  font-size: 0.98rem;
}

.rdb-initiative-icon {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf7fc;
}

.rdb-initiative-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdb-numbers-band {
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(9, 42, 66, 0.88), rgba(9, 42, 66, 0.88)),
    url("../images/hero-rede.jpg") center / cover fixed;
}

.rdb-numbers-band h2 {
  color: #ffffff;
}

.rdb-number-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.rdb-number-grid > .wp-block-column {
  margin: 0;
}

.rdb-number-card {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.rdb-number-card p {
  color: rgba(255, 255, 255, 0.9);
}

.rdb-number-card .rdb-counter {
  color: #ffffff;
  font-size: 4.5rem;
}

.rdb-money::before {
  content: "R$";
  margin-right: 0.08em;
}

.rdb-media-logos {
  gap: 18px;
  margin-top: 34px;
}

.rdb-media-logo,
.rdb-media-logos p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 74px;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid rgba(43, 131, 174, 0.16);
  border-radius: 8px;
  color: #26485c;
  background: #f5fbfd;
  font-size: 1.08rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 30px rgba(23, 50, 70, 0.05);
}

.rdb-media-logo img {
  display: block;
  width: auto;
  max-width: 142px;
  max-height: 46px;
  object-fit: contain;
}

.rdb-section-blue {
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(88, 194, 231, 0.28), transparent 30%),
    linear-gradient(135deg, #072b49, #0a4f7d 62%, #2b83ae);
}

.rdb-section-blue h2,
.rdb-section-blue p {
  color: #ffffff;
}

.rdb-org-carousel {
  overflow: hidden;
  margin-top: 32px;
}

.rdb-org-track {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 24px;
}

.rdb-org-track::-webkit-scrollbar {
  display: none;
}

.rdb-org-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  color: var(--wp--preset--color--ink);
  background: #ffffff;
  scroll-snap-align: start;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.rdb-org-card figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.rdb-org-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdb-org-card h3,
.rdb-org-card p {
  color: var(--wp--preset--color--ink);
}

.rdb-org-card h3 {
  margin: 22px 22px 8px;
}

.rdb-org-card p {
  margin: 0 22px 24px;
  color: var(--wp--preset--color--muted);
}

.rdb-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.rdb-carousel-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.rdb-carousel-dots button.is-active,
.rdb-carousel-dots button:hover {
  background: #ffffff;
}

@media (max-width: 1180px) {
  .rdb-initiative-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rdb-home-title {
    font-size: 5.2rem;
  }

  .rdb-initiative-grid,
  .rdb-number-grid {
    grid-template-columns: 1fr;
  }

  .rdb-two-col {
    grid-template-columns: 1fr;
  }

  .rdb-org-track {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .rdb-home-editorial .rdb-home-hero {
    min-height: 620px;
  }

  .rdb-home-title {
    font-size: 3.5rem;
  }

  .rdb-home-lead {
    font-size: 1.08rem;
  }

  .rdb-section-heading h2,
  .rdb-section h2 {
    font-size: 2.55rem;
  }

  .rdb-org-track {
    grid-auto-columns: 86%;
  }

  .rdb-media-logos p {
    min-width: 132px;
  }
}

/* Rede do Bem design refresh v3 */
:root {
  --rdb-ink: #102f43;
  --rdb-blue: #2b83ae;
  --rdb-cyan: #58c2e7;
  --rdb-deep: #062d49;
  --rdb-mist: #f3f9fc;
  --rdb-sky: #e8f7fc;
  --rdb-coral: #ff8a66;
  --rdb-line: rgba(23, 50, 70, 0.12);
}

body {
  color: var(--rdb-ink);
  background: #ffffff;
  font-family: "Manrope", Inter, Arial, Helvetica, sans-serif;
  font-feature-settings: "liga", "kern";
}

.rdb-site-header {
  position: relative;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(43, 131, 174, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(6, 45, 73, 0.06);
  backdrop-filter: blur(18px);
}

.rdb-header-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, auto) minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.rdb-brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.rdb-brand img,
.rdb-footer-brand img {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.rdb-static-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(22px, 2.2vw, 36px);
}

.rdb-static-nav a,
.rdb-footer-nav a,
.rdb-footer-contact a {
  color: var(--rdb-ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.rdb-static-nav a {
  position: relative;
  padding: 34px 0;
}

.rdb-static-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rdb-blue), var(--rdb-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.rdb-static-nav a:hover::after {
  transform: scaleX(1);
}

.rdb-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rdb-blue), var(--rdb-cyan));
  box-shadow: 0 16px 36px rgba(43, 131, 174, 0.26);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rdb-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(43, 131, 174, 0.34);
}

.rdb-shortcode-container,
.rdb-shortcode-hero-inner {
  width: min(1320px, calc(100% - 56px));
}

.rdb-shortcode-hero {
  min-height: clamp(760px, 92vh, 980px);
  background-position: center;
}

.rdb-shortcode-hero-inner {
  padding-top: clamp(120px, 15vw, 190px);
  padding-bottom: clamp(96px, 12vw, 170px);
}

.rdb-shortcode-hero .rdb-eyebrow {
  margin-bottom: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.rdb-home-title {
  max-width: 980px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 6.2rem;
  font-weight: 900;
  line-height: 0.9;
  text-wrap: balance;
}

.rdb-home-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.28rem;
  font-weight: 500;
}

.rdb-shortcode-hero .wp-block-button__link {
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.rdb-about-band {
  padding-top: clamp(92px, 11vw, 148px);
  padding-bottom: clamp(92px, 11vw, 148px);
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 194, 231, 0.18), transparent 34%),
    linear-gradient(135deg, #062d49 0%, #0f5d8b 62%, #2b83ae 100%);
}

.rdb-two-col {
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(46px, 7vw, 94px);
}

.rdb-two-col h2,
.rdb-section-heading h2,
.rdb-section h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

.rdb-two-col h2 {
  font-size: 4.75rem;
  line-height: 0.98;
}

.rdb-two-col > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
  line-height: 1.72;
}

.rdb-section {
  padding-top: clamp(96px, 12vw, 164px);
  padding-bottom: clamp(96px, 12vw, 164px);
}

.rdb-section-white {
  background:
    radial-gradient(circle at 8% 20%, rgba(88, 194, 231, 0.11), transparent 26%),
    #ffffff;
}

.rdb-section-heading {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.rdb-section-heading h2,
.rdb-section h2 {
  font-size: 4.3rem;
  font-weight: 900;
  line-height: 0.94;
}

.rdb-section-heading p:not(.rdb-eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--rdb-muted, #5b7281);
  font-size: 1.08rem;
  line-height: 1.7;
}

.rdb-eyebrow {
  color: var(--rdb-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.rdb-initiative-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.rdb-initiative-card {
  padding: 16px 16px 24px;
  border: 1px solid var(--rdb-line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(16, 47, 67, 0.08);
}

.rdb-initiative-icon {
  aspect-ratio: 1.12 / 1;
  border-radius: 8px;
}

.rdb-initiative-card h3 {
  margin: 22px 8px 12px;
  color: var(--rdb-ink);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.rdb-initiative-card p {
  margin-right: 8px;
  margin-left: 8px;
  color: #607889;
  font-size: 1rem;
  line-height: 1.64;
}

.rdb-numbers-band {
  padding-top: clamp(110px, 13vw, 180px);
  padding-bottom: clamp(110px, 13vw, 180px);
  background:
    linear-gradient(0deg, rgba(6, 45, 73, 0.88), rgba(6, 45, 73, 0.88)),
    url("../images/hero-rede.jpg") center / cover fixed;
}

.rdb-number-grid {
  gap: 32px;
}

.rdb-number-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.rdb-number-card .rdb-counter {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  white-space: nowrap;
}

.rdb-number-card p:last-child {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.5;
}

.rdb-media-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.rdb-media-logo,
.rdb-media-logos p {
  min-width: 0;
  min-height: 96px;
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--rdb-ink);
  box-shadow: 0 18px 48px rgba(16, 47, 67, 0.08);
}

.rdb-section-blue {
  background:
    radial-gradient(circle at 18% 16%, rgba(88, 194, 231, 0.22), transparent 28%),
    radial-gradient(circle at 78% 88%, rgba(255, 138, 102, 0.16), transparent 26%),
    linear-gradient(135deg, #062d49, #0b5b88 68%, #2b83ae);
}

.rdb-org-track {
  grid-auto-columns: calc((100% - 64px) / 3);
  gap: 32px;
  padding-bottom: 34px;
}

.rdb-org-card {
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.rdb-org-card figure {
  aspect-ratio: 1.35 / 1;
}

.rdb-org-card h3 {
  margin: 26px 26px 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.rdb-org-card p {
  margin: 0 26px 30px;
  font-size: 1rem;
  line-height: 1.55;
}

.rdb-site-footer {
  color: #ffffff;
  background: #082d47;
}

.rdb-footer-inner {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: clamp(42px, 8vw, 110px);
  padding: clamp(70px, 9vw, 112px) 0;
}

.rdb-footer-brand img {
  height: 54px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}

.rdb-footer-brand p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.75;
}

.rdb-footer-nav,
.rdb-footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rdb-footer-nav h2,
.rdb-footer-contact h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.25rem;
}

.rdb-footer-nav a,
.rdb-footer-contact a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
}

.rdb-footer-nav a:hover,
.rdb-footer-contact a:hover {
  color: #ffffff;
}

.rdb-footer-legal {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.rdb-footer-legal .rdb-cookie-preferences {
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
}

.rdb-footer-legal .rdb-cookie-preferences:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .rdb-header-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    padding: 16px 0;
  }

  .rdb-static-nav a {
    padding: 8px 0 12px;
  }

  .rdb-static-nav a::after {
    bottom: 4px;
  }

  .rdb-initiative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdb-media-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rdb-header-inner {
    width: min(100% - 28px, 1320px);
  }

  .rdb-brand img {
    height: 40px;
  }

  .rdb-static-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 2px;
  }

  .rdb-nav-cta {
    width: 100%;
  }

  .rdb-shortcode-container,
  .rdb-shortcode-hero-inner {
    width: min(100% - 28px, 1320px);
  }

  .rdb-shortcode-hero {
    min-height: 700px;
  }

  .rdb-home-title {
    font-size: 3.5rem;
  }

  .rdb-two-col,
  .rdb-initiative-grid,
  .rdb-number-grid,
  .rdb-media-logos,
  .rdb-footer-inner {
    grid-template-columns: 1fr;
  }

  .rdb-section,
  .rdb-about-band {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .rdb-org-track {
    grid-auto-columns: 86%;
    gap: 20px;
  }
}

/* Rede do Bem design refresh v4 */
:root {
  --rdb-v4-ink: #113246;
  --rdb-v4-blue: #247fa8;
  --rdb-v4-cyan: #55c4e8;
  --rdb-v4-deep: #07314e;
  --rdb-v4-soft: #f4fafc;
  --rdb-v4-yellow: #f6c453;
  --rdb-v4-coral: #ff8a66;
  --rdb-v4-green: #45ad77;
  --rdb-v4-border: rgba(17, 50, 70, 0.12);
}

body {
  color: var(--rdb-v4-ink);
  font-family: "Plus Jakarta Sans", Manrope, Inter, Arial, Helvetica, sans-serif;
}

.rdb-home-shortcode h1,
.rdb-home-shortcode h2,
.rdb-home-shortcode h3,
.rdb-site-header,
.rdb-site-footer {
  font-family: "Sora", "Plus Jakarta Sans", Manrope, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.rdb-has-home-shortcode .wp-site-blocks,
body:has(.rdb-home-shortcode) .wp-site-blocks {
  overflow: clip;
}

.rdb-has-home-shortcode .wp-site-blocks > main,
body:has(.rdb-home-shortcode) .wp-site-blocks > main {
  width: 100%;
}

.rdb-site-header {
  border-bottom: 1px solid rgba(17, 50, 70, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(7, 49, 78, 0.07);
}

.rdb-header-inner {
  min-height: 82px;
  gap: 30px;
}

.rdb-brand img,
.rdb-footer-brand img {
  height: 46px;
}

.rdb-static-nav {
  gap: 34px;
}

.rdb-static-nav a {
  padding: 31px 0;
  color: var(--rdb-v4-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.rdb-nav-cta {
  min-height: 44px;
  padding: 0 19px;
  background: linear-gradient(135deg, var(--rdb-v4-coral), var(--rdb-v4-yellow));
  color: #102f43;
  box-shadow: 0 14px 30px rgba(255, 138, 102, 0.26);
}

.rdb-home-shortcode {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbfd 42%, #ffffff 100%);
}

.rdb-shortcode-container,
.rdb-shortcode-hero-inner {
  width: min(1240px, calc(100% - 64px));
}

.rdb-shortcode-hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  overflow: hidden;
  background-position: center;
}

.rdb-shortcode-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(7, 49, 78, 0.88) 0%, rgba(7, 49, 78, 0.66) 46%, rgba(7, 49, 78, 0.18) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
}

.rdb-shortcode-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 118px;
  background: linear-gradient(90deg, var(--rdb-v4-cyan), var(--rdb-v4-green), var(--rdb-v4-yellow));
  clip-path: polygon(0 64%, 100% 24%, 100% 100%, 0% 100%);
  opacity: 0.9;
}

.rdb-shortcode-hero-inner {
  max-width: 980px;
  margin-left: max(32px, calc((100vw - 1240px) / 2));
  padding-top: 150px;
  padding-bottom: 150px;
}

.rdb-shortcode-hero .rdb-eyebrow,
.rdb-home-hero .rdb-eyebrow {
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rdb-home-title {
  max-width: 920px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 6.2rem;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.rdb-home-lead {
  max-width: 680px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.62;
}

.rdb-shortcode-hero .wp-block-buttons {
  gap: 14px;
}

.rdb-shortcode-hero .wp-block-button__link,
.rdb-button .wp-block-button__link {
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rdb-v4-cyan), var(--rdb-v4-blue));
  color: #ffffff;
  font-weight: 900;
}

.rdb-shortcode-hero .is-style-outline .wp-block-button__link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.10);
}

.rdb-about-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 128px;
  background:
    linear-gradient(100deg, rgba(7, 49, 78, 0.98) 0%, rgba(18, 101, 142, 0.97) 62%, rgba(36, 127, 168, 0.95) 100%),
    var(--rdb-v4-blue);
}

.rdb-about-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.58;
}

.rdb-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  pointer-events: none;
}

.rdb-about-band .rdb-shortcode-container {
  position: relative;
  z-index: 2;
}

.rdb-two-col {
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 86px;
  align-items: center;
}

.rdb-two-col h2 {
  max-width: 640px;
  margin: 0;
  color: #ffffff;
  font-size: 4.75rem;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.rdb-two-col > p {
  max-width: 690px;
  margin: 0;
  padding: 34px 0 34px 34px;
  border-left: 3px solid rgba(246, 196, 83, 0.82);
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.22rem;
  line-height: 1.78;
}

.rdb-about-band .rdb-eyebrow {
  margin-bottom: 24px;
  color: #b7efff;
  letter-spacing: 0.08em;
}

.rdb-section {
  padding-top: 124px;
  padding-bottom: 124px;
}

.rdb-section-white {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.rdb-section-heading {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 64px;
  margin-left: auto;
}

.rdb-section-heading h2,
.rdb-section h2 {
  margin-top: 0;
  color: var(--rdb-v4-ink);
  font-size: 4.3rem;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.rdb-section-heading p:not(.rdb-eyebrow) {
  color: #5d7585;
  font-size: 1.08rem;
}

.rdb-eyebrow {
  color: var(--rdb-v4-blue);
  letter-spacing: 0.08em;
}

.rdb-initiative-grid {
  counter-reset: rdb-initiative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.rdb-initiative-card {
  position: relative;
  counter-increment: rdb-initiative;
  min-height: 100%;
  padding: 14px 14px 24px;
  border: 1px solid var(--rdb-v4-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 50, 70, 0.08);
}

.rdb-initiative-card::before {
  content: "0" counter(rdb-initiative);
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rdb-v4-blue);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 50, 70, 0.14);
}

.rdb-initiative-card:hover {
  border-color: rgba(36, 127, 168, 0.28);
  box-shadow: 0 26px 58px rgba(17, 50, 70, 0.13);
}

.rdb-initiative-icon {
  aspect-ratio: 1.18 / 1;
  border-radius: 8px;
}

.rdb-initiative-icon img {
  transform: scale(1.01);
  transition: transform 420ms ease;
}

.rdb-initiative-card:hover .rdb-initiative-icon img {
  transform: scale(1.06);
}

.rdb-initiative-card h3 {
  margin: 22px 8px 12px;
  color: var(--rdb-v4-ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.rdb-initiative-card p {
  margin: 0 8px;
  color: #5e7482;
  font-size: 0.96rem;
  line-height: 1.62;
}

.rdb-numbers-band {
  position: relative;
  padding-top: 132px;
  padding-bottom: 132px;
  background:
    linear-gradient(90deg, rgba(7, 49, 78, 0.91), rgba(7, 49, 78, 0.76)),
    url("../images/hero-rede.jpg") center / cover;
}

.rdb-numbers-band h2 {
  margin-bottom: 52px;
  color: #ffffff;
  text-align: center;
}

.rdb-number-grid {
  gap: 24px;
  margin-top: 0;
}

.rdb-number-card {
  min-height: 250px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.rdb-number-card .rdb-counter {
  max-width: 100%;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  white-space: normal;
}

.rdb-number-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 700;
}

.rdb-media-logos {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.rdb-media-logo,
.rdb-media-logos p {
  min-height: 92px;
  border: 1px solid rgba(36, 127, 168, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 50, 70, 0.07);
}

.rdb-section-blue {
  background:
    linear-gradient(135deg, #07314e 0%, #0f6591 72%, #247fa8 100%);
}

.rdb-section-blue .rdb-section-heading {
  max-width: 760px;
}

.rdb-section-blue .rdb-section-heading h2 {
  color: #ffffff;
}

.rdb-section-blue .rdb-section-heading p {
  color: rgba(255, 255, 255, 0.84);
}

.rdb-org-carousel {
  margin-top: 8px;
}

.rdb-org-track {
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
}

.rdb-org-card {
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.20);
}

.rdb-org-card figure {
  aspect-ratio: 1.48 / 1;
}

.rdb-org-card h3 {
  margin: 24px 24px 8px;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.rdb-org-card p {
  margin: 0 24px 26px;
  color: #5d7484;
  font-size: 0.98rem;
}

.rdb-carousel-dots button {
  width: 10px;
  height: 10px;
}

.rdb-site-footer {
  background: #092f49;
}

.rdb-footer-inner {
  grid-template-columns: 1.35fr 0.65fr 0.8fr;
  padding-top: 84px;
  padding-bottom: 84px;
}

@media (max-width: 1180px) {
  .rdb-header-inner {
    grid-template-columns: auto 1fr;
    justify-items: stretch;
  }

  .rdb-brand {
    min-width: 0;
  }

  .rdb-static-nav {
    justify-content: flex-end;
    gap: 24px;
  }

  .rdb-nav-cta {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .rdb-home-title {
    font-size: 5.2rem;
  }

  .rdb-two-col {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .rdb-two-col h2,
  .rdb-section-heading h2,
  .rdb-section h2 {
    font-size: 3.45rem;
  }

  .rdb-initiative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdb-media-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rdb-number-card .rdb-counter {
    font-size: 3.55rem;
  }
}

@media (max-width: 760px) {
  .rdb-header-inner {
    width: min(100% - 28px, 1240px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .rdb-brand {
    justify-content: center;
  }

  .rdb-brand img,
  .rdb-footer-brand img {
    height: 40px;
  }

  .rdb-static-nav {
    justify-content: flex-start;
    gap: 22px;
  }

  .rdb-static-nav a {
    padding: 8px 0 12px;
    white-space: nowrap;
  }

  .rdb-nav-cta {
    width: 100%;
    max-width: 340px;
  }

  .rdb-shortcode-container,
  .rdb-shortcode-hero-inner {
    width: min(100% - 30px, 1240px);
  }

  .rdb-shortcode-hero {
    min-height: 690px;
  }

  .rdb-shortcode-hero-inner {
    margin-right: auto;
    margin-left: auto;
    padding-top: 118px;
    padding-bottom: 118px;
  }

  .rdb-home-title {
    font-size: 3.5rem;
    line-height: 1.02;
  }

  .rdb-home-lead {
    font-size: 1.08rem;
  }

  .rdb-about-band,
  .rdb-section,
  .rdb-numbers-band {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .rdb-two-col h2,
  .rdb-section-heading h2,
  .rdb-section h2 {
    font-size: 2.55rem;
    line-height: 1.08;
  }

  .rdb-two-col > p {
    padding: 22px 0 0;
    border-top: 3px solid rgba(246, 196, 83, 0.82);
    border-left: 0;
    font-size: 1.05rem;
  }

  .rdb-initiative-grid,
  .rdb-number-grid,
  .rdb-media-logos,
  .rdb-footer-inner {
    grid-template-columns: 1fr;
  }

  .rdb-number-card {
    min-height: 210px;
  }

  .rdb-number-card .rdb-counter {
    font-size: 3.25rem;
  }

  .rdb-org-track {
    grid-auto-columns: 88%;
    gap: 18px;
  }
}

@media (max-width: 430px) {
  .rdb-home-title {
    font-size: 3rem;
  }

  .rdb-number-card .rdb-counter {
    font-size: 2.75rem;
  }
}

/* Rede do Bem Paper Home v2 */
.rdb-paper-home {
  --rdb-paper-ink: #172b36;
  --rdb-paper-blue: #0b6f91;
  --rdb-paper-cyan: #45b9de;
  --rdb-paper-red: #d8292f;
  --rdb-paper-yellow: #f4b73f;
  --rdb-paper-green: #4e9f3d;
  --rdb-paper-mist: #f7fafc;
  --rdb-paper-line: rgba(23, 43, 54, 0.12);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--rdb-paper-ink);
  font-family: "Plus Jakarta Sans", Manrope, Inter, Arial, Helvetica, sans-serif;
}

.rdb-paper-home *,
.rdb-paper-home *::before,
.rdb-paper-home *::after {
  box-sizing: border-box;
}

.rdb-paper-home .rdb-shortcode-container {
  width: min(1296px, calc(100% - 48px));
}

.rdb-paper-section {
  position: relative;
  isolation: isolate;
  padding: clamp(82px, 8vw, 112px) 0;
  overflow: hidden;
  background-repeat: no-repeat;
}

.rdb-paper-home .rdb-eyebrow {
  margin: 0 0 20px;
  color: var(--rdb-paper-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.rdb-paper-home h1,
.rdb-paper-home h2,
.rdb-paper-home h3,
.rdb-paper-home p {
  margin-top: 0;
}

.rdb-paper-home h2 {
  margin-bottom: 22px;
  color: var(--rdb-paper-ink);
  font-family: "Sora", "Plus Jakarta Sans", Manrope, Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.rdb-paper-home p {
  color: #526873;
  font-size: 1.1rem;
  line-height: 1.72;
}

.rdb-paper-hero {
  min-height: clamp(720px, 84vh, 900px);
  display: grid;
  align-items: center;
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(74px, 8vw, 118px);
}

.rdb-paper-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1fr);
  gap: clamp(42px, 6vw, 72px);
  align-items: center;
}

.rdb-paper-home .rdb-home-title {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--rdb-paper-ink);
  font-family: "Sora", "Plus Jakarta Sans", Manrope, Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.rdb-paper-home .rdb-home-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #526873;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.66;
}

.rdb-paper-actions,
.rdb-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Keep the removed legacy Home CTA hidden if an older cached render is served. */
.rdb-paper-hero .rdb-paper-button[href$="#iniciativas"] {
  display: none !important;
}

.rdb-paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  background: var(--rdb-paper-blue);
  box-shadow: 0 18px 38px rgba(11, 111, 145, 0.22);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rdb-paper-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(11, 111, 145, 0.3);
}

.rdb-paper-button.is-secondary {
  color: var(--rdb-paper-blue);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(11, 111, 145, 0.18);
  box-shadow: none;
}

.rdb-paper-button.is-light {
  color: var(--rdb-paper-ink);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.rdb-paper-button.is-red {
  color: #ffffff;
  background: var(--rdb-paper-red);
  box-shadow: 0 18px 38px rgba(216, 41, 47, 0.26);
}

.rdb-hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 610px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 43, 54, 0.14);
}

.rdb-hero-stat strong,
.rdb-hero-stat span {
  display: block;
}

.rdb-hero-stat strong {
  color: var(--rdb-paper-ink);
  font-family: "Sora", "Plus Jakarta Sans", Manrope, Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
}

.rdb-hero-stat span {
  margin-top: 8px;
  color: #526873;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.rdb-paper-map-card {
  position: relative;
  min-height: 570px;
  border-radius: 8px;
  background: rgba(232, 246, 251, 0.9);
  box-shadow: 0 28px 82px rgba(23, 43, 54, 0.16);
}

.rdb-map-shape {
  position: absolute;
  inset: 96px 76px 92px;
  background: linear-gradient(135deg, #0b86ac, #0b6f91 58%, #084b64);
  clip-path: polygon(8% 26%, 30% 14%, 50% 26%, 64% 16%, 92% 30%, 83% 76%, 56% 83%, 36% 74%, 20% 88%, 6% 68%);
}

.rdb-map-shape::before,
.rdb-map-shape::after {
  content: "";
  position: absolute;
  inset: 22% 12%;
  border-top: 4px solid rgba(255, 255, 255, 0.22);
  border-bottom: 4px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-9deg);
}

.rdb-map-pin {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 7px solid #ffffff;
  border-radius: 999px 999px 999px 0;
  background: var(--rdb-paper-red);
  box-shadow: 0 13px 28px rgba(23, 43, 54, 0.24);
  transform: rotate(-45deg);
}

.rdb-map-pin::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
}

.rdb-map-pin.pin-1 { top: 18%; left: 24%; }
.rdb-map-pin.pin-2 { top: 34%; left: 48%; }
.rdb-map-pin.pin-3 { top: 27%; right: 20%; }
.rdb-map-pin.pin-4 { bottom: 18%; left: 34%; }

.rdb-ods-note,
.rdb-map-caption {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 43, 54, 0.18);
}

.rdb-ods-note {
  width: 118px;
  min-height: 94px;
  padding: 16px;
  color: #ffffff;
  transform: rotate(4deg);
}

.rdb-ods-note strong,
.rdb-ods-note span {
  display: block;
}

.rdb-ods-note strong {
  font-size: 1.35rem;
  font-weight: 900;
}

.rdb-ods-note span {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.rdb-ods-note.is-red {
  top: 48px;
  left: 72px;
  background: var(--rdb-paper-red);
}

.rdb-ods-note.is-yellow {
  top: 90px;
  right: 64px;
  color: var(--rdb-paper-ink);
  background: var(--rdb-paper-yellow);
}

.rdb-ods-note.is-green {
  bottom: 72px;
  left: 84px;
  background: var(--rdb-paper-green);
  transform: rotate(-6deg);
}

.rdb-map-caption {
  right: 98px;
  bottom: 44px;
  max-width: 430px;
  padding: 20px 24px 20px 56px;
  color: var(--rdb-paper-ink);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.45;
}

.rdb-map-caption::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 20px;
  width: 12px;
  height: 48px;
  border-radius: 999px;
  background: var(--rdb-paper-green);
}

.rdb-about-v2 {
  padding: clamp(88px, 8vw, 116px) 0;
}

.rdb-about-v2-grid,
.rdb-initiatives-v2-grid,
.rdb-forums-v2-grid,
.rdb-media-v2-grid,
.rdb-ods-v2-grid,
.rdb-final-cta-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: start;
}

.rdb-about-v2 h2,
.rdb-initiatives-v2 h2,
.rdb-microgrants-v2 h2,
.rdb-numbers-v2 h2,
.rdb-orgs-v2 h2,
.rdb-final-cta-v2 h2 {
  color: #ffffff;
}

.rdb-initiatives-v2 h2 {
  color: var(--rdb-initiatives-title, #ffffff);
}

.rdb-about-v2 .rdb-eyebrow,
.rdb-initiatives-v2 .rdb-eyebrow,
.rdb-microgrants-v2 .rdb-eyebrow,
.rdb-numbers-v2 .rdb-eyebrow,
.rdb-orgs-v2 .rdb-eyebrow,
.rdb-final-cta-v2 .rdb-eyebrow {
  color: #bdeafa;
}

.rdb-initiatives-v2 .rdb-eyebrow {
  color: var(--rdb-initiatives-text, #bdeafa);
}

.rdb-about-v2-copy {
  padding-top: 6px;
}

.rdb-about-v2-copy > p,
.rdb-initiatives-v2 .rdb-section-intro > p,
.rdb-microgrants-v2 p,
.rdb-numbers-v2 p,
.rdb-orgs-v2 p,
.rdb-final-cta-v2 p {
  color: rgba(255, 255, 255, 0.86);
}

.rdb-initiatives-v2 .rdb-section-intro > p {
  color: var(--rdb-initiatives-text, rgba(255, 255, 255, 0.86));
}

.rdb-about-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.rdb-about-feature-row strong,
.rdb-about-feature-row span {
  display: block;
}

.rdb-about-feature-row strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.rdb-about-feature-row span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rdb-initiatives-v2 {
  background: var(--rdb-initiatives-bg, var(--rdb-paper-blue));
}

.rdb-initiative-list-v2 {
  display: grid;
  gap: 0;
  padding-top: 8px;
}

.rdb-initiative-row-v2 {
  display: grid;
  grid-template-columns: 56px minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--rdb-initiatives-line, rgba(255, 255, 255, 0.18));
  color: var(--rdb-initiatives-title, #ffffff);
  text-decoration: none;
}

.rdb-initiative-row-v2:last-child {
  border-bottom: 1px solid var(--rdb-initiatives-line, rgba(255, 255, 255, 0.18));
}

.rdb-initiative-row-v2 span {
  color: var(--rdb-initiatives-number, var(--rdb-paper-red));
  font-weight: 900;
}

.rdb-initiative-row-v2 strong {
  color: var(--rdb-initiatives-title, #ffffff);
  font-size: 1.02rem;
  font-weight: 900;
}

.rdb-initiative-row-v2 em {
  color: var(--rdb-initiatives-text, rgba(255, 255, 255, 0.74));
  font-style: normal;
  line-height: 1.5;
}

.rdb-forums-v2 {
  background-color: #ffffff;
}

.rdb-forums-v2-grid {
  grid-template-columns: minmax(320px, 470px) minmax(0, 1fr);
}

.rdb-forums-v2 .rdb-section-intro p:not(.rdb-eyebrow) {
  margin-bottom: 26px;
}

.rdb-forum-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rdb-forum-feature-card {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid #dde8ee;
  border-radius: 8px;
  color: var(--rdb-paper-ink);
  background: rgba(247, 250, 252, 0.92);
  text-decoration: none;
}

.rdb-forum-feature-card.is-primary {
  color: #ffffff;
  background: var(--rdb-paper-blue);
  border-color: transparent;
}

.rdb-forum-feature-card.is-dark {
  justify-content: space-between;
  color: #ffffff;
  background: var(--rdb-paper-ink);
  border-color: transparent;
}

.rdb-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rdb-paper-red);
  font-size: 1.2rem;
  font-weight: 900;
}

.rdb-forum-feature-card:nth-child(2) .rdb-feature-icon {
  color: var(--rdb-paper-ink);
  background: var(--rdb-paper-yellow);
}

.rdb-forum-feature-card:nth-child(3) .rdb-feature-icon {
  background: var(--rdb-paper-green);
}

.rdb-forum-feature-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.22;
}

.rdb-forum-feature-card p {
  margin: 0;
  color: #526873;
}

.rdb-forum-feature-card.is-primary p,
.rdb-forum-feature-card.is-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.rdb-card-eyebrow {
  color: var(--rdb-paper-cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rdb-microgrants-v2 {
  background-color: var(--rdb-paper-blue);
}

.rdb-microgrants-v2-head,
.rdb-numbers-v2-head,
.rdb-orgs-v2-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: start;
  margin-bottom: 54px;
}

.rdb-microgrants-v2-head .rdb-paper-button {
  margin-top: 20px;
}

.rdb-microgrant-card-grid,
.rdb-number-grid-v2,
.rdb-org-card-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.rdb-microgrant-card {
  min-height: 248px;
  padding: 26px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.10);
}

.rdb-microgrant-card.is-dark {
  color: #ffffff;
  background: var(--rdb-paper-ink);
}

.rdb-microgrant-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rdb-paper-red);
  font-weight: 900;
}

.rdb-microgrant-card:nth-child(2) span {
  color: var(--rdb-paper-ink);
  background: var(--rdb-paper-yellow);
}

.rdb-microgrant-card:nth-child(3) span {
  background: var(--rdb-paper-green);
}

.rdb-microgrant-card:nth-child(4) span {
  color: var(--rdb-paper-ink);
  background: var(--rdb-paper-cyan);
}

.rdb-microgrant-card h3 {
  margin: 24px 0 14px;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1.2;
}

.rdb-microgrant-card p {
  color: #526873;
  font-size: 0.98rem;
}

.rdb-microgrant-card.is-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.rdb-numbers-v2 {
  background-color: var(--rdb-paper-ink);
}

.rdb-number-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rdb-number-card-v2 {
  min-height: 226px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.rdb-number-card-v2 .rdb-counter {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--rdb-paper-ink);
  font-size: clamp(3.1rem, 5vw, 4.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

.rdb-number-card-v2 h3 {
  margin: 0 0 10px;
  color: var(--rdb-paper-ink);
  font-size: 1.28rem;
}

.rdb-number-card-v2 p:last-child {
  margin: 0;
  color: rgba(23, 43, 54, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.rdb-number-card-v2:nth-child(3) .rdb-counter,
.rdb-number-card-v2:nth-child(3) h3,
.rdb-number-card-v2:nth-child(3) p:last-child {
  color: #ffffff;
}

.rdb-media-v2 {
  background: #ffffff;
}

.rdb-media-v2-grid {
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  align-items: center;
}

.rdb-media-logos-v2 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rdb-media-logo-v2 {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--rdb-paper-line);
  border-radius: 8px;
  color: var(--rdb-paper-ink);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 43, 54, 0.06);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.rdb-media-logo-v2 img {
  width: auto;
  max-width: 120px;
  max-height: 42px;
  object-fit: contain;
}

.rdb-orgs-v2 {
  background-color: var(--rdb-paper-blue);
}

.rdb-org-card-grid-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rdb-org-card-v2,
.rdb-org-directory-card {
  min-height: 302px;
  padding: 28px;
  border-radius: 8px;
}

.rdb-org-card-v2 {
  background: #ffffff;
}

.rdb-org-card-v2 figure {
  height: 94px;
  margin: -28px -28px 22px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.rdb-org-card-v2 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdb-org-card-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--rdb-paper-blue) 0 4px, transparent 5px),
    #eef9fc;
}

.rdb-org-card-v2 p {
  margin-bottom: 14px;
  color: var(--rdb-paper-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.rdb-org-card-v2 h3 {
  margin: 0 0 12px;
  color: var(--rdb-paper-ink);
  font-size: 1.55rem;
  line-height: 1.14;
}

.rdb-org-card-v2 div {
  color: #526873;
  line-height: 1.6;
}

.rdb-org-directory-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background: rgba(6, 92, 125, 0.5);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rdb-org-directory-card span {
  color: #d7eaf0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rdb-org-directory-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1.15;
}

.rdb-org-directory-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--rdb-paper-blue);
  background: #ffffff;
  font-style: normal;
  font-weight: 900;
}

.rdb-ods-v2 {
  background: #ffffff;
}

.rdb-ods-v2-grid {
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.7fr);
  align-items: center;
}

.rdb-ods-card-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rdb-ods-card-stack article {
  min-height: 132px;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 43, 54, 0.12);
}

.rdb-ods-card-stack strong,
.rdb-ods-card-stack span,
.rdb-ods-card-stack em {
  display: block;
}

.rdb-ods-card-stack strong {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 900;
}

.rdb-ods-card-stack span {
  font-weight: 900;
  line-height: 1.25;
}

.rdb-ods-card-stack em {
  margin-top: 10px;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.42;
  opacity: 0.86;
}

.rdb-ods-card-stack article:nth-child(2) {
  color: var(--rdb-paper-ink);
}

.rdb-final-cta-v2 {
  color: #ffffff;
  background: var(--rdb-paper-blue);
}

.rdb-final-cta-v2-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.rdb-final-cta-v2 h2 {
  max-width: 820px;
  margin-bottom: 18px;
}

.rdb-final-cta-v2 p:not(.rdb-eyebrow) {
  max-width: 680px;
}

.rdb-final-actions {
  justify-content: flex-end;
  min-width: 320px;
}

.rdb-static-nav .rdb-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rdb-static-nav .rdb-nav-parent {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.rdb-nav-menu {
  position: absolute;
  top: calc(100% - 18px);
  left: 50%;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(17, 50, 70, 0.10);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(7, 49, 78, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.rdb-nav-dropdown:hover .rdb-nav-menu,
.rdb-nav-dropdown:focus-within .rdb-nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.rdb-static-nav .rdb-nav-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--rdb-v4-ink);
  white-space: nowrap;
}

.rdb-static-nav .rdb-nav-menu a:hover {
  background: #f1f8fb;
}

.rdb-static-nav .rdb-nav-menu a::after {
  display: none;
}

@media (max-width: 1180px) {
  .rdb-paper-hero-grid,
  .rdb-about-v2-grid,
  .rdb-initiatives-v2-grid,
  .rdb-forums-v2-grid,
  .rdb-media-v2-grid,
  .rdb-ods-v2-grid,
  .rdb-final-cta-v2-grid,
  .rdb-microgrants-v2-head,
  .rdb-numbers-v2-head,
  .rdb-orgs-v2-head {
    grid-template-columns: 1fr;
  }

  .rdb-paper-map-card {
    min-height: 500px;
  }

  .rdb-microgrant-card-grid,
  .rdb-org-card-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdb-media-logos-v2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rdb-final-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .rdb-paper-home .rdb-shortcode-container {
    width: min(100% - 30px, 1296px);
  }

  .rdb-paper-section {
    padding: 72px 0;
  }

  .rdb-paper-hero {
    min-height: auto;
  }

  .rdb-paper-home .rdb-home-title {
    font-size: clamp(2.7rem, 12vw, 3.45rem);
  }

  .rdb-paper-map-card {
    min-height: 390px;
  }

  .rdb-map-shape {
    inset: 92px 30px 68px;
  }

  .rdb-ods-note {
    width: 86px;
    min-height: 74px;
    padding: 10px;
  }

  .rdb-ods-note span {
    font-size: 0.66rem;
  }

  .rdb-ods-note.is-red {
    top: 34px;
    left: 28px;
  }

  .rdb-ods-note.is-yellow {
    top: 56px;
    right: 22px;
  }

  .rdb-ods-note.is-green {
    bottom: 48px;
    left: 34px;
  }

  .rdb-map-caption {
    right: 20px;
    bottom: 18px;
    left: 20px;
    padding: 15px 16px 15px 42px;
    font-size: 0.86rem;
  }

  .rdb-map-caption::before {
    left: 18px;
    top: 16px;
    height: 38px;
  }

  .rdb-hero-stat-row,
  .rdb-about-feature-row,
  .rdb-forum-feature-grid,
  .rdb-microgrant-card-grid,
  .rdb-number-grid-v2,
  .rdb-media-logos-v2,
  .rdb-org-card-grid-v2,
  .rdb-ods-card-stack {
    grid-template-columns: 1fr;
  }

  .rdb-initiative-row-v2 {
    grid-template-columns: 44px 1fr;
  }

  .rdb-initiative-row-v2 em {
    grid-column: 2;
  }

  .rdb-paper-actions,
  .rdb-final-actions {
    align-items: stretch;
  }

  .rdb-paper-button {
    width: 100%;
  }

  .rdb-nav-menu {
    top: 100%;
    left: 0;
    transform: translate(0, 8px);
  }

  .rdb-nav-dropdown:hover .rdb-nav-menu,
  .rdb-nav-dropdown:focus-within .rdb-nav-menu {
    transform: translate(0, 0);
  }
}

@media (max-width: 430px) {
  .rdb-paper-map-card {
    min-height: 340px;
  }

  .rdb-map-pin {
    width: 42px;
    height: 42px;
    border-width: 5px;
  }

  .rdb-map-pin::after {
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
  }
}


.rdb-brand-text{color:#0b6f91;font-family:'Sora','Plus Jakarta Sans',Arial,sans-serif;font-size:1.15rem;font-weight:900;letter-spacing:0;text-decoration:none}.rdb-footer-brand .rdb-brand-text{display:inline-block;margin-bottom:24px;color:#fff;font-size:1.35rem}

.rdb-paper-home .rdb-reveal {
  opacity: 1 !important;
  transform: none !important;
}

