/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/** 
C�digo para añadir más espacio entre párrafos en las entradas del blog
*/
.entry-content p {
    margin-bottom: 1em !important;
}

/*
C�digo para modificar el color de fondo de la cabecera de las entradas en el blog*
*/
.ast-single-entry-banner {
	background: linear-gradient(135deg,rgba(6,147,227,1) 0%,#9b51e0 100%);
}


/* Limita el ancho de las columnas dentro de la plantilla home */
.contenedor-ajustado .wp-block-columns {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Bloques de la home con hover amarillo de fondo */
.bloques-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
}

.bloque {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 45%;
  max-width: 45%;
  transition: background-color 0.3s ease;
  position: relative;
  text-align: left;
  min-height: 280px;
  padding: 30px;
  padding-right: 80px;
  position: relative;
}

.bloque:hover {
  background-color: #ffff66;
}

.bloque h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.bloque p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bloque .icono {
  font-size: 3rem;
  position: absolute;
  top: 20px;
  right: 20px;
}

.bloque .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00bfff;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .bloque {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.mi-boton {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 24px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: black;
  background-color: white;
  border: 2px solid #1d4c7e;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.mi-boton:hover {
  background-color: #1d4c7e;
  color: white;
}
.contenedor-botones {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contenedor-botones a {
  flex: 1 1 48%;
  padding: 12px 24px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
  border: 2px solid #1d4c7e;
  box-sizing: border-box;
}

.contenedor-botones {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contenedor-botones a {
  flex: 0 1 auto;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid #1d4c7e;
  box-sizing: border-box;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Botón izquierdo */
.boton-izquierdo {
  background-color: #1d4c7e;
  color: white;
}

.boton-izquierdo:hover {
  background-color: white;
  color: #1d4c7e;
}

/* Botón derecho (teléfono) */
.boton-derecho {
  background-color: white;
  color: #1d4c7e;
}

.boton-derecho:hover {
  background-color: #1d4c7e;
  color: white;
}

/* Personalización de contador años experiencia y confidencialidad en home */
.contenedor-contadores.estilo-elegante {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: nowrap;
  margin-top: 40px;
}
@media (max-width: 600px) {
  .contenedor-contadores.estilo-elegante {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}
.contador-item {
  text-align: center;
}

.numero-contador {
display: inline-block;
  width: 6ch;
  text-align: center;
  font-size: 72px;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.etiqueta {
  font-size: 18px;
  color: #6e6e6e;
  font-weight: 400;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}
.fondo-azul-claro {
  background-color: #BFE9FF;
}
/*Personalización del shortcode de los rtes ultimos post del blog para la home*/
.ultimos-posts {
  margin-top: 4rem;
}

.ultimos-posts h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}

.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.post-card {
  flex: 1 1 calc(33.333% - 2rem);
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.post-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.post-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Nuevo estilo de botón con tus colores corporativos */
.btn-blog {
  background-color: #1d4c7e;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #1d4c7e;
  transition: all 0.3s ease;
}

.btn-blog:hover {
  background-color: white;
  color: #1d4c7e;
}

/* Cita elegante con fondo más contrastado y menos espacio vertical */
.wp-block-quote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #1a1a1a;
  border-left: 4px solid #1d4c7e;
  padding: 0.75em 1.25em 0.5em 1.25em;
  margin: 2em 0;
  background: #eaf0f7;
  border-radius: 6px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

.wp-block-quote p::before {
  content: open-quote;
  font-size: 2rem;
  color: #1d4c7e;
  line-height: 0;
  position: relative;
  top: 0.4em;
  left: -0.1em;
}

.wp-block-quote p::after {
  content: close-quote;
  font-size: 2rem;
  color: #1d4c7e;
  line-height: 0;
  position: relative;
  top: 0.4em;
  right: -0.1em;
}

.wp-block-quote p {
  margin: 0;
  padding: 0;
}

.wp-block-quote cite,
.wp-block-quote footer {
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
  color: #1d4c7e;
  margin-top: 0.75em;
  display: block;
  text-align: right;
}

/* Archivo style.css del child theme */
.ast-archive-entry-banner[data-post-type="post"] {
    padding-top: 8em;
}

/* Ajuste texto para destacado último artículo blog en slider home */
.confilosofia-slide-content .highlight {
    display: inline-block;
    background-color: #f7e628;
    color: #0a0a1f;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.3em 0.6em;
    border-radius: 6px;
    margin-bottom: 1em;
}

/* -----------------------------------------------
   Header transparente — ajuste de espaciado
----------------------------------------------- */

/* Desktop: padding en el entry-header de páginas interiores */
.ast-theme-transparent-header.ast-page-builder-template:not(.home) .entry-header {
    padding-top: 100px;
}

/* Móvil */
@media (max-width: 921px) {

    /* Home: contiene el margin del slider dentro de #page */
    .ast-theme-transparent-header.home #page {
        display: flow-root;
    }

    /* Páginas interiores: empuja el contenido por debajo del header */
    .ast-theme-transparent-header:not(.home) #content {
        padding-top: 60px;
    }

    /* Elimina el padding del entry-header en móvil para no duplicar espacio */
    .ast-theme-transparent-header.ast-page-builder-template:not(.home) .entry-header {
        padding-top: 0;
    }
}