:root {
  /* Applus Brand Primary Orange */
  --md-primary-fg-color: #FF6900;
  --md-primary-fg-color--light: #FFB47F;
  --md-primary-fg-color--dark: #cc4b02;
  /* Applus Brand Secondary (Gray/Brown) */
  --md-accent-fg-color: #746660;
  /* Body Text */
  --md-text-color: #343a40;
}

/* Match the MINTON Light Header */
.md-header {
  background-color: #ffffff !important;
  color: #746660 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.md-header__title {
  color: #FF6900 !important;
  font-weight: 700;
}

.md-header__button {
  color: #FF6900 !important;
}

/* Match the MINTON Light Tabs */
.md-tabs {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f7 !important;
}

.md-tabs__link {
  color: #746660 !important;
  opacity: 1 !important;
  font-weight: 500;
}

.md-tabs__link--active, .md-tabs__link:hover {
  color: #FF6900 !important;
}

/* Left Sidebar tweaks */
.md-nav__link {
  color: #746660;
}
.md-nav__link--active {
  color: #FF6900;
  font-weight: 500;
}

/* Grid Cards matches the screenshot */
.md-typeset .grid.cards > ul > li {
  position: relative !important;
  background-color: #fafafa !important;
  border-radius: 8px !important;
  padding: 24px !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
}

/* Stretches the anchor link over the entire card tile */
.md-typeset .grid.cards > ul > li a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.md-typeset .grid.cards > ul > li:hover {
  background-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  border: 1px solid #FF6900 !important;
  transform: translateY(-2px);
}

.md-typeset .grid.cards > ul > li p {
  margin: 0 !important;
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.5;
}

.md-typeset .grid.cards > ul > li strong,
.md-typeset .grid.cards > ul > li a strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 8px;
}

.icon-badge {
  background-color: #FF6900;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-badge img {
  width: 24px !important;
  height: 24px !important;
  filter: brightness(0) invert(1);
}

.md-typeset .grid.cards > ul > li hr {
  display: none;
}
