.amd-heading-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.amd-heading {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 36px;
	margin: 0 0 18px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.amd-heading__icon,
.amd-heading__svg,
.amd-heading-sprite,
.amd-comm-heading > svg {
	display: none !important;
}

.amd-heading__text {
	display: block;
	width: 100%;
	min-width: 0;
	text-align: center;
}

.amd-heading:has(.amd-heading__action) .amd-heading__text {
	padding-left: 140px;
	padding-right: 140px;
	box-sizing: border-box;
}

.amd-heading__text h1,
.amd-heading__text h2,
.amd-heading__text h3,
.amd-heading__text .sect__title,
.amd-heading__text .sect__header {
	font-size: 22px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
	letter-spacing: -0.6px !important;
	margin: 0 !important;
	padding: 0 !important;
	text-transform: none !important;
	text-align: center !important;
	color: var(--tt);
}

.amd-heading__text h1 a,
.amd-heading__text h2 a,
.amd-heading__text h3 a {
	color: inherit;
	text-decoration: none;
}

.amd-heading__text h1 a:hover,
.amd-heading__text h2 a:hover,
.amd-heading__text h3 a:hover {
	color: var(--tt-accent, #c50725);
}

.amd-heading__text h1:last-child,
.amd-heading__text h2:last-child,
.amd-heading__text h3:last-child {
	margin-bottom: 0 !important;
}

.amd-heading__text p {
	display: none !important;
}

.amd-heading__action {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	flex-shrink: 0;
	z-index: 2;
}

.amd-heading__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.amd-heading__link:hover {
	opacity: .85;
}

.amd-heading__filters {
	display: flex;
	gap: 4px;
	border: 1px solid var(--bdc, #eceef1);
	padding: 3px;
	border-radius: 9px;
	align-items: center;
}

.amd-heading__filters .sect-filter-btn,
.amd-heading__filters .mylist-eye-btn {
	background: none !important;
	border: 0 !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	line-height: 1.2 !important;
	color: var(--tt-2, #9296a0) !important;
	min-width: 0 !important;
	height: auto !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.amd-heading__filters .sect-filter-btn.active,
.amd-heading__filters .mylist-eye-btn.active {
	background: color-mix(in srgb, var(--tt-accent, #c50725) 12%, transparent) !important;
	color: var(--tt-accent, #c50725) !important;
	font-weight: 650;
}

.amd-heading.sect__header,
.amd-heading.sect__header--poslednie {
	position: relative;
	display: block;
	min-height: 36px;
	margin-bottom: 18px;
}

.amd-heading.sect__header--poslednie .amd-heading__action {
	left: 0;
	right: auto;
}

.wh-home .amd-heading .wh-all,
.amd-heading .wh-all {
	position: static;
	right: auto;
	top: auto;
	transform: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.home-diary-widget .amd-heading {
	margin-bottom: 20px;
}

.home-diary-widget .amd-heading .home-diary-widget__all-link {
	color: inherit;
	text-decoration: none;
}

.ac-home-coll__head {
	display: block;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.ac-home-coll__head .amd-heading {
	margin: 0;
}

.last-reviews-sect > .amd-heading {
	margin-bottom: 18px;
}

.sectcomm > .amd-heading {
	margin-bottom: 18px;
}

.lb-head {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.lb-head__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-left: 0;
}

.lb-head .amd-heading {
	margin: 0;
}

.lb-head .amd-heading h3 a {
	color: inherit;
	text-decoration: none;
}

.lb-head__more.amd-heading__link,
.lb-head .amd-heading__link {
	color: var(--tt-accent, #c50725);
}

.page__reviews-block + .page__comments {
	margin-top: 20px;
}

.page__reviews-block__head {
	position: relative;
	display: block;
	min-height: 36px;
	margin-bottom: 18px;
}

.page__reviews-block__head .amd-heading {
	margin: 0;
}

.page__reviews-block__head .page__reviews-write-btn {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.page__reviews-block__head .amd-heading__action {
	display: flex;
	align-items: center;
	gap: 12px;
	left: auto;
	right: 0;
}

.page__reviews-block__head .last-reviews-read-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: none;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.page__reviews-block__head .last-reviews-read-all:hover {
	background: none;
	opacity: .85;
	text-decoration: none;
}

.posled_ser > .amd-heading,
.zagser.amd-heading {
	text-align: center;
	margin: 12px 0 16px;
	font-size: inherit;
}

.pmovie__heading.amd-heading {
	margin: 16px 0 18px;
}

.pmovie__subtitle {
	font-family: GothamProRegular, sans-serif !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	letter-spacing: -0.6px !important;
	text-transform: none !important;
	text-align: center !important;
	color: var(--tt);
	margin: 20px 0;
}

.amd-heading--page-title {
	margin: 0 0 8px;
	text-align: center;
}

.amd-heading--page-title .amd-heading__text h1 {
	font-size: 22px !important;
	line-height: 1.2 !important;
}

.amd-heading--page-title .amd-heading__text p,
.amd-heading--page-title .amd-sub {
	font-size: 13px;
	line-height: 1.5;
	color: var(--tt-2, #8a8f9a);
	margin: 0;
}

.amd-heading__settings {
	display: flex;
	color: var(--tt-2, #999da7);
}

@media screen and (max-width: 640px) {
	.amd-heading:has(.amd-heading__action) {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		min-height: 0;
	}

	.amd-heading:has(.amd-heading__action) .amd-heading__text {
		padding: 0;
	}

	.amd-heading__text h1,
	.amd-heading__text h2,
	.amd-heading__text h3 {
		font-size: 22px !important;
	}

	.amd-heading__action,
	.page__reviews-block__head .page__reviews-write-btn {
		position: static;
		transform: none;
	}
}
