/**
 * Burlo-Direkt – News Header
 * Version 1.0.0
 */

/* Base */
.burlo-news-header {
	width: 100%;
	margin: 0 auto;
}

/* Desktop / tablet */
.burlo-news-header__desktop {
	display: grid;
	grid-template-columns: minmax(0, 70%) minmax(0, 30%);
	align-items: center;
	width: 100%;
	min-height: 100px;
}

.burlo-news-header__title {
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.1;
	font-weight: 700;
	color: #ff3d00;
}

.burlo-news-header__advert {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.burlo-news-header__link {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.burlo-news-header__image {
	display: block;
	width: 80%;
	max-width: 100%;
	height: auto;
	margin-left: auto;
}

/* Mobile version */
.burlo-news-header__mobile {
	display: none;
}

@media (max-width: 767px) {
	.burlo-news-header__desktop {
		display: none;
	}

	.burlo-news-header__mobile {
		display: block;
		width: 100%;
		text-align: center;
	}

	.burlo-news-header__mobile .burlo-news-header__link {
		display: block;
		width: 100%;
	}

	.burlo-news-header__mobile .burlo-news-header__image {
		width: 52%;
		max-width: 220px;
		height: auto;
		margin: 0 auto 16px;
	}

	.burlo-news-header__mobile-title {
		font-size: clamp(22px, 7vw, 28px);
		line-height: 1.2;
		font-weight: 700;
		color: #ff3d00;
	}
}

/* Very small phones */
@media (max-width: 374px) {
	.burlo-news-header__mobile .burlo-news-header__image {
		width: 58%;
	}

	.burlo-news-header__mobile-title {
		font-size: 22px;
	}
}
