/* IlCarrozziere – annunci HivePress. Usa i colori e i caratteri di main.css. */

/* Le voci del menu restano su una riga: tra 1180 e 1340 px spazi più stretti */
.ilc-nav__bar { flex-wrap: nowrap; column-gap: 25px; }
@media (max-width: 1339px) {
	.ilc-nav__bar { column-gap: 14px; }
}

/* Etichetta "Novità" sopra la voce "Bacheca annunci" */
.ilc-nav__item, .ilc-drawer__toggle { position: relative; }
.ilc-new { position: absolute; left: 0; top: 3px; font-size: 8px; font-weight: 800; letter-spacing: .14em; line-height: 1; text-transform: uppercase; color: var(--acc); }
.ilc-drawer__toggle .ilc-new { top: 5px; }

/* Mega menu "Bacheca annunci": terza colonna riservata a un banner */
.ilc-mega__banner { display: flex; min-height: 220px; }
.ilc-mega__banner .ilc-promo { flex: 1 1 auto; }

/* Banner temporaneo della Bacheca annunci (template-parts/annunci-promo.php): mega menu e home */
.ilc-promo { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; background: var(--ink); color: var(--paper); border-bottom: 6px solid var(--acc); }
.ilc-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(-45deg, rgba(194, 31, 26, .35) 0 2px, transparent 2px 14px); -webkit-mask-image: linear-gradient(to top left, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 80%); mask-image: linear-gradient(to top left, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 80%); }
.ilc-promo:hover, .ilc-promo:focus-visible { color: var(--paper); }
.ilc-promo__top { display: flex; justify-content: space-between; align-items: center; align-self: stretch; }
.ilc-promo__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--acc); color: #fff; }
.ilc-promo__title { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.ilc-promo__text { font-size: 14px; line-height: 1.5; color: #D9D6CC; text-wrap: pretty; }
.ilc-promo__btn { margin-top: auto; padding: 11px 16px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.ilc-promo:hover .ilc-promo__btn, .ilc-promo:focus-visible .ilc-promo__btn { background: var(--paper); color: var(--ink); }
.ilc-ads .ilc-promo { margin-bottom: 8px; }
.ilc-ads__all { display: inline-block; }
.ilc-bico { flex: none; overflow: visible; }
.ilc-bico__horn { transform-origin: 6px 12px; animation: ilc-bhorn 2.4s ease-in-out infinite; }
.ilc-bico__wave { animation: ilc-bwave 1.2s ease-in-out infinite; }
.ilc-bico__wave--2 { animation-delay: .3s; }
@keyframes ilc-bwave { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes ilc-bhorn { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-10deg); } 86% { transform: rotate(6deg); } 94% { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .ilc-bico * { animation: none !important; } .ilc-promo__btn { transition: none; } }

/* Testata delle pagine annunci: al posto dei banner, accesso o area utente */
.ilc-account { justify-self: end; display: flex; align-items: center; gap: 12px; }
.ilc-account__submit { display: flex; align-items: center; height: 40px; white-space: nowrap; background:transparent; border:1px solid var(--acc); color: var(--acc); border-radius:30px }
.ilc-account__submit:hover { background: var(--acc); color: #fff; }
.ilc-account .ilc-round:hover, .ilc-account__login:hover .ilc-round { border-color: var(--acc); background: var(--acc); color: var(--paper); }
/* Collegato: cerchio pieno con le iniziali; non collegato: sagoma vuota e "Accedi" */
.ilc-round--user, .ilc-initials { position: relative; background: var(--ink); border-color: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.ilc-account__login { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ilc-account__login:hover { color: var(--acc); }
.ilc-initials { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-size: 12px; }
.ilc-badge { position: absolute; top: -5px; right: -7px; box-sizing: border-box; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: #fff; box-shadow: 0 0 0 2px var(--paper); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 0; line-height: 18px; text-align: center; }
.ilc-iconbtn:hover .ilc-initials, .ilc-iconbtn[aria-expanded="true"] .ilc-initials { background: var(--acc); }
/* Nella barra mobile: icona utente e "+" rosso per pubblicare */
.ilc-mobilebar__submit { display: flex; align-items: center; height: 32px; margin-inline: 4px; padding: 0 12px; border: 1px solid var(--acc); border-radius: 30px; color: var(--acc); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ilc-mobilebar__submit:hover, .ilc-mobilebar__submit:focus-visible { background: var(--acc); color: #fff; }

/* Contenitore delle pagine HivePress */
.ilc-main > .content-area { max-width: 1280px; margin: 0 auto; padding: 32px var(--gutter) 72px; }
.hp-page { font-family: var(--sans); color: var(--ink); }
.hp-page h1, .hp-page h2, .hp-page h3, .hp-page h4 { margin: 0; }
.hp-page p { margin: 0 0 1em; }
.hp-page a { color: inherit; }
.hp-page a:hover { color: var(--acc); }
.hp-page .hp-row { row-gap: 0; }
/* Login, registrazione, pagine strette e area utente su mobile: la riga di HivePress (margini -16px) usciva di 2–3 px dallo schermo */
@media (max-width: 767px) {
	.ilc-area-utente .site-main > .hp-row { margin-left: 0; margin-right: 0; }
	.ilc-area-utente .site-main > .hp-row > .hp-page__content, .ilc-area-utente .site-main > .hp-row > .hp-page__sidebar { padding-left: 0; padding-right: 0; }
	.hp-template--page-narrow .site-main > .hp-row { margin-left: 0; margin-right: 0; }
	.hp-template--page-narrow .site-main > .hp-row > .hp-page__content { padding-left: 0; padding-right: 0; }
}
.hp-page__title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px !important; text-wrap: balance; }
.hp-page__content > .hp-page__title:first-child { border-bottom: 3px solid var(--ink); padding-bottom: 16px; }
.hp-page__topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hp-page__topbar--separate { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 0; margin: 24px 0 32px; }
.hp-result-count { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hp-icon { color: inherit; }

/* Campi e pulsanti */
.hp-page .button, .hp-modal .button, .hp-page button.hp-field--submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
	border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; text-shadow: none;
	font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; cursor: pointer;
}
.hp-page .button:hover, .hp-modal .button:hover { background: var(--ink); color: var(--paper); }
.hp-page .button-primary, .hp-page .button--primary, .hp-modal .button-primary, .hp-page .hp-field--submit { background: var(--ink); color: var(--paper); }
.hp-page .button-primary:hover, .hp-page .button--primary:hover, .hp-modal .button-primary:hover, .hp-page .hp-field--submit:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.hp-page .button:disabled, .hp-modal .button:disabled { opacity: .5; cursor: default; }

.hp-form__field { margin-bottom: 20px; }
.hp-form__label, .hp-field__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hp-form__label small, .hp-field__label small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--muted); }
/* Inserimento e modifica dell'annuncio: asterisco rosso accanto ai campi obbligatori. */
:is(.hp-form--listing-submit, .hp-form--listing-update) .hp-form__field:has([required]) > .hp-field__label > span::after,
:is(.hp-form--listing-submit, .hp-form--listing-update) .hp-field--checkbox > input[required] ~ span::after { content: " *"; color: var(--acc); }
.hp-page input.hp-field, .hp-modal input.hp-field, .hp-page textarea.hp-field, .hp-modal textarea.hp-field, .hp-page select.hp-field {
	box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid rgba(23, 22, 15, .4); border-radius: 0;
	background: #fff; color: var(--ink); font: inherit; font-size: 16px; box-shadow: none;
}
.hp-page textarea.hp-field, .hp-modal textarea.hp-field { min-height: 180px; line-height: 1.5; resize: vertical; }
.hp-page input.hp-field:focus, .hp-modal input.hp-field:focus, .hp-page textarea.hp-field:focus, .hp-modal textarea.hp-field:focus { border-color: var(--ink); outline: 2px solid var(--acc); outline-offset: 0; }
.hp-page input[type="checkbox"], .hp-page input[type="radio"], .hp-modal input[type="checkbox"] { accent-color: var(--ink); }
.hp-field--checkbox label, .hp-field--radio label { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }

/* select2 (menu a tendina di HivePress) */
.hp-page .select2-container--default .select2-selection--single, .hp-modal .select2-container--default .select2-selection--single { height: 46px; border: 1px solid rgba(23, 22, 15, .4); border-radius: 0; background: #fff; }
.hp-page .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--ink); font-size: 16px; }
.hp-page .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--muted); }
.hp-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.select2-container--default .select2-dropdown { border-color: var(--ink); border-radius: 0; font-family: var(--sans); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--ink); color: var(--paper); }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--line); border-radius: 0; padding: 8px; }

.hp-form__messages { font-size: 15px; }
.hp-form__messages:not(:empty) { margin-bottom: 18px; padding: 12px 16px; border-left: 3px solid var(--ink); background: var(--sand); }
.hp-form__messages--error:not(:empty) { border-left-color: var(--acc); color: var(--acc); }
.hp-form__messages--success:not(:empty) { border-left-color: #2E6B3A; }
.hp-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ilc-form-note { flex: 1 1 100%; margin: 0 !important; font-family: var(--sans); font-size: 12px; line-height: 1.4; color: var(--muted); }
.hp-form__action { font-size: 14px; color: var(--muted); }
.hp-form__action a { color: var(--acc); font-weight: 700; }
.hp-form__description { font-size: 13px; color: var(--muted); }

/* Testata della bacheca */
.hp-template--listings-view-page .ilc-main > .content-area { padding-top: 36px; }
.ilc-bacheca-head .ilc-crumbs { margin-bottom: 20px; }
.ilc-bacheca-head__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 24px; padding-top: 24px; border-top: 2px dashed var(--line); }
.ilc-bacheca-head__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ilc-kicker--square { display: flex; align-items: center; gap: 10px; }
.ilc-kicker--square::before { content: ""; width: 10px; height: 10px; background: var(--acc); }
.ilc-bacheca-head__title { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.022em; text-wrap: balance; overflow-wrap: break-word; }
/* Nascosti per ora (20/10/2026): per rimetterli basta togliere display: none */
.ilc-bacheca-head__cats { display: none; flex-wrap: wrap; gap: 8px; }
.hp-page .ilc-bacheca-head__cats a { display: flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hp-page .ilc-bacheca-head__cats a:hover, .hp-page .ilc-bacheca-head__cats a.is-current { background: var(--ink); color: var(--paper); }

/* Testata di una categoria: icona, titolo e descrizione */
.ilc-bacheca-head__bar--cat { display: grid; grid-template-columns: auto minmax(0, 1fr); justify-content: start; align-items: start; gap: 24px; padding-top: 28px; margin-bottom: 0; }
/* Spazio sotto titolo e descrizione: 24px invece di 64px (11/11/2026). Vinceva il margine di
   HivePress, .hp-page__header:not(:last-child) { margin-bottom: 4rem }, più specifico del nostro. */
.tax-hp_listing_category .hp-page__header:not(:last-child) { margin-bottom: 24px; }
.ilc-bacheca-head__icon { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; background: var(--acc); color: #fff; box-shadow: 6px 6px 0 var(--ink); }
.ilc-bacheca-head__bar--cat .ilc-bacheca-head__text { gap: 14px; }
.ilc-bacheca-head__title--cat { font-size: clamp(34px, 4.4vw, 58px); }
.ilc-bacheca-head__desc { max-width: 600px; margin: 0 !important; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--prose); text-wrap: pretty; }
@media (max-width: 600px) {
	/* Su telefono la testata è ridotta al minimo, per portare in alto gli annunci (11/11/2026):
	   niente icona, spazi stretti tra percorso, riga tratteggiata, "Categoria annunci", titolo e
	   descrizione (descrizione 16px invece di 19px). */
	.ilc-bacheca-head__bar--cat { grid-template-columns: minmax(0, 1fr); padding-top: 10px; }
	.ilc-bacheca-head__bar { padding-top: 10px; }
	.ilc-bacheca-head__icon { display: none; }
	.ilc-bacheca-head .ilc-crumbs { margin-bottom: 8px; }
	.ilc-bacheca-head__bar--cat .ilc-bacheca-head__text { gap: 4px; }
	.ilc-bacheca-head__title--cat { font-size: 28px; }
	.ilc-bacheca-head__desc { font-size: 16px; line-height: 1.45; }
	.tax-hp_listing_category .hp-page__header:not(:last-child) { margin-bottom: 12px; }
	/* Sopra il percorso (categorie) e sopra "Bacheca annunci" (Tutti gli annunci): 8px invece di 36px. */
	.hp-template--listings-view-page .ilc-main > .content-area { padding-top: 8px; }
}

/* Altre categorie (in fondo alla pagina di una categoria) */
.ilc-bacheca-others { margin-top: 64px; }
/* Box come nella pagina Bacheca; con due sole categorie restano larghi un terzo. */
.ilc-bacheca__cats.ilc-bacheca-others__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 1180px) {
	.ilc-bacheca__cats.ilc-bacheca-others__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Ricerca della bacheca */
.hp-page__header { margin-bottom: 36px; }
.hp-form--listing-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(200px, 1fr); border: 1px solid var(--ink); background: #fff; }
.hp-form--listing-search .hp-form__messages { display: none; }
.hp-form--listing-search .hp-form__fields { display: flex; flex-wrap: wrap; gap: 0; }
.hp-form--listing-search .hp-form__fields, .hp-form--listing-search .hp-form__fields:not(:last-child), .hp-form--listing-search .hp-form__field, .hp-form--listing-search .hp-form__field:not(:last-child) { margin: 0; }
.hp-form--listing-search .hp-form__field { flex: 1 1 200px; min-width: 0; border-right: 1px solid rgba(23, 22, 15, .2); }
.hp-form--listing-search .hp-form__fields > .hp-field--hidden { display: none; }
.hp-form--listing-search .hp-form__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-page .hp-form--listing-search input.hp-field { height: 100%; min-height: 54px; padding: 16px; border: 0; background: transparent; }
.hp-page .hp-form--listing-search input.hp-field:focus { outline-offset: -2px; }
.hp-page .hp-form--listing-search .select2-container--default .select2-selection--single { height: 54px; border: 0; background: transparent; }
.hp-page .hp-form--listing-search .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 54px; padding-left: 16px; }
.hp-page .hp-form--listing-search .select2-container--default .select2-selection--single .select2-selection__arrow { height: 52px; }
.hp-form--listing-search .hp-form__footer { display: block; }
.hp-page .hp-form--listing-search button.hp-field--submit { width: 100%; height: 100%; min-height: 54px; padding: 16px 24px; border: 0; font-size: 14px; font-weight: 800; }

/* Risultati e colonna: colonna a destra su desktop, sopra i risultati su mobile */
.hp-template--listings-view-page .site-main > .hp-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; margin: 0; }
.hp-template--listings-view-page .hp-page__content { order: 1; flex: 1 1 560px; min-width: 0; max-width: none; padding: 0; }
.hp-template--listings-view-page .hp-page__sidebar { order: 2; flex: 0 0 300px; max-width: none; padding: 0; display: flex; flex-direction: column; gap: 44px; }
.hp-template--listings-view-page .hp-page__sidebar .hp-widget { margin: 0; }
@media (min-width: 1180px) {
	body:not(.ilc-annunci--filtri).hp-template--listings-view-page .hp-page__sidebar { position: sticky; top: 72px; }
	.admin-bar:not(.ilc-annunci--filtri).hp-template--listings-view-page .hp-page__sidebar { top: 104px; }
}
@media (max-width: 1179px) {
	.hp-template--listings-view-page .hp-page__sidebar { order: 0; flex-basis: 100%; }
	/* Pagina di una categoria (05/11/2026): la colonna si scioglie nella riga; categorie e tipo in
	   pulsanti sopra gli annunci, "Pubblica il tuo annuncio" e "Accedi" sotto gli annunci */
	.hp-template--listings-view-page .site-main > .hp-row { row-gap: 28px; }
	.hp-template--listings-view-page .hp-page__sidebar { display: contents; }
	.hp-template--listings-view-page .hp-page__sidebar > * { order: 0; flex: 0 0 100%; min-width: 0; }
	.hp-template--listings-view-page .hp-page__sidebar > .ilc-bacheca-promo,
	.hp-template--listings-view-page .hp-page__sidebar > .ilc-bacheca-aside__account { order: 2; }
	.hp-page .hp-page__sidebar > .ilc-bacheca-aside__account { margin-top: -14px; }
	.hp-page__sidebar > .ilc-bacheca-aside__group { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.ilc-bacheca-aside__group > .ilc-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ilc-bacheca-aside__group .ilc-bacheca-cat { padding: 6px 14px 6px 6px; border: 1px solid var(--ink); }
	.ilc-bacheca-aside__group .ilc-bacheca-cat__name { flex: none; }
	.ilc-bacheca-aside__group + .ilc-bacheca-aside__group { margin-top: -16px; }
	.ilc-bacheca-aside__group .ilc-bacheca-type { padding: 8px 12px; border: 1px solid var(--line); background: #fff; }
}
@media (max-width: 600px) {
	/* Categorie in una riga sola su telefono (11/11/2026): senza icone, spazi al minimo,
	   testo che si riduce con lo schermo (14px a 390px, 11,5px a 320px). */
	.hp-page__sidebar > .ilc-bacheca-aside__group--cat { flex-wrap: nowrap; gap: 4px; }
	.ilc-bacheca-aside__group--cat .ilc-bacheca-cat { flex: 1 1 auto; min-width: 0; justify-content: center; gap: 4px; padding: 7px 6px; font-size: clamp(11px, 3.6vw, 14px); white-space: nowrap; }
	.ilc-bacheca-aside__group--cat .ilc-bacheca-cat__icon { display: none; }
	/* Tipo di annuncio in una tendina invece dei pulsanti (11/11/2026). */
	.ilc-bacheca-aside__group .ilc-bacheca-type { display: none; }
	.ilc-bacheca-aside__group > .ilc-bacheca-type-select { display: block; flex: 0 0 100%; }
	.ilc-bacheca-type-select select { width: 100%; max-width: none; }
	/* Spazi tra categorie, tipo di annuncio e annunci: 12px invece di 28px; tra categorie e tendina 8px. */
	.hp-template--listings-view-page .site-main > .hp-row { row-gap: 12px; }
	.hp-page__sidebar > .ilc-bacheca-aside__group + .ilc-bacheca-aside__group { margin-top: -4px; }
	.hp-page .hp-page__sidebar > .ilc-bacheca-aside__account { margin-top: 0; }
}
.hp-template--listings-view-page .hp-page__topbar { margin: 0 0 20px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.ilc-bacheca-count { font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ilc-annunci--tutti.hp-template--listings-view-page .hp-page__topbar { border-top: 0; }
.ilc-annunci--tutti.hp-template--listings-view-page .hp-page__content { flex-basis: 100%; }
.hp-page .ilc-archive__title { margin: 14px 0 32px; }
.ilc-bacheca-promo-item .ilc-bacheca-promo { height: 100%; justify-content: space-between; }
.ilc-bacheca-provincia select, .ilc-bacheca-type-select select { min-width: 0; max-width: 100%; padding: 9px 12px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; }

.ilc-bacheca-aside__group { display: flex; flex-direction: column; }
.ilc-bacheca-cat { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; line-height: 1.3; }
.ilc-bacheca-cat__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--sand); color: var(--ink); }
.ilc-bacheca-cat__icon--all { border: 1px solid currentColor; background: none; color: inherit; font-size: 16px; }
.ilc-bacheca-cat__name { flex: 1; min-width: 0; }
.ilc-bacheca-cat__count { font-weight: 600; opacity: .7; }
.hp-page a.ilc-bacheca-cat.is-current { background: var(--ink); color: var(--paper); }
.ilc-bacheca-catbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ilc-bacheca-catbar .ilc-bacheca-cat { padding: 6px 14px 6px 6px; border: 1px solid var(--ink); }
.ilc-bacheca-catbar .ilc-bacheca-cat__name { flex: none; }
@media (max-width: 600px) {
	/* Tutti gli annunci: "Bacheca annunci" e titolo vicini (4px), 12px sotto il titolo e sotto le
	   categorie; barra con il numero di annunci e la provincia più bassa (11/11/2026). */
	.hp-page .ilc-archive__title { margin: 4px 0 12px; font-size: 28px; }
	.ilc-bacheca-catbar { margin-bottom: 12px; }
	/* Categorie in una riga sola, come nelle pagine di categoria: senza icone, "Tutte" invece di
	   "Tutte le categorie", spazi al minimo; se proprio non ci stanno, la riga scorre di lato. */
	.ilc-bacheca-catbar { flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; }
	.ilc-bacheca-catbar .ilc-bacheca-cat { flex: 1 0 auto; justify-content: center; gap: 4px; padding: 7px 6px; font-size: clamp(11px, 3.3vw, 13px); white-space: nowrap; }
	.ilc-bacheca-catbar .ilc-bacheca-cat__icon, .ilc-bacheca-cat__extra { display: none; }
	.hp-template--listings-view-page .hp-page__topbar { margin-bottom: 12px; padding: 8px 0; }
}
.ilc-bacheca-cat.is-current .ilc-bacheca-cat__icon:not(.ilc-bacheca-cat__icon--all) { background: var(--acc); color: #fff; }
.ilc-bacheca-type-select { display: none; }
.ilc-bacheca-type { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.3; }
.hp-page a.ilc-bacheca-type:hover { background: var(--sand); color: var(--ink); }
.ilc-bacheca-type__name { min-width: 0; }
.ilc-bacheca-type__nota { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; line-height: 1.3; opacity: .7; }
.ilc-bacheca-type__box { flex: none; width: 16px; height: 16px; border: 2px solid var(--ink); background: #fff; box-shadow: inset 0 0 0 2px #fff; }
.ilc-bacheca-type.is-current .ilc-bacheca-type__box { background: var(--acc); }
.ilc-bacheca-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 28px 22px 22px; background: var(--acc); }
.hp-page .ilc-bacheca-promo, .hp-page .ilc-bacheca-promo:hover { color: #fff; }
.ilc-bacheca-promo::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--paper) 10px 20px); }
.ilc-bacheca-promo__title { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.12; }
.ilc-bacheca-promo__btn { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ilc-bacheca-promo:hover .ilc-bacheca-promo__btn { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 #fff; }
.hp-page .ilc-bacheca-aside__account { margin-top: -30px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hp-template--listings-view-page .hp-widget--listing-filter { padding: 0; background: none; border: 0; }
.hp-template--listings-view-page .hp-widget--listing-filter .hp-form__fields::before { content: "Filtri"; display: block; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Card degli annunci */
.hp-listings.hp-grid > .hp-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; margin: 0; }
.hp-listings.hp-grid > .hp-row > .hp-grid__item { max-width: none; margin: 0; padding: 0; }
.ilc-lcard { height: 100%; }
.ilc-lcard__link { display: flex; flex-direction: column; gap: 10px; }
.hp-page a.ilc-lcard__link:hover { color: inherit; }
.ilc-lcard__media { position: relative; display: block; }
.ilc-lcard__media img, .ilc-lcard__ph { width: 100%; aspect-ratio: 4 / 3; border: 1px solid rgba(23, 22, 15, .18); }
.ilc-lcard__media img { height: auto; object-fit: cover; background: var(--ph); }
/* Su un telefono le card sono in una colonna: il riquadro senza foto è più basso (05/11/2026) */
@media (max-width: 539px) {
	.ilc-lcard__media .ilc-lcard__ph { aspect-ratio: 2 / 1; }
}
.ilc-lcard__ph { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, rgba(23, 22, 15, .04) 0 10px, transparent 10px 20px); color: #A9A496; }
.ilc-lcard__featured { position: absolute; left: 0; top: 12px; letter-spacing: .14em; }
/* "Cerco" / "Offro" in alto a destra sulla foto */
.ilc-intent { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 4px 8px; font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 1px 3px rgba(23, 22, 15, .25); }
.ilc-intent--offro { background: #1E7A4C; color: #fff; }
.ilc-intent--cerco { background: #F2B705; color: var(--ink); }
.ilc-lcard__title { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.18; text-wrap: pretty; overflow-wrap: break-word; }
.ilc-lcard__link:hover .ilc-lcard__title { color: var(--acc); }
.ilc-lcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ilc-lcard__chip { padding: 3px 8px; background: var(--sand); font-size: 13px; font-weight: 700; }
.ilc-lcard__chip--price { background: var(--ink); color: var(--paper); font-weight: 800; }
/* Contenitore dei testi: serve solo alla versione compatta qui sotto, altrove è come se non ci fosse. */
.ilc-lcard__body { display: contents; }
@media (max-width: 600px) {
	/* Su telefono annunci compatti in elenco (11/11/2026) in tutte le griglie di annunci: categorie,
	   Tutti gli annunci, ricerca, preferiti e annunci simili. Foto quadrata di 88px a sinistra, testi
	   a destra, una riga sottile tra un annuncio e l'altro. Tutto dentro .hp-listings: la galleria
	   della scheda e le righe di "Ultimi annunci" usano alcune classi uguali e restano come sono. */
	.hp-listings.hp-grid > .hp-row { gap: 0; }
	.hp-listings .ilc-lcard { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.hp-listings .hp-grid__item:first-child .ilc-lcard { padding-top: 0; }
	.hp-listings .ilc-lcard__link { flex-direction: row; align-items: flex-start; gap: 12px; }
	.hp-listings .ilc-lcard__media { flex: none; width: 88px; }
	.hp-listings .ilc-lcard__media img, .hp-listings .ilc-lcard__media .ilc-lcard__ph { width: 88px; height: 88px; aspect-ratio: 1; }
	.hp-listings .ilc-lcard__ph svg { width: 32px; height: 32px; }
	.hp-listings .ilc-lcard .ilc-intent { top: 4px; right: 4px; padding: 2px 5px; font-size: 9px; letter-spacing: .08em; }
	.hp-listings .ilc-lcard__featured { top: auto; bottom: 4px; padding: 2px 5px; font-size: 9px; letter-spacing: .08em; }
	.hp-listings .ilc-lcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
	.hp-listings .ilc-lcard .ilc-kicker { font-size: 10px; letter-spacing: .1em; }
	.hp-listings .ilc-lcard__title { font-size: 17px; line-height: 1.2; }
	.hp-listings .ilc-lcard__meta { gap: 4px 8px; margin-top: 2px; }
	.hp-listings .ilc-lcard__chip { padding: 2px 6px; font-size: 12px; }
	.hp-listings .ilc-lcard .ilc-meta { font-size: 11px; }
	/* In Tutti gli annunci e nella ricerca "Pubblica il tuo annuncio" è l'ultimo elemento della
	   griglia: senza lo spazio tra gli elementi resterebbe attaccato all'ultimo annuncio. */
	.hp-listings.hp-grid > .hp-row > .ilc-bacheca-promo-item { margin-top: 20px; }
}
.hp-no-results { padding: 48px 24px; border: 1px dashed rgba(23, 22, 15, .4); text-align: center; }
.hp-no-results h2 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.hp-no-results p { font-family: var(--serif); font-size: 18px; color: var(--text); }
.hp-no-results a.ilc-no-results__btn { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; padding: 0 24px; background: var(--acc); color: #fff; }
.hp-no-results a.ilc-no-results__btn:hover, .hp-no-results a.ilc-no-results__btn:focus-visible { background: var(--ink); color: var(--paper); }
/* Categoria vuota: c'è già l'invito a pubblicare, il box della colonna sarebbe un doppione. */
.hp-page:has(.ilc-no-results--invito) .ilc-bacheca-promo { display: none; }

/* Newsletter in fondo alla bacheca */
.ilc-main > .content-area .ilc-cta { margin-top: 64px; padding: 0; }
.hp-template--listings-view-page .ilc-main > .content-area { padding-bottom: 64px; }

/* Pagina "Bacheca annunci" (tpl-bacheca-annunci.php) */
.ilc-bacheca { padding-top: 36px; }
.ilc-bacheca .ilc-crumbs { margin-bottom: 20px; }
.ilc-bacheca__intro-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px 64px; padding-top: 28px; }
.ilc-bacheca__intro-text { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ilc-bacheca__intro-text .ilc-kicker { font-size: 12px; }
.ilc-bacheca__title { max-width: 900px; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5.2vw, 70px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.ilc-bacheca__lead { max-width: 640px; font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--prose); text-wrap: pretty; }
.ilc-bacheca__lead p + p { margin-top: .8em; }
.ilc-bacheca__promo { flex: 1 1 520px; min-width: 0; min-height: 300px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3vw, 36px); background: var(--acc); color: #fff; }
.ilc-bacheca__promo::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--paper) 12px 24px); }
.ilc-bacheca__promo-art { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.ilc-bacheca__art { position: absolute; display: flex; opacity: .38; }
.ilc-bacheca__art svg { stroke-width: 1.4; }
.ilc-bacheca__art--2 svg { width: 80px; height: 80px; }
.ilc-bacheca__art--1 { right: -28px; top: 18px; transform: rotate(-12deg); }
/* Più in basso e più piccolo che nel design: il riquadro qui è più stretto e coprirebbe il titolo */
.ilc-bacheca__art--2 { right: 112px; top: 196px; width: 100px; height: 100px; align-items: center; justify-content: center; opacity: 1; background: #421504; color: var(--paper); box-shadow: 5px 5px 0 rgba(255, 255, 255, .35); transform: rotate(10deg); }
.ilc-bacheca__art--3 { right: -10px; top: 176px; transform: rotate(6deg); }
.ilc-bacheca__art--4 { right: 150px; top: 6px; transform: rotate(-6deg); }
.ilc-bacheca__promo-head, .ilc-bacheca__promo-foot { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ilc-bacheca__promo-head { padding-top: 10px; }
.ilc-bacheca__promo-tag { align-self: flex-start; padding: 6px 10px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ilc-bacheca__promo-title { max-width: 12ch; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.ilc-bacheca__promo-btn { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ilc-bacheca__promo-btn span { font-size: 18px; }
.ilc-bacheca__promo-btn:hover { background: var(--ink); color: #fff; }
.ilc-bacheca__promo-links { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ilc-bacheca__promo-links a:hover { color: var(--ink); }

.ilc-bacheca__search { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 32px; border: 1px solid var(--ink); background: #fff; }
.ilc-bacheca__search input, .ilc-bacheca__search select { min-width: 0; padding: 16px; border: 0; border-right: 1px solid rgba(23, 22, 15, .2); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.ilc-bacheca__search input:focus, .ilc-bacheca__search select:focus { outline: 2px solid var(--acc); outline-offset: -2px; }
.ilc-bacheca__search .ilc-btn { min-height: 54px; padding: 16px 24px; font-size: 14px; font-weight: 800; }

.ilc-bacheca__section { padding-top: 48px; }
.ilc-bacheca__section + .ilc-bacheca__section { padding-top: 64px; }
.ilc-bacheca__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; padding-top: 12px; border-top: 2px dashed var(--line); }
.ilc-bacheca__head h2 { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ilc-bacheca__head a { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ilc-bacheca__head a:hover { color: var(--acc); }
.ilc-bacheca__cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.ilc-bacheca-box { display: flex; flex-direction: column; border: 1px solid var(--ink); background: #F8F6F2; transition: transform .2s, box-shadow .2s; }
.hp-page a.ilc-bacheca-box:hover, a.ilc-bacheca-box:hover { color: inherit; transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--ink); }
.ilc-bacheca-box__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--ink); }
.ilc-bacheca-box__media::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--acc) 10px 20px); }
.ilc-bacheca-box__media img { width: 100%; height: 100%; object-fit: cover; }
.ilc-bacheca-box__ph { display: flex; align-items: center; justify-content: center; height: 100%; background: repeating-linear-gradient(135deg, rgba(23, 22, 15, .04) 0 10px, transparent 10px 20px); color: #A9A496; }
.ilc-bacheca-box__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 24px; }
.ilc-bacheca-box__title { font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.05; }
.ilc-bacheca-box__desc { flex: 1; font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.ilc-bacheca-box__more { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.ilc-bacheca-box__more span { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .ilc-bacheca-box { transition: none; } }
@media (max-width: 600px) {
	/* Categorie compatte su telefono (11/11/2026), in Bacheca annunci e in "Altre categorie" in fondo
	   alle pagine delle categorie. Foto a sinistra (96px), nome e descrizione a destra, descrizione
	   su due righe al massimo, "Vedi annunci" ridotto alla sola freccia accanto al nome; meno spazio
	   sopra (solo in Bacheca annunci) e sotto il titolo della sezione. */
	.ilc-bacheca__section--cats { padding-top: 24px; }
	.ilc-bacheca__section--cats .ilc-bacheca__head, .ilc-bacheca-others .ilc-bacheca__head { margin-bottom: 12px; padding-top: 10px; }
	.ilc-bacheca__cats { gap: 8px; }
	.ilc-bacheca__cats .ilc-bacheca-box { flex-direction: row; }
	.ilc-bacheca__cats .ilc-bacheca-box__media { flex: 0 0 96px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--ink); }
	.ilc-bacheca__cats .ilc-bacheca-box__media::after { height: 4px; }
	.ilc-bacheca__cats .ilc-bacheca-box__media img { position: absolute; inset: 0; }
	.ilc-bacheca__cats .ilc-bacheca-box__ph svg { width: 40px; height: 40px; }
	.ilc-bacheca__cats .ilc-bacheca-box__body { position: relative; min-width: 0; gap: 2px; padding: 9px 12px 10px; }
	.ilc-bacheca__cats .ilc-bacheca-box__title { padding-right: 24px; font-size: 20px; }
	.ilc-bacheca__cats .ilc-bacheca-box__desc { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.35; }
	.ilc-bacheca__cats .ilc-bacheca-box__more { position: absolute; top: 9px; right: 12px; margin: 0; padding: 0; border: 0; font-size: 0; }
}

.ilc-bacheca__latest { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 48px; margin-top: -20px; }
.ilc-bacheca-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ilc-bacheca-row:hover { background: var(--sand); color: inherit; }
.ilc-bacheca-row__thumb { position: relative; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; overflow: hidden; border: 1px solid rgba(23, 22, 15, .18); background: repeating-linear-gradient(135deg, rgba(23, 22, 15, .04) 0 8px, transparent 8px 16px); color: #A9A496; }
.ilc-bacheca-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ilc-bacheca-row__thumb svg { stroke-width: 1.6; }
.ilc-bacheca-row__thumb .ilc-intent { top: 4px; right: 4px; padding: 2px 5px; font-size: 9px; letter-spacing: .08em; }
.ilc-bacheca-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ilc-bacheca-row__body .ilc-kicker { letter-spacing: .12em; }
.ilc-bacheca-row__title { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.2; text-wrap: pretty; overflow-wrap: break-word; }
.ilc-bacheca-row:hover .ilc-bacheca-row__title { color: var(--acc); }
.ilc-bacheca-row .ilc-lcard__meta { margin-top: 2px; }
.ilc-bacheca + .ilc-cta { padding-top: 64px; }
@media (max-width: 600px) {
	/* Titolo vicino alla testata: 8px invece di 64px (36 + 28). */
	.ilc-bacheca { padding-top: 8px; }
	.ilc-bacheca__intro-grid { gap: 16px; padding-top: 0; }
	/* Titolo e testo più piccoli: 28px invece di 38px (come i titoli delle altre pagine della
	   bacheca), 16px invece di 20px; 8px tra i due. */
	.ilc-bacheca__intro-text { gap: 8px; }
	.ilc-bacheca__title { font-size: 28px; line-height: 1.05; }
	.ilc-bacheca__lead { font-size: 16px; line-height: 1.45; }
	.ilc-bacheca__art--2 { display: none; }
	.ilc-bacheca__search input, .ilc-bacheca__search select { border-right: 0; border-bottom: 1px solid rgba(23, 22, 15, .2); }
}

/* Scheda dell'annuncio (design "Annuncio Dettaglio") */
.hp-template--listing-view-page .ilc-main > .content-area { padding-top: 36px; }
.ilc-listing-crumbs { margin-bottom: 20px; }
.hp-template--listing-view-page .site-main > .hp-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; margin: 0; padding-top: 28px; border-top: 3px solid var(--ink); }
.hp-template--listing-view-page .hp-page__content { flex: 1 1 560px; min-width: 0; max-width: none; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; border: 1px solid var(--ink); background: #fff; }
.hp-template--listing-view-page .hp-page__sidebar { flex: 0 0 340px; min-width: 0; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 600px) {
	/* Su telefono l'annuncio più in alto: 8px sopra il percorso, 8px sotto, 12px sotto la riga (11/11/2026). */
	.hp-template--listing-view-page .ilc-main > .content-area { padding-top: 8px; }
	.ilc-listing-crumbs { margin-bottom: 8px; }
	.hp-template--listing-view-page .site-main > .hp-row { padding-top: 12px; }
}
@media (min-width: 1180px) {
	.hp-template--listing-view-page .hp-page__sidebar { position: sticky; top: 72px; }
	.admin-bar.hp-template--listing-view-page .hp-page__sidebar { top: 104px; }
}
@media (max-width: 1179px) {
	.hp-template--listing-view-page .hp-page__sidebar { flex-basis: 100%; }
}
.ilc-listing-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.ilc-tag--small { padding: 3px 7px; font-size: 10px; }
.hp-listing--view-page .hp-listing__title { margin: 0 0 14px!important; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
.ilc-listing-headprice .ilc-listing-box__price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.ilc-listing-headprice .ilc-listing-box__label, .ilc-listing-headprice .ilc-listing-box__note { flex-basis: 100%; }
.ilc-listing-headprice .ilc-listing-box__amount { font-size: 32px; }
.ilc-listing-headprice .ilc-listing-box__place::before { content: "·"; margin-right: 16px; font-weight: 400; color: var(--muted); }
.ilc-listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-bottom: 28px; }
.hp-page .ilc-listing-head .hp-listing__action--favorite { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.hp-page .ilc-listing-head .hp-listing__action--favorite:hover { color: var(--acc); }
.ilc-listing-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* Su mobile la riga va a capo: senza puntino, che restava da solo in fondo alla prima riga */
@media (max-width: 599px) {
	.ilc-listing-meta > [aria-hidden] { display: none; }
}

.ilc-gallery { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ilc-gallery__main { position: relative; }
.ilc-gallery__main img, .ilc-gallery__main .ilc-lcard__ph { width: 100%; aspect-ratio: 4 / 3; border: 1px solid rgba(23, 22, 15, .18); }
.ilc-gallery__main img { height: auto; object-fit: cover; background: var(--ph); }
.ilc-gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ilc-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ilc-gallery__thumbs button { aspect-ratio: 1; padding: 0; border: 1px solid rgba(23, 22, 15, .18); background: var(--ph); cursor: pointer; overflow: hidden; }
.ilc-gallery__thumbs button.is-current { border: 2px solid var(--ink); }
.ilc-gallery__thumbs button:hover { border-color: var(--ink); }
.ilc-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.ilc-listing-section { margin-bottom: 28px; }
.ilc-listing-section__title { margin: 0 !important; padding-top:20px;padding-bottom: 10px; border-bottom: 3px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ilc-listing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(40%, 1fr)); column-gap: 60px; margin: 0; }

@media (max-width: 600px) {
	.ilc-listing-features { display: grid; grid-template-columns: none;}
	.ilc-cta__fc{border-left: 0px; border-top: 1px solid black;}
}
.ilc-listing-features > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ilc-listing-features dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ilc-listing-features dd { margin: 0; font-size: 15px; font-weight: 700; text-align: right; overflow-wrap: break-word; min-width: 0; }
.ilc-listing-features dd a { color: var(--ink); }
.ilc-listing-features dd a:hover { color: var(--ink); }
.ilc-listing-text { margin-top: 20px; }
.ilc-listing-text h3 { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ilc-listing-text p { margin: 0 !important; font-size: 16px; line-height: 1.55; }
.hp-listing--view-page .hp-listing__description { max-width: 68ch; margin: 14px 0 28px; font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--prose); overflow-wrap: break-word; text-wrap: pretty; }
.hp-listing--view-page .hp-listing__description p { margin: 0 0 1em; }
.hp-listing--view-page .hp-listing__description p:last-child { margin: 0; }
.ilc-listing-share { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.hp-page .ilc-listing-share .hp-listing__action--report { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ilc-listing-share .hp-listing__action--report .hp-icon { display: none; }

/* Riquadro della colonna: prezzo, inserzionista, azioni */
.ilc-listing-box { display: flex; flex-direction: column; border: 1px solid var(--ink); background: #fff; }
.ilc-listing-box > * { padding: 22px; border-bottom: 1px solid var(--line); }
.ilc-listing-box > *:last-child { border-bottom: 0; }
.ilc-listing-box > :empty { display: none; }
.ilc-listing-box__price { display: flex; flex-direction: column; gap: 6px; }
.ilc-listing-box__label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ilc-listing-box__amount { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ilc-listing-box__place { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ilc-listing-box__note { font-size: 13px; color: var(--muted); }
.ilc-listing-box__actions { display: flex; flex-direction: column; gap: 10px; }
.ilc-listing-phone { border: 1px solid var(--ink); text-align: center; }
.ilc-listing-phone summary { display: flex; align-items: center; justify-content: center; min-height: 48px; list-style: none; font-size: 14px; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.ilc-listing-phone summary::-webkit-details-marker { display: none; }
.ilc-listing-phone summary:hover, .hp-page a.ilc-listing-phone--login:hover { background: var(--sand); color: var(--ink); }
.hp-page a.ilc-listing-phone--login { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.ilc-listing-phone[open] summary { display: none; }
.hp-page .ilc-listing-phone a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 16px; font-weight: 800; color: var(--ink); }
.ilc-listing-box .hp-listing__actions--primary { display: contents; }
.ilc-listing-box .hp-vendor--view-block { grid-template-columns: 52px minmax(0, 1fr); align-items: center; padding: 22px; border-top: 0; border-bottom: 0; }
.ilc-listing-box .hp-vendor__footer { display: none; }
.ilc-listing-box .hp-vendor--view-block, .ilc-listing-box .hp-vendor--view-block > * { margin: 0 !important; }
.ilc-listing-box .hp-vendor--view-block .hp-vendor__header { grid-row: auto; }
.ilc-listing-box .hp-vendor--view-block .hp-vendor__image, .ilc-listing-box .hp-vendor--view-block .hp-vendor__image .ilc-avatar, .ilc-listing-box .hp-vendor--view-block .hp-vendor__image img { width: 52px; height: 52px; }
.ilc-listing-box .hp-vendor--view-block .hp-vendor__image .ilc-avatar { font-family: var(--sans); font-size: 18px; font-weight: 800; }
.ilc-listing-box .hp-vendor--view-block .hp-vendor__name { margin: 0 0 3px; font-family: var(--sans); font-size: 16px; font-weight: 800; }
.ilc-listing-box .ilc-vendor-company { margin: 0 0 3px; font-size: 14px; line-height: 1.35; color: var(--text); }
.ilc-listing-box .hp-vendor__details--primary { flex-wrap: wrap; gap: 0 6px; }
.ilc-listing-box .hp-vendor__details--primary > * + *::before { content: "· "; }
.ilc-listing-box .hp-vendor__date { font-size: 12px; letter-spacing: .06em; }
.ilc-listing-box .ilc-vendor-riservato { border-top: 0; }

/* Contatta l'inserzionista: riquadro con bordo in evidenza */
.ilc-listing-contact { padding: 22px; border: 1px solid var(--ink); border-top: 6px solid var(--acc); background: #fff; box-shadow: 4px 4px 0 var(--ink); scroll-margin-top: 80px; }
.ilc-listing-contact__head { display: flex; align-items: center; gap: 14px; margin: -22px -22px 20px; padding: 18px 22px; background: var(--ink); color: var(--paper); }
.ilc-listing-contact__icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--acc); color: #fff; }
.ilc-listing-contact__head h2 { margin: 0 0 3px !important; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: inherit; }
.ilc-listing-contact__head div > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.ilc-listing-contact__login { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 15px;  }
.ilc-listing-contact__login p { margin: 0 !important; font-family: var(--sans); font-size: 17px; line-height: 1.5; }
.hp-page .ilc-listing-contact__login .ilc-btn { display: inline-flex; align-items: center; min-height: 48px; color: var(--paper); }
.ilc-listing-contact .hp-form__label { display: none; }
.hp-page .ilc-listing-contact .hp-form__footer .button { width: 100%; min-height: 50px; background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hp-page .ilc-listing-contact .hp-form__footer .button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ilc-listing-contact textarea.hp-field { min-height: 140px; }

/* Barra fissa in basso, solo su mobile: titolo e provincia, poi prezzo, telefono e "Rispondi".
   Si nasconde quando il modulo è in vista. */
.ilc-listing-bar { display: none; }
@media (max-width: 1179px) {
	.ilc-listing-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; flex-direction: column; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 3px solid var(--ink); box-shadow: 0 -4px 14px rgba(23, 22, 15, .12); transition: transform .25s ease, visibility 0s linear 0s; }
	.ilc-listing-bar.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
	.ilc-listing-bar__info { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 12px; line-height: 1.3; }
	.ilc-listing-bar__title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
	.ilc-listing-bar__place { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
	.ilc-listing-bar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.ilc-listing-bar .ilc-listing-box__price { min-width: 0; gap: 2px; }
	.ilc-listing-bar .ilc-listing-box__label, .ilc-listing-bar .ilc-listing-box__place { display: none; }
	.ilc-listing-bar .ilc-listing-box__amount { font-size: 24px; }
	.ilc-listing-bar .ilc-listing-box__note { font-size: 12px; }
	.ilc-listing-bar__actions { flex: 0 0 auto; display: flex; gap: 8px; margin-left: auto; }
	.hp-page a.ilc-listing-bar__call { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
	.hp-page a.ilc-listing-bar__call:hover { background: var(--sand); color: var(--ink); }
	.hp-page a.ilc-listing-bar__reply { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: var(--acc); color: #fff; }
	.hp-page a.ilc-listing-bar__reply:hover { background: var(--ink); color: #fff; }
	.hp-page a.ilc-listing-bar__reply--wide { align-self: center; width: 100%; max-width: 420px; }
	body:has(.ilc-listing-bar) { padding-bottom: 110px; }
	body:has(.ilc-listing-bar) .ilc-totop { bottom: calc(126px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1179px) and (prefers-reduced-motion: reduce) {
	.ilc-listing-bar, .ilc-listing-bar.is-hidden { transition: none; }
}

/* Inserzionista */
.hp-vendor--view-block { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: start; margin: 0; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; text-align: left; }
.hp-vendor--view-block .hp-vendor__header { grid-row: span 2; margin: 0; }
.hp-vendor--view-block .hp-vendor__image { width: 56px; height: 56px; margin: 0; }
.hp-vendor--view-block .hp-vendor__image img { width: 56px; height: 56px; border-radius: 0; background: var(--sand); }
.hp-vendor--view-block .hp-vendor__image .ilc-avatar { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1; }
.hp-vendor--view-block .hp-vendor__image a:hover .ilc-avatar { background: var(--acc); }
.hp-vendor--view-block .hp-vendor__content { padding: 0; text-align: left; }
.hp-vendor--view-block .hp-vendor__details--primary, .hp-vendor--view-block .hp-vendor__details--primary:not(:last-child) { align-items: flex-start; margin: 0; }
.hp-vendor--view-block .hp-vendor__registered-date { text-align: left; }
.hp-vendor--view-block .hp-listing__attributes { margin: 5px 0 0; }
.hp-vendor--view-block .hp-vendor__name { margin: 0 0 4px; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.hp-vendor--view-block .hp-vendor__details { justify-content: flex-start; margin: 0; }
.hp-meta, .hp-vendor__date { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hp-vendor--view-block .hp-vendor__footer { padding: 0; border: 0; background: none; justify-content: flex-start; }
.hp-vendor--view-block .hp-vendor__footer:empty, .hp-vendor--view-block .hp-vendor__actions:empty { display: none; }
.hp-vendor--view-block .hp-vendor__action { display: none; }

/* Annunci simili */
.hp-template--listing-view-page .hp-page__footer { margin-top: 56px; }
.hp-template--listing-view-page .hp-page__footer .hp-section { margin-bottom: 64px; }
.hp-template--listing-view-page .hp-page__footer .ilc-cta { padding: 0; }
.hp-section__title { display: block; margin: 0 0 28px !important; padding-top: 12px; border-top: 3px solid var(--ink); font-family: var(--sans) !important; font-size: 15px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Account */
.hp-menu--user-account ul { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.hp-menu--user-account li { margin: 0; border-bottom: 1px solid var(--line); }
.hp-menu--user-account a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-family: var(--sans); font-size: 18px; font-weight: 600; }
.hp-menu--user-account a::after { content: "→"; font-family: var(--sans); }
.hp-menu--user-account .hp-menu__item--current a { color: var(--acc); }
/* "Esci": pulsante con bordo e icona, staccato dalle altre voci */
.hp-menu--user-account .hp-menu__item--user-logout { margin-top: 24px; border-bottom: 0; }
.hp-menu--user-account .hp-menu__item--user-logout a, .ilc-area-utente .hp-menu--user-account .hp-menu__item--user-logout a { justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: background .15s ease, color .15s ease; }
.hp-menu--user-account .hp-menu__item--user-logout a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat; }
.hp-menu--user-account .hp-menu__item--user-logout a::after { content: none; }
.hp-menu--user-account .hp-menu__item--user-logout a:hover, .ilc-area-utente .hp-menu--user-account .hp-menu__item--user-logout a:hover { background: var(--ink); color: var(--paper); }
.hp-menu__item-count, .hp-menu--user-account small { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; background: var(--acc); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 800; }
.hp-page__sidebar .inner-wrapper-sticky { padding-right: 24px; }

.hp-table { width: 100%; border-collapse: collapse; }
.hp-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hp-table td:first-child { padding-left: 0; }
.hp-listing--edit-block .hp-listing__title { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.hp-text--secondary { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hp-status { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hp-status--pending, .hp-status--draft { color: #9A6A00; }
.hp-status--publish { color: #2E6B3A; }
.hp-listing__actions--primary .hp-link { color: var(--muted); }

/* Area utente (anche inserimento e modifica dell'annuncio, classe ilc-area-utente): intestazione della colonna (nome, annunci attivi, Pubblica) alta quanto il titolo
   della pagina, così il menu parte dalla stessa linea nera. */
.ilc-area-utente { --ilc-account-head: 150px; }
.ilc-account-head { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding-bottom: 20px; }
.ilc-account-head__user { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ilc-account-head__user > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ilc-account-head .ilc-avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1; }
.ilc-account-head__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.15; }
.ilc-account-head a.ilc-account-head__count { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2E6B3A; }
.ilc-account-head a.ilc-account-head__count::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.ilc-account-head a.ilc-account-head__count:hover { color: var(--ink); }
.ilc-account-head a.ilc-account-head__submit { display: flex; align-items: center; justify-content: center; min-height: 46px; background: var(--acc); color: #fff; }
.ilc-account-head a.ilc-account-head__submit:hover { background: var(--ink); color: var(--paper); }

/* Area utente, "Aiuto": domande frequenti a fisarmonica (plugin ilc-annunci, inc/aiuto.php) */
.ilc-aiuto { max-width: 760px; }
.ilc-aiuto__intro { margin: 0 0 28px; font-size: 16px; color: var(--text); }
.ilc-aiuto__gruppo + .ilc-aiuto__gruppo { margin-top: 36px; }
.ilc-aiuto .ilc-aiuto__titolo { margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.ilc-aiuto__voce { border-bottom: 1px solid var(--line); }
.ilc-aiuto__voce summary { position: relative; display: block; padding: 16px 40px 16px 0; list-style: none; font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.ilc-aiuto__voce summary::-webkit-details-marker { display: none; }
.ilc-aiuto__voce summary::after { content: "+"; position: absolute; top: 50%; right: 6px; transform: translateY(-50%); font-family: var(--sans); font-size: 24px; font-weight: 400; line-height: 1; color: var(--acc); }
.ilc-aiuto__voce[open] summary::after { content: "\2212"; }
.ilc-aiuto__voce summary:hover { color: var(--acc); }
.ilc-aiuto__risposta { padding: 0 40px 18px 0; font-size: 16px; line-height: 1.6; color: var(--prose); }
.ilc-aiuto__risposta p, .ilc-aiuto__risposta ul { margin: 0 0 10px; }
.ilc-aiuto__risposta > :last-child { margin-bottom: 0; }
.ilc-aiuto__risposta ul { padding-left: 20px; }
.ilc-aiuto__risposta a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.ilc-aiuto__risposta a:hover { color: var(--ink); }
@media (max-width: 600px) {
	.ilc-aiuto__voce summary { font-size: 17px; padding-right: 32px; }
	.ilc-aiuto__risposta { padding-right: 0; }
}
.ilc-area-utente .hp-page__content > .hp-page__title:first-child { display: flex; flex-direction: column; justify-content: flex-end; }
.ilc-area-utente .hp-page__content > .hp-page__title:first-child::before { content: "Area inserzionista"; margin-bottom: 12px; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
@media (min-width: 768px) {
	.ilc-area-utente .hp-page__content > .hp-page__title:first-child { box-sizing: border-box; min-height: var(--ilc-account-head); }
	.ilc-account-head { box-sizing: border-box; min-height: calc(var(--ilc-account-head) - 3px); }
}
/* Menu dell'account nella testata mobile: utente in alto, poi il menu */
.ilc-drawer--account .ilc-account-head { min-height: 0; padding: 22px 0; }
.ilc-drawer--account .hp-menu--user-account ul { border-top-width: 1px; }
/* Su mobile la colonna dell'account sparisce: il menu si apre dall'icona utente della testata. */
@media (max-width: 767px) {
	.ilc-area-utente .hp-page__sidebar { display: none; }
}

/* Area utente: menu con la voce attiva segnata a sinistra */
.ilc-area-utente .hp-menu--user-account a { padding-inline: 12px; transition: background .15s ease; }
.ilc-area-utente .hp-menu--user-account a:hover { background: var(--sand); }
.ilc-area-utente .hp-menu--user-account .hp-menu__item--current a, .ilc-area-utente.hp-template--listing-edit-page .hp-menu--user-account .hp-menu__item--listings-edit a { box-shadow: inset 4px 0 0 var(--acc); background: #fff; color: var(--acc); }

/* Area utente: elenco degli annunci (Stato, Titolo, Categoria, Data), stato come etichetta */
.hp-template--listings-edit-page .hp-table thead th { padding: 0 10px 10px; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hp-template--listings-edit-page .hp-listing--edit-block { transition: background .15s ease; }
.hp-template--listings-edit-page .hp-listing--edit-block:hover { background: #fff; }
/* Tutta la riga porta alla modifica: il link del titolo si allarga sulla riga (non negli annunci in attesa, senza link). */
.hp-template--listings-edit-page .hp-listing--edit-block { position: relative; }
.hp-template--listings-edit-page .hp-listing__title a::after { content: ""; position: absolute; inset: 0; }
.hp-template--listings-edit-page .hp-listing--edit-block:hover .hp-listing__title a { color: var(--acc); }
.hp-template--listings-edit-page .hp-listing--edit-block:has(a:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.hp-template--listings-edit-page .hp-listing__title a:focus-visible { outline: 0; }
.hp-template--listings-edit-page .hp-table td:first-child, .hp-template--listings-edit-page .hp-table th:first-child { width: 1%; padding-left: 10px; }
.hp-template--listings-edit-page .hp-listing__created-date { width: 1%; }
.hp-listing--edit-block .hp-status > span { display: inline-block; padding: 6px 4px; border: 1px solid currentColor; color: inherit; white-space: nowrap; }
@media (max-width: 767px) {
	.hp-template--listings-edit-page .hp-table thead { display: none; }
	.hp-template--listings-edit-page .hp-listing--edit-block { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.hp-template--listings-edit-page .hp-listing--edit-block td { display: block; width: auto !important; padding: 0 !important; border: 0; }
	.hp-template--listings-edit-page .hp-listing--edit-block .hp-listing__title { flex: 1 1 100%; }
	.hp-template--listings-edit-page .hp-listing--edit-block .hp-status { order: 1; flex-basis: 100%; }
	.hp-template--listings-edit-page .hp-listing--edit-block .hp-listing__title { order: 2; }
	.hp-template--listings-edit-page .hp-listing--edit-block .hp-listing__categories { order: 3; }
	.hp-template--listings-edit-page .hp-listing--edit-block .hp-listing__created-date { order: 4; }
}

/* Inserimento e modifica: i pulsanti del modulo restano in vista in una barra sul fondo */
.ilc-area-utente :is(.hp-form--listing-submit, .hp-form--listing-update) .hp-form__footer { position: sticky; bottom: 0; z-index: 20; margin-top: 28px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 3px solid var(--ink); box-shadow: 0 -10px 12px -10px rgba(23, 22, 15, .3); }
.ilc-area-utente .hp-form--listing-update > .hp-form__header .hp-form__description { margin: 0 0 24px; padding: 14px 18px; border-left: 4px solid var(--acc); background: var(--sand); font-size: 15px; line-height: 1.45; color: var(--ink); }
.ilc-area-utente .hp-form--listing-update .hp-form__footer .button { min-width: 220px; min-height: 52px; background: var(--acc); border-color: var(--acc); color: #fff; }
.ilc-area-utente :is(.hp-form--listing-submit, .hp-form--listing-update) .hp-form__footer .button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.ilc-area-utente:has(.hp-form--listing-update, .hp-form--listing-submit) .ilc-totop { bottom: calc(100px + env(safe-area-inset-bottom)); }
@media (max-width: 767px) {
	.ilc-area-utente :is(.hp-form--listing-submit, .hp-form--listing-update) .hp-form__footer .button { flex: 1 1 100%; min-width: 0; }
}

/* Modifica dell'annuncio: schede Dettagli / Modifica e azioni sotto la linea nera del titolo */
.ilc-area-utente .hp-page__topbar--separate { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 20px; margin: -24px 0 32px; border-top: 0; border-bottom: 1px solid var(--line); }
.ilc-area-utente .hp-page__topbar--separate .hp-menu--tabbed { width: auto; margin: 0; border: 0; }
.ilc-area-utente .hp-menu--tabbed .hp-menu__item { padding: 14px 16px; }
.ilc-area-utente .hp-menu--tabbed .hp-menu__item:first-child { padding-left: 0; }
.ilc-area-utente .hp-menu--tabbed a { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ilc-area-utente .hp-menu--tabbed .hp-menu__item--current a { color: var(--acc); }
.ilc-area-utente .hp-menu--tabbed .hp-menu__item--current::before { background: var(--acc); }
.ilc-area-utente .hp-menu--tabbed .hp-menu__item:first-child.hp-menu__item--current::before { left: 0; }
.ilc-area-utente .hp-page__topbar--separate .hp-listing__actions--secondary { display: flex; gap: 18px; font-size: 13px; font-weight: 700; }
@media (max-width: 767px) {
	.ilc-area-utente .hp-page__topbar--separate { flex-direction: column; align-items: stretch; }
	.ilc-area-utente .hp-menu--tabbed ul { justify-content: flex-start; }
	.ilc-area-utente .hp-page__topbar--separate .hp-listing__actions--secondary { justify-content: flex-start; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Messaggi */
.hp-message--view-block { padding: 14px 16px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); }
.hp-message--view-block.hp-message--sent { background: var(--sand); }
.hp-message__sender { font-weight: 800; }
.hp-message__text { font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.hp-message--thread-block td { padding: 14px 10px; }
.hp-message--thread-block .hp-message__listing .hp-meta { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* Messaggi su mobile (05/11/2026) */
@media (max-width: 767px) {
	/* Elenco delle conversazioni: per ognuna nome e data in alto, annuncio sotto (la tabella a tre colonne usciva dallo schermo a 320 px) */
	table.hp-messages, table.hp-messages tbody { display: block; width: 100%; }
	.hp-message--thread-block { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.hp-message--thread-block td { display: block; padding: 0; border: 0; }
	.hp-message--thread-block .hp-message__sender { grid-column: 1; grid-row: 1; }
	.hp-message--thread-block .hp-message__date { grid-column: 2; grid-row: 1; max-width: 9em; font-size: 13px; text-align: right; color: var(--muted); }
	.hp-message--thread-block .hp-message__listing { grid-column: 1 / -1; grid-row: 2; }
	/* Conversazione: senza la freccia di HivePress (::before), che usciva dal riquadro; ::after è il segno di lettura e resta. Nome sopra la data */
	.hp-message--view-block::before { display: none; }
	.hp-message--view-block .hp-message__details { flex-direction: column; align-items: flex-start; gap: 2px; }
}
/* Conversazione: annuncio di cui si parla, sopra i messaggi */
.ilc-message-listing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid var(--acc); background: #fff; }
.ilc-message-listing__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ilc-message-listing__title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); }
.ilc-message-listing--off { border-left-color: var(--line); }
.ilc-message-listing--off .ilc-message-listing__title { color: var(--muted); }

/* Finestre (accesso, registrazione, messaggio, segnalazione) */
.hp-modal { max-width: 460px; padding: 36px 32px 28px; border-top: 4px solid var(--acc); border-radius: 0; background: var(--paper); font-family: var(--sans); color: var(--ink); }
.hp-modal__title { margin: 0 0 22px; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.015em; text-align: left; }
.hp-modal .hp-form__footer .button { width: 100%; }
.hp-modal .hp-form__action { width: 100%; text-align: center; }
.fancybox-slide--html .fancybox-close-small { color: var(--ink); }
.fancybox-bg { background: var(--ink); }
.fancybox-is-open .fancybox-bg { opacity: .7; }

/* Inserimento */
.hp-form--narrow { max-width: 760px; }
.hp-template--listing-submit-details-page .hp-form__footer .button { min-width: 220px; min-height: 52px; background: var(--acc); border-color: var(--acc); color: #fff; }
.hp-field--attachment-upload .hp-row { gap: 10px; margin: 0 0 10px; }
.hp-field--attachment-upload label .button { min-height: 40px; }
.hp-page--listing-submit-complete p, .hp-template--listing-submit-complete-page .hp-page__text { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--text); }

/* Paginazione */
.hp-pagination { margin-top: 32px; }
.hp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 800; }
.hp-pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid rgba(23, 22, 15, .3); }
.hp-pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.hp-pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hp-pagination .prev, .hp-pagination .next { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 767px) {
	.ilc-main > .content-area { padding-top: 20px; }
	.hp-form--listing-search { grid-template-columns: minmax(0, 1fr); }
	.hp-form--listing-search .hp-form__fields { flex-direction: column; }
	.hp-form--listing-search .hp-form__field { flex: 0 0 auto; border-right: 0; border-bottom: 1px solid rgba(23, 22, 15, .2); }
	.hp-template--listings-view-page .hp-page__topbar { flex-direction: row; justify-content: space-between; }
	.hp-page__sidebar { margin-top: 32px; }
	.hp-page__sidebar .inner-wrapper-sticky { padding-right: 0; }
	.hp-button--user-account-menu { width: 100%; margin-bottom: 20px; }
	.hp-modal { padding: 28px 20px 22px; }
}

/* Colonna dei filtri (categorie con filtri propri) */
.hp-widget--listing-filter { padding: 18px 18px 4px; background: var(--sand); border-top: 3px solid var(--ink); }
@media (min-width: 768px) {
	.hp-widget--listing-filter .hp-modal { max-width: none; padding: 0; border: 0; background: none; }
}
.hp-widget--listing-filter .hp-form__field { margin-bottom: 16px; }
.hp-widget--listing-filter .hp-form__footer .button, .hp-widget--listing-filter button.hp-field--submit { width: 100%; margin-bottom: 14px; }
.hp-field--number-range .hp-row, .hp-field--number-range .hp-field__range { gap: 8px; }
/* Slider del prezzo: le maniglie restano dentro la colonna */
.hp-field--number-range .ui-slider { margin: 6px 10px 0; height: 4px; border: 0; border-radius: 0; background: var(--sand); }
.hp-field--number-range .ui-slider-range { background: var(--ink); border-radius: 0; }
.hp-field--number-range .ui-slider-handle { top: -8px; width: 20px; height: 20px; margin-left: -10px; border: 2px solid var(--ink); border-radius: 0; background: #fff; cursor: grab; }
.hp-page .hp-listing-filter-link, .hp-page__header .hp-link--filter { display: none; }
@media (max-width: 767px) {
	.hp-page__header .hp-link--filter, .hp-page .hp-listing-filter-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
	.ilc-annunci--filtri .hp-template--listings-view-page .hp-page__sidebar { margin-top: 0; }
}

.ilc-vendor-riservato { display: block; }
.ilc-vendor-riservato .hp-vendor__name { margin: 0 0 4px; font-family: var(--sans); font-size: 16px; font-weight: 800; }
.ilc-vendor-riservato p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }

/* Correzioni sopra gli stili di HivePress (più specifici) */
.hp-page .hp-form--listing-search button.hp-field--submit { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hp-page .hp-form--listing-search button.hp-field--submit:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.hp-listing .hp-listing__attributes .hp-listing__attribute--provincia { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.hp-listing .hp-listing__attributes .hp-listing__attribute--provincia::before { content: ""; width: 7px; height: 7px; margin: 0; border-radius: 50%; background: var(--acc); }
.hp-menu--tabbed li { margin: 0 !important; border: 0 !important; }
.hp-menu--tabbed ul { border: 0 !important; }
.hp-vendor--view-block .hp-vendor__content, .hp-vendor--view-block .hp-vendor__name { text-align: left !important; }
.hp-vendor--view-block .hp-vendor__details { display: flex; justify-content: flex-start !important; }
.hp-page__sidebar .hp-widget--user-account-menu, .hp-page__sidebar .hp-widget--user-account-menu .hp-modal { margin: 0; padding: 0 !important; border: 0 !important; background: none; box-shadow: none; }
.hp-table td.hp-listing__created-date { white-space: nowrap; }


/*box newsletter*/
.ilc-cta__fc *{color: #fff; }
.ilc-cta__fc:hover, .ilc-cta__fc:hover * { color: #f5f5f5; }