/**
 * WP Editor Styles
 */

.editor-styles-wrapper .wp-block {
    margin-left: auto;
    margin-right: auto;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
}
* {
    box-sizing: border-box;
}
/**
 * HLB Button
 */

.hlb-button {
    touch-action: manipulation;
    font-family: var(--hlb-font-family);
    font-size: var(--hlb-font-size-medium);
    color: var(--hlb-text-color);
    display: inline-block;
    white-space: nowrap;
    font-weight: var(--hlb-font-weight-bold);
    text-align: center;
    position: relative;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 1rem 2.2rem;
    background-color: var(--hlb-secondary-color);
    border: 2px solid var(--hlb-secondary-color);
    transition-duration: 0.2s;
    top: 0;
    right: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
}
.hlb-button::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px solid #fff;
    transition-duration: 0.2s;
    z-index: 1;
}
.hlb-button::before {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 8px solid var(--hlb-secondary-color);
    z-index: 2;
    transition-duration: 0.2s;
}
.hlb-button:hover {
    top: -6px;
    right: -6px;
    color: var(--hlb-text-color);
}
.hlb-button:hover::after {
    top: 4px;
    right: 4px;
}
.hlb-button-secondary:not(:hover) {
    background: #3c3c3b;
    border-color: #3c3c3b;
    color: #fff;
}
.hlb-button-secondary:not(:hover)::before {
    border-color: #3c3c3b;
}
.hlb-button-square {
    aspect-ratio: 1 / 1;
    padding: 1rem;
}

/**
 * HLB Search Textinput
 */
.hlb-search-text-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-size: var(--hlb-font-size-medium);
    line-height: 2;
    padding: 0.4rem 0;
    outline: none;
    color: #fff;
}
.hlb-search-text-input::-webkit-input-placeholder,
.hlb-search-text-input::-moz-placeholder,
.hlb-search-text-input:-ms-input-placeholder,
.hlb-search-text-input::-ms-input-placeholder,
.hlb-search-text-input::-o-input-placeholder,
.hlb-search-text-input::-webkit-input-placeholder,
.hlb-search-text-input::placeholder {
    color: #fff;
}

/**
 * HLB Texts
 */
p {
    font-size: var(--hlb-font-size);
    margin: 0 0 var(--hlb-font-size) 0;
    line-height: var(--hlb-base-line-height);
    letter-spacing: var(--hlb-letter-spacing);
}
.hlb-small-text {
    font-family: var(--hlb-font-family);
    font-size: var(--hlb-font-size-extra-small);
}
.hlb-large-text {
    font-family: var(--hlb-font-family);
    font-size: var(--hlb-font-size-large);
}
.hlb-extra-large-text {
    font-family: var(--hlb-font-family);
    font-size: var(--hlb-font-size-extra-large);
}

.hlb-text-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hlb-bold-text {
    font-weight: var(--hlb-font-weight-bold);
}

.hlb-headline-h1,
.hlb-headline-h2 {
    font-family: var(--hlb-font-family);
    font-weight: var(--hlb-font-weight-bold);
    line-height: 1.4;
    letter-spacing: var(--hlb-letter-spacing);
    margin: 0 0 var(--hlb-font-size-extra-large) 0;
    color: var(--hlb-primary-color);
}
.hlb-headline-h1 {
    font-size: var(--hlb-font-size-h1);
    margin-bottom: 2rem;
}
.hlb-headline-h2 {
    font-size: var(--hlb-font-size-h2);
    margin-bottom: 2rem;
}

/**
 * HLB Images
 */
.container img {
    max-width: 100%;
    height: auto;
}

/**
 * HLB Quick Call Block
 */
.hlb-phone-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hlb-phone-text a,
.hlb-phone-text a:hover,
.hlb-phone-text a:visited,
.hlb-phone-text a:active {
    color: #fff;
    text-decoration: none;
}

/**
 * HLB Teaser Block
 */

.hlb-teaser {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1279px) {
    .hlb-teaser {
        display: flex;
        align-items: flex-end;
        padding-bottom: 30px;
    }
}

/* video link with a playbutton */
/* <a class="hlb-teaser-play" href="' . $videolink . '" target="_blank" title="Video in neuem Tab ansehen"><span>Video ansehen</span></a> */
.hlb-teaser-play {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    transition-duration: 0.2s;
}
.hlb-teaser-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 22v-20l18 10-18 10z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 100px;
    transition-duration: 0.2s;
}
.hlb-teaser-play:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
.hlb-teaser-play:hover::after {
    background-size: 110px;
}
.hlb-teaser-play span {
    display: none;
}

/**
 * HLB Image With Text
 */
.hlb-image-with-text {
    background-color: var(--hlb-background-color);
}
.hlb-image-with-text .hlb-background-primary-color {
    background: var(--hlb-primary-color);
    color: #fff;
    position: relative;
    padding: 8rem 0 0 0;
}
.hlb-image-with-text .hlb-background-primary-color::after {
    content: '';
    position: absolute;
    bottom: -250px;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: var(--hlb-primary-color);
    transform: skewY(-4deg);
    transform-origin: bottom left;
}
.hlb-image-with-text .container {
    position: relative;
    z-index: 1;
}
.hlb-image-with-text .hlb-headline-h1 {
    color: #fff;
}
.hlb-image-with-text p {
    font-size: var(--hlb-font-size-medium);
}
.hlb-image-with-text img {
    margin-top: 6rem;
}
@media(min-width: 768px) {
    .hlb-image-with-text img {
        max-width: 80%;
    }
}

/**
 * HLB Jobs List
 */
 
.hlb-jobs-list {
    padding: 8rem 0;
    background-color: var(--hlb-background-color);
}
.hlb-all-jobs-list {
    list-style: none;
    margin: 1rem -0.6rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.hlb-all-jobs-list li {
    margin: 0;
    padding: 0.3rem;
    width: 100%;
}
.hlb-all-jobs-list li a {
    background-color: var(--hlb-secondary-color);
    color: var(--hlb-text-color);
    display: flex;
    width: 100%;
    height: 8rem;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition-duration: 0.2s;
    font-size: var(--hlb-font-size-medium);
    font-weight: var(--hlb-font-weight-bold);
    hyphens: auto;
    padding: 1rem;
    text-align: center;
    position: relative;
    top: 0;
    right: 0;
}
.hlb-all-jobs-list li a:hover {
    top: -6px;
    right: -6px;
}
.hlb-stellenanzeige-gender {
    font-weight: var(--hlb-font-weight-default);
}
@media (min-width: 420px) {
    .hlb-all-jobs-list li {
        width: 50%;
    }
}
@media (min-width: 768px) {
    .hlb-all-jobs-list li {
        width: 50%;
        
    }
}
@media (min-width: 992px) {
    .hlb-all-jobs-list {
        margin: 1rem -0.6rem;
    }
    .hlb-all-jobs-list li {
        width: 33.333333%;
        padding: 0.6rem;
    }
    .hlb-all-jobs-list li a {
        font-size: var(--hlb-font-size-large);
    }
}

/**
 * HLB Video // HLB Three Videos
 */
.hlb-video,
.hlb-three-videos {
    padding: 8rem 0;
}
.hlb-video-wrapper {
    position: relative;
    margin: 1rem 0;
}
.hlb-video-wrapper::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--hlb-secondary-color);
    top: 0;
    right: 4px;
    z-index: 1;
    display: block;
}
video {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    position: relative;
    top: -6px;
    right: -6px;
    cursor: pointer;
}
/* img with external video url */
a.hlb-video-link {
    display: block;
    z-index: 2;
    max-width: 100%;
    height: auto;
    position: relative;
    top: -8px;
    right: -6px;
    cursor: pointer;
    transition-duration: 0.2s;
}
a.hlb-video-link:hover {
    top: -12px;
    right: -10px;
}
a.hlb-video-link::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 22v-20l18 10-18 10z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 100px;
    transition-duration: 0.2s;
    opacity: 0.8;
}
a.hlb-video-link:hover::after {
    background-size: 110px;
}

/**
 * HLB Contact
 */
.hlb-contact {
    padding: 8rem 0;
    background-color: var(--hlb-secondary-color);
}
.hlb-contact img {
    margin-bottom: 2rem;
}
.hlb-contact-link a {
    color: var(--hlb-text-color);
    text-decoration: none;
}
.hlb-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) {
    .hlb-contact img {
        max-width: 80%;
    }   
}

/**
 * HLB Facts
 */

.hlb-facts {
    background-color: var(--hlb-secondary-color);
    padding: 5rem 0;
}
.hlb-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.hlb-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: var(--hlb-font-weight-default);
    gap: 0.4rem;
    color: var(--hlb-primary-color);
    font-size: var(--hlb-font-size-medium);
    margin: 1rem 0;
}
.hlb-fact span {
    font-size: 2.4rem;
    line-height: 1;
}
@media (min-width: 768px) {
    .hlb-facts h2 {
        text-align: left;
    }
    .hlb-fact {
        align-items: flex-start;
    }
    .hlb-fact span {
        font-size: 2.8rem;
    }
}
@media (min-width: 992px) {
    .hlb-fact span {
        font-size: 3.4rem;
    }
}
