/* Use Material's layout and type. These rules cover GiveCare-specific content. */
.md-typeset a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.md-typeset .md-tags:not([hidden]) {
  display: none;
}

.md-typeset .regulatory-terrain-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
}

.gc-benefits-filter {
  margin-block: 1.5em;
}

.gc-benefits-filter label {
  display: block;
  margin-bottom: 0.25em;
  font-weight: 700;
}

.gc-benefits-filter input {
  box-sizing: border-box;
  width: min(100%, 24em);
  min-height: 44px;
  padding-inline: 0.75em;
  color: var(--md-default-fg-color);
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--light);
  border-radius: 0.15rem;
  font: inherit;
}

.gc-benefits-filter input:focus-visible {
  outline: 2px solid var(--md-typeset-a-color);
  outline-offset: 2px;
}

.gc-benefits-filter [role="status"] {
  margin-top: 0.5em;
}

.gc-benefits-filter [role="status"]:empty {
  margin: 0;
}

[data-benefits-group] [hidden] {
  display: none;
}

.md-typeset #program-rules {
  border-color: var(--md-default-fg-color--lightest);
}

.md-typeset .gc-next-step {
  margin-block: 2em 1em;
  padding: 1em;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.md-typeset .gc-next-step h2 {
  margin-top: 0;
}

.gc-next-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.md-footer {
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  border-top: 1px solid var(--md-default-fg-color--lightest);
}

.gc-footer {
  max-width: 1104px;
  margin-inline: auto;
  padding-inline: 24px;
  font-size: 0.75rem;
}

.gc-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-block: 32px;
}

.gc-footer__logo {
  display: block;
  height: 14px;
  aspect-ratio: 992 / 151;
  background: currentColor;
  mask: url("../brand/logo.svg") center / contain no-repeat;
}

.gc-footer__groups {
  display: grid;
  flex: 1 1 320px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.gc-footer h2 {
  margin: 0 0 4px;
  font-size: inherit;
}

.gc-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gc-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.gc-footer li a:hover,
.gc-footer li a:focus-visible {
  text-decoration: underline;
}

.gc-footer__bottom,
.gc-footer__legal,
.gc-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}

.gc-footer__bottom {
  padding-block: 16px;
  border-top: 1px solid var(--md-default-fg-color--lightest);
}

.gc-footer ul.gc-footer__social {
  gap: 0;
}

.gc-footer__social li a {
  justify-content: center;
  width: 44px;
  height: 44px;
}

@media (min-width: 768px) {
  .gc-footer__logo {
    height: 18px;
  }

  .gc-footer__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gc-footer__legal {
    flex: 1;
    justify-content: flex-end;
  }
}
