/* GovThatWorks.org V68 brand lockup ------------------------------------------------ */
.gtw-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: var(--gtw-touch, 44px);
  text-decoration: none;
}
.gtw-brand__picture {
  display: block;
  line-height: 0;
}
.gtw-brand img.gtw-brand__logo {
  display: block;
  width: 250px !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
}

/* Footer uses the new A mark instead of the retired site mark. */
.gtw-footer__brand img[src*="govthatworks-mark-v66"] {
  width: 38px !important;
  height: auto !important;
  max-height: 54px;
  object-fit: contain;
}

@media (max-width: 1250px) {
  .gtw-brand img.gtw-brand__logo {
    width: 225px !important;
  }
}

@media (max-width: 1080px) {
  .gtw-brand img.gtw-brand__logo {
    width: 205px !important;
  }
}

@media (max-width: 980px) {
  .gtw-brand img.gtw-brand__logo {
    width: 190px !important;
  }
}

@media (max-width: 560px) {
  .gtw-brand img.gtw-brand__logo {
    width: 38px !important;
    height: auto !important;
    max-height: 54px;
  }
}


/* V68 footer mark visibility -------------------------------------------------- */
.gtw-footer__brand a:first-child img[src*="govthatworks-mark-v66"] {
  width: 46px !important;
  height: 56px !important;
  max-height: none !important;
  padding: 5px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .gtw-footer__brand a:first-child img[src*="govthatworks-mark-v66"] {
    width: 44px !important;
    height: 54px !important;
  }
}
