/*
Theme Name: Genesis Block Theme Child
Theme URI: https://www.ventasdealtooctanaje.com/
Description: Tema hijo para catálogo por páginas
Author: Tu empresa
Author URI: https://www.ventasdealtooctanaje.com/
Template: genesis-block-theme
Version: 1.0.0
Text Domain: genesis-block-theme-child
*/

/* =========================================
   AJUSTES GENERALES
========================================= */
/* =========================
   FUENTES (Manrope + Inter)
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@600;700&display=swap");

/* =========================
   VARIABLES
   ========================= */
:root{
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --text-color: #0f172a;        /* slate-900 */
  --muted-color: #475569;       /* slate-600 */
  --bg-color: #ffffff;

  --lh-body: 1.55;
  --lh-heading: 1.1;

  --tracking-tight: -0.01em;    /* 0 a -1 */
  --tracking-normal: 0em;
}

/* =========================
   BASE
   ========================= */
html { -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-color);
  background: var(--bg-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   TITULARES
   ========================= */
h1, h2, h3, h4, h5, h6{
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   TEXTO
   ========================= */
p{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


body.single-catalog_page,
body.post-type-archive-catalog_page {
  overflow-x: hidden;
}
body #page{
  max-width: 100%;
  padding:0;
}
body #page #content{
  padding:0;
}

/* =========================================================
   HEADER OVERLAY GLOBAL (integrado sobre el contenido)
   ========================================================= */

/* El header flota sobre el body */
.site-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:9999;
  width:100%;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Compensación admin-bar */
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){
  .admin-bar .site-header{ top:46px; }
}

/* Asegura transparencia de wrappers del theme */
.site-header .top-navigation,
.site-header .container,
.site-header .site-identity,
.site-header .titles-wrap,
.site-header .top-navigation-right{
  background:transparent !important;
  box-shadow:none !important;
}

/* OJO: si el theme mete padding-top al contenido, lo ajustamos nosotros */
#content.site-content{
  padding-top: 90px; /* AJUSTA: altura real del header */
}

/* En páginas con hero a pantalla completa (como tu cover), quitamos ese padding */
body.home #content.site-content,
body.post-type-archive-catalog_page #content.site-content,
body.single-catalog_page #content.site-content{
  padding-top:0;
}

/* Que el header se vea blanco sobre imagen */
.site-header a,
.site-header .site-title a,
.site-header .site-description{
  color:#fff !important;
}

/* Si quieres que el logo/título no “grite”, baja opacidad del texto secundario */
.site-header .site-description{
  opacity:.75;
}

/* Si el theme añade márgenes arriba al primer bloque, los neutralizamos */
body.single-catalog_page .site-content > :first-child,
body.home .site-content > :first-child{
  margin-top:0 !important;
}

#content>div:nth-child(1), #content>section:nth-child(1){
  padding-top:90px;
}
footer#colophon{
  display:none;
}
@media(max-width:980px){
  .site-header .site-identity{
    padding-top:4%;
  }
  #content>div:nth-child(1), #content>section:nth-child(1){
  padding-top:120px;
}
}
