/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Divi.world
 Author URI:     http://divi.world
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

body, div, p, h1, h2, h3, h4, h5, h6 { font-family:"gill-sans-nova"; }

body.postid-4826 .et_pb_gallery_item img { aspect-ratio: 1920/1200; object-fit:cover; object-position: center;}

/* Consentmanager Yotube */
.cmplazypreviewiframe {
	background-image: url('https://www.denk-keramik.de/magazin/wp-content/uploads/2024/04/Sauerteig-Focaccia.webp') !important;
}
.cmplazyhl, .cmplazytxt { line-height: 1.3em; }
.cmplazybtnlink.cmpboxbtn.cmpboxbtnyes { color: #000 !important;}

/* Links */ 
.et_pb_text a,
#zrdn-recipe-container a{
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
}

.et_pb_text a:hover,
#zrdn-recipe-container a:hover { color: #000; }

.et_pb_video.hochformat iframe { aspect-ratio: 9/16;}

/* Home */
.randomposts .dp-dfg-skin-default .dp-dfg-item>div:last-of-type { padding: 0 !important;}
.randomposts .dp-dfg-header.entry-header { padding: 12px 0;}
.tag-wrapper-home .et_pb_column {
	display: flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content: center;
}
.tag-wrapper-home .et-pb-icon { font-size: 28px !important; transition: all .3s ease-in-out;}
.tag-wrapper-home .et_pb_blurb { margin: 15px !important; transition: all .3s ease-in-out; position: relative; bottom: 0;}
.tag-wrapper-home .et_pb_blurb_position_left .et_pb_blurb_container { padding-left: 7px; }
.tag-wrapper-home .et_pb_blurb:hover .et-pb-icon { color: #000; }
.tag-wrapper-home .et_pb_blurb:hover { bottom: 4px; }

/* Menu */
#mobile_menu2 { width: 80vw; left: auto; right: 0; }

/* Prehead */
.prehead, .prehead p { font-size: 14px !important; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0px 0px 10px rgba(0,0,0,.2);}

/* Rezepte */
#zrdn-recipe-container.custom,
#zrdn-recipe-container .zrdn-block { padding-left: 0; padding-right: 0; }
.entry-content #zrdn-recipe-container  ol {
	list-style-position: outside;
}
#zrdn-recipe-container .zrdn-details .zrdn-details-item { flex-basis: 100% !important; } 
.zrdn-block-wrap.zrdn-details {
	padding: 10px;
	background: rgba(255, 175, 0, .1);
}
#zrdn-recipe-container .zrdn-block-wrap.zrdn-details > div:first-child { display: none; }
#zrdn-recipe-container .zrdn-recipe-image img { max-width: none; width: 100%; }
.entry-content #zrdn-recipe-container ol { padding-bottom: 0 !important; }
.zrdn-block-wrap.zrdn-actions { margin: 0 !important; }
.zrdn-instructions h3,
.zrdn-instructions h4 { padding: 0; margin: .7em 0 .1em 0; }
ol.zrdn-list.zrdn-instructions-list.numbers { padding-left: 1.5em !important; }
.zrdn-print-link { margin-top: 15px; }
.zrdn-print-link img { width: 25px; height: 25px; }
.zrdn-print-link a { text-decoration: none !important; color: #000 !important; }
.zrdn-print-link a:hover{ color: #ffaf00 !important; }
.zrdn-print-link a:after { content: 'Jetzt drucken'; display: inline-block; margin-left: 5px; }

/* Product-Box */
.product-box .et_pb_blurb_content { display: flex; flex-wrap: wrap; align-items: center;}
.product-box .et_pb_blurb_content > div { width: 50%; margin: 0; }
.product-box .et_pb_blurb_content .et_pb_image_wrap { width: 100% !important; }
.product-box .et_pb_blurb_content .et_pb_blurb_description a { color: #000 !important; text-decoration: underline !important; }
.product-box.et_clickable:hover .et_pb_blurb_description a,
.product-box .et_pb_blurb_content .et_pb_blurb_description a:hover { text-decoration: none !important;}

/* Listen */
#left-area ol, .entry-content ol, .et-l--body ol, .et-l--footer ol, .et-l--header ol {
    list-style-position: outside;
    padding: 0 0 23px 1em;
}
/* Single Post Rezept */
body.single-post .et_pb_section_0 > div:first-child { padding-bottom: 0; }
body.single-post #et-main-area #main-content > .container { width: 90% !important; }  
body.single-post #et-main-area #main-content .et_pb_row { width: 100% !important; }
body.single-post .zrdn-ingredients-list li:not(:first-child) > span.bold { display: inline-block; margin-top: 15px; }

/* Sidebar */
#sidebar .wp-block-latest-posts li { margin-bottom: 2em; }
#sidebar .wp-block-latest-posts img { width: 100%; border-radius: 9px; overflow: hidden; }

/* relatedpostbytag */
.relatedpostbytag img.dp-dfg-featured-image { aspect-ratio: 3/2; object-fit: cover; object-position: center; }

/* Videos */
.et_pb_video iframe,
.zrdn-video iframe { aspect-ratio: 16/9; width: 100%; height: auto; }

@media ( max-width: 980px ) {
	#sidebar .wp-block-latest-posts { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
	#sidebar .wp-block-latest-posts > li { width: calc(33.33% - 10px);}
	#sidebar .wp-block-latest-posts > li img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
}

@media ( max-width: 767px ) {
	.product-box .et_pb_blurb_content > div { width: 100%; margin: 0; }
	.product-box .et_pb_blurb_content > div:last-child { padding: 15px 0 0 0 !important; }
}

@media (max-width: 479px) {
	.et_pb_post h2 {
		font-size:20px;
		line-height: 1.3em !important;
	}
	#sidebar .wp-block-latest-posts > li { width: calc(100% - 0px);}
}