/* Post-theme overrides: fonts without external requests, cookie UI */
body,
.display-1,
.display-2,
.display-4,
.display-5,
.display-7 {
  font-family: Georgia, "Times New Roman", Times, serif !important;
}

.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: rgba(17, 20, 0, 0.96);
  color: #fcfdf9;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-consent__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #c8e6a0;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-consent button {
  border: 2px solid #fcfdf9;
  background: transparent;
  color: #fcfdf9;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 2px;
}

.cookie-consent button:hover,
.cookie-consent button:focus {
  background: #fcfdf9;
  color: #111400;
}

.cookie-consent button.btn-primary-cookie {
  background: #9bbf3c;
  border-color: #9bbf3c;
  color: #111400;
}

.cookie-consent button.btn-primary-cookie:hover,
.cookie-consent button.btn-primary-cookie:focus {
  background: #b4d952;
  border-color: #b4d952;
  color: #111400;
}

#cookie-settings-panel {
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 420px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow: auto;
  background: #fcfdf9;
  color: #111400;
  padding: 1.25rem;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

#cookie-settings-panel[hidden] {
  display: none !important;
}

.cookie-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

.cookie-settings__backdrop {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

#form-success-msg {
  display: none;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #e8f5e0;
  border: 1px solid #9bbf3c;
  color: #111400;
  border-radius: 2px;
}

#form-success-msg.is-visible {
  display: block;
}

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

.footer01 .list a:hover,
.footer01 .list a:focus {
  opacity: 0.85;
}

.google-map.is-empty {
  min-height: 280px;
  background: #eef0e8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.95rem;
  padding: 1rem;
  text-align: center;
}
