/* ══════════════════════════════════════════════════ *
 * MARK: Global Styles
 * ────────────────────────────────────────────────── */
#cvh--site-header .menu-item-label:not(.submenu .menu-item-label) {
	text-transform: uppercase;
}

body main p:not(:is(hgroup, div).cvh--heading-ctn p) {
	max-inline-size: 75ch;
}

:is(hgroup, div).cvh--heading-ctn.has-category p:first-child {
	text-transform: uppercase;
}

:root{
	--cvh-color-header: var(--cvh-color-page)
}

/* ══════════════════════════════════════════════════ *
 * MARK: Utility
 * ────────────────────────────────────────────────── */
/* #═#═#═#═#═# Listen Stylings #═#═#═#═#═# */
:is(#id, .cvh--use-checklist ul, ul.cvh--checklist) li::before {
	content: '\2713';
	font: var(--cvh-font-icon-fas);
	line-height: 1lh;
	font-size: 1.2em;
    margin-right: 10px;
}

/* ══════════════════════════════════════════════════ *
 * MARK: Neue Vorlagen
 * ────────────────────────────────────────────────── */
 /* #═#═#═#═#═# Icons - 4 Boxen auf voller Breite #═#═#═#═#═# */
 .cvh--grid-outline{
	border: solid 1px var(--neutral-light);
	padding: 3rem;
	row-gap: 0;
 }
 .cvh--column-zero-gap{
column-gap: 0;
 }
/* ══════════════════════════════════════════════════ *
 * MARK: Extra Anpassungen
 * ────────────────────────────────────────────────── */
/* #═#═#═#═#═# Footer #═#═#═#═#═# */
/* Social Icons*/
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram {
	background-color: var(--cvh-color-text-dark);
}
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook{
	background-color: var(--cvh-color-text-dark);
}

/*Headlines*/
.cvh--widget-heading-borderd:not(.cvh--grid-row[data-row-options~=divider-y]+.cvh--grid-row[data-row-layout=fullwide] .cvh--widget-heading-borderd){
	border-bottom-width: 0.1rem;
}

/* #═#═#═#═#═# Text/Bild #═#═#═#═#═# */
/* Text-Bild Abschnitte*/
.wp-block-columns.is-layout-flex {
    gap: 0 !important;
}

@media (max-width: 781px) {
    .cvh--section .wp-block-columns > .wp-block-column:nth-child(2) {
        padding-left: 0 !important;
    }

@media (max-width: 781px) {
    .wp-block-columns
    > .wp-block-column:nth-child(2)
    > .cvh--image-ctn {
        margin-bottom: var(--wp--preset--spacing--l) !important;
        margin-top: var(--wp--preset--spacing--l) !important;
    }
}

}
/* #═#═#═#═#═# Team #═#═#═#═#═# */
/*Team Raster*/
.cvh--titel-underline{
	position: relative;
  	padding-bottom: 0.6rem;
}

.cvh--titel-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15rem;
  height: 0.1rem;
  background-color: var(--accent);
}

.cvh--grid-auto-3-col > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cvh--box-full-height {
  flex: 1 1 auto;  
}

/* #═#═#═#═#═# Buttons #═#═#═#═#═# */
.cvh--button-outlined{
  border-width: 0.1rem !important;
  padding: 1rem !important;
}

/* #═#═#═#═#═# Navi  #═#═#═#═#═# */
/* aktive Seite unterstrichen*/
#cvh--site-header .cvh--nav-menu a[aria-current="page"] .menu-item-label {
    border-bottom: 0.1rem solid currentColor;
    padding-bottom: 0.3rem;
}
:is( h1, h2, h3, h4, h5, h6 ), :is( .cvh--emulate-h1, .cvh--emulate-h2, .cvh--emulate-h3, .cvh--emulate-h4, .cvh--emulate-h5, .cvh--emulate-h6 ){
  text-wrap: balance !important;
  text-wrap-mode: wrap;
}

/* #═#═#═#═#═# Bilder  #═#═#═#═#═# */
.cvh--pics-grey{
  filter: grayscale(100%);
  transition: transform 0.4s ease;
}

.cvh--team-pics div:hover .cvh--pics-grey.cvh--pics-hover {
  filter: none;
  transform: scale(1.06);
}