/*
Theme Name:     Growgeek Theme
Theme URI:      https://growgeek.de
Description:    Child Theme for GrowGeek.de
Author:         Frank Rumler
Author URI:     https://rumler.com
Template:       Divi
Version:        1.2.1
License:        GNU General Public License
*/

/*
last edited: 2025-06-07
*/

/* CALCULATE FLUID-RESPONSIVE FONT-SIZE VALUE */
@media (min-width: 480px) {
    :root {
        font-size: calc(1rem + ((1vw - 4.8px) * 0.4167));
    }
}
@media (min-width: 768px) {
    :root {
        font-size: calc(1rem + ((1vw - 7.68px) * 0.6944));
    }
}
@media (min-width: 1920px) {
    :root {
        font-size: 24px;
    }
}

/* COLOR PALETTE */
:root {
    --primary-color: oklch(0.3204 0.0557 172.71); /* #1D3B24 */
    --accent-cream: oklch(0.997, 0.0131, 107); /* #fffff5 */
    --accent-tan: oklch(0.85 0.08 80); /* #D8B48B */
    --accent-moss: oklch(0.70 0.13 150); /* #A0BF66 */
    --accent-sage: oklch(0.80 0.09 160); /* #B6D0A8 */
    --accent-mint: oklch(0.92 0.06 165); /* #E6F7D8 */
    --accent-gold: oklch(0.88 0.10 100); /* #E0C987 */
    --accent-emerald: oklch(0.596 0.145 163.225); /* #247C4B */
    --accent-gray: oklch(0.85 0.03 265); /* #D0CCD4 */
    --accent-white: oklch(0.97 0.02 100); /* #F5F5F5 */
}

body {
    background-color: var(--primary-color);
    color: var(--accent-white);
    font-family: 'Segoe UI Variable Display', 'Segoe UI Variable', 'Segoe UI', SegoeUI, 'Segoe UI Web (West European)', Helvetica, Arial, Sans-Serif !important;
	font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

#main-content,
.ewd-ufaq-faq-body,
.ewd-ufaq-faq-post {
    background-color: initial !important;
}
.ewd-ufaq-faq-body {
    padding: 1em !important;
}
a {
	transition: all .3s;
}
a:hover {
	color: #0d7528;
}

.button {
background-color: rgba(28, 45, 35, .8);
    border-color: #365744;
    border-width: 1px;
    border-style: solid;
    border-radius: .5rem;
    color: var(--accent-white);
    padding: .2em 1.2em .3em;
    font-size: 1.5em;
    line-height: 1;
	transition: all .5s;
	box-shadow: 1px 5px 20px -5px #365744;
}

.button:hover,
.button:active {
	filter: brightness(1.3);
}

/* FAQ
-------------------------------------------------------------- */
.ewd-ufaq-faqs {
background-color: transparent;
}

.ewd-ufaq-faq-div {
	margin: 0 !important;
	padding: 0 !important;
	background-color: inherit;
    border-color: #365744;
    border-style: solid;
    border-radius: 0;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px !important;
	transition: all .5s;
}
.ewd-ufaq-faq-div:last-of-type {
    border-bottom-width: 1px;
}

.ewd-ufaq-faq-div:hover {
	background-color: #005416;
}

.ewd-ufaq-faq-title {
background-color: inherit;
}

.ewd-ufaq-faq-title-text h4 {
	line-height: 1.25em;
	letter-spacing: -0.02em;
	padding-top: 0.5em;
	margin: 0;
	font-size: 3em;
}
/* Medium Screens */
@media only screen and (min-width: 481px) and (max-width: 980px) {
	.ewd-ufaq-faq-title-text h4 {
		font-size: 2vw;
	}
}
/* Large Screens */
@media only screen and (min-width: 981px) {
	.ewd-ufaq-faq-title-text h4 {
		font-size: 1.2em;
	}
}

.ewd-ufaq-faq-title-text {
	width: 95% !important;
}

.ewd-ufaq-faq-post,
.ewd-ufaq-faqs .ewd-ufaq-faq-categories,
.ewd-ufaq-faqs .ewd-ufaq-faq-post p,
.ewd-ufaq-faqs .ewd-ufaq-faq-post ol li,
.ewd-ufaq-faqs .ewd-ufaq-faq-post ul li {
	font-size: small;
	line-height: normal;
}

.ewd-ufaq-faqs .ewd-ufaq-faq-categories {
	font-weight: 600;
}

.ewd-ufaq-faq-body {
	padding: 0.5em 1em !important;
	padding-left: 1.4em !important;
}

.ewd-ufaq-faqs .ewd-ufaq-post-margin-symbol span {
font-size: x-small !important;
transform: translate(-30%, 1%);
margin-top: 1.3em !important;
background-color: #556272 !important;
color: #fff;
border-radius: 0 !important;
padding: .5em .4em .3em;
}

.ewd-ufaq-faq-title .ewd-ufaq-post-margin-symbol {
margin-right: 0.2em !important;
float: right !important;
}

.ewd-ufaq-faqs .ewd-ufaq-faq-excerpt {
	display: none;
}


.et_pb_section {
    background-color: initial;
}

::selection {
    background: var(--accent-emerald);
    color: var(--accent-white);
}

.bgDarkTrans {
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0.25em 2em;
	width: fit-content;
}

.widget-title,
h1,
h2,
h3,
h4 {
    color: var(--accent-cream);
}

.main-navigation ul ul li:hover>a {
    color: var(--accent-mint);
}

body.theme-style-modern .site-header .main-navigation ul ul a {
    color: var(--accent-white);
    padding: 10px;
}

.center {
	text-align: center !important;
}
.valign-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.valign-middle {
	vertical-align: middle;
}
.valign-bottom {
	display: flex;
	align-items: flex-end;
}
.fit {
	width: fit-content !important;
}
.pet-caps, .pet {
	font-variant: all-petite-caps;
}
/* FONT SIZE & STYLES
-------------------------------------------------------------- */
.strong {
	font-weight: 600;
}
.mbold {
	font-weight: 700 !important;
}
.xbold {
	font-weight: 800 !important;
}
.xthin {
	font-weight: 300;
}
.thin {
	font-weight: 400;
}
.larger {
	font-size: larger !important;
}
.xxlarge {
	font-size: 2em !important;
}
.smaller {
	font-size: smaller !important;
}
.sm-txt, xsmall {
	font-size: calc(11px + 2 * ((100vw - 320px) / 680));
	letter-spacing: -0.2px;
}
/* SUPER / SUBSCRIPT
-------------------------------------------------------------- */
sup, .sup {
	position: relative;
	top: -0.3em;
	font-size: 75%;
}
sub, .sub {
	position: relative;
	top: 0.3em;
	font-size: 75%;
}
/* WORD / TEXT BREAK / NOWRAP
-------------------------------------------------------------- */
.break {
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphenate-character: "-";
	-webkit-hyphenate-character: "-";
	text-wrap: pretty;
	white-space: normal;
}
.nowrap {
	white-space: nowrap;
}
