/* PRIVACY E CONSENSO — Regole grafiche comuni ai quattro siti.
 * Il caricamento delle mappe è gestito nel JavaScript separato.
 */
.cookie-banner {
  position: fixed;
  z-index: 120;
  inset: auto 20px 20px;
  margin-inline: auto;
  max-width: 1160px;
  padding: 26px 32px;
  border: 1px solid #d9d3c9;
  background: #f4efe5;
  color: #252423;
  box-shadow: 0 10px 50px #0003;
  font-family: var(--font-body, "Manrope", sans-serif);
  line-height: 1.55;
}
.cookie-banner h2 {
  margin: 0 40px 10px 0;
  font-size: 28px;
}
.cookie-banner p {
  max-width: 850px;
  margin: 0 0 16px;
  font-size: 14px;
}
.cookie-banner a,
.cookie-preferences a,
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-button {
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid #252423;
  background: #fff;
  color: #252423;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.cookie-button:hover {
  background: #e3dbce;
}
.cookie-button:focus-visible,
.cookie-close:focus-visible,
.cookie-manage:focus-visible,
.cookie-preferences input:focus-visible {
  outline: 3px solid #996d21;
  outline-offset: 3px;
}
.cookie-close {
  position: absolute;
  right: 16px;
  top: 14px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #252423;
  font: inherit;
  font-size: 26px;
  cursor: pointer;
}
.cookie-manage {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-preferences {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 36px;
  border: 1px solid #d9d3c9;
  background: #f8f6f1;
  color: #252423;
  z-index: 140;
  box-shadow: 0 10px 60px #0005;
}
.cookie-preferences::backdrop {
  background: #0009;
}
.cookie-preferences h2 {
  font-size: 32px;
  padding-right: 24px;
}
.cookie-preferences p {
  font-size: 14px;
}
.cookie-option {
  padding-block: 18px;
  border-block-start: 1px solid #d9d3c9;
}
.cookie-option label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}
.cookie-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: #252423;
}
.cookie-option p {
  margin: 10px 0 0;
}
.cookie-option small {
  display: block;
  color: #65605a;
}
.cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.consent-map {
  background: #eee9de;
}
.consent-map-placeholder {
  min-height: 300px;
  padding: 48px 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}
.consent-map-placeholder h3 {
  margin: 0 0 12px;
}
.consent-map-placeholder p {
  max-width: 580px;
  margin: 0 0 18px;
}
.consent-map-placeholder .cookie-actions {
  justify-content: center;
  align-items: center;
}
.consent-map-placeholder a {
  font-size: 14px;
  text-decoration: underline;
}
.consent-map iframe {
  width: 100%;
  display: block;
  border: 0;
}
.policy-content {
  max-width: 840px;
}
.policy-content section {
  padding-block: 30px;
  border-top: 1px solid var(--line, #dedbd3);
}
.policy-content h2 {
  font-size: 32px;
}
.policy-content h3 {
  margin-top: 26px;
  font-size: 25px;
}
.policy-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-block: 0 38px;
}
.policy-table-wrap {
  overflow-x: auto;
}
.policy-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.policy-table th,
.policy-table td {
  padding: 14px 12px;
  border: 1px solid var(--line, #dedbd3);
  vertical-align: top;
  text-align: left;
}
.policy-table th {
  background: #eee9de;
}
.site-breadcrumbs {
  padding-block: 20px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .cookie-banner {
    inset: auto 10px 10px;
    padding: 20px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }
  .cookie-actions {
    gap: 8px;
  }
  .cookie-banner .cookie-button {
    flex: 1 1 130px;
  }
  .cookie-preferences {
    padding: 28px 22px;
  }
  .policy-table th,
  .policy-table td {
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
