/* =================================================================== */
/* CSS CUSTOM PROPERTIES (VARIABLES) */
/* =================================================================== */
:root {
  --text-color: #333333;
  --bg-white: #ffffff;
  --gray: #b2b2b2;
  --lighter-gray: #f5f5f5;
  --light-grey: #e5e5e5;
  --green: #62bb46;
  --primary-color: #004a8f;
  --primary-color-30: rgba(0, 74, 143, 0.3);
  --primary-color-60: rgba(0, 74, 143, 0.6);
  --light-blue: #0077c0;
  --light-blue-20: rgba(0, 119, 192, 0.2);
  --orange: rgba(192, 92, 41, 1);
  --light-orange: rgba(205, 134, 39, 1);
  --light-orange-20: rgba(205, 134, 39, 0.2);
  --black: #1a1a1a;
  --dark-gray: #666666;
  --tag-container: rgba(109, 151, 149, 0.2);
  --tag-color: rgba(109, 151, 149, 1);
}

/* =================================================================== */
/* CSS RESET AND BASE STYLES */
/* =================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  color: var(--text-color);
  line-height: 22px;
  background-color: var(--bg-white);
}
body:has(.page--header.fixed) {
  padding-top: 127px;
}
input,
select,
textarea,
button {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none;
  transition: 0.4s;
}
a:hover,
a:active,
a:focus {
  text-decoration: none;
}

/* =================================================================== */
/* UTILITY CLASSES AND HELPERS */
/* =================================================================== */
.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  margin: 0 auto;
  padding: 0 84px;
  width: 100%;
  max-width: 1440px;
}

.container-form {
  margin: 0 auto;
  padding: 0 84px;
  width: 100%;
  max-width: 900px;
}

@media (max-width: 768px) {
  body,
  input,
  select,
  textarea,
  button {
    font-size: 14px;
  }
  body:has(.page--header.fixed) {
    padding-top: 96px;
  }
  .container {
    padding: 0 16px;
  }
  .container-form {
    padding: 0 16px;
  }
}

.white-bg {
  background: var(--bg-white);
  width: 100%;
}
.primary-bg {
  background: var(--primary-color);
  width: 100%;
}

.badge-primary,
.badge-series,
.badge-formato {
  background-color: var(--light-blue-20);
  color: var(--primary-color);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.badge-formato {
  background-color: var(--light-orange-20);
  color: var(--orange);
  display: flex;
  align-items: center;
}

.badge-series {
  background-color: white;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}

.badge-formato img,
.badge-formato svg,
.badge-primary img,
.badge-primary svg {
  margin-right: 5px;
  fill: var(--orange);
}

.badge-primary.small,
.badge-formato.small,
.badge-series.small {
  font-size: 10px;
  line-height: 16px;
  padding: 4px 5px;
}

.badge-primary.small svg,
.badge-formato.small svg {
  width: 14px;
  height: 14px;
}

.badge-primary:hover {
  background-color: var(--primary-color);
  color: white;
}
.badge-formato.no-hover:hover {
  background-color: var(--light-orange-20);
  color: var(--orange);
}

.badge-formato.no-hover:hover svg {
  fill: var(--orange);
}

.badge-series.no-hover:hover {
  background-color: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.badge-primary.no-hover:hover {
  background-color: var(--light-blue-20);
  color: var(--primary-color);
}

.badge-formato:hover {
  background-color: var(--orange);
  color: white;
}

.badge-formato:hover svg {
  fill: white;
}

.badge-series:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn {
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50px;
  padding: 16px 60px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Fira Sans', sans-serif;
  align-items: center;
  gap: 8px;
  width: 300px;
  text-align: center;
  border: 2px solid var(--primary-color);
}

.btn.inverted {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

.btn:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

.btn.inverted:hover {
  color: var(--bg-white);
  background-color: var(--primary-color);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  margin-bottom: -3px;
}

.ver-mais-btn {
  width: 350px;
  display: inline-block;
}

.ver-mais-btn:hover svg {
  transform: translateX(5px);
}

/* =================================================================== */
/* BNDES GOVERNMENT BAR STYLES */
/* =================================================================== */
.bndes--bar {
  background: white;
  backdrop-filter: blur(4px);
}
.bndes--bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.bndes--logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.bndes--logo img {
  display: block;
  width: 88px;
  height: 18px;
  object-fit: contain;
}
.bndes--bar-content-left {
  display: inline-flex;
  gap: 20px;
}
.gov--logo img {
  display: block;
  width: 55px;
  height: 20px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .gov--logo,
  .contrast-btn,
  .font-btn {
    display: none;
  }
}
.accessibility {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-color);
}
.accessibility a {
  color: var(--text-color);
}
.accessibility button {
  cursor: pointer;
  color: var(--text-color);
  font-size: 14px;
  background: none;
  border: none;
}
.bndes--bar .languages {
  border-radius: 20px;
  background: var(--lighter-gray);
  box-sizing: border-box;
  height: 20px;
  margin-top: 5px;
  border: 2px solid var(--light-grey);
}

.bndes--bar .language-btn {
  padding: 0 4px;
  color: var(--text-color);
  font-weight: 400;
  margin-top: -4px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  width: 30px;
  font-size: 10px;
}

.bndes--bar .language-btn:nth-child(1) {
  margin-left: -4px;
}

.bndes--bar .language-btn:nth-child(2) {
  margin-right: -4px;
}

.bndes--bar .languages {
  position: relative;
  display: flex;
}

.bndes--bar .languages::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  width: calc(50% + 2px);
  height: calc(100% + 4px);
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  z-index: 1;
}
.bndes--bar .languages.en-active::before {
  transform: translateX(100%);
}
.bndes--bar .language-btn img {
  margin-bottom: -2px;
  width: 1em;
  height: 1em;
}

/* =================================================================== */
/* MAIN HEADER AND NAVIGATION STYLES */
/* =================================================================== */

.page--header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  transition: none;
  position: sticky;
  top: -1px;
}
.page--header.is-pinned {
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.1);
}

.page--header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page--header .page--logo img {
  display: block;
  width: 179px;
  height: 52px;
}
.page--logo {
  position: relative;
  z-index: 2;
  box-sizing: content-box;
}
.page--logo,
.page--logo a {
  display: block;
  width: 179px;
  height: 52px;
}
.page--logo a {
  text-indent: -99999px;
  background: transparent url(../images/Logo.png) center center no-repeat;
  background-size: 100%;
}

@media (max-width: 1024px) {
  .page--header {
    padding-bottom: 5px;
    padding-top: 5px;
  }
}

/* =================================================================== */
/* MOBILE HAMBURGER MENU STYLES */
/* =================================================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Search Bar Styles */
.mobile-search-bar {
  display: none;
  flex: 1;
  max-width: 200px;
  margin: 0 12px;
}

.mobile-search-bar form {
  display: flex;
  align-items: center;
  background: var(--lighter-gray);
  border-radius: 20px;
  padding: 8px 12px;
  border: 1px solid var(--light-grey);
}

.mobile-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 0;
  outline: none;
  color: var(--text-color);
  width: calc(100% - 25px);
}

.mobile-search-bar input::placeholder {
  color: var(--dark-gray);
}

.mobile-search-bar button {
  background: none;
  border: none;
  padding: 0;
  margin-left: 8px;
  color: var(--dark-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search-bar button:hover {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-search-bar {
    display: inline-block;
    max-width: 250px;
    padding-right: 5px;
  }

  .page--logo {
    max-width: 160px;
  }

  .page--logo a {
    width: 100%;
    max-width: 150px;
  }
}

.nav--menu {
  position: relative;
  flex-grow: 1;
}
.nav--menu > ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
}
.nav--menu > ul > li > a {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 27px 20px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
}
.nav--menu > ul > li.has-submenu > a::after {
  content: ' ';
  width: 8px;
  height: 6px;
  background: transparent url(../icons/icon-caret.svg) no-repeat;
  transition: 0.4s;
}
.nav--menu > ul > li.has-submenu.active > a::after {
  transform: rotate(-180deg);
}
.nav--menu--submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
  padding: 20px;
  border-top: 4px solid var(--green);
  border-radius: 5px;
}
.nav--menu--submenu.active {
  display: flex;
}
.nav--menu--submenu--contacto {
  max-width: 250px;
  right: 0;
  left: auto;
}
.nav--menu--submenu--contacto > .nav--menu--submenu--list {
  max-width: 100%;
}
.nav--menu--submenu--list {
  flex: 1;
  border-right: 1px solid var(--gray);
  padding-right: 20px;
  margin-right: 40px;
  max-width: 35%;
}
.nav--menu--submenu--contacto .nav--menu--submenu--list {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.nav--menu--submenu--list a svg {
  margin-bottom: -1px;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 7px;
  margin-right: 10px;
  fill: var(--primary-color);
}
.nav--menu--submenu--list a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--primary-color);
}
.nav--menu--submenu--list a:hover {
  color: var(--light-blue);
}

.nav--menu--submenu--list a:hover > svg {
  transform: translateX(4px);
}

.nav--menu--submenu--list a.alt,
.bndes--footer-section a.alt {
  color: black;
}

.nav--menu--submenu--latests {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav--menu--submenu--latest {
  flex: 1;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.nav--menu--submenu--latest .label {
  margin-bottom: 8px;
}

.nav--menu--submenu--latest .label span {
  background-color: var(--light-orange-20);
  color: var(--orange);
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 5px;
}

.nav--menu--submenu--latest h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.nav--menu--submenu--latest p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav--menu--submenu--latest span {
  font-size: 12px;
  color: #999;
}

.nav--menu--submenu--others {
  flex: 1;
  display: flex;
  gap: 15px;
}

.nav--menu--submenu--other {
  flex: 1;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--light-grey);
  padding: 10px;
  border-radius: 5px;
}

.nav--menu--submenu--other:hover {
  border: 1px solid var(--gray);
}

.nav--menu--submenu--other .label {
  margin-bottom: 8px;
}

.nav--menu--submenu--other .label span {
  background-color: var(--light-orange-20);
  color: var(--orange);
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 5px;
}

.nav--menu--submenu--other h3 {
  font-size: 14px;
  color: #333;
}

.search-bar {
  overflow: hidden;
  display: flex;
  padding-right: 16px;
  height: 40px;
  color: var(--text-color);
  font-size: 14px;
  line-height: 1em;
  background: var(--lighter-gray);
  border: 1px solid var(--light-grey);
  border-radius: 100px;
  max-width: 200px;
}
.search-bar form {
  display: flex;
  width: 100%;
  height: 38px;
}
.search-bar input {
  display: block;
  padding: 0 16px;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}
.search-bar button {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 24px;
  height: 100%;
  background: transparent;
  border: none;
}
.search-bar button .icon-search {
  height: 25px;
}
/* FOOTER */

.bndes--footer {
  background-color: white;
  position: relative;
}

.bndes--footer-voltar {
  position: absolute;
  top: -55px;
  right: 0px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: var(--primary-color);
  transition: all 0.2s ease;
  z-index: 1000;
}

.bndes--footer-voltar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bndes--footer-voltar::after {
  content: ' ↑';
  margin-left: 5px;
}

.bndes--footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0px;
}

.bndes--footer-logo {
  text-align: center;
  margin-bottom: 60px;
}

.bndes--footer-logo img {
  height: 40px;
  width: auto;
}

.bndes--footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.bndes--footer-section {
  text-align: left;
}

.bndes--footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 25px;
}

.bndes--footer-section ul {
  list-style: none;
}

.bndes--footer-section li {
  margin-bottom: 8px;
}

.bndes--footer-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.bndes--footer-section a:hover {
  text-decoration: underline;
}

.bndes--footer-bottom {
  background-color: var(--primary-color);
  position: relative;
  padding: 34px 0;
}

.bndes--footer-bottom-content {
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bndes--footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bndes--footer-brand-logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.bndes--footer-brand-logo img {
  height: 24px;
  margin-right: 20px;
}

@media (max-width: 1024px) {
  .bndes--footer-brand {
    flex-direction: column;
  }
}

.bndes--footer-copyright {
  color: white;
  font-size: 12px;
}

.bndes--footer-links {
  display: flex;
  gap: 20px;
}

.bndes--footer-links a {
  color: white;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.2s ease;
}

.bndes--footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .bndes--footer-section {
    padding-left: 30px;
  }

  .bndes--footer-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .bndes--footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Newsletter Signup Styles */
.bndes--newsletter-signup {
  background: linear-gradient(180deg, var(--primary-color) 50%, rgba(255, 255, 255, 1) 50%);
  position: relative;
  display: block;
  padding: 40px 0;
}

.bndes--newsletter-form {
  background: var(--bg-white);
  max-width: calc(1440px * 0.8);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin: 0 auto;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 
.bndes--newsletter-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
} */

.bndes--newsletter-form-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.bndes--newsletter-form-area {
  display: inherit;
}
.newsletter-form-name {
  overflow: hidden;
  height: 40px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1em;
  background: var(--bg-white);
  border: 1px solid var(--light-grey);
  border-radius: 100px;
  max-width: 150px;
  transition: border-color 0.3s ease;
  padding-left: 15px;
  width: 80%;
  max-width: 300px;
}
.newsletter-form-email {
  width: 100%;
}

@media (min-width: 768px) {
  .bndes--newsletter-form-group {
    flex-direction: row;
    justify-content: space-between;
  }
}

.bndes--newsletter-signup h2 {
  color: var(--text-color);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
  flex-shrink: 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .bndes--newsletter-signup h2 {
    font-size: 24px;
    margin-bottom: 0;
    flex-grow: 1;
  }
}
.bndes--post-listing-titulo {
  color: var(--text-color);
  margin-bottom: 10px;
}
.bndes--newsletter-email-input {
  overflow: hidden;
  display: flex;
  padding-right: 16px;
  height: 48px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1em;
  background: var(--bg-white);
  border: 1px solid var(--light-grey);
  border-radius: 100px;
  width: 100%;
  max-width: 350px;
  transition: border-color 0.3s ease;
  margin-bottom: 10px;
}

.bndes--newsletter-email-input:focus-within {
  border-color: var(--primary-color);
}

@media (min-width: 768px) {
  .bndes--newsletter-email-input {
    height: 40px;
    font-size: 14px;
    max-width: none;
  }
}

.bndes--newsletter-email-input input {
  display: block;
  padding: 0 16px;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: inherit;
  color: var(--text-color);
}

.bndes--newsletter-email-input input::placeholder {
  color: var(--gray);
  transition: opacity 0.3s ease;
}

.bndes--newsletter-email-input input:focus::placeholder {
  opacity: 0.7;
}
.bndes--newsletter-email-input button {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 24px;
  height: 100%;
  background: transparent;
  border: none;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.bndes--newsletter-email-input button:hover {
  transform: scale(1.1);
  opacity: 1;
}
.bndes--newsletter-email-input button .icon-search {
  height: 25px;
}

.bndes--newsletter-captcha-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.bndes--newsletter-captcha-placeholder {
  background: var(--lighter-gray);
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
}

@media (min-width: 768px) {
  .bndes--newsletter-captcha-container {
    margin: 0;
    width: auto;
  }

  .bndes--newsletter-captcha-placeholder {
    font-size: 14px;
    min-height: 40px;
    height: 40px;
    padding: 20px;
    width: 155px;
    margin: 0 15px;
  }
}

.bndes--newsletter-submit-btn {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  background-color: var(--bg-white);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 250px;
  min-height: 48px;
}

.bndes--newsletter-submit-btn.newsletter-submited,
#newsletter-hero-submit-btn.newsletter-submited {
  color: var(--green);
  border-color: var(--green);
}

.bndes--newsletter-submit-btn.newsletter-submited:hover,
#newsletter-hero-submit-btn.newsletter-submited:hover {
  background: var(--green);
  color: white;
}

.bndes--newsletter-submit-btn.newsletter-error,
#newsletter-hero-submit-btn.newsletter-error {
  color: #ef4444;
  border-color: #ef4444;
}

.bndes--newsletter-submit-btn.newsletter-error:hover,
#newsletter-hero-submit-btn.newsletter-error:hover {
  background: #ef4444;
  color: white;
}

.bndes--newsletter-submit-btn.newsletter-submited > .checkmark-icon,
.bndes--newsletter-submit-btn.newsletter-error > .checkmark-icon,
#newsletter-hero-submit-btn.newsletter-submited > .checkmark-icon,
#newsletter-hero-submit-btn.newsletter-error > .checkmark-icon {
  width: 25px;
  height: 25px;
}

@media (min-width: 768px) {
  .bndes--newsletter-submit-btn {
    font-size: 15px;
    padding: 11px 30px;
    width: auto;
    max-width: none;
    min-height: auto;
  }
}

.bndes--newsletter-submit-btn:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 16px rgba(0, 74, 143, 0.3);
  transform: translateY(-1px);
}

.bndes--newsletter-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 74, 143, 0.2);
}

.bndes--newsletter-submit-btn:disabled {
  background: var(--gray);
  cursor: not-allowed;
}

.checkmark-icon {
  width: 16px;
  height: 16px;
}

.bndes--newsletter-privacy-text {
  color: var(--text-color);
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 20px;
}

.bndes--newsletter-privacy-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bndes--newsletter-privacy-link:hover {
  text-decoration: underline;
  color: var(--light-blue);
}

/* iPad Styles for Newsletter */
@media (max-width: 1024px) {
  .bndes--newsletter-form {
    width: 100%;
    padding: 20px;
  }

  .bndes--newsletter-signup h2 {
    font-size: 22px;
  }

  .bndes--newsletter-hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bndes--newsletter-hero-image-section {
    order: 1;
    min-height: 300px;
  }

  .bndes--newsletter-hero-form-section {
    order: 2;
    padding: 35px;
  }

  .bndes--newsletter-hero-title {
    font-size: 24px;
  }
}

/* Mobile Styles for Newsletter */
@media (max-width: 768px) {
  .bndes--newsletter-signup {
    width: 100%;
    max-width: 100%;
  }

  .bndes--newsletter-signup h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .bndes--newsletter-captcha-placeholder {
    width: 100%;
    max-width: 100%;
    font-size: 12px;
  }

  .bndes--newsletter-submit-btn {
    font-size: 14px;
    padding: 12px 25px;
    width: 100%;
    justify-content: center;
  }

  .bndes--newsletter-privacy-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bndes--newsletter-signup {
    padding: 25px 16px;
  }

  .bndes--newsletter-signup h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

/* Blog Layout Styles */
.bndes--post-listing-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.bndes--post-listing-layout.big {
  grid-template-columns: 1fr;
}

.bndes--post-listing-layout.big .bndes--post-listing-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .bndes--post-listing-layout.big .bndes--post-listing-grid {
    grid-template-columns: 1fr;
  }
}

.bndes--post-listing-main {
  display: flex;
  flex-direction: column;
}

.bndes--post-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .bndes--post-listing-grid {
    grid-template-columns: 1fr;
  }
}

.bndes--post-listing-post {
  background: var(--bg-white);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .bndes--post-listing-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
}

.bndes--post-listing-post:hover {
  transform: translateY(-2px);
}

.bndes--post-listing-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}

.bndes--post-listing-labels {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .bndes--post-listing-labels {
    margin-top: 0;
  }
}

.bndes--post-listing-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

.bndes--post-listing-excerpt {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.5;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.5em * 3);
}

.bndes--post-listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-color);
}

.bndes--post-listing-author-date {
  color: var(--dark-gray);
}

.bndes--post-listing-ver-mais-container {
  text-align: center;
  margin-top: 40px;
}

/* Sidebar Styles */
.bndes--post-listing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Temas em alta */
.bndes--temas-alta {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid var(--dark-gray);
}

.bndes--temas-alta-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.bndes--temas-alta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bndes--temas-alta-item {
  display: flex;
  align-items: center;
}

.bndes--temas-alta-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s ease;
}

.bndes--temas-alta-link:hover {
  color: var(--light-blue);
}

/* Mais lidos */
.bndes--maislidos {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid var(--dark-gray);
}

.bndes--maislidos.no-border {
  border: none;
}

.bndes--maislidos-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.bndes--maislidos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bndes--maislidos-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bndes--maislidos-number {
  color: var(--gray);
  font-size: 45px;
  flex-shrink: 0;
  margin-top: 10px;
  font-weight: 100;
}

.bndes--maislidos-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.bndes--maislidos-link:hover {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .bndes--post-listing-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bndes--post-listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .bndes--post-listing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .bndes--post-listing-image {
    flex-basis: 30%;
    height: auto;
  }

  .bndes--post-listing-content {
    padding: 16px;
    padding-top: 0;
    flex-basis: 70%;
  }

  .bndes--post-listing-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .bndes--post-listing-excerpt {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .bndes--post-listing-ver-mais-btn {
    padding: 12px 40px;
    font-size: 14px;
    width: 100%;
    max-width: 250px;
  }
}

.bndes--newsletter-hero {
  background: linear-gradient(180deg, var(--lighter-gray) 50%, var(--primary-color) 50%);
  overflow: hidden;
  width: 100%;
  min-height: 500px;
  margin: 0 auto;
  padding: 40px 0;
}

.bndes--newsletter-hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 590px;
  width: 100%;
}

.bndes--newsletter-image-hero-section {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bndes--newsletter-hero-image-section {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.bndes--newsletter-hero-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 74, 143, 0.1) 0%, rgba(0, 74, 143, 0.05) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bndes--newsletter-hero-image-section:hover::before {
  opacity: 1;
}
.bndes--newsletter-hero-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bndes--newsletter-hero-image-section:hover img {
  transform: scale(1.05);
}
.bndes--newsletter-hero-form-section {
  border-radius: 8px;
  background: var(--bg-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bndes--newsletter-hero-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.bndes--newsletter-hero-description {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 200;
}

.bndes--newsletter-hero-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bndes--form-group {
  position: relative;
}

.bndes--email-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid var(--light-grey);
  border-radius: 50px;
  background: var(--bg-white);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: 'Fira Sans', sans-serif;
  margin-bottom: 10px;
}

.bndes--email-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
}

.bndes--email-input::placeholder {
  color: var(--gray);
}

.bndes--captcha-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  .bndes--captcha-container {
    justify-content: flex-start;
    width: auto;
  }
}

.bndes--captcha-placeholder {
  background: var(--lighter-gray);
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  min-height: 60px;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .bndes--captcha-placeholder {
    font-size: 14px;
    height: 60px;
    width: 230px;
    max-width: none;
    padding: 20px;
  }
}

.bndes--newsletter-hero-form-submit {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .bndes--newsletter-hero-form-submit {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.bndes--submit-btn {
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  transition: all 0.3s ease;
  font-family: 'Fira Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  min-height: 56px;
  align-self: center;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .bndes--submit-btn {
    width: auto;
    max-width: none;
    min-height: auto;
    align-self: flex-start;
  }
}

.bndes--submit-btn:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(0, 74, 143, 0.3);
  transform: translateY(-2px);
}

.bndes--submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 74, 143, 0.2);
}

.bndes--checkmark-icon {
  width: 16px;
  height: 16px;
}

.bndes--privacy-text {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 200;
  line-height: 1.5;
  margin-top: 20px;
}

.bndes--privacy-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bndes--privacy-link:hover {
  text-decoration: underline;
  color: var(--light-blue);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .bndes--container {
    padding: 0;
  }

  .bndes--newsletter-hero {
    min-height: auto;
    padding: 30px 0;
  }

  .bndes--newsletter-hero-content {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .bndes--newsletter-hero-image-section {
    order: 1;
    min-height: 250px;
  }

  .bndes--newsletter-hero-form-section {
    order: 2;
    padding: 30px 20px;
    height: auto;
  }

  .bndes--newsletter-hero-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .bndes--newsletter-hero-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .bndes--email-input {
    font-size: 16px;
    padding: 14px 18px;
  }

  .bndes--newsletter-hero-form {
    gap: 16px;
  }

  .bndes--privacy-text {
    font-size: 12px;
    margin-top: 16px;
  }

  .bndes--privacy-text {
    font-size: 12px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .bndes--newsletter-hero {
    padding: 20px 0;
  }

  .bndes--newsletter-hero-form-section {
    padding: 25px 16px;
  }

  .bndes--newsletter-hero-title {
    font-size: 20px;
  }

  .bndes--newsletter-hero-description {
    font-size: 13px;
  }

  .bndes--email-input {
    padding: 12px 16px;
    font-size: 16px;
  }
}

.bndes--search-section {
  background: var(--lighter-gray);
  padding: 80px 60px;
  text-align: center;
}

.bndes--search-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 40px;
  line-height: 1.3;
}

.bndes--search-form {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.bndes--search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.bndes--search-input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  font-size: 16px;
  border: 2px solid var(--light-grey);
  border-radius: 50px;
  background: var(--bg-white);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: 'Fira Sans', sans-serif;
}

.bndes--search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.bndes--search-input::placeholder {
  color: var(--gray);
}

.bndes--search-input-wrapper button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bndes--categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

.bndes--category-tag {
  background: transparent;
  border-radius: 50px;
  color: var(--primary-color);
  cursor: pointer;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
  display: inline-block;
}

.bndes--category-tag:hover {
  text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .bndes--container {
    padding: 0 16px;
  }

  .bndes--search-section {
    padding: 60px 30px;
  }

  .bndes--search-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .bndes--search-input {
    font-size: 16px;
    padding: 16px 55px 16px 20px;
  }

  .bndes--search-button {
    width: 40px;
    height: 40px;
    right: 6px;
  }

  .bndes--search-icon {
    width: 18px;
    height: 18px;
  }

  .bndes--categories {
    gap: 12px;
  }

  .bndes--category-tag {
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .bndes--search-section {
    padding: 40px 20px;
  }

  .bndes--search-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .bndes--search-input {
    padding: 14px 50px 14px 18px;
    font-size: 16px;
  }

  .bndes--search-button {
    width: 36px;
    height: 36px;
  }

  .bndes--search-icon {
    width: 16px;
    height: 16px;
  }

  .bndes--categories {
    gap: 10px;
  }

  .bndes--category-tag {
    font-size: 12px;
    padding: 7px 14px;
  }
}

.bndes-cookies {
  position: fixed;
  left: 0px;
  bottom: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--Principal-Azul, #1248c6);
  box-shadow: 0px 0px 0px 2000px rgba(0, 0, 0, 0.6);
  padding: 40px 0px;
  font-family: 'Fira Sans', sans-serif;
  width: 100%;
  z-index: 999999;
}

.bndes-cookies__container {
  max-width: 1244px;
  width: calc(100% - 48px);
  margin: 0px auto;
  display: flex;
  align-items: center;
  gap: 200px;
  justify-content: space-between;
}

.bndes-cookies__container p {
  color: var(--Branco, #fff);
  leading-trim: both;
  text-edge: cap;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin: 0px;
}

.bndes-cookies__container p strong {
  font-weight: 700;
}

.bndes-cookies__container p strong a {
  text-decoration: underline;
  color: #fff;
}

.bndes-cookies__container button {
  font-family: 'Fira Sans', sans-serif;
  display: flex;
  height: 48px;
  padding: 0px 72px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 1000px;
  border: 2px solid var(--Branco, #fff);
  background: var(--Branco, #fff);
  color: var(--Principal-Azul, #1248c6);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  cursor: pointer;
}

.bndes-cookies__container button:hover {
  border-radius: 1000px;
  border: 2px solid var(--Branco, #fff);
  background: rgba(255, 255, 255, 0.16);
  color: var(--Branco, #fff);
}

@media (max-width: 1199px) {
  .bndes-cookies__container {
    gap: 100px;
  }
}

@media (max-width: 991px) {
  .bndes-cookies__container {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .bndes-cookies__container {
    gap: 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .bndes-cookies__container p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
  }
}

/* Slide content */
.bndes--category-destaque-content {
  width: 100%;
  height: 400px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
}

@media (max-width: 768px) {
  .bndes--category-destaque-content {
    flex-direction: column;
    height: 850px;
  }
}

.bndes--category-destaque-text-section {
  flex: 0 0 45%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .bndes--category-destaque-text-section {
    order: 2;
  }
}

.bndes--category-destaque-tags {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.bndes--category-destaque-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
  margin-bottom: 16px;
}

.bndes--category-destaque-metadata {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.bndes--category-destaque-author {
  font-weight: 600;
}

.bndes--category-destaque-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.5em * 3);
}

.bndes--category-destaque-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.bndes--category-destaque-link:hover {
  color: #357abd;
  transform: translateX(5px);
}

.bndes--category-destaque-link::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.bndes--category-destaque-link:hover::after {
  transform: translateX(3px);
}

.bndes--category-destaque-image-section {
  flex: 0 0 55%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.bndes--categories-destaque-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 10px;
}

@media (max-width: 768px) {
  .bndes--categories-destaque-section {
    grid-template-columns: 1fr;
  }
}

.bndes--series-destaque-section {
  width: 100%;
  margin-top: -130px;
}

.bndes--series-destaque-section .bndes--category-destaque-content {
  height: 450px;
}

.bndes--categories-destaque-section-destaque {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bndes--categories-destaque-section-mais-lidos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .bndes--categories-destaque-section-mais-lidos > .no-border {
    border: 1px solid var(--gray);
    border-radius: 15px;
  }
}

.bndes--categories-header {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}

.bndes--series-header {
  width: 100%;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
  font-size: 22px;
  color: white;
  background-color: var(--primary-color);
}

.bndes--categories-header-content {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color-30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  padding: 20px;
}

@media (max-width: 768px) {
  .bndes--categories-header-content {
    text-align: left;
    justify-content: flex-start;
  }
}

.bndes--series-header-menu {
  width: 100%;
  height: 240px;
  display: flex;
  padding-bottom: 30px;
  font-size: 30px;
  color: white;
}

.bndes--series-header-menu.small {
  height: auto;
}

.bndes--series-header-menu-content {
  background-color: var(--primary-color-60);
  width: 100%;
  height: 64px;
  display: flex;
  justify-content: center;
  color: white;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bndes--series-header-menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.bndes--series-header-menu-item {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}

.bndes--series-header-menu-item-last {
  margin-left: auto;
}

.bndes--series-header-menu-item a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.bndes--series-header-menu-item:hover {
  border-bottom: 2px solid white;
}

.bndes--series-header-menu-item.active {
  border-bottom: 2px solid white;
}

.bndes--series-header-menu-item-last {
  background-color: var(--primary-color);
  border-radius: 5px;
  padding: 5px 10px;
  height: 50%;
}

.bndes--series-header-menu-item-last:hover {
  border-bottom: 2px solid transparent;
}

.bndes--breadcrumb {
  background: var(--primary-color);
  padding: 16px 0;
}

.bndes--breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.bndes--breadcrumb-list li:not(:last-child)::after {
  content: '>';
  margin: 0 8px;
  color: var(--bg-white);
}

.bndes--breadcrumb-list a {
  color: var(--bg-white);
  text-decoration: none;
}

.bndes--breadcrumb-list a:hover {
  text-decoration: underline;
}

.bndes--breadcrumb-list li[aria-current='page'] {
  color: var(--bg-white);
  font-weight: 500;
}
.bndes--sobre-header {
  background-color: var(--primary-color);
  padding: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: white;
  gap: 20px;
}

.bndes--sobre-header h1 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 600;
}
.bndes--busca-header {
  background-color: var(--primary-color);
  padding: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: white;
  gap: 20px;
}

.bndes--busca-header h1 {
  font-size: 40px;
  font-weight: 600;
}

.bndes--sobre-imagem-topo {
  width: 100%;
  max-height: 280px;
}

.bndes--sobre-container {
  margin-bottom: 100px;
}

.bndes--sobre-container > .container {
  margin-top: -100px;
  background: white;
  max-width: 900px;
}

.bndes--sobre-text-box {
  border: 1px solid var(--light-grey);
  padding: 20px;
  margin-bottom: 40px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  position: relative;
  z-index: 10;
}

.bndes--sobre-text-box p {
  margin-bottom: 20px;
}

.bndes--sobre-text-box.image {
  padding: 0;
}

.bndes--sobre-text-box.image img {
  width: 100%;
  height: auto;
}
/* PAGINATION - FIXED VERSION */
.pagination {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
  padding-bottom: 2px;
  margin-bottom: 40px;
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 12px;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  background: var(--white-color);
  border-radius: 50%;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.pagination li a:hover {
  background-color: var(--bg-color-2);
  box-shadow: none;
}

.pagination li a.active {
  background: rgba(115, 251, 68, 0.16);
  border: 2px solid var(--pag-active-color);
  box-shadow: none;
}

.pagination .ellipsis {
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  color: var(--text-color);
}

.pagination li .disabled {
  opacity: 0.32;
}

.pagination li .pagination-prev {
  transform: rotate(-180deg);
}

/* FIXED: Added overflow hidden and background-size */
.pagination li .pagination-prev,
.pagination li .pagination-next {
  font-size: 0; /* Better than text-indent for flex items */
  line-height: 0;
  background: transparent url(../icons/icon-chevron-2.svg) center center no-repeat;
  background-size: 16px 16px; /* Constrain SVG size */
  box-shadow: none;
  overflow: hidden; /* Prevent layout issues */
}

.pagination.pagination-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .pagination.pagination-result {
    margin-top: 32px;
    gap: 32px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .pagination.pagination-result > p {
    font-size: 16px;
  }
}

.float-right {
  float: right;
}

.bndes--accessibility-header {
  background-color: var(--primary-color);
  padding: 30px;
  color: white;
  gap: 20px;
}

.bndes--accessibility-header h1 {
  font-size: 30px;
  font-weight: 600;
}

.bndes-accessibility-content {
  font-size: 16px;
  padding: 40px 0;
}

.bndes-accessibility-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bndes-accessibility-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bndes-accessibility-content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.submenu-alt {
  width: auto;
  left: 450px;
}

.submenu-alt .nav--menu--submenu--list {
  max-width: 100%;
  border-right: none;
}

/* =================================================================== */
/* MOBILE NAVIGATION OVERLAY STYLES */
/* =================================================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-white);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Mobile Navigation Header */
.mobile-nav-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-weight: 300;
}

.mobile-nav-title {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Mobile Navigation Content */
.mobile-nav-content {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--lighter-gray);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.mobile-nav-content.submenu-active {
  transform: translateX(-100%);
}

/* Menu Section - Reduced height */
.mobile-nav-main {
  flex: 0 0 auto;
  max-height: 60vh;
  background: var(--bg-white);
  padding: 24px;
  overflow-y: auto;
  border-bottom: 1px solid var(--light-grey);
}

/* Preview Section - Takes remaining space */
.mobile-nav-preview {
  flex: 1;
  background: var(--lighter-gray);
  padding: 24px;
  overflow-y: auto;
  display: none;
}

.mobile-nav-preview.active {
  display: block;
}

/* Menu Items */
.mobile-nav-item {
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding-bottom: 20px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

.mobile-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding-bottom: 20px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle.active {
  color: var(--primary-color);
}

.mobile-nav-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Submenu Slide Panel */
.mobile-nav-submenu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 101;
  display: flex;
  flex-direction: column;
}

.mobile-nav-submenu-panel.active {
  transform: translateX(0);
}

.mobile-nav-submenu-header {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--bg-white);
}

.mobile-nav-back {
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 5px;
  transform: scale(1.2);
}

.mobile-nav-submenu-title {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.mobile-nav-submenu-content {
  padding: 12px 24px;
  padding-bottom: 0;
  padding-left: 50px;
  overflow-y: auto;
}

.mobile-nav-submenu-link {
  display: block;
  padding-bottom: 20px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-submenu-link:hover {
  color: var(--primary-color);
}

/* Preview Content Styles */
.mobile-nav-preview-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.mobile-nav-preview-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.mobile-nav-preview-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-nav-preview-item.secondary {
  background-color: white;
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid var(--light-grey);
}

.mobile-nav-preview-item.secondary .mobile-nav-preview-title-link {
  font-weight: 300;
}

.mobile-nav-preview-format {
  display: inline-block;
  background: var(--light-orange-20);
  color: var(--light-orange);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

.mobile-nav-preview-title-link {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 8px;
  display: block;
}

.mobile-nav-preview-title-link:hover {
  color: var(--primary-color);
}

.mobile-nav-preview-excerpt {
  color: var(--dark-gray);
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.mobile-nav-preview-meta {
  color: var(--dark-gray);
  font-size: 12px;
}

@media (max-width: 1024px) {
  .nav--menu {
    display: none;
  }

  .search-bar {
    display: none;
  }
}

/* =================================================================== */
/* FORM STYLES */
/* =================================================================== */
.bndes-form {
  background: var(--bg-white);
  border-radius: 8px;
}

.bndes-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.bndes-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bndes-form-group.flex-2 {
  flex: 2;
}

.bndes-form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.bndes-form-group label.required::after {
  content: ' *';
  color: #e74c3c;
}

.bndes-form-group input,
.bndes-form-group select,
.bndes-form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.bndes-form-group input:focus,
.bndes-form-group select:focus,
.bndes-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color-30);
}

.bndes-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.bndes-checkbox-section {
  margin: 30px 0;
}

.bndes-checkbox-section h3 {
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.bndes-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.bndes-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bndes-checkbox-item input[type='checkbox'] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.bndes-checkbox-item label {
  font-weight: normal;
  margin: 0;
  line-height: 1.4;
  cursor: pointer;
}

.bndes-submit-btn {
  background: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.bndes-submit-btn:hover {
  background: var(--primary-color-60);
}

.bndes-form-privacy {
  margin-top: 20px;
  font-size: 14px;
  color: var(--dark-gray);
}

.bndes-contact-email {
  margin-top: 30px;
  padding: 20px 0;
}

.bndes-contact-email-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bndes-contact-email svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
  margin-bottom: -5px;
}

.bndes-contact-email a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.bndes-contact-email a:hover {
  text-decoration: underline;
}

.bndes-contact-email p {
  margin: 0 0 4px 0;
}

.bndes-content-section {
  padding-top: 60px;
}

.bndes-checkbox-item.long-text {
  align-items: flex-start;
}

.bndes-form-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  .bndes-form-group {
    margin-bottom: 20px;
  }

  .bndes-form-row {
    flex-direction: column;
    gap: 0;
  }

  .bndes-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-submit-success-message {
  margin-top: 20px;
  font-size: 14px;
  color: white;
  width: 100%;
  background-color: #62bb46;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: none;
}

.newsletter-adjust-captcha {
  margin-top: -30px;
}
