*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

.list {
  margin-left: 2rem;
}

.item {
  font-size: 1.125rem;
  line-height: 2rem;
  margin-top: 0.5rem;
  color: #525252;
}

header {
  padding: 8rem 1rem;
}

header > div {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

header p {
  font-size: 1.125rem;
  line-height: 2rem;
  margin-top: 1.5rem;
}

header a {
  font-size: 0.875rem;
  line-height: 1.5rem;
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  color: #333;
}

header img {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.actions {
  display: flex;
  margin-top: 1.5rem;
  column-gap: 1rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  display: flex;
  justify-content: center;
}

h1 {
  font-size: 2.5rem;
  line-height: 3rem;
  letter-spacing: -0.025em;
  font-weight: 500;
}

main {
  padding: 5rem 1rem;
  background-color: #f5f5f5;
}

main > div {
  max-width: 80rem;
  margin: 0 auto;
}

main > div > div {
  max-width: 40rem;
}

main h2 {
  letter-spacing: -0.025em;
  font-weight: 500;
  font-size: 2rem;
  line-height: 3rem;
  color: #171717;
  margin-top: 2rem;
}

main h2:nth-child(1) {
  margin-top: 0;
}

main p {
  font-size: 1.125rem;
  line-height: 2rem;
  margin-top: 0.5rem;
  color: #525252;
}

.cards {
  list-style: none;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  background: #fff;
}

.cookie-consent {
  max-width: 40rem;
  position: fixed;
  background-color: #fff;
  border-radius: 0.5rem;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  border: 1px solid #e5e7eb;
  z-index: 20;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  display: none;
}
.cookie-consent h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #171717;
}
.cookie-consent p {
  line-height: 1.625;
  font-size: 1rem;
  color: #404040;
}
.cookie-consent button {
  color: #e5e7eb;
  font-size: 0.875rem;
  line-height: 1.5rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
}
#cookie-consent-accept {
  border: none;
  color: #fff;
  background-color: #0092d8;
  margin-right: 1rem;
}
.cookie-consent-top {
  padding: 1rem;
}
.cookie-consent-content {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.cookie-consent-actions {
  padding: 1.5rem;
}

.highlight {
  font-weight: 800;
}

a.highlight {
  color: #0092d8;
}

@media screen and (min-width: 768px) {
  header > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-right {
    justify-content: flex-end;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

footer {
  padding: 3rem 1rem;
  border-top: 1px solid #ddd;
}

footer > div {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-top {
  padding-bottom: 2rem;
}

.ashbourne-medical-logo {
  width: 80px;
  height: 80px;
  margin-right: 1rem;
}

.copyright {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #737373;
}

.copyright a {
  color: #0092d8;
}
