:root {
  --spacing-xs: 0.25rem;
  --spacing-s: 0.5rem;
  --spacing-m: 1rem;
  --spacing-l: 1.25rem;
  --spacing-xl: 1.5rem;
  --spacing-xxl: 2rem;
}

@media only screen and (width <= 380px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-s: 0.25rem;
    --spacing-m: 0.5rem;
    --spacing-l: 0.75rem;
    --spacing-xl: 1rem;
    --spacing-xxl: 1.5rem;
  }
}
@media only screen and (width > 767px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-s: 0.75rem;
    --spacing-m: 1rem;
    --spacing-l: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
  }
}
@media only screen and (width >= 1024px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-s: 0.75rem;
    --spacing-m: 1rem;
    --spacing-l: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
  }
}
@layer components {
  .areas-of-concern-list {
    list-style: none;
    margin-inline-start: 0;
    padding-inline-start: 0;
  }
  .areas-of-concern-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-xs) var(--spacing-s);
    margin-bottom: var(--spacing-m);
  }
  .areas-of-concern-list li:last-child {
    margin-bottom: 0;
  }
  .areas-of-concern-list li .concern-heading-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
  }
  .areas-of-concern-list li .concern-heading-row img.concern-icon {
    flex-shrink: 0;
    height: 1.5em !important;
    width: 1.5em !important;
    min-height: 1rem;
    min-width: 1rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(2px 2px rgba(0, 0, 0, 0.25));
  }
  .areas-of-concern-list li .concern-description {
    flex-basis: 100%;
    margin-top: 0;
  }
  .areas-of-concern-tags .tag {
    display: none;
    background: #f1920f;
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    position: relative;
  }
  .areas-of-concern-tags .tag div.notice {
    position: absolute;
    opacity: 0;
    display: none;
  }
  .areas-of-concern-tags .tag:hover div.notice {
    display: inline-block;
    width: max-content;
    min-width: 200px;
    max-width: 360px;
    opacity: 1;
    bottom: 90%;
    left: 10%;
    margin-bottom: 10px;
    background: #f1920f;
    border-radius: 10px;
    text-align: left;
    padding: 0.5rem;
    line-height: 130%;
    font-size: 0.75rem;
    z-index: 100;
    color: #fff;
    white-space: normal;
    overflow-wrap: break-word;
  }
  @media (width <= 768px) {
    .areas-of-concern-tags .tag:hover div.notice {
      display: none;
    }
  }
  .areas-of-concern-tags .tag:hover div.notice::after {
    border: solid transparent;
    border-top-color: #f1920f;
    bottom: -20px;
    left: 20px;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    border-width: 10px;
    margin-left: -10px;
  }
  .areas-of-concern-tags .warming {
    background-color: #f1920f;
  }
  .areas-of-concern-tags:hover div.notice {
    background: #f1920f;
  }
  .areas-of-concern-tags:hover div.notice::after {
    border-top-color: #f1920f;
  }
  .areas-of-concern-tags .expander {
    background-color: #e30613;
    font-weight: 800;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .areas-of-concern-tags .expander:hover div.notice {
    background: #e30613;
  }
  .areas-of-concern-tags .expander:hover div.notice::after {
    border-top-color: #e30613;
  }
  .areas-of-concern-tags .opt {
    display: inline-flex;
    background-color: black;
    font-weight: 800;
  }
  .areas-of-concern-tags .opt:hover div.notice {
    background: black;
  }
  .areas-of-concern-tags .opt:hover div.notice::after {
    border-top-color: black;
  }
  .areas-of-concern-tags .ocean-harm {
    background-color: #1b5878;
    font-weight: 800;
  }
  .areas-of-concern-tags .ocean-harm:hover div.notice {
    background: #1b5878;
  }
  .areas-of-concern-tags .ocean-harm:hover div.notice::after {
    border-top-color: #1b5878;
  }
  .areas-of-concern-tags .tag.warming,
  .areas-of-concern-tags .tag.expander,
  .areas-of-concern-tags .tag.opt,
  .areas-of-concern-tags .tag.ocean-harm {
    display: inline-flex !important;
  }
  .areas-of-concern-tags .tag-with-paragraph {
    margin-bottom: var(--spacing-m);
  }
  .areas-of-concern-tags .tag-with-paragraph:last-child {
    margin-bottom: 0;
  }
  .areas-of-concern-tags .tag-with-paragraph .tag-heading {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
  }
  .areas-of-concern-tags .tag-with-paragraph .tag {
    display: inline-flex !important;
    width: fit-content;
    align-self: flex-start;
    padding: 0.25em 0.75em;
    cursor: default;
    pointer-events: none;
  }
  .areas-of-concern-tags .tag-with-paragraph .tag div.notice {
    display: none !important;
  }
  .areas-of-concern-tags .tag-with-paragraph p {
    margin-bottom: 0;
  }
}
