/*
Theme Name: Astra Child
Theme URI: https://ciglux.com/
Description: Tema hijo de Astra para Ciglux (sin AdSense).
Author: Edmundo
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* =========================
   1) Fuentes Redtone (local)
   ========================= */
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-ThinItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-ExtraLightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "redtone";
  src: url("fonts/subset-Redtone-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


/* =========================
   2) Reglas de contenido
   EDITA AQUÍ (tamaño/peso/espaciado)
   - font-size  = tamaño
   - font-weight = peso
   - line-height = espaciado entre líneas
   ========================= */

/* H1 */
.entry-content h1 {
  text-align: center;
  font-family: redtone, Arial, sans-serif;
  font-weight: 400;                  /* <-- CAMBIA AQUÍ */
  font-size: clamp(2rem, 4vw, 3rem); /* <-- CAMBIA AQUÍ */
  line-height: 1.15;                 /* <-- CAMBIA AQUÍ */
  margin: 0 0 0.6em 0;
}

/* H2 */
.entry-content h2 {
  text-align: center;
  font-family: redtone, Arial, sans-serif;
  font-weight: 300;                      /* <-- CAMBIA AQUÍ */
  font-size: clamp(1.6rem, 3vw, 2.2rem); /* <-- CAMBIA AQUÍ */
  line-height: 1.2;                       /* <-- CAMBIA AQUÍ */
  margin: 1.2em 0 0.6em 0;
}

/* H3 */
.entry-content h3 {
  font-family: redtone, Arial, sans-serif;
  font-weight: 300;   /* <-- CAMBIA AQUÍ */
  font-size: 1.3rem;  /* <-- CAMBIA AQUÍ */
  line-height: 1.25;  /* <-- CAMBIA AQUÍ */
  margin: 1em 0 0.4em 0;
}

/* Párrafos */
.entry-content p {
  text-align: justify;
  font-family: redtone, Arial, sans-serif;
  font-weight: 200;   /* <-- CAMBIA AQUÍ */
  font-size: 1rem;    /* <-- CAMBIA AQUÍ */
  line-height: 1.6;   /* <-- CAMBIA AQUÍ (espaciado) */
  margin: 0 0 1em 0;
}


/* Ajustes para listas SOLO dentro del contenido */
.entry-content ul {
  margin: 0;
  padding-left: 70px;
}

.entry-content li {
  text-align: justify;
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 0;
  padding-bottom: 0;
}


/* =========================
   3) Protección de menús (Astra)
   ========================= */
.main-header-menu,
.main-header-menu ul,
.main-header-menu li,
.nav-menu ul,
.menu ul,
.sub-menu {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* MENÚ Astra (desktop + mobile) */
.main-header-menu a,
.ast-header-break-point .main-header-menu a,
.ast-header-break-point .ast-mobile-header-wrap a,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-2 .menu-item > .menu-link {
  font-family: redtone, sans-serif !important;
  font-weight: 400;
}

/* Fuente base del sitio */
body {
  font-family: redtone, sans-serif;
  font-weight: 200;
}
