/* Font */
body, .md-typeset {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif !important;
}

/* Cards */
.md-typeset .grid.cards li {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative !important;
  cursor: pointer;
}

.md-typeset .grid.cards li:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
  transform: translateY(-2px);
}

.md-typeset .grid.cards li p strong a::after,
.md-typeset .grid.cards li p a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Admonition / panel boxes — unify informational types to brand teal.
   Icons stay distinct per type; warning is deliberately left amber so
   genuine cautions still stand out at a glance. */
.md-typeset .note,
.md-typeset .tip,
.md-typeset .info,
.md-typeset .question,
.md-typeset .abstract,
.md-typeset .example {
  border-color: #54bbaa;
}

.md-typeset .note > .admonition-title,
.md-typeset .note > summary,
.md-typeset .tip > .admonition-title,
.md-typeset .tip > summary,
.md-typeset .info > .admonition-title,
.md-typeset .info > summary,
.md-typeset .question > .admonition-title,
.md-typeset .question > summary,
.md-typeset .abstract > .admonition-title,
.md-typeset .abstract > summary,
.md-typeset .example > .admonition-title,
.md-typeset .example > summary {
  background-color: rgba(84, 187, 170, 0.1);
}

.md-typeset .note > .admonition-title::before,
.md-typeset .note > summary::before,
.md-typeset .tip > .admonition-title::before,
.md-typeset .tip > summary::before,
.md-typeset .info > .admonition-title::before,
.md-typeset .info > summary::before,
.md-typeset .question > .admonition-title::before,
.md-typeset .question > summary::before,
.md-typeset .abstract > .admonition-title::before,
.md-typeset .abstract > summary::before,
.md-typeset .example > .admonition-title::before,
.md-typeset .example > summary::before {
  background-color: #54bbaa;
}

.md-banner {
  background-color: #54bbaa !important;
}

.md-banner__inner {
  padding: 8px 0 !important;
  font-size: 0.85rem !important;
  color: #fff !important;
}

.md-banner a {
  color: #fff !important;
  font-weight: bold;
  text-decoration: underline;
}

.intros {
  display: flex;
}

.intro-link {
  flex-grow: 1;
  border: 1px solid #ddd;
  padding: 40px 20px;
  font-size: 18px;
  display: inline-block;
  text-align: center;
  font-weight: 600;
  width: 30%;
}

.intro-link:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-right: 0;
}

.intro-link:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-left: 0;
}

.intro-link.with-border:last-child {
  border-left: 1px solid #ddd;
}

.intro-link .icon i {
  font-family: "Material Icons";
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  speak: none;
  word-wrap: normal;
  direction: ltr;
  font-size: 50px;
  margin-bottom: 10px;
  text-align: center;
  color: #A1C617;
}

.intro-link span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 14px;
  color: #888;
}

.intro-link:hover {
  background: #A1C617;
  color: #fff !important;
  border-color: #A1C617;
}

.intro-link:hover i,
.intro-link:hover span {
  color: #fff !important;
}

.popular {
  display: flex;
  margin-top: 20px;
}

.popular-container {
  flex-grow: 1;
  flex-basis: 50%;
}

.popular-container ul {
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0;
}

.popular-container ul li {
  padding: 0;
  margin: 0;
}

/* Images and embeds */
.md-typeset img {
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

/* Logo should not have the screenshot border */
.md-typeset img[src*="Vetting-Gateway-logo"] {
  border: none;
  border-radius: 0;
}

.md-typeset iframe {
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px;
}

.md-sidebar--primary {
  border-right: 1px solid #eee;
}

.md-sidebar--secondary {
  border-left: 1px solid #eee;
}

.md-typeset h1 {
  margin-bottom: 1rem;
}

[data-md-color-primary=light-green] .md-header, [data-md-color-primary=light-green] .md-hero {
  background-color: #A1C617;
}

[data-md-color-primary=light-green] .md-typeset a {
  color: #A1C617;
}

@media only screen and (min-width: 76.25em) {
  [data-md-color-primary=light-green] .md-tabs {
    background-color: #A1C617;
  }
}
