/* Common */
/* Media */
/* Content */
/* Blocks */
@media (min-width: 768px) {
	.main__inner.lg {
		height: auto;
		min-height: 590px;
	}
}

@media (min-width: 768px) {
	.contacts__items {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 42px;
	}
	.contacts__item {
		gap: 16px;
		min-width: 35%;
	}
	.contacts__item_1 {
		order: 5;
	}
	.contacts__item_2 {
		border-right: 1px solid rgba(168, 178, 199, 0.5);
	}
	.contacts__item_button {
		order: 6;
		margin-top: auto;
	}
	.contacts__item-title {
		font-size: 23px;
	}
	.contacts__item-box {
		gap: 8px;
		font-size: 17px;
		line-height: 130%;
	}
	.contacts__item-box br {
		display: none;
	}
}

@media (min-width: 1440px) {
	.contacts__items {
		flex-wrap: nowrap;
	}
	.contacts__item {
		min-width: auto;
	}
	.contacts__item_1 {
		order: 0;
		border-right: 1px solid rgba(168, 178, 199, 0.5);
	}
	.contacts__item_1, .contacts__item_2 {
		padding-right: 42px;
	}
	.contacts__item_button {
		margin-top: 0;
		align-self: center;
		flex: 1;
	}
}

.openday__inner {
	gap: 0;
}

.openday__top {
	gap: 24px;
}

.openday__date {
	font-size: 30px;
}

.openday__text {
	font-size: 23px;
}

.openday__text span {
	margin-top: 8px;
}

.openday__video {
	border-radius: 12px;
	min-height: 722px;
	margin: 40px 0 20px;
}

.openday__video-icon {
	width: 80px;
	height: 80px;
}

.openday__items {
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
	margin: 0 0 70px;
	overflow: hidden;
}

.openday__item {
	height: 244px;
	padding: 32px 76px 32px 24px;
	border: 1px solid #D3D8E3;
	border-radius: 12px;
}

.openday__item-name {
	font-size: 26px;
}

.openday__item-img {
	position: absolute;
	right: -3%;
	bottom: -1%;
	max-width: 200px;
	height: auto;
}

.openday__item:nth-child(3) .openday__item-img {
	bottom: -10%;
}

@media (min-width: 992px) {
	.openday__form .form__items {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1440px) {
	.openday__top {
		gap: 0;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.openday__title {
		margin-bottom: 12px;
	}
}

.features__items {
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}

.features__item {
	padding: 40px;
	border: 1px solid #D3D8E3;
	border-radius: 12px;
	position: relative;
}

.features__item:hover .features__item-img {
	-webkit-filter: brightness(0) saturate(100%) invert(26%) sepia(91%) saturate(4627%) hue-rotate(333deg) brightness(94%) contrast(117%);
	        filter: brightness(0) saturate(100%) invert(26%) sepia(91%) saturate(4627%) hue-rotate(333deg) brightness(94%) contrast(117%);
}

.features__item-title {
	font-size: 30px;
	margin-bottom: 24px;
}

.features__item-subtitle {
	font-size: 19px;
	margin-bottom: 12px;
	max-width: 420px;
}

.features__item-list {
	max-width: 420px;
	font-size: 19px;
	line-height: 125%;
}

.features__item-list li + li {
	margin-top: 12px;
}

.features__item-list li {
	position: relative;
	padding-left: 20px;
}

.features__item-list li::before {
	content: '';
	position: absolute;
	width: 0.3em;
	height: 0.3em;
	border-radius: 50%;
	background: #6E708C;
	top: 8px;
	left: 2px;
}

.features__item-img {
	display: block;
	position: absolute;
	right: -10%;
	bottom: -6%;
	max-height: 164px;
	width: auto;
}

.features__item-img img {
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	   object-fit: contain;
}

.happiness::after {
	background-image: url("../img/@abiturientam/happiness/yellow-bg-t.svg");
	background-position: 100% 0px;
	background-repeat: no-repeat;
	background-size: cover;
}

.happiness__inner {
	gap: 40px;
}

.happiness__box {
	gap: 24px;
	font-size: 19px;
}

.happiness__box p + p {
	margin-top: 16px;
}

.happiness__box-text {
	max-width: 820px;
}

.happiness__box-icon {
	width: 30px;
	height: 30px;
	font-size: 30px;
}

.happiness__box-button {
	margin: 24px 0;
	min-width: 420px;
}

.happiness__subtitle {
	font-size: 26px;
	margin-bottom: 24px;
}

.happiness__items {
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}

.happiness__item {
	border-radius: 8px;
	padding: 20px 16px;
	justify-content: space-between;
	gap: 12px;
}

.happiness__item-title {
	font-size: 19px;
}

.happiness__item-contact {
	font-size: 17px;
	line-height: 130%;
}

.happiness__item-icon {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	font-size: 24px;
	margin-right: 4px;
}

.happiness__center {
	max-width: 640px;
}

@media (min-width: 1440px) {
	.happiness::after {
		display: none;
	}
	.happiness__inner {
		background: #FFD11A;
		position: relative;
	}
	.happiness__inner::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background-image: url("../img/@abiturientam/happiness/yellow-bg-d.svg");
		background-position: 100% 0px;
		background-repeat: no-repeat;
		background-size: 100%;
	}
	.happiness__box {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		gap: 60px;
	}
	.happiness__box-button {
		margin: 0;
	}
	.happiness__know {
		position: relative;
	}
	.happiness__know::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url("../img/@abiturientam/happiness/wave.svg");
		background-position: 58% 0;
		background-repeat: no-repeat;
		background-size: 32px 22px;
	}
}

@media (min-width: 768px) {
	.banner {
		padding: 60px 0;
		background: url("../img/@abiturientam/banner/bg-banner-d.png") no-repeat, #FF0A47;
		background-position: 50% 50%;
		background-size: cover;
	}
	.banner__inner {
		height: 440px;
	}
	.banner__box {
		justify-content: center;
		max-width: 734px;
	}
	.banner__subtitle {
		font-size: 23px;
		margin-bottom: 48px;
	}
	.banner__button {
		margin-top: 0;
		width: auto;
		min-height: 56px;
	}
	.banner__button-icon {
		width: 24px;
		height: 24px;
		flex: 0 0 auto;
		font-size: 24px;
		margin-right: 4px;
	}
	.banner__image {
		bottom: -60px;
		height: 500px;
		width: auto;
		margin: 0;
	}
}

@media (min-width: 1440px) {
	.banner__inner {
		background: url("../img/@abiturientam/banner/bg-banner-d.png") no-repeat, #FF0A47;
		background-position: 50% 50%;
		background-size: cover;
		height: 500px;
	}
	.banner__image {
		bottom: 0;
		height: 500px;
		width: auto;
		margin: 0;
	}
}

@media (min-width: 768px) {
	.faq__box {
		flex-direction: row;
		justify-content: space-between;
		gap: 40px;
	}
	.faq__tabs {
		flex-basis: 40%;
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-top: 20px;
	}
	.faq__tab {
		font-size: 20px;
		font-weight: 500;
		line-height: 28px;
		padding: 12px 28px;
		border: 1px solid;
		border-color: #A8B2C780;
		border-radius: 12px;
	}
	.faq__content {
		flex: 1 1 100%;
	}
	.faq__item-top {
		padding: 24px 0;
		gap: 16px;
	}
	.faq__item-icon {
		width: 10px;
		height: 10px;
		font-size: 10px;
	}
	.faq__item-question {
		font-size: 20px;
		line-height: 28px;
		font-weight: 600;
	}
	.faq__item-answer {
		font-size: 18px;
		line-height: 24px;
		max-width: 840px;
	}
}
