/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Child theme para Augusto Lambrecht & Asociados
 Author: Camila Paladino
 Template: generatepress
 Version: 1.0
 Text Domain: generatepress-child
*/

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.site.grid-container.container.hfeed {
  flex: 1;
}

/*  HEADER  & FOOTER */

#menu-top .menu-item-2548 .elementor-item,
#menu-top .menu-item-2545 .elementor-item {
  position: relative;
}

#menu-top .menu-item-2548 .elementor-item:before {
  content: url(http://alabfin.com/wp-content/uploads/2025/11/icon-phone.svg);
  position: absolute;
  left: 5px;
  height: 30px;
  top: 13px;
  bottom: 0;
  width: 20px;
  opacity: 1;
}

#menu-top .menu-item-2545 .elementor-item:before {
  content: url(http://alabfin.com/wp-content/uploads/2025/11/icon-email.svg);
  position: absolute;
  left: 0px;
  height: 30px;
  top: 16px;
  bottom: 0;
  width: 20px;
  opacity: 1;
}

#nav-header .elementor-item,
#nav-footer .elementor-item {
  text-transform: uppercase;
  font-size: 0.9rem;
}

.elementor-menu-toggle #Capa_2 path {
  fill: var(--e-global-color-primary) !important;
  transition: all ease 0.3s;
}

.elementor-menu-toggle #Capa_2:hover path {
  fill: var(--e-global-color-accent) !important;
}

#iconAllServices #Capa_2 path.cls-2,
#iconAllServices #Capa_2:hover path.cls-2,
#iconAllServices2 #Capa_2 path.cls-2,
#iconAllServices2 #Capa_2:hover path.cls-2 {
  stroke: #e8eded !important;
  fill: #ffffff !important;
}

#iconAllServices #Capa_2 path.cls-1,
#iconAllServices2 #Capa_2 path.cls-1 {
  fill: #afa272 !important;
  stroke: none !important;
}

#iconAllServices
  #Capa_2:hover
  path
  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  min-height: 100vh;
  padding-top: 40px;
}

#nav-header .menu-item-47 .elementor-item {
  color: #ffffff;
  background-color: #132030;
  border-radius: 25px;
}

#nav-header .menu-item-47 .elementor-item:hover {
  background-color: #afa272;
}

#nav-header .menu-item-47 .elementor-item::after,
#nav-footer .menu-item-47 .elementor-item::after {
  display: none;
}

#nav-header .elementor-nav-menu--main .elementor-nav-menu a,
#nav-footer .elementor-nav-menu--main .elementor-nav-menu a {
  padding: 8px 20px !important;
}

#topbar-header .e-n-menu-title-text,
#topbar-footer .e-n-menu-title-text {
  font-size: 0.9rem;
}

#nav-footer .menu-item-47 .elementor-item {
  color: #132030;
  background-color: #afa272;
  border-radius: 25px;
}

#nav-footer .menu-item-47 .elementor-item:hover {
  background-color: #ffffff;
}

/* Formulario Contacto */
.wpforms-container input.wpforms-field-large,
div.wpforms-container-full textarea {
  font-family: cormorant-garamond, sans-serif;
  color: #ffffff !important;
  font-size: 15px;
}

.wpforms-container input.wpforms-field-large::placeholder,
div.wpforms-container-full textarea::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

#wpforms-confirmation-347 {
  border: solid 1px #ffffff30;
  background-color: #ffffff12;
  padding: 50px;
  max-width: 400px;
  margin: 0 auto;
}

#wpforms-confirmation-347 p {
  text-align: center;
  color: #ffffff;
  font-size: 20px;
}

#wpforms-submit-347 {
  width: 100%;
  text-transform: uppercase;
  font-family: helvetica-neue-lt-pro, sans-serif;
  transition: all ease 0.3s;
}

#wpforms-submit-347:hover {
  background-color: #1b2c4a;
  color: #afa272;
}

div.wpforms-container-full .wpforms-form label.wpforms-error,
div.wpforms-container-full .wpforms-form em.wpforms-error {
  font-family: helvetica-neue-lt-pro, sans-serif;
}

/*  GENERALES */

body {
  margin: 0 !important;
}

/*  SINGLE POST */
.category-post .elementor-heading-title {
  text-transform: uppercase;
}

/*POST STYLES*/

.elementor-widget-theme-post-content p,
.elementor-widget-theme-post-content li {
  font-size: 15px;
  line-height: 125%;
  margin: 0 0 18px;
  font-family: helvetica-neue-lt-pro, sans-serif;
  font-weight: 300;
  color: #132030;
}

.elementor-widget-theme-post-content h2 {
  font-size: 55px;
  line-height: 115%;
  margin: 38px 0 14px;
  font-family: cormorant-garamond, sans-serif;
  color: #132030;
  font-weight: 400;
}

.elementor-widget-theme-post-content h3 {
  font-size: 30px;
  line-height: 125%;
  margin: 38px 0 14px;
  font-family: cormorant-garamond, sans-serif;
  color: #132030;
  font-weight: 600;
}

.elementor-widget-theme-post-content h6 {
  font-size: 40px;
  line-height: 125%;
  margin: 38px 0 14px;
  font-family: cormorant-garamond, sans-serif;
  color: #afa272;
  font-weight: 600;
}

.elementor-widget-theme-post-content a sup {
  color: #afa272;
  font-weight: 500;
}

.elementor-widget-theme-post-content p + h3 {
  margin-top: 42px;
}

.citas-blog {
  padding-top: 30px;
  border-top: solid 1px #e8eded;
  margin-top: 30px;
}

.citas-blog p {
  font-size: 12px;
  color: #575757;
  margin-bottom: 15px;
}

/*SERVICIOS ÁREAS DE ACTUACIÓN*/

.contenedor-contacto {
  max-width: 500px;
  margin: 0 auto;
}

.elementor-32
  .elementor-element.elementor-element-64f8c82.elementor-widget-n-tabs
  > .e-n-tabs
  > .e-n-tabs-heading
  > :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
  max-width: calc(100% / 10);
}

@media (max-width: 1024px) {
  .contenedor-contacto {
    max-width: 100%;
  }

  #nav-header .menu-item-47 .elementor-item {
    color: #ffffff;
    background-color: #afa272 !important;
    border: solid 1px #afa272 !important;
    border-radius: 25px;
    width: fit-content;
  }

  #nav-header .menu-item-47 .elementor-item:hover {
    color: #afa272;
    background-color: #132030 !important;
    border-radius: 25px;
    width: fit-content;
  }

  #nav-header .menu-item-47 {
    padding-left: 30px;
    margin-top: 10px;
  }

  .elementor-widget-theme-post-content h2,
  .title-post h2 {
    font-size: 40px !;
  }

  .elementor-widget-theme-post-content h3 {
    font-size: 30px;
    line-height: 115%;
  }
}

:root {
  --serv-card-height: 550px;
  --serv-card-banca: 550px;
  --serv-card-energia: 550px;
}

/* =========================
   DESKTOP (alto fijo + scroll)
========================= */
@media (min-width: 1024px) {
  .servicios-slider .swiper-slide {
    height: var(--serv-card-height) !important;
  }

  .servicios-slider-banca .swiper-slide {
    height: var(--serv-card-banca) !important;
  }

  .servicios-slider-energia .swiper-slide {
    height: var(--serv-card-energia) !important;
  }

  .servicios-slider .e-con,
  .servicios-slider-banca .e-con,
  .servicios-slider-energia .e-con {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .servicios-slider .elementor-widget-heading,
  .servicios-slider-banca .elementor-widget-heading,
  .servicios-slider-energia .elementor-widget-heading {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }

  .servicios-slider .elementor-widget-text-editor,
  .servicios-slider-banca .elementor-widget-text-editor,
  .servicios-slider-energia .elementor-widget-text-editor {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 10px;
    overscroll-behavior: contain;
  }
}

/* =========================
   TABLET FIX: card auto-height
   (<1024px)
========================= */
@media (max-width: 767px) {
  .servicios-slider .swiper-slide,
  .servicios-slider-banca .swiper-slide,
  .servicios-slider-energia .swiper-slide {
    height: auto !important;
  }

  .servicios-slider .e-con,
  .servicios-slider-banca .e-con,
  .servicios-slider-energia .e-con {
    height: auto !important;
    min-height: unset !important;
    display: block;
  }

  .servicios-slider .elementor-widget-text-editor,
  .servicios-slider-banca .elementor-widget-text-editor,
  .servicios-slider-energia .elementor-widget-text-editor {
    overflow: visible;
    max-height: none;
    padding-right: 0;
  }

  .elementor-widget-theme-post-content h2,
  .title-post h2 {
    font-size: 30px !important;
  }

  .elementor-widget-theme-post-content h3 {
    font-size: 22px;
  }

  .citas-blog p {
    font-size: 11px;
    color: #575757;
    margin-bottom: 15px;
  }
}
