/**
 * Theme Name:  Сайт авторской музыки
 *
 * Author:      windcrack
 * Author URI:  https://github.com/windcrack
 *
 * Version:     1.1
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.news-card__img{
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.last-news__body:last-of-type{
	margin-right: 0 !important;
}

/*.songs-card:nth-of-type(4n+4) .songs-card__player{
	right: -288px;
}*/

.wp-media-buttons .insert-media{
	display: none;
}

.songs-card__range{
	grid-row: 2;
	grid-column: 1 / 2;
}

.share{
	position: relative;
	/*top: 50%;*/
	/*transform: translateY(-50%);*/
	/*left: 1rem;*/
}

.share__block{
	position: absolute;
	z-index: 2;
	padding: 20px;
	background: #fff;
	margin-top: 20px;
	border-radius: 20px;
}

.share__button .btn__icon{
	display: block;
}

.header-block__controls .btn__icon{
	display: none;
	width: 24px;
	height: 24px;

}


.header-block__controls .btn__icon svg{
	width: 24px;
	height: 24px;
	transform: translateY(-5px);
}

.header-block__controls{
	display: flex;
	align-items: center;
	gap: 40px;
}

.btn_slider-prev,
.btn_slider-next{
	background: transparent !important;
}

.galery-new__header{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Галерея */
.galery-images{
	margin-bottom: 100px;
}

.galery-images .swiper-slide{
	max-width: 305px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	gap: 12px;
}

.galery-images__block{
	max-width: 305px;
	width: 100%;
	height: 400px;

}

.galery-images__pict{
	object-fit: cover;
	height: 100%;
}

.galery-images__header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 40px;
}

.galery-images__header .section-title{
	margin-bottom: 0 !important;
}

.galery-images__title{
	font-weight: 500;
	font-size: 28px;
	line-height: 130%;
}

.galery-images__date{
	font-size: 14px;
	color: rgba(0, 0, 0, 0.5);
}

/* --------- */

@media screen and (max-width: 1100px){
	.header-block__controls{
		flex-flow: wrap;
	}
}

@media (max-width: 850px) {
	.songs-card:nth-of-type(4n+4) .songs-card__player{
		right: auto;
	}

	.menu-item{
		display: flex;
	}
	
	.menu-item a{
		display: block;
		padding: 12px 0;
		width: 100%;

		color: #0089F2;
		text-decoration: none;
		font-size: 20px;
	}

	.header-btn{
		order: -1;
	}

	.galery-new__header{
		flex-flow: wrap;
		gap: 20px;
	}

	.header-block__controls{
		gap: 20px;
		flex-flow: row-reverse;
	}

	.header-block__controls .btn__text{
		display: none;
	}

	.header-block__controls .btn__icon{
		display: block;
	}

	.header-block__controls .btn__header{
		width: 48px;
		height: 48px;
		padding: 0;
		display: grid;
		place-content: center;
	}
}

.accords-nav__wrapp{
	display: grid;
	grid-auto-rows: max-content;
}

.btn__accord{
	width: 100%;
	
}

#loadmore-acc{
	grid-column: 1 / -1;
	line-height: 43px;
	padding: 0 20px;
}

.accord{
	grid-auto-rows: max-content;
	align-content: space-between;
}

.btn__form{
	display: block;
}

.player-body__count{
	grid-row: 2;
	grid-column: 2;
	text-align: center;
}

.footer__social-link{
	width: 50px;
	height: 50px;
	display: block;
}

.footer__social-link svg{
	width: 100%;
	height: 100%;
}

.icon-swipe{
  display: block;
  animation: move-left-right 1s infinite alternate ease-in-out;
  width: 40px;
  height: 40px;
}

.icon-swipe svg{
	width: 40px;
	height: 40px;
}

.accords .section-title{
	display: flex;
	justify-content: space-between;
}

@keyframes move-left-right {
  0% {
	transform: translateX(0);
  }
  100% {
	transform: translateX(10px);
  }
}
