.post-type-contenthub.hach-box{
    padding: 20px;
    border-radius: 10px;
    margin: .5rem;
    display: flex;
}
.hach-row{
    display: flex;
}
.hach-row-left{
    flex-grow: 2;
    flex-basis: 80%;
}
.hach-row-right{
    flex-grow: 1;
    flex-basis: 20%;
}
.hach-box{
    background: #e9e3d8;
    padding: 1rem;
    border-radius: 10px;
    margin: 0 0 1rem;
}
@media screen and (min-width: 768px){
    .hach-box{
        margin: .5rem;
    }
}
.hach-header-left .hach-box{
    margin-left: 0;
}
.hach-header-right .hach-box{
    margin-right: 0;
}
.hach-content-videobox .hach-box.box-1{
    margin-left:0;
}
.hach-content-videobox .hach-box.box-3{
    margin-right:0;
}


.hach-box.bg-beige{
    background: #e9e3d8;
}
.hach-box.trans{
    background: transparent;
}
.hach-box.nopad{
    padding: 0;
}
.hach-h2-title {
    text-decoration: none;
}

.hach-h2-title:hover {
    text-decoration: none;
    color: #004277 !important;
}
.hach-box.tipps_info_kompakt,
.hach-box.kundeninfo{
    border: 2px solid #7b6a58;
    margin: 0;
}
.hach-content-videobox{
    display: block;
}
.kundeninfo{
    font-size: 12px;
}
.tipps_info_kompakt{
    font-size: 1rem;
}
.tipps_info_kompakt h3{
    font-weight: bold;
}
.hach-content-videobox div{
    flex-grow: 1;
}
.hach-header{
    display: block;
}
.hach-header-left{
    flex-grow: 2;
}
.hach-header-right{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hach-spacer{
    margin-bottom: 2rem;
}
.hach-spacer-small{
    margin-bottom: 0rem;
}
.hach-spacer-large{
    margin-bottom: 4rem;
}
.hach-h4{
    text-transform: initial;
    font-weight: normal;
    font-size: 13px;
}
.hach-h2{
    text-transform: initial;
    font-weight: normal;
    color: #000;
}
.hach-box.enrichment h3{
    font-family: var(--bs-font-sans-serif);
    font-weight: normal;
    font-size: 18px;
    margin: 1rem 0;
}
.hach-box.enrichment ul{
    list-style: none;
    margin-left: -17px;
    margin-top:10px;
    margin-bottom:0;
}
.hach-kompakt{
    font-weight: normal;
    font-size: 16px;
    margin: 1rem 0;
    line-height: 1.6;
}
.hach-kompakt b{
    font-size: 18px;
    line-height: 1.6;
    display: inline-block;
    margin-bottom: 10px;
}
.hach-box.video h4{
    margin: 1.5rem 0;
    text-transform: inherit;
    font-weight: 500;
    line-height: 1.4;
    font-size: 0.9rem;
}
.hach-h2 a,
.hach-h2 a:visited{
    color: #000;
}
.hach-center{
    text-align: center;
}
.hach-impressum div{
    font-size: 12px;
}
.post-type-contenthub h2{
    color: #000;
}
.post-type-contenthub h2 a{
    color: #000;
}
.category-page .ha-content article.hach-page {
    display: flex;
    position: relative;
    padding: 20px;
    border-bottom: 0;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #f2eeeb;
}
.category-page .ha-content article.hach-page.hach-article-sponsored{
    background: #feebdc;
}
.hach-page a,
.hach-page a:hover,
.hach-page a:visited{
    color: #000;
    text-decoration: none;
}
.hach-page > a{
    display: block;
    /*width:100%;*/
}
.pic-wrapper.hach{
    position: relative;
}
.teaser-img.with-icon{
    position: relative;
}
.teaser-img.with-icon .video-icon{
    position: absolute;
    z-index: 1;
    top: calc( 50% - 25px);
    left: calc( 50% - 25px);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: transparent;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.9rem;
}
.video-icon.hach{
    position: absolute;
    top: calc( 50% - 25px);
    left: calc( 50% - 25px);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: transparent;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.9rem;
    z-index: 9999;
}
.hach.pic-wrapper {
    min-height: 380px;
    max-height: 380px;
    margin-right: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}
.hach.pic-wrapper img {
    width: 100%;
    transition: all 0.6s ease;
}
.hach.pic-wrapper:hover img {
    transform: scale(1.2);
}
#header-image .hach.pic-wrapper {
    min-height: 130px;
}

.chub-header-iframe{
    height: 144px;
}
@media screen and (max-width: 991px){
    .hach-page > a{
        width:100%;
    }
}
@media screen and (min-width: 768px){
    .chub-header-iframe{
        height: 264px;
    }
    #header-image .hach.pic-wrapper {
        min-height: 300px;
    }
}
@media screen and (min-width: 1024px){
    .chub-header-iframe{
        height: 344px;
    }
    #header-image .hach.pic-wrapper {
        min-height: 380px;
    }
}
@media screen and (min-width: 1440px){
    .chub-header-iframe{
        height: 660px;
    }
    #header-image .hach.pic-wrapper {
        min-height: 380px;
    }
}
.hach-box iframe {
    border-radius: 0.375rem;
}

.hach.pic-wrapper.small {
    min-height: 185px;
    max-height: 185px;
    background-size: cover;
    transition: all 0.6s ease;
    background-position: center;
    background-repeat: no-repeat;
}
.hach.pic-wrapper:hover {

}
.hach.pic-wrapper.normal {
    min-height: initial;
    max-height: initial;
}

/* Enrichment image: same visual height as teaser tiles, keep full image visible */
.hach-box.enrichment .enrichment-image-frame{
    width: 100%;
    height: 185px;
    min-height: 185px;
    max-height: 185px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 0.375rem;
}
.img-fluid.infopointmed-logo{
    margin-top: 5px;
    margin-bottom: 15px;
    max-width: 80%;
    float: right;
}
.pic-wrapper.hach .copyright{
    position: absolute;
    right: 0;
    bottom: 0.938rem;
    font-size: 0.625rem;
    padding: 0.13rem 0.313rem;
    background-color: rgba(255, 255, 255, 0.6);
}
.article-header-image.hach figcaption{
    color: #5a5455;
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}
.article-left.image {
    min-width: 250px;
    max-width: 250px;
    min-height: 160px;
    max-height: 160px;
    margin-right: 0.938rem;
    border-radius: 0.375rem;
    overflow: hidden;
}
.article-left.image img{
    width: 100%;
    display: block;
}
.hach-impressum{
    text-align: center;
}
.hach-lit{
    margin-left: -13px;
}
.hach-lit li{
    padding-left: 2rem;
}
@media screen and (min-width: 768px){
    .hach-content-videobox{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .hach-content-videobox.hach-content-videobox--layout-2{
        margin-bottom:40px;
    }
    .hach-header{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .hach-header-left{
        flex-basis: 67%;
        width: 67%;
        max-width: 67%;
    }
    .hach-header-right{
        flex-basis: 30%;
        width: 30%;
        max-width: 30%;
    }
    .hach-box.video{
        flex-basis: 30.5%;
        width: 30.5%;
        max-width: 30.5%;
    }
    .hach.pic-wrapper.small {
        min-height: 185px;
        max-height: 185px;
    }
}

.vimeo-container {
    position: relative;
    width: 100%; /* Passt die Breite des Containers an die gewünschte Breite an */
    padding-bottom: 56.25%; /* Aspect Ratio für 16:9 Videos */
}

.vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#article-header .article-header-nav{
    display: flex;
    flex-direction: row;
}
#article-header .article-header-nav .back-button a{
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: #fff;
    outline: none;
    height: 24px;
    box-sizing: content-box;
    background-color: #0c3e4f;
    font-weight: bold;
    border: 1px solid #0c3e4f;
    display: block;
    margin-right: 10px;
}
.contenthubarticle-template-default .ha-article header{
    margin-left: 0;
}

.single-contenthub .hach-more-btn{
    font-weight: bold;
    font-size: 1rem;
}



/* --- CONTENT HUB ANPASSUNGEN */
/* .contenthub-template-default .single-contenthub .post-type-contenthub */

.contenthub-template-default .single-contenthub .post-type-contenthub .hub-introtext{
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
}

.contenthub-template-default .single-contenthub .post-type-contenthub .hach-left-header p{
    font-size: 18px;
    line-height: 1.5;
}

.contenthub-template-default .single-contenthub .post-type-contenthub .hach-left-header p strong,
.contenthub-template-default .single-contenthub .post-type-contenthub .hach-left-header p b{
    display: inline-block;
    margin-bottom: 10px;
}
.contenthub-template-default .single-contenthub .post-type-contenthub .footerpost-red p,
.contenthub-template-default .single-contenthub .post-type-contenthub .redpost p{
    font-size: 18px;
    line-height: 1.5;
}
