/*
Theme Name: DP Buzz
Theme URI: http://www.doppelpack.com
Author: Timon Scheibner | Doppelpack Werbeagentur
Author URI: http://www.doppelpack.com
Description: Fast and lightweight mobile first Wordpress theme.
Version: 1.0.1
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dp-buzz

DP Buzz is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
and DP Apollo Theme.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Bootstrap v5.2.1 (https://getbootstrap.com/)
Copyright 2011-2019 Twitter, Inc.
Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Base
# Site Content
# Site Footer
# Archives
# Numeric Posts Navigation
# Media Queries - Small devices (landscape phones, 576px and up)
# Media Queries - Medium devices (tablets, 768px and up)
# Media Queries - Large devices (desktops, 992px and up)
# Media Queries - Extra large devices (large desktops, 1200px and up)
---------------------------------------------------------------- */


/* ============================================================= */
/* Base
/* ============================================================= */

*, ::after, ::before {
	box-sizing: border-box;
}

html {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: none;
	font-size: 16px;
}

body {
	width: 100%;
	height: 100%;
	word-wrap: break-word;
	word-break: break-word;
	overflow-x: hidden;
}

#page {
	overflow: hidden;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Alignment Styles */

.wp-site-blocks,
body>.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"]>.wp-block-group,
.is-root-container .wp-block[data-align="full"]>.wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

.wp-block-image.aligncenter {
	display: block !important;
}


/* ============================================================= */
/* Site Content
/* ============================================================= */

.posted-on time:not(.updated) {
	display: none;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .alignwide {
	width: 100%;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* Header Logo
/* -------------------------------------------------------------*/

#container-header .logo-langeder img {
	max-width: 50%;
}

/* Goldbarren
/* -------------------------------------------------------------*/

#container-goldbarren {
	position: relative;
}

#goldbarren img {
	position: absolute;
	top: -40%;
	right: 0;
	width: 65%;
}

/* Schmuck
/* -------------------------------------------------------------*/

#container-schmuck {
	position: relative;
}

#schmuck img {
	position: absolute;
	bottom: 0;
	left: 0;
	max-width: 60%;
}

/* Liste Ankauf
/* -------------------------------------------------------------*/

ul#liste-ankauf {
	text-align: center;
	padding: 0;
}

ul#liste-ankauf li {
	list-style: none;
	padding: 0;
	line-height: 2;
}

/* Leistungen
/* -------------------------------------------------------------*/

#container-leistungen .wp-block-columns {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin: 0 !important;
}

/* WP Blocks
/* -------------------------------------------------------------*/

.wp-block-separator {
	border: 9px solid;
}

/* ============================================================= */
/* Site Footer
/* ============================================================= */

#site-footer {
	z-index: 20;
	width: 100%;
	padding: var(--wp--custom--spacing--medium, 40px) 0;
}

/* Doppelpack Logo
/* -------------------------------------------------------------*/

.footer-logo-wrapper {
	text-align: center;
}

#footer-logo-dp svg {
	width: 100px;
	height: auto;
}


/* ============================================================= */
/* Archives
/* ============================================================= */

.articles-grid {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	gap: 20px;
	margin-top: var(--wp--custom--spacing--medium, 40px);
	margin-bottom: var(--wp--custom--spacing--medium, 40px);
}

.articles-grid article {
	flex: 0 1 100%;
	display: flex;
	flex-flow: row nowrap;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: var(--wp--preset--color--bg-light, #eeeeee);
	overflow: hidden;
}

.articles-grid .article-content {
	flex: 1;
	padding: 2rem;
	margin: 0;
}

.articles-grid .entry-title {
	font-size: 1.7em;
	margin-top: 0;
}

.articles-grid .entry-title > a {
	text-decoration: none;
}

.articles-grid .entry-meta {
	font-size: 0.8em;
}

.articles-grid .entry-excerpt {
	font-size: 0.9em;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.articles-grid .article-thumbnail {
	position: relative;
	flex: 1;
	min-height: 200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.articles-grid .article-thumbnail a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.articles-grid .article-thumbnail img {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 1px;
	height: 1px;
}


/* ============================================================= */
/* Numeric Posts Navigation
/* ============================================================= */

.num-posts-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 var(--wp--custom--spacing--medium, 40px);
	margin: var(--wp--custom--spacing--small, 15px) 0;
}

.num-posts-navigation ul {
	position: relative;
	display: flex;
	gap: 5px;
	list-style: none;
	padding: 0;
}

.num-posts-navigation li {
	display: flex;
	justify-content: center;
	align-items: center;
}

.num-posts-navigation > ul > li:before,
.num-posts-navigation > ul > li:after {
	display: none;
}

.num-posts-navigation li a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	color: var(--wp--preset--color--primary, #f44e1e);
	line-height: 30px;
	border-radius: 50px;
	background-color: transparent;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s linear;
}

.num-posts-navigation li a:hover {
	color: #fff;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	background-color: var(--wp--preset--color--primary, #f44e1e);
}

.num-posts-navigation li.active a {
	color: #fff;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	background-color: var(--wp--preset--color--primary, #f44e1e);
}

/* Previous and Next */
.num-posts-navigation li.previous {
	position: absolute;
	right: 100%;
}

.num-posts-navigation li.next {
	position: absolute;
	left: 100%;
}

.num-posts-navigation li.previous svg path,
.num-posts-navigation li.next svg path {
	fill: currentColor;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

	/* ============================================================= */
	/* Base
    /* ============================================================= */

	html {
		font-size: 18px;
	}

	/* ============================================================= */
	/* Site Content
    /* ============================================================= */

	/* Goldbarren
	/* -------------------------------------------------------------*/

	#goldbarren img {
		top: -50%;
		width: 50%;
	}

	/* Schmuck
    /* -------------------------------------------------------------*/

	#schmuck img {
		max-width: 45%;
	}


	/* ============================================================= */
	/* Archives
    /* ============================================================= */

	.articles-grid .article-content {
		flex: 2;
	}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

	/* ============================================================= */
	/* Site Content
    /* ============================================================= */

	/* Goldbarren
	/* -------------------------------------------------------------*/

	#goldbarren img {
		top: -70%;
		width: 40%;
	}

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

	/* ============================================================= */
	/* Site Content
    /* ============================================================= */

	.entry-content .alignwide {
		width: calc(50% + 50vw);
		max-width: calc(50% + 50vw);
		margin-left: calc(25% - 25vw);
		margin-right: calc(25% - 25vw);
	}

	/* Goldbarren
	/* -------------------------------------------------------------*/

	#goldbarren img {
		top: -50%;
		bottom: unset;
		right: 0;
		max-width: 35%;
	}

	/* Schmuck
    /* -------------------------------------------------------------*/

	#schmuck img {
		top: unset;
		bottom: 0;
		left: 5%;
		max-width: 50%;
	}



}

/* Extra large devices (large desktops, 1600px and up) */
@media (min-width: 1600px) {

	/* ============================================================= */
	/* Site Content
    /* ============================================================= */

	/* Goldbarren
	/* -------------------------------------------------------------*/

	#goldbarren img {
		top: -100%;
		max-width: 35%;
		right: 5%;
	}

	/* Leistungen
	/* -------------------------------------------------------------*/

	#container-leistungen .wp-block-columns {
		flex-direction: row !important;
		flex-wrap: wrap !important;
	}

}