/*!
Theme Name: Gewerbe Triengen
Theme URI: http://www.gewerbetriengen.ch/
Author: Peter Kälin
Author URI: https://peterkaelin.ch/
Description: WordPress Theme for Gewerbe Triengen
Version: 1.0.0
Text Domain: gewerbetriengen
*/

/* Variables
--------------------------------------------- */

:root {
	--color-body-background: #fff;
	--color-text: #404040;
	--color-primary: #d0023b;
	--color-primary-hover: #a50330;
	--color-primary-active: #7a0224;
	--color-primary-text: #fff;
	--color-secondary: #ffd100;
	--color-secondary-hover: #ffc100;
	--color-secondary-active: #ffb300;
	--color-secondary-text: #333;
	--color-nav-hover: #f9f9f9;
	--color-hr-background: #eee;
	--color-lead-background: #f5f5f5;
}

/* Reset
--------------------------------------------- */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0 0 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	border: none;
	box-shadow: none;
	text-decoration: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

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

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body {
	margin-bottom: 0em !important;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 1.1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.2;
	font-weight: 700;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-body-background);
}

hr {
	background-color: var(--color-hr-background);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary);
	text-decoration: none;
}

a:visited {
	color: var(--color-primary);
}

a:hover,
a:focus,
a:active {
	color: var(--color-primary-hover);
}

/* Forms
--------------------------------------------- */
button,
a.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.wp-element-button {
	background-color: var(--color-secondary);
	border: 0px none;
	color: var(--color-secondary-text);
	line-height: 1;
	padding: .4em 1em .5em;
	text-decoration: none;
	border-radius: 1.5em;
	font-weight: 600;
	cursor: pointer;
}

button:hover,
a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.wp-element-button:hover {
	background-color: var(--color-secondary-hover);
}

button:active,
button:focus,
a.button:active,
a.button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
a.wp-element-button:active,
a.wp-element-button:focus {
	background-color: var(--color-secondary-active);
}

button.button-primary,
a.button.button-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-text);
	font-weight: 600;
}

button.button-primary:hover,
a.button.button-primary:hover {
	background-color: var(--color-primary-hover);
	color: var(--color-primary-text);
}

button.button-primary:active,
a.button.button-primary:active {
	background-color: var(--color-primary-active);
	color: var(--color-primary-text);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
select,
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 1rem;
	padding: .25rem .75rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
select:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

form p {
	margin-top: 0;
	margin-bottom: 1rem;
}

form label {
	font-size: .9rem;
	margin-left: .75rem;
}

.wpcf7-not-valid-tip {
	margin-left: .75rem;
}


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.site-header {
	margin: .5em auto 1em;
	max-width: 1170px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	position: relative;
}

.site-branding {
	flex: 0 0 auto;
	max-width: 250px;
	margin-right: 5em;
}

.site-branding img {
	max-width: 100%;
	height: auto;
	display: block;
}

.header-cta {
	margin-top: .35em;
	margin-left: 1em;
	flex: 0 0 auto;
	font-size: 1rem;
}

.page-banner {
	margin-top: 1em;
}

.page-banner-image {
	background-size: cover;
	background-position: center;
	min-height: 35rem;
}

.page-banner-color {
	/*background-color: var(--color-secondary);*/
	background-color: #e6edef;
	background: linear-gradient(to bottom, #e6edef, #ffffff);
	min-height: 3rem;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	flex: 1;
	padding: 0 20px;
	font-size: .9em;
	margin-top: .7em;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background-color: #fff;
	border-radius: 0 8px 8px 8px;
	padding: 10px 0;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	transform: translateY(10px);
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li.submenu-open>ul {
	left: 100%;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation ul ul a {
	width: 100%;
	padding: 8px 20px;
	font-weight: 500;
	transition: background-color 0.2s;
}

.main-navigation ul ul a:hover {
	background-color: var(--color-nav-hover);
}

.main-navigation ul li.submenu-open>ul {
	left: 0;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	border: none;
	box-shadow: none;
	color: #404040;
}

.main-navigation .nav-menu>li>a {
	padding: .5em 1em .5em;
	font-weight: 600;
}

/* Small menu. */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #404040;
	position: relative;
	z-index: 100000;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background-color: transparent;
}

.hamburger {
	width: 24px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: background 0.2s ease-out;
}

.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 2px;
	background: inherit;
	left: 0;
	transition: transform 0.2s ease-out, top 0.2s ease-out;
}

.hamburger::before {
	top: -6px;
}

.hamburger::after {
	top: 6px;
}

.main-navigation.toggled .hamburger {
	background: transparent;
}

.main-navigation.toggled .hamburger::before {
	transform: rotate(45deg);
	top: 0;
	background: currentColor;
}

.main-navigation.toggled .hamburger::after {
	transform: rotate(-45deg);
	top: 0;
	background: currentColor;
}



.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.entry-meta {
	font-size: .85em;
}

.entry-meta .cat-links {
	padding-right: 1rem;
}

.has-medium-font-size {
	font-weight: 300;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.site-content {
	display: flex;
	flex-wrap: wrap;
	max-width: 1170px;
	margin: 3.5em auto;
	gap: 4rem;
}

.site-main {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
}

.blog .site-main header {
	width: 100%;
}

.blog .site-main,
.blog .post-wrapper {
	display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.blog .post-wrapper {
	gap: 0rem;
}

.blog .newest-post .post-wrapper {
	gap: 2rem; 
}

.blog article {
	margin-bottom: 2.5em;
	flex: 0 0 calc(25% - 2rem);
}

.blog .post-content-wrapper {
	flex: 0 0 calc(100%);
}

.blog .post-thumbnail-wrapper {
	flex: 0 0 calc(100%);
}

.blog article.newest-post {
	flex: 0 0 calc(100%);
	display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.blog article.newest-post .post-thumbnail-wrapper {
	flex: 0 0 calc(50%);
}

.blog article.newest-post .post-content-wrapper {
	flex: 0 0 calc(50% - 2rem);
}

.post-content-wrapper {
	flex: 0 0 calc(100%);
}

.post-thumbnail-wrapper {
	flex: 0 0 calc(100%);
}

.site-main .entry-content {
	padding-right: 1.5rem;
}

.site-main .entry-content h2.wp-block-heading {
	margin-top: 5em;
}

.widget-area {
	flex: 0 0 calc(25%);
	max-width: calc(25%);
	margin-top: 0.25rem;
}

.wp-block-buttons {
	margin: 1.5em 0 3em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.widget h2 {
	font-size: 1em;
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	margin-bottom: 0.5em;
}

.widget-news-item {
	margin-bottom: 1em;
	padding-bottom: .5em;
	border-bottom: 1px solid var(--color-hr-background);
}

.widget-news-meta,
.widget-news-company,
.unternehmen-meta {
	font-size: .85em;
}

.widget-news-date,
.posted-on {
	display: inline-block;
	padding-right: .5em;
	font-size: .85em;
	font-weight: 800;
}
.widget-news-date::after,
.posted-on::after {
	content: "-";
	padding-left: .5em;
	font-weight: 400;
}

.widget-news-item h4 {
	font-weight: 600;
	margin: .5em 0;
}

.widget-news-item h4 a {
	color: var(--color-text);
}

.gewerbe-veranstaltungen-widget-list {
	margin-bottom: 5em;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background-color: #2b2b2b;
	color: #ffffff;
	padding: 3em 0 1.5em;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
}

.site-footer a:hover {
	color: #ddd;
	border-bottom-color: #ddd;
}

.site-footer .widget-title {
	color: #fff;
	font-size: 1.25em;
	margin-bottom: 1em;
	font-weight: 600;
}

.footer-widgets {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 0 auto;
	max-width: 1170px;
	padding: 0 0 2em;
}

.footer-widgets .widget {
	flex: 1 1 0%;
	margin-bottom: 0;
}

.site-info {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5em;
	font-size: 0.9em;
	color: #aaa;
}

/*--------------------------------------------------------------
# Custom Post Types & Blocks Styling
--------------------------------------------------------------*/
/* Block Lists */
.jobs-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jobs-list .job-item {
	padding: 1.5em 0;
	border-bottom: 1px solid var(--color-hr-background);
}

.jobs-list .job-title,
.blog .post-title {
	margin-top: 0;
	font-size: 1em;
	font-weight: 700;
	margin-bottom: .25em;
}

.jobs-list .job-title a,
.blog .post-title a {
	color: var(--color-text);
	text-decoration: none;
}

.jobs-list .job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 2em;
	color: #666;
	font-size: 0.9em;
}

.jobs-list .job-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.jobs-list .job-meta .meta-item svg {
	width: 16px;
	height: 16px;
}

.gt-block-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.gt-grid-item {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gt-grid-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gt-grid-item img {
	max-width: 100%;
	height: auto;
	max-height: 150px;
	object-fit: contain;
}

.gt-grid-item .no-logo {
	text-align: center;
	color: #666;
}

/* Pagination */
.gt-pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.gt-pagination a,
.gt-pagination span {
	padding: 0.5rem 1rem;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
}

.gt-pagination .current {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}

/* Single Views */
.custom-single {
	padding: 0 !important;
	background: transparent !important;
}

/* Jobs Single */
.job-company-logo {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 1.5rem;
	max-width: 350px;
}

.job-company-logo img {
	height: auto;
}

.single-jobs .page-banner .entry-title {
	padding-top: 0;
}

.job-category {
	display: inline-block;
	font-size: .9rem !important;
	background: var(--color-primary);
	color: #fff;
	padding: 0.3em 0.8em;
	border-radius: 20px;
	font-weight: 600;
	margin-bottom: .5rem;
}

.job-company-name {
	font-size: 1.2em;
	color: #555;
	font-weight: 600;
	margin-top: 0.5em;
}

.job-content-wrap {
	display: flex;
	gap: 3rem;
	margin-top: 3rem;
}

.job-main-content {
	flex: 1;
}

.job-meta-sidebar {
	flex: 0 0 300px;
}

.job-meta-sidebar .meta-box {
	padding: 0 0 1.5rem 1.5rem;
}

.job-meta-sidebar ul {
	list-style: none;
	padding: 0;
	margin-bottom: 1.5em;
}

.job-meta-sidebar ul li {
	margin-bottom: 1em;
	font-size: 0.95em;
}

.job-download a {
	display: block;
	text-align: center;
	width: 100%;
}

/* Unternehmen Single */
.unternehmen-header {
	background: #fff;
	margin-bottom: 3em;
	padding-bottom: 3em;
	border-bottom: 1px solid var(--color-hr-background);
}

.unternehmen-header-content {
	display: flex;
	align-items: center;
	gap: 3rem;
	margin-top: 2rem;
}

.unternehmen-header-content .entry-title {
	margin: 0;
	margin-top: .5em;
	margin-bottom: .5em;
}

.unternehmen-logo-large {
	flex: 0 0 250px;
	display: flex;
	justify-content: center;
}

.unternehmen-logo-large img {
	max-width: 100%;
	height: auto;
}

.unternehmen-branche {
	display: inline-block;
	background: var(--color-hr-background);
	color: var(--color-text);
	padding: 0.3em 0.8em;
	border-radius: 20px;
	font-size: 0.75em;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.unternehmen-meta-list .meta-item {
	display: block;
	width: 100%;
}

.unternehmen-meta-list .meta-item svg {
	width: 16px;
	height: 16px;
}

.unternehmen-meta-list .meta-item a {
	border-bottom: 1px solid var(--color-primary-text);
	color: var(--color-text);
}

.unternehmen-meta-list .meta-item a:hover {
	border-bottom: 1px solid var(--color-hr-background);
	transition: all 0.3s ease;
}

.unternehmen-jobs-sections {
	margin-bottom: 4em;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media screen and (min-width: 992px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		justify-content: space-evenly;
		width: 100%;
	}
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
	.main-navigation .nav-menu>li>a {
		padding: .5em;
	}
}

@media screen and (max-width: 1199px) {
	.page-banner-image {
		min-height: 25rem;
	}

	h1 {
		font-size: 1.5rem;
	}

	.site-branding {
		margin-left: 1em;
		margin-right: 0;
	}

	.header-cta {
		margin-left: 0;
		margin-right: 1em;
	}

	.page-banner .entry-title {
		max-width: 100%;
		margin: 5rem 0 0;
		padding: 1rem 1rem 0;
	}

	.site-main article {
		margin-bottom: 2em;
		padding: 0;
	}

	.site-content {
		padding: 0 1em;
	}

	.widget-area {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.footer-widgets {
		padding: 0 1em 2em;
	}
}

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

	/* Mobile Menu open state */
	.site-header {
		justify-content: flex-start;
	}

	.site-branding {
		max-width: 200px;
		margin-right: 0;
		position: relative;
		z-index: 100000;
	}

	.header-cta {
		margin-left: auto;
		order: 2;
		position: relative;
		z-index: 100000;
	}

	.menu-toggle {
		margin-right: 1em;
	}

	.main-navigation {
		order: 3;
		flex: 0 0 auto;
		padding: 0;
		margin-left: 10px;
	}

	.main-navigation.toggled .nav-menu {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(255, 255, 255, 0.98);
		z-index: 99998;
		padding: 100px 20px 40px;
		border-top: none;
		box-shadow: none;
		overflow-y: auto;
		text-align: center;
		align-items: center;
	}

	.main-navigation.toggled .nav-menu>li {
		display: block;
		width: 100%;
		animation: menuFadeInUp 0.4s ease forwards;
		opacity: 0;
		transform: translateY(20px);
	}

	.main-navigation.toggled .nav-menu>li:nth-child(1) {
		animation-delay: 0.1s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(2) {
		animation-delay: 0.15s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(3) {
		animation-delay: 0.2s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(4) {
		animation-delay: 0.25s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(5) {
		animation-delay: 0.3s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(6) {
		animation-delay: 0.35s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(7) {
		animation-delay: 0.4s;
	}

	.main-navigation.toggled .nav-menu>li:nth-child(8) {
		animation-delay: 0.45s;
	}

	.main-navigation.toggled .nav-menu>li>a {
		padding: 15px 20px;
		font-size: 2rem;
		font-weight: 700;
		border-bottom: none;
		background: transparent;
		display: inline-block;
		width: auto;
	}

	.main-navigation.toggled ul ul {
		display: block;
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		min-width: 100%;
		padding: 0 0 20px;
		background-color: transparent;
		border-radius: 0;
	}

	.main-navigation.toggled ul ul a {
		padding: 8px 20px;
		font-size: 1.2rem;
		border-bottom: none;
		display: inline-block;
		width: auto;
		color: #555;
		font-weight: 500;
	}

	.main-navigation.toggled .menu-item-has-children>a::after {
		display: none;
	}

	.job-meta-sidebar .meta-box {
		padding: 0;
	}

	.gt-block-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.job-content-wrap {
		flex-direction: column;
	}

	.job-meta-sidebar {
		flex: auto;
	}

	.unternehmen-header-content {
		flex-direction: column;
		text-align: center;
	}

	.unternehmen-meta-list {
		justify-content: center;
	}

	.blog article {
		flex: 0 0 calc(33% - 2rem);
	}
}

@media screen and (max-width: 767px) {
	.page-banner-image {
		min-height: 18rem;
	}

	.gt-block-grid {
		grid-template-columns: 1fr;
	}

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

	.footer-widgets {
		flex-direction: column;
		gap: 2em;
	}

	.blog article {
		flex: 0 0 calc(50% - 2rem);
	}

	.blog .newest-post .post-wrapper {
		gap: 1rem; 
	}

	.blog article.newest-post .post-thumbnail-wrapper,
	.blog article.newest-post .post-content-wrapper {
		flex: 0 0 calc(100%);
	}
}

@media screen and (max-width: 480px) {
	.page-banner-image {
		min-height: 12rem;
	}

	.header-cta {
		display: none;
	}

	.main-navigation {
		display: flex;
		justify-content: flex-end;
		flex: 1 1 auto;
		margin-top: .35em;
	}

	.blog article {
		flex: 0 0 calc(100%);
	}
}

@keyframes menuFadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}