.home__header.container {
  padding-top: 0;

  & .home__header-content {
    & .home__header-map {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 16rem;
      width: 100%;
      margin-bottom: 2rem;
      background-image: url("/assets/global/australia.svg");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;

      @media (min-width: 768px) {
        height: 22rem;
      }

      @media (min-width: 1024px) {
        height: 26rem;
      }
    }

    & .home__header-introduction {
      font-weight: bold;
      text-align: center;

      & a {
        color: var(--primary-black);
      }
    }
  }
}
.article__card {
  grid-column: span 4;
  display: flex;
  flex-flow: column;
  background-color: var(--primary-white);
  border: 2px solid var(--secondary-light-grey);
  box-shadow: 0 0 .5rem var(--secondary-light-grey);

  @media (min-width: 768px) {
    grid-column: span 2;
  }

  @media (min-width: 1024px) {
    grid-column: span 4;
  }

  & img {
    height: 14rem;
    width: auto;
    object-fit: cover;

    @media (min-width: 768px) {
      height: 13rem;
    }
  
    @media (min-width: 1024px) {
      height: 15rem;
    }
  }

  & .article__card-headings {
    flex: 1;
    position: relative;
    padding: 1rem .5rem 3rem;
    text-align: center;

    & .article__card-category {
      font-family: var(--sans-serif);
      font-size: .5rem;
      color: var(--primary-red);
    }

    & .article__card-title {
      font-family: var(--sans-serif);
      font-size: 1rem;
      font-style: normal;
      line-height: 1rem;
      color: var(--secondary-dark-grey);
    }

    & .article__card-description {
      margin: 1rem auto;
      color: var(--secondary-dark-grey);
    }

    & .article__card-link {
      width: 100%;
      position: absolute;
      left: 0;
      bottom: 1rem;
      font-family: var(--sans-serif);
      text-decoration: none;
      color: var(--primary-black);
    }
  }
}
.article__cards-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
  margin: 1rem auto;
}
.primary-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--sans-serif);
  font-weight: normal;
  line-height: 1rem;
  background-color: var(--primary-white);
  border: 1px solid var(--primary-red);
  border-radius: 1.5rem;
  color: var(--primary-red);
  text-decoration: none;

  &:hover {
    background-color: var(--primary-red);
    color: var(--primary-white);
  }
}
.home__articles-slider {

}
.note__card {
  grid-column: span 2;
  position: relative;

  @media (min-width: 1024px) {
    grid-column: span 4;
  }

  &:first-of-type {
    grid-column: span 4;

    & .note__card-headings h3 {
      font-size: 2rem;
      line-height: 2rem;
    } 

    @media (min-width: 768px) {
      grid-row: span 2;
    }

    @media (min-width: 1024px) {
      grid-column: span 8;
    }
  }


  & img {
    height: auto;
  }

  & .note__card-headings {
    position: absolute;
    bottom: 0;
    padding: 1rem;

    & h3 {
      font-size: 1rem;
      line-height: 1rem;
      font-family: var(--sans-serif);
      font-style: normal;
      color: var(--primary-white);
      text-shadow: 0 0 .5rem var(--secondary-dark-grey);
    }
  }


}
.note__cards-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
  margin: 1rem 0;
}

.nav.container {
  padding-top: 1rem;

  & .nav__content {
    display: flex;
    flex-flow: column;

    @media (min-width: 1024px) {
      flex-flow: row;
      align-items: flex-end;
    }

    & .nav__logo {
      height: 3rem;
      width: auto;
      flex-shrink: 0;
      align-self: flex-start;
      background-color: transparent;

      @media (min-width: 768px) {
        height: 4rem;
      }
    }

    & .nav__link-list {
      display: flex;
      gap: 2rem;
      width: 100%;
      justify-content: flex-end;

      & .nav__link {
        font-family: var(--sans-serif);
        list-style: none;

        & a {
          color: var(--primary-black);
        }
      }

      & .nav__link--inactive {
        & a {
          color: var(--secondary-dark-grey);
          text-decoration: none;
          cursor: default;
        }

        & .nav__label {
          vertical-align: text-top;
          margin-left: 0.2rem;
          font-size: 0.5rem;
          line-height: 1rem;
          text-transform: lowercase;
          color: var(--primary-red);
        }
      }
    }
  }
}
.footer {
  background-color: var(--secondary-dark-grey);
  color: var(--primary-white);

  & .footer__logo {
    height: 3rem;
    width: auto;
    flex-shrink: 0;
    margin-bottom: 2rem;
    background-color: transparent;

    @media (min-width: 768px) {
      height: 4rem;
    }
  }

  & .footer__link {
    margin-bottom: 2rem;
    font-family: var(--sans-serif);
    list-style: none;

    & a {
      color: var(--primary-white);
    }

    & .footer__link-text {
      font-family: var(--serif);
    }
  }

  & .footer__link--inactive {
    & a {
      text-decoration: none;
      cursor: default;
    }

    & .footer__label {
      vertical-align: text-top;
      margin-left: 0.2rem;
      font-size: 0.5rem;
      line-height: 1rem;
      text-transform: lowercase;
      color: var(--secondary-yellow);
    }
  }

  & .footer__copyright {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: center;
    font-style: italic;
  }
}
/* 
    DOS DINGOS - GLOBAL STYLES
    Stylesheet with base styles and components used on all pages of the website

    Index:
    - Reset
    - Sizes
    - Colours
    - Typography
    - System
    - Utilities
*/

/*  || RESET  */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: none;
  vertical-align: baseline;
}

body {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

article,
aside,
footer,
header,
menu,
nav,
section {
  display: block;
}

ul,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

/*  || SIZES  */
html {
  font-size: 16px;

  @media (min-width: 768px) {
    font-size: 18px;
  }
  @media (min-width: 1024px) {
    font-size: 20px;
  }
  @media (min-width: 1440px) {
    font-size: 24px;
  }
}

/*  || COLOURS  */
:root {
  --primary-black: #222;
  --primary-white: #fafafa;
  --primary-red: #96371a;
  --primary-yellow: #eb9d00;
  --secondary-dark-grey: #545454;
  --secondary-light-grey: #e5e5e5;
  --secondary-yellow: #f3cc7d;
}

html {
  background-color: var(--primary-white);
  background-image: url("/assets/global/topography-pattern.svg");
  color: var(--primary-black);

  @media (min-width: 768px) {
    background-image: url("/assets/global/topography-pattern-large.svg");
  }
}

/*  || TYPOGRAPHY */
:root {
  --serif: Georgia, serif;
  --sans-serif: "Futura", Arial, sans-serif;
}

body {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 2rem;
}

h1,
h2 {
  font-family: var(--sans-serif);
}

h1 {
  font-size: 3rem;
  line-height: 3rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  line-height: 2rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-style: italic;
  color: var(--primary-red);
}

h4 {
  font-size: 1rem;
  line-height: 2rem;
}

img {
  /* Change position of alt text */
  font-family: var(--sans-serif);
  text-align: center;
  color: var(--secondary-dark-grey);
  background-color: var(--secondary-light-grey);
}

/*  || SYSTEM */
.system {
  margin: 2rem auto 1rem auto;
  font-family: monospace;
  color: var(--primary-black);
}

.system-background {
  background-color: var(--primary-white);
}

/*  || UTILITIES */
.container {
  display: grid;
  grid-template-columns: repeat(4, minmax(4rem, 8rem));
  grid-auto-rows: max-content;
  gap: 1rem;
  justify-content: center;
  max-width: 100%;
  padding: 2rem 0.5rem;

  @media (min-width: 768px) {
    padding: 2rem 0;
    grid-template-columns: repeat(6, 6rem);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(12, 3rem);
  }
}

.row {
  grid-column: 1 / -1;

  &.center {
    text-align: center;
  }

  &.medium {
    @media (min-width: 768px) {
      grid-column-start: 2;
    }

    @media (min-width: 1024px) {
      grid-column: 3 / -2;
    }
  }

  &.large {
    @media (min-width: 768px) {
      grid-column-start: 2;
    }

    @media (min-width: 1024px) {
      grid-column: 2 / -2;
    }
  }
}