/**
 * Aftershow Hook Lab
 */

.ashl-shell {
	width: min(calc(100% - 2rem), 1180px);
	margin: clamp(3rem, 7vw, 6rem) auto;
	color: var(--asc-ink, #0f0c0a);
}

/* Encabezado */

.ashl-poster {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
	align-items: stretch;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);

	border: 2px solid var(--asc-white, #fffdf8);
	border-left: 9px solid var(--asc-electric, #00d9ff);
	border-bottom: 7px solid var(--asc-red, #c94040);

	box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.44);
}

.ashl-poster__main {
	padding: clamp(1.25rem, 3vw, 2.25rem);
}

.ashl-poster__code,
.ashl-guide__code {
	display: inline-flex;
	width: fit-content;
	padding: 0.46rem 0.75rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-electric, #00d9ff);

	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.13em;
	text-transform: uppercase;

	box-shadow: 3px 3px 0 var(--asc-yellow, #f4c430);
}

.ashl-poster h1 {
	margin: 1rem 0 0.75rem;

	color: var(--asc-white, #fffdf8);

	font-size: clamp(4.5rem, 10vw, 8rem);
	line-height: 0.8;
	text-transform: uppercase;
}

.ashl-poster p {
	max-width: 620px;
	margin: 0;

	font-size: 1rem;
	line-height: 1.55;
}

.ashl-poster__output {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;

	padding: 1.5rem;

	border-left: 1px solid rgba(255, 255, 255, 0.22);
	background:
		linear-gradient(
			135deg,
			transparent,
			rgba(0, 217, 255, 0.1)
		);
}

.ashl-poster__output span {
	color: var(--asc-electric, #00d9ff);

	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ashl-poster__output strong {
	font-size: 1.1rem;
	line-height: 1.35;
}

/* Avisos */

.ashl-notice {
	margin: 1.75rem 0;
	padding: 1rem 1.2rem;

	border: 2px solid var(--asc-ink, #0f0c0a);
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.ashl-notice--error {
	color: var(--asc-white, #fffdf8);
	background: var(--asc-red, #c94040);
}

.ashl-notice ul {
	margin-bottom: 0;
}

/* Área de trabajo */

.ashl-workbench {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.32fr);
	align-items: start;
	gap: 1.5rem;

	margin-top: 2rem;
}

.ashl-form {
	padding: clamp(1.2rem, 3vw, 2rem);

	background: var(--asc-paper, #f2eadf);
	border: 2px solid var(--asc-ink, #0f0c0a);

	box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.42);
}

.ashl-form__intro > span {
	color: var(--asc-red, #c94040);

	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ashl-form__intro h2 {
	margin: 0.55rem 0;

	font-size: clamp(2.6rem, 6vw, 4.7rem);
	line-height: 0.9;
	text-transform: uppercase;
}

.ashl-form__intro p {
	margin-top: 0;
}

.ashl-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;

	margin-top: 1.75rem;
}

.ashl-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;

	min-width: 0;
}

.ashl-field--wide {
	grid-column: 1 / -1;
}

.ashl-field label {
	width: fit-content;
	padding: 0.45rem 0.65rem;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);
	border-left: 5px solid var(--asc-electric, #00d9ff);

	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.ashl-field input,
.ashl-field select,
.ashl-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.8rem 0.9rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-white, #fffdf8);

	border: 2px solid var(--asc-ink, #0f0c0a);
	border-radius: 0;

	font: inherit;
	line-height: 1.4;
}

.ashl-field textarea {
	min-height: 150px;
	resize: vertical;
}

.ashl-field input:focus,
.ashl-field select:focus,
.ashl-field textarea:focus {
	outline: 4px solid rgba(0, 217, 255, 0.32);
	outline-offset: 1px;
}

.ashl-form__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;

	margin-top: 1.5rem;
	padding-top: 1.25rem;

	border-top: 2px solid var(--asc-ink, #0f0c0a);
}

.ashl-form__actions p {
	max-width: 520px;
	margin: 0;

	color: rgba(15, 12, 10, 0.65);
	font-size: 0.82rem;
	line-height: 1.45;
}

.ashl-form__actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 48px;
	padding: 0.8rem 1rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-electric, #00d9ff);

	border: 2px solid var(--asc-ink, #0f0c0a);
	border-radius: 0;

	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	box-shadow: 4px 4px 0 var(--asc-red, #c94040);
	cursor: pointer;
}

.ashl-form__actions button:hover,
.ashl-form__actions button:focus-visible {
	color: var(--asc-white, #fffdf8);
	background: var(--asc-red, #c94040);
	box-shadow: 4px 4px 0 var(--asc-electric, #00d9ff);
}

/* Guía lateral */

.ashl-guide {
	padding: 1.25rem;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);
	border: 2px solid var(--asc-white, #fffdf8);

	box-shadow: 6px 7px 0 var(--asc-red, #c94040);
}

.ashl-guide ol {
	display: grid;
	gap: 1rem;

	margin: 1.4rem 0 0;
	padding: 0;

	list-style: none;
	counter-reset: hook-lab-step;
}

.ashl-guide li {
	position: relative;
	padding: 0 0 1rem 2rem;

	border-bottom: 1px solid rgba(255, 255, 255, 0.2);

	counter-increment: hook-lab-step;
}

.ashl-guide li::before {
	content: "0" counter(hook-lab-step);

	position: absolute;
	left: 0;
	top: 0;

	color: var(--asc-electric, #00d9ff);

	font-size: 0.7rem;
	font-weight: 900;
}

.ashl-guide strong,
.ashl-guide span {
	display: block;
}

.ashl-guide strong {
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.ashl-guide span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.86rem;
	line-height: 1.45;
}

/* Brief */

.ashl-brief {
	margin-top: 2rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-paper, #f2eadf);

	border: 2px solid var(--asc-ink, #0f0c0a);
	box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.42);
}

.ashl-brief__heading {
	padding: 1.25rem;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);
}

.ashl-brief__heading > span {
	color: var(--asc-electric, #00d9ff);

	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ashl-brief__heading h2 {
	margin: 0.45rem 0 0;

	color: var(--asc-white, #fffdf8);

	font-size: clamp(2.8rem, 7vw, 5.4rem);
	line-height: 0.88;
	text-transform: uppercase;
}

.ashl-brief__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));

	gap: 1px;
	background: var(--asc-ink, #0f0c0a);
}

.ashl-brief__grid > div {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;

	padding: 1rem;

	background: var(--asc-paper, #f2eadf);
}

.ashl-brief__grid span,
.ashl-brief__description > span {
	color: rgba(15, 12, 10, 0.55);

	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ashl-brief__description,
.ashl-brief__next {
	padding: 1.25rem;
}

.ashl-brief__description {
	border-top: 2px solid var(--asc-ink, #0f0c0a);
}

.ashl-brief__description p {
	line-height: 1.55;
}

.ashl-brief__next {
	color: var(--asc-white, #fffdf8);
	background: var(--asc-red, #c94040);
}

.ashl-brief__next p {
	margin-bottom: 0;
}

/* Responsive */

@media (max-width: 900px) {
	.ashl-poster,
	.ashl-workbench {
		grid-template-columns: 1fr;
	}

	.ashl-poster__output {
		border-top: 1px solid rgba(255, 255, 255, 0.22);
		border-left: 0;
	}

	.ashl-guide {
		order: -1;
	}

	.ashl-brief__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ashl-shell {
		width: calc(100% - 1.25rem);
		margin: 2.5rem auto;
	}

	.ashl-poster h1 {
		font-size: clamp(4rem, 22vw, 6rem);
	}

	.ashl-form__grid,
	.ashl-brief__grid {
		grid-template-columns: 1fr;
	}

	.ashl-field--wide {
		grid-column: auto;
	}

	.ashl-form__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ashl-form__actions button {
		width: 100%;
	}
}
/* =========================================================
   HOOK LAB — PLANTILLA Y ANCHO DE PÁGINA
   ========================================================= */

.asc-hook-lab-page {
	display: block !important;

	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;

	margin: 0 !important;
	padding: 0 0 clamp(3rem, 7vw, 6rem) !important;
}

/* Elimina el ancho restringido del contenido de WordPress */

.asc-hook-lab-page .wp-block-post-content {
	display: block !important;

	width: 100% !important;
	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;
}

/* Mantiene el laboratorio alineado con Eventos */

.asc-hook-lab-page .ashl-shell {
	width: min(calc(100% - 2rem), 1180px) !important;
	max-width: 1180px !important;

	margin:
		clamp(3rem, 7vw, 6rem)
		auto !important;
}

/* Móvil */

@media (max-width: 620px) {
	.asc-hook-lab-page .ashl-shell {
		width: calc(100% - 1.25rem) !important;
		margin: 2.5rem auto !important;
	}
}
/* =========================================================
   HOOK LAB — RESULTADOS DEMOSTRATIVOS
   ========================================================= */

.ashl-results {
	--ashl-result-accent: var(--asc-electric, #00d9ff);

	margin-top: 2rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-paper, #f2eadf);

	border: 2px solid var(--asc-ink, #0f0c0a);
	box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.44);
}

/* Encabezado */

.ashl-results__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;

	padding: clamp(1.25rem, 3vw, 2rem);

	color: var(--asc-white, #fffdf8);
	background:
		linear-gradient(
			135deg,
			rgba(0, 217, 255, 0.1),
			transparent 48%
		),
		var(--asc-ink, #0f0c0a);

	border-bottom: 7px solid var(--asc-red, #c94040);
}

.ashl-results__header span {
	color: var(--asc-electric, #00d9ff);

	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ashl-results__header h2 {
	margin: 0.5rem 0;

	color: var(--asc-white, #fffdf8);

	font-size: clamp(3.4rem, 8vw, 6.5rem);
	line-height: 0.84;
	text-transform: uppercase;
}

.ashl-results__header p {
	max-width: 640px;
	margin: 0;

	color: rgba(255, 255, 255, 0.72);
}

/* Botones de copia */

.ashl-copy-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 38px;
	padding: 0.55rem 0.7rem;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);

	border: 2px solid var(--asc-ink, #0f0c0a);
	border-radius: 0;

	font-size: 0.63rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.07em;
	text-transform: uppercase;

	cursor: pointer;
}

.ashl-copy-button:hover,
.ashl-copy-button:focus-visible,
.ashl-copy-button--copied {
	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-electric, #00d9ff);
}

.ashl-copy-button--all {
	min-height: 46px;
	padding: 0.75rem 1rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-electric, #00d9ff);
	border-color: var(--asc-white, #fffdf8);

	box-shadow: 3px 3px 0 var(--asc-red, #c94040);
}

/* Secciones */

.ashl-results__section {
	padding: clamp(1.25rem, 3vw, 2rem);

	border-bottom: 2px solid var(--asc-ink, #0f0c0a);
}

.ashl-results__section--hooks {
	--ashl-result-accent: var(--asc-electric, #00d9ff);
}

.ashl-results__section--captions {
	--ashl-result-accent: var(--asc-red, #c94040);
}

.ashl-results__section--ctas {
	--ashl-result-accent: var(--asc-yellow, #f4c430);
}

.ashl-results__section--visuals {
	--ashl-result-accent: #8b5cf6;
}

.ashl-results__section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;

	margin-bottom: 1.25rem;
	padding-bottom: 0.8rem;

	border-bottom: 5px solid var(--ashl-result-accent);
}

.ashl-results__section-heading span {
	padding: 0.42rem 0.65rem;

	color: var(--asc-ink, #0f0c0a);
	background: var(--ashl-result-accent);

	font-size: 0.67rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ashl-results__section-heading h3 {
	margin: 0;

	font-size: clamp(2.3rem, 5vw, 4.3rem);
	line-height: 0.9;
	text-align: right;
	text-transform: uppercase;
}

/* Cuadrículas */

.ashl-results__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ashl-results__grid--wide {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tarjetas */

.ashl-result-card {
	display: flex;
	flex-direction: column;

	min-width: 0;
	margin: 0;
	padding: 1rem;

	background: var(--asc-white, #fffdf8);

	border: 2px solid var(--asc-ink, #0f0c0a);
	border-left: 8px solid var(--ashl-result-accent);

	box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.26);
}

.ashl-result-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;

	margin-bottom: 1rem;
}

.ashl-result-card__top > span {
	color: var(--ashl-result-accent);

	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.ashl-result-card p {
	margin: 0;

	font-size: 1rem;
	line-height: 1.55;
}

.ashl-result-card h4 {
	margin: 0 0 0.6rem;

	font-size: 1.35rem;
	line-height: 1;
	text-transform: uppercase;
}

/* Consejo de plataforma */

.ashl-platform-tip {
	display: grid;
	grid-template-columns:
		minmax(180px, 0.35fr)
		minmax(0, 1fr)
		auto;
	align-items: center;
	gap: 1.5rem;

	padding: clamp(1.25rem, 3vw, 2rem);

	color: var(--asc-white, #fffdf8);
	background: var(--asc-ink, #0f0c0a);
}

.ashl-platform-tip span {
	color: var(--asc-electric, #00d9ff);

	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ashl-platform-tip h3 {
	margin: 0.45rem 0 0;

	color: var(--asc-white, #fffdf8);

	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 0.9;
	text-transform: uppercase;
}

.ashl-platform-tip p {
	margin: 0;

	color: rgba(255, 255, 255, 0.78);
	line-height: 1.55;
}

.ashl-platform-tip .ashl-copy-button {
	color: var(--asc-ink, #0f0c0a);
	background: var(--asc-electric, #00d9ff);
	border-color: var(--asc-white, #fffdf8);
}

/* Estado accesible */

.ashl-copy-status {
	min-height: 1.2rem;
	margin: 0;
	padding: 0.65rem 1rem;

	color: var(--asc-white, #fffdf8);
	background: var(--asc-red, #c94040);

	font-size: 0.72rem;
	font-weight: 800;
	text-align: center;
}

.ashl-copy-status:empty {
	display: none;
}

/* Responsive */

@media (max-width: 900px) {
	.ashl-results__grid--wide {
		grid-template-columns: 1fr;
	}

	.ashl-platform-tip {
		grid-template-columns: 1fr;
		align-items: start;
	}
}

@media (max-width: 620px) {
	.ashl-results__header,
	.ashl-results__section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ashl-results__header h2 {
		font-size: clamp(3.2rem, 17vw, 5rem);
	}

	.ashl-copy-button--all {
		width: 100%;
	}

	.ashl-results__section-heading h3 {
		text-align: left;
	}

	.ashl-results__grid {
		grid-template-columns: 1fr;
	}

	.ashl-platform-tip .ashl-copy-button {
		width: 100%;
	}
}
/* Hook Lab — aviso de privacidad */

.ashl-privacy-note a {
	color: inherit;
	font-weight: 900;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.ashl-privacy-note a:hover,
.ashl-privacy-note a:focus-visible {
	color: var(--asc-red, #c94040);
}