/**
 * Homepage bar below hero (separate from hero.css).
 */

.hero-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100vw;
	height: 104px;
	margin: 0;
	padding: 0;
	background-color: #f2fb04;
	--hero-bar-bg: #f2fb04;
}

.hero-bar__inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin-inline: auto;
	padding-inline: var(--onoff-gutter);
	box-sizing: border-box;
	color: #262415;
	gap: 1rem;
}

/* Each item: icon on the inline-end side (right in RTL), text on the inline-start */
.hero-bar__item {
	flex: 0 1 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	color: #262415;
}

.hero-bar__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
}

.hero-bar__icon-svg {
	display: block;
	width: 56px;
	height: 56px;
}

.hero-bar__icon-glyph {
	pointer-events: none;
}

.hero-bar__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: right;
}

.hero-bar__title {
	margin: 0;
	font-family: var(--onoff-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: 0;
	color: #262415;
}

.hero-bar__desc {
	margin: 0;
	font-family: var(--onoff-font-family);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0;
	color: #7e761b;
}

@media (max-width: 899px) {
	.hero-bar {
		height: auto;
		padding-block: 1rem;
	}

	.hero-bar__inner {
		display: grid;
		grid-template-columns: repeat(2, auto);
		grid-auto-flow: row;
		justify-content: start;
		justify-items: start;
		align-content: space-between;
		align-items: center;
		gap: 0.8rem 0.6rem;
		width: 100%;
		height: auto;
	}

	.hero-bar__item {
		flex: unset;
		justify-content: flex-start;
		align-items: center;
		gap: 16px;
		min-width: 0;
		height: 50px;
	}

	.hero-bar__icon {
		width: 44.8px;
		height: 44.8px;
	}

	.hero-bar__icon-svg {
		width: 44.8px;
		height: 44.8px;
	}

	.hero-bar__text {
		align-items: center;
		min-width: 0;
		text-align: center;
	}

	.hero-bar__title {
		font-size: 14.4px;
		line-height: 21.6px;
	}

	.hero-bar__desc {
		font-size: 11.2px;
		line-height: 16px;
	}
}
