/* Holding Digital Appearance v1.2.0 */

:root {
	--hdb-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--hdb-radius-sm: 4px;
	--hdb-radius-md: 6px;
	--hdb-space-1: 4px;
	--hdb-space-2: 8px;
	--hdb-space-3: 12px;
	--hdb-space-4: 16px;
	--hdb-space-5: 24px;
	--hdb-space-6: 32px;
	--hdb-space-7: 40px;
	--hdb-space-8: 48px;
	--hdb-space-9: 64px;
	--hdb-space-10: 80px;
	--hdb-content-padding: 48px;
	--hdb-site-gutter: 32px;
	--hdb-section-gap: 48px;
	--hdb-card-gap: 24px;
	--hdb-card-padding: 24px;
}

html {
	scroll-behavior: smooth;
}

body.hdb-appearance-enabled {
	background: var(--hdb-base);
	color: var(--hdb-contrast);
	font-family: var(--hdb-font);
	font-size: 18px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.hdb-appearance-enabled p {
	margin-bottom: 1.35em;
}

body.hdb-appearance-enabled a {
	color: var(--hdb-accent);
	text-decoration-thickness: .08em;
	text-underline-offset: .16em;
}

body.hdb-appearance-enabled .entry-content a,
body.hdb-appearance-enabled .entry-summary a,
body.hdb-appearance-enabled .hdb-site-footer a {
	text-decoration-line: underline;
}

body.hdb-appearance-enabled a:hover,
body.hdb-appearance-enabled a:focus {
	color: var(--hdb-accent-hover);
}

body.hdb-appearance-enabled :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--hdb-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--hdb-base-3);
}

body.hdb-appearance-enabled .site-grid {
	padding-inline: var(--hdb-site-gutter);
}

/* Header and navigation */
body.hdb-appearance-enabled .site-header,
body.hdb-appearance-enabled .main-navigation {
	background: var(--hdb-base-3);
}

body.hdb-appearance-enabled .site-header {
	border-bottom: 1px solid color-mix(in srgb, var(--hdb-contrast-3) 55%, transparent);
}

body.hdb-appearance-enabled .inside-header {
	padding: 28px var(--hdb-site-gutter);
	text-align: center;
}

body.hdb-appearance-enabled .site-branding,
body.hdb-appearance-enabled .site-logo {
	margin-inline: auto;
}

body.hdb-appearance-enabled .main-title {
	font-family: var(--hdb-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}

body.hdb-appearance-enabled .main-title a,
body.hdb-appearance-enabled .site-description {
	color: var(--hdb-contrast);
}

body.hdb-appearance-enabled .site-description {
	color: var(--hdb-contrast-2);
}

body.hdb-appearance-enabled .main-navigation .main-nav > ul > li > a,
body.hdb-appearance-enabled .menu-toggle {
	align-items: center;
	color: var(--hdb-contrast);
	display: flex;
	font-size: 15px;
	font-weight: 500;
	justify-content: center;
	line-height: 1.4;
	min-height: 48px;
	padding-inline: 16px;
	text-decoration: none;
}

body.hdb-appearance-enabled .main-navigation .main-nav > ul > li:hover > a,
body.hdb-appearance-enabled .main-navigation .main-nav > ul > li:focus-within > a,
body.hdb-appearance-enabled .main-navigation .main-nav > ul > li.current-menu-item > a,
body.hdb-appearance-enabled .main-navigation .main-nav > ul > li.current-menu-ancestor > a {
	background: var(--hdb-base-2);
	color: var(--hdb-accent);
}

body.hdb-appearance-enabled .main-navigation ul ul {
	background: var(--hdb-base-3);
	border: 1px solid var(--hdb-contrast-3);
	box-shadow: 0 10px 30px rgba(38, 33, 36, .10);
}

body.hdb-appearance-enabled .main-navigation ul ul li a {
	color: var(--hdb-contrast);
	min-height: 44px;
}

/* Content widths */
body.hdb-appearance-enabled #page {
	padding-inline: var(--hdb-site-gutter);
}

body.hdb-appearance-enabled #primary {
	min-width: 0;
}

body.hdb-layout-article #primary {
	max-width: 920px;
	margin-inline: auto;
}

body.hdb-layout-informational #primary,
body.hdb-layout-page #primary {
	max-width: 1040px;
	margin-inline: auto;
}

body.hdb-layout-pillar #primary {
	max-width: 1120px;
	margin-inline: auto;
}

body.hdb-appearance-enabled .inside-article,
body.hdb-appearance-enabled .page-header,
body.hdb-appearance-enabled .paging-navigation,
body.hdb-appearance-enabled .comments-area {
	background: var(--hdb-base-3);
	padding: var(--hdb-content-padding);
}

body.hdb-appearance-enabled .entry-title,
body.hdb-appearance-enabled .page-title {
	color: var(--hdb-contrast);
	font-family: var(--hdp-serif);
	font-size: 44px;
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: 1.15;
	margin-bottom: 12px;
}

body.hdb-appearance-enabled .entry-content :where(h2, h3, h4, h5, h6) {
	font-family: var(--hdp-serif);
}

body.hdb-appearance-enabled .entry-content h2 {
	color: var(--hdb-contrast);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.25;
	margin-top: 48px;
	margin-bottom: 16px;
}

body.hdb-appearance-enabled .entry-content h3 {
	color: var(--hdb-contrast);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 32px;
	margin-bottom: 12px;
}

body.hdb-appearance-enabled .entry-content h4 {
	font-size: 20px;
	line-height: 1.35;
	margin-top: 24px;
	margin-bottom: 12px;
}

body.hdb-appearance-enabled .entry-content h5 {
	font-size: 18px;
	line-height: 1.4;
	margin-top: 24px;
	margin-bottom: 8px;
}

body.hdb-appearance-enabled .entry-content h6 {
	font-size: 16px;
	line-height: 1.4;
	margin-top: 24px;
	margin-bottom: 8px;
}

body.hdb-appearance-enabled .entry-content > :first-child {
	margin-top: 0;
}

body.hdb-appearance-enabled .entry-content ul,
body.hdb-appearance-enabled .entry-content ol {
	margin-bottom: 1.35em;
	padding-left: 1.4em;
}

body.hdb-appearance-enabled .entry-content li + li {
	margin-top: 8px;
}

body.hdb-appearance-enabled .entry-content img,
body.hdb-appearance-enabled .post-image img,
body.hdb-appearance-enabled .featured-image img {
	height: auto;
	max-width: 100%;
}

body.hdb-layout-article .post-image img,
body.hdb-layout-article .featured-image img {
	aspect-ratio: 16 / 9;
	border-radius: var(--hdb-radius-md);
	object-fit: cover;
	width: 100%;
}

body.hdb-appearance-enabled figcaption {
	color: var(--hdb-contrast-2);
	font-size: 14px;
	line-height: 1.4;
	margin-top: 8px;
}

/* Breadcrumbs and meta */
.hdb-breadcrumbs {
	color: var(--hdb-contrast-2);
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 16px;
	overflow: hidden;
}

.hdb-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdb-breadcrumbs li:not(:last-child)::after {
	color: var(--hdb-contrast-3);
	content: "›";
	margin-left: 6px;
}

.hdb-breadcrumbs a {
	color: var(--hdb-contrast-2);
}

.hdb-entry-meta {
	align-items: center;
	color: var(--hdb-contrast-2);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px 18px;
	line-height: 1.4;
	margin-bottom: 24px;
}

.hdb-entry-meta span + span::before {
	content: "·";
	margin-right: 18px;
}

/* Archive cards */
body.hdb-appearance-enabled:is(.blog, .archive, .search) .site-main {
	display: grid;
	gap: var(--hdb-card-gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) .site-main > :where(.page-header, .paging-navigation, .no-results) {
	grid-column: 1 / -1;
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) article {
	min-width: 0;
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) article .inside-article {
	border: 1px solid var(--hdb-contrast-3);
	border-radius: var(--hdb-radius-md);
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--hdb-card-padding);
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) article .entry-title {
	font-size: 26px;
	line-height: 1.25;
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) article .post-image,
body.hdb-appearance-enabled:is(.blog, .archive, .search) article .featured-image {
	margin: calc(var(--hdb-card-padding) * -1) calc(var(--hdb-card-padding) * -1) 20px;
}

body.hdb-appearance-enabled:is(.blog, .archive, .search) article .post-image img,
body.hdb-appearance-enabled:is(.blog, .archive, .search) article .featured-image img {
	aspect-ratio: 3 / 2;
	border-radius: var(--hdb-radius-md) var(--hdb-radius-md) 0 0;
	object-fit: cover;
	width: 100%;
}

body.hdb-appearance-enabled .nav-links,
body.hdb-appearance-enabled .page-numbers {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.hdb-appearance-enabled .page-numbers {
	align-items: center;
	border: 1px solid var(--hdb-contrast-3);
	border-radius: var(--hdb-radius-sm);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 8px 12px;
	text-decoration: none;
}

body.hdb-appearance-enabled .page-numbers.current {
	background: var(--hdb-accent);
	color: var(--hdb-on-accent);
	font-weight: 700;
}

/* Buttons */
body.hdb-appearance-enabled :where(button, input[type="button"], input[type="reset"], input[type="submit"], .button, .wp-block-button__link) {
	align-items: center;
	background: var(--hdb-accent);
	border: 1px solid var(--hdb-accent);
	border-radius: var(--hdb-radius-md);
	color: var(--hdb-on-accent);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--hdb-font);
	font-size: 16px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 12px 24px;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.hdb-appearance-enabled :where(button, input[type="button"], input[type="reset"], input[type="submit"], .button, .wp-block-button__link):hover {
	background: var(--hdb-accent-hover);
	border-color: var(--hdb-accent-hover);
	color: var(--hdb-on-accent);
}

body.hdb-appearance-enabled .is-style-outline > .wp-block-button__link,
body.hdb-appearance-enabled .hdb-button-secondary {
	background: transparent;
	border: 2px solid var(--hdb-accent);
	color: var(--hdb-accent);
}

body.hdb-appearance-enabled .is-style-outline > .wp-block-button__link:hover,
body.hdb-appearance-enabled .hdb-button-secondary:hover {
	background: var(--hdb-base-2);
	color: var(--hdb-accent-hover);
}

body.hdb-appearance-enabled :where(button, input, select, textarea):disabled,
body.hdb-appearance-enabled .is-disabled {
	cursor: not-allowed;
	opacity: .55;
}

/* Forms */
body.hdb-appearance-enabled :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="date"], input[type="time"], select, textarea) {
	background: var(--hdb-base-3);
	border: 1px solid var(--hdb-contrast-3);
	border-radius: var(--hdb-radius-sm);
	color: var(--hdb-contrast);
	font-family: var(--hdb-font);
	font-size: 17px;
	line-height: 1.4;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

body.hdb-appearance-enabled textarea {
	min-height: 140px;
	resize: vertical;
}

body.hdb-appearance-enabled :where(input, select, textarea):focus {
	border-color: var(--hdb-focus);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--hdb-focus) 24%, transparent);
}

body.hdb-appearance-enabled label {
	color: var(--hdb-contrast);
	font-weight: 600;
}

body.hdb-appearance-enabled .hdb-form-error,
body.hdb-appearance-enabled .has-error {
	color: var(--hdb-error);
}

/* Tables */
body.hdb-appearance-enabled .wp-block-table {
	margin-block: 24px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.hdb-appearance-enabled .wp-block-table table,
body.hdb-appearance-enabled .entry-content table {
	border-collapse: collapse;
	font-size: 16px;
	min-width: 620px;
	width: 100%;
}

body.hdb-appearance-enabled :where(.wp-block-table, .entry-content) th {
	background: var(--hdb-base-2);
	color: var(--hdb-contrast);
	font-weight: 700;
	text-align: left;
}

body.hdb-appearance-enabled :where(.wp-block-table, .entry-content) th,
body.hdb-appearance-enabled :where(.wp-block-table, .entry-content) td {
	border: 1px solid var(--hdb-contrast-3);
	padding: 12px 16px;
	vertical-align: top;
}

body.hdb-appearance-enabled :where(.wp-block-table, .entry-content) tbody tr:nth-child(even) {
	background: color-mix(in srgb, var(--hdb-base) 55%, var(--hdb-base-3));
}

/* Callouts */
body.hdb-appearance-enabled .hdb-editorial-callout,
body.hdb-appearance-enabled .is-style-hdb-callout-info,
body.hdb-appearance-enabled .is-style-hdb-callout-advice,
body.hdb-appearance-enabled .is-style-hdb-callout-warning,
body.hdb-appearance-enabled .is-style-hdb-callout-legal {
	background: var(--hdb-base-2);
	border-left: 4px solid var(--hdb-accent);
	border-radius: var(--hdb-radius-md);
	margin-block: 32px;
	padding: 20px 24px;
}

body.hdb-appearance-enabled .hdb-editorial-callout h3,
body.hdb-appearance-enabled [class*="is-style-hdb-callout-"] h3 {
	font-size: 20px;
	margin: 0 0 8px;
}

body.hdb-appearance-enabled .hdb-callout--info,
body.hdb-appearance-enabled .is-style-hdb-callout-info {
	border-left-color: var(--hdb-accent);
}

body.hdb-appearance-enabled .hdb-callout--advice,
body.hdb-appearance-enabled .is-style-hdb-callout-advice {
	border-left-color: var(--hdb-success);
}

body.hdb-appearance-enabled .hdb-callout--warning,
body.hdb-appearance-enabled .is-style-hdb-callout-warning {
	border-left-color: var(--hdb-warning);
}

body.hdb-appearance-enabled .hdb-callout--legal,
body.hdb-appearance-enabled .is-style-hdb-callout-legal {
	border-left-color: var(--hdb-error);
}

/* FAQ */
body.hdb-appearance-enabled .wp-block-details,
body.hdb-appearance-enabled .hdb-faq-item {
	border-bottom: 1px solid var(--hdb-contrast-3);
	margin: 0;
}

body.hdb-appearance-enabled .wp-block-details summary,
body.hdb-appearance-enabled .hdb-faq-item summary {
	align-items: center;
	color: var(--hdb-contrast);
	cursor: pointer;
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	min-height: 48px;
	padding: 14px 4px;
}

body.hdb-appearance-enabled .wp-block-details summary::after,
body.hdb-appearance-enabled .hdb-faq-item summary::after {
	content: "+";
	font-size: 22px;
	margin-left: 16px;
}

body.hdb-appearance-enabled .wp-block-details[open] summary::after,
body.hdb-appearance-enabled .hdb-faq-item[open] summary::after {
	content: "−";
}

body.hdb-appearance-enabled .wp-block-details > :not(summary),
body.hdb-appearance-enabled .hdb-faq-item > :not(summary) {
	padding-inline: 4px;
}

/* Footer */
.hdb-site-footer {
	background: var(--hdb-contrast);
	color: var(--hdb-base-3);
	margin-top: 48px;
}

.hdb-site-footer__inner {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.2fr 1fr 1fr;
	margin-inline: auto;
	max-width: 1200px;
	padding: 48px var(--hdb-site-gutter);
}

.hdb-site-footer h2 {
	color: var(--hdb-base-3);
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 16px;
}

.hdb-site-footer p,
.hdb-site-footer li {
	font-size: 16px;
	line-height: 1.55;
}

.hdb-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdb-site-footer li + li,
.hdb-site-footer__column p + p {
	margin-top: 10px;
}

.hdb-site-footer a {
	color: var(--hdb-base-2);
}

.hdb-site-footer a:hover,
.hdb-site-footer a:focus {
	color: var(--hdb-base-3);
}

body.hdb-appearance-enabled .site-info {
	background: color-mix(in srgb, var(--hdb-contrast) 86%, #000);
	color: var(--hdb-base-3);
	font-size: 14px;
	padding: 16px var(--hdb-site-gutter);
}

body.hdb-appearance-enabled .site-info a {
	color: var(--hdb-base-2);
}

/* Complianz visual integration only */
body.hdb-appearance-enabled .cmplz-cookiebanner {
	background: var(--hdb-base-3) !important;
	border: 1px solid var(--hdb-contrast-3) !important;
	border-radius: var(--hdb-radius-md) !important;
	color: var(--hdb-contrast) !important;
	font-family: var(--hdb-font) !important;
}

body.hdb-appearance-enabled .cmplz-cookiebanner .cmplz-btn {
	border-radius: var(--hdb-radius-md) !important;
	min-height: 44px !important;
}

/* Home cleanup until the dedicated home design exists */
body.hdb-appearance-enabled.home .entry-header,
body.hdb-appearance-enabled.home .widget-area {
	display: none;
}

@media (max-width: 1024px) {
	:root {
		--hdb-content-padding: 32px;
		--hdb-site-gutter: 24px;
		--hdb-section-gap: 40px;
		--hdb-card-gap: 20px;
		--hdb-card-padding: 20px;
	}

	body.hdb-appearance-enabled {
		font-size: 17px;
		line-height: 1.65;
	}

	body.hdb-appearance-enabled p {
		margin-bottom: 1.3em;
	}

	body.hdb-appearance-enabled .inside-header {
		padding-block: 22px;
	}

	body.hdb-appearance-enabled .main-title {
		font-size: 25px;
	}

	body.hdb-appearance-enabled .main-navigation .main-nav > ul > li > a,
	body.hdb-appearance-enabled .menu-toggle {
		font-size: 16px;
	}

	body.hdb-appearance-enabled .entry-title,
	body.hdb-appearance-enabled .page-title {
		font-size: 38px;
	}

	body.hdb-appearance-enabled .entry-content h2 {
		font-size: 28px;
		margin-top: 40px;
	}

	body.hdb-appearance-enabled .entry-content h3 {
		font-size: 22px;
		margin-top: 28px;
	}

	body.hdb-appearance-enabled .entry-content h4 { font-size: 19px; }
	body.hdb-appearance-enabled .entry-content h5 { font-size: 17px; }
	body.hdb-appearance-enabled .entry-content h6 { font-size: 16px; }

	body.hdb-appearance-enabled:is(.blog, .archive, .search) .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.hdb-appearance-enabled:is(.blog, .archive, .search) article .entry-title {
		font-size: 24px;
	}

	.hdb-site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-block: 36px;
	}
}

@media (max-width: 767px) {
	:root {
		--hdb-content-padding: 20px;
		--hdb-site-gutter: 18px;
		--hdb-section-gap: 32px;
		--hdb-card-gap: 16px;
		--hdb-card-padding: 18px;
	}

	body.hdb-appearance-enabled {
		font-size: 17px;
		line-height: 1.65;
	}

	body.hdb-appearance-enabled p {
		margin-bottom: 1.25em;
	}

	body.hdb-appearance-enabled .inside-header {
		padding-block: 18px;
	}

	body.hdb-appearance-enabled .main-title {
		font-size: 22px;
	}

	body.hdb-appearance-enabled .entry-title,
	body.hdb-appearance-enabled .page-title {
		font-size: 32px;
		line-height: 1.18;
	}

	body.hdb-appearance-enabled .entry-content h2 {
		font-size: 25px;
		line-height: 1.28;
		margin-top: 36px;
		margin-bottom: 12px;
	}

	body.hdb-appearance-enabled .entry-content h3 {
		font-size: 21px;
		line-height: 1.35;
		margin-top: 24px;
		margin-bottom: 8px;
	}

	body.hdb-appearance-enabled .entry-content h4 { font-size: 18px; }
	body.hdb-appearance-enabled .entry-content h5 { font-size: 17px; }
	body.hdb-appearance-enabled .entry-content h6 { font-size: 16px; }

	.hdb-entry-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.hdb-entry-meta span + span::before {
		content: none;
	}

	body.hdb-appearance-enabled:is(.blog, .archive, .search) .site-main {
		grid-template-columns: 1fr;
	}

	body.hdb-appearance-enabled:is(.blog, .archive, .search) article .entry-title {
		font-size: 22px;
		line-height: 1.3;
	}

	body.hdb-appearance-enabled :where(button, input[type="button"], input[type="reset"], input[type="submit"], .button, .wp-block-button__link) {
		width: 100%;
	}

	.hdb-site-footer__inner {
		grid-template-columns: 1fr;
		padding-block: 32px;
	}

	.hdb-breadcrumbs {
		max-height: 2.9em;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* ========================================================================
   Holding Digital Presentación v1.0.2
   Plantilla de entrada: Diseño A — Editorial romántico
   ======================================================================== */

.hdp-presentation-enabled {
	--hdp-serif: Georgia, "Times New Roman", serif;
	--hdp-shadow-soft: 0 18px 50px rgba(38, 33, 36, 0.10);
	--hdp-shadow-card: 0 10px 34px rgba(38, 33, 36, 0.06);
}

.hdp-template-editorial-a .site-content {
	max-width: 1120px;
	margin-top: 118px;
	padding-left: 32px;
	padding-right: 32px;
}

body.hdp-template-editorial-a #primary,
body.hdp-template-editorial-a .site-main,
body.hdp-template-editorial-a .inside-article {
	width: 100%;
	max-width: none;
}

body.hdp-template-editorial-a #primary {
	margin-inline: 0;
}

.hdp-template-editorial-a .inside-article {
	padding: 0;
	background: transparent;
}

.hdp-template-editorial-a .entry-header,
.hdp-template-editorial-a .post-image,
.hdp-template-editorial-a .featured-image,
.hdp-template-editorial-a .entry-meta,
.hdp-template-editorial-a .entry-title {
	display: none !important;
}

.hdp-editorial-hero {
	position: relative;
	min-height: 560px;
	display: grid;
	place-items: end center;
	overflow: visible;
	background: var(--hdb-contrast-3);
}

.hdp-editorial-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
	filter: saturate(0.86) contrast(0.97);
}

.hdp-editorial-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(38, 33, 36, 0.04), rgba(38, 33, 36, 0.66));
}

.hdp-editorial-hero__card {
	position: relative;
	z-index: 2;
	width: min(920px, calc(100% - 36px));
	margin-bottom: -72px;
	padding: 50px 58px 42px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--hdp-shadow-soft);
	border-radius: 3px;
}

.hdp-editorial-breadcrumbs {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--hdb-contrast-2);
}

.hdp-editorial-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdp-editorial-breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: var(--hdb-contrast-3);
}

.hdp-editorial-breadcrumbs a {
	color: var(--hdb-accent);
	text-underline-offset: 3px;
}

.hdp-editorial-hero__card h1 {
	max-width: 820px;
	margin: 0 0 18px;
	font-family: var(--hdp-serif);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--hdb-contrast);
}

.hdp-editorial-hero__dek {
	max-width: 760px;
	margin: 0 0 22px;
	font-size: 20px;
	line-height: 1.55;
	color: var(--hdb-contrast-2);
}

.hdp-editorial-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	padding-top: 18px;
	border-top: 1px solid var(--hdb-base-2);
	font-size: 14px;
	line-height: 1.4;
	color: var(--hdb-contrast-2);
}

.hdp-editorial-meta span:not(:last-child)::after {
	content: "·";
	margin-left: 20px;
	color: var(--hdb-contrast-3);
}

.hdp-template-editorial-a .entry-content {
	margin-top: 0;
}

.hdp-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 240px;
	gap: 64px;
	align-items: start;
}

.hdp-article-main {
	min-width: 0;
	padding: 50px 58px;
	background: var(--hdb-base-3);
	box-shadow: var(--hdp-shadow-card);
}

.hdp-article-main > p:first-of-type::first-letter {
	float: left;
	padding: 7px 10px 0 0;
	font-family: var(--hdp-serif);
	font-size: 70px;
	font-weight: 700;
	line-height: 0.78;
	color: var(--hdb-accent);
}

.hdp-article-main h2 {
	margin-top: 2.05em;
	font-family: var(--hdp-serif);
	font-size: 32px;
	line-height: 1.2;
	letter-spacing: -0.018em;
	scroll-margin-top: 36px;
}

.hdp-article-main h3 {
	margin-top: 1.8em;
	scroll-margin-top: 36px;
}

.hdp-article-main blockquote,
.hdp-article-main .wp-block-quote.is-style-hdp-pullquote {
	margin: 38px -86px 38px 40px;
	padding: 34px 42px;
	border: 0;
	border-left: 4px solid var(--hdb-accent);
	background: var(--hdb-base-2);
	font-family: var(--hdp-serif);
	font-size: 27px;
	font-style: normal;
	line-height: 1.35;
	color: var(--hdb-contrast);
}

.hdp-article-main blockquote p:last-child {
	margin-bottom: 0;
}

.hdp-article-main figure,
.hdp-article-main .wp-block-image {
	margin-top: 40px;
	margin-bottom: 40px;
}

.hdp-article-main figure img,
.hdp-article-main .wp-block-image img {
	width: 100%;
	max-height: 540px;
	object-fit: cover;
}

.hdp-article-main figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--hdb-contrast-2);
}

.hdp-editorial-image {
	overflow: hidden;
	border-radius: 4px;
	background: var(--hdb-base-2);
	box-shadow: 0 12px 32px rgba(38, 33, 36, 0.08);
}

.hdp-editorial-image img {
	display: block;
	aspect-ratio: 3 / 2;
}

.hdp-editorial-image figcaption {
	margin: 0;
	padding: 12px 16px 14px;
	background: var(--hdb-base-3);
	line-height: 1.55;
}

.hdp-ad-slot {
	position: relative;
	box-sizing: border-box;
	width: calc(100% - 36px);
	margin: 46px auto;
	color: var(--hdb-contrast-2);
}

.hdp-ad-slot[data-ad-state="empty"] {
	display: none;
}

.hdp-visual-preview .hdp-ad-slot[data-ad-state="empty"] {
	display: grid;
	align-content: center;
	border: 1px dashed color-mix(in srgb, var(--hdb-contrast-3) 78%, transparent);
	border-radius: 4px;
	background:
		linear-gradient(135deg, rgba(138, 61, 93, 0.035) 25%, transparent 25%) 0 0 / 18px 18px,
		var(--hdb-base-3);
}

.hdp-ad-slot__label {
	position: absolute;
	top: -23px;
	left: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hdb-contrast-2);
}

.hdp-ad-slot__placeholder {
	display: grid;
	place-items: center;
	gap: 7px;
	padding: 24px 18px;
	text-align: center;
}

.hdp-ad-slot__placeholder > span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 30px;
	border: 1px solid var(--hdb-contrast-3);
	border-radius: 3px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.hdp-ad-slot__placeholder strong {
	font-size: 14px;
	line-height: 1.4;
	color: var(--hdb-contrast);
}

.hdp-ad-slot__placeholder small {
	font-size: 11px;
	color: var(--hdb-contrast-2);
}

.hdp-ad-slot__content,
.hdp-ad-slot__content > * {
	max-width: 100%;
}

.hdp-ad-slot--responsive-leaderboard {
	max-width: 970px;
	min-height: 110px;
	margin-top: 106px;
	margin-bottom: 34px;
}

.hdp-ad-slot--responsive-rectangle {
	max-width: 336px;
	min-height: 280px;
}

.hdp-ad-slot--responsive-feature {
	max-width: 100%;
	min-height: 250px;
}

.hdp-article-main .wp-block-group.is-style-hdb-callout-info,
.hdp-article-main .wp-block-group.is-style-hdb-callout-advice,
.hdp-article-main .wp-block-group.is-style-hdb-callout-warning,
.hdp-article-main .wp-block-group.is-style-hdb-callout-legal {
	margin-top: 34px;
	margin-bottom: 34px;
	padding: 26px 30px;
	border-radius: 3px;
}

.hdp-article-toc {
	position: sticky;
	top: 32px;
	padding: 28px 24px;
	border-top: 4px solid var(--hdb-accent);
	background: var(--hdb-base-3);
	box-shadow: 0 10px 30px rgba(38, 33, 36, 0.05);
}

.admin-bar .hdp-article-toc {
	top: 64px;
}

.hdp-article-toc h2 {
	margin: 0 0 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hdp-article-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdp-article-toc li {
	margin: 0;
	border-bottom: 1px solid var(--hdb-base-2);
}

.hdp-article-toc li.is-subheading a {
	padding-left: 14px;
	font-size: 13px;
}

.hdp-article-toc a {
	display: block;
	padding: 9px 0;
	color: var(--hdb-contrast-2);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

.hdp-article-toc a:hover,
.hdp-article-toc a:focus-visible {
	color: var(--hdb-accent);
}

@media (max-width: 1024px) {
	.hdp-editorial-hero {
		min-height: 500px;
	}

	.hdp-editorial-hero__card {
		padding: 40px 38px 36px;
	}

	.hdp-editorial-hero__card h1 {
		font-size: 38px;
	}

	.hdp-template-editorial-a .site-content {
		margin-top: 108px;
		padding-left: 24px;
		padding-right: 24px;
	}

	.hdp-article-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.hdp-article-toc {
		position: static;
		order: -1;
	}

	.hdp-article-toc ol {
		columns: 2;
		column-gap: 30px;
	}

	.hdp-article-main {
		padding: 42px 38px;
	}

	.hdp-article-main blockquote,
	.hdp-article-main .wp-block-quote.is-style-hdp-pullquote {
		margin: 34px 0;
	}
}

@media (min-width: 769px) {
	body.hdb-appearance-enabled .menu-toggle {
		display: none;
	}
}

@media (max-width: 768px) {
	.hdp-editorial-hero {
		min-height: 440px;
	}

	.hdp-editorial-hero__card {
		width: calc(100% - 28px);
		margin-bottom: -54px;
		padding: 30px 24px 28px;
	}

	.hdp-editorial-hero__card h1 {
		font-size: 32px;
		line-height: 1.18;
	}

	.hdp-editorial-hero__dek {
		font-size: 17px;
	}

	.hdp-editorial-meta {
		display: grid;
		gap: 6px;
	}

	.hdp-editorial-meta span::after {
		display: none;
	}

	.hdp-template-editorial-a .site-content {
		margin-top: 84px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.hdp-article-main {
		padding: 32px 22px;
	}

	.hdp-article-main h2 {
		font-size: 25px;
	}

	.hdp-article-main > p:first-of-type::first-letter {
		font-size: 58px;
	}

	.hdp-article-toc ol {
		columns: 1;
	}

	.hdp-ad-slot {
		width: 100%;
		margin-top: 42px;
		margin-bottom: 42px;
	}

	.hdp-ad-slot--responsive-leaderboard {
		width: calc(100% - 36px);
		min-height: 100px;
		margin-top: 90px;
		margin-bottom: 30px;
	}

	.hdp-ad-slot--responsive-rectangle,
	.hdp-ad-slot--responsive-feature {
		min-height: 250px;
	}

	.hdp-ad-slot__placeholder {
		padding: 20px 14px;
	}
}

@media (max-width: 480px) {
	.hdp-editorial-hero {
		min-height: 400px;
	}

	.hdp-editorial-hero__card h1 {
		font-size: 32px;
	}

	.hdp-editorial-breadcrumbs li:last-child {
		display: none;
	}
}
