/**
 * Burlo-Direkt – News Header
 * Version 1.3.0
 *
 * The component deliberately has NO fixed max-width.
 * It lives inside Cream Magazine's existing .cm-container, so it inherits
 * the exact same horizontal width and responsive margins as the slider.
 */

.burlo-news-header {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.burlo-news-header *,
.burlo-news-header *::before,
.burlo-news-header *::after {
	box-sizing: border-box;
}

.burlo-news-header__desktop {
	display: grid;
	grid-template-columns: minmax(0, 70%) minmax(0, 30%);
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 10px 0;
}

.burlo-news-header__title {
	font-size: 32px;
	line-height: 1.15;
	font-weight: 700;
	color: #ff3d00;
	margin: 0;
	padding: 0;
}

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

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

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

.burlo-news-header__mobile {
	display: none;
}

/*
 * Cream Magazine's .cm-container can become narrower on phones.
 * The component therefore switches to the mobile arrangement without
 * imposing a separate width.
 */
@media (max-width: 767px) {
	.burlo-news-header__desktop {
		display: none;
	}

	.burlo-news-header__mobile {
		display: block;
		width: 100%;
		margin: 0;
		padding: 10px 0 14px;
		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 10px;
	}

	.burlo-news-header__mobile-title {
		font-size: 18px;
		line-height: 1.2;
		font-weight: 700;
		color: #ff3d00;
		margin: 0;
		padding: 0;
	}
}

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

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