/* Layout, tipografia i llistes base */

@media (min-width: 1251px) {
	.et-l--header + .et-l--header {
		display: none !important;
	}
}

@media (max-width: 1250px) {
	.et-l--header:has(+ .et-l--header) {
		display: none !important;
	}
}

.et_pb_section_1_tb_body.et_pb_section.et_section_regular.et_flex_section.header-canvas.preset--module--divi-section--default {
	display: none;
}

#main-content [data-canvas="Capçalera"] {
	display: none;
}

[lang="es-ES"] #main-content .header-canvas {
	display: none;
}

@media (max-width: 980px) {
	#et-main-area {
		margin-top: 60px;
	}

	.et-l--header {
		top: 0 !important;
	}
}

#et-main-area > .dms3breadcrumbs {
	display: none !important;
}

.et_pb_row.dms3breadcrumbs {
	display: none !important;
}

.et_pb_module li {
	line-height: calc(var(--et_global_body_font_height, 1.7em) * 0.95);
	margin-bottom: 10px;
}

.et_pb_text_inner ul:last-child,
.et_pb_text_inner li:last-child {
	padding-bottom: 0;
}

p + ul {
	padding-top: 1.2em !important;
}

@media (min-width: 981px) {
	h1 {
		font-size: 50px;
	}

	h2,
	h2 + h3 {
		font-size: 40px;
	}

	h3 + h4 {
		font-size: 22px;
	}

	h3,
	h4,
	h5,
	h6 {
		padding-bottom: 5px;
	}
}

.et_pb_bg_layout_dark {
	color: var(--gcid-k1is1v02oi) !important;
}

h1,
.titol-degradat h2,
.titol-degradat h3,
.titol-degradat h4,
.titol-degradat h5,
.titol-degradat h6 {
	background: linear-gradient(30deg, #F6C608 0%, #F3DF90 60%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

/* Contingut d’articles: separadors i aire sobre títols */
.et_pb_post_content .wp-block-separator,
.et_pb_post_content hr {
	color: #edc731 !important;
	border-bottom-color: #edc731 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.et_pb_post_content h2:not(:first-child) {
	margin-top: 1.45em !important;
	margin-bottom: 0.4em !important;
}

.et_pb_post_content h3:not(:first-child) {
	margin-top: 1.05em !important;
	margin-bottom: 0.35em !important;
}

.et_pb_post_content .wp-block-separator + h2,
.et_pb_post_content hr + h2 {
	margin-top: 0.9em !important;
}

.et_pb_post_content .wp-block-separator + h3,
.et_pb_post_content hr + h3 {
	margin-top: 0.75em !important;
}
