/**
Theme Name: Joerrens
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joerrens
Template: astra
*/

.menu-link {
	font-weight: 700;
	font-size: 14px;
}

h1.wp-block-heading {
	letter-spacing: -0.02em !important;
}

h2.wp-block-heading {
	line-height: 1.25 !important;
	letter-spacing: -0.02em !important;
}

.spectra-image-gallery__media--carousel {
	width: 75%;
}

.gform_wrapper.gravity-theme .gfield_label {
	font-size: 15px;
}

time a {
	text-decoration: none !important;
}

.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-decoration: none;
}


.ast-archive-entry-banner[data-post-type="post"] .ast-container>*:not(:last-child) {
	margin-bottom: 0px;
}

.ast-container h1 {
	font-size: 2rem;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700 !important;
	line-height: 1.4em;
	padding: 36px 0 36px 0;
	text-align: center;
}

.ast-builder-footer-grid-columns {
	grid-column-gap: 10px;
}

body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type="submit"] {
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	padding: 15px 30px;
	border: 1px solid #02aeea;
	background-color: #02aeea;
}

body .gform_wrapper .gform_footer input[type="submit"]:hover {
	border: 1px solid #1e2027;
	color: #1e2027;
	background-color: #f0f5fa;
}

.gform_required_legend {
	display: none;
}

.gform_my_notice {
	color: var(--ast-global-color-2);
}

navigation.post-navigation {
	display: none;
}

.archive-description,
.term-description {
	text-align: center;
	margin-bottom: 2rem;
}

.desktop-br {
	display: block;
}

.ast-archive-entry-banner>.ast-container>p {
	max-width: 1400px;
	margin: 0 auto 2rem auto;
	text-align: center;
	color: #1e2027;
}

body.category-referenser .ast-archive-entry-banner>.ast-container>p {
	padding-left: 20px;
	padding-right: 20px;
}

body.category-referenser .referens-wrapper.ast-container {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.category-grid-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
	display: block !important;
	width: 100%;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
	max-width: 1200px;
	gap: 2rem;
}

.category-card {
	max-width: 100%;
	position: relative;
	aspect-ratio: 3 / 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #1f2937;
	overflow: hidden;
	text-decoration: none;
	color: white;
	border-radius: 0;
	transition: background-size 0.3s ease;
}

.category-card:hover {
	background-size: 105%;
}

.card-overlay {
	padding: 1.25rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 100%;
	/* für sichere Ausrichtung */
}

.card-overlay p {
	margin: 0;
}

.card-tag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 600;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	z-index: 2;
}

.card-headline {
	min-height: 3.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: #ffffff;
}

.card-subline {
	font-size: 0.875rem;
	opacity: 0.85;
	margin-top: 0.25rem;
	color: #ffffff;
}

.cta-card {
	background-color: #f0f5fa;
	color: #1e2027;
	background-image: none !important;
}

.cta-card .card-overlay {
	background: none;
}

.cta-card .card-tag {
	background: #dce3ea;
	color: #1e2027;
}

.cta-card .card-headline,
.cta-card .card-subline {
	color: #1e2027;
}


/* Burger-Menü */
.custom-menu-toggle {
	transition: opacity 0.3s ease;
	pointer-events: auto !important;
	position: fixed;
	top: 2rem;
	right: 2rem;
	width: 32px;
	height: 24px;
	z-index: 100010;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.custom-menu-toggle span {
	position: absolute;
	display: block;
	height: 3px;
	width: 100%;
	background: #02aeea;
	/* Burger-Farbe geschlossen */
	border-radius: 2px;
	transition: transform 0.4s ease, opacity 0.3s ease, background 0.3s ease;
	transform-origin: center;
}

.ast-header-break-point .main-header-bar {
	z-index: 9980 !important;
}

.custom-menu-toggle span:nth-child(1) {
	top: -8px;
}

.custom-menu-toggle span:nth-child(2) {
	top: 0;
}

.custom-menu-toggle span:nth-child(3) {
	top: 8px;
}

.custom-menu-toggle.open span:nth-child(1) {
	transform: rotate(45deg);
	top: 0;
	background: #fff;
}

.custom-menu-toggle.open span:nth-child(2) {
	opacity: 0;
}

.custom-menu-toggle.open span:nth-child(3) {
	transform: rotate(-45deg);
	top: 0;
	background: #fff;
}

.burger-hidden {
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

/* Overlay-Menü */

.overlay-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 2rem;
}

.overlay-logo img {
	height: 50px;
	width: auto;
	display: block;
}


.custom-overlay-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #02aeea;
	z-index: 100005;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.custom-overlay-menu.open {
	opacity: 1;
	visibility: visible;
}

.overlay-inner {
	margin-top: 80px;
}

.custom-overlay-menu ul {
	list-style: none;
	padding: 0;
	margin: 24px;
	text-align: left;
	width: 100%;
}

.custom-overlay-menu li {
	margin: 0 !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
}

.custom-overlay-menu a {
	display: inline-block;
	font-size: 24px !important;
	color: #fff !important;
	text-decoration: none !important;
	transition: opacity 0.3s ease !important;
}

.custom-overlay-menu a:hover {
	opacity: 0.7 !important;
}

.overlay-button-wrap {
	margin-top: 2rem !important;
}

.overlay-button {
	display: inline-block;
	background: transparent;
	color: #fff;
	padding: 0.5rem 1.25rem;
	font-weight: 600;
	font-size: 1.1rem;
	border-radius: 4px;
	text-decoration: none;
	border: 2px solid #fff;
	transition: background 0.3s ease, color 0.3s ease;
	line-height: 1.2;
	margin-left: 20px;
	margin-right: 20px;
}

.overlay-button:hover {
	background: transparent;
	color: #fff;
}

.custom-overlay-menu .ast-builder-layout-element.ast-header-button-1 {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	margin-top: 2rem;
}

.overlay-logo {
	position: absolute;
	top: calc(2rem - 7px);
	/* 32 - 10 = 22px */
	left: calc(2rem - 12px);
	/* 32 - 14 = 18px */
	z-index: 10001;
}

.overlay-logo img {
	height: 50px;
	width: auto;
	display: block;
}

body.overlay-open #ast-scroll-top {
	display: none !important;
}

.wp-block-uagb-buttons-child.my-black-button .wp-block-button__link:hover {
	border-color: #1e2027 !important;
}

/* Formular */

.gform_wrapper.gravity-theme .gform_validation_errors {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.gform_wrapper.gravity-theme .gfield_required {
	color: #dc5b4d !important;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
	color: #dc5b4d !important;
	font-size: 0.9rem !important;
	font-weight: 500;
	background: none !important;
	border: none !important;
	margin-top: 4px !important;
	padding: 0 !important;
	line-height: 1.3;
}

.gform_wrapper.gravity-theme .gfield_error input,
.gform_wrapper.gravity-theme .gfield_error textarea,
.gform_wrapper.gravity-theme .gfield_error select {
	border-color: #dc5b4d !important;
	box-shadow: none !important;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_error .gfield_label {
  color: inherit !important;
}

#gform_wrapper_1.gform_wrapper.gravity-theme .gfield_error .gfield_label {
  color: #1e2027 !important;
}

#gform_wrapper_1.gform_wrapper.gravity-theme .gfield_label {
  color: #1e2027 !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
  display: none !important;
}

/* Ersetze alle Fehlermeldungen, aber behalte den Kontext */
#gform_wrapper_1 .validation_message {
	font-size: 0 !important;
}

#gform_wrapper_1 .validation_message::before {
	font-size: 0.9rem !important;
	color: #dc5b4d !important;
	display: block !important;
	font-weight: 500;
}

/* Standard: Pflichtfeld */
#gform_wrapper_1 .validation_message::before {
	content: 'Fältet är obligatoriskt.';
}

/* E-Mail spezifisch - wenn "e-post" oder "email" im Text */
#gform_wrapper_1 .gfield_contains_required.gfield--type-email .validation_message::before {
	content: 'Ange en giltig e-postadress.';
}

.gform_wrapper.gravity-theme .gform_footer input[type=submit],
.gform_wrapper.gravity-theme .gform_page_footer input[type=button],
.gform_wrapper.gravity-theme .gform_page_footer input[type=submit],
.gform_wrapper.gravity-theme .gform_page_footer input[type=next],
.gform_wrapper.gravity-theme .gform_page_footer input[type=previous] {
	background: transparent;
	color: #1e2027;
	border: 1px solid #1e2027;
	font-weight: 600;
	font-family: inherit;
	font-size: 0.875rem;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 30px;
	padding-right: 30px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover,
.gform_wrapper.gravity-theme .gform_page_footer input[type=submit]:hover,
.gform_wrapper.gravity-theme .gform_page_footer input[type=button]:hover,
.gform_wrapper.gravity-theme .gform_page_footer input[type=next]:hover {
	background: #01AEEA;
	color: #fff;
	border-color: #01AEEA;
}

.gform_wrapper.gravity-theme input.gform_next_button {
  background: #01AEEA !important;
  color: #fff !important;
  border: 1px solid #01AEEA !important;
}

.gform_wrapper.gravity-theme input.gform_next_button:hover {
  background: transparent !important;
  color: #1E2027 !important;
  border-color: #1E2027 !important;
}

@media screen and (max-width: 768px) {

	.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"] {
		margin-right: 20px;
	}

	.ast-footer-widget-heading {
		font-size: 1.2rem;
	}

	.desktop-br {
		display: none;
	}

	.hide-mobile {
		display: none;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.category-grid-wrapper {
		padding: 0;
	}

	.category-grid .category-card:first-child {
		margin-top: 1.5rem;
	}

	.ast-container>p {
		padding: 0 20px;
	}

	body.archive.category .ast-breadcrumbs-wrapper {
		padding: 0 20px;
	}

	.wp-block-columns {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.wp-block-columns>.wp-block-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.ast-scroll-to-top-right {
		right: 20px;
		bottom: 30px;
	}

	.wp-block-column.keep-padding {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}


}

@media (max-width: 921px) {
	.site-content .ast-container {
		display: block !important;
	}
}