/**
 * Philosophy block styles.
 * BEM methodology. Desktop 1440px.
 *
 * @package Harmony
 */

.philosophy {
	width: 100%;
	padding-top: 120px;
}

.philosophy__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 46px;
}

.philosophy__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 60px;
}

.philosophy__label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.philosophy__label-dot {
	width: 6px;
	height: 6px;
	border-radius: 0;
	flex-shrink: 0;
}

.philosophy__label-dot--blue {
	background-color: var(--blue-284d8a);
}

.philosophy__label-text {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 15px;
	text-transform: lowercase;
	color: var(--blue-284d8a);
}

.philosophy__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	max-width: 664px;
}

.philosophy__title {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 32px;
	letter-spacing: -0.03em;
	line-height: 119%;
	text-transform: uppercase;
	margin: 0;
	color: var(--black-292929);
}

.philosophy__description {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 119%;
	color: var(--grey-808080);
	margin: 32px 0;
	max-width: 355px;
}

.philosophy__divider {
	width: 100%;
	height: 0;
	border-top: 1px solid var(--line-dadada);
}

.philosophy__gallery {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
}

.philosophy__track {
	display: contents;
}

.philosophy__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex-shrink: 0;
}

.philosophy__card--wide {
	width: 664px;
}

.philosophy__card:not(.philosophy__card--wide) {
	width: 322px;
}

.philosophy__card-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.philosophy__card-dot {
	width: 6px;
	height: 6px;
	border-radius: 0;
	flex-shrink: 0;
}

.philosophy__card-dot--red {
	background-color: var(--red-e26959);
}

.philosophy__card-dot--green {
	background-color: var(--green-16ab92);
}

.philosophy__card-dot--yellow {
	background-color: var(--yellow-ead286);
}

.philosophy__card-label {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	color: var(--black-292929);
}

.philosophy__card-image {
	width: 100%;
	height: 374px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.philosophy__card-image--placeholder {
	background-color: var(--bg-f5f5f5);
}

@media (max-width: 1400px){
	.philosophy__card--wide {
		width: 46%;
	}
}

@media (max-width: 1300px){
	.philosophy__card--wide {
        width: 43%;
    }
}

@media (max-width: 1200px){
	.philosophy__card {
		width: calc(33% - 10px) !important;
	}
}


/* Mobile: 550px and below */
@media (max-width: 769px) {
	.philosophy {
		padding-top: 60px;
	}

	.philosophy__inner {
		padding: 0 14px;
		overflow: hidden;
	}

	.philosophy__header {
		flex-direction: column;
		gap: 28px;
		margin-bottom: 46px;
	}

	.philosophy__label {
		gap: 6px;
	}

	.philosophy__label-dot {
		width: 6px;
		height: 6px;
	}

	.philosophy__label-text {
		font-size: 14px;
		font-weight: 700;
	}

	.philosophy__content {
		max-width: none;
		gap: 20px;
	}

	.philosophy__title {
		font-size: 22px;
	}

	.philosophy__description {
		font-size: 14px;
		margin: 0;
		max-width: none;
	}

	.philosophy__divider {
		border-top: 1px solid rgba(218, 218, 218, 1);
	}

	.philosophy__gallery {
		position: relative;
		overflow: hidden;
	}

	.philosophy__track {
		display: flex;
		flex-direction: row;
		gap: 0;
	}

	.philosophy__card,
	.philosophy__card--wide {
		width: calc(100vw - 28px);
		min-width: calc(100vw - 28px);
		max-width: calc(100vw - 28px);
		flex-shrink: 0;
	}

	.philosophy__card-header {
		width: 100%;
	}

	.philosophy__card-label {
		font-size: 14px;
	}

	.philosophy__card-image {
		width: 100%;
		height: 374px;
	}
}
