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

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  padding: 18px 24px;
  border-top: 1px solid #dbe5e2;
  background: #ffffff;
  box-shadow: 0 -10px 32px rgba(5, 31, 34, 0.14);
  color: #17363a;
}

.cookie-consent__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cookie-consent__copy {
  max-width: 790px;
}

.cookie-consent__title {
  margin: 0 0 4px;
  color: #071f22;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.cookie-consent__text {
  margin: 0;
  color: #425d60;
  font-size: 14px;
  line-height: 1.65;
}

.cookie-consent__text a {
  color: #007f6d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #087f70;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cookie-consent__button--accept {
  background: #087f70;
  color: #ffffff;
}

.cookie-consent__button--accept:hover,
.cookie-consent__button--accept:focus-visible {
  border-color: #05685d;
  background: #05685d;
}

.cookie-consent__button--reject {
  background: #ffffff;
  color: #087f70;
}

.cookie-consent__button--reject:hover,
.cookie-consent__button--reject:focus-visible {
  background: #eef8f6;
}

.cookie-consent__button:focus-visible,
.footer-cookie-settings:focus-visible,
.site-legal-strip__button:focus-visible {
  outline: 3px solid rgba(27, 170, 151, 0.32);
  outline-offset: 2px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-cookie-settings,
.site-legal-strip__button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-bottom .footer-cookie-settings {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.footer-bottom a:hover,
.footer-bottom .footer-cookie-settings:hover,
.footer-bottom a:focus-visible,
.footer-bottom .footer-cookie-settings:focus-visible {
  color: #ffffff;
}

.site-legal-strip {
  border-top: 1px solid #e1e9e7;
  background: #f6f9f8;
}

.site-legal-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-legal-strip a,
.site-legal-strip__button {
  color: #456165;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.site-legal-strip a:hover,
.site-legal-strip__button:hover,
.site-legal-strip a:focus-visible,
.site-legal-strip__button:focus-visible {
  color: #087f70;
}

@media (max-width: 760px) {
  .cookie-consent {
    padding: 16px;
  }

  .cookie-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button {
    transition: none;
  }
}
