/* Site overrides: fonts without external requests, cookie UI, map block */
:root {
  --site-font: Georgia, "Times New Roman", Times, serif;
  --site-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body,
.md-fonts-style {
  font-family: var(--site-font);
}

.form-control,
.btn,
label.form-control-label {
  font-family: var(--site-sans);
}

.site-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  padding: 1rem 1.25rem;
  background: rgba(22, 22, 24, 0.96);
  color: #f5f5f5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-cookie-banner[hidden] {
  display: none !important;
}

.site-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
}

.site-cookie-inner a {
  color: #b8d4ff;
  text-decoration: underline;
}

.site-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-cookie-actions button {
  font-family: var(--site-sans);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.site-cookie-actions button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-cookie-actions #site-cookie-accept {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1a1a;
  font-weight: 600;
}

.site-cookie-actions #site-cookie-accept:hover {
  filter: brightness(1.05);
}

.site-cookie-settings {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  z-index: 10051;
  max-width: 360px;
  padding: 1.25rem;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  font-family: var(--site-sans);
  font-size: 0.9rem;
}

.site-cookie-settings[hidden] {
  display: none !important;
}

.site-cookie-settings h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.site-cookie-settings label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.site-cookie-settings .site-cookie-save {
  margin-top: 0.5rem;
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 4px;
  background: #1a1a2e;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.site-italy-map {
  min-height: 280px;
  border-radius: 12px;
  background: #1a1a24 url("../images/photo-1469474968028-56623f02e42e.jpeg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.site-italy-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 12, 20, 0.75), rgba(12, 12, 20, 0.35));
  pointer-events: none;
}

.site-italy-map-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2rem 1.5rem;
  max-width: 36rem;
  color: #fff;
}

#contact-form .form-control:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 0.15rem rgba(201, 162, 39, 0.25);
}

#contact-form .form-success-msg {
  display: none;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: #e8f5e9;
  color: #1b5e20;
  font-family: var(--site-sans);
  font-size: 0.95rem;
}

#contact-form.form-sent .form-success-msg {
  display: block;
}

#contact-form.form-sent .dragArea {
  display: none;
}

.site-footer-legal {
  margin-top: 0.5rem;
}

.site-footer-legal a {
  margin-right: 1rem;
  color: inherit;
  text-decoration: underline;
}

.site-footer-legal a:hover {
  opacity: 0.85;
}

.contacts01 .list a {
  color: inherit;
  text-decoration: underline;
}

.contacts01 .list a:hover {
  opacity: 0.9;
}
