/**
 * Stili pagine contenuto – copia fedele da sito originale (style.css + custom.css)
 * News, archivio, sidebar categorie, form ricerca, pulsanti, paginazione.
 */

/* ========== Titolo pagina (come .sec-title h2 sito originale) ========== */
.site-main .page-title {
	font-size: 30px;
	font-weight: bold;
	color: #323232;
	text-transform: uppercase;
	font-family: "Open Sans", sans-serif;
	border: none;
	padding-bottom: 0;
	margin-bottom: 1em;
}
.site-main .page-title::after {
	content: '';
	display: block;
	width: 55px;
	height: 3px;
	background: #e10101;
	margin-top: 13px;
}

/* ========== Testo e paragrafi (come .news p, .sec-title p originale) ========== */
.site-main .entry-content,
.site-main .entry-summary,
.site-main .entry-content p,
.site-main .entry-summary p {
	font: 400 14px/26px "Open Sans", sans-serif;
	color: #595959;
	letter-spacing: 0.3px;
}

/* ========== Titoli articoli (come .single-blog-post h3) ========== */
.site-main .entry-title,
.site-main .entry-archive .entry-title {
	color: #010101;
	font-weight: 600;
	font-size: 20px;
	margin: 0.6em 0 0;
	padding: 0 0 0.8em;
	text-transform: none;
}
.site-main .entry-title a {
	color: #010101;
}
.site-main .entry-title a:hover {
	color: #e10101;
	text-decoration: none;
}

/* ========== Meta (data) ========== */
.site-main .entry-meta {
	font: 400 14px/18px "Open Sans", sans-serif;
	color: #595959;
	margin: 0.3em 0 0.5em;
}

/* ========== Pulsante "Leggi tutto" (come .single-blog-post a.read-more) ========== */
.site-main .btn-default,
.site-main .btn-sm,
.site-main a.btn.btn-default,
.site-main a.btn.btn-sm {
	text-transform: uppercase;
	color: #000;
	font-size: 12px;
	font-weight: 600;
	border: 1px solid #cbcbcb;
	background: transparent;
	padding: 8px 16px;
	line-height: 1.5;
	transition: all 0.3s ease;
}
.site-main .btn-default:hover,
.site-main .btn-sm:hover,
.site-main a.btn.btn-default:hover,
.site-main a.btn.btn-sm:hover {
	color: #FBB12F;
	background: transparent;
	border-color: #FBB12F;
	text-decoration: none;
}
.site-main a.btn.btn-default::after,
.site-main a.btn.btn-sm::after {
	content:'\f105';
	font-family: 'FontAwesome';
	margin-left: 10px;
}

/* ========== Form ricerca + select (come .widget-search-blog sito originale) ========== */
.site-main .news-filters .news-search-form {
	margin-bottom: 40px;
}
.site-main .news-filters .form-control,
.site-main .news-filters input[type="search"] {
	height: 45px;
	border-radius: 0;
	border: 1px solid #e9e9e9;
	font: 1em/1em "Open Sans", sans-serif;
	padding: 0 20px;
	box-shadow: none;
	color: #242424;
}
.site-main .news-filters .form-control::placeholder,
.site-main .news-filters input::placeholder {
	color: #c0c0c0;
}
.site-main .news-filters select.form-control {
	height: 45px;
	border-radius: 0;
	border: 1px solid #e9e9e9;
	font: 1em/1em "Open Sans", sans-serif;
	padding: 0 15px;
}
.site-main .news-filters .btn-primary {
	height: 45px;
	line-height: 43px;
	padding: 0 25px;
	border-radius: 0;
	background: #e10101;
	border: none;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.site-main .news-filters .btn-primary:hover {
	background: #e10101;
	color: #fff;
	border: none;
}

/* ========== Sidebar categorie (come .single-sidebar-widget .special-links) ========== */
.news-sidebar .news-categories-widget {
	margin-bottom: 50px;
}
.news-sidebar .news-categories-widget .widget-title {
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #323232;
	font-family: "Open Sans", sans-serif;
	border: none;
	padding: 0;
	margin-bottom: 20px;
}
.news-sidebar .news-categories-widget .widget-title::after {
	content: '';
	display: block;
	width: 55px;
	height: 3px;
	background: #e10101;
	margin-top: 13px;
}

/* Titolo pagina e tassonomia certificazioni: stesso stile della sidebar (.widget-title) */
.certificazioni-page .page-title {
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #323232;
	font-family: "Open Sans", sans-serif;
	border: none;
	padding: 0;
	margin-bottom: 20px;
}
.certificazioni-page .page-title::after {
	content: '';
	display: block;
	width: 55px;
	height: 3px;
	background: #e10101;
	margin-top: 13px;
}

/* Titolo pagine Chi siamo (Elementor): stesso stile della sidebar */
.chi-siamo-page .page-title {
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #323232;
	font-family: "Open Sans", sans-serif;
	border: none;
	padding: 0;
	margin-bottom: 20px;
}
.chi-siamo-page .page-title::after {
	content: '';
	display: block;
	width: 55px;
	height: 3px;
	background: #e10101;
	margin-top: 13px;
}

/* Titolo pagine CERSA: stesso stile della sidebar */
.cersa-page .page-title {
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #323232;
	font-family: "Open Sans", sans-serif;
	border: none;
	padding: 0;
	margin-bottom: 20px;
}
.cersa-page .page-title::after {
	content: '';
	display: block;
	width: 55px;
	height: 3px;
	background: #e10101;
	margin-top: 13px;
}

/* Immagine + slogan a sinistra del contenuto (come div.img-sx originale) */
.single-service-page .cersa-img-sx {
	float: left;
	width: 150px;
	margin: 0 1.5em 1em 0;
	text-align: center;
}
.single-service-page .cersa-img-sx img {
	display: block;
	width: 150px;
	height: auto;
	border: 0;
}
.single-service-page .cersa-img-sx .cersa-servizio-tagline {
	font: italic 12px/18px "Open Sans", sans-serif;
	color: #595959;
	margin: 0.8em 0 0;
	text-align: center;
}
.single-service-page .cersa-servizio-body {
	/* Contiene il float a sinistra e impedisce sfilacciamenti di layout */
	overflow: hidden;
}

@media (max-width: 480px) {
	.single-service-page .cersa-img-sx {
		float: none;
		width: auto;
		max-width: 200px;
		margin: 0 auto 1em;
	}
}

/* Tabella gruppi CERSA (come pagina originale: sezioni + righe con norma) */
.cersa-gruppo-table-wrap {
	margin-top: 1em;
}
.cersa-gruppo-table {
	width: 100%;
	border-collapse: collapse;
	font-family: "Open Sans", sans-serif;
}
.cersa-gruppo-table td,
.cersa-gruppo-table th {
	text-align: left;
	padding: 8px;
	vertical-align: top;
}
.cersa-gruppo-table .cersa-section-header {
	font-size: 14px;
	background-color: #fff;
	color: #008e4e;
	line-height: 22px;
	font-weight: bold;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
.cersa-gruppo-table tr:nth-child(even):not(.cersa-section-row) {
	background-color: #eee;
}
.cersa-gruppo-table tr.cersa-section-row {
	background-color: #fff;
}
.cersa-gruppo-table a {
	color: #008e4e;
}
.cersa-gruppo-table a:hover {
	color: #e10101;
	text-decoration: none;
}

/* Immagine principale certificazioni: affiancata al testo, con testo che la circonda */
.certificazioni-page .certificazione-immagine-principale {
	float: left;
	max-width: 45%;
	margin: 0 1.5em 1em 0;
}
.certificazioni-page .certificazione-immagine-principale img {
	display: block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.certificazioni-page .certificazione-immagini {
	clear: both;
}

.news-categories-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.news-categories-list li {
	margin-bottom: 5px;
}
.news-categories-list li:last-child {
	margin-bottom: 0;
}
.news-categories-list a {
	background: #f9f9f9;
	color: #242424 !important;
	border: 1px solid #e9e9e9;
	font-weight: 600;
	text-transform: uppercase;
	display: block;
	line-height: 50px;
	padding: 0 20px;
	transition: all 0.3s ease;
	position: relative;
	text-decoration: none !important;
}
.news-categories-list a:hover,
.news-categories-list li.current-cat a {
	background: #fff;
	color: #e10101 !important;
	text-decoration: none !important;
}
.news-categories-list a::after {
	content: '\f105';
	font-family: 'FontAwesome';
	position: absolute;
	top: 0;
	right: 20px;
	line-height: 50px;
	color: #6A6969;
	font-weight: normal;
}
.news-categories-list li.current-cat a::after,
.news-categories-list a:hover::after {
	color: inherit;
}
.news-categories-list a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	width: 0;
	height: 100%;
	border-left: 4px solid #e10101;
	opacity: 0;
	transition: all 0.3s ease;
}
.news-categories-list a:hover::before,
.news-categories-list li.current-cat a::before {
	opacity: 1;
}

/* ========== Riga articoli archivio (come .single-blog-post) ========== */
.archive-news .entry-news,
.search-results .entry-news {
	padding-bottom: 2em;
	margin-bottom: 50px;
	border-bottom: 1px solid #e6e6e6;
}
.archive-news .entry-news:last-child,
.search-results .entry-news:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

/* ========== Paginazione – stile unificato (nav.navigation.pagination) ========== */
.site-main .navigation.pagination {
	position: relative;
	margin-top: 50px;
	margin-bottom: 2em;
}
.site-main .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.site-main .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	line-height: 44px;
	background: #fff;
	color: #595959;
	font-size: 16px;
	font-weight: 500;
	font-family: "Open Sans", sans-serif;
	border: 1px solid #e2e2e2;
	text-align: center;
	transition: all 0.3s ease;
	text-decoration: none;
	box-sizing: border-box;
}
.site-main .nav-links a.page-numbers:hover {
	background: var(--icmq-primary, #e10101);
	color: #fff;
	border-color: var(--icmq-primary, #e10101);
	text-decoration: none;
}
.site-main .nav-links .page-numbers.current {
	background: var(--icmq-primary, #e10101);
	color: #fff;
	border-color: var(--icmq-primary, #e10101);
	font-weight: 600;
	cursor: default;
}
.site-main .nav-links .page-numbers.prev,
.site-main .nav-links .page-numbers.next {
	min-width: auto;
	padding: 0 16px;
}
.site-main .navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ========== Link generici in contenuto (come sito originale) ========== */
.site-main .entry-content a,
.site-main .entry-summary a {
	color: #23527C;
	font-weight: 600;
}
.site-main .entry-content a:hover,
.site-main .entry-summary a:hover {
	color: #009bb2;
	text-decoration: underline;
}

/* ========== Pagine sezione (Chi siamo, ecc.) – layout come .single-service-page ========== */
.single-service-page.sectpad {
	padding-top: 2.7em;
	padding-bottom: 2.7em;
}

/* ========== Sidebar Chi siamo (.single-sidebar-widget .special-links – come custom.css) ========== */
.single-service-page .single-sidebar-widget .special-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.single-service-page .single-sidebar-widget .special-links li a {
	display: block;
	line-height: 30px;
	padding: 0 20px;
	color: #242424;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	border-left: 4px solid transparent;
}
.single-service-page .single-sidebar-widget .special-links li a:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #e10101;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.single-service-page .single-sidebar-widget .special-links li a:hover,
.single-service-page .single-sidebar-widget .special-links li.active a {
	background: #fff;
	color: #e10101;
}
.single-service-page .single-sidebar-widget .special-links li:hover a:before,
.single-service-page .single-sidebar-widget .special-links li.active a:before {
	opacity: 1;
}
.single-service-page .single-sidebar-widget .special-links li a:after {
	content: '\f105';
	font-family: 'FontAwesome';
	position: absolute;
	right: 20px;
	top: 0;
	line-height: 30px;
	color: #6a6969;
	font-weight: normal;
}
.single-service-page .single-sidebar-widget .special-links li.active a:after,
.single-service-page .single-sidebar-widget .special-links li a:hover:after {
	color: inherit;
}

/* ========== Sidebar: spaziatura come .pull-right .single-sidebar-widget ========== */
@media (min-width: 768px) {
	.news-sidebar {
		padding-left: 50px;
	}
	.chi-siamo-sidebar {
		padding-left: 30px;
	}
	.certificazioni-sidebar {
		padding-left: 30px;
	}
}

/* Sottopagine nella sidebar Certificazioni (elenco annidato) */
.certificazioni-sidebar-widget .certificazioni-subpages {
	margin-top: 0.5em;
	padding-left: 1em;
	border-left: 2px solid #e6e6e6;
}
.certificazioni-sidebar-widget .certificazioni-subpages li a {
	font-size: 0.95em;
}

/* ========== Singola news (dettaglio): come .single-blog-post / .news ========== */
.entry-single.entry-news .entry-header {
	padding-bottom: 1em;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 1.5em;
}
.entry-single.entry-news .entry-title {
	padding-bottom: 0;
}
.entry-single.entry-news .entry-content p {
	font: 400 14px/26px "Open Sans", sans-serif;
	color: #595959;
}
.entry-thumb-single {
	margin-bottom: 1.5em;
}
.entry-thumb-single img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ========== Pagina contatti: hotel convenzionato ========== */
.site-main .hotel-convenzionato-content {
	--hotel-bg-1: #f7f7f7;
	--hotel-bg-2: #efefef;
	--hotel-accent: #e10101;
	--hotel-link: #23527c;
	--hotel-text: #595959;
	margin: 1rem 0 2rem;
}
.site-main .hotel-convenzionato-content .elementor-container {
	max-width: 100%;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-hero {
	background:
		radial-gradient(900px 260px at 15% 0%, rgba(225, 1, 1, 0.08) 0%, rgba(225, 1, 1, 0) 65%),
		linear-gradient(125deg, var(--hotel-bg-1) 0%, var(--hotel-bg-2) 100%);
	border: 1px solid #e3e3e3;
	border-radius: 16px;
	padding: 1.4rem 1.45rem;
	margin-bottom: 1.15rem;
	position: relative;
	overflow: hidden;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-hero .elementor-widget-wrap {
	position: relative;
	z-index: 1;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -40px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(225, 1, 1, 0.14) 0%, rgba(225, 1, 1, 0) 70%);
	pointer-events: none;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-kicker {
	margin: 0 0 0.4rem;
	color: var(--hotel-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}
.site-main .hotel-convenzionato-content .elementor-heading-title {
	margin: 0;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
}
.site-main .hotel-convenzionato-content .elementor-heading-title a {
	color: #323232;
	text-decoration: none;
}
.site-main .hotel-convenzionato-content .elementor-heading-title a:hover {
	color: var(--hotel-accent);
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-lead {
	margin: 0.5rem 0 0;
	font-size: 15px;
	line-height: 25px;
	max-width: 730px;
	color: var(--hotel-text);
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-layout > .elementor-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	align-items: flex-start;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-layout .elementor-col-66 {
	flex: 1 1 620px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-layout .elementor-col-33 {
	flex: 1 1 260px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-card {
	background: linear-gradient(155deg, #ffffff 0%, #f7f7f7 100%);
	border: 1px solid #e1e1e1;
	border-radius: 14px;
	padding: 1.1rem;
	margin-bottom: 1rem;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-card:hover {
	transform: translateY(-2px);
	border-color: #d2d2d2;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-card-address {
	border-top: 5px solid #e10101;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-card-pricing {
	border-top: 5px solid #e10101;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-title {
	margin: 0 0 0.7rem;
	font-size: 13px;
	font-weight: 700;
	color: #6a6969;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-subtitle {
	margin: -0.2rem 0 0.8rem;
	color: #323232;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}
.site-main .hotel-convenzionato-content .elementor-icon-list-items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-main .hotel-convenzionato-content .elementor-icon-list-item {
	margin: 0 0 0.4rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	background: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-main .hotel-convenzionato-content .elementor-icon-list-item:hover {
	background: #fcfcfc;
	border-color: #d7d7d7;
}
.site-main .hotel-convenzionato-content .elementor-icon-list-text {
	color: #595959;
	line-height: 23px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.6rem;
	margin-bottom: 0.7rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-price-row {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.55rem;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
	padding: 0.8rem;
	min-height: 108px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-price-row:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-price-row strong {
	font-size: 17px;
	color: #323232;
	background: #fff;
	border: 1px solid #dddddd;
	border-radius: 999px;
	padding: 4px 11px;
	white-space: nowrap;
	align-self: flex-start;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-highlight {
	background: linear-gradient(90deg, rgba(225, 1, 1, 0.09) 0%, rgba(225, 1, 1, 0.02) 100%);
	border-left: 4px solid var(--hotel-accent);
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-highlight p {
	margin: 0;
	line-height: 22px;
	color: #595959;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-note-main {
	margin: 0.65rem 0 0;
	line-height: 23px;
	color: #595959;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-notes {
	background: linear-gradient(180deg, #f9f9f9 0%, #f3f3f3 100%);
	border: 1px solid #e1e1e1;
	border-radius: 14px;
	padding: 1rem 1.05rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-notes p {
	margin: 0;
	font-size: 13px;
	line-height: 21px;
	color: #595959;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-notes p + p {
	margin-top: 0.45rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-assistance {
	background: linear-gradient(180deg, #fefefe 0%, #f7f7f7 100%);
	border: 1px solid #e1e1e1;
	border-radius: 14px;
	padding: 1rem 1rem 1.1rem;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 1rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-assistance::before {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	background: #e10101;
	border-radius: 999px;
	margin-bottom: 0.7rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-assistance h4 {
	margin: 0 0 0.55rem;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.1px;
	color: #6a6969;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-phone-wrap {
	margin: 0.2rem 0 0.7rem;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-phone {
	display: inline-block;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.5px;
	font-weight: 700;
	color: #8b0000;
	text-decoration: none;
}
.site-main .hotel-convenzionato-content a {
	text-underline-offset: 2px;
	color: var(--hotel-link);
}
.site-main .hotel-convenzionato-content a:hover {
	text-decoration-thickness: 2px;
	color: #009bb2;
}
.site-main .hotel-convenzionato-content a:focus-visible {
	outline: 2px solid #e10101;
	outline-offset: 2px;
	border-radius: 3px;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-assistance p {
	margin: 0.35rem 0;
	line-height: 22px;
	color: #595959;
}
.site-main .hotel-convenzionato-content .hotel-convenzionato-mini-note {
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px dashed #d8d8d8;
	font-size: 12px;
	line-height: 20px;
	color: #6a6969;
}

@media (max-width: 767px) {
	.site-main .hotel-convenzionato-content .hotel-convenzionato-hero {
		border-radius: 12px;
	}
	.site-main .hotel-convenzionato-content .elementor-heading-title {
		font-size: 27px;
	}
	.site-main .hotel-convenzionato-content .hotel-convenzionato-assistance {
		position: static;
	}
	.site-main .hotel-convenzionato-content .hotel-convenzionato-phone {
		font-size: 26px;
	}
}
