/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. 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 and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.1.5.1686409188
Updated: 2023-06-10 16:59:48

*/

/* === Inter Variable (local) - base sólida y consistente === */
@font-face{
  font-family:'InterVar';
  src:url('/wp-content/themes/astra-child/fonts/InterVariable.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:normal;
  font-display:swap; /* evita texto invisible y reduce FOUT */
  font-named-instance:"Regular";
}
/* Si usas cursivas, deja este bloque; si no, elimínalo */
@font-face{
  font-family:'InterVar';
  src:url('/wp-content/themes/astra-child/fonts/InterVariable-Italic.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:italic;
  font-display:swap;
  font-named-instance:"Italic";
}

/* ===== Escala tipográfica y sistema de variables ===== */
:root{
  /* Familia + fallbacks “tipo sistema” */
  --font-sans:'InterVar',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif;

  /* Líneas (leading) pensadas para lectura/UX */
  --leading-tight: 1.25;
  --leading-normal:1.55;
  --leading-relaxed:1.7;

  /* Pesos reales (evita faux bold) */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Escala móvil primero (rem = 16px) */
  --fs-xs:  .8125rem; /* 13px, meta/etiquetas */
  --fs-sm:  .875rem;  /* 14px */
  --fs-base:1rem;     /* 16px, texto cuerpo */
  --fs-lg: 1.125rem;  /* 18px, lead/inputs */

  --fs-h6: 1.125rem;  /* 18 */
  --fs-h5: 1.25rem;   /* 20 */
  --fs-h4: 1.375rem;  /* 22 */
  --fs-h3: 1.5rem;    /* 24 */
  --fs-h2: 1.75rem;   /* 28 */
  --fs-h1: 2rem;      /* 32 */
}

/* Mejora de renderizado y base tipográfica */
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-sans);
  font-size:  var(--fs-base);
  line-height:var(--leading-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  color: #111; /* opcional: texto un poco más oscuro */
}

/* Jerarquía de títulos (estilo limpio “ChatGPT‑like”) */
h1,h2,h3,h4,h5,h6,
.entry-title,.site-title{
  font-family:var(--font-sans) !important;
  font-weight:var(--fw-semibold);
  line-height:var(--leading-tight);
  letter-spacing:0;
  margin:0 0 .5em 0;
}
h1{font-size:var(--fs-h1)}
h2{font-size:var(--fs-h2)}
h3{font-size:var(--fs-h3)}
h4{font-size:var(--fs-h4)}
h5{font-size:var(--fs-h5)}
h6{font-size:var(--fs-h6)}

/* Texto general y elementos de UI */
p,li,dd,dt,tbody,td,th,
input,textarea,select,button{
  font-family:var(--font-sans) !important;
  font-weight:var(--fw-regular);
  font-size:  var(--fs-base);
  line-height:var(--leading-relaxed);
}

/* Énfasis, micro‑copys y utilidades */
strong,b{ font-weight:var(--fw-bold); }
em,i    { font-style:italic; }
.small  { font-size:var(--fs-sm); line-height:var(--leading-normal); }
.muted  { color:#666; } /* texto secundario */

/* Ajuste fluid en pantallas grandes (sube títulos en desktop) */
@media (min-width: 992px){
  :root{
    --fs-h1: 2.25rem; /* 36 */
    --fs-h2: 2rem;    /* 32 */
    --fs-h3: 1.75rem; /* 28 */
    --fs-h4: 1.5rem;  /* 24 */
  }
  body{ line-height:var(--leading-normal); }
}

/* Opcionales: mejora de listas y espacios */
ul,ol{ padding-left:1.25rem; margin:0 0 1rem 0; }
p    { margin:0 0 1rem 0; }


/*inicio de estilo adsense despues de h1*/
.inforepuestos-adsense-inline {
  margin: 2rem auto;
  max-width: 728px;
  width: 100%;
  min-height: 250px;
  text-align: center;
}
.inforepuestos-adsense-inline .adsbygoogle {
  display: block;
  margin: 0 auto;
	text-align: center;
}
.inforepuestos-ad-label {
  font-size: 0.6rem;
  color: #000;
  margin-bottom: 0.3rem;
  font-style: italic;
}

/*fin de estilo adsense despues de h1*/