/* ==================================================
   HOME
   ================================================== */

.orly-home,
.orly-home * {
	box-sizing: border-box;
}

.orly-home img:not(.orly-hero__image):not(.wjx-hero__background-image):not(.orly-footer-cta__image) {
	max-width: 100%;
	height: auto;
}

.orly-home .orly-hero__image,
.orly-home .wjx-hero__background-image {
	height: 100%;
}

.orly-home .elementor-widget,
.orly-home .elementor-element,
.orly-home .orly-component {
	min-width: 0;
}

.elementor-widget-orly_hero,
.elementor-widget-orly_usp_grid,
.elementor-widget-orly_team_grid,
.elementor-widget-orly_cta_cards,
.elementor-widget-orly_match_cards,
.elementor-widget-orly_news_cards,
.elementor-widget-orly_events_cards,
.elementor-widget-orly_sponsor_strip,
.elementor-widget-orly_footer_cta {
	width: 100%;
	max-width: none;
}

.orly-waffle-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 310px;
	overflow: hidden;
	color: var(--orly-white);
	background: var(--orly-primary-dark);
}

.orly-waffle-banner::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(2, 16, 35, 0.98) 0%, rgba(2, 16, 35, 0.9) 38%, rgba(2, 16, 35, 0.22) 72%, rgba(2, 16, 35, 0.08) 100%);
}

.orly-waffle-banner__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.orly-waffle-banner__content {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 64px), var(--orly-container-width));
	margin: 0 auto;
	padding: 48px 0;
}

.orly-waffle-banner__eyebrow {
	display: block;
	margin-bottom: 8px;
	font-family: Manrope, sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--orly-red);
}

.orly-waffle-banner h2 {
	max-width: 570px;
	margin: 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 400;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--orly-white);
}

.orly-waffle-banner p {
	max-width: 510px;
	margin: 16px 0 22px;
	font-family: Manrope, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.orly-waffle-banner a {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 18px;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--orly-white);
	background: var(--orly-red);
	border-radius: 3px;
}

.orly-waffle-banner a:hover,
.orly-waffle-banner a:focus-visible {
	background: var(--orly-red-dark, #b51218);
	transform: translateY(-1px);
}

@media (max-width: 767px) {
	.orly-waffle-banner {
		min-height: 390px;
		align-items: flex-end;
	}

	.orly-waffle-banner::after {
		background: linear-gradient(180deg, rgba(2, 16, 35, 0.08) 0%, rgba(2, 16, 35, 0.62) 40%, rgba(2, 16, 35, 0.98) 76%);
	}

	.orly-waffle-banner__image {
		object-position: 62% center;
	}

	.orly-waffle-banner__content {
		width: calc(100% - 40px);
		padding: 150px 0 28px;
	}

	.orly-waffle-banner h2 {
		font-size: 40px;
	}

	.orly-waffle-banner p {
		margin: 12px 0 18px;
		font-size: 14px;
	}
}

.orly-home-info-row :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) {
	width: 100% !important;
	max-width: none !important;
}

.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	justify-content: stretch !important;
	align-items: stretch !important;
	width: min(100%, var(--orly-container-width)) !important;
	max-width: var(--orly-container-width) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) > :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) {
	display: block !important;
	grid-column: auto !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 1 auto !important;
	align-self: stretch !important;
}

.orly-home-info-row {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: min(calc(100% - 64px), var(--orly-container-width));
	margin: 0 auto;
	padding: 0 0 34px;
}

.orly-home-info-row > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100%;
	max-width: none;
	justify-content: stretch !important;
	align-items: stretch !important;
}

.orly-home-info-row > .elementor-element,
.orly-home-info-row > .e-con-inner > .elementor-element,
.orly-home-info-row .elementor-widget {
	min-width: 0;
}

.orly-home-info-row > :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards),
.orly-home-info-row > .e-con-inner > :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards),
.orly-home-info-row :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 1 auto !important;
	align-self: stretch !important;
}

.orly-home-info-row :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) .orly-widget,
.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) > :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) .orly-widget {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.orly-home-info-row :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) .elementor-widget-container,
.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) > :is(.elementor-widget-orly_match_cards, .elementor-widget-orly_news_cards, .elementor-widget-orly_events_cards) .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
}

@media (max-width: 1024px) {
.orly-home-info-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(calc(100% - 48px), var(--orly-container-width));
	}

.orly-home-info-row > .e-con-inner,
	.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: min(calc(100% - 48px), var(--orly-container-width)) !important;
	}
}

@media (max-width: 767px) {
.orly-home-info-row {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
		gap: 16px;
		padding: 0 16px 28px;
	}

.orly-home-info-row > .e-con-inner,
	.e-con:has(.elementor-widget-orly_match_cards):has(.elementor-widget-orly_news_cards):has(.elementor-widget-orly_events_cards) {
		grid-template-columns: 1fr !important;
		width: 100% !important;
		max-width: 100% !important;
		gap: 16px !important;
	}
}
