/* Single Campaign Plugin Styles */
body .single-campaign-container {
  padding: 10px !important;
  margin-bottom: 20px !important;
}


.border-bottom-white {
  border-bottom: 1px solid #fff;
}

.campaign-content{
  margin: -5rem 5rem;
}

@media (max-width: 767px) {
  .campaign-content {
    margin: -0.5rem 0.5rem;
  }
}

@media (max-width: 521px) {
  .campaign-logo {
      width: 100px;
      height: 100px;
  }
}
@media (max-width: 993px) {
  .campaign-logo {
      margin: 0rem;
      width: 150px;
      height: 150px;
  }
}
.campaign-logo {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.05);
  margin: -3rem 1rem 1rem 3rem;
}

.campaign-logo {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, .05);
  margin: -3rem 1rem 1rem 3rem;
}

.text-gray-dark {
  color: #565656 !important;
}

.heading-section {
  font-family: Roboto, sans-serif !important;
  letter-spacing: .025em !important;
  font-size: 1.7rem !important;
  font-weight: 500 !important;
}

/* Selector más específico para sobrescribir text-black cuando está junto con heading-section */
body .elementor .heading-section.text-black,
body .elementor h2.heading-section.text-black,
.single-campaign-wrapper .heading-section.text-black,
.single-campaign-wrapper h2.heading-section.text-black,
.campaign-content .heading-section.text-black,
.campaign-content h2.heading-section.text-black,
h2.heading-section.text-black,
.heading-section.text-black {
  font-family: Roboto, sans-serif !important;
  letter-spacing: .025em !important;
  font-size: 1.7rem !important;
  font-weight: 500 !important;
}


.campaign-home-card {
  border-radius: 0.75rem !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
}

.text-medium {
  color: #9e9e9e !important;
}

.text-xs {
  font-size: 0.75rem !important;
}
.text-sm {
  font-size: 0.875rem !important;
}
.text-md {
  font-size: 1rem !important;
}
.text-lg {
  font-size: 1.125rem !important;
}

/* Agregar !important solo en casos necesarios */
body .text-white {
  color: #ffff !important;
}

.text-greenBroota {
  color: #00b274 !important;
}
.btn {
  position: relative !important;
  text-transform: none !important;
  transition: all 0.15s ease !important;
  letter-spacing: 0.025em !important;
  font-size: 0.875rem !important;
  will-change: transform !important;
}
.btn-sm {
  font-size: 0.75rem !important;
}
.btn-greenBroota {
  color: #ffffff !important;
  background-color: #32c980 !important;
  border-color: #32c980 !important;
  border: none !important;
  line-height: 1 !important;
  box-shadow:
    0 4px 6px rgba(50, 50, 93, 0.11),
    0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
.btn-blueBroota {
  color: #ffffff !important;
  background-color: #0244da !important;
  border: none !important;
  border-color: #0244da !important;
  line-height: 1 !important;
  box-shadow:
    0 4px 6px rgba(50, 50, 93, 0.11),
    0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.border-none {
  border: transparent !important;
}

.top-cover-img{
  height: 450px;
  background-color: #f6f6f6;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

.card {
  margin-bottom: 1.5rem !important;
  background-color: #ffff !important;
  box-shadow: 0 0 2rem 0 rgba(117, 117, 117, 0.15) !important;
  border: 0 !important;
}

.progress {
  height: 8px !important;
  margin-bottom: 1rem !important;
  overflow: hidden !important;
  border-radius: 0.25rem !important;
  background-color: var(--bs-secondary-bg) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
  background-color: transparent !important;
  border-bottom: 1px solid #f5f5f5 !important;
  overflow: inherit !important;
}

.btn:hover {
  color: var(--bs-btn-hover-color) !important;
  background-color: var(--bs-btn-hover-bg) !important;
  border-color: var(--bs-btn-hover-border-color) !important;
}

.card-footer {
  padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x) !important;
  color: var(--bs-card-cap-color) !important;
  background-color: var(--bs-card-cap-bg) !important;
  border-top: var(--bs-card-border-width) solid var(--bs-card-border-color) !important;
}

.btn-sm {
  font-size: 0.75rem !important;
}

.btn-greenBroota:hover,
.btn-blueBroota:hover {
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-1px) !important;
}

.avatar {
  color: #ffff !important;
  background-color: #ffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  border-radius: 0.375rem !important;
  height: 48px !important;
  width: 48px !important;
}

.avatar-xs {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  font-size: 0.75rem !important;
}


/* Selector más específico para sobreescribir Elementor */
/* .elementor-widget-container .single-campaign-container,
.elementor .single-campaign-container,
#content .single-campaign-container {
    Estilos movidos a reglas más específicas abajo
} */

/* Aumentar la especificidad de todas las clases */
body .elementor .single-campaign-container,
body #content .single-campaign-container {
  padding: 10px !important;
  margin-bottom: 20px !important;
}

body .elementor .campaign-home-card {
  border-radius: 0.75rem !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
}

body .elementor .text-medium {
  color: #9e9e9e !important;
}

body .elementor .text-xs {
  font-size: 0.75rem !important;
}

body .elementor .text-sm {
  font-size: 0.875rem !important;
}

body .elementor .text-md {
  font-size: 1rem !important;
}

body .elementor .text-lg {
  font-size: 1.125rem !important;
}

body .elementor .text-white {
  color: #ffff !important;
}

body .elementor .text-black {
  color: #000 !important;
  font-size: 1rem !important;
}

body .elementor .text-greenBroota {
  color: #00b274 !important;
}

body .elementor .btn {
  position: relative !important;
  text-transform: none !important;
  transition: all 0.15s ease !important;
  letter-spacing: 0.025em !important;
  font-size: 0.875rem !important;
  will-change: transform !important;
}

body .elementor .btn-greenBroota {
  color: #ffffff !important;
  background-color: #32c980 !important;
  border: none !important;
  line-height: 1 !important;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body .elementor .btn-blueBroota {
  color: #ffffff !important;
  background-color: #0244da !important;
  border: none !important;
  line-height: 1 !important;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Deshabilitar estilos de Elementor */
.elementor-element-disable .single-campaign-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Asegurar que los estilos de Elementor no afecten */
.elementor-widget-text-editor .elementor-element-disable {
  all: unset !important;
}

/* Restablecer estilos básicos necesarios */
.elementor-element-disable * {
  font-family: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.quill-render ol li[data-list=bullet] {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.5em;
}

.campaign-tab-text ul li::marker, .campaign-tab-text ol li::marker {
  color: #ff1800 !important;
}

.btn-custom-primary {
  background-color: #32c980 !important;
  color: color-yiq(#32c980) !important;
  border: none !important;
  font-size: 0.9rem !important;
  font-family: "Roboto", sans-serif !important;
}

.btn-custom-primary:hover {
  background-color: #2db573 !important;
  box-shadow: none !important;
}

/* Quill render styles - Estilos completos para contenido enriquecido de Quill */
.quill-render {
  line-height: 1.6 !important;
  color: inherit !important;
  font-size: inherit !important;
}

.quill-render ol li[data-list=bullet].ql-indent-1 {
  margin-left: 4.5em;
}
/* Párrafos */
.quill-render p {
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
}

.quill-render p:first-child {
  margin-top: 0 !important;
}

.quill-render p:last-child {
  margin-bottom: 0 !important;
}

/* Encabezados */
.quill-render h1,
.quill-render h2,
.quill-render h3,
.quill-render h4,
.quill-render h5,
.quill-render h6 {
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.quill-render h1:first-child,
.quill-render h2:first-child,
.quill-render h3:first-child,
.quill-render h4:first-child,
.quill-render h5:first-child,
.quill-render h6:first-child {
  margin-top: 0 !important;
}

.quill-render h1 {
  font-size: 2rem !important;
}

.quill-render h2 {
  font-size: 1.75rem !important;
}

.quill-render h3 {
  font-size: 1.5rem !important;
}

.quill-render h4 {
  font-size: 1.25rem !important;
}

.quill-render h5 {
  font-size: 1.125rem !important;
}

.quill-render h6 {
  font-size: 1rem !important;
}

/* Listas */
.quill-render ol,
.quill-render ul {
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
  padding-left: 1.5rem !important;
}

.quill-render ol {
  list-style-type: decimal !important;
}

.quill-render ul {
  list-style-type: disc !important;
}

.quill-render li {
  margin-bottom: 0.5rem !important;
  line-height: 1.6 !important;
}

.quill-render li:last-child {
  margin-bottom: 0 !important;
}

/* Listas anidadas */
.quill-render ul ul,
.quill-render ol ol,
.quill-render ul ol,
.quill-render ol ul {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Enlaces */
.quill-render a {
  color: #0244da !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.quill-render a:hover {
  color: #0033aa !important;
  text-decoration: underline !important;
}

.quill-render a:visited {
  color: #6b46c1 !important;
}

/* Formato de texto */
.quill-render strong,
.quill-render b {
  font-weight: 700 !important;
}

.quill-render em,
.quill-render i {
  font-style: italic !important;
}

.quill-render u {
  text-decoration: underline !important;
}

.quill-render s,
.quill-render strike {
  text-decoration: line-through !important;
}

/* Citas */
.quill-render blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem 1.5rem !important;
  border-left: 4px solid #e0e0e0 !important;
  background-color: #f5f5f5 !important;
  font-style: italic !important;
  color: #666 !important;
}

.quill-render blockquote p {
  margin-bottom: 0.5rem !important;
}

.quill-render blockquote p:last-child {
  margin-bottom: 0 !important;
}

/* Código */
.quill-render code {
  background-color: #f4f4f4 !important;
  padding: 0.2rem 0.4rem !important;
  border-radius: 0.25rem !important;
  font-family: 'Courier New', monospace !important;
  font-size: 0.9em !important;
  color: #e83e8c !important;
}

.quill-render pre {
  background-color: #f4f4f4 !important;
  padding: 1rem !important;
  border-radius: 0.25rem !important;
  overflow-x: auto !important;
  margin: 1rem 0 !important;
}

.quill-render pre code {
  background-color: transparent !important;
  padding: 0 !important;
  color: inherit !important;
}

/* Imágenes */
.quill-render img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 1rem auto !important;
  border-radius: 0.25rem !important;
}

.quill-render img[style*="width"] {
  max-width: 100% !important;
}

.quill-render img[style*="height"] {
  height: auto !important;
}

/* Videos y embeds */
.quill-render iframe,
.quill-render video,
.quill-render embed {
  max-width: 100% !important;
  display: block !important;
  margin: 1rem auto !important;
}

/* Separadores */
.quill-render hr {
  border: none !important;
  border-top: 1px solid #e0e0e0 !important;
  margin: 1.5rem 0 !important;
}

/* Tablas (si Quill las soporta) */
.quill-render table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1rem 0 !important;
}

.quill-render table th,
.quill-render table td {
  padding: 0.5rem !important;
  border: 1px solid #e0e0e0 !important;
  text-align: left !important;
}

.quill-render table th {
  background-color: #f5f5f5 !important;
  font-weight: 600 !important;
}


/* ============================================
   New Campaign Template Styles
   Based on campaign-wordpress.html
   ============================================ */

/* CSS Variables */
:root {
  --greenBroota: #32c980;
  --greenBrootaDark: #1f8755;
  --redBroota: #ff1800;
  --orangeBroota: #fc5002;
  --blueBroota: #0244da;
  --gray-100: #f8f8f8;
  --gray-200: #eeeeee;
  --gray-300: #e7e7e7;
  --gray-400: #cfcfcf;
  --gray-500: #b3b3b3;
  --gray-600: #9e9e9e;
  --gray-700: #757575;
  --gray-800: #565656;
  --gray-900: #212529;
  --white: #ffffff;
  --box-shadow-custom: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Position relative wrapper */
.single-campaign-wrapper .position-relative {
  position: relative !important;
}

/* Top cover image */
.single-campaign-wrapper .top-cover-img {
  height: 450px !important;
  background-color: #f6f6f6 !important;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  background-size: cover !important;
}

@media (max-width: 991px) {
  .single-campaign-wrapper .top-cover-img {
    height: 230px !important;
  }
}

@media (max-width: 767px) {
  .single-campaign-wrapper .top-cover-img {
    height: 200px !important;
  }
  
  /* Mostrar imagen móvil y ocultar desktop en móvil */
  .top-cover-img .campaign-cover-desktop {
    display: none !important;
  }
  
  .top-cover-img .campaign-cover-mobile {
    display: block !important;
  }
}

/* Ocultar imagen móvil en desktop */
@media (min-width: 768px) {
  .top-cover-img .campaign-cover-mobile {
    display: none !important;
  }
  
  .top-cover-img .campaign-cover-desktop {
    display: block !important;
  }
}

@media (max-width: 575px) {
  .single-campaign-wrapper .top-cover-img {
    height: 450px !important;
  }
}

/* Campaign content */
.single-campaign-wrapper .campaign-content {
  margin: -5rem 5rem !important;
}

@media (max-width: 991px) {
  .single-campaign-wrapper .campaign-content {
    margin: -5rem 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .single-campaign-wrapper .campaign-content {
    margin: 0 !important;
  }
  
  /* Estilos móvil para card-header */
  .card-header {
    padding: 0.5rem !important;
  }
  
  /* Centrar logo en móvil */
  .card-header .campaign-logo {
    margin: 0 auto !important;
    width: 150px !important;
    height: 150px !important;
  }
  
  /* Cambiar layout del header a vertical y centrado */
  .card-header .pt-2 > div > div.d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Quitar padding izquierdo del contenedor de texto en móvil */
  .card-header .ps-2.flex-1 {
    padding-left: 0 !important;
    padding-top: 1rem !important;
    width: 100% !important;
  }
  
  /* Centrar nombre de campaña */
  .card-header .d-flex.align-items-center {
    justify-content: center !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .card-header h2.heading-section {
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  
  /* Centrar descripción */
  .card-header .font-weight-600.text-gray-dark {
    text-align: center !important;
    padding-right: 0 !important;
    margin-bottom: 1rem !important;
  }
  
  /* Centrar bloque "Catalizado por" */
  .card-header .d-flex.align-items-top {
    justify-content: center !important;
  }
  
  /* Centrar tags de información */
  .card-header .d-flex.align-items-center.px-1.ms-5.mt-3 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  /* Agregar margen vertical a los tags */
  .card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > div,
  .card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > a {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  /* Ajustar tamaño del link del sitio web en móvil */
  .card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > a {
    font-size: 0.875rem !important;
  }
}

/* Campaign logo */
.single-campaign-wrapper .campaign-logo {
  position: relative !important;
  width: 200px !important;
  height: 200px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: var(--white) !important;
  box-shadow: var(--box-shadow-custom) !important;
  margin: -3rem 3rem 1rem 1rem !important;
  flex-shrink: 0 !important;
}

.single-campaign-wrapper .campaign-logo img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 991px) {
  .single-campaign-wrapper .campaign-logo {
    margin: 0rem 1rem 1rem 0rem !important;
    width: 150px !important;
    height: 150px !important;
  }
}

@media (max-width: 575px) {
  .single-campaign-wrapper .campaign-logo {
    width: 100px !important;
    height: 100px !important;
    margin: 0rem 1rem 1rem 0rem !important;
  }
}

/* Typography */
.single-campaign-wrapper .heading-section {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.single-campaign-wrapper .text-gray-dark {
  color: var(--gray-800) !important;
}

.single-campaign-wrapper .text-gray-light {
  color: var(--gray-600) !important;
}

.single-campaign-wrapper .text-medium {
  font-size: 1rem !important;
}

/* Font weight utilities - generales y específicas */
.font-weight-300 {
  font-weight: 300 !important;
}

.font-weight-400 {
  font-weight: 400 !important;
}

.font-weight-600 {
  font-weight: 600 !important;
}

.single-campaign-wrapper .font-weight-300 {
  font-weight: 300 !important;
}

.single-campaign-wrapper .font-weight-400 {
  font-weight: 400 !important;
}

.single-campaign-wrapper .font-weight-600 {
  font-weight: 600 !important;
}

/* Estilos específicos para h4 y h5 en team cards */
.card h4.font-weight-400,
.card h4.text-muted,
.card h4 {
  font-size: 1rem !important;
}

.card h5.font-weight-400,
.card h5.text-muted,
.card h5 {
  font-size: 0.8125rem !important;
}

/* Excepción: h5 con card-title-wrap NO debe usar el tamaño pequeño */
.campaign-card h5.card-title-wrap,
.campaign-card .card-title-wrap,
.card-title-wrap h5 {
  font-size: inherit !important;
}

.border-right-light{
    border-right: 1px solid #cfcfcf !important;
}

/* Background colors */
.bg-lighter {
  background-color: #eee !important;
}

/* Borders */
.single-campaign-wrapper .border-left-grayLight {
  border-left: 1px solid var(--gray-300) !important;
}

.single-campaign-wrapper .border-rad-sm {
  border-radius: 0.25rem !important;
}

.single-campaign-wrapper .border-bottom-white {
  border-bottom: 1px solid var(--white) !important;
}

/* Avatar */
.single-campaign-wrapper .avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--gray-400) !important;
}

.single-campaign-wrapper .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.single-campaign-wrapper .rounded-circle {
  border-radius: 50% !important;
}

.sponsors .avatar {
  border: 1px solid #cfcfcf !important;
}

.sponsors .span {
  display: flex !important;
  width: 100px !important;
  flex-direction: column !important;
}

/* Sponsors and startup type */
.single-campaign-wrapper .sponsors,
.single-campaign-wrapper .startup-type {
  display: flex !important;
  align-items: center !important;
}

.single-campaign-wrapper .startup-type {
  border-left: 1px solid var(--gray-300) !important;
  padding-left: 0.75rem !important;
}

/* Video section - Reglas generales para cualquier video-container */
.video-container {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important; /* 16:9 aspect ratio - fallback para navegadores antiguos */
  overflow: hidden !important;
  height: 100% !important;
}

/* Usar aspect-ratio en navegadores modernos */
@supports (aspect-ratio: 16 / 9) {
  .video-container {
    aspect-ratio: 16 / 9 !important;
    padding-bottom: 0 !important;
  }
}

.video-container iframe,
.campaign-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--gray-200) !important;
  min-height: 100% !important;
  max-height: 100% !important;
}

/* Reglas específicas para single-campaign-wrapper */
.single-campaign-wrapper .video-container {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important; /* 16:9 aspect ratio - fallback para navegadores antiguos */
  overflow: hidden !important;
}

@supports (aspect-ratio: 16 / 9) {
  .single-campaign-wrapper .video-container {
    aspect-ratio: 16 / 9 !important;
    padding-bottom: 0 !important;
    height: auto !important;
  }
}

.single-campaign-wrapper .video-container iframe,
.single-campaign-wrapper .campaign-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--gray-200) !important;
  min-height: 100% !important;
  max-height: 100% !important;
}

.campaign-view-socials {
  color: #757575;
  background-color: #e7e7e7;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.05);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.campaign-view-socials i {
  padding: 7px 8px;
}

.campaign-view-socials:hover {
  background-color: #cfcfcf;
  transform: translateY(-2px);
  transition: all 0.15s ease;
}

.team-img-container {
  width: 208px;
  height: 208px;
}

.team-img-container img {
  width: 100%;
  object-fit: cover !important;
  height: 100%;
}

.team-img-container.team {
  width: 160px;
  height: 160px;
}

.investor-box-text {
  overflow: hidden;
  white-space: pre-wrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Media queries para video-container general */
@media (max-width: 991px) {
  .video-container {
    padding-bottom: 56.25% !important; /* Mantener 16:9 */
  }
  
  .video-container iframe,
  .campaign-video {
    height: 100% !important;
  }
  
  .single-campaign-wrapper .video-container {
    padding-bottom: 56.25% !important; /* Mantener 16:9 */
  }
  
  .single-campaign-wrapper .video-container iframe,
  .single-campaign-wrapper .campaign-video {
    height: 100% !important;
  }
  
  @supports (aspect-ratio: 16 / 9) {
    .video-container,
    .single-campaign-wrapper .video-container {
      padding-bottom: 0 !important;
    }
  }
}

@media (max-width: 767px) {
  .video-container {
    padding-bottom: 56.25% !important; /* Mantener 16:9 en móvil también */
  }
  
  .video-container iframe,
  .campaign-video {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
  }
  
  .single-campaign-wrapper .video-container iframe,
  .single-campaign-wrapper .campaign-video {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
  }
  
  @supports (aspect-ratio: 16 / 9) {
    .video-container,
    .single-campaign-wrapper .video-container {
      padding-bottom: 0 !important;
    }
  }
}

/* Campaign view socials */
.single-campaign-wrapper .campaign-view-socials {
  color: var(--gray-700) !important;
  background-color: var(--gray-300) !important;
  box-shadow: var(--box-shadow-custom) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  margin-right: 0.75rem !important;
  transition: all 0.15s ease !important;
}

.single-campaign-wrapper .campaign-view-socials i {
  padding: 7px 8px !important;
}

.single-campaign-wrapper .campaign-view-socials:hover {
  background-color: var(--gray-400) !important;
  transform: translateY(-2px) !important;
  transition: all 0.15s ease !important;
}

/* Progress bar */
.single-campaign-wrapper .progress {
  height: 1rem !important;
  background-color: var(--gray-200) !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
}

.single-campaign-wrapper .progress-bar {
  height: 100% !important;
  background-color: var(--greenBroota) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
}

/* Round details boxes */
.single-campaign-wrapper .round-details-boxes {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

.single-campaign-wrapper .round-details-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  min-width: 194px !important;
  height: 100% !important;
  background-color: var(--gray-200) !important;
  border-radius: 10px !important;
  text-align: center !important;
  margin: 1rem !important;
  block-size: fit-content !important;
}

.single-campaign-wrapper .round-details-box.line2 {
  background-color: transparent !important;
  border: 1px solid var(--gray-300) !important;
}

.single-campaign-wrapper .round-details-box-text {
  text-align: center !important;
  vertical-align: middle !important;
  align-self: center !important;
  padding: 1rem 1.5rem !important;
  margin: auto !important;
}

.single-campaign-wrapper .round-details-box .text {
  color: var(--gray-900) !important;
}

/* Campaign view title */
.single-campaign-wrapper .campaign-view-title {
  width: 100% !important;
  overflow: hidden !important;
  text-align: start !important;
  position: relative !important;
}

.single-campaign-wrapper .campaign-view-title::after {
  content: '' !important;
  display: inline-block !important;
  width: 100% !important;
  margin: 0 -55% 0 0.5em !important;
  vertical-align: middle !important;
  border-bottom: 1px solid var(--gray-200) !important;
}

@media (max-width: 767px) {
  .single-campaign-wrapper .campaign-view-title::after {
    display: none !important;
  }
}

/* Round comment */
.single-campaign-wrapper .round-comment {
  background: transparent !important;
  border: 1px solid var(--gray-800) !important;
  border-radius: 4px !important;
  margin: 1.2rem 0 !important;
  padding: 1rem !important;
}

.single-campaign-wrapper .round-comment-title {
  color: var(--gray-800) !important;
  margin-top: 0.5rem !important;
  padding-left: 0.5rem !important;
}

.single-campaign-wrapper .round-comment-text {
  padding-left: 5% !important;
  width: 95% !important;
}

.single-campaign-wrapper .round-comment-text p,
.single-campaign-wrapper .round-comment-text span {
  font-size: 0.8rem !important;
  line-height: 130% !important;
  color: var(--gray-800) !important;
}

/* Button styles */
.single-campaign-wrapper .btn-custom-primary {
  background-color: var(--greenBroota) !important;
  color: var(--white) !important;
  border-color: var(--greenBroota) !important;
}

.single-campaign-wrapper .btn-custom-primary:hover {
  background-color: var(--greenBrootaDark) !important;
  border-color: var(--greenBrootaDark) !important;
}

.single-campaign-wrapper .btn-custom-tertiary {
  background-color: var(--gray-300) !important;
  color: var(--gray-900) !important;
  border-color: var(--gray-300) !important;
}

.single-campaign-wrapper .btn-custom-tertiary:hover {
  background-color: var(--gray-400) !important;
  border-color: var(--gray-400) !important;
}

/* Responsive margins */
@media (min-width: 992px) {
  .single-campaign-wrapper .my-lg-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  .single-campaign-wrapper .mt-md-3 {
    margin-top: 1rem !important;
  }
  .single-campaign-wrapper .mb-md-2 {
    margin-bottom: 0.5rem !important;
  }
  .single-campaign-wrapper .mx-md-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
  }
}

@media (min-width: 576px) {
  .single-campaign-wrapper .mt-sm-4 {
    margin-top: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .single-campaign-wrapper .mx-lg-5 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
  }
}

/* Flex utilities */
.single-campaign-wrapper .flex-1 {
  flex: 1 !important;
}

.single-campaign-wrapper .d-flex {
  display: flex !important;
}

.single-campaign-wrapper .align-items-center {
  align-items: center !important;
}

.single-campaign-wrapper .align-items-top {
  align-items: flex-start !important;
}

.single-campaign-wrapper .justify-content-between {
  justify-content: space-between !important;
}

.single-campaign-wrapper .ps-2 {
  padding-left: 0.5rem !important;
}

.single-campaign-wrapper .ps-4 {
  padding-left: 1.5rem !important;
}

.single-campaign-wrapper .pe-2 {
  padding-right: 0.5rem !important;
}

.single-campaign-wrapper .px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.single-campaign-wrapper .px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.single-campaign-wrapper .py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.single-campaign-wrapper .pt-1 {
  padding-top: 0.25rem !important;
}

.single-campaign-wrapper .pt-2 {
  padding-top: 0.5rem !important;
}

.single-campaign-wrapper .mb-2 {
  margin-bottom: 0.5rem !important;
}

.single-campaign-wrapper .mb-3 {
  margin-bottom: 1rem !important;
}

.single-campaign-wrapper .mb-4 {
  margin-bottom: 1.5rem !important;
}

.single-campaign-wrapper .me-1 {
  margin-right: 0.25rem !important;
}

.single-campaign-wrapper .me-2 {
  margin-right: 0.5rem !important;
}

.single-campaign-wrapper .me-3 {
  margin-right: 1rem !important;
}

.single-campaign-wrapper .ms-2 {
  margin-left: 0.5rem !important;
}

.single-campaign-wrapper .ms-5 {
  margin-left: 3rem !important;
}

.single-campaign-wrapper .mt-2 {
  margin-top: 0.5rem !important;
}

.single-campaign-wrapper .mt-3 {
  margin-top: 1rem !important;
}

.single-campaign-wrapper .mt-4 {
  margin-top: 1.5rem !important;
}

.single-campaign-wrapper .my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.single-campaign-wrapper .my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* Text utilities */
.single-campaign-wrapper .text-start {
  text-align: left !important;
}

.single-campaign-wrapper .text-end {
  text-align: right !important;
}

.single-campaign-wrapper .text-center {
  text-align: center !important;
}

.single-campaign-wrapper .text-table {
  color: var(--gray-900) !important;
}

/* Width utilities */
.single-campaign-wrapper .w-100 {
  width: 100% !important;
}

.single-campaign-wrapper .width-100 {
  width: 100% !important;
}

/* Border utilities */
.single-campaign-wrapper .border-rad-xl {
  border-radius: 0.5rem !important;
}

.single-campaign-wrapper .border-light {
  border: 1px solid var(--gray-200) !important;
}

/* Full width containers - allow 90% width for content */
.single-campaign-content-wrapper,
.single-campaign-direct-output {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Override any theme container limitations */
.page-content .single-campaign-content-wrapper,
.page-content .single-campaign-direct-output,
#content .single-campaign-content-wrapper,
#content .single-campaign-direct-output,
.site-main .single-campaign-content-wrapper,
.site-main .single-campaign-direct-output {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-campaign-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

.single-campaign-wrapper .card {
  width: 100% !important;
  max-width: 100% !important;
}

/* Ensure top cover image is full width */
.single-campaign-wrapper .top-cover-img {
  width: 100% !important;
  max-width: 100% !important;
}

/* Override any container max-width that might limit the campaign content */
.page-content,
#content,
.site-main {
  max-width: 100% !important;
}

/* Ensure campaign-content uses 90% width */
.single-campaign-wrapper .campaign-content {
  max-width: 90% !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-campaign-wrapper .border-bottom-gray-dark {
  border-bottom: 1px solid var(--gray-800) !important;
}

/* Alinear badges de información en la misma línea */
.card-header .d-flex.align-items-center.px-1.ms-5.mt-3 {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
}

.card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > div,
.card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > a {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.hr {
  margin: 2rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
  opacity: 0.05 !important;
}

.border-rad-sm {
  border-radius: .25rem;
}
/* Asegurar que el link tenga el mismo tamaño de fuente */
.card-header .d-flex.align-items-center.px-1.ms-5.mt-3 > a.text-xs {
  font-size: 0.75rem !important;
}

/* Centrar iconos verticalmente */
.card-header .d-flex.align-items-center.px-1.ms-5.mt-3 i {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* Estilos para side-menu-list */
.side-menu-list li {
  list-style: none !important;
  color: #757575 !important;
  padding: 5px 0;
}

.side-menu-list li a {
  color: #757575 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.side-menu-list li a:hover {
  color: #ff1800 !important;
}

.side-menu-list {
  padding-left: 0 !important;
}

/* ============================================
   Campaign "Conoce más" Section Styles
   ============================================ */

:root {
  --brand: #0244da;
  --brand-hover: #02203f;
  --icon-bg: #f1f5fe;
  --section-bg: #f6f7fb;
}

.text-blueBroota {
  color: var(--brand) !important;
}

.campaign-section {
  background: var(--section-bg) !important;
}

.campaign-card {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08) !important;
  height: 100% !important;
}

/* Círculo con relleno */
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  color: var(--brand);
  flex: 0 0 auto;
}

.icon-circle svg {
  width: 28px;
  height: 28px;
}

/* Título wrap */
.card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.15;
  font-size: 28px !important;
}

/* Aplicar font-size directamente al h5 dentro de card-title-wrap para mayor especificidad */
.campaign-card .card-title-wrap,
.campaign-card h5.card-title-wrap,
.campaign-card h5.fw-bold.card-title-wrap,
.campaign-card .card-body h5.card-title-wrap {
  font-size: 28px !important;
}

.campaign-card .card-link {
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}

.campaign-card .card-link:hover {
  color: var(--brand-hover) !important;
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */

/* Mobile (hasta ~576px) */
@media (max-width: 575.98px) {
  .campaign-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .campaign-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .campaign-card .card-body {
    padding: 1.25rem !important;
  }

  .icon-circle {
    width: 44px;
    height: 44px;
  }

  .icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .card-title-wrap {
    font-size: 20px;
    line-height: 1.2;
  }

  .campaign-card .card-link {
    font-size: 16px;
  }

  /* Ajuste de gutters en pantallas chicas */
  .campaign-section .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

/* Tablet (>=576px y <992px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .campaign-card .card-body {
    padding: 1.5rem !important;
  }

  .card-title-wrap {
    font-size: 22px;
  }

  .campaign-card .card-link {
    font-size: 16px;
  }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
  .card-title-wrap {
    font-size: 28px;
  }

  .campaign-card .card-link {
    font-size: 18px;
  }
}


