/* ==================================================
   SEOXPERTO — FOOTER COMPARTIDO WORDPRESS / LARAVEL
   Cargado en todas las vistas Laravel, públicas y app.
   ================================================== */

/* ==================================================
   SEOXPERTO — FOOTER COMPARTIDO WORDPRESS / LARAVEL
   ================================================== */

.seoxp-global-footer,
.seoxp-global-footer * {
  box-sizing: border-box;
}

.seoxp-global-footer{
  font-size: 1.1rem;
    line-height: 2.2;
}

.seoxp-global-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: #a6abb3;
  background: #111;
}

/* Secciones a ancho completo */
.seoxp-global-footer > .wp-block-group.alignfull {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Colores Gutenberg que Laravel no conoce */
.seoxp-global-footer .has-black-background-color {
  background-color: #111 !important;
}

.seoxp-global-footer .has-white-color {
  color: #fff !important;
}

.seoxp-global-footer .has-body-text-color {
  color: #a6abb3 !important;
}

.seoxp-global-footer .has-link-color a {
  color: #fff !important;
}

/* Ancho interior */
.seoxp-global-footer .wp-block-columns.alignwide,
.seoxp-global-footer
  > .wp-block-group.alignfull
  > .wp-block-group.alignwide {
  width: 100% !important;
  max-width: 1300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}


/* Tres columnas principales */
.seoxp-global-footer .wp-block-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  column-gap: 2rem !important;
  row-gap: 2rem !important;
}

.seoxp-global-footer .wp-block-column {
  flex-grow: 1 !important;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Gutenberg no hace crecer columnas con ancho explícito */
.seoxp-global-footer .wp-block-column[style*="flex-basis"] {
  flex-grow: 0 !important;
}

/* Flex internos de Gutenberg */
.seoxp-global-footer .wp-block-group.is-layout-flex,
.seoxp-global-footer .wp-block-buttons.is-layout-flex {
  display: flex !important;
  align-items: center !important;
}

.seoxp-global-footer .is-nowrap {
  flex-wrap: nowrap !important;
}

/* Tipografía */
.seoxp-global-footer h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: #fff !important;
  line-height: 1.25;
}

.seoxp-global-footer p {
  margin-top: 0;
  line-height: 1.75;
}

.seoxp-global-footer a {
  text-decoration: none;
}

/* Botón naranja */
.seoxp-global-footer .wp-block-button__link {
  display: inline-block;
  padding: 14px 30px;
  color: #fff !important;
  background: #f47738;
  border: 0;
  border-radius: 0;
  line-height: 1;
  text-decoration: none;
}

.seoxp-global-footer .wp-block-button__link:hover {
  color: #fff;
    background: #006847;
    text-decoration: underline;
}

/* Lista de enlaces con iconos circulares */
.seoxp-global-footer ul.wp-block-list {
  padding: 0;
  list-style: none;
}

.seoxp-global-footer ul.wp-block-list li {
  position: relative;
  padding-left: 28px;
  color: #fff;
}

.seoxp-global-footer ul.wp-block-list li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #f47738;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
}

/* Imagen del correo */
.seoxp-global-footer .wp-block-image {
  margin: 0;
}

.seoxp-global-footer .wp-block-image img {
  display: block;
  object-fit: contain;
}

/* Barra inferior */
.seoxp-global-footer
  > .wp-block-group.alignfull:last-child {
  color: #fff;
  background: #000 !important;
}

.seoxp-global-footer
  > .wp-block-group.alignfull:last-child
  > .wp-block-group.alignwide {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Redes sociales */
.seoxp-global-footer .wp-block-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.seoxp-global-footer .wp-block-social-links li {
  margin: 0 !important;
  padding: 0 !important;
}

.seoxp-global-footer .wp-block-social-link-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.seoxp-global-footer .wp-block-social-link-anchor svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Equivalente al helper accesible de WordPress */
.seoxp-global-footer .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Responsive */
@media (max-width: 780px) {
  .seoxp-global-footer .wp-block-columns {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .seoxp-global-footer .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
    padding-right: 0 !important;
  }

  .seoxp-global-footer
    > .wp-block-group.alignfull:last-child
    > .wp-block-group.alignwide {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
    text-align: center;
  }

  .seoxp-global-footer .wp-block-social-links {
    justify-content: center !important;
  }

  .seoxp-global-footer .has-text-align-right {
    text-align: center !important;
  }
}
.footer_enlace > a:link {
  color: #ffffff;
}

.seoxp-global-footer .wp-block-paragraph.has-link-color a {
    color: rgb(223, 107, 58) !important;
    text-decoration-color: rgb(223, 107, 58) !important;
}
#parrafo_enlace_footer{
    margin-bottom: 0;
}

.seoxp-global-footer img.wp-image-8087 {
    filter: invert(47%) sepia(85%) saturate(394%) hue-rotate(104deg) brightness(91%) contrast(89%);
}
.seoxp-global-footer .wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-cf176e5f {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    box-sizing: border-box;
    
}

.seoxp-global-footer .wp-block-column:not([style*="flex-basis"]) {
    flex-basis: 0 !important;
    flex-grow: 1 !important;
}

.seoxp-global-footer {
    --wp--preset--spacing--20: min(1.5rem, 2vw);
}

.seoxp-global-footer .wp-block-column > * + * {
    margin-block-start: 10px;
    margin-block-end: 0px;
}

#footer_bar p{
margin-bottom: 0;
}

#footer_bar .wp-block-social-links .wp-social-link svg {
width: 1.2em;
height: 1.2em;
}

#footer_bar{
border: solid; border-top-color: #333131; border-top-width: 1px; border-left-width: 0; border-bottom-width: 0; border-right-width: 0;
}

/* Footer: hover legible para enlaces de texto, sin afectar botones ni redes sociales */
.seoxp-global-footer a:not(.wp-block-button__link):not(.wp-block-social-link-anchor):hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
