@media (min-width: 992px) and (max-width: 1279px) {
  #menu1-t .menu-bottom {
    flex-direction: row;
    padding-inline: 1.5rem;
  }

  #menu1-t .navbar-collapse {
    padding-top: 0;
  }

  #menu1-t .nav-dropdown .nav-link {
    /* The exported theme marks its horizontal link padding as important. */
    padding-inline: 0.85rem !important;
    font-size: 1rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

html:has(.consumer-notice[open]) {
  overflow: hidden;
}

.consumer-notice {
  --notice-green: #386d32;
  --notice-inset: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(53rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 5px solid #65965f;
  border-radius: 12px;
  background: #fff;
  color: #28372c;
  box-shadow: 0 24px 70px rgba(29, 53, 31, 0.22);
  font-family: "Be Vietnam", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.consumer-notice:not([open]) {
  display: none;
}

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

.consumer-notice::backdrop {
  background: rgba(21, 34, 24, 0.55);
}

.consumer-notice-header,
.consumer-notice-footer {
  flex: none;
  padding-inline: var(--notice-inset);
  background: #f6f8f4;
}

.consumer-notice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid #dce6d8;
}

.consumer-notice h2,
.consumer-notice h3 {
  color: var(--notice-green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

.consumer-notice h2 {
  align-self: center;
  margin: 0;
  font-size: clamp(1.65rem, 5.4vw, 2.65rem);
}

.consumer-notice h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3.8vw, 1.75rem);
}

.consumer-notice-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c8d8c3;
  border-radius: 6px;
  background: #fff;
  color: var(--notice-green);
  font: 1.75rem/1 Arial, sans-serif;
  cursor: pointer;
}

.consumer-notice-close:hover {
  background: #eaf1e6;
}

.consumer-notice-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  padding: 1rem var(--notice-inset);
}

.consumer-notice-body:focus-visible {
  outline: 2px solid var(--notice-green);
  outline-offset: -2px;
}

.consumer-notice-body p {
  margin: 0;
}

.consumer-notice-topics {
  margin: 1rem 0 0;
  padding-inline-start: 1.5rem;
}

.consumer-notice-topics li {
  padding-inline-start: 0.25rem;
}

.consumer-notice-topics li::marker {
  color: var(--notice-green);
  font-weight: bold;
}

.consumer-notice-topics li + li {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #dce6d8;
}

.consumer-notice-body .consumer-notice-resource {
  margin-top: 0.55rem;
}

.consumer-notice-body a {
  color: var(--notice-green);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.consumer-notice-body .consumer-notice-statement {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: #edf3e9;
  color: var(--notice-green);
  font-size: 0.9rem;
}

.consumer-notice-footer {
  display: flex;
  justify-content: flex-end;
  padding-block: 0.75rem;
  border-top: 1px solid #dce6d8;
}

.consumer-notice-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border-radius: 6px;
  background: var(--notice-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.consumer-notice .consumer-notice-download:hover,
.consumer-notice .consumer-notice-download:focus {
  background: #2e5b29;
  color: #fff;
}

.consumer-notice a:focus-visible,
.consumer-notice button:focus-visible,
#consumer-notice-link:focus-visible {
  outline: 2px solid #386d32;
  outline-offset: 2px;
}

@media (max-height: 400px) {
  .consumer-notice-header,
  .consumer-notice-footer {
    padding-block: 0.375rem;
  }
}
