@import url(./custom-styles/homepage.css);
@import url(./custom-styles/footer.css);
@import url(./custom-styles/bloques.css);
@import url(./custom-styles/servicios.css);
@import url(./custom-styles/menu.css);
@import url(./custom-styles/buscador.css);
@import url(./custom-styles/sticky-site-header.css);
@import url(./custom-styles/ficha-persona.css);
@import url(./custom-styles/detalle-servicio.css);
@import url(./custom-styles/detalle-evento.css);
@import url(./custom-styles/listado-personas.css);
@import url(./custom-styles/listado-casos.css);
@import url(./custom-styles/sectores.css);
@import url(./custom-styles/talento.css);
@import url(./custom-styles/casos.css);
@import url(./custom-styles/oficinas.css);
@import url(./custom-styles/contacto.css);
@import url(./custom-styles/listado-insights.css);
@import url(./custom-styles/listado-noticias.css);
@import url(./custom-styles/pmi.css);
@import url(./custom-styles/sala-prensa.css);
@import url(./custom-styles/pre-servicio.css);
@import url(./custom-styles/error-404.css);
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@font-face {
  font-family: "Inter-var";
  src: url(custom-styles/fonts/Inter-VariableFont_opsz\,wght.ttf)
    format("woff2-variations");
  /* Define los rangos soportados por la fuente */
  font-weight: 100 900; /* Ejemplo: peso de 100 a 900 */
  font-stretch: 50% 200%; /* Ejemplo: ancho de 50% a 200% */
}

body {
  font-family: "Inter-var", sans-serif;
  background:#253E46;
  color:#fff;
}

p,
a,
h1,
h2,
h3,
h4 {
  font-family: "Inter-var", sans-serif;
}
.has-inter-font-family {
  font-family: "Inter-var", sans-serif !important;
}

.has-poppins-font-family {
  font-family: "Poppins", sans-serif !important;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 2px;
    outline-color: #ffffff00;
    outline-style: solid;
}
strong{font-weight: bold;}

a:where(:not(.wp-element-button)) {
    color: #cc4c45;
    font-family: var(--wp--preset--font-family--inter);
}

.polylang_langswitcher {
  position: absolute;
  z-index: 999;
  right: 160px;
  margin-top: 35px;

  @media screen and (max-width: 768px) {
    right: 90px;
    margin-top: -3px;
  }
}

.contacto-header {
  position: absolute;
  z-index: 999;
  right: 55px;
  background-color: #9fb6be;
  background-image: url(./assets/images/btn_contact.svg);
  background-repeat: no-repeat;
  font-size: 0px;
  height: 75px;
  width: 85px;
  background-position: center 55%;
  margin-top: 35px;
  background-size: 35px;
  &:hover{background-color: #17222A;

  }

  @media screen and (max-width: 768px) {
    right: 12px;
    margin-top: 13px;
    width: 60px;
    height: 60px;
    background-size: 28px;
  }
}

#lang_choice_1 {
  background: none;
  padding-left: 1rem;
  height: 75px;
  font-weight: bold;
  width: 80px;
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  border: 2px solid #71858c;
  margin-top: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-indent: 1px;

  @media screen and (max-width: 768px) {
    padding-left: 14px;
    height: 61px;
    font-weight: bold;
    width: 68px;
    color: white;
    font-size: 15px;
  }

  option {
    background: transparent;
  }
}

.polylang_langswitcher::after {
  width: 0;
  height: 0;
  position: absolute;
  top: 51%;
  right: 5px;
  content: ">";
  z-index: 98;
  color: #f85900;
  transform: rotate(90deg);
  font-family: monospace;
  font-weight: bold;
  pointer-events: none;
}

/**** CABECERA DETALLE NOTICIA ****/

.contenido-cabecera-noticia {
  margin-left: 5%;
  padding-bottom: 3rem;

  @media (min-width: 768px) {
    margin-left: 10%;
  }
}

.migas-back {
  background-image: url(./assets/images/arrow-back-orange.svg);
  background-repeat: no-repeat;
  background-position: center left;
  padding-left: 3rem;

  a {
    color: #afbbbf;
    text-decoration: none;
    text-transform: uppercase;
  }
}

.fecha-noticia {
  time {
    font-style: italic;
    font-size: 16px;
    color: #e0ebf0;
  }
}

.noticia-etiqueta {
  padding-bottom: 1rem;

  a {
    border: 1px solid #f85900;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #e0ebf0;
    margin-right: 10px;
    font-size: 12px;
    letter-spacing: 1px;
  }
}

.noticia-cuerpo {


  .entry-content > :first-child {
    padding-top: 1rem;

  }

  h1,
  h2,
  h3,
  h4 {
    color: #fff;
  }

  p {
    color: #fff;
  }
}

.navegador-noticias {
  @media screen and (max-width: 650px) {
    flex-direction: column;
  }

  .wp-block-post-navigation-link {
    border: 1px solid #ddd;
    @media screen and (max-width: 650px) {
    }
    position: relative;

    .is-arrow-arrow {
      position: absolute;
    }

    a {
      text-decoration: none;

      .post-navigation-link__label {
        font-weight: bold;
        color: #f85900;
        text-decoration: none;
        text-transform: uppercase;
      }

      .post-navigation-link__title {
        display: block;
        margin-top: 1rem;
        color: #fff;
      }
    }
  }

  .post-navigation-link-previous {
    padding: 2rem 2rem 2rem 4rem;

    .is-arrow-arrow {
      left: 2rem;
    }
  }

  .post-navigation-link-next {
    text-align: right;
    padding: 2rem 4rem 2rem 2rem;
    .is-arrow-arrow {
      right: 2rem;
      top: 2rem;
    }
  }
}

/** custom progressbar **/
.progressbar-container {
  background: #eee;
  transform: rotate(90deg);
}
.progressbar {
  height: 5px;
  animation: supa 5s ease-out;
  width: 0%;
  background: #f85900;
}
@keyframes supa {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/** custom styles for default templates */

body:has(.comun-entradilla) {
  .wp-block-post-content {
    margin-top: -10rem;
  }
  h4.wp-block-heading {
    font-family: "Inter-var";
    font-weight: 400;
    color: #ed5820;
  }
  .entry-content li {
    color: #fff;
    margin-bottom: 1rem;
    margin-left: 2rem;
  }
  ::marker {
    font-weight: bold;
    color: #ed5820;
  }

  @media (max-width: 768px) {
    .wp-block-spacer {
      display: block;
    }
  }
  @media (min-width: 768px) and (max-width: 1670px) {
    .contenido-cabecera {
      margin-left: 8%;
    }
  }

  .comun-entradilla .wp-block-buttons > .wp-block-button {
    display: inline-block;
    width: 100%;
  }
  .comun-entradilla .wp-block-buttons .wp-block-button__link {
    background: white;
    border-radius: 0;
    color: #ed5820;
    font-family: "Inter-var";
    font-weight: 200;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    line-height: 28px;
  }
  .wp-block-buttons .wp-block-button__link:hover {
    background: black;

    color: #fff;
  }
}

/* common classes */

.columnas-contenido .wp-block-post-excerpt__excerpt {
  max-width: 600px;
}
.hide-block {
  display: none !important;
}
.no-decoration {
  text-decoration: none;
  display: block;
}

@media screen and (max-width: 768px) {
  .page-template-plantilla-sector
    .columnas-contenido
    .wp-block-post-excerpt__excerpt {
    margin-bottom: 2rem;
  }

  .casos-template .columnas-contenido
    .wp-block-post-excerpt__excerpt {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1560px) {
  .page-template-plantilla-sector .contenido-cabecera {
    margin-left: 6%;
  }
  .casos-template .contenido-cabecera {
    margin-left: 6%;
  }
}

.wp-block-list li{
  list-style-type: square;
  &::marker{color:#f85900}
}

/*** taxonomy ***/
.cabecera-prensa {
  .wp-block-cover{overflow: visible;}
  .fecha-noticia.wp-block-post-date {
    border-bottom: 1px solid #ffffff3d;
    padding-bottom: 1.6rem;
    max-width: 90%;
    time {
      color: #f85900;
      font-size: 1.5rem;
    }
  }

  .taxonomy-category {
    .wp-block-post-terms__separator {
      display: none;
    }
    a {
      color: white;
      background-image: url(./assets/images/ico_hashtag_light.svg);
      background-repeat: no-repeat;
      padding-left: 20px;
      margin-right: 1rem;
      background-size: 15px;
      background-position: left center;
      font-size: 2.2rem;
      font-weight: 200;
    }
  }
  h2.wp-block-post-title {
    margin-top: 1rem !important;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
    font-size: 50px !important;
    max-width: 800px;
    @media (max-width: 768px) {
        text-transform: uppercase;
        font-size: 32px !important;
        max-width: 90%;
        
    }
  }
}


/*********************/



.caso-cuerpo h2.explora-titulo {
    text-transform: none !important;
    font-size: 3rem !important;
    font-weight: 100 !important;
}





.caso-descarga {
           
            border: 4px solid #f85900;
            color: #f85900;
            padding: 2rem 3rem 2rem 5.5rem;
            display: inline-block;
            text-decoration: none;
            font-weight: bold;
            text-transform: uppercase;
            margin-top: 2rem;
            margin-bottom: 2rem;
            background-image: url(./assets/images/ic_download.svg);
            background-repeat: no-repeat;
            background-size: 29px;
            background-position: 2rem center;

            &:hover{
                background-color:#f85900;
		background-image: url(./assets/images/ico_download.svg);
                color:white;
            }
}
