.wp-content {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 17px; 
  line-height: 1.75;
  font-weight: 400;
  color: #222;
}
.wp-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}
.wp-content figure img {
  display: block;
  margin: 0;
}
.wp-content figure {
  max-width: 100%;
  margin: 0;
}
.wp-content figcaption,
.wp-content .wp-caption-text {
  background-color: #e6e6e6;
  color: #666;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0;
  border-radius: 4px;
  text-align: center;
  line-height: 1.4;
}
.wp-content iframe,
.wp-content embed,
.wp-content video {
  max-width: 100%;
  display: block;
  margin: 1.5rem auto;
}
.wp-content .wp-video,
.wp-content .embed-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.wp-content .wp-video iframe,
.wp-content .embed-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wp-content p {
  margin-bottom: 1.25rem;
}
.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4 {
  margin: 1.8rem 0 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.wp-content ul,
.wp-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.wp-content a {
  color: var(--color-secundario);
  text-decoration: none;
}
.wp-content a:hover {
  text-decoration: underline;
}
.wp-content .wp-block-image {
  margin: 2rem 0;
}
.wp-content .wp-block-quote {
  border-left: 4px solid var(--color-secundario);
  padding-left: 1rem;
  color: #555;
  margin: 2rem 0;
  font-style: italic;
}
.wp-content .wp-block-table {
  overflow-x: auto;
}
.wp-content table {
  width: 100%;
  border-collapse: collapse;
}
.wp-content table th,
.wp-content table td {
  padding: .75rem;
  border: 1px solid #ddd;
}
.wp-content * {
  max-width: 100%;
}
.wp-content iframe[src*="youtube"],
.wp-content iframe[src*="vimeo"] {
  aspect-ratio: 16 / 9;
  height: auto;
}
.wp-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.wp-content .wp-block-table {
  overflow-x: auto;
}

.wp-content table {
  width: 100%;
  max-width: 100%;
}
.wp-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--color-secundario);
  color: #555;
}
.wp-content ul,
.wp-content ol {
  padding-left: 1.5rem;
}
.wp-content .alignleft {
  float: left;
  margin: 0.5rem 1rem 0.5rem 0;
}

.wp-content .alignright {
  float: right;
  margin: 0.5rem 0 0.5rem 1rem;
}

.wp-content .aligncenter {
  display: block;
  margin: 1rem auto;
}
.wp-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.wp-content .wp-block-gallery img {
  width: 100%;
  height: auto;
}
.wp-content audio {
  width: 100%;
}
.wp-content iframe {
  max-width: 100% !important;
}
.wp-content > *:first-child {
  margin-top: 0;
}

.wp-content > *:last-child {
  margin-bottom: 0;
}
.wp-content img[width] {
  width: auto !important;
}
.wp-content * {
  box-sizing: border-box;
}
.wp-content .elementor,
.wp-content .elementor-section,
.wp-content .elementor-column,
.wp-content .elementor-container,
.wp-content .elementor-widget {
  max-width: 100% !important;
}
.wp-content .elementor-section-full_width {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
}
.wp-content .elementor img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wp-content .elementor-video,
.wp-content .elementor-video iframe {
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
.wp-content .elementor-heading-title {
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 1.3;
}
.wp-content .elementor-text-editor {
  font-size: 1rem;
  line-height: 1.7;
}
.wp-content iframe[src*="instagram"],
.wp-content iframe[src*="facebook"],
.wp-content iframe[src*="twitter"],
.wp-content iframe[src*="tiktok"] {
  max-width: 100% !important;
}
@media (max-width: 768px) {
  .wp-content .elementor-column {
    width: 100% !important;
  }
}

/********************************
 * BOTONES ELEMENTOR
 ********************************/
.wp-content .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}
.wp-content .elementor-button-text {
  display: inline-block;
}
.wp-content .elementor-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-content .elementor-button-icon svg {
  width: 1em;
  height: 1em;
  max-width: 1em;
  max-height: 1em;
  fill: currentColor;
}
.wp-content svg {
  vertical-align: middle;
}
.wp-content .elementor-size-sm {
  font-size: 0.875rem;
}
.wp-content .elementor-size-md {
  font-size: 1rem;
}

.wp-content .elementor-size-lg {
  font-size: 1.125rem;
}
/********************************
 * ESTILO VISUAL (opcional)
 ********************************/
.wp-content .elementor-button-link {
  background-color: var(--color-secundario);
  color: #fff;
}
.wp-content .elementor-button-link:hover {
  opacity: 0.9;
  text-decoration: none;
}
.wp-content .elementor-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}