/**
 * Urbangap – ritocchi al tema Uncode (Nextwave Italia)
 *
 * Caricato su TUTTE le pagine del frontend, anche dove non ci sono elementi
 * Urbangap (articoli del blog, pagine legali). Contiene solo colori e
 * tipografia del tema: niente layout.
 *
 * @since 1.2.1
 */

/* ==========================================================================
   Testi su sfondo chiaro — dal grigio neutro di Uncode (#777 / #303133)
   alla scala slate della palette Nextwave
   ========================================================================== */

body .style-light p,
body .style-light li,
body .style-light .uncode_text_column,
body .tmb-light .t-entry > p {
	color: #475569;
}

body .style-light h1,
body .style-light h2,
body .style-light h3,
body .style-light h4,
body .style-light h5,
body .style-light h6,
body .style-light .h1,
body .style-light .h2,
body .style-light .h3,
body .tmb-light .t-entry-title a {
	color: #0F172A;
}

/* ==========================================================================
   Blog — card dei post (griglia Uncode)
   ========================================================================== */

.tmb-light .t-entry-title {
	font-size: 17px !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
}

.tmb-light .t-entry-date {
	color: #0000FF !important;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 11px !important;
}

/* Anteprima a 4 righe: card della stessa altezza */
.tmb-light .t-entry > p:not( .t-entry-meta ) {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.65;
}

.tmb-bordered .t-inside {
	border-color: #e2e8f0 !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tmb-bordered:hover .t-inside {
	transform: translateY( -4px );
	box-shadow: 0 24px 48px -16px rgba( 15, 23, 42, 0.18 );
}

/* ==========================================================================
   Menu principale (desktop) — voci blu notte, hover e pagina attiva in blu
   ========================================================================== */

@media ( min-width: 960px ) {
	.menu-primary-inner > li > a {
		color: #0F172A !important;
		transition: color 0.2s ease;
	}

	.menu-primary-inner > li > a:hover,
	.menu-primary-inner > li.current-menu-item > a {
		color: #0000FF !important;
	}
}

/* ==========================================================================
   Pulsanti nativi Uncode — stessi angoli (16px) dei pulsanti Nextwave
   ========================================================================== */

a.btn.btn-custom-typo {
	border-radius: 16px !important;
}

/* ==========================================================================
   Recensioni Google (widget Trustindex) — font del sito, card bianche.
   Selettori rinforzati: il CSS del widget arriva dal CDN con !important.
   ========================================================================== */

.ti-widget,
.ti-widget * {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.ti-widget.ti-widget.ti-widget .ti-review-item.ti-review-item > .ti-inner.ti-inner.ti-inner {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 24px !important;
}
