/* Sekuoya Presentación 1.0.7 — template variants over Responsive Contract v1 */

body.hdp-contract-template-revista-destino .hdp-editorial-hero,
body.hdp-contract-template-revista-destino .hdp-editorial-hero__image {
	height: min(76vh, 860px);
	max-height: 860px;
	object-fit: cover;
}

body.hdp-contract-template-revista-destino .hdp-editorial-hero__card {
	max-width: var(--hdp-contract-hero-card-max, 720px);
}

body.hdp-contract-template-revista-destino #primary {
	max-width: var(--hdp-contract-site-max, 1040px);
}

body.hdp-contract-template-revista-destino .entry-content > .wp-block-image.alignwide,
body.hdp-contract-template-revista-destino .entry-content > .wp-block-gallery.alignwide {
	box-sizing: border-box;
	max-width: min(calc(100% + (2 * var(--hdp-contract-wide-bleed, 64px))), calc(100vw - (2 * var(--hdp-contract-page-gutter, 32px))));
	width: auto;
}

body.hdp-contract-template-guia-atelier .hdp-editorial-hero {
	min-height: 0;
}

body.hdp-contract-template-guia-atelier .hdp-editorial-hero__image {
	max-height: 520px;
	object-fit: cover;
}

body.hdp-contract-template-guia-atelier .hdp-editorial-hero__card {
	max-width: var(--hdp-contract-hero-card-max, 820px);
}

body.hdp-contract-template-guia-atelier #primary {
	max-width: var(--hdp-contract-site-max, 880px);
}

body.hdp-contract-template-guia-atelier .entry-content h2 {
	border-top: 1px solid var(--hdb-contrast-3);
	padding-top: 28px;
}

body.hdp-contract-template-guia-atelier .entry-content :where(.wp-block-table, .wp-block-details, .hdb-editorial-callout) {
	margin-block: 28px;
}

body.hdp-contract-template-texto-editorial .hdp-editorial-breadcrumbs--outside {
	box-sizing: border-box;
	width: min(var(--hdp-contract-site-max, 1120px), calc(100% - (2 * var(--hdp-contract-page-gutter, 32px))));
	margin: 22px auto 14px;
}

body.hdp-contract-template-texto-editorial .hdp-editorial-hero {
	min-height: 560px;
	background: var(--hdb-base-2);
	border-radius: 3px;
	overflow: hidden;
}

body.hdp-contract-template-texto-editorial .hdp-editorial-hero--no-image {
	background: linear-gradient(135deg, var(--hdb-base-2), var(--hdb-base-3, #eee7e3));
}

body.hdp-contract-template-texto-editorial .hdp-editorial-hero__card {
	max-width: var(--hdp-contract-hero-card-max, 720px);
	margin-bottom: 32px;
	padding-block: 38px;
}

body.hdp-contract-template-texto-editorial .hdp-editorial-hero__card h1 {
	margin-bottom: 0;
}

body.hdp-contract-template-texto-editorial .hdp-image-placeholder {
	box-sizing: border-box;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 10px;
	border: 1px dashed color-mix(in srgb, var(--hdb-contrast-2) 45%, transparent);
	background: color-mix(in srgb, var(--hdb-base) 68%, transparent);
	color: var(--hdb-contrast-2);
}

body.hdp-contract-template-texto-editorial .hdp-image-placeholder--hero {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

body.hdp-contract-template-texto-editorial .hdp-image-placeholder--inline {
	width: 100%;
	min-height: 260px;
	aspect-ratio: 3 / 2;
	margin: 34px 0;
	border-radius: 3px;
}

body.hdp-contract-template-texto-editorial .hdp-image-placeholder__mark {
	font-size: 38px;
	line-height: 1;
}

body.hdp-contract-template-texto-editorial .hdp-image-placeholder strong {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
}

/* Entrada Weddings 1.0.1 — bloque modular alineado con páginas principales. */
body.hdp-contract-template-entrada-weddings {
	--hdp-entry-max: 1240px;
	--hdp-entry-radius: 16px;
	--hdb-base: #f6f2ef;
	--hdb-base-2: #eee7e2;
	--hdb-base-3: #fff;
	--hdb-contrast: #211a1e;
	--hdb-contrast-2: #655a60;
	--hdb-contrast-3: #d9d3d6;
	height: auto;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background: #07110c;
}

body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback #header,
body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback #footer {
	display: none;
}

.hdp-entry-site-header,
.hdp-entry-site-footer,
body.hdp-contract-template-entrada-weddings .hdp-entry-hero,
body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback .hdp-article-shell {
	box-sizing: border-box;
	width: min(var(--hdp-entry-max), calc(100% - 32px));
	margin-inline: auto;
}

.hdp-entry-site-header {
	margin-top: 20px;
	border: 1px solid var(--hdb-contrast-3);
	border-radius: var(--hdp-entry-radius);
	background: var(--hdb-base-3);
	color: var(--hdb-contrast);
}

.hdp-entry-site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
	padding: 12px 22px;
}

.hdp-entry-site-header__inner > *,
.hdp-entry-nav,
.hdp-entry-controls,
.hdp-entry-controls form {
	min-width: 0;
}

.hdp-entry-identity {
	display: grid;
	flex: 0 0 auto;
	color: inherit !important;
	line-height: 1.08;
	text-decoration: none !important;
}

.hdp-entry-identity span {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hdp-entry-identity strong {
	font-size: 22px;
}

.hdp-entry-nav {
	max-width: 100%;
	margin-left: auto;
}

.hdp-entry-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hdp-entry-nav a {
	color: inherit !important;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none !important;
}

.hdp-entry-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hdp-entry-controls form {
	display: flex;
	gap: 6px;
	margin: 0;
}

.hdp-entry-controls input,
.hdp-entry-controls button {
	box-sizing: border-box;
	min-height: 44px;
	border-radius: 999px;
	font: inherit;
}

.hdp-entry-controls input {
	width: 132px;
	max-width: 100%;
	min-width: 0;
	border: 1px solid var(--hdb-contrast-3);
	padding: 7px 12px;
}

.hdp-entry-controls button {
	border: 0;
	padding: 7px 14px;
	background: var(--hdb-contrast);
	color: #fff;
}

.hdp-entry-language select {
	max-width: 110px;
	min-height: 44px;
	border: 1px solid var(--hdb-contrast-3);
	border-radius: 999px;
	background: #fff;
}

.hdp-entry-account {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--hdb-contrast-3);
	border-radius: 999px;
	color: inherit !important;
	text-decoration: none !important;
}

.hdp-entry-account svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hdp-entry-account:focus-visible {
	outline: 3px solid #1f6f52;
	outline-offset: 3px;
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero {
	place-items: center start;
	min-height: 520px;
	margin-top: 20px;
	border-radius: var(--hdp-entry-radius);
	overflow: hidden;
	background: #211a1e;
	color: #fff;
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__image {
	filter: saturate(.88) contrast(.98);
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__overlay {
	background: linear-gradient(90deg, rgba(22, 20, 19, .96) 0%, rgba(22, 20, 19, .76) 44%, rgba(22, 20, 19, .2) 80%);
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__card {
	box-sizing: border-box;
	width: min(680px, 62%);
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 64px;
	background: transparent;
	box-shadow: none;
	color: #fff;
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-breadcrumbs,
body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-breadcrumbs a,
body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-meta,
body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__dek {
	color: rgba(255, 255, 255, .82);
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-breadcrumbs li:not(:last-child)::after {
	color: rgba(255, 255, 255, .45);
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__card h1 {
	max-width: 650px;
	margin-bottom: 20px;
	font-size: clamp(42px, 5.4vw, 68px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.045em;
	color: #fff;
	hyphens: auto;
	overflow-wrap: break-word;
	text-wrap: balance;
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-meta {
	border-color: rgba(255, 255, 255, .24);
}

.hdp-entry-eyebrow,
.hdp-entry-section-heading > p,
.hdp-entry-card__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #a55c78;
}

body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-entry-eyebrow {
	color: #f2cbb9;
}

body.hdp-contract-template-entrada-weddings .hdp-image-placeholder {
	box-sizing: border-box;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #382f34, #5b4d54);
	color: rgba(255, 255, 255, .82);
}

body.hdp-contract-template-entrada-weddings .hdp-image-placeholder--hero {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback .hdp-article-shell {
	margin-top: 20px;
	padding: 64px;
	border-radius: var(--hdp-entry-radius) var(--hdp-entry-radius) 0 0;
	background: var(--hdb-base-3);
}

body.hdp-contract-template-entrada-weddings .hdp-entry-blocks,
body.hdp-contract-template-entrada-weddings .hdp-entry-content-block {
	min-width: 0;
}

body.hdp-contract-template-entrada-weddings .hdp-article-layout {
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 56px;
}

body.hdp-contract-template-entrada-weddings .hdp-article-main {
	padding: 0;
	box-shadow: none;
}

.hdp-entry-collection {
	margin-top: 68px;
	padding-top: 48px;
	border-top: 1px solid var(--hdb-base-2);
}

.hdp-entry-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.hdp-entry-section-heading > p {
	margin-bottom: 5px;
}

.hdp-entry-section-heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 500;
	line-height: 1.08;
	color: var(--hdb-contrast);
}

.hdp-entry-card-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.hdp-entry-card-track--scroll {
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 31%);
	grid-template-columns: none;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline proximity;
	scrollbar-width: thin;
	padding-bottom: 10px;
}

.hdp-entry-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--hdb-base-2);
	border-radius: 14px;
	background: #fff;
	scroll-snap-align: start;
}

.hdp-entry-card > a {
	display: grid;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}

.hdp-entry-card__media {
	display: grid;
	min-height: 190px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hdb-base-2);
}

.hdp-entry-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hdp-entry-card__body {
	display: block;
	padding: 22px;
}

.hdp-entry-card h3 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.16;
	color: var(--hdb-contrast);
}

.hdp-entry-card__excerpt {
	display: block;
	font-size: 15px;
	line-height: 1.55;
	color: var(--hdb-contrast-2);
}

.hdp-entry-site-footer {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 20px 24px;
	border: 1px solid var(--hdb-contrast-3);
	border-top: 0;
	border-radius: 0 0 var(--hdp-entry-radius) var(--hdp-entry-radius);
	background: #fff;
	color: var(--hdb-contrast-2);
}

.hdp-entry-site-footer p {
	margin: 0;
}

@media (max-width: 1024px) {
	.hdp-entry-site-header__inner {
		flex-wrap: wrap;
	}
	.hdp-entry-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
	}
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__card {
		width: min(680px, 72%);
		padding: 48px;
	}
	body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback .hdp-article-shell {
		padding: 48px 36px;
	}
	body.hdp-contract-template-entrada-weddings .hdp-article-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 768px) {
	body.hdp-contract-template-entrada-weddings.hdb-appearance-enabled #page {
		padding-inline: 0;
	}

	.hdp-entry-site-header,
	.hdp-entry-site-footer,
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero,
	body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback .hdp-article-shell {
		width: calc(100% - 16px);
	}
	.hdp-entry-site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-items: stretch;
		gap: 10px;
		padding: 12px 14px;
	}
	.hdp-entry-identity {
		justify-self: start;
	}
	.hdp-entry-nav {
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}
	.hdp-entry-nav ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px 10px;
		overflow: visible;
		width: 100%;
		padding: 0;
	}
	.hdp-entry-nav li {
		min-width: 0;
	}
	.hdp-entry-nav a {
		display: block;
		padding-block: 3px;
		line-height: 1.25;
		overflow-wrap: anywhere;
	}
	.hdp-entry-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		align-items: center;
		gap: 8px;
		width: 100%;
	}
	.hdp-entry-controls form {
		display: grid;
		grid-column: auto;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px;
		width: 100%;
	}
	.hdp-entry-controls input {
		width: 100%;
	}
	.hdp-entry-controls button {
		width: auto;
		padding-inline: 12px;
	}
	.hdp-entry-language {
		max-width: 100%;
		min-width: 0;
		justify-self: start;
	}
	.hdp-entry-account {
		justify-self: end;
	}
	.hdp-entry-language .gt_float_switcher .gt-current-lang {
		box-sizing: border-box;
		min-height: 44px;
		padding: 8px !important;
	}
	.hdp-entry-language .gt-lang-code {
		display: none;
	}
	.hdp-entry-language .gt_float_switcher-arrow {
		margin-left: 0 !important;
	}
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero {
		min-height: 620px;
		align-items: end;
	}
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__overlay {
		background: linear-gradient(0deg, rgba(22, 20, 19, .96) 0%, rgba(22, 20, 19, .72) 58%, rgba(22, 20, 19, .18) 100%);
	}
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__card {
		width: 100%;
		padding: 30px 24px 32px;
	}
	body.hdp-contract-template-entrada-weddings .hdp-entry-hero .hdp-editorial-hero__card h1 {
		font-size: clamp(32px, 9vw, 40px);
		hyphens: none;
		line-height: 1.08;
		overflow-wrap: normal;
		word-break: normal;
	}
	body.hdp-contract-template-entrada-weddings.hdp-article-theme-fallback .hdp-article-shell {
		padding: 36px 22px;
	}
	.hdp-entry-card-track {
		grid-template-columns: minmax(0, 1fr);
	}
	.hdp-entry-card-track--scroll {
		grid-auto-columns: minmax(250px, 82%);
		grid-template-columns: none;
	}
	.hdp-entry-section-heading {
		display: block;
	}
}

@media (max-width: 768px) {
	body.hdp-contract-template-revista-destino .hdp-editorial-hero,
	body.hdp-contract-template-revista-destino .hdp-editorial-hero__image {
		height: auto;
		max-height: none;
		min-height: 0;
	}

	body.hdp-contract-template-revista-destino .entry-content > .wp-block-image.alignwide,
	body.hdp-contract-template-revista-destino .entry-content > .wp-block-gallery.alignwide {
		margin-inline: 0;
		max-width: 100%;
	}

	body.hdp-contract-template-texto-editorial .hdp-editorial-breadcrumbs--outside {
		width: calc(100% - 32px);
	}

	body.hdp-contract-template-texto-editorial .hdp-editorial-hero {
		min-height: 440px;
	}

	body.hdp-contract-template-texto-editorial .hdp-editorial-hero__card {
		margin-bottom: 16px;
	}

	body.hdp-contract-template-texto-editorial .hdp-image-placeholder--inline {
		min-height: 200px;
	}
}
