#anxaDesktopLayout {display:none;}
@media(min-width:1024px){
 .anxa-desktop-wide .hero-header {width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;}
 .anxa-desktop-wide>.lanciano-oggi-section {width:calc(100% - 48px)!important;max-width:none!important;}
 .anxa-desktop-wide>#anxaDesktopLayout {display:flex;flex-direction:column;gap:24px;width:calc(100% - 48px);margin:24px auto 32px;box-sizing:border-box;}
 .anxa-desktop-row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch;}
 .anxa-desktop-row>* {width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;}
 .anxa-desktop-wide>.anxa-culture-desktop-row,.anxa-desktop-wide>.hub-primary-row,.anxa-desktop-wide>.anxa-home-top-pair,.anxa-desktop-wide>.anxa-business-tools,.anxa-desktop-wide>.anxa-promo-game-row {display:none!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-card {height:100%;box-sizing:border-box;padding:20px!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-title {font-size:25px!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-actions {flex-wrap:wrap;}
 .anxa-desktop-row-1 .hub-citta-card {height:100%;box-sizing:border-box;}
 .anxa-desktop-row-1 .hub-tab-body {flex:1;}
 .anxa-desktop-row-2 {grid-auto-rows:minmax(300px,auto);}
 .anxa-desktop-row-2 #anxaNovitaSection:not([hidden]) {display:block!important;}
 .anxa-desktop-row-2 .anxa-novita-wrap,.anxa-desktop-row-2 .anxa-novita-manifesto,.anxa-desktop-row-2 .anxa-novita-slide {height:100%!important;min-height:300px!important;aspect-ratio:auto!important;}
 .anxa-desktop-row-2 .anxa-novita-link {height:100%;box-sizing:border-box;padding:0!important;}
 .anxa-desktop-row-2 .anxa-novita-cloud {width:100%;height:100%;min-height:300px;box-sizing:border-box;}
 .anxa-desktop-row-2 .anxa-lfc-section,.anxa-desktop-row-2 .anxa-lfc-card {height:100%!important;min-height:300px!important;margin:0!important;box-sizing:border-box;}
 .anxa-desktop-row-2 .anxa-lfc-main {grid-template-columns:82px minmax(0,1fr);gap:8px;}
 .anxa-desktop-row-2 .anxa-lfc-logo {width:76px;}
 .anxa-desktop-row-2 #hubPromoConsigliCard {height:100%;min-height:300px;}
 .anxa-desktop-row-2 .anxa-promo-only-body {flex:1;display:flex;flex-direction:column;}
 .anxa-desktop-row-2 #hub-panel-promo,.anxa-desktop-row-2 #widget-promo-eventi {flex:1;}
 .anxa-desktop-row-3 {grid-template-columns:minmax(0,1fr);}
 .anxa-desktop-row-3 .dashboard-scroll-row {display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:12px!important;padding:0!important;overflow:visible!important;}
 .anxa-desktop-row-3 .service-card-premium {width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;}
 .anxa-desktop-row-3 .service-card-title {font-size:clamp(12px,1.1vw,18px)!important;overflow-wrap:normal;}
 .anxa-desktop-row-3 .service-card-desc {font-size:11px!important;}
 .anxa-desktop-row-4,.anxa-desktop-row-5 {grid-template-columns:repeat(2,minmax(0,1fr));}
 .anxa-desktop-row-4 .anxa-nearby-card {height:100%;box-sizing:border-box;}
 .anxa-desktop-row-4 .anxa-nearby-head {flex-direction:column!important;align-items:stretch!important;}
 .anxa-desktop-row-4 .anxa-nearby-locate {width:100%!important;}
 .anxa-desktop-row-4 .anxa-nearby-main {grid-template-columns:1fr!important;}
 .anxa-desktop-row-4 #anxaCaffeWidget {padding:18px;}
 .anxa-desktop-row-4 #anxaCaffeWidget h2 {font-size:24px;}
 .anxa-desktop-row-4 .anxa-caffe-poster {min-height:180px;}
 .anxa-desktop-row-4 .anxa-caffe-poster img {height:220px;}
 .anxa-desktop-row-5 .anxa-polaroid-card {aspect-ratio:auto!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:24px!important;}
 .anxa-desktop-row-5 #anxaBocconottoWidget {height:100%;padding:0!important;}
 .anxa-desktop-row-5 #anxaBocconottoWidget>a {height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:24px;padding:20px;}
 .anxa-desktop-row-5 .anxa-bocconotto-visual {width:88px;min-height:88px;flex-shrink:0;}
 .anxa-desktop-row-5 .anxa-bocconotto-copy strong {font-size:26px;}
 .anxa-desktop-row-5 .anxa-bocconotto-cta {margin-top:12px;}
 .anxa-desktop-row-6 {grid-auto-rows:minmax(300px,auto);}
 .anxa-desktop-row-6 .anxa-business-vetrina {aspect-ratio:auto!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:20px!important;}
 .anxa-desktop-row-6 #anxaBusinessOfficina {height:100%;display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden;}
 .anxa-desktop-row-6 .anxa-business-officina-media {width:100%!important;flex:1 1 190px!important;min-height:190px!important;max-height:240px;border-radius:0!important;}
 .anxa-desktop-row-6 .anxa-business-officina-copy {padding:16px!important;}
 .anxa-desktop-row-6 .anxa-countdown-card {height:100%;min-height:300px;padding:22px 18px!important;}
 .anxa-desktop-row-6 .anxa-countdown-main {grid-template-columns:minmax(0,1fr)!important;flex-direction:column!important;align-items:stretch!important;gap:20px!important;}
 .anxa-desktop-row-6 .anxa-countdown-title {font-size:25px!important;}
 .anxa-desktop-row-6 .anxa-countdown-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%;gap:6px!important;}
 .anxa-desktop-row-6 .countdown-unit {min-width:0!important;padding:12px 4px!important;}
 .anxa-desktop-row-6 .countdown-unit strong {font-size:30px!important;}
}

/* Dimensioni compatte delle schede: solo PC, senza cambiare gli otto pulsanti. */
@media(min-width:1024px){
 .anxa-desktop-wide>#anxaDesktopLayout {gap:20px;}
 .anxa-desktop-row-1 .anxa-rifiuti-card {padding:14px!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-head {gap:9px;}
 .anxa-desktop-row-1 .anxa-rifiuti-icon {width:36px;height:36px;font-size:21px;border-radius:11px;}
 .anxa-desktop-row-1 .anxa-rifiuti-kicker {font-size:10px;}
 .anxa-desktop-row-1 .anxa-rifiuti-title {font-size:22px!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-subtitle {font-size:11px;line-height:1.3;margin-top:4px;}
 .anxa-desktop-row-1 .anxa-rifiuti-today {margin-top:10px;padding:10px 12px;}
 .anxa-desktop-row-1 .anxa-rifiuti-date {font-size:11px;margin-bottom:4px;}
 .anxa-desktop-row-1 .anxa-rifiuti-main strong {font-size:24px!important;}
 .anxa-desktop-row-1 .anxa-rifiuti-note {font-size:11px;margin-top:5px;}
 .anxa-desktop-row-1 .anxa-rifiuti-next {margin-top:7px;padding:7px 10px;font-size:12px;}
 .anxa-desktop-row-1 .anxa-rifiuti-details {margin-top:7px;}
 .anxa-desktop-row-1 .anxa-rifiuti-details summary {padding:8px 10px;font-size:12px;}
 .anxa-desktop-row-1 .anxa-rifiuti-actions {margin-top:8px;gap:6px;}
 .anxa-desktop-row-1 .anxa-rifiuti-btn {padding:8px 10px;font-size:11px;}
 .anxa-desktop-row-1 .anxa-rifiuti-source {font-size:9px;line-height:1.25;margin-top:7px;}
 .anxa-desktop-row-1 .hub-citta-card {padding:14px!important;gap:9px;}
 .anxa-desktop-row-1 .hub-tab-body {min-height:190px!important;}
 .anxa-desktop-row-1 #widget-comune-avvisi,.anxa-desktop-row-1 #widgetComuneAvvisiBody,.anxa-desktop-row-1 #widget-meteo-santo {min-height:190px!important;}
 .anxa-desktop-row-1 #widgetServiziBody {min-height:170px!important;}
 .anxa-desktop-row-1 .hub-citta-icon {width:30px;height:30px;}
 .anxa-desktop-row-1 .hub-tab-btn {padding:7px 6px!important;font-size:10px!important;}
 .anxa-desktop-row-2 .hub-citta-card {padding:14px!important;gap:9px;}
 .anxa-desktop-row-2 .hub-tab-body {min-height:200px!important;}
 .anxa-desktop-row-2 #widget-promo-eventi {min-height:220px!important;}
 .anxa-desktop-row-2 #promoEventiBody {height:170px!important;}
 .anxa-desktop-row-4 #anxaCaffeWidget {padding:16px;}
 .anxa-desktop-row-4 .anxa-caffe-poster img {height:200px;}
 .anxa-desktop-row-5 {grid-auto-rows:minmax(180px,auto);}
 .anxa-desktop-row-5 .anxa-polaroid-card {flex-direction:row!important;justify-content:flex-start!important;padding:20px;gap:20px!important;}
 .anxa-desktop-row-5 #anxaBocconottoWidget>a {flex-direction:row;justify-content:flex-start;gap:20px;padding:20px;}
 .anxa-desktop-row-5 .anxa-bocconotto-copy {flex:1;min-width:0;}
 .anxa-desktop-row-5 .anxa-bocconotto-copy strong {font-size:23px;}
 .anxa-desktop-row-5 .anxa-bocconotto-cta {margin-top:0;white-space:nowrap;}
 .anxa-desktop-row-6 .anxa-business-vetrina {padding:16px;gap:14px!important;}
 .anxa-desktop-row-6 .anxa-business-officina-media {flex-basis:150px!important;min-height:150px!important;max-height:180px;}
 .anxa-desktop-row-6 .anxa-business-officina-copy {padding:12px!important;}
 .anxa-desktop-row-6 .anxa-business-officina-copy strong {font-size:21px;}
 .anxa-desktop-row-6 .anxa-countdown-card {padding:16px!important;}
 .anxa-desktop-row-6 .anxa-countdown-main {gap:12px!important;}
 .anxa-desktop-row-6 .anxa-countdown-title {font-size:22px!important;}
 .anxa-desktop-row-6 .anxa-countdown-icon {width:44px;height:44px;flex:0 0 44px;font-size:26px;}
 .anxa-desktop-row-6 .countdown-unit {min-height:80px!important;border-radius:14px;}
 .anxa-desktop-row-6 .countdown-unit strong {font-size:27px!important;}
 .anxa-desktop-row-6 .countdown-unit span {font-size:9px;letter-spacing:0;margin-top:6px;}
}

/* Vicino a te e Caffè letterario: schede basse e compatte su PC. */
@media(min-width:1024px){
 .anxa-desktop-row-4 {grid-auto-rows:320px;align-items:stretch;}
 .anxa-desktop-row-4 #anxaNearbySection,.anxa-desktop-row-4 #anxaCaffeWidget {height:320px!important;min-height:0!important;}
 .anxa-desktop-row-4 .anxa-nearby-card {height:320px!important;min-height:0!important;padding:12px!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;}
 .anxa-desktop-row-4 .anxa-nearby-head {flex-direction:row!important;align-items:center!important;gap:10px;margin-bottom:8px;}
 .anxa-desktop-row-4 .anxa-nearby-locate {width:auto!important;flex-shrink:0;padding:7px 9px;min-height:32px;}
 .anxa-desktop-row-4 .anxa-nearby-head p {font-size:10px;}
 .anxa-desktop-row-4 .anxa-nearby-status {padding:6px 8px;margin-bottom:6px;}
 .anxa-desktop-row-4 .anxa-nearby-filter-block {margin-top:6px;}
 .anxa-desktop-row-4 .anxa-nearby-filter-label {font-size:9px;margin-bottom:3px;}
 .anxa-desktop-row-4 .anxa-nearby-chip {padding:5px 8px;font-size:10px;}
 .anxa-desktop-row-4 .anxa-nearby-main {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:8px;margin-top:8px;}
 .anxa-desktop-row-4 .anxa-nearby-map-wrap {min-height:150px!important;}
 .anxa-desktop-row-4 .anxa-nearby-map {height:150px!important;}
 .anxa-desktop-row-4 .anxa-nearby-results-wrap {min-width:0;}
 .anxa-desktop-row-4 .anxa-nearby-results {max-height:120px!important;overflow-y:auto;}
 .anxa-desktop-row-4 .anxa-nearby-note {font-size:9px;line-height:1.25;}
 .anxa-desktop-row-4 #anxaCaffeWidget {padding:12px!important;gap:0;overflow-y:auto;scrollbar-width:thin;}
 .anxa-desktop-row-4 .anxa-caffe-kicker {font-size:10px;margin-bottom:4px;}
 .anxa-desktop-row-4 #anxaCaffeWidget h2 {font-size:21px;}
 .anxa-desktop-row-4 .anxa-caffe-description {font-size:11px;line-height:1.3;margin:5px 0 8px;}
 .anxa-desktop-row-4 .anxa-caffe-poster {flex:1 1 125px;min-height:100px!important;}
 .anxa-desktop-row-4 .anxa-caffe-poster img {height:125px!important;}
 .anxa-desktop-row-4 .anxa-caffe-caption {font-size:10px;margin:6px 0;}
 .anxa-desktop-row-4 .anxa-caffe-facebook {padding:7px 11px;font-size:11px;}
 .anxa-desktop-row-4 .anxa-caffe-navigation {margin-top:4px;gap:10px;}
 .anxa-desktop-row-4 .anxa-caffe-navigation button {width:26px;height:26px;font-size:18px;}
}

.anxa-nearby-desktop-preview {display:none;}
.anxa-nearby-desktop-dialog {width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;inset:0!important;margin:0!important;padding:0!important;border:0;border-radius:0;box-sizing:border-box;background:var(--glass-bg,#f5f8fc);color:var(--text-main,#1e293b);overflow-y:auto;}
.anxa-nearby-desktop-dialog::backdrop {background:rgba(0,0,0,.65);}
.anxa-nearby-dialog-open {overflow:hidden;}
.anxa-nearby-dialog-bar {position:sticky;top:0;z-index:2000;display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:#0033a0;color:#fff;}
.anxa-nearby-dialog-bar button {padding:10px 16px;border:1px solid #ffffff80;border-radius:10px;background:#fff;color:#0033a0;font-size:15px;font-weight:800;cursor:pointer;}
#anxaNearbyDesktopDialog .anxa-nearby-card {box-sizing:border-box;width:100%;padding:24px;border:0;border-radius:0;box-shadow:none;overflow:visible;}
#anxaNearbyDesktopDialog .anxa-nearby-main {grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);}
#anxaNearbyDesktopDialog .anxa-nearby-map-wrap {min-height:55vh;}
#anxaNearbyDesktopDialog .anxa-nearby-map {height:55vh;min-height:360px;}
#anxaNearbyDesktopDialog .anxa-nearby-results {max-height:55vh;overflow-y:auto;}
@media(min-width:1024px){
 .anxa-desktop-row-4 {grid-auto-rows:370px;}
 .anxa-desktop-row-4 #anxaNearbySection,.anxa-desktop-row-4 #anxaCaffeWidget {height:370px!important;}
 .anxa-desktop-row-4 #anxaNearbySection>.anxa-nearby-card {display:none!important;}
 .anxa-desktop-row-4 .anxa-nearby-desktop-preview {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;width:100%;height:100%;box-sizing:border-box;padding:28px;text-align:left;border:1px solid rgba(0,51,160,.18);border-radius:24px;background:linear-gradient(135deg,#eff5ff,#fff9df);color:#0033a0;box-shadow:0 8px 24px rgba(0,51,160,.1);font:inherit;cursor:pointer;}
 .anxa-nearby-preview-icon {font-size:42px;}
 .anxa-nearby-desktop-preview strong {font-size:27px;}
 .anxa-nearby-desktop-preview>span {line-height:1.4;}
 .anxa-nearby-preview-tags {font-size:12px;color:#475569;}
 .anxa-nearby-preview-cta {padding:11px 16px;border-radius:12px;background:#0033a0;color:#fff;font-size:14px;font-weight:800;}
 .anxa-nearby-desktop-preview:focus-visible {outline:3px solid #e6b300;outline-offset:3px;}
 .anxa-desktop-row-4 .anxa-caffe-poster img {height:175px!important;}
 .anxa-desktop-row-4 .anxa-caffe-poster {flex-basis:175px;}
}

/* Locandine a piena area nel widget desktop; apertura completa invariata. */
@media(min-width:1024px){
 .anxa-desktop-row-4 .anxa-caffe-poster {position:relative;display:block;min-height:100px!important;overflow:hidden;}
 .anxa-desktop-row-4 .anxa-caffe-poster img {position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center;}
}

/* Centra la locandina aperta rispetto allo schermo. */
#anxaCaffeDialog {
 position:fixed!important;inset:0!important;margin:auto!important;
 width:fit-content!important;height:fit-content!important;
 max-width:94vw!important;max-height:94dvh!important;
 box-sizing:border-box!important;padding:42px 12px 12px!important;
 overflow:auto;
}
#anxaCaffeDialog img {
 display:block;margin:0 auto;width:auto!important;height:auto!important;
 max-width:calc(94vw - 24px)!important;max-height:calc(94dvh - 54px)!important;
 object-fit:contain;
}
