/**
 * Homepage strip — simple editorial 3-column layout.
 *
 * @package W3ctrl
 */

.ps-home-strip {
	padding: 1.35rem 0 1.15rem;
	background: #fff;
	border-bottom: 1px solid rgba(139, 30, 63, 0.1);
}

.ps-home-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	align-items: stretch;
}

/* Columns — divided by thin lines, no boxes */
.ps-home-strip__col {
	min-width: 0;
	padding: 0 1.35rem;
	border-right: 1px solid rgba(139, 30, 63, 0.12);
}

.ps-home-strip__col--slider {
	padding: 0 0 0 1.35rem;
	border-right: 0;
}

/* Heading — one maroon accent line */
.ps-home-strip__heading {
	display: inline-block;
	margin: 0 0 0.85rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid var(--ps-maroon, #8b1e3f);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ps-maroon, #8b1e3f);
}

.ps-home-strip__heading a {
	color: inherit;
	text-decoration: none;
}

.ps-home-strip__heading a:hover {
	color: var(--ps-btn-bg, #a9445f);
}

/* Numbered list */
.ps-home-strip__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: strip;
}

.ps-home-strip__item {
	border-bottom: 1px solid rgba(139, 30, 63, 0.07);
}

.ps-home-strip__item:last-child {
	border-bottom: 0;
}

.ps-home-strip__link {
	display: grid;
	grid-template-columns: 1.6rem 1fr;
	gap: 0.4rem;
	align-items: start;
	padding: 0.55rem 0;
	color: var(--ps-text, #222);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ps-home-strip__link:hover {
	color: var(--ps-maroon, #8b1e3f);
}

.ps-home-strip__num {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.55;
	color: var(--ps-btn-bg, #a9445f);
	opacity: 0.45;
	transition: opacity 0.2s ease;
}

.ps-home-strip__link:hover .ps-home-strip__num {
	opacity: 1;
}

.ps-home-strip__title {
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.45;
}

/* Lead story — first item stands out */
.ps-home-strip__item:first-child .ps-home-strip__title {
	font-size: 0.9rem;
	font-weight: 700;
}

.ps-home-strip__item:first-child .ps-home-strip__num {
	opacity: 1;
	font-size: 0.8rem;
}

.ps-home-strip__empty {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(34, 34, 34, 0.6);
}

/* Slider — clean image block */
.ps-home-strip-slider {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 300px;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f0ea;
}

.ps-home-strip-slider .swiper-slide {
	height: auto;
}

.ps-home-strip-slider__link,
.ps-home-strip-slider img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
}

.ps-home-strip-slider .swiper-pagination {
	bottom: 10px !important;
}

.ps-home-strip-slider .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	margin: 0 3px !important;
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
	transition: transform 0.2s ease, background 0.2s ease;
}

.ps-home-strip-slider .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.25);
}

.ps-home-strip-slider__empty {
	min-height: 300px;
	border-radius: 10px;
	background: #f5f0ea;
}

/* Ad row */
.ps-home-strip-ad {
	padding: 0.85rem 0 1.1rem;
	background: #faf8f5;
	border-bottom: 1px solid rgba(139, 30, 63, 0.1);
}

.ps-home-strip-ad__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
}

.ps-home-strip-ad__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	max-width: 728px;
	height: 90px;
	margin: 0 auto;
	padding: 12px 16px;
	border: 2px dashed #ddd5c8;
	border-radius: 10px;
	background: #fff;
	color: #9ca3af;
	text-align: center;
	box-sizing: border-box;
}

.ps-home-strip-ad__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ps-home-strip-ad__size {
	font-size: 12px;
	opacity: 0.75;
}

.ps-home-strip-ad__slot > ins,
.ps-home-strip-ad__slot > div:not(.ps-home-strip-ad__placeholder),
.ps-home-strip-ad__slot > iframe {
	margin: 0 auto;
}

.ps-home-strip-ad__slot:has(> ins) .ps-home-strip-ad__placeholder,
.ps-home-strip-ad__slot:has(> iframe) .ps-home-strip-ad__placeholder,
.ps-home-strip-ad__slot:has(> div:not(.ps-home-strip-ad__placeholder)) .ps-home-strip-ad__placeholder {
	display: none;
}

.ps-home-bottom-ad {
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid rgba(139, 30, 63, 0.1);
	border-bottom: 0;
}

@media (max-width: 991.98px) {
	.ps-home-strip__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.ps-home-strip__col {
		padding: 0;
		border-right: 0;
		border-bottom: 1px solid rgba(139, 30, 63, 0.1);
		padding-bottom: 1.25rem;
	}

	.ps-home-strip__col--slider {
		order: -1;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.ps-home-strip-slider,
	.ps-home-strip-slider__link,
	.ps-home-strip-slider img,
	.ps-home-strip-slider__empty {
		min-height: 220px;
	}
}

@media (max-width: 575.98px) {
	.ps-home-strip {
		padding: 1rem 0;
	}

	.ps-home-strip__heading {
		font-size: 0.95rem;
	}

	.ps-home-strip__title {
		font-size: 0.82rem;
	}

	.ps-home-strip__item:first-child .ps-home-strip__title {
		font-size: 0.86rem;
	}
}
