/* ==========================================================================
   Página de un trabajo del Portfolio.
   Escritorio: texto fijo a la izquierda, fotos a la derecha. Móvil: apilado.
   ========================================================================== */

.ko-work__layout {
	display: grid;
	gap: 40px;
	padding-block: 48px 96px;
}

@media (min-width: 1024px) {
	.ko-work__layout {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: clamp(48px, 6vw, 112px);
		padding-block: 72px 128px;
	}

	.ko-work__intro {
		position: sticky;
		top: calc(var(--ko-header-h-fixed) + 32px);
		align-self: start;
	}
}

.ko-work__styles {
	margin: 0 0 12px;
	font-size: 13px;
	font-style: italic;
	color: var(--ko-muted);
}

.ko-work__title {
	margin: 0 0 24px;
	font-size: clamp(44px, 6.5vw, 96px);
	line-height: 0.95;
}

.ko-work__lead {
	margin: 0 0 24px;
	font-size: 17px;
	line-height: 1.6;
}

.ko-work__content > :first-child {
	margin-top: 0;
}

.ko-work__media {
	display: grid;
	gap: 16px;
}

.ko-work__figure {
	margin: 0;
	background: #f2f2f2;
}

.ko-work__figure img,
.ko-work__video {
	width: 100%;
	height: auto;
}

.ko-work__video {
	display: block;
	background: var(--ko-ink);
}

/* Navegación -------------------------------------------------------------- */

.ko-work__nav {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgb(0 0 0 / 0.12);
}

.ko-work__all {
	display: inline-block;
	margin-bottom: 24px;
	font-family: var(--ko-font-display);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.ko-work__siblings {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.ko-work__siblings a {
	display: grid;
	gap: 4px;
	text-decoration: none;
}

.ko-work__siblings a[rel="next"] {
	grid-column: 2;
	text-align: right;
}

.ko-work__nav-label {
	font-size: 13px;
	font-style: italic;
	color: var(--ko-muted);
}

.ko-work__nav-title {
	font-family: var(--ko-font-display);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	text-transform: uppercase;
}

.ko-work__siblings a:hover .ko-work__nav-title {
	color: transparent;
	-webkit-text-stroke: 1px var(--ko-ink);
}
