footer.wp-block-template-part {
  background-color: #FFF;
  padding-top: 40px;
}

footer .footer-bottom-bar {
    height: 35px;
    background-image: url(../img/filete-footer.png);
    background-repeat: repeat-y;
}

footer.wp-block-template-part,
footer.wp-block-template-part p,
footer.wp-block-template-part h1,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3,
footer.wp-block-template-part h4,
footer.wp-block-template-part h5,
footer.wp-block-template-part h6,
footer.wp-block-template-part span,
footer.wp-block-template-part a,
footer.wp-block-template-part li,
footer.wp-block-template-part div {
  color: #4e4f50;
  font-size: 15px;
  line-height: 23px;
  font-family: 'SpartanMB', sans-serif !important;  
}

@media (min-width:768px) {
  footer.wp-block-template-part > .wp-block-group > .wp-block-group {
    padding-left:45px;
    padding-right:45px;
    box-sizing: border-box;
  }
}


footer.wp-block-template-part h5.wp-block-heading,
footer.wp-block-template-part h5.wp-block-heading a {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 10px;
  font-family: 'SpartanMB', sans-serif !important;
  font-weight: 200;
}

footer.wp-block-template-part .footer-social-row{
  gap:26px;
}

/* Distribución columnas footer en px */
footer .wp-block-columns {
  gap: 56px; /* separación entre columnas */
}

footer .wp-block-columns > .wp-block-column:first-child {
  flex: 0 0 310px;  
  min-width: 250px;  
}  

footer .wp-block-columns > .wp-block-column:nth-child(2){
  flex: 0 0 375px;  
  min-width: 375px;  
}

footer .wp-block-group-form-container{
  flex: 0 0 380px;
  overflow: hidden; 
  box-sizing: border-box;
}


footer .wpcf7 input[type="email"],
footer .wpcf7-form-control-wrap {
  display: inline-block;
}

@media (min-width:768px){
  footer .wpcf7 input[type="email"],
  footer .wpcf7-form-control-wrap {
    max-width: 100%;
    width: 380px;
    display: inline-block;
  }
}

footer .footer-form-container > p {
  position: relative;
}

footer .wpcf7 input[type="email"] {
  background-color: #FFF;
  box-sizing: border-box;
  height: 51px;
  border-radius: 27px;
  -moz-border-radius: 27px;
  -webkit-border-radius: 27px;
  margin-bottom: 0;
  border: 1px solid var(--celeste);
  padding-left: 25px;
}

footer .wp-block-columns .wpcf7 input[type="email"]::placeholder {
  color:#9d9d9d;
  font-size: 15px;
  font-weight: 200;
}

footer .wp-block-columns .wpcf7 input[type="submit"] {
  cursor: pointer;
  background-color: var(--celeste);
  color:#FFF;
}

footer a  {
  text-decoration: none !important;
}

footer .wp-block-columns p {
  margin-bottom:20px !important;
}


footer .wp-block-navigation__container:only-child {
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap:0px;
}

footer .wpcf7-response-output {
  display: none !important;
}

footer .wpcf7-not-valid-tip {
  transform: translate(16px, 0);
}

.footer-form-container {
  display: flex;
  flex-direction: row;
}

footer .copy-para {
  font-size: 14px;
}

footer .copy-para a {
  color:var(--celeste);
    font-size: 14px;
}


footer .wpcf7-form input.wpcf7-submit{
  width: 133px;
  background-color: var(--celeste);
  position: absolute !important;
  right: 0;
  top: 0;
  color:#FFF;
  height: 51px;
  border-radius:30px;
  -moz-border-radius:30px;
  -webkit-border-radius:30px;
  animation: all 1s;
}

footer .wpcf7-form input.wpcf7-submit:hover,
footer .wpcf7-form input.wpcf7-submit:focus,
footer .wpcf7-form input.wpcf7-submit:active {
  text-decoration: none;
  background-color: var(--azul);
  cursor: pointer;
}

@media (max-width:767px){

  .footer-form-container {
    max-width: calc(100% - 20px);
  }

  footer .wp-block-group-form-container{
    flex: 0 0 330px;
    overflow: hidden; 
    box-sizing: border-box;
  }


  footer.wp-block-template-part .footer-social-row {
    margin-bottom: 56px;
  }

  footer .wpcf7 input[type="email"], footer .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
  }

}