/*============================================================================
   01-base.css — reset, typografie, Divi globály
============================================================================*/

body {
	background: var(--sand-1);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	font-weight: 400; /* Inter Regular dle designu — Divi jinak dědí těžší default */
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--navy);
	margin: 0 0 .4em;
	text-transform: none; /* Divi parent dává h2 uppercase — nadpisy držíme dle designu (věcný case) */
}
/* Divi přidává h* padding-bottom 10px odnikud */
h1, h2, h3, h4, h5, h6 { padding: 0; }

h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); }

img { max-width: 100%; height: auto; }

/* [hidden] musí vyhrát nad class display pravidly (Divi quirk #30) */
[hidden] { display: none !important; }

/* Divi kreslí 1px sidebar čáru u custom .container (quirk #22) */
#main-content .container::before { display: none !important; }

/* Divi přidává 58px padding-top na vlastní .container (quirk #27) */
#main-content .container { padding-top: 0 !important; }

/* Divi 5 řádky — žádný vlastní padding, dýchá .container/.et_pb_row metrika */
.et_pb_row { padding: 0; }

/* Header layout z Theme Builderu — drží z-index nad obsahem (quirk #11) */
.et-l--header {
	position: relative;
	z-index: var(--z-header);
}
