/* Header */

header#layout-header {
  padding-left: 16px;
  padding-right: 16px;
}

#header-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  padding-top: 16px;
  padding-bottom: 16px;
}

header#layout-header h1 {
  margin: 0;
  line-height: 0;
}

header#layout-header h1 a {
  display: inline-block;
}

header#layout-header h1 svg {
  display: block;
  height: 32px;
}

@media (width >= 768px) {
  header#layout-header h1 svg {
    height: 48px;
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

/* Footer */

footer#layout-footer {
  padding: 16px;
  padding-top: 0px;
}

footer#layout-footer svg {
  display: block;
}

#footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  border-top: 1px solid #000;
  padding-top: 24px;
}

#footer-content {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

#footer-content-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

footer#layout-footer nav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

footer#layout-footer nav a {
  width: fit-content;
  font-size: 14px;
  line-height: 1.428571;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

footer#layout-footer nav a:hover {
  color: #a1a1a1; /* text-neutral-400 */
}

footer#layout-footer nav a:active {
  color: #d4d4d4; /* text-neutral-300 */
}

#footer-socials {
  display: flex;
  gap: 24px;
}

#footer-socials svg {
  width: 20px;
  height: 20px;
}

a#content-nsw-gov svg {
  height: 40px;
}

@media (width >= 768px) {
  #footer-wrapper {
    gap: 48px;
  }

  #footer-content {
    align-items: flex-start;
  }

  #footer-content-wrapper {
    flex-direction: row;
  }

  footer#layout-footer nav {
    flex-direction: row;
  }
}
