/*
 Theme Name:   JuWeb
 Theme URI:    https://juweb.pro
 Description:  Default JuWeb child theme
 Author:       Julian Drusin
 Author URI:   https://juweb.pro
 Template:     generatepress
 Version:      0.1
*/

/*================================================================
  1. Tipografía y Estilos Base (Typography & Base)
================================================================*/

/* Encabezados y Balanceo de texto */
h1, h2, h3, h4, h5, h6, 
.balance {
  text-wrap: balance;
}

/* Párrafos y Listas */
p:last-child:last-of-type {
  margin-bottom: 0;
}

blockquote, 
li {
  text-wrap: pretty;
}

/* Negritas */
p strong, 
b, 
strong,
.info-bar p strong {
  font-weight: 600;
}

/*================================================================
  2. Estructura y Layout (Structure & Layout)
================================================================*/

/* Contenedor Principal */
#content {
  min-height: 100vh;
}

/* Cabecera del Sitio */
.site-header {
  background-color: var(--base-3);
  box-shadow: 0 5px 20px -10px hsl(0deg 0% 0% / 15%);
}

/* Imagen Destacada */
.featured-image img {
  border-radius: 20px;
}

/*================================================================
  3. Utilidades (Utilities & Helpers)
================================================================*/

/* Separador discontinuo */
.hr-dash {
  border-top: 2px dashed white;
  height: 0;
  margin: 40px 0;
}

/* Cortar texto a 4 líneas */
.clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/*================================================================
  4. Componentes (Components)
================================================================*/

/* --- Items de Servicios --- */
.services-item h3.title {
  text-wrap: balance;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}