.vnl-notice-banner,
.vnl-notice-dialog {
  --vnl-notice-green: #245343;
  --vnl-notice-line: #d6dfd3;
  --vnl-notice-paper: #f6f8f2;
  box-sizing: border-box;
  color: #192f27;
  background: var(--vnl-notice-paper);
  font-family: inherit;
  text-align: start;
}

.vnl-notice-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  min-width: 0;
  padding: clamp(1.3rem, 3.3vw, 2.75rem);
  border: 1px solid var(--vnl-notice-line);
  border-inline-start: 4px solid var(--vnl-notice-green);
  border-radius: 12px;
}

.vnl-notice-banner .vnl-notice-title,
.vnl-notice-dialog .vnl-notice-title {
  min-width: 0;
  margin: 0;
  color: var(--vnl-notice-green);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.vnl-notice-kicker {
  display: block;
  margin-block-end: 0.5rem;
  color: #446752;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vnl-notice-copy {
  min-width: 0;
}

.vnl-notice-copy p {
  margin: 0 0 0.85em;
  color: #2a4036;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.vnl-notice-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.4rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--vnl-notice-line);
  color: #294b39;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.vnl-notice-contacts span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vnl-notice-contacts a {
  color: var(--vnl-notice-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #7e9a85;
  text-underline-offset: 0.18em;
}

.vnl-notice-contacts a:hover {
  text-decoration-color: currentColor;
}

.vnl-notice-contacts a:focus-visible,
.vnl-notice-dialog button:focus-visible {
  outline: 2px solid var(--vnl-notice-green);
  outline-offset: 3px;
}

.vnl-notice-dialog {
  position: fixed;
  inset: 0;
  width: min(44rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-top: 4px solid var(--vnl-notice-green);
  border-radius: 12px;
  box-shadow: 0 18px 64px rgb(12 36 25 / 24%);
  overflow: hidden;
}

.vnl-notice-dialog[open] {
  display: flex;
  flex-direction: column;
}

.vnl-notice-dialog::backdrop {
  background: rgb(14 30 24 / 59%);
}

.vnl-notice-dialog-header {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 2rem) clamp(1.2rem, 3.5vw, 2.25rem) 1rem;
  border-bottom: 1px solid var(--vnl-notice-line);
}

.vnl-notice-dialog .vnl-notice-title:focus {
  outline: none;
}

.vnl-notice-close {
  flex: none;
  display: inline-flex;
  min-width: 3.5rem;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border: 1px solid #93aa99;
  border-radius: 6px;
  background: transparent;
  color: var(--vnl-notice-green);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.vnl-notice-close:hover {
  background: #e4ece1;
}

.vnl-notice-dialog .vnl-notice-copy {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.25rem clamp(1.2rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
}

html.vnl-notice-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .vnl-notice-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .vnl-notice-dialog {
    width: calc(100% - 1.25rem);
    max-height: calc(100vh - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
  }
}
