/*
Theme Name: KöBes Knepper Child
Theme URI: https://koebes.net
Description: Knepper Bestattungen child theme for the KöBes Theme and Elementor Free.
Author: Anne Baum
Author URI: https://koebes.net
Template: koebes-theme
Version: 1.0.3
Requires at least: 6.8
Requires PHP: 7.4
Text Domain: koebes-knepper
License: GNU General Public License v2 or later
*/

body.elementor-page .site-main,
body.elementor-template-full-width .site-main,
body.elementor-page .entry,
body.elementor-page .entry-content {
	width: 100%; max-width: none; margin: 0; padding: 0;
}

.e-con.knepper-native-section,
.e-con.knepper-native-container { box-sizing: border-box; }
.e-con.knepper-native-section { width: 100%; }
.elementor-widget-heading,
.elementor-widget-text-editor,
.elementor-widget-image,
.elementor-widget-button { margin-block-end: 0; }

body:not(.elementor-editor-active) .knepper-native-section > .elementor-widget,
body:not(.elementor-editor-active) .knepper-native-container > .elementor-widget,
body:not(.elementor-editor-active) .knepper-native-section > .elementor-widget > .elementor-widget-container,
body:not(.elementor-editor-active) .knepper-native-container > .elementor-widget > .elementor-widget-container {
	display: contents;
}

.e-con.knepper-native-section > .elementor-element,
.e-con.knepper-native-container > .elementor-element { min-width: 0; }

.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button {
	font-family: "Avenir Next", "Open Sans", Avenir, Helvetica, Arial, sans-serif;
}

.elementor-widget-image img { display: block; width: 100%; }
.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child { margin-bottom: 0; }
.footer-bottom .menu { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

.knepper-form-placeholder { padding: 1.5rem; border: 1px solid var(--line); background: var(--white); }

.home-service-grid .home-service-card:nth-child(1),
.home-service-grid .home-service-card:nth-child(2) { grid-column: span 3; }
.home-service-grid .home-service-card:nth-child(3),
.home-service-grid .home-service-card:nth-child(4),
.home-service-grid .home-service-card:nth-child(5) { grid-column: span 2; }

@media (max-width: 700px) {
	.home-service-grid .home-service-card { grid-column: auto !important; }
}

@media (max-width: 720px) {
	.mobile-call { display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: .95rem 1rem; color: #fff; background: var(--ink-dark); text-align: center; font-weight: 700; }
	body { padding-bottom: 52px; }
}

@media (min-width: 721px) { .mobile-call { display: none; } }

