/* Headline */

#headline{
    /* Navbar and topbar: 100vh - 64px - 40px */
    height: calc(100vh - 104px);
}

body.admin-bar #headline{
    /* 100vh - 104x - 32px */
    height: calc(100vh - 136px);
}

#headline .headline-content .hero-buttons{
    width: fit-content;
}

#headline .headline-content .hero-buttons a{
    width: max-content;
}

.headline-content{
    height: 100%;
}

#headline .headline-text-content{
    padding: 5rem;
    text-align: left;
}

#headline .headline-image-content{
    height: 100% !important;
}

#headline .headline-image {
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 70%, rgba(0,0,0,0));
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 70%, rgba(0,0,0,0));
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media screen and (max-width: 992px) {
    #headline{
	height: auto;
    }

    body.admin-bar #headline{
	height: auto;
    }

    #headline .headline-content{
	flex-direction: column-reverse;
    }

    #headline .headline-content .hero-buttons {
	width: 100%;
    }

    #headline .headline-content .headline-text-content{
	padding: 2.5rem;
        text-align: center;
    }

    #headline .headline-image-content {
	width: 100% !important;
    }

    #headline .headline-image-content .headline-image {
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0));
	mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0));
	max-height: 40vh;
    }
}

@media screen and (max-width: 600px) {
    #headline .headline-content .hero-buttons a{
	width: 100%;
    }
}
