/*
Theme Name: Axel Bangher Hello Child
Theme URI: https://axelbangher.com/
Description: Tema hijo de Hello Elementor para las personalizaciones de Axel Bangher.
Author: Axel Bangher
Template: hello-elementor
Version: 1.0.1
Text Domain: axel-bangher-hello-child
License: GPL-2.0-or-later
*/

/* Axel Bangher — Hello Elementor, estilos globales */
#site-header.site-header {
  background-color: #20252C;
  color: #D5DCE4;
  border-bottom: 1px solid #394552;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#site-header .header-inner,
#site-footer .footer-inner {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin-inline: auto;
}
#site-header .header-inner {
  padding-block: 20px;
  align-items: center;
}
#site-header .site-title a,
#site-footer .site-title a {
  color: #48C8F8;
  font-weight: 600;
  text-decoration: none;
}
#site-header .site-title a {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}
#site-header .site-description {
  color: #D5DCE4;
  font-size: .95rem;
  line-height: 1.5;
}
#site-header .site-navigation a,
#site-header .site-navigation-dropdown a {
  color: #FFFFFF;
  font-weight: 600;
}
#site-header .site-navigation a:hover,
#site-header .site-navigation a:focus-visible,
#site-header .site-navigation-dropdown a:hover,
#site-header .site-navigation-dropdown a:focus-visible {
  color: #48C8F8;
}
#site-header .menu-toggle,
#site-header .site-navigation-toggle {
  background-color: #48C8F8;
  color: #111820;
  border-color: #48C8F8;
}
#site-header .menu-toggle:hover,
#site-header .menu-toggle:focus-visible,
#site-header .site-navigation-toggle:hover,
#site-header .site-navigation-toggle:focus-visible {
  background-color: #48C8F8;
  color: #111820;
}
#site-footer.site-footer {
  background-color: #111820;
  color: #AEB8C4;
  border-top: 1px solid rgba(213, 220, 228, .12);
}
@media (max-width: 782px) {
  #site-header.site-header {
    top: 0;
  }
}
#site-footer .footer-inner {
  padding-block: 2.25rem;
  align-items: center;
  gap: 1rem;
}
#site-footer .site-title a {
  font-size: 1.25rem;
  line-height: 1.3;
}
#site-footer .site-description,
#site-footer .copyright,
#site-footer .copyright p {
  color: #AEB8C4;
}
#site-header a:hover,
#site-footer a:hover {
  color: #FFFFFF;
}
@media (max-width: 575px) {
  #site-header .header-inner,
  #site-footer .footer-inner {
    width: calc(100% - 36px);
  }
  #site-header .header-inner {
    padding-block: 16px;
  }
  #site-footer .footer-inner {
    padding-block: 1.75rem;
  }
}/* Axel Bangher — Hello Elementor, estilos globales */
#site-header.site-header {
  background-color: #17191D;
  color: #D5DCE4;
  border-bottom: 1px solid rgba(213, 220, 228, .12);
}
#site-header .header-inner,
#site-footer .footer-inner {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin-inline: auto;
}
#site-header .header-inner {
  padding-block: 20px;
  align-items: center;
}
#site-header .site-title a,
#site-footer .site-title a {
  color: #48C8F8;
  font-weight: 600;
  text-decoration: none;
}
#site-header .site-title a {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}
#site-header .site-description {
  color: #D5DCE4;
  font-size: .95rem;
  line-height: 1.5;
}
#site-footer.site-footer {
  background-color: #111820;
  color: #AEB8C4;
  border-top: 1px solid rgba(213, 220, 228, .12);
}
#site-footer .footer-inner {
  padding-block: 2.25rem;
  align-items: center;
  gap: 1rem;
}
#site-footer .site-title a {
  font-size: 1.25rem;
  line-height: 1.3;
}
#site-footer .site-description,
#site-footer .copyright,
#site-footer .copyright p {
  color: #AEB8C4;
}
#site-header a:hover,
#site-footer a:hover {
  color: #FFFFFF;
}
@media (max-width: 575px) {
  #site-header .header-inner,
  #site-footer .footer-inner {
    width: calc(100% - 36px);
  }
  #site-header .header-inner {
    padding-block: 16px;
  }
  #site-footer .footer-inner {
    padding-block: 1.75rem;
  }
}
/* Reemplazo del acento rosa predeterminado de Hello Elementor */
body a:not(.elementor-button) {
  color: #08789A;
}
body a:not(.elementor-button):hover,
body a:not(.elementor-button):focus-visible {
  color: #075A74;
}
body [type="button"],
body [type="submit"],
body button {
  border-color: #48C8F8;
  color: #08789A;
}
body [type="button"]:hover,
body [type="button"]:focus,
body [type="submit"]:hover,
body [type="submit"]:focus,
body button:hover,
body button:focus {
  background-color: #48C8F8;
  border-color: #48C8F8;
  color: #17191D;
}
#wpadminbar a {
  color: inherit;
}

/* Menú desplegable móvil — sistema gráfico Axel */
@media (max-width: 992px) {
  #site-header .site-navigation-dropdown ul.menu {
    background: #111820;
    border-top: 1px solid #343F49;
  }
  #site-header .site-navigation-dropdown ul.menu li a {
    background: #111820;
    border-bottom: 1px solid rgba(213, 220, 228, .12);
    box-shadow: none;
    color: #D5DCE4;
    padding: 20px 32px;
    transition: background-color .2s ease, color .2s ease;
  }
  #site-header .site-navigation-dropdown ul.menu li.current-menu-item > a,
  #site-header .site-navigation-dropdown ul.menu li a:hover,
  #site-header .site-navigation-dropdown ul.menu li a:focus-visible {
    background: #1B222A;
    color: #48C8F8;
  }
}


/* Botón del menú móvil — cyan permanente */
@media (max-width: 992px) {
  #site-header .site-navigation-toggle-holder .site-navigation-toggle,
  #site-header .site-navigation-toggle-holder .site-navigation-toggle:hover,
  #site-header .site-navigation-toggle-holder .site-navigation-toggle:focus,
  #site-header .site-navigation-toggle-holder .site-navigation-toggle:focus-visible,
  #site-header .site-navigation-toggle-holder .site-navigation-toggle:active,
  #site-header .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded="true"] {
    background-color: #48C8F8;
    border: 1px solid #48C8F8;
    color: #17191D;
  }
  #site-header .site-navigation-toggle-holder .site-navigation-toggle:focus-visible {
    outline: 2px solid #F5F7FA;
    outline-offset: 3px;
  }
}



/* Navegación — blanco y seminegrita */
#site-header .site-navigation a,
#site-header .site-navigation-dropdown a {
  color: #FFFFFF;
  font-weight: 600;
}



/* Navegación móvil — blanco legible y acento cyan al interactuar */
@media (max-width: 992px) {
  #site-header .site-navigation-dropdown ul.menu li a,
  #site-header .site-navigation-dropdown ul.menu li.current-menu-item > a {
    color: #FFFFFF;
    font-weight: 600;
  }
  #site-header .site-navigation-dropdown ul.menu li a:hover,
  #site-header .site-navigation-dropdown ul.menu li a:focus-visible {
    color: #48C8F8;
  }
}



/* Navegación — hover y foco en cyan */
#site-header .site-navigation a:hover,
#site-header .site-navigation a:focus-visible,
#site-header .site-navigation-dropdown a:hover,
#site-header .site-navigation-dropdown a:focus-visible {
  color: #48C8F8;
}


/* Contraste del encabezado con el primer bloque */
body #site-header.site-header { background-color: #20252C !important; }
/* Header mas compacto */
body #site-header .header-inner { padding-block: 12px !important; }

/* Alineación del consentimiento del formulario */
.wpcf7-form .wpcf7-acceptance.privacy-consent .wpcf7-list-item,
.wpcf7-form .wpcf7-acceptance.privacy-consent .wpcf7-list-item > label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 0;
}
.wpcf7-form .wpcf7-acceptance.privacy-consent input[type="checkbox"] {
  display: inline-block;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: .2rem 0 0;
}
.wpcf7-form .wpcf7-acceptance.privacy-consent .wpcf7-list-item-label {
  display: inline;
}

/* Consentimiento Contact Form 7: casilla y texto en una sola línea */
.wpcf7-form .wpcf7-form-control-wrap[data-name="privacy-consent"] .wpcf7-list-item,
.wpcf7-form .wpcf7-form-control-wrap[data-name="privacy-consent"] .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start !important;
  gap: .65rem !important;
  margin: 0 !important;
}
.wpcf7-form .wpcf7-form-control-wrap[data-name="privacy-consent"] input[type="checkbox"] {
  display: inline-block !important;
  width: 1rem !important;
  height: 1rem !important;
  flex: 0 0 auto !important;
  margin: .2rem 0 0 !important;
}

/* Política de privacidad: coherencia con el tema oscuro, solo página ID 3 */
body.page-id-3 { background: #17191D; color: #D5DCE4; }
body.page-id-3 .site-main, body.page-id-3 .site-content, body.page-id-3 .page-content { background: #17191D; color: #D5DCE4; }
body.page-id-3 .site-main { max-width: 1200px; margin-inline: auto; padding: clamp(48px, 7vw, 96px) 24px; }
body.page-id-3 h1, body.page-id-3 h2, body.page-id-3 h3 { color: #FFFFFF; font-family: inherit; line-height: 1.2; }
body.page-id-3 h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
body.page-id-3 h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-top: 2.5rem; }
body.page-id-3 p, body.page-id-3 li { color: #D5DCE4; line-height: 1.75; }
body.page-id-3 a { color: #48C8F8; }
body.page-id-3 a:hover, body.page-id-3 a:focus { color: #FFFFFF; }
@media (max-width: 600px) { body.page-id-3 .site-main { padding: 40px 20px; } }


/* Marco lateral compartido: cabecera, pie, archivo del blog y privacidad */
#site-header .header-inner,
#site-footer .footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1152px;
  padding-inline: clamp(20px, 5vw, 72px);
}
body.blog .site-main.ab-blog-archive {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
body.blog .ab-blog-archive__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1152px;
  padding-inline: clamp(20px, 5vw, 72px);
}
body.page-id-3 .site-main {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(calc((100% - 1008px) / 2), clamp(20px, 5vw, 72px));
}


/* Longitud de lectura para el texto legal */
body.page-id-3 .page-content {
  width: min(100%, 72ch);
}


/* Blog: tarjetas de The Post Grid dentro del diseño de Axel */
.axel-blog-grid .rt-detail { background: #20252C !important; color: #D5DCE4; border: 1px solid rgba(213, 220, 228, .14); border-radius: 14px; padding: 24px; height: 100%; }
.axel-blog-grid .entry-title a { color: #FFFFFF !important; text-decoration: none; }
.axel-blog-grid .entry-title a:hover, .axel-blog-grid .entry-title a:focus-visible { color: #48C8F8 !important; }
.axel-blog-grid .post-meta-user, .axel-blog-grid .post-meta-user a { color: #9CA3AF !important; }
.axel-blog-grid .tpg-excerpt { color: #B8BEC9 !important; }
.axel-blog-grid .read-more a { display: inline-block; padding: 10px 16px; border: 1px solid #48C8F8; border-radius: 6px; background: #48C8F8 !important; color: #17191D !important; font-weight: 600; text-decoration: none; }
.axel-blog-grid .read-more a:hover, .axel-blog-grid .read-more a:focus-visible { background: transparent !important; color: #48C8F8 !important; }


/* Unifica las esquinas de las tarjetas del archivo del blog */
.axel-blog-grid .rt-holder {
  border-radius: 14px;
}

.axel-blog-grid .rt-detail {
  border-radius: 0;
}


/* Blog: paginación integrada con el sistema visual */
.axel-blog-grid .rt-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.axel-blog-grid .rt-pagination li {
  margin: 0;
}

.axel-blog-grid .rt-pagination li a,
.axel-blog-grid .rt-pagination li span {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #394552;
  border-radius: 8px;
  background: #20252C !important;
  color: #D5DCE4 !important;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.axel-blog-grid .rt-pagination .current,
.axel-blog-grid .rt-pagination .active span,
.axel-blog-grid .rt-pagination [aria-current="page"] {
  border-color: #48C8F8 !important;
  background: #48C8F8 !important;
  color: #17191D !important;
}

.axel-blog-grid .rt-pagination li a:hover,
.axel-blog-grid .rt-pagination li a:focus-visible {
  border-color: #48C8F8 !important;
  background: #48C8F8 !important;
  color: #17191D !important;
}

@media (max-width: 600px) {
  .axel-blog-grid .rt-pagination ul { gap: 8px; }

  .axel-blog-grid .rt-pagination li a,
  .axel-blog-grid .rt-pagination li span {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
  }
}


/* Blog: quitar el CTA de las tarjetas y mantener solo el margen interior */
.axel-blog-grid .read-more {
  display: none !important;
}

.axel-blog-grid .rt-detail {
  height: auto !important;
}


.axel-blog-grid .tpg-excerpt {
  margin-bottom: 0 !important;
}


/* Blog: aire vertical para las imágenes dentro de cada entrada */
.elementor-widget-theme-post-content figure.wp-block-image {
  margin-block: 2.5rem !important;
}

.elementor-widget-theme-post-content img[class*="wp-image-"] {
  margin-block: 2.5rem;
}

.elementor-widget-theme-post-content figure.wp-block-image img[class*="wp-image-"] {
  margin-block: 0;
}


/* Blog: igualar la altura de las tarjetas y unificar las esquinas */
.axel-blog-grid .rt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.axel-blog-grid .rt-row > [class*="rt-col-"] {
  display: flex;
}

.axel-blog-grid .rt-holder {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px !important;
}

.axel-blog-grid .rt-detail {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: auto !important;
  border-radius: 0 0 16px 16px;
}

.axel-blog-grid .tpg-post-title {
  line-height: 1.2;
  height: 3.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.axel-blog-grid .tpg-excerpt {
  line-height: 1.55;
  min-height: 4.65em;
}


/* Blog: aplicar la cuadrícula uniforme al contenedor real de The Post Grid */
.rt-tpg-container [class*="rt-row"] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

.rt-tpg-container [class*="rt-row"] > [class*="rt-col-"] {
  display: flex !important;
}

.rt-tpg-container .rt-holder {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.rt-tpg-container .rt-detail {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  height: auto !important;
  border-radius: 0 0 16px 16px !important;
}

.rt-tpg-container .tpg-post-title {
  line-height: 1.2 !important;
  height: 3.6em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

.rt-tpg-container .tpg-excerpt {
  line-height: 1.55 !important;
  min-height: 4.65em !important;
}


/* Blog: reservar tres líneas para todos los títulos y alinear metadatos */
.rt-tpg-container .rt-holder .entry-title {
  line-height: 1.2 !important;
  height: 3.6em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

/* Oculta Uncategorized como tema; esas entradas siguen visibles en Todos los artículos. */
.axel-blog-grid .rt-tpg-isotope-buttons .rt-iso-btn-uncategorized { display: none !important; }

.axel-blog-grid .rt-row.rt-content-loader.isotope1 .rt-tpg-isotope { flex: 0 0 100%; width: 100%; min-width: 0; }

.axel-blog-grid .rt-tpg-isotope-buttons button { background-color: #20252C; border: 1px solid #394552; border-radius: 8px; color: #D5DCE4; }

.axel-blog-grid .rt-tpg-isotope-buttons button.selected, .axel-blog-grid .rt-tpg-isotope-buttons button:hover { background-color: #48C8F8; border-color: #48C8F8; color: #17191D; }

.axel-blog-grid .rt-tpg-isotope-buttons button:focus-visible { outline: 3px solid #48C8F8; outline-offset: 3px; }
/* Footer de navegación — template local Elementor 526 */#ab-footer-shell {  box-sizing: border-box;  width: 100%;  max-width: none;  margin: 0;  background: #111820;}#ab-footer-content {  box-sizing: border-box;
  width: 100%;  max-width: 1440px;  margin-inline: auto;  padding-inline: clamp(1.25rem, 5vw, 4.5rem);  background: #111820;}
/* Centra el bloque interior del footer manteniendo el gutter del sitio. */#ab-footer-content {  max-width: 1200px;}
