/*
Theme Name:   CREQ
Theme URI:    https://creq.nl/
Description:  Child theme van Hello Elementor voor creq.nl. Maatwerk-CSS en -code voor CREQ horen hier (niet in losse plugins).
Author:       Guifi
Author URI:   https://guifi.nl/
Template:     hello-elementor
Version:      1.0.3
Requires PHP: 8.0
Text Domain:  creq
*/

/*
 * Let op: de bestaande site-CSS staat (nog) in Weergave → Customizer → Extra CSS
 * (custom_css-post 1086) en in de Elementor-kit. Die blijft gewoon werken.
 * Nieuwe maatwerk-CSS mag hier.
 */

/* Archieftemplate (categorie/tag): links net als op /cases/ (daar geldt Hello's ".page-content a { underline }") */
.elementor-location-archive a {
	text-decoration: underline;
}

/* Categorieknoppen op categorie-/tagpagina's ([creq_cat_pills]) = maten en kleuren van de filters op /cases/ */
.creq-cat-pills ul {
	list-style: none;
	margin: 0;
	padding: 0 0 15px;
	display: flex;
	flex-wrap: wrap;
}
.creq-cat-pills li {
	margin: 0 5px 5px 0;
	padding: 0;
}
.creq-cat-pills li:last-child {
	margin-right: 0;
}
.creq-cat-pills .creq-cat-pills__link {
	display: inline-block;
	font-family: "Lexend", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
	padding: 5px 12px;
	border-radius: 25px;
	background-color: #e4e4e4;
	color: #4c5962;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.creq-cat-pills .creq-cat-pills__link:hover,
.creq-cat-pills .creq-cat-pills__link:focus-visible,
.creq-cat-pills .creq-cat-pills__link.is-active {
	background-color: #333;
	color: #fff;
}

/* Berichten (single-template 1401, widget Berichtinhoud): witruimte tussen alinea's en lijsten,
   zoals in de editor. De Elementor-kit zet de alinea-afstand sitebreed op 0; dat blijft voor pagina's zo.
   Lege alinea's worden in functions.php weggefilterd (creq_strip_empty_paragraphs). */
body .elementor-widget-theme-post-content p,
body .elementor-widget-theme-post-content ul,
body .elementor-widget-theme-post-content ol {
	margin-block: 0 1em;
}
body .elementor-widget-theme-post-content li {
	margin-block-end: .4em;
}
body .elementor-widget-theme-post-content li > p,
body .elementor-widget-theme-post-content :is(p, ul, ol, li):last-child {
	margin-block-end: 0;
}
