@media screen and (min-width: 40em) {
	.profile {display: flex; gap: 4rem; margin: 1rem 2rem 2rem 0; padding: 0;}
	.profile > .sidebar {width: 340px; display: block;}
	.profile > .content {width: calc(100% - 340px - 10rem);}


	.profile .sidebar .menu {
		position: sticky; top: 176px;
		display: flex; flex-direction: column;
		padding: 2rem 1.5rem; border-radius: 20px;
		background-image: linear-gradient(#7324f4, #ceb5f7);
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.13);
	}
	.profile .sidebar .menu .item {position: relative; padding: 0 2rem; line-height: 3.5rem; font-size: 20px; color: #f9f9f9;}
	.profile .sidebar .menu .item + .item {border-top: 1px solid #f9f9f955;}
	.profile .sidebar .menu .item.active {font-weight: bold; font-size: 26px; cursor: default;}
	.profile .sidebar .menu .item.active:before {
		content: ''; position: absolute; top: 18px; right: -1.5rem;
		width: 2.5rem; height: 20px; border-radius: 10px 0 0 10px; background-color: #79f7e7;
	}
	.profile .sidebar .menu .item:not(.active):hover {color: black;}

	.profile [id]:not(#main) {scroll-margin-top: 8rem;}

	/* Block 1 */
	.profile .block_1 {flex-direction: row; align-items: center; margin-right: 262px; padding: 3rem 0 3rem 4rem;}

	.profile .block_1 .photo-point {position: relative; width: 1px; height: 1px; margin-left: auto;}
	.profile .block_1 .photo {
		position: absolute; top: -262px; right: -262px;
		width: 525px; height: 525px; padding: 3rem;
	}

	.profile .block_1 .main {width: calc(100% - 520px);}

	/* Block 2 */
	.profile .block_2 {flex-direction: row; margin-top: 12rem;}
	.profile .block_2 .actions {width: 380px; flex-shrink: 0;}

	.profile .block_2 > .details {flex-grow: 1; margin-top: -8rem;}
	.profile .block_2 > .details .lists {flex-direction: row;}
	.profile .block_2 > .details .lists ul {width: 50%;}

	/* Block 3 */

	/* Block 4 */
	.profile .block_4 .icons {padding: 5rem 4rem;}
	.profile .block_4 .icons li {width: 160px;}
	.profile .block_4 .icons li div {width: 160px; height: 160px; line-height: 160px;}

	/* Block 5 */
	.profile .block_5 .icons {padding: 5rem 4rem;}
	.profile .block_5 .icons li {width: 150px;}

	/* Block 6 */

	/* Block 7 */
	.profile .block_7 .recommendations {display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin: 0;}
	.profile .block_7 .recommendation-card {margin: 0;}
	.profile .block_7 .recommendation-card:nth-child(n + 5) {display: none;}
	.profile .block_7 .load-more {
		display: block; width: 200px; height: 50px; margin: 3rem auto 0 0; cursor: pointer;
		border-radius: 25px; background-color: #333; font-size: 1.1rem; color: white;
	}
	.profile .block_7 .load-more:hover {background-color: #111;}

	/* Block 8 */
	.profile .block_8 .gallery {padding: 5rem 10rem;}

	/* Block 9 */
	.profile .block_9 .content {padding: 5rem 10rem;}
	.profile .block_9 form button {width: 350px;}

	.profile .block_9 .block_remarks hr {margin: 2rem 0;}
	.profile .block_9 .block_remarks .remarks {flex-direction: row; font-size: 1.2rem; text-align: right;}
	.profile .block_9 .block_remarks .remarks i {margin-top: 0;}
	.profile .block_9 .block_remarks .remarks p {margin: 0;}

	/* Block 10 */
	.profile .block_10 .slider {width: 100%;}
}
