/*
 * GOV.UH publishing applications: native footer presentation.
 * Cohesive responsive two-column licensing and heraldry arrangement.
 * Loaded as first-party CSS; does not relax CSP or alter Coat of Arms artwork.
 */
.gem-c-layout-footer .uh-footer-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  column-gap: 32px;
  row-gap: 20px;
  align-items: center;
  justify-items: stretch;
  margin: 0;
  width: 100%;
}
.gem-c-layout-footer .uh-footer-meta-row > .uh-footer-ogl {
  display: block;
  flex: none;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  align-self: center;
}
.gem-c-layout-footer .uh-footer-ogl-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 7px;
}
.gem-c-layout-footer .uh-footer-ogl .govuk-footer__licence-description {
  display: block;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.45;
  text-wrap: auto;
}
.gem-c-layout-footer .uh-footer-meta-row > .uh-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.gem-c-layout-footer .uh-footer-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0 auto;
}
.gem-c-layout-footer .uh-footer-identity img {
  display: block;
  width: 180px;
  height: 180px;
  max-width: 100%;
  flex: 0 0 180px;
  object-fit: contain;
  margin: 0;
}
.gem-c-layout-footer .uh-footer-identity .govuk-footer__link {
  display: block;
  max-width: 250px;
  text-align: center;
  white-space: normal;
}
.gem-c-layout-footer .uh-footer-site-identity {
  color: #505a5f;
}
@media (max-width: 720px) {
  .gem-c-layout-footer .uh-footer-meta-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .gem-c-layout-footer .uh-footer-meta-row > .uh-footer-copyright {
    justify-content: flex-start;
  }
  .gem-c-layout-footer .uh-footer-identity {
    margin: 0;
  }
}
