/*
Theme Name: Iberoglobe WP Elementor
Theme URI: https://iberoglobe.com/
Author: Iberoglobe
Description: Tema clásico de WordPress para Iberoglobe, preparado para edición completa con WordPress, Gutenberg y Elementor; incluye plantillas full width/canvas, Theme Builder, menús, widgets, formularios y leads.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iberoglobe
*/

/* Registro del tema. El diseño principal se carga desde assets/css/main.css. */

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.sticky,
.bypostauthor {
  outline: 0;
}

.page-content > * + *,
.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content img {
  height: auto;
  max-width: 100%;
}

.entry-meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.posts-list {
  display: grid;
  gap: 1.25rem;
}

.posts-list .legal-card h2 {
  margin-top: 0;
}

.posts-list .legal-card a {
  text-decoration: none;
}

.pagination {
  margin-top: 2rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pagination a,
.pagination span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: inherit;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.comments-area {
  margin-top: 2rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  margin-top: 1rem;
}


/* Compatibilidad con Gutenberg, Elementor y constructores visuales. */
.ibg-builder-content {
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 92, 230, 0.08), transparent 28%),
    radial-gradient(circle at 94% 2%, rgba(244, 163, 0, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 42%, #ffffff 100%);
  min-height: 60vh;
  overflow-x: hidden;
}

.ibg-builder-entry {
  margin: 0;
  width: 100%;
}

.ibg-builder-entry > *:first-child,
.ibg-builder-entry .elementor > *:first-child {
  margin-top: 0;
}

.ibg-builder-content--canvas {
  background: #ffffff;
}

.ibg-canvas-template {
  background: #ffffff;
}

.site-footer__widgets {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  padding: 0 0 34px;
  width: min(1180px, calc(100% - 36px));
}

.site-footer__widgets .widget {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__widgets .widget-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 18px;
}

.wp-block-button__link {
  border-radius: 999px;
  font-weight: 850;
}

.wp-block-group.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.elementor-widget-shortcode .contact-section,
.elementor-widget-html section:first-child {
  margin-top: 0;
}

.elementor-page .ibg-builder-content {
  background: #ffffff;
}

.elementor-editor-active .reveal,
.elementor-page .reveal {
  opacity: 1;
  transform: none;
}
