.cookie-consent-bar,
.cookie-consent-modal {
  box-sizing: border-box;
  font-family: inherit;
}

.cookie-consent-bar *,
.cookie-consent-modal * {
  box-sizing: border-box;
}

.cookie-consent-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99980;
  display: none;
  align-items: center;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(142, 108, 45, .18);
  border-radius: 18px;
  background: rgba(255, 252, 246, .96);
  box-shadow: 0 22px 70px rgba(31, 26, 20, .18);
  color: #2d261d;
}

.cookie-consent-bar.is-visible {
  display: flex;
}

.cookie-consent-bar__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .92rem;
  line-height: 1.55;
}

.cookie-consent-bar__text p {
  margin: 0;
}

.cookie-consent-bar__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.cookie-consent-bar__links a {
  color: #7b4b19;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-bar__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-consent-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(92, 74, 47, .2);
  border-radius: 999px;
  background: #fff;
  color: #3b3024;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(142, 108, 45, .4);
  outline: none;
}

.cookie-consent-btn--primary {
  border-color: #7c4a1b;
  background: #7c4a1b;
  color: #fff8e8;
}

.cookie-consent-btn--soft {
  background: rgba(92, 74, 47, .08);
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 17, 13, .46);
}

.cookie-consent-modal.is-visible {
  display: flex;
}

.cookie-consent-modal__panel {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(142, 108, 45, .18);
  border-radius: 22px;
  background: #fffaf2;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  color: #2d261d;
}

.cookie-consent-modal__head,
.cookie-consent-modal__body,
.cookie-consent-modal__actions {
  padding: 18px 20px;
}

.cookie-consent-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(142, 108, 45, .14);
}

.cookie-consent-modal__head h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.cookie-consent-modal__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(92, 74, 47, .08);
  color: #2d261d;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(142, 108, 45, .12);
}

.cookie-consent-option:last-child {
  border-bottom: 0;
}

.cookie-consent-option h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cookie-consent-option p {
  margin: 0;
  color: rgba(45, 38, 29, .72);
  font-size: .9rem;
  line-height: 1.5;
}

.cookie-consent-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 30px;
}

.cookie-consent-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(92, 74, 47, .22);
  transition: background .2s ease;
}

.cookie-consent-switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}

.cookie-consent-switch input:checked + span {
  background: #7c4a1b;
}

.cookie-consent-switch input:checked + span::before {
  transform: translateX(24px);
}

.cookie-consent-switch input:disabled + span {
  opacity: .7;
}

.cookie-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid rgba(142, 108, 45, .14);
}

.external-content-frame {
  position: relative;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: inherit;
}

.external-content-frame iframe,
.external-content-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.external-content-frame iframe[hidden],
.external-content-embed iframe[hidden] {
  display: none !important;
}

.external-content-placeholder[hidden],
.external-content-frame.is-loaded .external-content-placeholder {
  display: none !important;
}

.external-content-frame.is-blocked iframe,
.external-content-frame:not(.is-loaded) iframe[data-external-embed] {
  display: none !important;
}

.external-content-frame.is-loaded iframe[data-external-embed] {
  display: block;
}

.external-content-placeholder {
  width: 100%;
  min-height: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(142, 108, 45, .16);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, .95), rgba(247, 237, 217, .86)),
    radial-gradient(circle at 20% 20%, rgba(247, 210, 122, .2), transparent 32%);
  color: #4f3d28;
  text-align: center;
}

.external-content-placeholder p {
  max-width: 420px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
}

.external-content-placeholder button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #7c4a1b;
  color: #fff8e8;
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
}

.site-footer__link-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.site-footer__link-button:hover,
.site-footer__link-button:focus-visible {
  color: #f7d27a;
  outline: none;
}

.site-footer__map .external-content-frame,
.contact-map .external-content-frame {
  height: 100%;
  min-height: 260px;
}

.article-inline-video .external-content-frame,
.page-inline-video .external-content-frame,
.linked-frame .external-content-frame {
  aspect-ratio: 16 / 9;
  min-height: 260px;
}

.audio-embed .external-content-frame,
.linked-audio-embed .external-content-frame {
  min-height: 180px;
}

@media (max-width: 767px) {
  .cookie-consent-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .cookie-consent-bar__actions,
  .cookie-consent-modal__actions {
    justify-content: stretch;
  }

  .cookie-consent-btn {
    flex: 1 1 auto;
  }

  .cookie-consent-option {
    grid-template-columns: 1fr;
  }
}
