/* Novaria Immobili – stile base.
   Colori e font si regolano dal child theme tramite le variabili qui sotto. */
:root {
	--nov-accent: #941a26;
	--nov-ink: #16181b;
	--nov-text: #2b2f33;
	--nov-muted: #6b7178;
	--nov-line: #e4e2de;
	--nov-soft: #f6f4f1;
	--nov-white: #fff;
	--nov-wa: #1f9e55;
	--nov-radius: 6px;
	--nov-radius-lg: 10px;
	--nov-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
	--nov-heading-font: inherit;
	--nov-wrap: 1240px;
	--nov-title-color: var(--nov-accent);   /* titoli degli annunci */
	--nov-price-color: var(--nov-accent);   /* prezzi */
	--nov-btn-radius: 999px;                /* pulsanti a pillola */
}

.nov-wrap { max-width: var(--nov-wrap); margin: 0 auto; padding: 0 20px; }
.nov-page { color: var(--nov-text); padding-bottom: 64px; }
.nov-page h1, .nov-page h2, .nov-page h3 { font-family: var(--nov-heading-font); color: var(--nov-ink); }
.nov-muted { color: var(--nov-muted); }
.nov-icon { flex: none; vertical-align: -3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
html.nov-noscroll { overflow: hidden; }

/* ---------- Pulsanti ---------- */
.nov-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--nov-radius); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.nov-btn--primary { background: var(--nov-accent); color: #fff; }
.nov-btn--primary:hover, .nov-btn--primary:focus { background: color-mix(in srgb, var(--nov-accent) 85%, #000); color: #fff; }
.nov-btn--ghost { background: transparent; border-color: var(--nov-line); color: var(--nov-ink); }
.nov-btn--ghost:hover { border-color: var(--nov-ink); color: var(--nov-ink); }
.nov-btn--light { background: #fff; border-color: var(--nov-line); color: var(--nov-ink); }
.nov-btn--light:hover { border-color: var(--nov-ink); color: var(--nov-ink); }
.nov-btn--wa { background: var(--nov-wa); color: #fff; }
.nov-btn--wa:hover { background: #17834a; color: #fff; }
.nov-btn--block { width: 100%; }

.nov-badge { display: inline-block; padding: 4px 8px; border-radius: 3px; background: rgba(22,24,27,.82); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.nov-badge--stato { background: var(--nov-accent); }

/* ---------- Intestazione archivio ---------- */
.nov-page-head { background: var(--nov-soft); border-bottom: 1px solid var(--nov-line); padding: 36px 0 28px; margin-bottom: 28px; }
.nov-page-title { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.nov-page-intro { margin: 0 0 16px; color: var(--nov-muted); max-width: 70ch; }

/* ---------- Scelta sede ---------- */
.nov-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--nov-line); border-radius: 999px; }
.nov-switch__label { align-self: center; padding: 0 8px 0 10px; font-size: 14px; color: var(--nov-muted); }
.nov-switch__item { text-decoration: none !important; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--nov-ink); text-decoration: none; }
.nov-switch__item:hover { background: var(--nov-soft); color: var(--nov-ink); }
.nov-switch__item.is-active { background: var(--c, var(--nov-ink)); color: #fff; }

/* ---------- Filtri ---------- */
.nov-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; padding: 18px; background: #fff; border: 1px solid var(--nov-line); border-radius: var(--nov-radius-lg); margin-bottom: 20px; }
.nov-filters__field label { display: block; font-size: 13px; font-weight: 600; color: var(--nov-muted); margin-bottom: 5px; }
.nov-filters select, .nov-filters input[type=search], .nov-sort select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--nov-line); border-radius: var(--nov-radius); background: #fff; color: var(--nov-ink); font: inherit; font-size: 15px; }
.nov-filters select:focus, .nov-filters input:focus { outline: 2px solid var(--nov-accent); outline-offset: -1px; border-color: transparent; }
.nov-filters__actions { display: flex; align-items: center; gap: 14px; }
.nov-filters__actions .nov-btn { height: 44px; flex: 1; }
.nov-filters__reset { font-size: 14px; color: var(--nov-muted); }

.nov-results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.nov-results-count { margin: 0; color: var(--nov-muted); }
.nov-results-count strong { color: var(--nov-ink); font-size: 18px; }
.nov-results-tools { display: flex; gap: 10px; align-items: center; }
.nov-sort select { height: 42px; width: auto; }
.nov-map-toggle { height: 42px; }

/* ---------- Mappe ---------- */
.nov-map { width: 100%; border-radius: var(--nov-radius-lg); overflow: hidden; border: 1px solid var(--nov-line); background: var(--nov-soft); z-index: 0; }
.nov-map--results { height: 440px; margin-bottom: 24px; }
.nov-map--single { height: 360px; }
.nov-map[hidden] { display: none; }
.nov-pin-wrap { background: none; border: 0; }
.nov-pin--price { display: inline-block; transform: translate(-50%, -100%); padding: 4px 8px; background: #fff; color: var(--nov-ink); border: 1px solid rgba(0,0,0,.15); border-radius: 999px; font-weight: 700; font-size: 12px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.nov-pin--price:hover { background: var(--nov-accent); color: #fff; }
.nov-pin--dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--nov-accent); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.35); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: color-mix(in srgb, var(--nov-accent) 25%, transparent); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--nov-accent); color: #fff; font-weight: 700; }
.nov-popup-wrap .leaflet-popup-content { margin: 0; width: 240px !important; }
.nov-popup-wrap .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: var(--nov-radius); }
.nov-popup { display: block; color: var(--nov-ink) !important; text-decoration: none; }
.nov-popup img { display: block; width: 100%; height: 130px; object-fit: cover; }
.nov-popup__body { display: block; padding: 10px 12px 12px; line-height: 1.35; }
.nov-popup__body strong { display: block; font-size: 15px; }
.nov-popup__title { display: block; font-size: 13px; margin: 2px 0; }
.nov-popup__loc { display: block; font-size: 12px; color: var(--nov-muted); }

/* ---------- Griglia e schede ---------- */
.nov-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1000px) {
	.nov-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.nov-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.nov-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.nov-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nov-line); border-radius: var(--nov-radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.nov-card:hover { box-shadow: var(--nov-shadow); transform: translateY(-2px); }
.nov-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--nov-soft); overflow: hidden; }
.nov-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nov-card:hover .nov-card__media img { transform: scale(1.03); }
.nov-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nov-muted); font-size: 14px; }
.nov-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nov-card__count { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.nov-card__count > span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 3px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 600; }
.nov-card__count .nov-icon { width: 14px; height: 14px; }
.nov-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.nov-card__price { margin-bottom: 4px; }
.nov-price { font-size: 21px; font-weight: 700; color: var(--nov-ink); letter-spacing: -.01em; }
.nov-price small { font-size: .65em; font-weight: 600; color: var(--nov-muted); }
.nov-price--riservato { font-size: 17px; color: var(--nov-muted); }
.nov-card__title { margin: 0 0 6px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.nov-card__title a { color: var(--nov-ink); text-decoration: none; }
.nov-card__title a:hover { color: var(--nov-accent); }
.nov-card__title a::after { content: ""; position: absolute; inset: 0; }
.nov-card { position: relative; }
.nov-card__loc { margin: 0 0 12px; color: var(--nov-muted); font-size: 14px; display: flex; gap: 4px; align-items: center; }
.nov-facts { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--nov-line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--nov-text); }
.nov-facts li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.nov-facts .nov-icon { color: var(--nov-muted); }
.nov-card__meta { margin: 10px 0 0; font-size: 13px; color: var(--nov-muted); display: flex; justify-content: space-between; gap: 10px; }
.nov-card__rif { white-space: nowrap; }

.nov-pagination { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.nov-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--nov-line); border-radius: var(--nov-radius); color: var(--nov-ink); text-decoration: none; }
.nov-pagination .current { background: var(--nov-ink); border-color: var(--nov-ink); color: #fff; }
.nov-empty { padding: 32px; text-align: center; background: var(--nov-soft); border-radius: var(--nov-radius-lg); }

/* ---------- Scheda immobile ---------- */
.nov-breadcrumb { padding: 22px 0 6px; font-size: 14px; }
.nov-breadcrumb a { color: var(--nov-muted); text-decoration: none; }
.nov-breadcrumb a:hover { color: var(--nov-accent); }
.nov-single__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 20px; }
.nov-single__title { margin: 6px 0 6px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; max-width: 30ch; }
.nov-single__loc { margin: 0; color: var(--nov-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nov-single__rif { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--nov-line); }
.nov-single__price .nov-price { font-size: clamp(26px, 3vw, 32px); }

.nov-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: var(--nov-radius-lg); overflow: hidden; margin-bottom: 32px; }
.nov-gallery__item { position: relative; display: block; overflow: hidden; background: var(--nov-soft); }
.nov-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nov-gallery__item:hover img { transform: scale(1.03); }
.nov-gallery__item--main { grid-row: 1 / 3; }
.nov-gallery__item.is-hidden { display: none; }
.nov-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: 18px; }
.nov-gallery__tools { position: absolute; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.nov-gallery__tools .nov-btn { padding: 8px 14px; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nov-gallery--few { grid-template-columns: 1fr; grid-template-rows: 460px; }
.nov-gallery--few .nov-gallery__item:not(.nov-gallery__item--main) { display: none; }
.nov-gallery[data-count="3"], .nov-gallery[data-count="4"] { grid-template-columns: 2fr 1fr; }
@media (max-width: 767px) {
	.nov-gallery { grid-template-columns: 1fr; grid-template-rows: 280px; margin-left: -20px; margin-right: -20px; border-radius: 0; }
	.nov-gallery[data-count] { grid-template-columns: 1fr; }
	.nov-gallery__item:not(.nov-gallery__item--main) { display: none; }
	.nov-gallery__item--main { grid-row: auto; }
}

.nov-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 999px) { .nov-single__layout { grid-template-columns: 1fr; gap: 32px; } }
.nov-facts--big { border: 1px solid var(--nov-line); border-radius: var(--nov-radius-lg); padding: 16px 20px; margin: 0 0 28px; font-size: 16px; gap: 10px 28px; }
.nov-facts--big .nov-icon { width: 22px; height: 22px; color: var(--nov-accent); }
.nov-section { margin: 0 0 36px; }
.nov-section h2 { font-size: 22px; margin: 0 0 14px; }
.nov-content { line-height: 1.7; }
.nov-content p { margin: 0 0 1em; }
.nov-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; margin: 0; }
.nov-details > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--nov-line); }
.nov-details dt { color: var(--nov-muted); margin: 0; }
.nov-details dd { margin: 0; font-weight: 600; color: var(--nov-ink); text-align: right; }
.nov-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nov-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; margin: 0; background: var(--nov-soft); border-radius: 999px; font-size: 14px; }
.nov-chips .nov-icon { width: 15px; height: 15px; color: var(--nov-accent); }
.nov-project { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin: -8px 0 28px; border-left: 4px solid var(--nov-accent); background: var(--nov-soft); border-radius: 0 var(--nov-radius) var(--nov-radius) 0; }
.nov-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--nov-radius-lg); }

.nov-single__aside { position: sticky; top: 24px; }
.nov-contact-box.is-sticky { position: sticky; top: 24px; }
.admin-bar .nov-contact-box.is-sticky { top: 56px; }
.admin-bar .nov-single__aside { top: 56px; }
.nov-contact-box { padding: 24px; border: 1px solid var(--nov-line); border-radius: var(--nov-radius-lg); background: #fff; box-shadow: var(--nov-shadow); }
.nov-contact-box__price { margin: 0 0 14px; }
.nov-contact-box__agency { margin: 0 0 14px; font-size: 14px; color: var(--nov-muted); line-height: 1.5; }
.nov-contact-box__agency strong { color: var(--nov-ink); font-size: 15px; }
.nov-contact-box__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--nov-line); }

.nov-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--nov-line); }

/* ---------- Modulo ---------- */
.nov-form__title { font-weight: 700; font-size: 17px; color: var(--nov-ink); margin: 0 0 12px; }
.nov-form__field { display: block; margin-bottom: 10px; }
.nov-form__field span { display: block; font-size: 13px; font-weight: 600; color: var(--nov-muted); margin-bottom: 4px; }
.nov-form input[type=text], .nov-form input[type=email], .nov-form input[type=tel], .nov-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--nov-line); border-radius: var(--nov-radius); font: inherit; font-size: 15px; background: #fff; }
.nov-form input:focus, .nov-form textarea:focus { outline: 2px solid var(--nov-accent); outline-offset: -1px; border-color: transparent; }
.nov-form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--nov-muted); margin: 6px 0 14px; line-height: 1.45; }
.nov-form__check input { margin-top: 3px; }
.nov-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nov-notice { padding: 12px 14px; border-radius: var(--nov-radius); margin-bottom: 14px; font-size: 14px; }
.nov-notice--success { background: #e9f6ee; color: #145c33; }
.nov-notice--error { background: #fdecec; color: #8a1c1c; }

/* ---------- Galleria a schermo intero ---------- */
.nov-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(12,12,14,.95); display: flex; align-items: center; justify-content: center; }
.nov-lightbox[hidden] { display: none; }
.nov-lightbox__figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.nov-lightbox__figure img { max-width: 92vw; max-height: 82vh; object-fit: contain; display: block; margin: 0 auto; }
.nov-lightbox__figure figcaption { color: #ccc; font-size: 14px; margin-top: 10px; }
.nov-lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.nov-lightbox button:hover { background: rgba(255,255,255,.22); }
.nov-lightbox__close { top: 18px; right: 18px; }
.nov-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.nov-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Barra contatti su telefono ---------- */
.nov-mobile-bar { display: none; }
@media (max-width: 999px) {
	.nov-single__aside { position: static; }
	.nov-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--nov-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
	.nov-mobile-bar .nov-btn { padding: 11px 8px; font-size: 14px; }
	.nov-single, body:has(.nov-mobile-bar) .site-footer, body:has(.nov-mobile-bar) [data-elementor-type="footer"] { padding-bottom: 90px; }
	.nov-contact-box.is-sticky { position: static; }
}
@media (max-width: 600px) {
	.nov-filters { grid-template-columns: 1fr 1fr; padding: 14px; }
	.nov-filters__field--more { display: none; }
	.nov-filters__actions { grid-column: 1 / -1; }
	.nov-map--results { height: 340px; }
}

/* ---------- Schede sedi ---------- */
.nov-sedi { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.nov-sede-card { padding: 22px; border: 1px solid var(--nov-line); border-top: 4px solid var(--nov-accent); border-radius: var(--nov-radius); background: #fff; }
.nov-sede-card__name { font-weight: 700; font-size: 17px; margin: 0 0 12px; color: var(--nov-ink); }
.nov-sede-card__name span { font-weight: 400; color: var(--nov-muted); }
.nov-sede-card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.nov-sede-card li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; font-size: 15px; }
.nov-sede-card li .nov-icon { margin-top: 3px; color: var(--nov-accent); }
.nov-sede-card a { color: inherit; text-decoration: none; }
.nov-sede-card a:hover { text-decoration: underline; }
.nov-sede-card__link { font-weight: 600; color: var(--nov-accent) !important; text-decoration: none; }

/* ---------- Tour virtuale e planimetrie ---------- */
.nov-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nov-radius-lg); overflow: hidden; background: var(--nov-soft); border: 1px solid var(--nov-line); }
.nov-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.nov-embed__link { margin: 8px 0 0; font-size: 14px; }
.nov-tour-cta { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--nov-line); border-radius: var(--nov-radius-lg); background: var(--nov-soft); color: var(--nov-ink) !important; text-decoration: none; line-height: 1.4; }
.nov-tour-cta:hover { border-color: var(--nov-accent); }
.nov-tour-cta .nov-icon { width: 40px; height: 40px; color: var(--nov-accent); }
.nov-tour-cta span { color: var(--nov-muted); font-size: 14px; }
.nov-tour-cta strong { color: var(--nov-ink); font-size: 17px; }
.nov-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.nov-plan { display: block; border: 1px solid var(--nov-line); border-radius: var(--nov-radius); overflow: hidden; background: #fff; color: var(--nov-ink) !important; text-decoration: none; }
.nov-plan img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 8px; box-sizing: border-box; }
.nov-plan > span { display: block; padding: 10px 12px; border-top: 1px solid var(--nov-line); font-size: 14px; font-weight: 600; }
.nov-plan:hover { border-color: var(--nov-accent); }
.nov-plan--file { display: flex; align-items: center; gap: 14px; padding: 16px; }
.nov-plan--file > span { border: 0; padding: 0; }
.nov-plan--file small { display: block; font-weight: 400; color: var(--nov-muted); font-size: 13px; margin-top: 2px; }
.nov-plan__icon { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 60px; border-radius: 4px; background: var(--nov-soft); color: var(--nov-accent); }
.nov-plan__icon .nov-icon { width: 26px; height: 26px; }
.nov-plan__icon em { position: absolute; bottom: -6px; right: -6px; padding: 1px 5px; border-radius: 3px; background: var(--nov-accent); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.nov-lightbox--plans .nov-lightbox__figure img { background: #fff; padding: 12px; box-sizing: border-box; }
@media (max-width: 767px) {
	.nov-gallery__tools { left: 14px; right: 14px; }
	.nov-gallery__tools .nov-btn { flex: 1; padding: 8px 10px; font-size: 13px; }
}
.nov-lightbox [hidden] { display: none !important; }
.nov-lightbox button:focus, .nov-lightbox button:hover, .nov-lightbox button:active { background: rgba(255,255,255,.22); color: #fff; outline: none; }
.nov-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Elementor ---------- */
.nov-el .nov-section:last-child { margin-bottom: 0; }
.nov-el > .nov-facts--big, .nov-el > .nov-project, .nov-el > .nov-gallery { margin-bottom: 0; }
.nov-el--intestazione .nov-single__head { margin-bottom: 0; }
.nov-editor-note { padding: 14px 16px; border: 1px dashed #c9c5bd; border-radius: 6px; background: #faf8f5; color: #6b7178; font-size: 13px; }

/* Pulsanti <button>: Hello Elementor applica il suo rosa a :hover/:focus con più priorità */
button.nov-btn--ghost:hover, button.nov-btn--ghost:focus, button.nov-btn--ghost:active { background: transparent; color: var(--nov-ink); border-color: var(--nov-ink); }
button.nov-btn--light:hover, button.nov-btn--light:focus, button.nov-btn--light:active { background: #fff; color: var(--nov-ink); border-color: var(--nov-ink); }
button.nov-btn--primary:hover, button.nov-btn--primary:focus, button.nov-btn--primary:active { background: color-mix(in srgb, var(--nov-accent) 85%, #000); color: #fff; border-color: transparent; }
button.nov-btn:focus:not(:focus-visible) { outline: none; }

/* ---------- Stile Novaria: titoli e prezzi rossi, pulsanti arrotondati ---------- */
.nov-card__title a, .nov-single__title, .nov-page .nov-single__title { color: var(--nov-title-color); }
.nov-card__title a:hover { color: var(--nov-ink); }
.nov-price { color: var(--nov-price-color); }
.nov-price small { color: inherit; opacity: .7; }
.nov-price--riservato { color: var(--nov-muted); }
.nov-badge--nuove-costruzioni { background: var(--nov-accent); }
.nov-btn, .nov-filters__actions .nov-btn, .nov-gallery__tools .nov-btn, .nov-mobile-bar .nov-btn { border-radius: var(--nov-btn-radius); }
.nov-pagination .page-numbers { border-radius: var(--nov-btn-radius); }
.nov-badge { border-radius: var(--nov-btn-radius); padding: 4px 10px; }
.nov-card__count > span { border-radius: var(--nov-btn-radius); }

/* Titoli con font con grazie (Newsreader): peso normale, niente grassetto */
.nov-card__title { font-family: var(--nov-heading-font); font-weight: 500; font-size: 19px; line-height: 1.3; }
.nov-single__title { font-weight: 500; }
.nov-section h2, .nov-related h2, .nov-page-title { font-weight: 500; }
.nov-price { font-family: inherit; }
