.home {
	display: flex;
	flex-direction: column;
    position: relative;
    width: 100%;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto 24px;
	gap: 24px;
}

.home__section-title {
    text-align: center;
}

.hero {
    width: 100%;
	max-width: 1400px;
    min-height: 455px;
    padding: var(--space-xs);
	margin: 0 auto;
}

.hero,
.sub-hero__tile {
    position: relative;
    background: center / cover no-repeat;
}

.hero__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
	align-items: flex-start;
    color: #fff;
    gap: 16px;
}

.hero__content p {
    margin: 0;
}

.hero__title {
	margin: 0;
    text-align: center;
    font-size: var(--step-4);
    color: #fff;
}

.hero__button {
	margin-left: 30px;
	font-size: var(--step-0);
}

.hero__title,
.hero__content,
.hero__button {
    --animate-delay: 0.9s;
    animation: fadeInUp;
    animation-duration: 2s;
}

.sub-hero {
    min-height: 300px;
    display: flex;
    flex-direction: row;
	padding: 0 20px;
    gap: 24px;
}

.sub-hero__tile {
    padding: 16px;
    display: block;
    width: 100%;
	min-height: 100%;
    overflow: hidden;
}

.sub-hero__content {
    height: 100%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: space-between;
}

.sub-hero__button {
    align-self: flex-start;
}

.offers {
	display: grid;
	padding: 0px 20px;
	gap: 24px;
}

.offers__media {
	position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

.offers__media--video {
    object-position: 50% 70%;
}

.offers__text {
	position: relative;
	padding: 16px;
	z-index: 1;
}

.offers__tile {
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 100%;
}

.offers__tile:is(:hover, :focus) {
  .offers__tile-bottom-label {
    background-color: #008cba;
    color: #fff;
  }

  .offers__tile-bottom-label--secondary {
    background-color: #ffdc00;
    color: #00263d;
  }

  .offers__tile-hover-content {
    display: flex;
  }
}

.offers__tile-bottom-label {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
    padding: 8px 0;
}

.offers__tile-bottom-label--secondary {
	background-color: rgba(0, 38, 61, 0.65);
	color: #fff;
}

.product-ranges__logo {
	width: fit-content;
    height: fit-content;
	aspect-ratio: auto;
}

.offers__tile-hover-content {
	position: absolute;
	height: 100%;
	width: 100%;
	display: none;
    flex-direction: column;
    padding: 16px;
	align-items: center;
    text-align: center;
	justify-content: space-evenly;
	background-color: rgba(0, 38, 61, 0.7);
}

.product-ranges {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0 20px;
	gap: 24px;
}

.product-ranges__item {
    height: 210px;
	flex: 1;
    overflow: hidden;
}

.product-ranges__item:is(:hover, :focus) {
    z-index: 999;
    position: absolute;
    left: 20px;
    width: 100%;
	max-width: 1400px;
}

.product-ranges__item:is(:hover, :focus) {
	.product-ranges__wide-card {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		background-color: rgba(0, 0, 0, 0.4);
		gap: 16px;
	}
	
	.product-ranges__card-content {
		max-width: 50%;
		display: block;
	}
}

.product-ranges__wide-card {
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
	padding: 16px;
}

.product-ranges__card-content {
	display: none;
}

.product-ranges__text {
	font-size: var(--step-1);
	margin: 0;
	color: #fff;
}

@media only screen and (max-width: 992px) {
	.offers {
		display: flex;
		flex-flow: row wrap;
    }
	
    .hero__content {
        margin-left: 0;
        max-width: unset;
        text-align: center;
    }

    .sub-hero, .product-ranges {
        flex-direction: column;
    }

	.product-ranges__item {
		flex: unset;
	}
		
	.product-ranges__item:is(:hover, :focus) {
		z-index: 0;
		position: relative;
		left: unset;
		padding: 0;
	}
	
	.product-ranges__item:is(:hover, :focus) {
		.product-ranges__wide-card {
			flex-direction: center;
			align-items: center;
		}
		
		.product-ranges__card-content {
			max-width: 100%;
		}
	}
}

@media only screen and (max-width: 768px) {
    .sub-hero__tile {
        height: 280px;
       /* box-shadow: inset 100vw 100vh rgba(0, 0, 0, 0.4);*/
    }

    .sub-hero__content {
        max-width: unset;
        align-items: center;
    }

    .sub-hero__button {
        align-self: center;
    }
}