/* Footer - three zones, as on the People and Parks site: endorsements on
   white, the Acknowledgement of Country on mid green, then contact details,
   supporters and links on deep green. */

.footer {
  width: 100%;
}

/* links underlined, as everywhere else on the site */
.footer a {
  color: inherit;
  text-decoration: underline;
}


/* Endorsements - the RACGP, with room for more side by side */

.footer .footer_endorsements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px 80px;
  padding: 60px 20px;
  background: var(--white);
}

.footer .footer_endorsement {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  text-align: center;
}

.footer .footer_endorsement_title {
  margin: 0 0 30px;
  color: var(--mid-green);
  font-size: 26px;
  font-weight: 800;
}

.footer .footer_endorsement_logo {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
}


/* Acknowledgement of Country */

.footer .footer_ack {
  padding: 90px 20px;
  background: var(--mid-green);
  color: var(--white);
}

.footer .footer_ack_text {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}


/* Contact details, supporters and links */

.footer .footer_main {
  padding: 50px 30px 30px;
  background: var(--deep-green);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.footer .footer_inner {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.footer .footer_column {
  flex: 1 1 0;
  min-width: 0;
}

.footer .footer_column p {
  margin: 0 0 1em;
}

.footer .footer_left {
  text-align: left;
}

.footer .footer_attribution {
  max-width: 300px;
}

.footer .footer_centre {
  text-align: center;
}

.footer .footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer .footer_right .footer_link {
  margin: 0 0 14px;
}

.footer .footer_supported {
  font-weight: 600;
}

.footer .footer_logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* square logos on white, shown as circles */
.footer .footer_logos img {
  display: block;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
}

.footer .footer_legal {
  margin: 40px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 800px) {
  .footer .footer_endorsements {
    padding: 40px 20px;
  }

  .footer .footer_endorsement_title {
    font-size: 21px;
  }

  .footer .footer_endorsement_logo {
    width: 260px;
  }

  .footer .footer_ack {
    padding: 50px 20px;
  }

  .footer .footer_ack_text {
    font-size: 19px;
  }

  .footer .footer_main {
    padding: 40px 20px 30px;
  }

  .footer .footer_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .footer .footer_column,
  .footer .footer_left,
  .footer .footer_right {
    text-align: center;
    align-items: center;
  }

  .footer .footer_attribution {
    margin: 0 auto;
  }
}
