/*
 * HD Astra Single Post Layout
 * Change only the variables below to retune the whole design.
 */
.hdsp-single-layout {
	--hdsp-accent: #f97316;
	--hdsp-accent-soft: #fff5ed;
	--hdsp-ink: #172033;
	--hdsp-muted: #667085;
	--hdsp-line: #e8ebf0;
	--hdsp-surface: #ffffff;
	--hdsp-soft: #f8fafc;
	--hdsp-hero: #fbfcfe;
	--hdsp-radius: 16px;
	--hdsp-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
}

/* Astra normally constrains #content inside .ast-container.
   The custom Single template owns its width instead. */
.hdsp-single-layout .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.hdsp-page {
	width: 100%;
	color: var(--hdsp-ink);
}


/* Astra layout reset for this custom single-post template */
@media (min-width: 993px) {
	.hdsp-single-layout.ast-separate-container #primary,
	.hdsp-single-layout.ast-separate-container.ast-left-sidebar #primary,
	.hdsp-single-layout.ast-separate-container.ast-right-sidebar #primary {
		margin: 0;
		padding: 0;
	}
}


/* Keep the entire Single Post page white, regardless of Astra container mode. */
.hdsp-single-layout,
.hdsp-single-layout #page,
.hdsp-single-layout .site-content,
.hdsp-single-layout .site-content > .ast-container,
.hdsp-single-layout .hdsp-page,
.hdsp-single-layout .hdsp-layout,
.hdsp-single-layout .hdsp-main,
.hdsp-single-layout .hdsp-article {
	background: #ffffff;
}

/* ==========================================================
   H1 / ARTICLE BANNER
   Fluent Support-inspired split hero:
   featured image left, title/meta right.
   ========================================================== */
.hdsp-hero {
	background: #ffffff;
	border: 0;
	padding: 34px 0 0;
}

.hdsp-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: clamp(42px, 5vw, 78px);
	align-items: center;
	width: min(1380px, calc(100% - 64px));
	margin: 0 auto;
	padding: 28px 34px 40px;
	background: #fff9f3;
	border: 1px solid #eee4d9;
	border-radius: 24px;
}

.hdsp-hero-media {
	min-width: 0;
}

.hdsp-hero-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 18 / 10.4;
	margin: 0;
	border-radius: 22px;
	background: #eef2f6;
	box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.hdsp-hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hdsp-hero-image-placeholder {
	background:
		linear-gradient(135deg, rgba(249,115,22,.08), rgba(249,115,22,.015)),
		#f2f4f7;
}

.hdsp-hero-copy {
	min-width: 0;
	padding: 8px 0;
}


.hdsp-title {
	max-width: 720px;
	margin: 0;
	color: var(--hdsp-ink);
	font-size: clamp(42px, 4.35vw, 64px);
	font-weight: 780;
	line-height: 1.07;
	letter-spacing: -0.043em;
	text-wrap: balance;
}

.hdsp-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 16px;
	color: #7a7f87;
	font-size: 13px;
	line-height: 1.4;
}

.hdsp-breadcrumbs a {
	color: #555b64;
	text-decoration: none;
}

.hdsp-breadcrumbs a:last-of-type {
	color: var(--hdsp-accent);
	font-weight: 750;
}

.hdsp-breadcrumbs a:last-of-type:hover {
	color: #c65308;
}

.hdsp-breadcrumbs a:hover {
	color: var(--hdsp-accent);
}

.hdsp-breadcrumb-home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.hdsp-home-icon {
	display: block;
	width: 15px;
	height: 15px;
	fill: #111111;
}

.hdsp-breadcrumb-sep {
	color: #a4a8ae;
}


.hdsp-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 28px;
	margin-top: 31px;
	color: var(--hdsp-muted);
	font-size: 14px;
}

.hdsp-author {
	display: flex;
	align-items: center;
	gap: 11px;
}

.hdsp-avatar img {
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
}

.hdsp-author-text {
	display: flex;
	gap: 4px;
	align-items: baseline;
}

.hdsp-by {
	color: var(--hdsp-muted);
}

.hdsp-author a {
	color: var(--hdsp-ink);
	font-weight: 700;
	text-decoration: none;
}

.hdsp-author a:hover {
	color: var(--hdsp-accent);
}

.hdsp-dates {
	display: grid;
	gap: 5px;
}

.hdsp-date-row {
	display: flex;
	gap: 5px;
	align-items: baseline;
}

.hdsp-date-label {
	color: var(--hdsp-muted);
	font-size: inherit;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.hdsp-date-row time {
	color: var(--hdsp-ink);
	font-weight: 500;
}


/* ==========================================================
   THREE-COLUMN ARTICLE LAYOUT
   ========================================================== */
.hdsp-layout {
	display: grid;
	gap: 44px;
	align-items: start;
	width: min(1340px, calc(100% - 96px));
	margin: 0 auto;
	padding: 54px 0 88px;
}

/* Entrambe le sidebar */
.hdsp-layout.has-left-sidebar.has-right-sidebar {
	grid-template-columns: 230px minmax(0, 820px) 270px;
}

/* Solo sidebar sinistra: il contenuto assorbe lo spazio destro */
.hdsp-layout.has-left-sidebar.no-right-sidebar {
	grid-template-columns: 230px minmax(0, 1fr);
}

/* Solo sidebar destra: il contenuto assorbe lo spazio sinistro */
.hdsp-layout.no-left-sidebar.has-right-sidebar {
	grid-template-columns: minmax(0, 1fr) 270px;
}

/* Nessuna sidebar: articolo a tutta la larghezza disponibile */
.hdsp-layout.no-left-sidebar.no-right-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.hdsp-sidebar {
	min-width: 0;
}

.hdsp-sticky {
	position: static;
}

/* Sticky sidebars on desktop */
@media (min-width: 1025px) {
	.hdsp-single-layout .hdsp-layout,
	.hdsp-single-layout .hdsp-page,
	.hdsp-single-layout .site-content,
	.hdsp-single-layout .site-content > .ast-container {
		overflow: visible;
	}

	.hdsp-single-layout .hdsp-sidebar {
		position: sticky;
		top: 96px;
		align-self: start;
		height: max-content;
		max-height: calc(100vh - 116px);
		overflow-y: auto;
		scrollbar-width: thin;
		scroll-behavior: smooth;
		scroll-padding-block: 18px;
	}

	.hdsp-single-layout .hdsp-sidebar-left,
	.hdsp-single-layout .hdsp-sidebar-right {
		z-index: 2;
	}
}

.hdsp-main {
	min-width: 0;
}

.hdsp-layout.has-left-sidebar.has-right-sidebar .hdsp-sidebar-left {
	grid-column: 1;
}

.hdsp-layout.has-left-sidebar.has-right-sidebar .hdsp-main {
	grid-column: 2;
}

.hdsp-layout.has-left-sidebar.has-right-sidebar .hdsp-sidebar-right {
	grid-column: 3;
}

.hdsp-layout.has-left-sidebar.no-right-sidebar .hdsp-sidebar-left {
	grid-column: 1;
}

.hdsp-layout.has-left-sidebar.no-right-sidebar .hdsp-main {
	grid-column: 2;
}

.hdsp-layout.no-left-sidebar.has-right-sidebar .hdsp-main {
	grid-column: 1;
}

.hdsp-layout.no-left-sidebar.has-right-sidebar .hdsp-sidebar-right {
	grid-column: 2;
}

.hdsp-layout.no-left-sidebar.no-right-sidebar .hdsp-main {
	grid-column: 1;
}

/* ==========================================================
   SIDEBARS / WORDPRESS WIDGETS
   ========================================================== */
.hdsp-widget {
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid var(--hdsp-line);
	border-radius: var(--hdsp-radius);
	background: var(--hdsp-surface);
	box-shadow: 0 5px 18px rgba(16, 24, 40, 0.035);
}

.hdsp-widget-title,
.hdsp-widget .widget-title {
	margin: 0 0 15px;
	color: var(--hdsp-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.hdsp-widget ul,
.hdsp-widget ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hdsp-widget li + li {
	margin-top: 9px;
}

.hdsp-widget a {
	color: #344054;
	text-decoration: none;
	font-size: 14px;
}

.hdsp-widget a:hover {
	color: var(--hdsp-accent);
}

.hdsp-widget input[type="search"],
.hdsp-widget input[type="text"],
.hdsp-widget input[type="email"] {
	width: 100%;
	min-height: 44px;
	border: 1px solid #d9dee7;
	border-radius: 10px;
	background: #fff;
}

.hdsp-widget button,
.hdsp-widget input[type="submit"] {
	border-radius: 10px;
}

.hdsp-empty-sidebar {
	padding: 18px;
	border: 1px dashed #cfd5df;
	border-radius: 14px;
	background: #fbfcfd;
	color: var(--hdsp-muted);
	font-size: 13px;
	line-height: 1.55;
}

.hdsp-empty-sidebar strong {
	display: block;
	margin-bottom: 4px;
	color: var(--hdsp-ink);
}

.hdsp-empty-sidebar p {
	margin: 0;
}

/* ==========================================================
   INDICE DEI CONTENUTI - server-side e gerarchico
   ========================================================== */
.hdsp-toc {
	font-size: 13.5px;
	line-height: 1.45;
}

.hdsp-toc-heading {
	margin-bottom: 14px;
	color: var(--hdsp-ink);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .075em;
	text-transform: uppercase;
}

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

.hdsp-toc-level-3 {
	margin-top: 4px !important;
	margin-left: 7px !important;
	padding-left: 12px !important;
	border-left: 1px solid #e4e7ec;
}

.hdsp-toc-item {
	margin: 0 !important;
}

.hdsp-toc-list a {
	position: relative;
	display: block;
	margin: 1px 0;
	padding: 7px 9px;
	border-left: 3px solid transparent;
	border-radius: 0 8px 8px 0;
	color: #667085;
	font-size: 14px;
	font-weight: 560;
	line-height: 1.4;
	text-decoration: none;
	transition: color .16s ease, background .16s ease, border-color .16s ease, font-weight .16s ease;
}

.hdsp-toc-item-3 > a {
	font-size: 13px;
	color: #7a8493;
}

.hdsp-toc-list a:hover {
	color: var(--hdsp-accent);
	background: var(--hdsp-accent-soft);
}

.hdsp-toc-list a.is-active {
	color: var(--hdsp-accent);
	background: var(--hdsp-accent-soft);
	border-left-color: var(--hdsp-accent);
	font-weight: 850;
}

/* Common TOC plugin compatibility */
.hdsp-sidebar-left .ez-toc-container,
.hdsp-sidebar-left .lwptoc,
.hdsp-sidebar-left .rank-math-toc-block {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}


.hdsp-single-layout .hdsp-main .ast-article-single,
.hdsp-single-layout .hdsp-main .entry-content,
.hdsp-single-layout .hdsp-main .hdsp-entry-content {
	padding: 0 !important;
}

/* ==========================================================
   ARTICLE
   ========================================================== */
.hdsp-article {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
}


.hdsp-entry-content {
	margin: 0 !important;
	padding: 0 !important;
	color: #344054;
	font-size: 18px;
	line-height: 1.82;
	overflow-wrap: anywhere;
}

.hdsp-entry-content > :first-child {
	margin-top: 0;
}

.hdsp-entry-content p {
	margin-bottom: 1.45em;
}

.hdsp-entry-content h2,
.hdsp-entry-content h3,
.hdsp-entry-content h4 {
	color: var(--hdsp-ink);
	font-weight: 760;
	letter-spacing: -0.025em;
	scroll-margin-top: 125px;
}

.hdsp-entry-content h2 {
	margin-top: 2.15em;
	margin-bottom: .65em;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.2;
}

.hdsp-entry-content h3 {
	margin-top: 1.85em;
	margin-bottom: .55em;
	font-size: clamp(23px, 2.4vw, 29px);
	line-height: 1.25;
}

.hdsp-entry-content h4 {
	margin-top: 1.65em;
	font-size: 21px;
}

.hdsp-entry-content a {
	text-underline-offset: 3px;
}

.hdsp-entry-content img {
	border-radius: 12px;
}

.hdsp-entry-content blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	border-left: 4px solid var(--hdsp-accent);
	border-radius: 0 12px 12px 0;
	background: var(--hdsp-soft);
	color: #475467;
}

.hdsp-entry-content pre {
	overflow: auto;
	padding: 20px;
	border-radius: 14px;
}

.hdsp-entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.hdsp-entry-content ul,
.hdsp-entry-content ol {
	padding-left: 1.25em;
}

.hdsp-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 46px;
	padding-top: 22px;
	border-top: 1px solid var(--hdsp-line);
}

.hdsp-tags-label {
	margin-right: 3px;
	color: var(--hdsp-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hdsp-tags a {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border: 1px solid #e7e9ee;
	border-radius: 999px;
	background: #f8f9fb;
	color: #667085;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.hdsp-tags a:hover {
	border-color: rgba(249, 115, 22, .28);
	background: var(--hdsp-accent-soft);
	color: var(--hdsp-accent);
}


/* ==========================================================
   PROGRESS BAR
   ========================================================== */
.hdsp-reading-progress {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	pointer-events: none;
	background: transparent;
}

.admin-bar .hdsp-reading-progress {
	top: 32px;
}

.hdsp-reading-progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	background: var(--hdsp-accent);
	will-change: transform;
}

/* ==========================================================
   BOX AUTORE
   ========================================================== */
.hdsp-author-box {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	margin-top: 42px;
	padding: 24px;
	border: 1px solid var(--hdsp-line);
	border-radius: 18px;
	background: #fff;
}

.hdsp-author-box-avatar img {
	display: block;
	width: 84px;
	height: 84px;
	border-radius: 50%;
}

.hdsp-author-box-kicker,
.hdsp-section-kicker {
	margin-bottom: 3px;
	color: var(--hdsp-accent);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hdsp-author-box-name {
	margin: 0 0 7px;
	color: var(--hdsp-ink);
	font-size: 21px !important;
	line-height: 1.2;
}

.hdsp-author-box-content p {
	margin: 0 0 9px;
	color: #667085;
	font-size: 14px;
	line-height: 1.6;
}

.hdsp-author-box-link {
	color: var(--hdsp-accent);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

/* ==========================================================
   FEEDBACK E VALUTAZIONE
   ========================================================== */
.hdsp-feedback {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 24px;
}

.hdsp-helpful,
.hdsp-rating {
	padding: 22px;
	border: 1px solid var(--hdsp-line);
	border-radius: 16px;
	background: #fffaf5;
}

.hdsp-feedback h2 {
	margin: 0 0 13px;
	color: var(--hdsp-ink);
	font-size: 16px;
	line-height: 1.3;
}

.hdsp-helpful-actions {
	display: flex;
	gap: 8px;
}

.hdsp-helpful-actions button {
	padding: 8px 13px;
	border: 1px solid #e1e5ea;
	border-radius: 9px;
	background: #fff;
	color: #344054;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.hdsp-helpful-actions button:hover,
.hdsp-helpful-actions button.is-selected {
	border-color: rgba(249, 115, 22, .35);
	background: var(--hdsp-accent-soft);
	color: var(--hdsp-accent);
}

.hdsp-rating-stars {
	display: flex;
	gap: 2px;
}

.hdsp-rating-stars button {
	padding: 0 2px;
	border: 0;
	background: transparent;
	color: #cfd4dc;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.hdsp-rating-stars button:hover,
.hdsp-rating-stars button.is-lit {
	color: var(--hdsp-accent);
}

.hdsp-rating-summary {
	margin-top: 8px;
	color: #667085;
	font-size: 12.5px;
}

.hdsp-feedback-message {
	min-height: 18px;
	margin-top: 8px;
	color: #667085;
	font-size: 12px;
}

.hdsp-helpful-actions.is-loading,
.hdsp-rating-stars.is-loading {
	opacity: .6;
	pointer-events: none;
}

/* ==========================================================
   ARTICOLI CORRELATI
   ========================================================== */
.hdsp-related {
	margin-top: 54px;
	padding-top: 34px;
	border-top: 1px solid var(--hdsp-line);
}

.hdsp-related > h2 {
	margin: 0 0 20px;
	color: var(--hdsp-ink);
	font-size: 27px;
	line-height: 1.2;
}

.hdsp-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hdsp-related-card {
	overflow: hidden;
	border: 1px solid var(--hdsp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.045);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hdsp-related-card:hover {
	transform: translateY(-2px);
	border-color: rgba(249, 115, 22, .28);
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07);
}

.hdsp-related-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9.2;
	background: #f2f4f7;
}

.hdsp-related-image img {
	transition: transform .24s ease;
}

.hdsp-related-card:hover .hdsp-related-image img {
	transform: scale(1.025);
}

.hdsp-related-image img,
.hdsp-related-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hdsp-related-placeholder {
	background: linear-gradient(135deg, #f3f5f7, #e9edf1);
}

.hdsp-related-body {
	padding: 14px 15px 16px;
}

.hdsp-related-date {
	margin-bottom: 5px;
	color: #98a2b3;
	font-size: 11px;
}

.hdsp-related-card h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
}

.hdsp-related-card h3 a {
	color: var(--hdsp-ink);
	text-decoration: none;
}

.hdsp-related-card h3 a:hover {
	color: var(--hdsp-accent);
}

/* ==========================================================
   BOX EDITORIALI GUTENBERG
   ========================================================== */
.hdsp-entry-content .hdsp-callout {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 28px 0;
	padding: 17px 19px;
	border: 1px solid;
	border-radius: 12px;
	box-shadow: none;
}

.hdsp-entry-content .hdsp-callout-info {
	background: #eef8ff;
	border-color: #b9dcf4;
}

.hdsp-entry-content .hdsp-callout-success {
	background: #effbf3;
	border-color: #bfe5ca;
}

.hdsp-entry-content .hdsp-callout-warning {
	background: #fff1f1;
	border-color: #efc2c2;
}

.hdsp-entry-content .hdsp-callout-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .76);
	font-size: 17px;
	line-height: 1;
}

.hdsp-entry-content .hdsp-callout-title {
	margin: 0 0 4px;
	color: #172033;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.hdsp-entry-content .hdsp-callout-text,
.hdsp-entry-content .hdsp-callout-text p {
	margin: 0;
	color: #475467;
	font-size: 15px;
	line-height: 1.62;
}

.hdsp-entry-content .hdsp-callout-text p + p {
	margin-top: .7em;
}


/* ==========================================================
   WIDGET ARTICOLI PIÙ LETTI
   ========================================================== */
.hdsp-popular-posts {
	display: grid;
	gap: 14px;
}

.hdsp-popular-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.hdsp-popular-item + .hdsp-popular-item {
	padding-top: 14px;
	border-top: 1px solid var(--hdsp-line);
}

.hdsp-popular-thumb {
	display: block;
	overflow: hidden;
	width: 72px;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	background: #f2f4f7;
}

.hdsp-popular-thumb img,
.hdsp-popular-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hdsp-popular-placeholder {
	background: linear-gradient(135deg, #f3f5f7, #e7ebef);
}

.hdsp-popular-copy {
	min-width: 0;
}

.hdsp-popular-title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 750;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.hdsp-popular-title a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--hdsp-ink);
	text-decoration: none;
	line-height: 18px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hdsp-popular-title a:hover {
	color: var(--hdsp-accent);
}

.hdsp-popular-views {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
	color: #98a2b3;
	font-size: 11px;
	line-height: 1;
}

.hdsp-popular-views svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}


/* ==========================================================
   HOST DOMINATION EDITOR – WIDGET EDITORIALI
   ========================================================== */
.hdsp-widget:has(.hdsp-service-banner),
.hdsp-widget:has(.hdsp-support-cta) {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.hdsp-service-banner {
	position: relative;
	overflow: hidden;
	padding: 20px;
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 16px;
	isolation: isolate;
}

.hdsp-service-decoration {
	position: absolute;
	z-index: -1;
	top: -42px;
	right: -36px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(255,255,255,.34);
}

.hdsp-service-banner-orange { background: linear-gradient(145deg,#fff4e9,#fffaf5); color:#7a3608; }
.hdsp-service-banner-blue { background: linear-gradient(145deg,#edf8ff,#f8fcff); color:#174f77; }
.hdsp-service-banner-green { background: linear-gradient(145deg,#edf9f1,#f9fdf9); color:#225f37; }
.hdsp-service-banner-violet { background: linear-gradient(145deg,#f4f0ff,#fbf9ff); color:#50358b; }
.hdsp-service-banner-dark { background: linear-gradient(145deg,#1f2937,#111827); color:#fff; border-color:#263244; }

.hdsp-service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 15px;
	border-radius: 11px;
	background: rgba(255,255,255,.74);
	font-size: 19px;
}

.hdsp-service-banner-dark .hdsp-service-icon {
	background: rgba(255,255,255,.1);
}

.hdsp-service-kicker {
	margin-bottom: 5px;
	font-size: 10.5px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .72;
}

.hdsp-service-title {
	margin-bottom: 7px;
	color: currentColor;
	font-size: 18px;
	font-weight: 820;
	line-height: 1.22;
	letter-spacing: -.02em;
}

.hdsp-service-text {
	margin-bottom: 15px;
	color: currentColor;
	font-size: 13px;
	line-height: 1.55;
	opacity: .82;
}

.hdsp-service-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 11px;
	border-radius: 9px;
	background: rgba(255,255,255,.82);
	color: currentColor !important;
	font-size: 12px !important;
	font-weight: 800;
	text-decoration: none !important;
}

.hdsp-service-banner-dark .hdsp-service-button {
	background: rgba(255,255,255,.12);
}

.hdsp-compact-posts {
	display: grid;
	gap: 13px;
}

.hdsp-compact-post {
	display: grid;
	grid-template-columns: 66px minmax(0,1fr);
	gap: 11px;
	align-items: center;
	margin: 0;
}

.hdsp-compact-post + .hdsp-compact-post {
	padding-top: 13px;
	border-top: 1px solid var(--hdsp-line);
}

.hdsp-compact-thumb {
	display:block;
	overflow:hidden;
	width:66px;
	aspect-ratio:1;
	border-radius:9px;
	background:#f2f4f7;
}

.hdsp-compact-thumb img,
.hdsp-compact-placeholder {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}

.hdsp-compact-placeholder {
	background:linear-gradient(135deg,#f3f5f7,#e8edf1);
}

.hdsp-compact-copy {
	min-width:0;
}

.hdsp-compact-copy h3 {
	margin:0;
	font-size:13px;
	font-weight:760;
	line-height:18px;
}

.hdsp-compact-copy h3 a {
	display:-webkit-box;
	overflow:hidden;
	color:var(--hdsp-ink);
	font-size:13px;
	line-height:18px;
	text-decoration:none;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;
}

.hdsp-compact-copy h3 a:hover { color:var(--hdsp-accent); }

.hdsp-compact-copy small {
	display:block;
	margin-top:4px;
	color:#98a2b3;
	font-size:10.5px;
}

.hdsp-topic-pills {
	display:flex;
	flex-wrap:wrap;
	gap:7px;
}

.hdsp-topic-pills a {
	display:inline-flex;
	align-items:center;
	gap:5px;
	padding:7px 9px;
	border:1px solid var(--hdsp-line);
	border-radius:999px;
	background:#fff;
	color:#475467;
	font-size:11.5px !important;
	font-weight:700;
	text-decoration:none;
}

.hdsp-topic-pills a:hover {
	border-color:rgba(249,115,22,.3);
	background:var(--hdsp-accent-soft);
	color:var(--hdsp-accent);
}

.hdsp-topic-pills span {
	color:#98a2b3;
	font-size:10px;
}

.hdsp-support-cta {
	padding:19px;
	border:1px solid #dfe7ef;
	border-radius:16px;
	background:linear-gradient(145deg,#f7fafc,#fff);
}

.hdsp-support-icon {
	display:flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	margin-bottom:13px;
	border-radius:10px;
	background:#eef3f7;
	font-size:18px;
}

.hdsp-support-title {
	margin-bottom:5px;
	color:var(--hdsp-ink);
	font-size:17px;
	font-weight:820;
	line-height:1.25;
}

.hdsp-support-text {
	margin-bottom:13px;
	color:#667085;
	font-size:12.5px;
	line-height:1.55;
}

.hdsp-support-button {
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	box-sizing:border-box;
	padding:8px 10px;
	border-radius:8px;
	background:var(--hdsp-ink);
	color:#fff !important;
	font-size:11.5px !important;
	font-weight:800;
	text-decoration:none !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1280px) {
	.hdsp-layout {
		gap: 28px;
	}
}

@media (max-width: 1024px) {
	.hdsp-hero {
		padding-top: 26px;
	}

	.hdsp-hero-inner {
		grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
		gap: 34px;
		width: min(960px, calc(100% - 44px));
		padding: 28px 28px 36px;
		border-radius: 20px;
	}

	.hdsp-title {
		font-size: clamp(36px, 5.4vw, 50px);
	}

	.hdsp-layout {
		display: flex;
		flex-direction: column;
		width: min(820px, calc(100% - 64px));
		padding: 40px 0 64px;
		gap: 30px;
	}

	.hdsp-main {
		order: 1;
		width: 100%;
	}

	.hdsp-sidebar-right {
		order: 2;
		width: 100%;
	}

	.hdsp-sidebar-left {
		order: 3;
		width: 100%;
	}

	.hdsp-sticky {
		position: static;
	}

	.hdsp-sidebar {
		position: static;
		top: auto;
		max-height: none;
		overflow: visible;
	}

	.hdsp-sidebar .hdsp-widget {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.hdsp-hero {
		padding-top: 16px;
	}

	.hdsp-hero-inner {
		width: min(100% - 24px, 820px);
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 22px 18px 28px;
		border-radius: 18px;
	}

	.hdsp-layout {
		width: min(100% - 40px, 820px);
	}

	.hdsp-hero-image {
		aspect-ratio: 18 / 10.4;
		border-radius: 16px;
	}

	.hdsp-hero-copy {
		padding: 0;
	}


	.hdsp-title {
		font-size: clamp(34px, 10vw, 46px);
		line-height: 1.08;
		letter-spacing: -0.035em;
	}

	.hdsp-meta {
		display: grid;
		gap: 16px;
		margin-top: 24px;
	}

	.hdsp-dates {
		display: grid;
		gap: 7px;
	}

	.hdsp-layout {
		padding-top: 30px;
	}

	.hdsp-entry-content {
		font-size: 17px;
		line-height: 1.75;
	}

	.hdsp-featured-image {
		margin-bottom: 30px;
	}

	.hdsp-featured-image img {
		border-radius: 14px;
	}

}


@media (max-width: 992px) {
	.hdsp-single-layout.ast-separate-container #primary {
		padding: 0;
		margin: 0;
		border: 0;
	}
}



@media (max-width: 782px) {
	.admin-bar .hdsp-reading-progress {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.hdsp-feedback {
		grid-template-columns: 1fr;
	}

	.hdsp-author-box {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px;
		padding: 18px;
	}

	.hdsp-author-box-avatar img {
		width: 64px;
		height: 64px;
	}

	.hdsp-related-grid {
		grid-template-columns: 1fr;
	}

	.hdsp-related-image {
		aspect-ratio: 16 / 8.8;
	}

}

h1.hdsp-title {
	font-size: 50px;
}


.hdsp-service-image {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 15px;
	border-radius: 12px;
	background: rgba(255,255,255,.45);
}

.hdsp-service-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.hdsp-editorial-rating {
	color: #667085;
	font-size: 12px;
	font-style: italic;
}


/* ==========================================================
   ARCHIVI / CATEGORY / TAG / AUTHOR / BLOG
   ========================================================== */
.hdsp-archive-layout {
	--hdsp-accent: #f97316;
	--hdsp-accent-soft: #fff5ed;
	--hdsp-ink: #172033;
	--hdsp-muted: #667085;
	--hdsp-line: #e8ebf0;
	--hdsp-surface: #ffffff;
	--hdsp-soft: #f8fafc;
	--hdsp-hero: #fbfcfe;
	--hdsp-radius: 16px;
	--hdsp-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
	background: #fff;
}

.hdsp-archive-layout #page,
.hdsp-archive-layout .site-content,
.hdsp-archive-layout .site-content > .ast-container,
.hdsp-archive-layout .hdsp-page,
.hdsp-archive-layout .hdsp-archive-main {
	background: #fff;
}

.hdsp-archive-layout .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 993px) {
	.hdsp-archive-layout.ast-separate-container #primary,
	.hdsp-archive-layout.ast-separate-container.ast-left-sidebar #primary,
	.hdsp-archive-layout.ast-separate-container.ast-right-sidebar #primary {
		margin-left: auto;
		margin-right: auto;
		padding: 0;
	}
}

.hdsp-archive-hero {
	padding: 12px 0 0;
	background: #fff;
}

.hdsp-archive-hero-inner {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding: 34px 40px 38px;
	border: 1px solid #eee4d9;
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% 12%, rgba(249,115,22,.07), transparent 28%),
		#fff9f3;
}

.hdsp-archive-kicker {
	margin: 0 0 9px;
}

.hdsp-archive-title {
	max-width: 900px;
}

.hdsp-archive-description {
	max-width: 760px;
	margin-top: 16px;
	color: var(--hdsp-muted);
	font-size: 16px;
	line-height: 1.7;
}

.hdsp-archive-description p {
	margin: 0;
}

.hdsp-archive-main {
	width: min(1180px, calc(100% - 96px));
	margin: 0 auto;
	padding: 28px 0 86px !important;
}

.hdsp-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 560px));
	justify-content: center;
	gap: 20px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Se l'ultima riga contiene un solo articolo, lo centra. */
.hdsp-archive-grid > .hdsp-archive-card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	width: min(100%, 560px);
	justify-self: center;
}

.hdsp-archive-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hdsp-archive-card-image {
	aspect-ratio: 16 / 9;
}

.hdsp-archive-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 19px 20px;
}

.hdsp-archive-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
	color: #98a2b3;
	font-size: 11px;
	line-height: 1.35;
}

.hdsp-archive-category {
	color: var(--hdsp-accent);
	font-weight: 780;
	text-decoration: none;
}

.hdsp-archive-category:hover {
	color: #d95f0d;
}

.hdsp-archive-card h2.hdsp-archive-card-title {
	margin: 0;
	color: var(--hdsp-ink);
	font-size: 21px;
	font-weight: 780;
	line-height: 1.28;
	letter-spacing: -.02em;
}

.hdsp-archive-card h2.hdsp-archive-card-title a {
	color: inherit;
	text-decoration: none;
}

.hdsp-archive-card h2.hdsp-archive-card-title a:hover {
	color: var(--hdsp-accent);
}

.hdsp-archive-excerpt {
	margin: 10px 0 16px;
	color: var(--hdsp-muted);
	font-size: 13.5px;
	line-height: 1.62;
}

.hdsp-archive-readmore {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: auto;
	color: var(--hdsp-accent);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.hdsp-archive-readmore:hover {
	color: #d95f0d;
}

.hdsp-pagination {
	margin-top: 36px;
}

.hdsp-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
}

.hdsp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 11px;
	border: 1px solid var(--hdsp-line);
	border-radius: 10px;
	background: #fff;
	color: #475467;
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

.hdsp-pagination .page-numbers:hover {
	border-color: rgba(249,115,22,.3);
	background: var(--hdsp-accent-soft);
	color: var(--hdsp-accent);
}

.hdsp-pagination .page-numbers.current {
	border-color: var(--hdsp-accent);
	background: var(--hdsp-accent);
	color: #fff;
}

.hdsp-pagination .prev,
.hdsp-pagination .next {
	width: auto;
}

.hdsp-archive-empty {
	padding: 42px;
	border: 1px solid var(--hdsp-line);
	border-radius: 16px;
	background: var(--hdsp-soft);
	text-align: center;
}

.hdsp-archive-empty h2 {
	margin: 0;
	color: var(--hdsp-ink);
	font-size: 22px;
}

@media (max-width: 1024px) {
	.hdsp-archive-hero {
		padding-top: 26px;
	}

	.hdsp-archive-hero-inner {
		width: min(960px, calc(100% - 44px));
		padding: 30px 30px 34px;
		border-radius: 20px;
	}

	.hdsp-archive-main {
		width: min(900px, calc(100% - 64px));
		padding-top: 40px !important;
		padding-bottom: 64px !important;
	}
}

@media (max-width: 640px) {
	.hdsp-archive-hero {
		padding-top: 16px;
	}

	.hdsp-archive-hero-inner {
		width: min(100% - 24px, 820px);
		padding: 24px 19px 28px;
		border-radius: 18px;
	}

	.hdsp-archive-main {
		width: min(100% - 40px, 820px);
		padding-top: 30px !important;
	}

	.hdsp-archive-grid {
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
		gap: 16px;
	}

	.hdsp-archive-grid > .hdsp-archive-card:last-child:nth-child(odd) {
		grid-column: auto;
		width: 100%;
		justify-self: stretch;
	}

	.hdsp-archive-card h2.hdsp-archive-card-title {
		font-size: 19px;
	}

	.hdsp-archive-card-body {
		padding: 16px 16px 18px;
	}

	.hdsp-archive-description {
		font-size: 15px;
	}
}

@media (max-width: 992px) {
	.hdsp-archive-layout.ast-separate-container #primary {
		padding: 0;
		margin: 0;
		border: 0;
	}
}


/* Correzione centratura contenitore principale archivi.
   Astra assegna regole più specifiche a #primary, quindi forziamo margin auto. */
.hdsp-archive-layout #primary.hdsp-archive-main {
	width: min(1180px, calc(100% - 96px)) !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
}

@media (max-width: 1024px) {
	.hdsp-archive-layout #primary.hdsp-archive-main {
		width: min(900px, calc(100% - 64px)) !important;
	}
}

@media (max-width: 640px) {
	.hdsp-archive-layout #primary.hdsp-archive-main {
		width: min(100% - 40px, 820px) !important;
	}
}


/* ==========================================================
   BLOG HOME
   ========================================================== */
.hdsp-blog-home-hero {
	padding: 12px 0 0;
	background: #fff;
}

.hdsp-blog-home-hero-inner {
	display: block;
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding: 48px 50px;
	border: 1px solid #eee4d9;
	border-radius: 26px;
	background:
		radial-gradient(circle at 91% 14%, rgba(249,115,22,.13), transparent 26%),
		linear-gradient(135deg, #fff9f3 0%, #fffdf9 58%, #fff7ef 100%);
}

.hdsp-blog-home-title {
	max-width: 760px;
	margin-top: 7px;
	font-size: clamp(44px, 5vw, 64px) !important;
	line-height: 1.02;
	letter-spacing: -.045em;
}

.hdsp-blog-home-description {
	max-width: 720px;
	margin-top: 18px;
	color: #596579;
	font-size: 17px;
	line-height: 1.72;
}

.hdsp-blog-home-description p {
	margin: 0;
}

.hdsp-blog-search {
	display: grid;
	grid-template-columns: 20px minmax(0,1fr) auto;
	align-items: center;
	gap: 10px;
	max-width: 650px;
	margin-top: 27px;
	padding: 7px 7px 7px 15px;
	border: 1px solid #eadfd4;
	border-radius: 13px;
	background: rgba(255,255,255,.88);
	box-shadow: 0 10px 28px rgba(46,28,14,.045);
}

.hdsp-blog-search-icon {
	display: flex;
	color: #98a2b3;
}

.hdsp-blog-search-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.hdsp-blog-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--hdsp-ink);
	font-size: 14px;
}

.hdsp-blog-search input[type="search"]:focus {
	border: 0;
	box-shadow: none;
}

.hdsp-blog-search button {
	min-height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	background: var(--hdsp-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
}

.hdsp-blog-search button:hover {
	background: var(--hdsp-accent);
}

.hdsp-blog-home-hero-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hdsp-blog-stat {
	padding: 17px;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 15px;
	background: rgba(255,255,255,.64);
	backdrop-filter: blur(8px);
}

.hdsp-blog-stat strong {
	display: block;
	margin-bottom: 5px;
	color: var(--hdsp-ink);
	font-size: 25px;
	line-height: 1;
}

.hdsp-blog-stat span {
	color: #667085;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
}

.hdsp-blog-stat-wide {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 8px;
}

.hdsp-blog-stat-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hdsp-accent);
	box-shadow: 0 0 0 5px rgba(249,115,22,.1);
}

.hdsp-blog-home .hdsp-archive-main {
	padding-top: 42px !important;
}

.hdsp-blog-section {
	margin-bottom: 52px;
}

.hdsp-blog-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 19px;
}

.hdsp-blog-section-heading h2 {
	margin: 3px 0 0;
	color: var(--hdsp-ink);
	font-size: 29px;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.hdsp-blog-section-heading > p {
	max-width: 430px;
	margin: 0;
	color: #7a8494;
	font-size: 13px;
	line-height: 1.55;
	text-align: right;
}

.hdsp-blog-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hdsp-blog-category-card {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	gap: 13px;
	align-items: center;
	min-width: 0;
	padding: 17px 18px;
	border: 1px solid var(--hdsp-line);
	border-radius: 15px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hdsp-blog-category-card:hover {
	transform: translateY(-2px);
	border-color: rgba(249,115,22,.24);
	box-shadow: 0 12px 30px rgba(16,24,40,.06);
}

.hdsp-blog-category-index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: #fff6ee;
	color: var(--hdsp-accent);
	font-size: 11px;
	font-weight: 850;
}

.hdsp-blog-category-copy {
	min-width: 0;
}

.hdsp-blog-category-copy strong,
.hdsp-blog-category-copy small {
	display: block;
}

.hdsp-blog-category-copy strong {
	overflow: hidden;
	color: var(--hdsp-ink);
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hdsp-blog-category-copy small {
	margin-top: 4px;
	color: #98a2b3;
	font-size: 10.5px;
}

.hdsp-blog-category-arrow {
	color: #b4bac4;
	font-size: 18px;
	transition: transform .18s ease, color .18s ease;
}

.hdsp-blog-category-card:hover .hdsp-blog-category-arrow {
	transform: translateX(3px);
	color: var(--hdsp-accent);
}

.hdsp-blog-featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, .82fr);
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 14px 16px;
}

.hdsp-blog-featured-card {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	overflow: hidden;
	min-width: 0;
	border: 1px solid var(--hdsp-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 9px 28px rgba(16,24,40,.04);
}

.hdsp-blog-featured-card.is-primary {
	grid-row: 1 / 4;
	grid-template-columns: 1fr;
}

.hdsp-blog-featured-image {
	display: block;
	overflow: hidden;
	min-height: 100%;
	background: #f4f6f8;
}

.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-image {
	aspect-ratio: 16 / 8.7;
	min-height: 0;
}

.hdsp-blog-featured-image img,
.hdsp-blog-featured-image .hdsp-related-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.hdsp-blog-featured-card:hover .hdsp-blog-featured-image img {
	transform: scale(1.025);
}

.hdsp-blog-featured-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
}

.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-body {
	padding: 22px 24px 24px;
}

.hdsp-blog-featured-body h3 {
	margin: 0;
	color: var(--hdsp-ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -.02em;
}

.hdsp-blog-featured-card.is-primary h3 {
	font-size: 26px;
}

.hdsp-blog-featured-body h3 a {
	color: inherit;
	text-decoration: none;
}

.hdsp-blog-featured-body h3 a:hover {
	color: var(--hdsp-accent);
}

.hdsp-blog-featured-body p {
	margin: 11px 0 16px;
	color: var(--hdsp-muted);
	font-size: 13.5px;
	line-height: 1.65;
}

.hdsp-blog-featured-body .hdsp-archive-readmore {
	margin-top: auto;
}

.hdsp-blog-all-heading {
	margin-top: 5px;
	margin-bottom: 20px;
	padding-top: 6px;
}

@media (max-width: 1024px) {
	.hdsp-blog-home-hero-inner {
		width: min(960px, calc(100% - 44px));
		padding: 38px 34px;
	}

	.hdsp-blog-home-title {
		font-size: clamp(40px, 6vw, 54px) !important;
	}

	.hdsp-blog-category-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
	}
}

@media (max-width: 760px) {
	.hdsp-blog-home-hero-inner {
		width: min(100% - 24px, 820px);
		padding: 29px 22px;
	}

	.hdsp-blog-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.hdsp-blog-section-heading > p {
		max-width: none;
		text-align: left;
	}

	.hdsp-blog-featured-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.hdsp-blog-featured-card,
	.hdsp-blog-featured-card.is-primary {
		grid-row: auto;
		grid-template-columns: 145px minmax(0,1fr);
	}

	.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-image {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-body {
		padding: 18px;
	}

	.hdsp-blog-featured-card.is-primary h3 {
		font-size: 18px;
	}

	.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-body p {
		display: none;
	}
}

@media (max-width: 560px) {
	.hdsp-blog-home-title {
		font-size: 40px !important;
	}

	.hdsp-blog-search {
		grid-template-columns: 18px minmax(0,1fr);
	}

	.hdsp-blog-search button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.hdsp-blog-category-grid {
		grid-template-columns: 1fr;
	}

	.hdsp-blog-featured-card,
	.hdsp-blog-featured-card.is-primary {
		grid-template-columns: 1fr;
	}

	.hdsp-blog-featured-image,
	.hdsp-blog-featured-card.is-primary .hdsp-blog-featured-image {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}


}


/* ==========================================================
   SIDEBAR DINAMICHE – NESSUNA COLONNA VUOTA
   ========================================================== */
@media (min-width: 1025px) {
	.hdsp-layout.has-left-sidebar.has-right-sidebar {
		grid-template-columns: 230px minmax(0, 820px) 270px;
	}

	.hdsp-layout.has-left-sidebar.no-right-sidebar {
		grid-template-columns: 230px minmax(0, 1fr);
	}

	.hdsp-layout.no-left-sidebar.has-right-sidebar {
		grid-template-columns: minmax(0, 1fr) 270px;
	}

	.hdsp-layout.no-left-sidebar.no-right-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.hdsp-layout.no-left-sidebar .hdsp-main {
		min-width: 0;
		width: 100%;
	}

	.hdsp-layout.no-right-sidebar .hdsp-main {
		min-width: 0;
		width: 100%;
	}
}


/* Blog Home: hero a colonna unica, senza statistiche laterali. */
.hdsp-blog-home-hero-copy {
	max-width: 860px;
}

.hdsp-blog-home-hero-stats,
.hdsp-blog-stat {
	display: none !important;
}

/* Nessun margine superiore sul contenitore principale degli archivi. */
.hdsp-archive-layout #primary.hdsp-archive-main,
.site-main.hdsp-archive-main {
	margin-top: 0 !important;
}


/* ==========================================================
   BLOG HOME – STRUMENTI CONSIGLIATI
   ========================================================== */
.hdsp-blog-home-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 34px;
	align-items: center;
}

.hdsp-blog-home-hero-copy {
	min-width: 0;
	max-width: none;
}

.hdsp-blog-home-tools {
	min-width: 0;
}

.hdsp-blog-tools-label {
	margin-bottom: 10px;
	color: #8a6248;
	font-size: 10.5px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hdsp-blog-tools-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
}

.hdsp-blog-tool-card {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	width: 100%;
	height: 68px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid rgba(122, 54, 8, .11);
	border-radius: 13px;
	background: rgba(255, 255, 255, .72);
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hdsp-blog-tool-card:hover {
	transform: translateX(2px);
	border-color: rgba(249, 115, 22, .28);
	background: #fff;
}

.hdsp-blog-tool-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff3e9;
	color: var(--hdsp-accent);
	font-size: 15px;
	font-weight: 900;
}

.hdsp-blog-tool-copy {
	min-width: 0;
}

.hdsp-blog-tool-copy strong,
.hdsp-blog-tool-copy small {
	display: block;
}

.hdsp-blog-tool-copy strong {
	overflow: hidden;
	color: var(--hdsp-ink);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hdsp-blog-tool-copy small {
	margin-top: 3px;
	color: #8b95a5;
	font-size: 10.5px;
	line-height: 1.25;
}

@media (max-width: 1024px) {
	.hdsp-blog-home-hero-inner {
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 24px;
	}
}

@media (max-width: 760px) {
	.hdsp-blog-home-hero-inner {
		grid-template-columns: 1fr;
	}

	.hdsp-blog-tools-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hdsp-blog-tool-card {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 92px;
		align-items: start;
	}

	.hdsp-blog-tool-copy strong {
		white-space: normal;
	}
}

@media (max-width: 560px) {
	.hdsp-blog-tools-grid {
		grid-template-columns: 1fr;
	}

	.hdsp-blog-tool-card {
		grid-template-columns: 34px minmax(0, 1fr);
		height: 68px;
		min-height: 68px;
		align-items: center;
	}
}


/* Descrizione categoria nel hero archive. */
.hdsp-category-description {
	margin-top: 14px;
}
.hdsp-category-description > :first-child {
	margin-top: 0;
}
.hdsp-category-description > :last-child {
	margin-bottom: 0;
}


/* Da non perdere: 1 articolo grande + 3 articoli compatti. */
.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-image {
	width: 118px;
	height: 118px;
	min-height: 118px;
	aspect-ratio: 1 / 1;
	align-self: center;
}

.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-image img,
.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-image .hdsp-related-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-body {
	padding: 14px 15px;
}

@media (max-width: 760px) {
	.hdsp-blog-featured-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.hdsp-blog-featured-card.is-primary {
		grid-row: auto;
	}

	.hdsp-blog-featured-card:not(.is-primary) {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-image {
		width: 112px;
		height: 112px;
		min-height: 112px;
	}
}

@media (max-width: 560px) {
	.hdsp-blog-featured-card:not(.is-primary) {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.hdsp-blog-featured-card:not(.is-primary) .hdsp-blog-featured-image {
		width: 96px;
		height: 96px;
		min-height: 96px;
	}
}

/* ==========================================================
   SINGLE POST MOBILE – HERO PIU COMPATTA
   ========================================================== */
.hdsp-mobile-date,
.hdsp-mobile-date-separator {
	display: none;
}

@media (max-width: 640px) {
	/* Su mobile niente blocco separato "Aggiornato il / Pubblicato il". */
	.hdsp-hero .hdsp-dates {
		display: none !important;
	}

	/* Autore e data restano sulla stessa riga. */
	.hdsp-hero .hdsp-meta {
		display: flex;
		align-items: center;
		gap: 0;
		margin-top: 20px;
	}

	.hdsp-hero .hdsp-author {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 10px;
		min-width: 0;
	}

	.hdsp-hero .hdsp-author-text {
		white-space: nowrap;
	}

	.hdsp-hero .hdsp-mobile-date-separator,
	.hdsp-hero .hdsp-mobile-date {
		display: inline;
		flex: 0 0 auto;
		color: var(--hdsp-muted);
		font-size: 12.5px;
		line-height: 1.4;
	}

	.hdsp-hero .hdsp-mobile-date-separator {
		margin-left: 1px;
	}

	/* Override finale del vecchio h1.hdsp-title da 50px. */
	.hdsp-single-layout h1.hdsp-title,
	.hdsp-hero h1.hdsp-title,
	h1.hdsp-title {
		font-size: 34px !important;
		line-height: 1.08 !important;
		letter-spacing: -0.035em;
	}
}

@media (max-width: 480px) {
	.hdsp-single-layout h1.hdsp-title,
	.hdsp-hero h1.hdsp-title,
	h1.hdsp-title {
		font-size: 31px !important;
	}

	.hdsp-hero .hdsp-avatar img {
		width: 40px;
		height: 40px;
	}

	.hdsp-hero .hdsp-author,
	.hdsp-hero .hdsp-meta {
		font-size: 13px;
	}

	.hdsp-hero .hdsp-mobile-date-separator,
	.hdsp-hero .hdsp-mobile-date {
		font-size: 12px;
	}
}

