/**
 * Steps List Block - Frontend Styles
 *
 * @package Quinn
 */

.quinn-steps-list {
	padding: 72px 0;
    background: #F7F9FA;
}

.quinn-steps-list__title {
    font-size: 32px;
    line-height: 40px;
	text-transform: uppercase;
	font-weight: 500;
	margin: 0 0 30px 0;
}

.quinn-steps-list__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.quinn-steps-list__item {
    padding: 0 24px 0 0;
}

.quinn-steps-list__item-inner {
	padding: 24px 48px 48px 96px;
	color: #5D696F;
	font-weight: 400;
	background: #fff;
	position: relative;
	min-height: 100%;
}

.quinn-steps-list__item-arrow::before,
.quinn-steps-list__item-arrow::after {
    content: "";
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    overflow: hidden;
    height: 50%;
    background: #fff;
    transform: scale(-1);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    width: 48px;
    z-index: 2;
}

.quinn-steps-list__item-arrow::after {
    top: auto;
    bottom: 0;
    transform: scale(-1, 1);
}

.quinn-steps-list__item-angle::before,
.quinn-steps-list__item-angle::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 50%;
    background: #F7F9FA;
    transform: scale(-1);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    width: 48px;
}

.quinn-steps-list__item-angle::after {
    top: auto;
    bottom: 0;
    transform: scale(-1, 1);
}

.quinn-steps-list__item-title {
	display: block;
	font-size: 24px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #000;
	font-weight: 500;
	margin: 0 0 24px 0;
}

.quinn-steps-list__item-text p {
    letter-spacing: 0.025em;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

.quinn-steps-list__item-text a {
	text-decoration: underline;
}

.quinn-steps-list__item-text a:hover {
	text-decoration: none;
}

.quinn-steps-list__item-text strong {
	font-weight: 600;
}

/* Mobile */
@media screen and (max-width: 1024px) {
    .quinn-steps-list__item-inner {
        padding: 24px 24px 48px 48px;
    }

    .quinn-steps-list__item-arrow::before,
    .quinn-steps-list__item-arrow::after {
        width: 24px;
    }

    .quinn-steps-list__item-angle::before,
    .quinn-steps-list__item-angle::after {
        width: 24px;
    }
}

@media screen and (max-width: 768px) {
    .quinn-steps-list {
        padding: 48px 0;
    }

	.quinn-steps-list__title {
        font-size: 24px;
        line-height: 1.5;
	}

	.quinn-steps-list__items {
		grid-template-columns: 1fr;
	}

	.quinn-steps-list__item {
        margin-bottom: 24px;
        padding: 0;
	}

    .quinn-steps-list__item-inner {
		padding: 24px;
    }

    .quinn-steps-list__item-arrow::before,
    .quinn-steps-list__item-arrow::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        overflow: hidden;
        height: 24px;
        background: #F7F9FA;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
        transform: unset;
    }

    .quinn-steps-list__item-arrow::after {
        left: auto;
        right: 0;
        transform: scaleX(-1);
    }

    .quinn-steps-list__item-angle::before,
    .quinn-steps-list__item-angle::after {
        top: 100%;
        width: 50%;
        overflow: hidden;
        height: 24px;
        background: #fff;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
        transform: unset;
    }

    .quinn-steps-list__item-angle::after {
        left: auto;
        right: 0;
        transform: scaleX(-1);
    }

    .quinn-steps-list__item:first-child .quinn-steps-list__item-arrow::before,
    .quinn-steps-list__item:first-child .quinn-steps-list__item-arrow::after,
    .quinn-steps-list__item:last-child .quinn-steps-list__item-angle::before,
    .quinn-steps-list__item:last-child .quinn-steps-list__item-angle::after {
        display: none;
    }

    .quinn-steps-list__item-text p {
        font-size: 14px;
    }
}

