/* Optional uploaded images for the two featured Links layouts. No image means no new layout. */
#home :is(.gt-community-resources, .gt-important-alerts) .linkItem > a.linkItemImage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-decoration: none;
  box-sizing: border-box;
}
#home :is(.gt-community-resources, .gt-important-alerts) .linkItemImage img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
}
#home .gt-community-resources .linkItem > a.linkItemImage {
  flex: 0 0 auto;
  width: 100%;
  height: 10rem;
  margin-bottom: 1rem;
}
#home .gt-community-resources .linkItemBody {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
#home .gt-important-alerts .linkItem.linkItem--with-image {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
}
#home .gt-important-alerts .linkItem--with-image > a.linkItemImage {
  grid-column: 1;
  align-self: center;
  width: 6rem;
  height: 6rem;
}
#home .gt-important-alerts .linkItem--with-image > .linkItemBody {
  grid-column: 2;
  min-width: 0;
}
#home :is(.gt-community-resources, .gt-important-alerts) .linkItemImage:focus-visible {
  outline: 2px solid var(--gt-green-dark, #29512f);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  #home .gt-important-alerts .linkItem.linkItem--with-image { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 0.75rem; }
  #home .gt-important-alerts .linkItem--with-image > a.linkItemImage { width: 4.5rem; height: 5rem; }
}
