.amurweb-posts-showcase {
	--amurweb-image-zoom: 1.08;
	--amurweb-image-rotate: 2deg;
	--amurweb-image-shift: 14px;
	--amurweb-card-lift: 8px;
	--amurweb-hover-accent: #e86a1c;
	--amurweb-overlay-hover: rgba(0, 0, 0, .72);
	position: relative;
}

.amurweb-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 32px;
	transition: opacity .2s ease;
}

.amurweb-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	border: 1px solid transparent;
	transform: translateY(0);
	transition-property: transform, box-shadow, border-color, filter;
	transition-duration: .35s;
	transition-timing-function: ease;
}

.amurweb-post-image {
	position: relative;
	display: block;
	width: 100%;
	height: 260px;
	min-height: 0;
	flex: 0 0 auto;
	overflow: hidden;
	contain: paint;
	isolation: isolate;
	transform: translateZ(0);
}

.amurweb-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	transform: translateZ(0) scale(1);
	transform-origin: center center;
	transition-property: transform, filter, opacity;
	transition-duration: .45s;
	transition-timing-function: ease;
	will-change: transform, filter;
}

.amurweb-post-content {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 22px;
}

.amurweb-post-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.amurweb-post-title a {
	color: inherit;
	text-decoration: none;
}

.amurweb-post-excerpt {
	font-size: 16px;
	line-height: 1.55;
}

.amurweb-post-taxonomy,
.amurweb-post-meta {
	font-size: 14px;
	line-height: 1.4;
}

.amurweb-post-taxonomy a {
	color: inherit;
	text-decoration: none;
}

.amurweb-post-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
	padding: 11px 18px;
	color: #fff;
	background: #e86a1c;
	border-radius: 6px;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.amurweb-post-button:hover,
.amurweb-post-button:focus {
	color: #fff;
	background: #c9540d;
}

.amurweb-posts-empty {
	grid-column: 1 / -1;
	padding: 20px;
	text-align: center;
	border: 1px dashed currentColor;
	border-radius: 8px;
}

/* Фильтр и поиск */
.amurweb-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin: 0 0 24px;
}

.amurweb-filter-bar .amurweb-posts-filter {
	flex: 1 1 420px;
	margin: 0;
}

.amurweb-posts-search {
	position: relative;
	flex: 0 1 auto;
	width: 320px;
	max-width: 100%;
}

.amurweb-posts-search-input {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	min-height: 42px;
	padding: 11px 14px 11px 42px;
	color: #252525;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	font: inherit;
	line-height: 1.2;
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.amurweb-posts-search-input:focus {
	border-color: #e86a1c;
	box-shadow: 0 0 0 3px rgba(232, 106, 28, .14);
}

.amurweb-posts-search-input::-webkit-search-cancel-button {
	cursor: pointer;
}

.amurweb-posts-search-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-radius: 50%;
	color: #777;
	transform: translateY(-58%);
	pointer-events: none;
}

.amurweb-posts-search-icon::after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: -3px;
	width: 7px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transform: rotate(45deg);
	transform-origin: left center;
}

.amurweb-posts-showcase .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Фильтр */
.amurweb-posts-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin: 0 0 24px;
}

.amurweb-filter-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 16px;
	color: #252525;
	background: #f1f1f1;
	border: 1px solid transparent;
	border-radius: 6px;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.amurweb-filter-button:hover,
.amurweb-filter-button:focus-visible {
	border-color: currentColor;
}

.amurweb-filter-button.is-active {
	color: #fff;
	background: #e86a1c;
}

.amurweb-filter-button:disabled,
.amurweb-posts-load-more:disabled {
	cursor: wait;
	opacity: .6;
}

/* Кнопка подгрузки */
.amurweb-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.amurweb-posts-load-more {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	color: #fff;
	background: #e86a1c;
	border: 1px solid transparent;
	border-radius: 6px;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.amurweb-posts-load-more:hover,
.amurweb-posts-load-more:focus-visible {
	color: #fff;
	background: #c9540d;
}

.amurweb-posts-showcase.is-loading .amurweb-posts-grid {
	opacity: .55;
	pointer-events: none;
}

/* Карточка с текстом поверх изображения */
.amurweb-layout-overlay .amurweb-post-overlay-wrap {
	position: relative;
	min-height: 260px;
	overflow: hidden;
}

.amurweb-layout-overlay .amurweb-no-image .amurweb-post-overlay-wrap {
	background: #2b2b2b;
}

.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-image {
	position: absolute;
	inset: 0;
	height: 100%;
}

.amurweb-layout-overlay .amurweb-post-image::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	pointer-events: none;
}

.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-content {
	position: relative;
	z-index: 2;
	justify-content: flex-end;
	min-height: 260px;
	color: #fff;
	pointer-events: none;
}

.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-content a {
	pointer-events: auto;
}

.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-title,
.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-title a,
.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-taxonomy,
.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-taxonomy a,
.amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-meta {
	color: inherit;
}

.amurweb-layout-overlay .amurweb-post-content-below {
	flex: 1;
}


/* Режим портфолио */
.amurweb-layout-portfolio .amurweb-post-card {
	min-height: 340px;
}

.amurweb-post-portfolio-wrap {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-height: 340px;
	overflow: hidden;
	background: #2b2b2b;
}

.amurweb-post-portfolio-wrap .amurweb-post-image {
	position: absolute;
	inset: 0;
	height: 100%;
}

.amurweb-post-portfolio-wrap::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .82) 100%);
	pointer-events: none;
}

.amurweb-post-portfolio-content {
	position: relative;
	z-index: 2;
	justify-content: flex-end;
	min-height: 340px;
	color: #fff;
	pointer-events: none;
}

.amurweb-post-portfolio-content a {
	pointer-events: auto;
}

.amurweb-post-portfolio-content .amurweb-post-title,
.amurweb-post-portfolio-content .amurweb-post-title a,
.amurweb-post-portfolio-content .amurweb-post-taxonomy,
.amurweb-post-portfolio-content .amurweb-post-taxonomy a,
.amurweb-post-portfolio-content .amurweb-post-meta {
	color: inherit;
}

.amurweb-content-portfolio .amurweb-post-author,
.amurweb-content-portfolio .amurweb-post-date,
.amurweb-content-portfolio .amurweb-meta-separator {
	display: none;
}

@media (max-width: 1024px) {
	.amurweb-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.amurweb-posts-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.amurweb-posts-filter {
		gap: 8px;
	}

	.amurweb-filter-button {
		min-height: 38px;
		padding: 8px 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amurweb-post-image img,
	.amurweb-posts-grid,
	.amurweb-filter-button,
	.amurweb-posts-load-more {
		transition: none !important;
	}
}

/* Карусель и крупный слайдер */
.amurweb-posts-stage {
	position: relative;
	min-width: 0;
}

.amurweb-posts-swiper {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.amurweb-posts-swiper .amurweb-posts-grid {
	display: flex;
	column-gap: 0;
	row-gap: 0;
	transition: opacity .2s ease;
}

.amurweb-posts-swiper .amurweb-post-card {
	height: auto;
}

.amurweb-posts-swiper .swiper-slide {
	display: flex;
	box-sizing: border-box;
}

.amurweb-posts-swiper .swiper-slide > .amurweb-post-card,
.amurweb-posts-swiper article.swiper-slide {
	width: 100%;
}

.amurweb-display-slider .amurweb-post-card {
	width: 100%;
}

.amurweb-display-slider .amurweb-layout-overlay .amurweb-post-overlay-wrap,
.amurweb-display-slider .amurweb-layout-overlay .amurweb-post-overlay-wrap .amurweb-post-content {
	min-height: inherit;
}

.amurweb-display-slider .amurweb-layout-overlay .amurweb-post-image {
	height: 100%;
}

.amurweb-display-slider .amurweb-post-image {
	background: #f2f2f2;
}

.amurweb-display-slider .amurweb-post-image img {
	object-fit: contain;
}

.amurweb-display-slider .amurweb-layout-portfolio .amurweb-post-portfolio-wrap,
.amurweb-display-slider .amurweb-layout-portfolio .amurweb-post-portfolio-content {
	min-height: inherit;
}

.amurweb-swiper-button {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	z-index: 6;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: #fff;
	background: rgba(0, 0, 0, .55);
	border: 0;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}

.amurweb-swiper-button:hover,
.amurweb-swiper-button:focus-visible {
	transform: translateY(-50%) scale(1.06);
}

.amurweb-swiper-button-prev {
	left: 14px;
}

.amurweb-swiper-button-next {
	right: 14px;
}

.amurweb-swiper-button.swiper-button-disabled {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.amurweb-swiper-pagination {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 18px;
	text-align: center;
}

.amurweb-swiper-pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 !important;
	background: #b8b8b8;
	opacity: 1;
	transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.amurweb-swiper-pagination .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 8px;
	background: #e86a1c;
}

.amurweb-posts-swiper .amurweb-posts-empty {
	width: 100%;
}

.amurweb-posts-showcase.is-loading .amurweb-posts-stage {
	opacity: .6;
	pointer-events: none;
}

@media (max-width: 767px) {
	.amurweb-swiper-button {
		width: 38px;
		height: 38px;
		font-size: 19px;
	}

	.amurweb-swiper-button-prev {
		left: 8px;
	}

	.amurweb-swiper-button-next {
		right: 8px;
	}
}


/* =========================================================
 * Версия 0.5.0: визуальные шаблоны и эффекты наведения
 * ======================================================= */

/* Независимые эффекты изображения */
.amurweb-image-hover-zoom .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-zoom .amurweb-post-card:focus-within .amurweb-post-image img {
	transform: translateZ(0) scale(var(--amurweb-image-zoom));
}

.amurweb-image-hover-zoom_rotate .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-zoom_rotate .amurweb-post-card:focus-within .amurweb-post-image img {
	transform: translateZ(0) scale(var(--amurweb-image-zoom)) rotate(var(--amurweb-image-rotate));
}

.amurweb-image-hover-slide_up .amurweb-post-image img {
	height: calc(100% + var(--amurweb-image-shift));
	transform: translate3d(0, 0, 0) scale(1.02);
}

.amurweb-image-hover-slide_up .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-slide_up .amurweb-post-card:focus-within .amurweb-post-image img {
	transform: translate3d(0, calc(-1 * var(--amurweb-image-shift)), 0) scale(1.02);
}

.amurweb-image-hover-grayscale .amurweb-post-image img {
	filter: grayscale(1);
}

.amurweb-image-hover-grayscale .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-grayscale .amurweb-post-card:focus-within .amurweb-post-image img {
	filter: grayscale(0);
	transform: translateZ(0) scale(1.025);
}

.amurweb-image-hover-brighten .amurweb-post-image img {
	filter: brightness(.82) saturate(.9);
}

.amurweb-image-hover-brighten .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-brighten .amurweb-post-card:focus-within .amurweb-post-image img {
	filter: brightness(1.08) saturate(1.08);
	transform: translateZ(0) scale(1.025);
}

.amurweb-image-hover-soft_blur .amurweb-post-card:hover .amurweb-post-image img,
.amurweb-image-hover-soft_blur .amurweb-post-card:focus-within .amurweb-post-image img {
	filter: blur(2px) brightness(.82);
	transform: translateZ(0) scale(1.06);
}

/* Независимые эффекты всей карточки */
.amurweb-card-hover-lift .amurweb-post-card:hover,
.amurweb-card-hover-lift .amurweb-post-card:focus-within,
.amurweb-card-hover-lift_shadow .amurweb-post-card:hover,
.amurweb-card-hover-lift_shadow .amurweb-post-card:focus-within {
	transform: translateY(calc(-1 * var(--amurweb-card-lift)));
}

.amurweb-card-hover-shadow .amurweb-post-card:hover,
.amurweb-card-hover-shadow .amurweb-post-card:focus-within {
	box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
}

.amurweb-card-hover-lift_shadow .amurweb-post-card:hover,
.amurweb-card-hover-lift_shadow .amurweb-post-card:focus-within {
	box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.amurweb-card-hover-accent_border .amurweb-post-card:hover,
.amurweb-card-hover-accent_border .amurweb-post-card:focus-within {
	border-color: var(--amurweb-hover-accent);
	box-shadow: inset 0 0 0 1px var(--amurweb-hover-accent);
}

.amurweb-card-hover-glow .amurweb-post-card:hover,
.amurweb-card-hover-glow .amurweb-post-card:focus-within {
	box-shadow: 0 0 0 1px var(--amurweb-hover-accent), 0 16px 42px color-mix(in srgb, var(--amurweb-hover-accent) 24%, transparent);
}

/* Общая анимация затемнения */
.amurweb-layout-overlay .amurweb-post-image::after,
.amurweb-layout-caption_below .amurweb-post-image::after,
.amurweb-layout-full_overlay .amurweb-post-image::after,
.amurweb-post-portfolio-wrap::after {
	transition: background-color .35s ease, background .35s ease, opacity .35s ease;
}

.amurweb-layout-overlay .amurweb-post-card:hover .amurweb-post-image::after,
.amurweb-layout-overlay .amurweb-post-card:focus-within .amurweb-post-image::after,
.amurweb-layout-caption_below .amurweb-post-card:hover .amurweb-post-image::after,
.amurweb-layout-caption_below .amurweb-post-card:focus-within .amurweb-post-image::after,
.amurweb-layout-full_overlay .amurweb-post-card:hover .amurweb-post-image::after,
.amurweb-layout-full_overlay .amurweb-post-card:focus-within .amurweb-post-image::after,
.amurweb-layout-portfolio .amurweb-post-card:hover .amurweb-post-portfolio-wrap::after,
.amurweb-layout-portfolio .amurweb-post-card:focus-within .amurweb-post-portfolio-wrap::after {
	background: var(--amurweb-overlay-hover) !important;
}

/* Анимация подписей, расположенных поверх изображения */
.amurweb-image-caption {
	transition: transform .35s ease, opacity .35s ease;
}

.amurweb-content-hover-fade .amurweb-image-caption {
	opacity: .78;
}

.amurweb-content-hover-fade .amurweb-post-card:hover .amurweb-image-caption,
.amurweb-content-hover-fade .amurweb-post-card:focus-within .amurweb-image-caption {
	opacity: 1;
}

.amurweb-content-hover-rise .amurweb-image-caption {
	transform: translateY(10px);
}

.amurweb-content-hover-rise .amurweb-post-card:hover .amurweb-image-caption,
.amurweb-content-hover-rise .amurweb-post-card:focus-within .amurweb-image-caption {
	transform: translateY(0);
}

.amurweb-content-hover-reveal .amurweb-image-caption .amurweb-post-excerpt,
.amurweb-content-hover-reveal .amurweb-image-caption .amurweb-post-tags,
.amurweb-content-hover-reveal .amurweb-image-caption .amurweb-post-button,
.amurweb-content-hover-reveal .amurweb-image-caption .amurweb-post-meta {
	max-height: 0;
	margin-top: -12px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px);
	transition: max-height .45s ease, margin .35s ease, opacity .35s ease, transform .35s ease;
}

.amurweb-content-hover-reveal .amurweb-post-card:hover .amurweb-image-caption .amurweb-post-excerpt,
.amurweb-content-hover-reveal .amurweb-post-card:hover .amurweb-image-caption .amurweb-post-tags,
.amurweb-content-hover-reveal .amurweb-post-card:hover .amurweb-image-caption .amurweb-post-button,
.amurweb-content-hover-reveal .amurweb-post-card:hover .amurweb-image-caption .amurweb-post-meta,
.amurweb-content-hover-reveal .amurweb-post-card:focus-within .amurweb-image-caption .amurweb-post-excerpt,
.amurweb-content-hover-reveal .amurweb-post-card:focus-within .amurweb-image-caption .amurweb-post-tags,
.amurweb-content-hover-reveal .amurweb-post-card:focus-within .amurweb-image-caption .amurweb-post-button,
.amurweb-content-hover-reveal .amurweb-post-card:focus-within .amurweb-image-caption .amurweb-post-meta {
	max-height: 180px;
	margin-top: 0;
	opacity: 1;
	transform: translateY(0);
}

/* Вариант: подпись на изображении, подробности в нижнем блоке */
.amurweb-layout-caption_below .amurweb-post-caption-wrap {
	position: relative;
	min-height: 260px;
	overflow: hidden;
	background: #2b2b2b;
}

.amurweb-layout-caption_below .amurweb-post-caption-wrap .amurweb-post-image {
	position: absolute;
	inset: 0;
	height: 100%;
}

.amurweb-layout-caption_below .amurweb-post-image::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .78) 100%);
	pointer-events: none;
}

.amurweb-layout-caption_below .amurweb-image-caption {
	position: relative;
	z-index: 2;
	justify-content: flex-end;
	min-height: 260px;
	color: #fff;
	pointer-events: none;
}

.amurweb-layout-caption_below .amurweb-image-caption a {
	color: inherit;
	pointer-events: auto;
}

.amurweb-layout-caption_below .amurweb-post-content-below {
	flex: 1;
	background: inherit;
}

/* Вариант: весь текст поверх изображения */
.amurweb-layout-full_overlay .amurweb-post-card {
	min-height: 380px;
}

.amurweb-layout-full_overlay .amurweb-post-full-overlay-wrap {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-height: 380px;
	overflow: hidden;
	background: #262626;
}

.amurweb-layout-full_overlay .amurweb-post-image {
	position: absolute;
	inset: 0;
	height: 100%;
}

.amurweb-layout-full_overlay .amurweb-post-image::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .08) 15%, rgba(0, 0, 0, .88) 100%);
	pointer-events: none;
}

.amurweb-layout-full_overlay .amurweb-image-caption {
	position: relative;
	z-index: 2;
	justify-content: flex-end;
	min-height: 380px;
	color: #fff;
	pointer-events: none;
}

.amurweb-layout-full_overlay .amurweb-image-caption a {
	color: inherit;
	pointer-events: auto;
}

.amurweb-layout-full_overlay .amurweb-post-title,
.amurweb-layout-full_overlay .amurweb-post-title a,
.amurweb-layout-full_overlay .amurweb-post-taxonomy,
.amurweb-layout-full_overlay .amurweb-post-taxonomy a,
.amurweb-layout-full_overlay .amurweb-post-meta,
.amurweb-layout-full_overlay .amurweb-post-excerpt {
	color: inherit;
}

/* Горизонтальная карточка */
.amurweb-layout-horizontal .amurweb-post-card {
	flex-direction: row;
	align-items: stretch;
}

.amurweb-layout-horizontal .amurweb-post-image {
	width: 42%;
	height: auto;
	min-height: 250px;
}

.amurweb-layout-horizontal .amurweb-post-content {
	width: 58%;
	justify-content: center;
}

.amurweb-layout-horizontal .amurweb-post-button {
	margin-top: auto;
}

/* Журнальная карточка */
.amurweb-layout-magazine .amurweb-post-card {
	overflow: visible;
	margin-bottom: 30px;
	background: transparent;
}

.amurweb-layout-magazine .amurweb-post-image {
	border-radius: inherit;
}

.amurweb-layout-magazine .amurweb-post-content {
	z-index: 3;
	width: calc(100% - 36px);
	margin: -52px 18px 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.amurweb-layout-magazine .amurweb-post-card:hover .amurweb-post-content,
.amurweb-layout-magazine .amurweb-post-card:focus-within .amurweb-post-content {
	box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

/* Минималистичная карточка */
.amurweb-layout-minimal .amurweb-post-card {
	overflow: visible;
	background: transparent;
	border-radius: 0;
	border-color: transparent;
	box-shadow: none;
}

.amurweb-layout-minimal .amurweb-post-image {
	border-radius: 8px;
}

.amurweb-layout-minimal .amurweb-post-content {
	padding-right: 0;
	padding-left: 0;
}

.amurweb-layout-minimal .amurweb-post-taxonomy {
	color: var(--amurweb-hover-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.amurweb-layout-minimal .amurweb-post-button {
	padding: 0;
	color: inherit;
	background: transparent;
	border-radius: 0;
	font-weight: 600;
}

.amurweb-layout-minimal .amurweb-post-button::after {
	content: "→";
	margin-left: 8px;
	transition: transform .2s ease;
}

.amurweb-layout-minimal .amurweb-post-button:hover,
.amurweb-layout-minimal .amurweb-post-button:focus {
	color: var(--amurweb-hover-accent);
	background: transparent;
}

.amurweb-layout-minimal .amurweb-post-button:hover::after,
.amurweb-layout-minimal .amurweb-post-button:focus::after {
	transform: translateX(5px);
}

/* Дополнение режима портфолио: теперь поддерживает текст, теги и кнопку */
.amurweb-layout-portfolio .amurweb-post-excerpt {
	color: inherit;
}

/* Крупный слайдер для новых шаблонов */
.amurweb-display-slider .amurweb-layout-caption_below .amurweb-post-caption-wrap,
.amurweb-display-slider .amurweb-layout-caption_below .amurweb-image-caption,
.amurweb-display-slider .amurweb-layout-full_overlay .amurweb-post-full-overlay-wrap,
.amurweb-display-slider .amurweb-layout-full_overlay .amurweb-image-caption {
	min-height: inherit;
}

.amurweb-display-slider .amurweb-layout-caption_below .amurweb-post-image,
.amurweb-display-slider .amurweb-layout-full_overlay .amurweb-post-image {
	height: 100%;
}

@media (max-width: 767px) {
	.amurweb-layout-horizontal .amurweb-post-card {
		flex-direction: column;
	}

	.amurweb-layout-horizontal .amurweb-post-image,
	.amurweb-layout-horizontal .amurweb-post-content {
		width: 100%;
	}

	.amurweb-layout-horizontal .amurweb-post-image {
		height: 240px;
		min-height: 0;
	}

	.amurweb-layout-magazine .amurweb-post-content {
		width: calc(100% - 24px);
		margin-right: 12px;
		margin-left: 12px;
	}
}

@supports not (color: color-mix(in srgb, red 10%, transparent)) {
	.amurweb-card-hover-glow .amurweb-post-card:hover,
	.amurweb-card-hover-glow .amurweb-post-card:focus-within {
		box-shadow: 0 0 0 1px var(--amurweb-hover-accent), 0 16px 42px rgba(232, 106, 28, .25);
	}
}

@media (prefers-reduced-motion: reduce) {
	.amurweb-post-card,
	.amurweb-image-caption,
	.amurweb-post-image::after,
	.amurweb-post-portfolio-wrap::after {
		transition: none !important;
		transform: none !important;
	}
}

@media (max-width: 767px) {
	.amurweb-filter-bar {
		align-items: stretch;
	}

	.amurweb-posts-search,
	.amurweb-filter-bar .amurweb-posts-filter {
		flex-basis: 100%;
		width: 100% !important;
	}
}
