/*
Theme Name: DIVI 5 CHILD
Theme URI: https://ferydesign.com
Description: Child Theme created by Ferydesign
Author: Fery Rohrer
Author URI: https://ferydesign.com
Template: Divi
Version: 2026.05.15
*/

/*-----------------------------------------------------------------------------------*/
// BODY, MAIN PAGE CONTAINER & GENERAL SETTINGS
/*-----------------------------------------------------------------------------------*/
body {}

#page-container {}

/* images */
#page-container img {}

/* link */
#page-container a,
#page-container a:link {}

/* link (hover, focus, active & visited) */
#page-container a:hover,
#page-container a:focus,
#page-container a:active {}

#page-container a:visited {}

/* hr */
#page-container hr {}

/* sub & sup */
#page-container sub,
#page-container sup {}

/* code */
#page-container code {
  font-family: "Courier New", monospace !important;
}


#page-container body,
#page-container p {
  line-height: 1.5em !important;
}

/* headings */
#page-container :is(h1, h2, h3, h4, h5, h6) {
  padding-bottom: 0.1em !important;
  font-weight: 400;
}

#page-container h6 {
  line-height: 1.45em !important;
}

#page-container h5 {
  line-height: 1.35em !important;
}

#page-container h4 {
  line-height: 1.25em !important;
}

#page-container h3 {
  line-height: 1.15em !important;
}

#page-container h2 {
  line-height: 1.05em !important;
}

#page-container h1 {
  line-height: 0.95em !important;
}

/*-----------------------------------------------------------------------------------*/
// HEADER & MENU
/*-----------------------------------------------------------------------------------*/
#page-container .et-l--header {}

#page-container .et_pb_menu {}

/*-----------------------------------------------------------------------------------*/
// CONTENT AREA
/*-----------------------------------------------------------------------------------*/
#page-container #main-content {}

/* first section in content with margin-top dynamic-height (if not home-page)*/
/* body:not(.home) #page-container #main-content .et_pb_section:first-child {
  margin-top: var(--header-height);
} */

body #page-container #main-content .et_pb_section:first-child {
  margin-top: var(--header-height);
}

/*-----------------------------------------------------------------------------------*/
// FOOTER
/*-----------------------------------------------------------------------------------*/
#page-container .et-l--footer {}

/*-----------------------------------------------------------------------------------*/
// SIDEBAR (hiding the sidebar globally)
/*-----------------------------------------------------------------------------------*/
/* Ocultar el sidebar y expandir el área de contenido en Divi 5 */
#page-container #main-content #sidebar {
  display: none !important;
}

#page-container #main-content #left-area {
  width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
  border-right: none !important;
}

/* Quitar la línea divisoria vertical (:before) */
#page-container #main-content .container:before {
  display: none !important;
}

/*-----------------------------------------------------------------------------------*/
/* DIVI 5 OPTIMIZED MEDIA QUERIES (Mobile-First Approach) */
/*-----------------------------------------------------------------------------------*/
/* --- MÓVIL RETRATO (Base / Sin Media Query) --- */
/* (Hasta 479px) Tus estilos base aquí */

/* --- MÓVIL LANDSCAPE / TABLET VERRTICAL --- */
@media (min-width: 480px) {
  /* Coincide con el breakpoint de 'Teléfono' en el Visual Builder */
}

/* --- TABLET (Punto Crítico Divi) --- */
@media (min-width: 768px) {
  /* Aquí es donde las columnas suelen ponerse una al lado de otra */
}

/* --- ESCRITORIO ESTÁNDAR (El salto real de Divi) --- */
@media (min-width: 981px) {
  /* Aquí aparece el menú de escritorio y desaparece el hamburguesa */
}

/* --- ESCRITORIO GRANDE --- */
@media (min-width: 1405px) {
  /* Para pantallas de 15" y monitores estándar */
}

/* --- ULTRA-WIDE & 4K --- */
@media (min-width: 1920px) {
  /* Para monitores de alta resolución o ultra-panorámicos */
}