/* JEventi — agenda pubblica. Telefono: elenco o mappa a tutta pagina. Computer: elenco a sinistra, mappa a destra. */
:root {
  --ink: #21181a;
  --muted: #6f6266;
  --red: #b5121b;
  --red-dark: #7f0f17;
  --red-soft: #fbeceb;
  --gold: #e9a23b;
  --canvas: #f7f3f1;
  --paper: #fff;
  --line: #eadfdb;
  --shadow: 0 10px 28px rgba(89, 19, 25, .12);
  --radius: 14px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Manrope', var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--canvas); color: var(--ink); font: 15px/1.5 var(--font);
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(181, 18, 27, .35); outline-offset: 2px; }

/* ---------------------------------------------------------------- intestazione */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 3vw, 32px); background: var(--paper); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; min-width: 0; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: url(../icon.svg?v=2.1.0) center/cover no-repeat;
}
.brand__copy { display: grid; line-height: 1.15; }
.brand__copy strong { font: 800 17px var(--display); letter-spacing: -.01em; }
.brand__copy small { color: var(--muted); font-size: 12.5px; }
.header-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.header-count strong { color: var(--red); font: 800 20px var(--display); }

/* ---------------------------------------------------------------- ricerca e filtri */
.toolbar {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
  padding: 12px clamp(16px, 3vw, 32px); background: rgba(247, 243, 241, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.toolbar__row { position: relative; display: flex; gap: 8px; align-items: center; }
.search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--muted);
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(181, 18, 27, .12); }
.search svg { font-size: 18px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 16px; }
.filters-button {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 600;
}
.filters-button svg { font-size: 18px; }
.filters-button b {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--red); color: #fff; font-size: 11px; line-height: 20px; text-align: center;
}
.view-switch {
  display: none; position: fixed; z-index: 25; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); align-items: center; gap: 8px;
  height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.view-switch svg { font-size: 18px; }
.view-switch [data-icon="list"], .view-switch[data-target="list"] [data-icon="map"] { display: none; }
.view-switch[data-target="list"] [data-icon="list"] { display: block; }

.chips { display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 0 clamp(16px, 3vw, 32px) 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips__group { display: contents; }
.chips__sep { width: 1px; height: 22px; background: var(--line); flex: none; margin: 0 3px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.chip:hover { border-color: #d9c4bd; }
.chip--active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--category svg { color: var(--chip); font-size: 15px; }
.chip--category[aria-pressed="true"] { background: var(--chip); border-color: var(--chip); color: #fff; }
.chip--category[aria-pressed="true"] svg { color: #fff; }

.filters-panel {
  position: absolute; z-index: 40; top: 64px; right: clamp(16px, 3vw, 32px); width: 340px;
  display: grid; gap: 12px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.filters-panel[hidden] { display: none; }
.filters-panel__head { display: flex; align-items: center; justify-content: space-between; }
.filters-panel__head strong { font: 800 17px var(--display); }
.filters-panel__actions { display: flex; gap: 8px; justify-content: flex-end; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 500;
}
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; font-size: 16px; }
.icon-button:hover { background: var(--canvas); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; text-align: center;
}
.button:hover { border-color: #d6c2bb; }
.button--primary { background: var(--red); border-color: var(--red); color: #fff; }
.button--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button--ghost { background: none; }

/* ---------------------------------------------------------------- elenco e mappa */
.explorer { flex: 1; min-height: 0; }
.list-pane { padding: 6px clamp(16px, 3vw, 32px) 28px; }
.list-title { margin: 14px 0 4px; font: 800 clamp(22px, 3vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.event-list { display: grid; gap: 10px; }
.day-heading { margin: 14px 0 0; font: 800 14px var(--display); color: var(--red); letter-spacing: .01em; }
.day-heading small { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--red-soft); font: 600 11px var(--font); }

.event-card {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 0 14px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.event-card:hover, .event-card--active { border-color: var(--type); box-shadow: 0 8px 22px rgba(60, 20, 20, .09); }
.event-card__open { position: absolute; inset: 0; z-index: 2; border: 0; border-radius: inherit; background: none; }
.event-card__media { position: relative; grid-row: span 2; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #efe7e3; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__badge {
  position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 12px);
  padding: 3px 7px; border-radius: 99px; background: var(--type); color: #fff; font-size: 10.5px; font-weight: 700; overflow: hidden; white-space: nowrap;
}
.event-card__date {
  position: absolute; left: 16px; top: 16px; display: grid; justify-items: center; min-width: 40px; padding: 4px 5px 3px;
  border-radius: 9px; background: rgba(255, 255, 255, .95); line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.event-card__date b { font: 800 17px var(--display); color: var(--ink); }
.event-card__date span { margin-top: 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--red); }
.event-card__body { min-width: 0; display: grid; align-content: start; gap: 3px; padding: 2px 4px 0 0; }
.event-card h3 { margin: 0; font: 800 16px/1.25 var(--display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-card p { margin: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-card__meta { color: var(--ink) !important; font-weight: 600; }
.event-card__stars { color: var(--gold) !important; letter-spacing: 1px; font-size: 12px !important; }

.event-skeleton { height: 134px; border-radius: var(--radius); background: linear-gradient(90deg, #efe7e3 25%, #f7f1ee 50%, #efe7e3 75%) 0 0/200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { display: grid; justify-items: center; gap: 6px; padding: 40px 20px; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state svg { font-size: 34px; color: var(--red); }
.empty-state strong { font: 800 18px var(--display); }
.empty-state p { margin: 0 0 8px; color: var(--muted); }

.map-pane { position: relative; display: none; min-height: 320px; background: #e7e2dc; }
#map { position: absolute; inset: 0; z-index: 1; }
.map-status { position: absolute; z-index: 5; left: 50%; top: 14px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: var(--paper); box-shadow: var(--shadow); font-size: 13px; transition: opacity .3s; }
.map-status--hidden { opacity: 0; pointer-events: none; }
.map-tools { position: absolute; z-index: 5; right: 12px; top: 12px; display: grid; gap: 8px; justify-items: end; }
.map-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-size: 20px; color: var(--ink); }
.map-button:hover { color: var(--red); }
.map-button--busy { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.layer-switch { display: flex; padding: 3px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.layer-switch button { height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.layer-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* segnaposto */
.pin {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin: 2px 0 0 1px;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--pin); border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28); transition: transform .15s;
}
.pin__icon { display: grid; place-items: center; transform: rotate(45deg); color: #fff; font-size: 18px; }
.pin--active { transform: rotate(-45deg) scale(1.22); z-index: 1000; box-shadow: 0 0 0 4px rgba(233, 162, 59, .55), 0 8px 18px rgba(0, 0, 0, .3); }
.me-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: #1d6cf2; border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(29, 108, 242, .25); }
.event-marker-tooltip { font: 600 12.5px var(--font); }
.leaflet-container { font-family: var(--font); }

/* ---------------------------------------------------------------- scheda evento */
.event-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: min(92dvh, 900px); padding: 0; border: 0; border-radius: 18px;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden;
}
.event-dialog[open] { display: flex; }
.event-dialog::backdrop { background: rgba(28, 12, 14, .55); backdrop-filter: blur(3px); }
.event-dialog article { display: flex; flex-direction: column; width: 100%; max-height: inherit; overflow: hidden; }
.event-dialog__media { position: relative; flex: none; aspect-ratio: 16 / 8; background: #efe7e3; }
.event-dialog__media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); font-size: 17px; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.event-dialog__content { overflow-y: auto; padding: 20px clamp(18px, 4vw, 30px) 28px; overscroll-behavior: contain; }
.dialog-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 99px; background: var(--type, var(--red)); color: #fff; font-size: 12px; font-weight: 700; }
.stars { color: var(--gold); letter-spacing: 1px; }
.event-dialog h2 { margin: 10px 0 6px; font: 800 clamp(22px, 4vw, 30px)/1.15 var(--display); letter-spacing: -.02em; }
.dialog-summary { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.dialog-facts { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px; border-radius: 12px; background: var(--canvas); }
.dialog-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.dialog-facts div[hidden] { display: none; }
.dialog-facts dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.dialog-facts dd { margin: 0; font-weight: 600; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dialog-description p { margin: 0 0 12px; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 14px clamp(16px, 3vw, 32px) 74px;
  border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12.5px;
}
.toast {
  position: fixed; z-index: 2000; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100vw - 32px);
  padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s;
}
.toast--show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- telefono */
@media (max-width: 899px) {
  .view-switch { display: inline-flex; }
  .toolbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas); }
  .filters-button span { display: none; }
  .filters-button { width: 46px; justify-content: center; padding: 0; }
  .filters-panel {
    position: fixed; inset: auto 0 0 0; top: auto; width: auto; max-height: 85dvh; overflow-y: auto;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border: 0;
  }
  .filters-panel__actions .button { flex: 1; }
  body.filters-open::after { content: ''; position: fixed; inset: 0; z-index: 35; background: rgba(28, 12, 14, .45); }
  body.filters-open .toolbar { z-index: 50; }
  body.filters-open .view-switch, body.filters-open .jt-badge { display: none !important; }
  body[data-view="map"] { height: 100dvh; overflow: hidden; }
  body[data-view="map"] .list-pane, body[data-view="map"] .site-footer { display: none; }
  body[data-view="map"] .map-pane { display: block; height: 100%; }
  body[data-view="map"] .explorer { display: flex; flex-direction: column; }
  body[data-view="map"] .map-pane { flex: 1; }
  .event-dialog { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .event-dialog__content { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .dialog-actions .button { flex: 1 1 calc(50% - 4px); }
  .dialog-actions .button--primary { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .event-card { grid-template-columns: 92px 1fr; gap: 0 11px; }
  .event-card h3 { font-size: 15px; }
  .brand__copy small { display: none; }
}

/* ---------------------------------------------------------------- computer */
@media (min-width: 900px) {
  body:not(.page) { height: 100dvh; overflow: hidden; }
  .explorer { display: grid; grid-template-columns: minmax(380px, 470px) 1fr; }
  .list-pane { overflow-y: auto; border-right: 1px solid var(--line); padding-bottom: 40px; }
  .map-pane { display: block; }
  .day-heading { position: sticky; top: 0; z-index: 3; margin: 6px -4px 0; padding: 8px 4px 6px; background: var(--canvas); }
  .site-footer { padding: 9px 32px 9px 260px; font-size: 12px; }
  .event-dialog__media { aspect-ratio: 16 / 7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- pagine: evento, segnala, promemoria */
.header-links { display: flex; gap: 6px; }
.header-links a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.header-links a:hover { background: var(--canvas); color: var(--red); }
.event-page { width: min(1120px, 100%); margin: 0 auto; padding: 18px clamp(16px, 3vw, 32px) 40px; }
.event-page--missing { max-width: 640px; text-align: center; padding-top: 60px; }
.event-page h1 { margin: 8px 0; font: 800 clamp(26px, 4.4vw, 42px)/1.1 var(--display); letter-spacing: -.02em; }
.crumbs { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--red); font-weight: 700; text-decoration: none; }
.event-article { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.event-article__media { border-radius: 18px; overflow: hidden; background: #efe7e3; aspect-ratio: 4 / 3; }
.event-article__media img { width: 100%; height: 100%; object-fit: cover; }
.notice-past { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: #f1ebe9; color: var(--muted); font-weight: 700; }
.remind { display: grid; gap: 8px; margin: 4px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.remind__row { display: flex; gap: 8px; }
.remind__row input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.remind small { color: var(--muted); font-size: 12.5px; }
.remind__msg { margin: 0; font-weight: 600; color: #1f7a4d; }
.remind__msg:empty { display: none; }
.remind__msg--error { color: #b4232b; }
.event-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); margin-top: 28px; }
.event-body .dialog-description { font-size: 16px; }
.event-map { height: 320px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #e7e2dc; position: relative; z-index: 1; }
.more-events { margin-top: 36px; }
.more-events h2 { font: 800 22px var(--display); margin: 0 0 12px; }
.more-events__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.mini-card { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; color: inherit; text-decoration: none; }
.mini-card:hover { border-color: var(--red); }
.mini-card img { width: 76px; height: 76px; object-fit: cover; border-radius: 9px; }
.mini-card span { display: grid; align-content: center; gap: 2px; min-width: 0; }
.mini-card strong { font: 800 15px/1.25 var(--display); }
.mini-card small { color: var(--muted); font-size: 12.5px; }
.site-footer--page { padding-bottom: 74px; }
.form-page { max-width: 760px; }
.public-form { display: grid; gap: 16px; }
.public-form fieldset { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.public-form legend { padding: 0 6px; font: 800 17px var(--display); }
.public-form .field { margin-bottom: 12px; }
.public-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; }
.public-form .field input[type="file"] { height: auto; padding: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.hp { position: absolute; left: -9999px; }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #8f1d24; font-weight: 700; }
.field-error { color: #b4232b; font-size: 13px; font-weight: 600; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.button--big { min-height: 52px; font-size: 16px; }
/* agenda: "Da non perdere" e archivio */
.highlights { display: grid; gap: 8px; margin: 10px 0 6px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #fff4e6, #fbeceb); border: 1px solid #f3d9cf; }
.highlights h2 { margin: 0; font: 800 15px var(--display); color: var(--red); }
.highlights .event-card { background: rgba(255, 255, 255, .9); }
.list-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
@media (max-width: 899px) {
  .event-article, .event-body { grid-template-columns: minmax(0, 1fr); }
  .header-links a:first-child { display: none; }
}
@media (max-width: 560px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .remind__row { flex-direction: column; }
  .header-links a { padding: 8px; font-size: 13px; }
}
.header-side { display: flex; align-items: center; gap: 14px; }
.header-cta { min-height: 40px; font-size: 14px; gap: .3em; }
.header-admin { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--paper); }
.header-admin:hover { border-color: #d6c2bb; color: var(--red); }
.header-admin:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.header-admin svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .header-side .header-count { display: none; }
  .header-side { gap: 8px; }
  .header-cta { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .header-cta__more { display: none; }
  .brand__copy strong { white-space: nowrap; }
}
.public-form fieldset { min-width: 0; }
.public-form .field input, .public-form .field select { width: 100%; min-width: 0; }

/* Telefono: campi a 16px, così iPhone non ingrandisce la pagina quando li tocchi */
@media (max-width: 760px) { input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select, textarea { font-size: 16px !important; } }
