/*
Theme Name:   diDiritto26
Theme URI:    https://www.didiritto.it/
Description:  Tema a blocchi (Full Site Editing) per DiDiritto / Studi Legali Riuniti.
Author:       Altea Service
Version:      1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  didiritto26
Tags:         full-site-editing, block-patterns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

:root :where(.is-layout-flow) > * {
	margin-block-start: 0.5rem;
}

:root :where(.is-layout-constrained) > * {
	margin-block-start: 0;
}

h2 {
	font-size: 26px;
	font-weight: bold;
}

body:not(.home) h2 {
	font-size: 39px;
	position: relative;
	padding-bottom: 10px;
	padding-top:30px;
}

body:not(.home) h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

body:not(.home) .wp-block-paragraph {
	margin-top: 1em;
	margin-bottom: 1em;
}

.dd-main {
	padding-left: 45px;
	padding-right: 45px;
}
.has-darker-background-color {
	background-color: #1c1c1c78 !important;
}
.giallo{
	color: #deaf09;
}

h4 {
	font-size: 26px;
	font-weight: bold;
	padding-top:30px;
}

body {
	background-color: #303030;
}

@media (max-width: 781px) {
	body {
		--wp--style--root--padding-left: 0;
		--wp--style--root--padding-right: 0;
	}
	.dd-topbar {
		display: none;
	}
	.dd-header {
		padding-top: 15px !important;
		margin-top: 0 !important;
	}
	.dd-header-main {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	.dd-main {
		padding-left: 20px;
		padding-right: 20px;
	}
	.wp-block-group.has-background {
		padding: 0;
	}
}

.wp-site-blocks {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	background-color: #ffffff;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.dd-topbar a {
	text-decoration: none;
}

.dd-header .dd-social .wp-social-link,
.dd-header .dd-social a {
	padding: 4px;
}

.dd-brand .wp-block-site-title {
	margin: 0;
}

.dd-header-main {
	position: relative;
	margin-top: 0 !important;
	background-color: #ffffff;
}

.dd-header-main.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease, padding 0.3s ease;
}

.dd-header-main.is-fixed.is-visible {
	opacity: 1;
	pointer-events: auto;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.dd-header-main.is-fixed.is-visible {
	padding-top: 0 !important;
	padding-bottom: 8px !important;
}

.dd-header-main.is-fixed.is-visible .dd-logo img {
	width: 200px;
}

.dd-header-main > .dd-header-bar {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 30px;
	padding-right: 30px;
}

.dd-header .dd-topbar .dd-social {
	gap: 0 !important;
}

.dd-header .dd-topbar .dd-social .wp-social-link,
.dd-header .dd-topbar .dd-social a {
	padding: 2px;
}

.dd-topbar-inner {
	gap: 16px;
	column-gap: 16px;
}

.dd-tb-item {
	margin: 0;
	display: flex;
	align-items: center;
}

.dd-topbar-inner > .dd-tb-item + .dd-tb-item {
	border-left: 1px solid #dddddd;
	padding-left: 16px;
}

.dd-nav .wp-block-navigation-item.current-menu-item > a,
.dd-nav .wp-block-navigation-item.current_page_item > a,
.dd-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.dd-nav .wp-block-navigation-item.current_page_item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--gold);
}

.dd-nav .wp-block-navigation-item__content:hover,
.dd-nav .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__label {
	font-weight: bold;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
	font-weight: normal;
	font-size: 13px;
	text-transform: none;
}

.dd-nav .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
	background-color: #303030;
	border: 0;
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	padding: 14px 0 14px 10px;
	min-width: 160px;
	margin-top: 18px;
}

.dd-nav .has-child > .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	top: -18px;
	left: 0;
	width: 100%;
	height: 18px;
}

.dd-nav .wp-block-navigation__submenu-container > .wp-block-navigation-item {
	border-bottom: 1px solid #4a4a4a;
}

.dd-nav .wp-block-navigation__submenu-container > .wp-block-navigation-item:last-child {
	border-bottom: 0;
}

.dd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #bcbcbc;
	font-size: 12px;
	padding: 11px 18px;
}

.dd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
}

.dd-nav-wrap {
	gap: 40px;
}
.wp-container-core-group-is-layout-17dd260b {
	justify-content: space-between;
	align-items: flex-end;
}
.dd-search-toggle {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	color: #646363;
	border: 1px solid #d8d8d8;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dd-search-toggle:hover {
	color: #ffffff;
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
}

.dd-search-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(28, 28, 28, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.dd-search-popup.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 220ms ease;
}

.dd-search-popup-form {
	display: flex;
	width: min(680px, 92%);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.dd-search-popup-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(20px, 3vw, 28px);
	padding: 16px 22px;
	border: 0;
	outline: none;
	background: #ffffff;
	color: #2a2a2a;
}

.dd-search-popup-form button[type="submit"] {
	flex: 0 0 auto;
	width: 64px;
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--gold);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dd-search-popup-form button[type="submit"]:hover {
	background: var(--wp--preset--color--gold-dark);
}

.dd-search-close {
	position: absolute;
	top: 22px;
	right: 28px;
	width: 48px;
	height: 48px;
	font-size: 40px;
	line-height: 1;
	color: #ffffff;
	background: none;
	border: 0;
	cursor: pointer;
	opacity: 0.85;
}

.dd-search-close:hover {
	opacity: 1;
	color: var(--wp--preset--color--gold);
}

body.dd-search-open {
	overflow: hidden;
}

.dd-header.is-stuck {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.dd-page-banner .wp-block-post-title,
.dd-page-banner h1 {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: 40px;
}

.dd-page-banner .dd-banner-subtitle,
:root :where(.wp-block-cover) .dd-banner-subtitle {
	margin-top: 10px;
	font-size: 20px !important;
	color: #dea90f !important;
	font-weight: normal;
	font-family: "Cardo", serif;
}

.dd-hero {
	position: relative;
	min-height: 530px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #000;
}

.dd-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.dd-hero-bg .dd-hero-bg-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 800ms ease;
	will-change: opacity;
}

.dd-hero-bg .dd-hero-bg-slide.is-active {
	opacity: 1;
}

.dd-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.dd-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	text-align: center;
	padding: 40px 20px;
}

.dd-hero-title,
.dd-hero-title.wp-block-heading {
	color: #dea90f !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
	line-height: 1.15;
}

.dd-hero-sub {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.dd-hero-timebar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	z-index: 10;
}

.dd-hero-timebar-fill {
	height: 100%;
	width: 0%;
	background: #dea90f;
}

@media (max-width: 600px) {
	.dd-hero {
		min-height: 70vh;
	}
}

.dd-card {
	border: none;
	border-radius: 4px;
	overflow: hidden;
	height: 100%;
	box-shadow: none;
}

.dd-card:hover {
	box-shadow: none;
}

.dd-card .dd-card-thumb img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
}

.dd-card .wp-block-post-excerpt__excerpt {
	font-family: "Cardo", serif;
}

.wp-block-post-excerpt__more-link {
	color: var(--wp--preset--color--gold);
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover {
	text-decoration: underline;
}

.wp-block-post-author-name {
	font-size: 12px;
	font-style: italic;
	color: #999;
	padding-top: 15px;
}

.dd-card-meta {
	margin-top: 10px;
}

.dd-card .wp-block-post-title a {
	color: #000;
	text-decoration: none;
}

.dd-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--gold);
}

.dd-occupando-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.dd-team-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.dd-team-card {
	text-align: center;
}

.dd-team-thumb {
	display: block;
	overflow: hidden;
	border-radius: 0;
}

.dd-team-thumb img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.dd-team-card:hover .dd-team-thumb img {
	transform: scale(1.03);
}

.dd-team-name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 20px;
	font-weight: 700;
	margin: 12px 0 2px;
	line-height: 2.25;
	color: #454545 !important;
}

.dd-team-name a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
	color: #454545 !important;
}

.dd-team-name a:hover {
	color: var(--wp--preset--color--gold);
}

.dd-team-role {
	font-size: 13px;
	color: var(--wp--preset--color--testo);
	margin: 0;
}

.dd-team-excerpt {
	font-size: 13px;
	line-height: 1.5;
	color: #666;
	margin: 8px 0 0;
}

.dd-team-profile {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: var(--wp--preset--color--gold);
	text-decoration: none;
}

.dd-team-profile:hover {
	text-decoration: underline;
}

.dd-pro-articles {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}

.dd-pro-articles-title {
	font-size: 22px;
	margin-bottom: 20px;
	font-family: "Cardo", Georgia, "Times New Roman", serif;
	color: #454545;
}

.dd-pro-articles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.dd-pro-article-card {
	background: #f9f9f9;
	border-radius: 0;
	overflow: hidden;
}

.dd-pro-article-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.dd-pro-article-title {
	font-size: 15px;
	font-weight: 600;
	margin: 12px 14px 4px;
	line-height: 1.4;
}

.dd-pro-article-title a {
	color: #2a2a2a;
	text-decoration: none;
}

.dd-pro-article-title a:hover {
	color: var(--wp--preset--color--gold);
}

.dd-pro-article-date {
	font-size: 12px;
	color: #999;
	margin: 0 14px 14px;
}

@media (max-width: 600px) {
	.dd-pro-articles-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	.dd-team-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.dd-team-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

.dd-team-carousel {
	position: relative;
}

.dd-team-carousel .dd-team-cards {
	display: flex;
	grid-template-columns: none;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.dd-team-carousel .dd-team-cards:active {
	cursor: grabbing;
}

.dd-team-carousel .dd-team-cards::-webkit-scrollbar {
	display: none;
}

.dd-team-carousel .dd-team-card {
	flex: 0 0 calc((100% - 96px) / 4.5);
	scroll-snap-align: start;
	min-width: 0;
}

.dd-team-carousel .dd-team-thumb img {
	aspect-ratio: auto;
	height: 240px;
}

.dd-team-static .dd-team-thumb img {
	aspect-ratio: auto;
	height: 300px;
}

.dd-team-arrow {
	position: absolute;
	top: 38%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--wp--preset--color--gold);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: background 160ms ease;
}

.dd-team-arrow:hover {
	background: var(--wp--preset--color--gold-dark);
}

.dd-team-arrow--prev {
	left: -10px;
}

.dd-team-arrow--next {
	right: -10px;
}

.dd-team-arrow svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

@media (max-width: 1024px) {
	.dd-team-carousel .dd-team-card {
		flex: 0 0 calc((100% - 48px) / 3.5);
	}
	.dd-team-carousel .dd-team-thumb img {
		height: 200px;
	}
}

@media (max-width: 768px) {
	.dd-team-carousel .dd-team-cards {
		gap: 16px;
	}
	.dd-team-carousel .dd-team-card {
		flex: 0 0 calc((100% - 32px) / 2.5);
	}
	.dd-team-carousel .dd-team-thumb img {
		height: 180px;
	}
	.dd-team-arrow {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 480px) {
	.dd-team-carousel .dd-team-cards {
		gap: 12px;
	}
	.dd-team-carousel .dd-team-card {
		flex: 0 0 calc((100% - 12px) / 1.3);
	}
	.dd-team-carousel .dd-team-thumb img {
		height: 200px;
	}
	.dd-team-arrow {
		display: none;
	}
}

.dd-steps {
	align-items: flex-start;
}

.dd-step {
	position: relative;
	text-align: center;
}

.dd-step-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 64px;
}

.dd-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	right: -10px;
	width: 12px;
	height: 12px;
	border-right: 2px solid #c9b27a;
	border-bottom: 2px solid #c9b27a;
	transform: rotate(-45deg);
}

@media (max-width: 781px) {
	.dd-step:not(:last-child)::after {
		display: none;
	}
}

.dd-process {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.dd-process-step {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	position: relative;
	padding-bottom: 0;
}

.dd-process-icon-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	position: relative;
}

.dd-process-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
}

.dd-process-icon svg {
	width: 24px;
	height: 24px;
	fill: #ffffff;
}

.dd-process-line {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	min-height: 40px;
	padding: 6px 0;
}

.dd-process-line-bar {
	width: 1px;
	flex: 1 1 auto;
	background: #d0d0d0;
	min-height: 20px;
}

.dd-process-line-arrow {
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid var(--wp--preset--color--gold);
	margin-top: 4px;
}

.dd-process-body {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 4px;
	padding-bottom: 30px;
}

.dd-process-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 20px !important;
	font-weight: 700;
	color: var(--wp--preset--color--heading);
	margin: 0 0 8px;
	line-height: 1.3;
	padding-top:0 !important;
}

.dd-process-caption {
	font-size: 15px;
	line-height: 1.65;
}

.dd-process-caption ul {
	padding-left: 1.4em;
	margin: 10px 0;
}

.dd-process-caption ul > li {
	padding-left: 0;
	margin-bottom: 6px;
}

.dd-process-caption ul > li::before {
	display: none;
}

.dd-process-caption a {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
}

.dd-process-caption a:hover {
	text-decoration: underline;
}

.dd-process-step:last-child .dd-process-line {
	display: none;
}

@media (max-width: 600px) {
	.dd-process-step {
		gap: 16px;
	}
	.dd-process-icon {
		width: 48px;
		height: 48px;
	}
	.dd-process-icon svg {
		width: 20px;
		height: 20px;
	}
	.dd-process-title {
		font-size: 17px;
	}
}

.dd-sede-pin {
	font-size: 26px;
	margin: 0 0 4px;
}

.dd-sede-name {
	color: var(--wp--preset--color--heading);
}

.dd-cta .wp-block-heading {
	margin-bottom: 8px;
}

.dd-single-cols {
	gap: 40px;
	align-items: flex-start;
}

.dd-sidebar {
	position: sticky;
	top: 20px;
}

.dd-sidebar-title {
	border-bottom: 2px solid var(--wp--preset--color--tan);
	padding-bottom: 10px;
	margin-bottom: 18px;
	font-style: italic;
}

.dd-rp-item {
	align-items: flex-start;
	margin-bottom: 12px;
}

.dd-rp-thumb {
	flex: 0 0 auto;
}

.dd-rp-thumb img {
	width: 74px;
	height: 58px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}

.dd-rp-title a {
	color: #000;
	text-decoration: none;
}

.dd-rp-title a:hover {
	color: var(--wp--preset--color--gold);
}

@media (max-width: 781px) {
	.dd-sidebar {
		position: static;
	}
}

.wp-block-terms-query a,
.dd-tags a,
.dd-single-tags .wp-block-post-terms a {
	text-transform: capitalize;
}

.wp-block-terms-query a {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wp-block-terms-query .dd-tag-count {
	color: #999;
	font-weight: normal;
	margin-left: auto;
}

.dd-tags a,
.dd-single-tags .wp-block-post-terms a {
	display: inline-block;
	padding: 6px 13px;
	margin: 0 4px 4px 0;
	background-color: var(--wp--preset--color--gold);
	color: #fff;
	font-size: 12px;
	border-radius: 2px;
	text-decoration: none;
}

.dd-tags a:hover {
	background-color: var(--wp--preset--color--gold-dark);
	text-decoration: none;
}

.dd-pagination {
	gap: 6px;
	margin-top: 40px;
}

.dd-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 3px;
	background: #fff;
	color: #979797;
	border: 1px solid var(--wp--preset--color--border);
	text-decoration: none;
	line-height: 1;
}

.dd-pagination .page-numbers:hover,
.dd-pagination .page-numbers.current {
	background: var(--wp--preset--color--gold);
	color: #fff;
	border-color: var(--wp--preset--color--gold);
}

.dd-searchform .wp-block-search__input,
.dd-intro-search .wp-block-search__input {
	background: #fff;
	box-shadow: none;
}

.dd-footer {
	padding-left:30px; padding-right:30px;
}
.dd-footer a {
	color: var(--wp--preset--color--gold);
}

.dd-footer a:hover {
	color: var(--wp--preset--color--gold-hover);
}

.dd-footer .dd-footer-posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dd-footer .dd-footer-posts li {
	margin-bottom: 10px;
	font-size: 14px;
}

.dd-footer .wp-block-latest-posts__post-date {
	color: #b9b9b9;
	font-size: 12px;
}

.dd-copyright a {
	color: #cfcfcf;
}

.dd-copyright a:hover {
	color: var(--wp--preset--color--gold);
}

.wpcf7 {
	max-width: 100%;
	overflow: hidden;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 textarea,
.wpcf7 select {
	background-color: #f3f3f3;
	border: 0;
	border-radius: 3px;
	padding: 19px 20px;
	width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	color: #2a2a2a;
	outline: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: #999;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	background-color: #eaeaea;
}

.wpcf7 input:focus::placeholder,
.wpcf7 textarea:focus::placeholder {
	color: transparent;
}

.wpcf7 span.wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
	max-width: 100%;
}

.wpcf7 form p {
	margin-top: 0;
	margin-bottom: 10px;
}

.dd-privacy-row p {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 10px 0 0;
}

.dd-privacy-row br {
	display: none;
}

.dd-privacy-row .wpcf7-acceptance {
	flex: 0 0 auto;
}

.dd-privacy-row .wpcf7-acceptance input[type="checkbox"] {
	margin: 2px 0 0;
}

.dd-privacy-text {
	font-size: 13px;
	padding-top: 7px;
}

.wpcf7 input[type="submit"] {
	box-sizing: border-box;
}

.wpcf7 input[type="submit"] {
	background-color: var(--wp--preset--color--gold);
	color: #fff;
	border: 0;
	border-bottom: 2px solid rgba(0, 0, 0, 0.15);
	border-radius: 3px;
	padding: 18px 20px;
	width: 100%;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background 180ms ease;
}

.wpcf7 input[type="submit"]:hover {
	background-color: var(--wp--preset--color--gold-dark);
}

.wp-block-button__link,
.wp-element-button {
	text-transform: uppercase;
	border-radius: 0 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--gold);
	border: 1px solid var(--wp--preset--color--gold);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--gold);
	color: #fff;
}

.dd-hero-slide .wp-block-cover__inner-container {
	text-align: center;
}

.hero-layer-caption {
	font-family: "Cardo", serif;
	font-size: 26px;
	margin: 36px 0 0;
	font-weight: 400;
	font-style: italic;
	position: relative;
	display: inline-block;
	padding-bottom: 18px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-layer-caption svg.hero-underline {
	position: absolute;
	left: 50%;
	bottom: 2px;
	transform: translateX(-50%) rotate(-3deg);
	width: 78%;
	height: 22px;
	overflow: visible;
	pointer-events: none;
}

.hero-layer-caption svg.hero-underline path {
	fill: #dea90f;
	stroke: none;
	opacity: 0.92;
}

.hero-layer-caption svg.hero-underline rect {
	animation: heroUnderlineReveal 0.6s cubic-bezier(.5, .1, .3, 1) 0.3s forwards;
}

@keyframes heroUnderlineReveal {
	to { width: 300px; }
}

.hero-layer-caption .hlc-plain {
	color: #fff;
	font-family: "Cardo", serif;
}

.hero-layer-caption .hlc-brand {
	color: #dea90f;
	font-family: "Cardo", serif;
	letter-spacing: 0.02em;
	font-weight: 700;
	font-style: normal;
	font-size: 34px;
}

@media (max-width: 768px) {
	.hero-layer-caption {
		font-size: 24px;
		margin-top: 24px;
		line-height: 1.3;
	}

	.hero-layer-caption .hlc-plain,
	.hero-layer-caption .hlc-brand {
		display: block;
	}
}
.dd-header a:where(:not(.wp-element-button)),
.dd-topbar a:where(:not(.wp-element-button)) {
	color: #2a2a2a9c;
}

.dd-main a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--gold);
}

ul.wp-block-list {
	padding-left: 0;
	margin-left: 0;
}

ul.wp-block-list > li {
	list-style: none;
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 12px;
}

ul.wp-block-list > li::before {
	content: "\2192";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--gold);
	font-weight: bold;
}

@media (max-width: 781px) {
	.dd-nav {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0,0,0,0) !important;
		white-space: nowrap !important;
	}

	.dd-header-bar {
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
	}

	/* Allinea il bordo destro dell'hamburger al pulsante "chiudi" (fixed right:14px). */
	.dd-header-main > .dd-header-bar {
		padding-right: 14px;
	}

	.dd-nav-wrap {
		flex-shrink: 0;
		margin-left: auto;
	}

	/* La lente non serve su mobile: c'è la ricerca dentro il menu overlay. */
	.dd-search-toggle {
		display: none !important;
	}
}

.dd-ham-trigger {
	display: none;
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 0;
	background: transparent;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	z-index: 10001;
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
	-webkit-tap-highlight-color: transparent;
}

.dd-ham-trigger:hover {
	color: #ffffff;
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
}

.dd-ham-trigger:hover .dd-ham span {
	background: #ffffff;
}

@media (max-width: 781px) {
	.dd-ham-trigger {
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

.dd-ham {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 18px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.dd-ham span {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: #2a2a2a;
	border-radius: 2px;
	transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1),
	            opacity 200ms ease,
	            top 300ms cubic-bezier(0.65, 0, 0.35, 1),
	            width 300ms ease;
}

.dd-ham span:nth-child(1) { top: 0; }
.dd-ham span:nth-child(2) { top: 8px; width: 70%; right: 0; left: auto; }
.dd-ham span:nth-child(3) { top: 16px; }

body.dd-menu-open .dd-ham span { background: #ffffff; }
body.dd-menu-open .dd-ham span:nth-child(1) { top: 8px; transform: rotate(45deg); }
body.dd-menu-open .dd-ham span:nth-child(2) { opacity: 0; transform: translateX(10px); }
body.dd-menu-open .dd-ham span:nth-child(3) { top: 8px; transform: rotate(-45deg); width: 100%; }

body.dd-menu-open .dd-ham-trigger {
	position: fixed;
	top: 16px;
	right: 14px;
	background: rgba(255, 255, 255, 0.08);
	border-color: transparent;
}

body.dd-menu-open .dd-ham-trigger:hover {
	background: rgba(255, 255, 255, 0.15);
}

.dd-menu-overlay {
	display: block;
	position: fixed;
	inset: 0;
	background: #1c1c1c;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 350ms ease, visibility 0s linear 350ms;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.dd-menu-open {
	overflow: hidden;
}

body.dd-menu-open .dd-menu-overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity 350ms ease, visibility 0s linear 0s;
}

.dd-menu-overlay-inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 72px 28px 40px;
}

.dd-menu-overlay ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dd-menu-overlay > .dd-menu-overlay-inner > ul > li {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 450ms ease,
	            transform 450ms cubic-bezier(0.23, 1, 0.32, 1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dd-menu-open .dd-menu-overlay > .dd-menu-overlay-inner > ul > li {
	opacity: 1;
	transform: translateY(0);
}

.dd-menu-overlay li > a {
	display: block;
	padding: 14px 6px;
	font-family: "Cardo", serif;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 180ms ease, padding-left 220ms ease;
}

.dd-menu-overlay li > a:hover,
.dd-menu-overlay li > a:focus {
	color: var(--wp--preset--color--gold);
	padding-left: 10px;
}

.dd-menu-overlay .has-children > a {
	position: relative;
	padding-right: 44px;
}

.dd-menu-overlay .has-children > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 280ms cubic-bezier(0.65, 0, 0.35, 1);
}

.dd-menu-overlay .has-children.is-open > a::after {
	transform: translateY(-30%) rotate(-135deg);
}

.dd-menu-overlay .dd-sub-menu {
	padding-left: 18px;
	margin: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 380ms cubic-bezier(0.65, 0, 0.35, 1),
	            opacity 240ms ease,
	            margin 280ms ease;
}

.dd-menu-overlay .has-children.is-open > .dd-sub-menu {
	max-height: 1000px;
	opacity: 1;
	margin: 0 0 10px;
}

.dd-menu-overlay .dd-sub-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dd-menu-overlay .dd-sub-menu li:last-child {
	border-bottom: 0;
}

.dd-menu-overlay .dd-sub-menu li > a {
	font-size: 16px;
	font-weight: 400;
	font-family: "Open Sans", sans-serif;
	color: #bcbcbc;
	padding: 10px 6px;
}

.dd-menu-overlay .dd-sub-menu li > a:hover {
	color: var(--wp--preset--color--gold);
}

.dd-menu-overlay-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	gap: 12px;
}

.dd-menu-overlay-footer a {
	flex: 1 1 50%;
	padding: 14px;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	font-size: 0.95rem;
	transition: opacity 180ms ease;
}

.dd-menu-overlay-footer a:hover {
	opacity: 0.85;
}

.dd-menu-overlay-footer .dd-cta-primary {
	background: #dea90f;
	color: #ffffff;
}

.dd-menu-overlay-footer .dd-cta-secondary {
	background: transparent;
	color: #dea90f;
	border: 1px solid #dea90f;
}

.dd-logo img {
	width: 80%;
	height: auto;
}

@media (max-width: 781px) {
	.dd-logo {
		width: 220px !important;
	}
}

.dd-intro {
	gap: 0;
}

.dd-intro .dd-intro-box {
	display: flex;
	flex-direction: column;
}

.dd-intro-gold .wp-block-buttons {
	margin-top: auto;
}

.dd-intro-gold h4,
.dd-intro-light h4 {
	margin-top: 0;
	padding-top: 0;
}

.dd-intro-search .wp-block-search__input {
	background: #fff;
}

.dd-section > .wp-block-heading {
	position: relative;
	padding-bottom: 20px;
}

.dd-section > .wp-block-heading::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 13px;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--wp--preset--color--gold);
}

.dd-news-title {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 22px;
	font-style: normal;
	font-size: 24px;
}

.dd-news-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 2px;
	background: #cfcfcf;
}

.dd-art-item {
	align-items: flex-start;
	background: transparent;
	border-bottom: 1px solid #ececec;
}

.dd-art-item:last-child {
	border-bottom: 0 !important;
}

.dd-occ-item,
.dd-rp-item {
	border-bottom-style: solid;
}

.dd-art-date {
	flex: 0 0 auto;
	width: 58px;
	text-align: center;
	background: var(--wp--preset--color--gold);
	color: #fff;
	border-radius: 2px;
	padding: 8px 4px 6px;
	line-height: 1;
}

.dd-art-day,
.dd-art-day time {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.dd-art-month,
.dd-art-month time {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 3px;
	color: #fff;
}

.dd-art-body {
	flex: 1 1 auto;
	min-width: 0;
}

.dd-art-body h4 {
	padding-top: 0;
}

.dd-art-title {
	text-transform: uppercase;
	font-family: var(--wp--preset--font-family--body);
}

.dd-art-title a {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--body);
}

.dd-art-title a:hover {
	color: #cea100;
}

.dd-art-excerpt .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 4px;
	color: var(--wp--preset--color--gold);
	font-weight: 600;
	text-decoration: none;
}

.dd-art-excerpt .wp-block-post-excerpt__more-link:hover {
	text-decoration: underline;
}

.dd-news-all a {
	color: var(--wp--preset--color--gold);
	font-weight: 700;
	font-style: italic;
	text-decoration: none;
}

.dd-news-all a:hover {
	text-decoration: underline;
}

.dd-occ-slider {
	position: relative;
}

.dd-occ-slider.dd-occ-init .dd-occ-slide {
	display: none;
}

.dd-occ-slider.dd-occ-init .dd-occ-slide.is-active {
	display: block;
	animation: ddFadeIn 0.5s ease;
}

@keyframes ddFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.dd-occ-bubble {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 20px 22px;
}

.dd-occ-bubble::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -11px;
	transform: translateX(-50%);
	border: 11px solid transparent;
	border-top-color: #ffffff;
	border-bottom: 0;
}

.dd-occ-bubble::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -12px;
	transform: translateX(-50%);
	border: 12px solid transparent;
	border-top-color: var(--wp--preset--color--border);
	border-bottom: 0;
}

.dd-occ-title,
.dd-occ-title a {
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--body);
	text-decoration: none;
}

.dd-occ-title a:hover {
	color: #cea100;
}

.dd-occ-author {
	margin: 18px auto 0;
	text-align: center;
}

.dd-occ-author img {
	width: 92px;
	height: 92px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	margin: 0 auto;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.dd-occ-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
}

.dd-occ-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfcfcf;
	cursor: pointer;
	transition: background 200ms ease;
}

.dd-occ-dots button.is-active {
	background: var(--wp--preset--color--gold);
}

.dd-box-head {
	gap: 10px;
	margin-bottom: 14px;
}

.dd-box-head .dd-ico {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.dd-logos {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.dd-logos-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 36px;
	width: max-content;
	animation: dd-marquee 45s linear infinite;
}

.dd-logos:hover .dd-logos-track {
	animation-play-state: paused;
}

.dd-logos-track .dd-logo-item {
	margin: 0;
	flex: 0 0 auto;
}

.dd-logos-track .dd-logo-item img {
	height: 120px;
	width: auto;
	max-width: none;
	display: block;
	object-fit: contain;
}

@keyframes dd-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.dd-logos-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}
}

@media (max-width: 781px) {
	.wp-site-blocks {
		box-shadow: none;
	}

	.dd-card .dd-card-thumb img {
		height: 200px;
	}

	.dd-logos-track {
		gap: 24px;
	}

	.dd-logos-track .dd-logo-item img {
		height: 80px;
	}
}

.dd-titoletto {
	color: #000;
	padding-right: 4px;
	font-style: italic;
	letter-spacing: 1px;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	font-family: "Cardo", serif;
}

.editor-styles-wrapper {
	background-color: #ffffff;
}

.dd-hero .dd-hero-bg-slide:first-child {
	opacity: 1;
}

/* Barra CTA fissa in basso — solo mobile */
.dd-mobile-cta {
	display: none;
}

@media (max-width: 781px) {
	.dd-mobile-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		display: flex;
		gap: 0;
		padding-bottom: env(safe-area-inset-bottom);
	}

	.dd-mobile-cta__btn {
		flex: 1 1 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 54px;

		font-family: "Open Sans", sans-serif;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		letter-spacing: 0.3px;
	}

	.dd-mobile-cta__btn--solution {
		background-color: #2a2a2a;
		color: #dea90f;
	}

	.dd-mobile-cta__btn--contact {
		background-color: #dea90f;
		color: #ffffff;
	}
}
