/* static/css/shared/variables.css */
:root {
  --color-peach-gray-200: #edd0cc;
  --color-peach-gray-100: #f2eae9;
  --color-peach-700: #e1776b;
  --color-peach-500: #f0877b;
  --color-peach-300: #f8c7bc;
  --color-peach-200: #fadbd2;
  --color-peach-100: #ffe9e5;
  --color-green-500: #005a54;
  --color-peach-50: #fff5f5;
  --color-peach-25: #fcf8f7;
  --color-green-gray-500: #99ada5;
  --color-green-gray-400: #aabdb4;
  --color-green-gray-300: #bcccc5;
  --color-green-gray-200: #dae8e4;
  --color-green-gray-100: #edf5f3;
  --color-green-gray-50: #f0faf7;
  --color-orange-900: #4d2e00;
  --color-orange-500: #ff9900;
  --color-orange-300: #ffebcc;
  --color-orange-100: #fff5e7;
  --color-red-900: #5c0011;
  --color-red-700: #8e1027;
  --color-red-500: #c91737;
  --color-red-300: #f7d7dd;
  --color-red-100: #ffeaeb;
  --color-green-900: #082e2b;
  --color-green-800: #003a36;
  --color-green-700: #004742;
  --color-green-500: #005a54;
  --color-green-400: #a6e3df;
  --color-green-300: #cef2f0;
  --color-green-200: #e8fdfb;
  --color-gray-900: #131215;
  --color-gray-850: #27272d;
  --color-gray-800: #2f2f38;
  --color-gray-750: #383945;
  --color-gray-700: #50505e;
  --color-gray-600: #7a7986;
  --color-gray-500: #a9a9af;
  --color-gray-400: #bbbbbf;
  --color-gray-300: #cfcfd1;
  --color-gray-200: #dfdfe1;
  --color-gray-100: #e9e9ea;
  --color-gray-50: #f4f4f5;
  --color-gray-25: #f9f9fa;
  --color-shades-white: #ffffff;
  --color-shades-black: #000000;
  --db-header-height: 72px;
}

/* static/css/shared/core.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Chiswick Sans Text", sans-serif;
  background-color: var(--color-peach-25);
  color: var(--color-gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.headings-750 {
  font-family: "Holen Vintage", serif;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.045rem;
  line-height: 2.75rem;
}
.headings-650 {
  font-family: "Holen Vintage", serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.035rem;
  line-height: 2.25rem;
}
.headings-600 {
  font-family: "Holen Vintage", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.015rem;
  line-height: 2rem;
}
.headings-500 {
  font-family: "Holen Vintage", serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.0125rem;
  line-height: 1.75rem;
}
.caps-small {
  font-family: "Chiswick Grotesque", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.11375rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}
.caps-strong-medium {
  font-family: "Chiswick Grotesque", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1125rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}
.body-xlarge {
  font-family: "Chiswick Sans Text", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0rem;
  line-height: 1.75rem;
}
.body-large {
  font-family: "Chiswick Sans Text", sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0rem;
  line-height: 1.625rem;
}
.body-strong-medium {
  font-family: "Chiswick Sans Text", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0rem;
  line-height: 1.5rem;
}
@media (max-width: 768px) {
  .headings-750 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
}

/* static/css/db/layout.css */
.db-mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -100%;
  right: 100%;
  bottom: 0;
  background: var(--color-peach-700);
  z-index: 2000;
  transition: left 0.3s, right 0.3s;
  padding: 20px;
}
body.db-mobile-menu-open .db-mobile-menu {
  left: 0;
  right: 0;
}
.db-mobile-menu--top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.db-mobile-menu--close {
  border: 0;
  padding: 0;
  color: var(--color-shades-white);
  background: transparent;
  cursor: pointer;
  height: 24px;
  width: 24px;
  &:hover,
  &:focus {
    color: var(--color-peach-200);
  }
  svg {
    height: 100%;
    width: 100%;
  }
}
.db-mobile-menu--nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  a {
    display: block;
    text-align: center;
    color: var(--color-shades-white);
    padding: 20px 0;
    &:hover,
    &:focus {
      color: var(--color-peach-100);
    }
  }
}
.db-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--db-header-height);
  padding: 2px 40px 0;
  background: var(--color-shades-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  a {
    color: var(--color-shades-black);
  }
  @media (max-width: 768px) {
    padding: 2px 16px 0;
  }
}
.db-header[data-magic] {
  background: transparent;
  transition: background 0.5s;
}
.db-header[data-magic][data-scrolled] {
  background: var(--color-shades-white);
}
.db-header--left {
  display: flex;
  align-items: center;
  column-gap: 40px;
  a {
    white-space: nowrap;
  }
  @media (max-width: 768px) {
    display: none;
  }
}
.db-header--left-mobile {
  display: none;
  @media (max-width: 768px) {
    display: flex;
  }
}
.db-header--hamburger {
  border: 0;
  background: transparent;
  height: 24px;
  width: 24px;
  padding: 0;
  cursor: pointer;
  color: var(--color-gray-900);
  &:hover,
  &:focus {
    color: var(--color-gray-600);
  }
  svg {
    height: 100%;
    width: 100%;
  }
}
.db-header--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  a {
    display: flex;
    align-items: center;
  }
  svg {
    height: 20px;
    width: 112px;
    color: var(--color-green-700);
    @media (max-width: 768px) {
      height: 18px;
      width: 98px;
    }
  }
}
.db-header--right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 24px;
  @media (max-width: 768px) {
    column-gap: 0;
  }
  svg {
    width: 24px;
    height: 24px;
  }
}
.db-header--gardens-link {
  display: flex;
  align-items: center;
  &:hover,
  &:focus {
    color: var(--color-green-500);
  }
}
.db-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--color-green-900);
  color: var(--color-green-300);
  padding: 64px 80px 32px;
  font-size: 0.875rem;
  a {
    color: var(--color-green-300);
  }
  @media (max-width: 960px) {
    padding: 48px 48px;
  }
  @media (max-width: 768px) {
    padding: 32px 20px 16px;
  }
}
.db-footer--top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  @media (max-width: 960px) {
    flex-direction: column;
    margin-bottom: 40px;
  }
}
.db-footer--brand {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  svg {
    width: auto;
    height: 20px;
  }
  a {
    display: block;
  }
  @media (max-width: 960px) {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 48px;
  }
  @media (max-width: 768px) {
    flex-direction: column;
  }
}
.db-footer--social {
  display: flex;
  column-gap: 16px;
  svg {
    height: 20px;
    width: 20px;
  }
}
.db-footer--top-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  column-gap: 104px;
  @media (max-width: 960px) {
    justify-content: flex-start;
    column-gap: 64px;
  }
}
.db-footer--column {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  white-space: nowrap;
  a {
    display: block;
  }
}
.db-footer--column-title {
  color: var(--color-shades-white);
}
.db-footer--bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  > div {
    display: flex;
    flex-direction: column;
    @media (max-width: 768px) {
      width: 100%;
    }
  }
}
.db-footer--copyright {
  display: flex;
  margin-bottom: 8px;
  color: var(--color-shades-white);
}
.db-footer--links {
  display: flex;
  column-gap: 16px;
}
.db-footer--made-in-greenville {
  margin-bottom: 4px;
  @media (max-width: 768px) {
    display: none;
  }
}
.hide-mobile {
  @media (max-width: 768px) {
    display: none;
  }
}
.hide-desktop {
  @media (min-width: 769px) {
    display: none;
  }
}
.db-main {
  min-height: calc(100vh - var(--db-header-height) - 120px);
}

/* static/css/db/db-page.css */
.db-page--content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: var(--color-peach-25);
}
body.db-page .db-page--content {
  margin-top: calc(-1 * var(--db-header-height));
}
.db-page--hero {
  padding: calc(var(--db-header-height) + 64px) 64px 128px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-gray-900);
  background: #ffcfc3;
  @media (max-width: 768px) {
    padding: calc(var(--db-header-height) + 24px) 20px 32px;
    max-width: 100%;
  }
  h1 {
    text-align: center;
  }
  p {
    text-align: center;
    margin-top: 8px;
  }
}
.db-hero-form {
  width: 450px;
  max-width: 100%;
  padding-top: 32px;
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
  @media (max-width: 768px) {
    width: 100%;
  }
}
.db-floating-input {
  position: relative;
  height: 60px;
  flex-grow: 1;
  input {
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.04);
    border-radius: 999px;
    border: 1px solid var(--color-peach-gray-100);
    padding: 22px 16px 4px;
    color: var(--color-gray-900);
    background: var(--color-shades-white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    &:focus {
      border: 2px solid var(--color-peach-gray-200);
      padding-left: 15px;
    }
  }
  label {
    position: absolute;
    top: 0;
    left: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--color-gray-600);
    font-size: 1rem;
    pointer-events: none;
    transform-origin: left center;
    transition: transform 0.25s ease, color 0.25s ease;
    white-space: nowrap;
  }
  input:not(:focus)::placeholder {
    opacity: 0;
  }
  &:focus-within label,
  &:has(input:not(:placeholder-shown)) label {
    transform: translateY(-12px) scale(0.6875);
  }
}
.db-search-icon-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--color-peach-500);
  background: var(--color-peach-500);
  color: var(--color-shades-white);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  &:hover {
    background: var(--color-peach-700);
    border-color: var(--color-peach-700);
  }
  svg {
    width: 20px;
    height: 20px;
  }
}
.db-page--search-hero {
  padding: calc(var(--db-header-height) + 24px) 64px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-gray-900);
  background: #ffcfc3;
  @media (max-width: 768px) {
    padding: calc(var(--db-header-height) + 24px) 20px 32px;
  }
  .db-hero-form {
    width: 750px;
    max-width: 100%;
    padding-top: 32px;
  }
}
.db-search-input {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-700);
  }
  input[type=text] {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: 999px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-shades-white);
    color: var(--color-gray-900);
    outline: none;
    transition: border-color 0.15s;
    &:focus {
      border-color: var(--color-gray-600);
    }
  }
}
.db-search-button {
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: var(--color-green-700);
  color: var(--color-shades-white);
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  height: 42px;
  &:hover {
    background: var(--color-green-500);
  }
}
.db-page--results {
  padding: 12px;
  margin: 16px 0;
  width: 750px;
  max-width: 100%;
  > h2 {
    text-align: center;
    margin: 32px 0;
  }
}
.db-page--result {
  display: block;
  width: 100%;
  padding: 20px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-gray-900);
  &:last-child {
    border: 0;
  }
  &:hover {
    background: var(--color-peach-100);
  }
  p {
    margin: 8px 0 0;
    width: 80%;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
  }
  .db-page--common-names {
    color: var(--color-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.db-page--no-results {
  text-align: center;
  padding: 48px 0;
  color: var(--color-gray-600);
  font-size: 1.0625rem;
}

/* static/css/db/db-taxon-page.css */
.db-taxon-page {
  width: 100%;
  padding: 0 88px;
  max-width: 1080px;
  margin: 32px auto;
  @media (max-width: 768px) {
    padding: 0 20px;
    max-width: 100%;
  }
  h2 {
    margin: 32px 0;
  }
  h3 {
    margin: 32px 0 12px;
  }
  dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 12px;
  }
  dt {
    flex-basis: 33%;
    flex-grow: 1;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
  }
  dd {
    margin-left: 16px;
    flex-basis: calc(67% - 16px);
    color: var(--color-green-700);
  }
}
.db-taxon-page--header-rank {
  display: flex;
  column-gap: 8px;
  color: var(--color-gray-600);
  a {
    color: var(--color-gray-600);
    text-decoration: none;
    &:hover {
      text-decoration: underline;
    }
  }
}
.db-taxon-page--header {
  margin-bottom: 24px;
  h2 {
    margin: 8px 0 16px;
  }
}
.db-taxon-page--short-summary {
  margin-top: 8px;
}
.db-taxon-page--callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}
.db-taxon-page--callout-left {
  flex: 1;
}
@media (max-width: 640px) {
  .db-taxon-page--callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
.db-taxon-page--taxonomy {
  margin-top: 40px;
  a {
    text-decoration: underline;
    color: var(--color-green-700);
  }
  p a {
    margin-right: 8px;
  }
}
.db-taxon-page--references {
  margin-top: 40px;
  a {
    text-decoration: underline;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: var(--color-green-700);
  }
}
.db-taxon-page--reference {
  margin: 16px 0;
}
.db-taxon-page--facts {
  margin-top: 32px;
  h2 {
    font-family: "Chiswick Grotesque", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.1125rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    margin: 24px 0 8px;
    border: none;
  }
  p {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--color-gray-800);
  }
  p + p {
    margin-top: 0;
  }
}
.db-taxon-page--no-facts {
  margin-top: 24px;
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  font-style: italic;
}

/* static/css/db/button.css */
.button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  text-transform: uppercase;
  font-family: "Chiswick Sans Text", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  &:hover {
    text-decoration: none;
    cursor: pointer;
  }
  &:focus,
  &:active {
    border: 2px solid var(--color-peach-gray-200);
    outline: none;
  }
  &[data-variant=primary] {
    background: var(--color-peach-500);
    border: 1px solid var(--color-peach-500);
    color: #fff;
    &:hover {
      background: var(--color-peach-700);
      border-color: var(--color-peach-700);
    }
  }
  &[data-size=small] {
    height: 38px;
    padding: 8px 12px;
  }
}

/* static/css/db.css */
