/* Contenedor del feed: centra y limita ancho */
.fb-feed-wrap { max-width: 720px; margin: 0 auto; }

/* Fondo siempre claro aunque el feed herede estilos */
.cff-feed, .cff-wrapper, .cff-item, .cff-post, .cff-post-container { 
  background: #ffffff !important; 
}

/* Texto principal y párrafos */
.cff-post-text, .cff-post-text p, .cff-caption, .cff-post-body, .cff-text { 
  color: #0e2442 !important; 
}

/* Enlaces */
.cff-post-text a, .cff-link, .cff-post-links a { 
  color: #003366 !important; 
  text-decoration: none; 
}

/* Fecha/autor más discretos pero legibles */
.cff-date, .cff-author, .cff-author a { 
  color: #445066 !important; 
}

/* Botón "Cargar más" con corporativo */
.cff-load-more, .cff-load-more button { 
  background: #003366 !important; 
  color: #ffffff !important; 
  border: none !important; 
  border-radius: 6px !important; 
}
.cff-load-more:hover, .cff-load-more button:hover { 
  filter: brightness(0.95); 
}

/* Medios ajustados al ancho (evita desbordes/descuadres) */
.cff-media, .cff-media-wrap { overflow: hidden; }
.cff-media img, .cff-media video, .cff-media iframe {
  width: 100% !important; 
  height: auto !important; 
  display: block;
}

/* Si algún overlay azul del tema tapa el texto */
.cff-shaded-bg, .cff-overlay { background: transparent !important; }

/* (Opcional) limitar altura visual de vídeos en desktop */
@media (min-width: 1025px){
  .cff-media { max-height: 420px; }
}
/* Arreglar que el feed de Facebook se salga del borde */
.fb-feed-wrap {
  padding: 0 16px;
  overflow: hidden;
}

.fb-feed-wrap * {
  box-sizing: border-box;
}

.fb-feed-wrap img,
.fb-feed-wrap iframe,
.fb-feed-wrap video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* El texto del título en blanco */
.fb-feed-wrap h2 {
  color: #ffffff !important;
  text-align: center;
}
/* Ajustar tamaño de emojis en el feed de Facebook */
.fb-feed-wrap .cff-post-text,
.fb-feed-wrap .cff-post-text * {
  font-size: 16px !important;
  line-height: 1.5em !important;
}

/* Reducir específicamente el tamaño de los emojis */
.fb-feed-wrap .cff-post-text span,
.fb-feed-wrap .cff-post-text strong,
.fb-feed-wrap .cff-post-text em {
  font-size: 0.9em !important;
}
/* Ajuste del feed de Facebook en móviles */
@media (max-width: 768px){
  .belda-feed .cff-post-text {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .belda-feed .cff-post-text * {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  /* Ajustar emojis (que se ven grandes en móvil) */
  .belda-feed .cff-post-text img.emoji,
  .belda-feed .cff-post-text svg {
    width: 1em !important;
    height: 1em !important;
    vertical-align: -0.15em !important;
  }
}
