/*!
Theme Name: OMNIA SALUS
Theme URI: http://underscores.me/
Author: Giuseppe Paccione
Author URI: http://www.paccione.it
Description: Custom Theme for Omnia Salus
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: omnia_salus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

OMNIA SALUS is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# OMNIA SALUS FRAMEWORK
	- CSS Custom Properties (Variables)
	- Layout System (CSS Grid + Flexbox)
	- Mobile-First Responsive Breakpoints
	- Component Base Classes
# THEME STRUCTURE
	- Topbar
	- Header & Navigation
	- Footer & Copyright
	- Content Areas
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*==============================================================
# OMNIA SALUS FRAMEWORK
==============================================================*/

/*--------------------------------------------------------------
## Custom Fonts (Cooper Hewitt)
--------------------------------------------------------------*/

/* Cooper Hewitt - Light */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Light.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* Cooper Hewitt - Book (Regular) */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Book.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Book.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Cooper Hewitt - Medium */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Medium.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* Cooper Hewitt - Semibold */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Semibold.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Semibold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Cooper Hewitt - Bold */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Bold.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Cooper Hewitt - Heavy */
@font-face {
	font-family: 'Cooper Hewitt';
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Heavy.eot');
	src: url('fonts/CooperHewitt-WebFonts-public/CooperHewitt-WebFonts-public/CooperHewitt-Heavy.woff') format('woff');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/*--------------------------------------------------------------
## CSS Custom Properties (Variables)
--------------------------------------------------------------*/

:root {
	/*
	 * COLORI DEL TEMA
	 * Questi valori vengono sovrascritti dinamicamente dal Customizer
	 * Via PHP in omnia_salus_customizer_css()
	 */
	--color-topbar-bg: #d8948b;
	--color-topbar-text: #ffffff;
	--color-header-bg: #ffffff;
	--color-header-text: #333333;
	--color-footer-bg: #78837a;
	--color-footer-text: #ffffff;

	/*
	 * LAYOUT RESPONSIVO
	 * Definisce le larghezze massime per i container
	 */
	--container-max-width: 1240px;
	--container-padding: 20px;

	/*
	 * BREAKPOINTS MOBILE-FIRST
	 * Usa questi nelle media queries
	 */
	--bp-tablet: 768px;
	--bp-desktop: 1024px;
	--bp-large: 1240px;

	/*
	 * SPACING SYSTEM
	 * Sistema di spaziature consistente
	 */
	--space-xs: 0.5rem;   /* 8px */
	--space-sm: 1rem;     /* 16px */
	--space-md: 1.5rem;   /* 24px */
	--space-lg: 2rem;     /* 32px */
	--space-xl: 3rem;     /* 48px */
	--space-xxl: 4rem;    /* 64px */

	/*
	 * TYPOGRAPHY SCALE
	 * Sistema tipografico scalabile
	 */
	--font-size-sm: 0.875rem;  /* 14px */
	--font-size-base: 1rem;    /* 16px */
	--font-size-lg: 1.125rem;  /* 18px */
	--font-size-xl: 1.25rem;   /* 20px */
	--font-size-2xl: 1.5rem;   /* 24px */
	--font-size-3xl: 2rem;     /* 32px */

	/*
	 * FONT FAMILIES
	 * Titoli: Cooper Hewitt (custom, locale)
	 * Corpo: Open Sans (Google Fonts)
	 */
	--font-headings: 'Cooper Hewitt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/*--------------------------------------------------------------
## Layout System (CSS Grid + Flexbox)
--------------------------------------------------------------*/

/*
 * CONTAINER BASE
 * Classe principale per contenitori centrati con larghezza massima
 * Usage: <div class="container">...</div>
 */
.container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/*
 * FLEXBOX UTILITIES
 * Classi helper per layout flexbox comuni
 * Usage: <div class="flex flex-between">...</div>
 */
.flex {
	display: flex;
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

/*
 * CSS GRID LAYOUTS
 * Sistema di griglie responsive
 */

/* Grid a 4 colonne per footer */
.grid-4-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--space-lg);
}

/* Grid a 2 colonne per contenuti */
.grid-2-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--space-lg);
}

/* Grid a 3 colonne per cards */
.grid-3-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-md);
}

.ma-b-60 {margin-bottom:60px;}
.ma-b-30 {margin-bottom:30px;}
/*--------------------------------------------------------------
## Mobile-First Responsive Breakpoints
--------------------------------------------------------------*/

/*
 * BREAKPOINT SYSTEM
 * Mobile-first approach: inizia con mobile, poi aggiungi desktop
 *
 * USAGE:
 *
 * @media (min-width: 768px) {  // Tablet e superiori
 *   .class { }
 * }
 *
 * @media (min-width: 1024px) { // Desktop e superiori
 *   .class { }
 * }
 */

/* Helper per nascondere/mostrare elementi su breakpoint specifici */
.hide-mobile {
	display: none;
}

.hide-desktop {
	display: block;
}

@media (min-width: 768px) {
	.hide-mobile {
		display: block;
	}

	.hide-desktop {
		display: none;
	}

	/* Aggiusta grid a tablet */
	.grid-4-cols {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	/* Grid desktop */
	.grid-4-cols {
		grid-template-columns: repeat(4, 1fr);
	}

	.grid-3-cols {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*--------------------------------------------------------------
## Component Base Classes
--------------------------------------------------------------*/

/*
 * BUTTONS
 * Sistema di bottoni consistente
 * Usage: <button class="btn btn-primary">...</button>
 */
.btn {
	display: inline-block;
	padding: var(--space-sm) var(--space-md);
	border: none;
	border-radius: 4px;
	font-size: var(--font-size-base);
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary {
	background-color: var(--color-topbar-bg);
	color: var(--color-topbar-text);
}

.btn-primary:hover {
	background-color: color-mix(in srgb, var(--color-topbar-bg) 85%, black);
}

.btn-secondary {
	background-color: transparent;
	color: var(--color-header-text);
	border: 2px solid currentColor;
}

.btn-prenota {
	background-color: var(--color-topbar-bg);
	color: var(--color-topbar-text);
	padding: var(--space-sm) var(--space-lg);
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	color:#ffffff;
}

.btn-prenota:hover {
	background-color: color-mix(in srgb, var(--color-topbar-bg) 85%, black);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/*
 * CARDS
 * Componenti card riutilizzabili
 * Usage: <div class="card">...</div>
 */
.card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-content {
	padding: var(--space-md);
}

/*==============================================================
# THEME STRUCTURE
==============================================================*/

/*--------------------------------------------------------------
## Topbar
--------------------------------------------------------------*/

.topbar {
	background-color: var(--color-topbar-bg);
	color: var(--color-topbar-text);
	padding: 6px 0;
	font-size: 0.8rem;
}

.topbar-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.topbar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-md);
}

.topbar-info {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	flex-wrap: wrap;
}

.topbar-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.topbar-icon {
	font-size: 1em;
}

.topbar-separator {
	color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
}

.topbar-text {
	color: inherit;
}

.topbar a,
.topbar-link {
	color: inherit;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
}

.topbar a:hover,
.topbar-link:hover {
	text-decoration: underline;
}

.topbar-lang {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lang-flag {
	font-size: 1.3em;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.lang-flag:hover,
.lang-flag.active {
	opacity: 1;
}

/* Topbar responsive */
@media (max-width: 768px) {
	.topbar-content {
		flex-direction: column;
		gap: var(--space-xs);
	}

	.topbar-info {
		justify-content: center;
	}

	.topbar-separator {
		display: none;
	}

	.topbar-item {
		font-size: 0.85em;
	}
}

/*--------------------------------------------------------------
## Header & Navigation
--------------------------------------------------------------*/

.site-header {
	background-color: var(--color-header-bg);
	color: var(--color-header-text);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 80px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.site-title,
.site-description {
	display: none;
}

/* NAVIGATION - Mobile First */
.main-navigation {
	position: relative;
	margin-left: auto;
}

.menu-toggle {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	background: none;
	border: none;
	color: var(--color-header-text);
	font-size: var(--font-size-base);
	cursor: pointer;
	padding: var(--space-sm);
}

.hamburger {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hamburger-line {
	width: 20px;
	height: 2px;
	background-color: currentColor;
	transition: all 0.3s ease;
}

/* Menu mobile nascosto di default */
#primary-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: var(--color-header-bg);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	min-width: 200px;
	padding: var(--space-sm) 0;
}

#primary-menu.toggled {
	display: block;
}

#primary-menu li {
	list-style: none;
	margin: 0;
}

#primary-menu a {
	display: block;
	padding: var(--space-sm) var(--space-md);
	color: var(--color-header-text);
	text-decoration: none;
	transition: background-color 0.3s ease;
}

#primary-menu a:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

/* NAVIGATION - Desktop */
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	#primary-menu {
		display: flex !important;
		flex-direction: row;
		position: static;
		background: none;
		box-shadow: none;
		padding: 0;
		gap: var(--space-md);
		list-style: none;
		margin: 0;
	}

	#primary-menu a {
		padding: var(--space-sm);
		background: none;
	}

	/* Pulsante PRENOTA nel menu (solo primo livello) */
	#primary-menu > li:last-child > a {
		background-color: #78827A;
		color: #ffffff;
		padding: 15px 25px;
		border-radius: 15px;
		transition: background-color 0.3s ease;
		font-weight: bold;
	}

	#primary-menu > li:last-child > a:hover {
		background-color: #c17d73;
	}

	/* ── Submenu (dropdown) ── */
	#primary-menu ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		background: #fff;
		min-width: 220px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.12);
		border-radius: 8px;
		padding: 0.5rem 0;
		z-index: 9999;
		flex-direction: column;
	}

	#primary-menu li:hover > ul,
	#primary-menu li.focus > ul {
		display: flex;
	}

	#primary-menu ul li {
		display: block;
		width: 100%;
	}

	#primary-menu ul a {
		display: block;
		padding: 0.65rem 1.25rem;
		color: var(--color-heading, #2c3e50);
		font-size: 0.95rem;
		font-weight: normal;
		white-space: nowrap;
		transition: background-color 0.2s, color 0.2s;
	}

	#primary-menu ul a:hover {
		background-color: #f5f5f5;
		color: var(--color-primary, #d8948b);
	}

	/* Reset stile Prenota nei submenu */
	#primary-menu ul li:last-child a,
	#primary-menu ul li a {
		background-color: transparent;
		color: var(--color-heading, #2c3e50);
		padding: 0.65rem 1.25rem;
		border-radius: 0;
		font-weight: normal;
	}

	#primary-menu ul li:last-child a:hover,
	#primary-menu ul li a:hover {
		background-color: #f5f5f5;
		color: var(--color-primary, #d8948b);
	}
}

/*--------------------------------------------------------------
## Footer & Copyright
--------------------------------------------------------------*/

.site-footer {
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
	margin-top: auto;
}

.footer-content {
	padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--space-xl);
}

.footer-column {
	/* Base styling per ogni colonna */
}

.footer-title {
	color: var(--color-footer-text);
	font-size: 0.95rem;
	margin-bottom: var(--space-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.footer-description {
	font-size: 0.85rem;
	line-height: 1.5;
}

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

.footer-menu li {
	margin-bottom: 2px;
	line-height: 1.4;
}

.footer-menu a {
	color: var(--color-footer-text);
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.3s ease;
	font-size: 0.85rem;
}

.footer-menu a:hover {
	opacity: 1;
	text-decoration: underline;
}

.social-links {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.social-link {
	font-size: var(--font-size-xl);
	text-decoration: none;
	transition: transform 0.3s ease;
}

.social-link:hover {
	transform: scale(1.2);
}

/* FOOTER COMPANY INFO (Colonna 1) */
.footer-company-info {
	margin-top: var(--space-sm);
	font-size: 0.8rem;
	opacity: 0.75;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.footer-company-info .company-name {
	font-weight: 600;
}

.footer-company-info .company-vat,
.footer-company-info .company-address,
.footer-company-info .company-auth {
	opacity: 0.9;
}
.footer-reviews {
    background-color: #f8f6f4;
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-reviews .section-title {
    margin-bottom: var(--space-lg);
}

/* ── Iubenda: nasconde il pulsante privacy choices fisso ── */
.iubenda-tp-btn,
.iub__us-widget {
	display: none !important;
}

/* FOOTER LEGAL LINKS (Colonna 4) */
.footer-legal-links {
	margin-top: var(--space-sm);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.footer-legal-links a {
	color: var(--color-footer-text);
	text-decoration: none;
	opacity: 0.8;
	font-size: 0.8rem;
	line-height: 1.4;
	transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-credits {
	margin-top: var(--space-xs);
	opacity: 0.55;
	font-size: 0.75rem;
}

.footer-credits a {
	color: var(--color-footer-text);
	text-decoration: none;
}

.footer-credits a:hover {
	text-decoration: underline;
}

/* Responsive Footer */
@media (min-width: 768px) {
	.footer-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-container {
		grid-template-columns: repeat(4, 1fr);
	}
}

/*--------------------------------------------------------------
## Breadcrumbs
--------------------------------------------------------------*/

.breadcrumbs {
	padding: var(--space-sm) 0;
	font-size: 0.8rem;
	color: #666;
}

.breadcrumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
}

.breadcrumb-item {
	display: inline-flex;
	align-items: center;
}

.breadcrumb-item a {
	color: #78827A;
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
	color: #5a625c;
	text-decoration: underline;
}

.breadcrumb-current {
	color: #999;
}

.breadcrumb-sep {
	color: #ccc;
	margin: 0 0.2em;
}

/* Breadcrumb containers */
.post-breadcrumbs,
.page-breadcrumbs {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.post-breadcrumbs {
	padding-top: var(--space-md);
}

/*--------------------------------------------------------------
## Content Areas
--------------------------------------------------------------*/

/* Base page layout */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#primary {
	flex: 1;
	padding-bottom: var(--space-lg) 0;
}

/* Homepage: no padding per hero fullheight */
.homepage #primary {
	padding: 0;
}

.site-main {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Homepage: no max-width constraints */
.homepage .site-main {
	max-width: 100%;
	padding: 0;
}

/* Override any default styling that might interfere */
* {
	box-sizing: border-box;
}

/*==============================================================
# HOMEPAGE TEMPLATE
==============================================================*/

/*--------------------------------------------------------------
## Hero Slideshow - Owl Carousel
--------------------------------------------------------------*/

.hero-slideshow {
	position: relative;
	width: 100%;
	height: 100vh;
	max-height: 650px;
	min-height: 500px;
	overflow: hidden;
}

.hero-slideshow .owl-carousel {
	height: 100%;
}

.hero-slideshow .owl-stage-outer,
.hero-slideshow .owl-stage,
.hero-slideshow .owl-item {
	height: 100%;
}

.slide-item {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slide-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
	z-index: 1;
}

.slide-content {
	position: relative;
	z-index: 2;
	color: #ffffff;
	text-align: left;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.slide-title {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	margin-bottom: var(--space-sm);
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	background-color: rgba(100, 111, 102, 0.85);
	padding: var(--space-sm) var(--space-md);
	display: inline-block;
}

.slide-subtitle {
	font-size: 1.6rem;
	margin-top: var(--space-sm);
	margin-bottom: var(--space-sm);
	opacity: 0.95;
	text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.slide-cta {
	display: inline-block;
	padding: var(--space-md) var(--space-xl);
	font-size: var(--font-size-lg);
}

/* Owl Carousel Navigation */
.hero-slideshow .owl-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 10;
	pointer-events: none;
}

.hero-slideshow .owl-nav button {
	position: absolute;
	background: rgba(255,255,255,0.2) !important;
	border: none;
	color: #ffffff !important;
	font-size: 2.5rem !important;
	padding: 10px 20px !important;
	cursor: pointer;
	transition: background 0.3s ease;
	backdrop-filter: blur(10px);
	pointer-events: all;
	line-height: 1;
}

.hero-slideshow .owl-nav button:hover {
	background: rgba(255,255,255,0.4) !important;
}

.hero-slideshow .owl-nav .owl-prev {
	left: var(--space-md);
}

.hero-slideshow .owl-nav .owl-next {
	right: var(--space-md);
}

/* Owl Carousel Dots */
.hero-slideshow .owl-dots {
	position: absolute;
	bottom: var(--space-lg);
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: var(--space-sm);
	display:none;
}

.hero-slideshow .owl-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5) !important;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.hero-slideshow .owl-dot.active {
	background: #ffffff !important;
	transform: scale(1.2);
}

/* Responsive Hero */
@media (min-width: 768px) {
	.slide-title {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.slide-title {
		font-size: 4rem;
	}
}

/*--------------------------------------------------------------
## Features Section (3 Boxes)
--------------------------------------------------------------*/

.features-section {
	padding: var(--space-xxl) 0;
	background-color: #EBE7E2;
	overflow: inherit;
}

.features-grid {
	margin-top: var(--space-lg);
}

.feature-box {
	overflow: visible;
	text-align: center;
	height: 100%;
	border-radius:	0px 60px 0px 60px;
	display: flex;
	flex-direction: column;
}

.feature-box .card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.feature-box .feature-link {
	margin-top: auto;
	align-self: center;
}

.feature-icon {
	font-size: 3rem;
	color: var(--color-topbar-bg);
	margin-bottom: var(--space-md);
}

.feature-icon .dashicons {
	width: 64px;
	height: 64px;
	font-size: 64px;
}

.feature-icon img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.feature-title {
	font-size: var(--font-size-xl);
	margin-bottom: var(--space-sm);
	color: var(--color-header-text);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
	color:#646F66;
    font-size: 3em;
	font-weight: lighter;
    position: absolute;
    z-index: 5;
    top: -30px;
    left: 50%;
    translate: -50%;
    width: 100%;
	
	               
}

.feature-text {
	margin-bottom: var(--space-md);
	color: #666;
	padding: 0 10px 0 10px;
	text-align: left;
}

.feature-link {
	color: var(--color-topbar-bg);
	text-decoration: none;
	transition: color 0.3s ease;
    text-decoration: none;
    font-weight: lighter;
    transition: color 0.3s 
ease;
    background-color: #D8948B;
    padding: 5px 30px;
    border-radius: 5px;
    color: #ffffff !important;
    font-size: 18px;
}

.feature-link:hover {
	color: var(--color-header-text);
}

.card-content {
    padding: var(--space-md);
    position: relative;
    z-index: 1;
    overflow: initial;
}

/*--------------------------------------------------------------
## Welcome Section
--------------------------------------------------------------*/

.welcome-section {
	padding: var(--space-xxl) 0;
	text-align: center;
	background: transparent;
}

.welcome-text {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2rem;
	font-weight: 300;
	color: #78827A;
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.welcome-text {
		font-size: 2.8rem;
	}
}

/*--------------------------------------------------------------
## Mission Sections
--------------------------------------------------------------*/

.mission-section {
	padding: 0 0 80px 0;
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* Shape colorata di background */
.mission-section::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 70%;
	z-index: 0;
}

/* Sezione 1 - Shape Verde */
.mission-left::before {
	background-color: #646f66;
	top: 50%;
	right: 0;
	transform: translateY(-60%);
	width: 65%;
    height: 100%;
}

.mission-left {
	color: #ffffff;
}

/* Sezione 2 - Shape Beige */
.mission-right::before {
	background-color: #f5f3f0;
	top: 50%;
	left: 0;
	transform: translateY(-60%);
	width: 65%;
    height: 100%;
}

.mission-right {
	color: #333333;
}

.mission-grid {
	align-items: center;
	gap: 60px;
	position: relative;
	z-index: 1;
}

.mission-image {
	position: relative;
	overflow: visible;
	width: 100%;
	z-index: 1;
}

.mission-image img {
	margin: 30px 0 20px;
	width: auto;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 30px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.mission-content {
	padding: var(--space-md);
	position: relative;
	z-index: 1;
}

.mission-left .mission-title,
.mission-left .mission-text {
	color: #ffffff;
}

.mission-right .mission-title {
	color: #78827A;
}

.mission-right .mission-text {
	color: #333333;
}

.mission-title {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2.8rem;
	margin-bottom: var(--space-lg);
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.mission-text {
	font-size: 1.1rem;
	line-height: 1.8;
}

.mission-text p {
	margin-bottom: 1em;
}

.mission-text p:last-child {
	margin-bottom: 0;
}

/* Liste con frecce per mission sections */
.mission-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mission-text ul li {
	position: relative;
	padding-left: 30px;

}

.mission-text ul li:before {
	content: "→";
	position: absolute;
	left: 0;
	font-size: 1.2em;
	opacity: 0.8;
}

/* Desktop: layout a 2 colonne */
@media (min-width: 768px) {
	.mission-grid {
		display: flex;
		flex-direction: row;
	}

	.mission-image,
	.mission-content {
		flex: 1;
	}
}

/*--------------------------------------------------------------
## News Section
--------------------------------------------------------------*/

.news-section {
	padding: var(--space-xxl) 0;
	background-color: #ffffff;
}

.section-title {
	text-align: center;
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2.8rem;
	font-weight: 300;
	margin-bottom: var(--space-xl);
	color: #78827A;
	letter-spacing: -0.02em;
}

.news-grid {
	margin-top: var(--space-lg);
}

.news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-image {
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.news-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
	transform: scale(1.1);
}

.news-card .card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-title {
	font-size: var(--font-size-lg);
	margin-bottom: var(--space-sm);
}

.news-title a {
	color: var(--color-header-text);
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-title a:hover {
	color: var(--color-topbar-bg);
}

.news-meta {
	font-size: var(--font-size-sm);
	color: #999;
	margin-bottom: var(--space-sm);
}

.news-excerpt {
	flex: 1;
	margin-bottom: var(--space-md);
	color: #666;
}

.news-link {
	color: var(--color-topbar-bg);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
	margin-top: auto;
}

.news-link:hover {
	color: var(--color-header-text);
}

/*--------------------------------------------------------------
## Banner Section
--------------------------------------------------------------*/

.banner-section {
	position: relative;
	padding: var(--space-xxl) 0;
	background-color: var(--color-topbar-bg);
	color: #ffffff;
	overflow: hidden;
}

.banner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
	z-index: 1;
}

.banner-section .container {
	position: relative;
	z-index: 2;
}

.banner-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	gap: var(--space-xl);
}

.banner-image img {
	max-width: 200px;
	height: auto;
}

.banner-text {
	font-size: var(--font-size-xl);
	line-height: 1.6;
}

.banner-text h2,
.banner-text h3 {
	color: #ffffff;
	margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
	.banner-content {
		flex-direction: row;
		text-align: left;
	}

	.banner-text {
		font-size: var(--font-size-2xl);
	}
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-headings);
	font-weight: 600;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 0.75em;
	color: var(--color-header-text);
}

h1 {
	font-size: var(--font-size-3xl);
	font-weight: 700;
}

h2 {
	font-size: var(--font-size-2xl);
	font-weight: 600;
}

h3 {
	font-size: var(--font-size-xl);
	font-weight: 600;
}

h4 {
	font-size: var(--font-size-lg);
	font-weight: 500;
}

h5 {
	font-size: var(--font-size-base);
	font-weight: 500;
}

h6 {
	font-size: var(--font-size-sm);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
## Single Cure Page
--------------------------------------------------------------*/

.cure-page-wrapper {
	padding: var(--space-xxl) 0;
	background-color: #fafafa;
}

/* Layout con proporzione aurea: 62% - 38% */
.cure-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 992px) {
	.cure-layout {
		grid-template-columns: 1.618fr 1fr; /* Proporzione aurea */
		gap: 50px;
	}
}

.cure-main {
	background: #ffffff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cure-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

/* Header */
.cure-single .entry-header {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 2px solid #e9ecef;
}

.cure-single .entry-title {
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin-bottom: 20px;
	line-height: 1.3;
}

.cure-single .servizio-image {
	margin-top: 30px;
	border-radius: 8px;
	overflow: hidden;
}

.cure-single .servizio-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Sezioni contenuto */
.servizio-info > div {
	margin-bottom: 35px;
}

.servizio-info h3,
.servizio-info h4 {
	font-family: var(--font-heading);
	font-weight: 300;
	color: var(--color-header-text);
	margin-bottom: 15px;
}

.servizio-info h3 {
	font-size: 1.8rem;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9ecef;
}

.servizio-info h4 {
	font-size: 1.2rem;
	margin-bottom: 8px;
	color: #646f66;
}

.servizio-descrizione .descrizione-content,
.servizio-preparazione .preparazione-content,
.servizio-modalita .modalita-content,
.servizio-orari .orari-content {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #555;
}

/* Details box - Calendario + Prezzo + Pulsante */
.servizio-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 25px;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 30px 0;
}

@media (min-width: 768px) {
	.servizio-details {
		grid-template-columns: 1.6fr 0.8fr;
		gap: 40px;
	}
}

.details-left {
	padding-bottom: 20px;
}

@media (min-width: 768px) {
	.details-left {
		border-right: 1px solid #dee2e6;
		padding-right: 30px;
		padding-bottom: 0;
	}
}

.details-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.servizio-prezzo {
	text-align: center;
	width: 100%;
}

.servizio-prezzo h4 {
	margin-bottom: 10px;
	font-size: 1rem;
	color: #646f66;
}

.prezzo-value {
	font-size: 2rem;
	font-weight: 400;
	color: var(--color-header-text);
	margin: 0;
}

.btn-prenota-box {
	display: inline-block;
	width: 100%;
	max-width: 200px;
	padding: 15px 20px;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.btn-prenota-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Sezione Età spostata fuori dal box */
.servizio-eta-info {
	margin-bottom: 35px;
}

.servizio-eta-info h3 {
	font-size: 1.8rem;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9ecef;
	margin-bottom: 15px;
}

.servizio-eta-info p {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #555;
}

/* Sidebar */
.cure-sidebar .widget {
	background: #ffffff;
	padding: 25px;
	margin-bottom: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cure-sidebar .widget-title {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 300;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e9ecef;
}

/* Responsive */
@media (max-width: 991px) {
	.cure-main {
		padding: 25px;
	}

	.cure-single .entry-title {
		font-size: 2rem;
	}

	.cure-sidebar {
		position: static;
	}
}

/*--------------------------------------------------------------
## Specialità Archive (Taxonomy)
--------------------------------------------------------------*/

.specialita-archive-wrapper {
	padding: var(--space-xxl) 0;
	background-color: #fafafa;
}

/* Archive Header */
.archive-header {
	text-align: center;
	margin-bottom: 60px;
	padding-bottom: 40px;
	border-bottom: 2px solid #e9ecef;
}

.archive-title {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin-bottom: 20px;
	line-height: 1.2;
}

.archive-description {
	max-width: 800px;
	margin: 0 auto;
}

.archive-description p {
	font-size: 1.2rem;
	line-height: 1.7;
	color: #666;
}

/* Layout con proporzione aurea */
.specialita-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 992px) {
	.specialita-layout {
		grid-template-columns: 1.618fr 1fr;
		gap: 50px;
	}
}

/* Grid delle specialità - 1 colonna */
.specialita-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

/* Specialità Card */
.specialita-card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	overflow: hidden;
}

.specialita-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.specialita-card-content {
	padding: 35px;
}

.specialita-title {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 300;
	margin-bottom: 20px;
	line-height: 1.3;
}

.specialita-title a {
	color: #d8948b;
	text-decoration: none;
	transition: color 0.3s ease;
}

.specialita-title a:hover {
	color: #c17d73;
}

.specialita-description {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 25px;
}

.specialita-description p:last-child {
	margin-bottom: 0;
}

.specialita-link {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	color: #646f66;
	text-decoration: none;
	transition: all 0.3s ease;
	padding-top: 15px;
	border-top: 1px solid #e9ecef;
}

.specialita-link:hover {
	color: #d8948b;
	transform: translateX(5px);
}

/* Sidebar Specialità */
.specialita-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

.specialita-sidebar .widget {
	background: #ffffff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specialita-sidebar .widget-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 300;
	color: #ffffff;
	background-color: #78827A;
	margin: -30px -30px 25px -30px;
	padding: 20px 30px;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
}

.cure-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cure-list li {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.cure-list li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.cure-list a {
	font-size: 1rem;
	color: #555;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
}

.cure-list a:hover {
	color: #d8948b;
	padding-left: 5px;
}

/* Responsive Specialità Archive */
@media (max-width: 991px) {
	.archive-title {
		font-size: 2.2rem;
	}

	.archive-description p {
		font-size: 1.1rem;
	}

	.specialita-sidebar {
		position: static;
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.archive-header {
		margin-bottom: 40px;
		padding-bottom: 30px;
	}

	.archive-title {
		font-size: 1.8rem;
	}

	.specialita-card-content {
		padding: 25px;
	}

	.specialita-title {
		font-size: 1.5rem;
	}
}

/*--------------------------------------------------------------
## Page Templates (Con/Senza Sidebar)
--------------------------------------------------------------*/

.page-wrapper {
	padding: var(--space-xxl) 0;
	background-color: #fafafa;
}

/* Page Header */
.page-header {
	text-align: center;
	margin-bottom: 60px;
	padding-bottom: 40px;
	border-bottom: 2px solid #e9ecef;
}

.page-title {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin: 0;
	line-height: 1.2;
}

/* Layout con Sidebar - Proporzione aurea */
.page-layout.with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 992px) {
	.page-layout.with-sidebar {
		grid-template-columns: 1.618fr 1fr;
		gap: 50px;
	}
}

/* Layout Fullwidth */
.page-layout.fullwidth {
	max-width: 900px;
	margin: 0 auto;
}

/* Main Content */
.page-main {
	background: #ffffff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-content,
.landing-content {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #555;
}

.page-content h2,
.landing-content h2 {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin-top: 40px;
	margin-bottom: 20px;
}

.page-content h3,
.landing-content h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin-top: 30px;
	margin-bottom: 15px;
}

.page-content p,
.landing-content p {
	margin-bottom: 20px;
}

.page-content ul,
.page-content ol,
.landing-content ul,
.landing-content ol {
	margin-bottom: 20px;
	padding-left: 25px;
}

.page-content li,
.landing-content li {
	margin-bottom: 10px;
}

/* Page Sidebar */
.page-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

.page-sidebar .widget {
	background: #ffffff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	margin-bottom: 25px;
}

.page-sidebar .widget-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 300;
	color: #ffffff;
	background-color: #78827A;
	margin: -30px -30px 25px -30px;
	padding: 20px 30px;
	border-radius: 8px 8px 0 0;
}

.page-sidebar .page-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-sidebar .page-list li {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.page-sidebar .page-list li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.page-sidebar .page-list a {
	font-size: 1rem;
	color: #555;
	text-decoration: none;
	transition: color 0.3s ease;
}

.page-sidebar .page-list a:hover {
	color: #d8948b;
}

/* Responsive Page Templates */
@media (max-width: 991px) {
	.page-title {
		font-size: 2.2rem;
	}

	.page-main {
		padding: 25px;
	}

	.page-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.page-header {
		margin-bottom: 40px;
		padding-bottom: 30px;
	}

	.page-title {
		font-size: 1.8rem;
	}

	.page-content h2,
	.landing-content h2 {
		font-size: 1.6rem;
	}

	.page-content h3,
	.landing-content h3 {
		font-size: 1.3rem;
	}
}

/*--------------------------------------------------------------
## Chi Siamo - Equipe
--------------------------------------------------------------*/

.equipe-section {
	margin-top: 80px;
}

.equipe-section .archive-header {
	margin-bottom: 50px;
}

/* Dottore in evidenza (primo) */
.dottore-featured {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	margin-bottom: 50px;
	overflow: hidden;
}

.dottore-featured-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 768px) {
	.dottore-featured-inner {
		grid-template-columns: 400px 1fr;
	}
}

.dottore-featured-image {
	position: relative;
	overflow: hidden;
}

.dottore-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 300px;
}

.dottore-featured-content {
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dottore-nome {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 300;
	color: var(--color-header-text);
	margin: 0 0 10px 0;
}

.dottore-titolo {
	font-size: 1.1rem;
	color: #d8948b;
	margin: 0 0 20px 0;
	font-weight: 500;
}

.dottore-specialita {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.specialita-tag {
	display: inline-block;
	background-color: #E6B9B4;
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.specialita-tag:hover {
	background-color: #D8948B;
	color: #ffffff;
}

.dottore-tags {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dottore-specialita,
.dottore-lingue {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lingua-tag {
	display: inline-block;
	background-color: #A9B6BC;
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
}

.dottore-bio {
	font-size: 1rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 20px;
}

.dottore-bio p:last-child {
	margin-bottom: 0;
}

.dottore-lingua {
	font-size: 0.95rem;
	color: #666;
	margin: 0;
}

/* Griglia altri dottori (4 per riga) */
.dottori-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 576px) {
	.dottori-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.dottori-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Card dottore */
.dottore-card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	overflow: hidden;
	transition: all 0.3s ease;
}

.dottore-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.dottore-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.dottore-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dottore-card-content {
	padding: 25px;
	text-align: center;
}

.dottore-card .dottore-nome {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.dottore-card .dottore-titolo {
	font-size: 0.95rem;
	margin-bottom: 15px;
}

.dottore-card .dottore-tags {
	justify-content: center;
}

.dottore-card .dottore-specialita,
.dottore-card .dottore-lingue {
	justify-content: center;
}

.dottore-card .specialita-tag,
.dottore-card .lingua-tag {
	font-size: 0.75rem;
	padding: 4px 10px;
}

/* Responsive Equipe */
@media (max-width: 767px) {
	.equipe-section {
		margin-top: 50px;
	}

	.dottore-featured-content {
		padding: 25px;
	}

	.dottore-nome {
		font-size: 1.6rem;
	}
}

/* ==========================================================================
   Cure Tags - Pagina Specialità
   ========================================================================== */

.specialita-cure-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 15px;
}

.cure-tag {
	display: inline-block;
	background-color: #E6B9B4;
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cure-tag:hover {
	background-color: #D8948B;
	color: #ffffff;
}

/* ==========================================================================
   Pagina 404
   ========================================================================== */

.error-404 {
	padding: 60px 0;
}

.error-404-container {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 0 20px;
}

.error-404-image {
	margin-bottom: 30px;
}

.error-404-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.error-404 .page-title {
	font-size: 2rem;
	margin-bottom: 15px;
	color: #333;
}

.error-404 .page-content p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 25px;
}

.btn-back-home {
	display: inline-block;
	background-color: #78827A;
	color: #ffffff;
	padding: 12px 30px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-back-home:hover {
	background-color: #5a6259;
	color: #ffffff;
}

/* ==========================================================================
   Pagina Ricerca
   ========================================================================== */

.search-results-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.search-result-item {
	display: flex;
	gap: 25px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	padding: 25px;
	transition: all 0.3s ease;
}

.search-result-item:hover {
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-result-thumbnail {
	flex-shrink: 0;
	width: 150px;
}

.search-result-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
}

.search-result-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.search-result-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.search-result-title {
	font-size: 1.3rem;
	margin: 0;
}

.search-result-title a {
	color: #333;
	text-decoration: none;
}

.search-result-title a:hover {
	color: #78827A;
}

.search-result-type {
	background-color: #E6B9B4;
	color: #ffffff;
	padding: 3px 10px;
	border-radius: 15px;
	font-size: 0.75rem;
	text-transform: uppercase;
}

.search-result-excerpt {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 15px;
}

.search-result-excerpt p {
	margin: 0;
}

.search-result-link {
	color: #78827A;
	font-weight: 500;
	text-decoration: none;
	align-self: flex-start;
}

.search-result-link:hover {
	text-decoration: underline;
}

.no-results {
	text-align: center;
	padding: 60px 20px;
}

.no-results p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 25px;
}

.no-results .search-form {
	max-width: 400px;
	margin: 0 auto;
}

@media (max-width: 576px) {
	.search-result-item {
		flex-direction: column;
	}

	.search-result-thumbnail {
		width: 100%;
	}
}

/* ==========================================================================
   Landing Pages
   ========================================================================== */

.landing-wrapper {
	padding: 60px 0 0;
}

.landing-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Blocchi Gutenberg wide e full-width */
.landing-content .alignwide {
	max-width: 1400px;
	margin-left: calc(50% - 700px);
	margin-right: calc(50% - 700px);
	width: auto;
}

.landing-content .alignfull {
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

@media (max-width: 1440px) {
	.landing-content .alignwide {
		max-width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
	}
}

.landing-content h3.TITLE-H3 {
    margin-bottom: var(--space-sm);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background-color: #d8948b;
    padding: 5px 10px;
    display: inline-block;
}

/* ==========================================================================
   Single Dottore - Pagina Profilo
   ========================================================================== */

.dottore-page-wrapper {
	background-color: #fafafa;
}

/* Hero */
.dottore-hero {
	background: #ffffff;
	padding: var(--space-xxl) 0;
	border-bottom: 1px solid #eee;
}

.dottore-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	align-items: center;
}

@media (min-width: 768px) {
	.dottore-hero-grid {
		grid-template-columns: 300px 1fr;
	}
}

@media (min-width: 992px) {
	.dottore-hero-grid {
		grid-template-columns: 380px 1fr;
	}
}

.dottore-hero-photo {
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
}

.dottore-hero-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dottore-photo-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: linear-gradient(135deg, #d8948b, #78827a);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dottore-photo-placeholder span {
	font-size: 5rem;
	color: #ffffff;
	font-weight: 300;
	font-family: var(--font-heading);
	text-transform: uppercase;
}

.dottore-hero-info {
	text-align: left;
}

.dottore-profile-name {
	font-family: var(--font-heading);
	font-size: 2.4rem;
	font-weight: 300;
	color: var(--color-text);
	margin: 0 0 8px;
	line-height: 1.2;
}

.dottore-profile-title {
	font-size: 1.15rem;
	color: #d8948b;
	font-weight: 500;
	margin: 0 0 20px;
}

.dottore-profile-specialita {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.dottore-profile-lingua {
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.dottore-profile-cta .btn {
	display: inline-block;
}

@media (max-width: 767px) {
	.dottore-hero-photo {
		max-width: 260px;
	}

	.dottore-hero-info {
		text-align: center;
	}

	.dottore-profile-name {
		font-size: 1.8rem;
	}

	.dottore-profile-specialita {
		justify-content: center;
	}

	.dottore-profile-cta {
		text-align: center;
	}
}

/* Body */
.dottore-body {
	padding: var(--space-xxl) 0;
}

.dottore-body-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 992px) {
	.dottore-body-grid {
		grid-template-columns: 1fr 350px;
	}
}

.dottore-body-main {
	min-width: 0;
}

.dottore-section {
	background: #ffffff;
	padding: 35px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	margin-bottom: var(--space-lg);
}

.dottore-section h2 {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 300;
	color: var(--color-text);
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #d8948b;
}

.dottore-bio-content {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
}

.dottore-bio-content p:last-child {
	margin-bottom: 0;
}

/* Sidebar dottore */
.dottore-body-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

.dottore-body-sidebar .widget {
	background: #ffffff;
	padding: 25px;
	margin-bottom: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dottore-body-sidebar .widget-title {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--color-text);
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #d8948b;
}

.dottore-prestazioni-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dottore-prestazioni-widget li {
	border-bottom: 1px solid #eee;
}

.dottore-prestazioni-widget li:last-child {
	border-bottom: none;
}

.dottore-prestazioni-widget a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.dottore-prestazioni-widget a:hover {
	color: #d8948b;
}

.prestazione-nome {
	flex: 1;
	font-size: 0.95rem;
}

.prestazione-prezzo {
	font-weight: 600;
	color: #78827a;
	font-size: 0.9rem;
	white-space: nowrap;
	margin-left: 10px;
}

@media (max-width: 991px) {
	.dottore-body-sidebar {
		position: static;
	}
}

/* ==========================================================================
   Cure - Medici di Riferimento (in single-cure.php)
   ========================================================================== */

.cure-medici-section {
	margin-top: var(--space-xl);
	margin-bottom: var(--space-xl);
	padding-top: var(--space-lg);
	border-top: 2px solid #eee;
}

.cure-medici-section h3 {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--color-text);
	margin-bottom: 20px;
}

.cure-medici-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.cure-medico-card {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #f8f8f8;
	border-radius: 8px;
	padding: 15px 20px;
	text-decoration: none;
	color: var(--color-text);
	transition: all 0.3s ease;
	flex: 0 1 auto;
	min-width: 250px;
}

.cure-medico-card:hover {
	background: #f0f0f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	color: var(--color-text);
}

.cure-medico-photo {
	flex-shrink: 0;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	overflow: hidden;
}

.cure-medico-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cure-medico-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #d8948b, #78827a);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.4rem;
	font-weight: 300;
}

.cure-medico-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cure-medico-name {
	font-size: 1rem;
	font-weight: 600;
}

.cure-medico-title {
	font-size: 0.85rem;
	color: #d8948b;
}

/* ==========================================================================
   Taxonomy Specialità - Pagina Singola Specialità
   ========================================================================== */

.specialita-single-wrapper {
	padding: var(--space-xxl) 0;
	background-color: #fafafa;
}

.specialita-header {
	margin-bottom: var(--space-xl);
}

.specialita-page-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--color-text);
	margin: 0 0 15px;
}

.specialita-page-description {
	font-size: 1.1rem;
	color: #666;
	line-height: 1.7;
	max-width: 700px;
}

.specialita-page-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 992px) {
	.specialita-page-layout {
		grid-template-columns: 1fr 320px;
	}
}

.specialita-page-main {
	min-width: 0;
}

.section-subtitle {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-text);
	margin: 0 0 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid #d8948b;
}

/* Cards Cure */
.cure-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
	margin-bottom: var(--space-xl);
}

.cure-card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: all 0.3s ease;
}

.cure-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cure-card-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.cure-card-content {
	padding: 20px;
}

.cure-card-title {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 500;
	margin: 0 0 10px;
}

.cure-card-title a {
	color: var(--color-text);
	text-decoration: none;
}

.cure-card-title a:hover {
	color: #d8948b;
}

.cure-card-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 0.9rem;
}

.cure-card-prezzo {
	font-weight: 600;
	color: #78827a;
}

.cure-card-eta {
	color: #888;
}

.cure-card-link {
	font-size: 0.9rem;
	color: #d8948b;
	text-decoration: none;
	font-weight: 500;
}

.cure-card-link:hover {
	text-decoration: underline;
}

/* Medici nella pagina specialità */
.specialita-medici-section {
	margin-top: var(--space-lg);
}

.medici-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.medico-mini-card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: all 0.3s ease;
}

.medico-mini-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.medico-mini-link {
	display: block;
	text-decoration: none;
	color: var(--color-text);
	padding: 20px;
	text-align: center;
}

.medico-mini-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 15px;
}

.medico-mini-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.medico-mini-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #d8948b, #78827a);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 2rem;
	font-weight: 300;
}

.medico-mini-name {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 500;
	margin: 0 0 4px;
}

.medico-mini-title {
	font-size: 0.85rem;
	color: #d8948b;
	margin: 0;
}

/* Sidebar specialità */
.specialita-page-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

.specialita-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.specialita-nav-list li {
	border-bottom: 1px solid #eee;
}

.specialita-nav-list li:last-child {
	border-bottom: none;
}

.specialita-nav-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	color: var(--color-text);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

.specialita-nav-list a:hover {
	color: #d8948b;
}

.specialita-nav-list .current a {
	color: #d8948b;
	font-weight: 600;
}

.specialita-nav-list .count {
	font-size: 0.8rem;
	color: #999;
}

/* Widget CTA */
.cta-widget {
	background: #78827a;
	color: #ffffff;
}

.cta-widget .widget-title {
	color: #ffffff;
	border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 15px;
}

.btn-block {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.specialita-page-sidebar {
		position: static;
	}

	.specialita-page-title {
		font-size: 2rem;
	}
}

/* ==========================================================================
   Prenotazioni Page
   ========================================================================== */

.prenotazioni-wrapper {
	padding: var(--space-xl, 3rem) 0;
	background: #f8f9fa;
	min-height: 60vh;
}

.prenotazioni-header {
	text-align: center;
	margin-bottom: var(--space-xl, 3rem);
}

.prenotazioni-title {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2.4rem;
	color: var(--color-heading, #2c3e50);
	margin-bottom: 0.5rem;
}

.prenotazioni-intro {
	max-width: 640px;
	margin: 0 auto;
	color: #555;
	font-size: 1.05rem;
	line-height: 1.6;
}

.prenotazioni-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: var(--space-lg, 2rem);
	align-items: start;
}

/* ── Form ── */

.prenotazione-form {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
	padding: 2rem;
}

.form-section {
	border: none;
	padding: 0;
	margin: 0 0 2rem;
}

.form-section + .form-section {
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.form-section-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--color-heading, #2c3e50);
	margin-bottom: 1.25rem;
	font-family: var(--font-headings, 'Open Sans', sans-serif);
}

.form-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--color-primary, #d8948b);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	flex-shrink: 0;
}

.form-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #333;
	margin-bottom: 0.4rem;
}

.form-label abbr {
	color: var(--color-primary, #d8948b);
	text-decoration: none;
}

.form-label-hint {
	font-weight: 400;
	color: #888;
	font-size: 0.85rem;
}

.form-field {
	margin-bottom: 1rem;
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	color: #333;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--color-primary, #d8948b);
	box-shadow: 0 0 0 3px rgba(216, 148, 139, 0.15);
}

.form-textarea {
	resize: vertical;
	min-height: 80px;
}

.form-row {
	display: grid;
	gap: 1rem;
}

.form-row-2 {
	grid-template-columns: 1fr 1fr;
}

/* Error state */
.form-field.has-error .form-input,
.form-field.has-error .form-select,
.form-field.has-error .form-textarea {
	border-color: #e74c3c;
}

.form-field.has-error .cure-search-input {
	border-color: #e74c3c;
}

.field-error {
	display: block;
	color: #e74c3c;
	font-size: 0.8rem;
	margin-top: 0.3rem;
}

/* ── Autocomplete ── */

.cure-autocomplete {
	position: relative;
}

.cure-search-field {
	position: relative;
}

.cure-search-input {
	padding-right: 2.5rem;
}

.cure-search-icon {
	position: absolute;
	right: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
	pointer-events: none;
	line-height: 1;
}

.cure-search-field.has-selection .cure-search-input,
.cure-search-field.has-selection .cure-search-icon {
	display: none;
}

/* Dropdown */
.cure-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	border: 2px solid var(--color-primary, #d8948b);
	border-top: none;
	display: none;
	max-height: 320px;
	overflow-y: auto;
}

.cure-dropdown.is-open {
	display: block;
}

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

.cure-dd-item {
	padding: 0.7rem 1rem;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.15s;
}

.cure-dd-item:last-child {
	border-bottom: none;
}

.cure-dd-item:hover,
.cure-dd-item.is-active {
	background: rgba(216, 148, 139, 0.08);
}

.cure-dd-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.cure-dd-title {
	font-weight: 500;
	color: #333;
}

.cure-dd-title mark {
	background: rgba(216, 148, 139, 0.25);
	color: inherit;
	border-radius: 2px;
	padding: 0 1px;
}

.cure-dd-price {
	font-weight: 600;
	color: var(--color-primary, #d8948b);
	font-size: 0.9rem;
	white-space: nowrap;
}

.cure-dd-eta {
	display: block;
	font-size: 0.8rem;
	color: #888;
	margin-top: 2px;
}

.cure-dd-status {
	padding: 1rem;
	text-align: center;
	color: #888;
	font-size: 0.9rem;
}

.cure-dd-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid #e0e0e0;
	border-top-color: var(--color-primary, #d8948b);
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	vertical-align: middle;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Selected card */
.cure-selected {
	display: none;
}

.cure-selected.is-visible {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 1rem;
	background: rgba(216, 148, 139, 0.08);
	border: 2px solid var(--color-primary, #d8948b);
	border-radius: 8px;
	gap: 0.75rem;
}

.cure-selected-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
	min-width: 0;
}

.cure-selected-title {
	color: var(--color-heading, #2c3e50);
	font-size: 0.95rem;
}

.cure-selected-price {
	font-weight: 600;
	color: var(--color-primary, #d8948b);
	font-size: 0.9rem;
	white-space: nowrap;
}

.cure-selected-remove {
	background: none;
	border: none;
	font-size: 1.4rem;
	color: #999;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	transition: color 0.2s;
	flex-shrink: 0;
}

.cure-selected-remove:hover {
	color: #e74c3c;
}

/* Orari info box */
.orari-info-box {
	display: none;
	margin-top: 1rem;
	padding: 1rem 1.25rem;
	background: #f0f7ff;
	border-radius: 8px;
	border-left: 4px solid #3498db;
}

.orari-info-box.is-visible {
	display: block;
}

.orari-info-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #2980b9;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.orari-info-content {
	font-size: 0.9rem;
	color: #444;
	line-height: 1.6;
}

.orari-info-content p {
	margin: 0.25rem 0;
}

/* Dottore field */
.dottore-field {
	display: none;
	margin-top: 1rem;
}

.dottore-field.is-visible {
	display: block;
}

/* ── Checkboxes ── */

.form-field-checkbox {
	margin-bottom: 0.75rem;
}

.form-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	cursor: pointer;
	line-height: 1.5;
	font-size: 0.9rem;
}

.form-checkbox-label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.checkmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 2px solid #ccc;
	border-radius: 4px;
	background: #fff;
	flex-shrink: 0;
	margin-top: 1px;
	transition: all 0.2s;
}

.form-checkbox-label input[type="checkbox"]:checked + .checkmark {
	background: var(--color-primary, #d8948b);
	border-color: var(--color-primary, #d8948b);
}

.form-checkbox-label input[type="checkbox"]:checked + .checkmark::after {
	content: '';
	display: block;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-bottom: 2px;
}

.form-checkbox-label input[type="checkbox"]:focus + .checkmark {
	box-shadow: 0 0 0 3px rgba(216, 148, 139, 0.2);
}

.form-field-checkbox.has-error .checkmark {
	border-color: #e74c3c;
}

.checkbox-text a {
	color: var(--color-primary, #d8948b);
	text-decoration: underline;
}

/* Privacy - prominente */
.form-field-privacy {
	padding: 0.75rem 1rem;
	background: #fdf5f4;
	border-radius: 8px;
	border: 1px solid rgba(216, 148, 139, 0.2);
}

/* Newsletter - ben visibile */
.form-field-newsletter {
	padding: 0.75rem 1rem;
	background: #f0f7ff;
	border-radius: 8px;
	border: 1px solid rgba(52, 152, 219, 0.15);
}

/* ── Submit ── */

.form-submit-area {
	text-align: center;
	padding-top: 1rem;
}

.btn-prenota-submit {
	display: inline-block;
	padding: 0.9rem 2.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	letter-spacing: 0.02em;
}

.btn-prenota-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.form-submit-note {
	font-size: 0.85rem;
	color: #888;
	margin-top: 0.5rem;
}

/* Form message */
.form-message {
	margin-top: 1rem;
	padding: 0;
	border-radius: 8px;
	font-size: 0.95rem;
	text-align: center;
	transition: all 0.3s;
}

.form-message.is-success {
	padding: 1rem 1.25rem;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.is-error {
	padding: 1rem 1.25rem;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* ── Sidebar ── */

.prenotazioni-sidebar .widget {
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
	margin-bottom: 1.25rem;
}

.prenotazioni-sidebar .widget-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-heading, #2c3e50);
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--color-primary, #d8948b);
}

.prenotazioni-tel-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-primary, #d8948b);
	text-decoration: none;
	margin-top: 0.75rem;
	transition: color 0.2s;
}

.prenotazioni-tel-link:hover {
	color: var(--color-heading, #2c3e50);
}

.prenotazioni-wa-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #25d366;
	text-decoration: none;
	margin-top: 0.75rem;
	transition: color 0.2s;
}

.prenotazioni-wa-link:hover {
	color: #128c7e;
}

.prenotazioni-orari-content {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #555;
}

.prenotazioni-orari-content p {
	margin: 0.25rem 0;
}

.prenotazioni-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: steps;
}

.prenotazioni-steps li {
	counter-increment: steps;
	padding: 0.5rem 0 0.5rem 2.25rem;
	position: relative;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.5;
	border-bottom: 1px solid #f0f0f0;
}

.prenotazioni-steps li:last-child {
	border-bottom: none;
}

.prenotazioni-steps li::before {
	content: counter(steps);
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-primary, #d8948b);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ── Responsive ── */

@media (max-width: 991px) {
	.prenotazioni-layout {
		grid-template-columns: 1fr;
	}

	.prenotazioni-sidebar {
		order: -1;
	}

	.prenotazioni-sidebar .widget {
		margin-bottom: 1rem;
	}
}

@media (max-width: 600px) {
	.prenotazioni-wrapper {
		padding: 1.5rem 0;
	}

	.prenotazione-form {
		padding: 1.25rem;
		border-radius: 8px;
	}

	.form-row-2 {
		grid-template-columns: 1fr;
	}

	.prenotazioni-title {
		font-size: 1.8rem;
	}

	.cure-selected.is-visible {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.cure-selected-info {
		flex-direction: column;
		gap: 0.25rem;
	}

	.cure-selected-remove {
		align-self: flex-end;
		position: absolute;
		top: 0.5rem;
		right: 0.5rem;
	}

	.cure-selected.is-visible {
		position: relative;
	}
}

/* ==========================================================================
   Editoriale Page
   ========================================================================== */

.editoriale-wrapper {
	padding: var(--space-xl, 3rem) 0;
	background: #f8f9fa;
	min-height: 60vh;
}

.editoriale-header {
	text-align: center;
	margin-bottom: var(--space-xl, 3rem);
}

.editoriale-title {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2.4rem;
	color: var(--color-heading, #2c3e50);
	margin-bottom: 0.5rem;
}

.editoriale-intro {
	max-width: 640px;
	margin: 0 auto;
	color: #555;
	font-size: 1.1rem;
	line-height: 1.6;
}

.editoriale-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.editoriale-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
	transition: transform 0.2s, box-shadow 0.2s;
}

.editoriale-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.editoriale-card-image {
	aspect-ratio: 16/10;
	overflow: hidden;
}

.editoriale-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.editoriale-card:hover .editoriale-card-image img {
	transform: scale(1.05);
}

.editoriale-card-content {
	padding: 1.5rem;
}

.editoriale-card-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.85rem;
	color: #888;
	margin-bottom: 0.75rem;
}

.editoriale-card-cat a {
	color: var(--color-primary, #d8948b);
	text-decoration: none;
	font-weight: 500;
}

.editoriale-card-cat a:hover {
	text-decoration: underline;
}

.editoriale-card-title {
	font-size: 1.25rem;
	line-height: 1.35;
	margin: 0 0 0.75rem;
}

.editoriale-card-title a {
	color: var(--color-heading, #2c3e50);
	text-decoration: none;
	transition: color 0.2s;
}

.editoriale-card-title a:hover {
	color: var(--color-primary, #d8948b);
}

.editoriale-card-excerpt {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.editoriale-card-excerpt p {
	margin: 0;
}

.editoriale-card-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-primary, #d8948b);
	text-decoration: none;
	transition: color 0.2s;
}

.editoriale-card-link:hover {
	color: var(--color-heading, #2c3e50);
}

/* Paginazione */
.editoriale-pagination {
	margin-top: var(--space-xl, 3rem);
	text-align: center;
}

.editoriale-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.editoriale-pagination li {
	display: inline-block;
}

.editoriale-pagination a,
.editoriale-pagination span {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	text-decoration: none;
	font-size: 0.95rem;
	transition: background-color 0.2s, color 0.2s;
}

.editoriale-pagination a {
	background: #fff;
	color: var(--color-heading, #2c3e50);
	border: 1px solid #ddd;
}

.editoriale-pagination a:hover {
	background: var(--color-primary, #d8948b);
	color: #fff;
	border-color: var(--color-primary, #d8948b);
}

.editoriale-pagination .current {
	background: var(--color-primary, #d8948b);
	color: #fff;
	border: 1px solid var(--color-primary, #d8948b);
}

.editoriale-no-posts {
	text-align: center;
	padding: 3rem;
	background: #fff;
	border-radius: 12px;
}

/* Responsive */
@media (max-width: 991px) {
	.editoriale-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.editoriale-wrapper {
		padding: 1.5rem 0;
	}

	.editoriale-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.editoriale-title {
		font-size: 1.8rem;
	}

	.editoriale-card-content {
		padding: 1.25rem;
	}
}

/* ==========================================================================
   La Struttura - Galleria
   ========================================================================== */

.struttura-wrapper {
	background: #f8f9fa;
	min-height: 60vh;
}

.struttura-hero {
	padding: var(--space-xxl, 4rem) 0 var(--space-xl, 3rem);
	text-align: center;
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.struttura-title {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 2.8rem;
	color: var(--color-heading, #2c3e50);
	margin-bottom: 1rem;
	font-weight: 300;
	letter-spacing: -0.02em;
}

.struttura-intro {
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.2rem;
	color: #666;
	line-height: 1.7;
	font-weight: 300;
}

.struttura-gallery {
	padding: 0 0 var(--space-xxl, 4rem);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 4/3;
	cursor: pointer;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	transition: background 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
	background: rgba(0,0,0,0.15);
}

.gallery-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem;
	color: #888;
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0,0,0,0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	max-width: 90vw;
	max-height: 90vh;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	padding: 1rem;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	opacity: 1;
}

.lightbox-close {
	top: 1rem;
	right: 1rem;
	font-size: 2.5rem;
}

.lightbox-prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

/* CTA */
.struttura-cta {
	background: #fff;
	padding: var(--space-xl, 3rem) 0;
	text-align: center;
}

.struttura-cta h2 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
}

.struttura-cta p {
	color: #666;
	margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 991px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.struttura-hero {
		padding: 2rem 0 1.5rem;
	}

	.struttura-title {
		font-size: 2rem;
	}

	.struttura-intro {
		font-size: 1rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.lightbox-prev,
	.lightbox-next {
		font-size: 1.5rem;
		padding: 0.5rem;
	}
}

/* ==========================================================================
   Single Post - Editorial Style
   ========================================================================== */

.single-post-editorial {
	background: #fff;
}

/* Header */
.post-header {
	padding: var(--space-xxl, 4rem) 0 var(--space-lg, 2rem);
	text-align: center;
	background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.post-header-inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--container-padding, 1.5rem);
}

.post-category {
	margin-bottom: 1.5rem;
}

.post-category a {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-primary, #d8948b);
	text-decoration: none;
	padding: 0.4rem 1rem;
	border: 1px solid var(--color-primary, #d8948b);
	border-radius: 20px;
	transition: all 0.2s;
}

.post-category a:hover {
	background: var(--color-primary, #d8948b);
	color: #fff;
}

.post-title {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 300;
	line-height: 1.2;
	color: var(--color-heading, #2c3e50);
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
}

.post-meta {
	font-size: 0.95rem;
	color: #888;
}

.post-meta time {
	font-weight: 500;
}

.post-meta-sep {
	margin: 0 0.5rem;
}

.post-updated {
	font-style: italic;
}

/* Featured Image */
.post-featured-image {
	max-width: 1000px;
	margin: 0 auto var(--space-xl, 3rem);
	padding: 0 var(--container-padding, 1.5rem);
}

.post-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.post-featured-image figcaption {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	color: #888;
	text-align: center;
	font-style: italic;
}

/* Content */
.post-content {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--container-padding, 1.5rem) var(--space-xl, 3rem);
	font-size: 1.125rem;
	line-height: 1.8;
	color: #333;
}

.post-content h2 {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 1.75rem;
	font-weight: 400;
	color: var(--color-heading, #2c3e50);
	margin: 2.5rem 0 1rem;
	letter-spacing: -0.01em;
}

.post-content h3 {
	font-family: var(--font-headings, 'Open Sans', sans-serif);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--color-heading, #2c3e50);
	margin: 2rem 0 0.75rem;
}

.post-content p {
	margin-bottom: 1.5rem;
}

.post-content a {
	color: var(--color-primary, #d8948b);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-content a:hover {
	color: var(--color-heading, #2c3e50);
}

.post-content ul,
.post-content ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.post-content li {
	margin-bottom: 0.5rem;
}

.post-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background: #f8f9fa;
	border-left: 4px solid var(--color-primary, #d8948b);
	border-radius: 0 8px 8px 0;
	font-size: 1.1rem;
	font-style: italic;
	color: #555;
}

.post-content blockquote p:last-child {
	margin-bottom: 0;
}

.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5rem 0;
}

.post-content hr {
	border: none;
	border-top: 1px solid #e5e5e5;
	margin: 2.5rem 0;
}

/* Footer / Tags */
.post-footer {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--container-padding, 1.5rem) var(--space-lg, 2rem);
	border-top: 1px solid #eee;
	padding-top: var(--space-lg, 2rem);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-tag {
	display: inline-block;
	font-size: 0.85rem;
	color: #666;
	background: #f5f5f5;
	padding: 0.4rem 0.9rem;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.2s;
}

.post-tag:hover {
	background: var(--color-primary, #d8948b);
	color: #fff;
}

/* Navigation */
.post-navigation {
	max-width: 900px;
	margin: 0 auto;
	padding: var(--space-lg, 2rem) var(--container-padding, 1.5rem) var(--space-xxl, 4rem);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.post-nav-link {
	display: block;
	padding: 1.5rem;
	background: #f8f9fa;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s;
}

.post-nav-link:hover {
	background: #f0f0f0;
	transform: translateY(-2px);
}

.post-nav-prev {
	text-align: left;
}

.post-nav-next {
	text-align: right;
}

.post-nav-label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	margin-bottom: 0.5rem;
}

.post-nav-title {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-heading, #2c3e50);
	line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
	.post-header {
		padding: 2rem 0 1.5rem;
	}

	.post-title {
		font-size: 1.8rem;
	}

	.post-content {
		font-size: 1rem;
		line-height: 1.75;
	}

	.post-content h2 {
		font-size: 1.4rem;
	}

	.post-content h3 {
		font-size: 1.2rem;
	}

	.post-navigation {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.post-nav-next {
		text-align: left;
	}
}

/* ==========================================================================
   Sidebar Marketing
   ========================================================================== */

.sidebar-banner-widget {
	margin-bottom: 1.5rem;
}

.sidebar-banner-img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.sidebar-banner-link {
	display: block;
	transition: opacity 0.2s ease;
}

.sidebar-banner-link:hover {
	opacity: 0.9;
}

.sidebar-articoli-widget {
	margin-bottom: 1.5rem;
}

.sidebar-articoli-widget .widget-title {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--color-topbar-bg, #d8948b);
}

.sidebar-articoli-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-articolo-item {
	display: flex;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
}

.sidebar-articolo-item:last-child {
	border-bottom: none;
}

.sidebar-articolo-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 6px;
	overflow: hidden;
}

.sidebar-articolo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-articolo-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.sidebar-articolo-title {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-articolo-title:hover {
	color: var(--color-topbar-bg, #d8948b);
}

.sidebar-articolo-date {
	font-size: 0.78rem;
	color: #999;
	margin-top: 0.25rem;
}

/* Sidebar marketing: nascosta su mobile */
@media (max-width: 767px) {
	.sidebar-banner-widget,
	.sidebar-articoli-widget {
		display: none;
	}
}

/* ==========================================================================
   HOMEPAGE MOBILE FIXES
   ========================================================================== */

@media (max-width: 767px) {

	/* ── Hero: sottotitolo più piccolo ── */
	.slide-subtitle {
		font-size: 1rem;
		line-height: 1.4;
		margin-top: var(--space-xs);
		margin-bottom: var(--space-xs);
	}

	.hero-slideshow {
		height: 420px;
		max-height: none;
		min-height: 0;
	}

	/* ── Features: margine sotto i box ── */
	.features-section {
		padding-bottom: var(--space-lg);
	}

	.features-section .grid-3-cols {
		gap: 30px;
	}

	/* ── Welcome phrase più piccola ── */
	.welcome-text {
		font-size: 1.4rem;
		line-height: 1.35;
	}

	.welcome-section {
		padding: var(--space-xl) 0;
	}

	/* ── Mission sections: leggibilità e compattezza ── */
	.mission-section {
		padding: 0 0 40px 0;
	}

	.mission-left::before,
	.mission-right::before {
		width: 100%;
		height: 60%;
		top: auto;
		bottom: 0;
		transform: none;
		border-radius: 0;
	}

	.mission-title {
		font-size: 1.8rem;
		line-height: 1.2;
		margin-bottom: var(--space-md);
	}

	.mission-text {
		font-size: 1rem;
		line-height: 1.5;
	}

	/* Testo bianco su verde: migliorare contrasto */
	.mission-left .mission-content {
		background-color: rgba(100, 111, 102, 0.92);
		padding: var(--space-lg) var(--space-md);
		border-radius: 12px;
		margin: 0 var(--space-sm);
	}

	/* Testo su sfondo beige: migliorare contrasto */
	.mission-right .mission-content {
		background-color: rgba(245, 243, 240, 0.95);
		padding: var(--space-lg) var(--space-md);
		border-radius: 12px;
		margin: 0 var(--space-sm);
	}

	.mission-image img {
		margin: 15px 0 10px;
		border-radius: 16px;
	}

	.mission-grid {
		gap: 20px;
	}

	/* ── Menu hamburger: più grande, senza testo ── */
	.menu-toggle-text {
		display: none;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 10px;
		min-height: 44px;
		min-width: 44px;
	}

	.hamburger {
		gap: 5px;
	}

	.hamburger-line {
		width: 28px;
		height: 3px;
		border-radius: 2px;
	}

	/* Header: allineamento verticale */
	.header-container {
		align-items: center;
	}

	/* ── Mobile menu: full-width dropdown ── */
	.main-navigation {
		position: static;
	}

	#primary-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		max-height: 80vh;
		overflow-y: auto;
		border-radius: 0;
		background: var(--color-header-bg, #fff);
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	}

	#primary-menu li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	#primary-menu li:last-child {
		border-bottom: none;
	}

	#primary-menu a {
		padding: 14px 20px;
		font-size: 1rem;
	}

	/* Sottomenu mobile: niente absolute né float, inline flow.
	   Senza float:none il sottomenu esce dal flusso, il li padre non cresce
	   e la voce successiva (position:relative) copre i link del sottomenu. */
	#primary-menu ul {
		position: static;
		float: none;
		box-shadow: none;
		border-radius: 0;
		min-width: 0;
		width: 100%;
		background: #f8f7f5;
		padding: 0;
		display: none;
	}

	#primary-menu li.toggled-submenu > ul {
		display: block;
	}

	#primary-menu ul a {
		padding-left: 36px;
		font-size: 0.92rem;
		color: #555;
	}

	#primary-menu ul a:hover {
		background-color: #eee;
	}

	/* Indicatore freccia per voci con sottomenu */
	#primary-menu li.menu-item-has-children > a {
		position: relative;
		padding-right: 44px;
	}

	#primary-menu li.menu-item-has-children > a::after {
		content: '';
		position: absolute;
		right: 18px;
		top: 50%;
		width: 8px;
		height: 8px;
		border-right: 2px solid #999;
		border-bottom: 2px solid #999;
		transform: translateY(-60%) rotate(45deg);
		transition: transform 0.25s ease;
	}

	#primary-menu li.menu-item-has-children.toggled-submenu > a::after {
		transform: translateY(-30%) rotate(-135deg);
	}

	/* Prenota: stile evidenziato nel menu mobile */
	#primary-menu > li:last-child > a {
		background-color: #78827A;
		color: #ffffff;
		text-align: center;
		margin: 10px 15px;
		border-radius: 10px;
		font-weight: 600;
	}
}
