/**
 * Portfolio detail V2 — scoped to detail + related only.
 */

.webstix-portfolio-v2-detail {
	--wsx-v2-bg: #fcfbf9;
	--wsx-v2-red: #a51720;
	--wsx-v2-black: #0a0a0a;
	--wsx-v2-grey: #6b7280;
	--wsx-v2-light: #e8e6e3;
	--wsx-v2-white: #ffffff;
	--wsx-v2-max: 80rem;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	color: var(--wsx-v2-black);
	background: var(--wsx-v2-bg);
	padding: 2rem 1.5rem 4rem;
	box-sizing: border-box;
}

.webstix-portfolio-v2-detail *,
.webstix-related-v2 * {
	box-sizing: border-box;
}

.webstix-portfolio-v2-detail a {
	color: inherit;
	text-decoration: none;
}

.webstix-portfolio-v2-detail a:hover {
	color: var(--wsx-v2-red);
}

/* Back + breadcrumb */
.webstix-v2-detail-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.webstix-v2-detail-back svg {
	width: 1rem;
	height: 1rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.webstix-v2-detail-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	font-size: 0.8125rem;
	color: var(--wsx-v2-grey);
	margin-bottom: 2rem;
}

.webstix-v2-detail-breadcrumb .current {
	color: var(--wsx-v2-black);
	font-weight: 600;
}

/* Hero */
.webstix-v2-detail-hero {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 3rem;
}

.webstix-v2-detail-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}

.webstix-v2-detail-excerpt {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--wsx-v2-grey);
	margin: 0;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

/* Meta bar */
.webstix-v2-detail-meta {
	max-width: var(--wsx-v2-max);
	margin: 0 auto 3rem;
}

.webstix-v2-detail-meta-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.5rem;
	background: var(--wsx-v2-white);
	border: 1px solid var(--wsx-v2-light);
	border-radius: 1rem;
	padding: 1.5rem 2rem;
	box-shadow: 0 8px 30px rgba(10, 10, 10, 0.04);
}

@media (min-width: 768px) {
	.webstix-v2-detail-meta-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.webstix-v2-detail-meta-item {
	flex: 1;
	text-align: center;
}

@media (min-width: 768px) {
	.webstix-v2-detail-meta-item {
		text-align: left;
	}
}

.webstix-v2-detail-meta-label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wsx-v2-grey);
	margin: 0 0 0.25rem;
}

.webstix-v2-detail-meta-value {
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0;
}

.webstix-v2-detail-meta-divider {
	display: none;
	width: 1px;
	height: 2.5rem;
	background: var(--wsx-v2-light);
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.webstix-v2-detail-meta-divider {
		display: block;
	}
}

/* Device mockup — browser chrome (image 5) + switcher below */
.webstix-v2-detail-device {
	max-width: var(--wsx-v2-max);
	margin: 0 auto 4rem;
	position: relative;
}

@media (max-width: 640px) {
	.webstix-v2-carousel-arrows {
		left: -1.25rem;
		right: -1.25rem;
	}
	.webstix-v2-detail-evolution .webstix-v2-carousel-arrows {
		left: -1.25rem;
		right: -1.25rem;
	}
}

.webstix-v2-carousel-arrows {
	position: absolute;
	left: -3rem;
	right: -3rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 5;
	padding: 0 0.5rem;
}

.webstix-v2-detail-evolution .webstix-v2-carousel-arrows {
	left: -2.75rem;
	right: -2.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
}

.webstix-v2-ba-track {
	position: relative;
}

.webstix-v2-carousel-arrow {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: 1px solid rgba(232, 230, 227, 0.95);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 26px rgba(10, 10, 10, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	pointer-events: auto;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.webstix-v2-carousel-arrow svg {
	width: 1.1rem;
	height: 1.1rem;
	stroke: var(--wsx-v2-black);
	fill: none;
	stroke-width: 2.2;
}

.webstix-v2-carousel-arrow:hover {
	transform: translateY(-1px);
	border-color: rgba(165, 23, 32, 0.45);
}

.webstix-v2-carousel-arrow:active {
	transform: translateY(0);
}

.webstix-v2-carousel-arrow:focus {
	outline: none;
}

.webstix-v2-carousel-arrow:focus-visible {
	outline: 2px solid rgba(165, 23, 32, 0.55);
	outline-offset: 2px;
}

.webstix-v2-carousel-arrow:disabled,
.webstix-v2-carousel-arrow[aria-disabled="true"],
.webstix-v2-carousel-arrow.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
	border-color: rgba(232, 230, 227, 0.8);
	background: rgba(255, 255, 255, 0.65);
}

.webstix-v2-carousel-arrow:disabled:hover,
.webstix-v2-carousel-arrow[aria-disabled="true"]:hover,
.webstix-v2-carousel-arrow.is-disabled:hover {
	transform: none;
	border-color: rgba(232, 230, 227, 0.8);
}

.webstix-v2-carousel-arrow:disabled svg,
.webstix-v2-carousel-arrow[aria-disabled="true"] svg,
.webstix-v2-carousel-arrow.is-disabled svg {
	stroke: #9ca3af;
}

.webstix-v2-carousel-arrow:disabled,
.webstix-v2-carousel-arrow[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
	box-shadow: none;
	border-color: rgba(232, 230, 227, 0.7);
	background: rgba(255, 255, 255, 0.65);
}

.webstix-v2-carousel-arrow:disabled svg,
.webstix-v2-carousel-arrow[disabled] svg {
	stroke: rgba(10, 10, 10, 0.35);
}

.webstix-v2-carousel-arrow:disabled:hover,
.webstix-v2-carousel-arrow[disabled]:hover {
	transform: none;
	border-color: rgba(232, 230, 227, 0.7);
}

.webstix-v2-device-frame {
	background: #f3f4f6;
	border: 1px solid var(--wsx-v2-light);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(10, 10, 10, 0.06);
	margin-bottom: 0;
}

.webstix-v2-device-chrome {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1.25rem;
	background: #f0f0f0;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 1rem 1rem 0 0;
}

.webstix-v2-device-dots {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
}

.webstix-v2-dot {
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	display: block;
}

.webstix-v2-dot-red {
	background: #ff5f57;
}

.webstix-v2-dot-yellow {
	background: #febc2e;
}

.webstix-v2-dot-green {
	background: #28c840;
}

.webstix-v2-device-url-bar {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.webstix-v2-device-url-bar span {
	display: block;
	width: 100%;
	max-width: 28rem;
	padding: 0.45rem 1rem;
	background: var(--wsx-v2-white);
	border: 1px solid #e0e0e0;
	border-radius: 0.4rem;
	font-size: 0.8125rem;
	color: #9ca3af;
	text-align: center;
}

.webstix-v2-device-screen {
	position: relative;
	background: #1a1a1a;
	min-height: 22rem;
}

.webstix-v2-device-panel {
	display: none;
}

.webstix-v2-device-panel.is-active {
	display: block;
}

.webstix-v2-device-panel[hidden] {
	display: none !important;
}

.webstix-v2-device-panel[data-device-panel="desktop"] .webstix-v2-device-chrome {
	border-radius: 0;
}

.webstix-v2-device-panel-media {
	background: #1a1a1a;
}

.webstix-v2-device-panel[data-device-panel="desktop"] .webstix-v2-device-panel-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* Handled: separate tablet + mobile, each with its own browser chrome */
.webstix-v2-handled-devices {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(1rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 3vw, 2.5rem);
	min-height: 22rem;
	box-sizing: border-box;
}

.webstix-v2-handled-unit {
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	max-width: 100%;
	background: #f0f0f0;
	border-radius: 0.65rem;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.webstix-v2-handled-unit--tablet {
	flex-basis: min(52%, 26rem);
}

.webstix-v2-handled-unit--mobile {
	flex-basis: min(34%, 14rem);
}

.webstix-v2-mini-chrome {
	padding: 0.5rem 0.75rem;
	gap: 0.5rem;
	border-radius: 0;
}

.webstix-v2-mini-chrome .webstix-v2-dot {
	width: 0.45rem;
	height: 0.45rem;
}

.webstix-v2-mini-chrome .webstix-v2-device-url-bar span {
	max-width: 100%;
	padding: 0.3rem 0.5rem;
	font-size: 0.65rem;
}

.webstix-v2-handled-media {
	background: #1a1a1a;
	line-height: 0;
}

.webstix-v2-handled-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.webstix-v2-device-switcher {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 1rem 0 0;
	background: transparent;
	border: none;
}

/* Compact pill buttons — override theme full-width button styles */
.webstix-v2-detail-device .webstix-v2-device-switcher button,
.webstix-portfolio-v2-detail .webstix-v2-device-switcher button {
	appearance: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	border: 1px solid #d1d5db !important;
	background: var(--wsx-v2-white) !important;
	color: var(--wsx-v2-black) !important;
	font-family: inherit;
	font-size: 0.8125rem !important;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.4rem 1rem !important;
	border-radius: 999px !important;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.webstix-v2-detail-device .webstix-v2-device-switcher button.is-active,
.webstix-portfolio-v2-detail .webstix-v2-device-switcher button.is-active {
	background: var(--wsx-v2-black) !important;
	border-color: var(--wsx-v2-black) !important;
	color: var(--wsx-v2-white) !important;
}

.webstix-v2-detail-device .webstix-v2-device-switcher button.is-active[data-device-mode="handled"],
.webstix-portfolio-v2-detail .webstix-v2-device-switcher button.is-active[data-device-mode="handled"] {
	background: #8b1538 !important;
	border-color: #8b1538 !important;
	color: var(--wsx-v2-white) !important;
}

.webstix-v2-detail-device .webstix-v2-device-switcher button:hover:not(.is-active),
.webstix-portfolio-v2-detail .webstix-v2-device-switcher button:hover:not(.is-active) {
	border-color: var(--wsx-v2-black) !important;
}

/* Overview + results */
.webstix-v2-detail-overview {
	max-width: var(--wsx-v2-max);
	margin: 0 auto 4rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.webstix-v2-detail-overview {
		grid-template-columns: 1fr 22rem;
		gap: 3rem;
		align-items: start;
	}
}

.webstix-v2-section-eyebrow {
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--wsx-v2-red);
	margin: 0 0 1rem;
}

.webstix-v2-section-eyebrow-center {
	text-align: center;
}

.webstix-v2-overview-heading {
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.webstix-v2-overview-body {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--wsx-v2-grey);
}

.webstix-v2-overview-body p {
	margin: 0 0 1rem;
}

.webstix-v2-detail-results {
	background: var(--wsx-v2-white);
	border: 1px solid var(--wsx-v2-light);
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 8px 30px rgba(10, 10, 10, 0.04);
}

@media (min-width: 1024px) {
	.webstix-v2-detail-results-sticky {
		position: sticky;
		top: 2rem;
		align-self: start;
		max-height: calc(100vh - 4rem);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.webstix-v2-overview-block + .webstix-v2-overview-block {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wsx-v2-light);
}

.webstix-v2-detail-overview-main .webstix-v2-project-link-wrap {
	margin-top: 1.5rem;
}

.webstix-v2-metric + .webstix-v2-metric {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wsx-v2-light);
}

.webstix-v2-metric-group {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wsx-v2-grey);
	margin: 0 0 0.5rem;
}

.webstix-v2-metric-row {
	display: flex;
	align-items: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.webstix-v2-metric-value {
	font-size: 2.75rem;
	font-weight: 800;
	color: var(--wsx-v2-red);
	line-height: 1;
}

.webstix-v2-metric-label {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* Before / after */
.webstix-v2-detail-evolution {
	max-width: 56rem;
	margin: 0 auto 4rem;
	position: relative;
}

.webstix-v2-ba-slide {
	display: none;
}

.webstix-v2-ba-slide.is-active {
	display: block;
}

.webstix-v2-ba-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.webstix-v2-ba-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.webstix-v2-ba-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.5rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wsx-v2-grey);
}

.webstix-v2-ba-caption {
	font-size: 0.625rem;
	opacity: 0.7;
	background: rgba(232, 230, 227, 0.6);
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
}

.webstix-v2-ba-media {
	background: rgba(232, 230, 227, 0.35);
	border: 1px solid var(--wsx-v2-light);
	border-radius: 1rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.webstix-v2-ba-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Before/after pagination — small numbered squares (image 4) */
.webstix-v2-ba-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1.25rem;
}

.webstix-v2-ba-page {
	width: 1.875rem;
	height: 1.875rem;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 0.25rem;
	background: var(--wsx-v2-white);
	color: var(--wsx-v2-black);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.webstix-v2-ba-page.is-active {
	background: var(--wsx-v2-black);
	border-color: var(--wsx-v2-black);
	color: var(--wsx-v2-white);
}

.webstix-v2-ba-page:hover:not(.is-active) {
	border-color: #bdbdbd;
}

/* Content sections — matches V3: text-sm red eyebrow + text-xl body */
.webstix-v2-detail-content-blocks {
	max-width: 56rem;
	margin: 0 auto 6rem;
}

.webstix-v2-content-block + .webstix-v2-content-block {
	margin-top: 3rem;
}

.webstix-v2-content-block .webstix-v2-section-eyebrow {
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wsx-v2-red);
	margin: 0 0 1.5rem;
}

.webstix-v2-content-block-body {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.625;
	margin: 0;
	max-width: none;
	color: var(--wsx-v2-black);
}

.webstix-v2-content-block-body p {
	margin: 0 0 1rem;
	color: var(--wsx-v2-black);
}

.webstix-v2-content-block-body p:last-child {
	margin-bottom: 0;
}

.webstix-v2-content-block-body img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.webstix-related-v2-after-btn-wrap {
	margin: 2rem 0 0;
	text-align: left;
}

.webstix-related-v2-after-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 0.35rem;
	background: var(--wsx-v2-red);
	color: var(--wsx-v2-white) !important;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.webstix-related-v2-after-btn:hover {
	background: #7a1219;
	color: var(--wsx-v2-white) !important;
}

.webstix-v2-project-link-wrap {
	margin: 2rem 0 0;
	text-align: left;
}

.webstix-v2-project-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 0.35rem;
	background: var(--wsx-v2-red);
	color: var(--wsx-v2-white) !important;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.webstix-v2-project-link:hover {
	background: #7a1219;
	color: var(--wsx-v2-white) !important;
}

/* Testimonial — image 6 */
.webstix-v2-detail-testimonial {
	max-width: var(--wsx-v2-max);
	margin: 0 auto 4rem;
}

.webstix-v2-testimonial-inner {
	position: relative;
	text-align: center;
	padding: 3rem 2rem 2.5rem;
	border-radius: 1.25rem;
	background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(90, 10, 18, 0.85) 0%, transparent 55%),
		#0a0a0a;
	color: var(--wsx-v2-white);
	overflow: hidden;
}

.webstix-v2-testimonial-mark {
	font-size: 4rem;
	line-height: 1;
	font-weight: 700;
	color: var(--wsx-v2-red);
	margin-bottom: 1rem;
	font-family: Georgia, "Times New Roman", serif;
}

.webstix-v2-detail-testimonial blockquote {
	margin: 0;
	padding: 0;
	border: none;
}

.webstix-v2-detail-testimonial blockquote p {
	font-size: 1.125rem;
	line-height: 1.65;
	font-weight: 400;
	margin: 0 auto;
	max-width: 42rem;
	color: rgba(255, 255, 255, 0.95);
}

.webstix-v2-testimonial-attribution {
	margin: 1.5rem 0 0;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.85);
}

/* CTA — image 7 */
.webstix-v2-detail-cta {
	max-width: 42rem;
	margin: 0 auto 2rem;
}

.webstix-v2-cta-inner {
	background: var(--wsx-v2-white);
	border: 1px solid #ebebeb;
	border-radius: 1.5rem;
	padding: 2.75rem 2rem;
	text-align: center;
	box-shadow: 0 12px 40px rgba(10, 10, 10, 0.06);
}

.webstix-v2-cta-inner h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 1rem;
	color: var(--wsx-v2-black);
}

.webstix-v2-cta-body {
	color: var(--wsx-v2-grey);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1.75rem;
}

.webstix-v2-cta-body p {
	margin: 0 0 0.5rem;
}

.webstix-v2-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
}

.webstix-v2-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.9rem 1.6rem;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.webstix-v2-cta-btn-primary {
	background: var(--wsx-v2-black);
	color: var(--wsx-v2-white);
	border: 2px solid var(--wsx-v2-black);
}

.webstix-v2-cta-btn-primary:hover {
	background: var(--wsx-v2-red);
	border-color: var(--wsx-v2-red);
	color: var(--wsx-v2-white);
	transform: translateY(-1px);
}

.webstix-v2-cta-btn-secondary {
	background: transparent;
	color: var(--wsx-v2-black);
	border: 2px solid var(--wsx-v2-black);
}

.webstix-v2-cta-btn-secondary:hover {
	background: var(--wsx-v2-black);
	color: var(--wsx-v2-white);
	transform: translateY(-1px);
}

/* Related projects */
.webstix-related-v2 {
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	background: var(--wsx-v2-bg, #fcfbf9);
	padding: 0 1.5rem 4rem;
	max-width: var(--wsx-v2-max, 80rem);
	margin: 0 auto;
}

.webstix-related-v2-heading {
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1.5rem;
	color: var(--wsx-v2-black, #0a0a0a);
}

.webstix-related-v2-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.webstix-related-v2-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.webstix-related-v2-card {
	display: block;
	background: #fff;
	border: 1px solid #e8e6e3;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.04);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.webstix-related-v2-card:hover {
	box-shadow: 0 8px 24px rgba(10, 10, 10, 0.08);
	transform: translateY(-2px);
}

.webstix-related-v2-card:hover .webstix-related-v2-card-body h4 {
	color: #a51720;
}

.webstix-related-v2-card-media {
	aspect-ratio: 16 / 10;
	background: rgba(232, 230, 227, 0.35);
	border-bottom: 1px solid #e8e6e3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.webstix-related-v2-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.webstix-related-v2-placeholder {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #6b7280;
	opacity: 0.5;
}

.webstix-related-v2-card:hover .webstix-related-v2-placeholder {
	opacity: 1;
	color: #a51720;
}

.webstix-related-v2-card-body {
	padding: 1.5rem;
}

.webstix-related-v2-card-body h4 {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}
