_vacancies.scss 2.03 KB
.vacancies {
	padding: 50px 0;
	@media (min-width: $desktop) {
		padding: 100px 0;
	}
	&__body {
		display: flex;
		flex-direction: column-reverse;
		gap: 20px;
		width: 100%;
		margin-top: 20px;
		@media (min-width: $laptop) {
			margin-top: 30px;
			gap: 30px;
		}
	}
	&__more {
		width: 100%;
		@media (min-width: $tablet) {
			width: auto;
			margin: 0 auto;
		}
	}
	&__list {
		display: flex;
		flex-direction: column;
		gap: 15px;
		@media (min-width: $tablet) {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
		}
		@media (min-width: $laptop) {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 20px;
		}
		@media (min-width: $desktop) {
			grid-template-columns: repeat(4, 1fr);
		}
		&-label {
			font-weight: 700;
			font-size: 22px;
		}
		&-col {
			display: flex;
			flex-direction: column;
			gap: 15px;
			margin-top: 15px;
			@media (min-width: $tablet) {
				margin-top: 0;
			}
			&:first-child {
				margin-top: 0;
			}
		}
	}
	&__item {
		display: none;
		box-shadow: $shadow;
		border-radius: 12px;
		background: $white;
		border: 1px solid #e6e7e7;
		overflow: hidden;
		&:nth-of-type(1),
		&:nth-of-type(2),
		&:nth-of-type(3),
		&:nth-of-type(4),
		&:nth-of-type(5),
		&:nth-of-type(6),
		&:nth-of-type(7),
		&:nth-of-type(8) {
			display: flex;
		}
		> span {
			border-left: 10px solid $green;
			padding: 20px 14px;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 5px;
			justify-content: space-between;
			@media (min-width: $laptop) {
				gap: 10px;
			}
		}
		b {
			font-weight: 700;
			font-size: 14px;
			@media (min-width: $laptop) {
				font-size: 20px;
			}
		}
		&:hover b {
			color: $green;
		}
		u {
			text-decoration: none;
			font-size: 14px;
			@media (min-width: $laptop) {
				font-size: 18px;
			}
		}
		i {
			font-size: 12px;
			font-style: normal;
			border-bottom: 1px dashed $green;
			@media (min-width: $laptop) {
				font-size: 16px;
			}
			span {
				font-weight: 700;
				color: $green;
			}
		}
	}
	&__body.active &__list &__item {
		display: flex;
	}
}