article {
  padding: 2rem 0;
}

article h2 {
  color: var(--navy400);
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
}

article h5 {
  color: var(--navy400);
  margin: 0 0 1rem 0;
  padding: 0;
}

article p {
  color: var(--navy800);
  font-family: Literata, ui-serif, serif;
  font-weight: 400;
  line-height: 1.5;
}

article p:first-child:first-letter {
  color: var(--navy400);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  initial-letter: 2;
  padding-right: 0.25em;
}

article p:first-of-type {
  color: var(--navy400);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

#blog-button {
  --background-color-hover: white;
}

.blog-card {
  width: 100%;
  h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--navy400);
    margin-top: 0;
  }
  h5 {
    color: var(--navy700);
    font-family: "Inter", ui-sans-serif, sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
    text-transform: none;
  }
}

body {
  background-color: var(--putty200);
}

date-tags {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.dialog-newsletter {
  --background-color: var(--putty200);
}

.dialog-newsletter::part(title) {
  color: var(--navy400);
}

#footer {
  align-items: center;
  background-color: var(--putty200);
  border: 0;
  display: flex;
  font-family: "Roboto Condensed", Inter, ui-sans-serif, sans-serif;
  font-size: 0.8rem;
  justify-content: center;
  margin-top: auto;
  padding: 2rem;
  text-transform: uppercase;
}

#header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

#listen {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

#listen-button {
  --background-color: white;
  --background-color-active: var(--putty400);
  --background-color-hover: white;
  --border-color-active: var(--putty700);
  --border-color-hover: var(--putty700);
  --label-color: var(--putty700);
}

#logo {
  height: auto;
  margin: 0;
  padding: 0;
  width: 2rem;
}

#main-content {
  padding: 0 2rem;
}

nav-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 2rem 0;
  padding: 0;
  width: 100%;
  a {
    background-color: transparent;
  }
}

#nmm-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

p {
  line-height: 1.3;
}

#page-container {
  margin: 0;
  min-height: 100svh;
}

  quote {
    margin-top: 0;
    margin-bottom: 4rem;
    background-color: var(--navy400);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: var(--putty200);
    padding: 1rem;
    h2 {
      margin: 0 0 1rem 0;
      text-wrap: balance;
    }
    h3 {
      margin: 0;
    }
    h4 {
      margin: 0 0 2rem 0;
      font-family: "Inter", ui-sans-serif, sans-serif;
      font-size: 1rem;
      font-weight: 400;
      text-transform: none;
    }
  }

  #recent-container {
    color: var(--navy700);
    margin-top: 1rem;
    h5 {
      color: var(--putty700);
      font-weight: 400;
    }
    h4 {
      font-family: Inter, ui-sans-serif, sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0;
      margin: 0;
      text-transform: none;
    }
    p {
      font-size: 0.8rem;
      font-weight: 400;
      margin: 0;
    }
    a {
      padding: 0;
    }
    a:hover {
      text-decoration: underline;
    }
  }

  .share-button {
    background-color: transparent;
    color: var(--putty700);
    transition: color 0.3s ease;
  }

  .share-button:hover {
    color: var(--navy400);
    transition: color 0.3s ease;
  }

  #share {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem;
    i {
      font-size: 1rem;
      margin-right: 0.5rem;
    }
    a {
      margin: 0;
      padding: 0;
    }
    h3 {
      margin-bottom: 0.5rem;
    }
  }

  #share-container {
    width: fit-content;
  }

  #spotify,
  #youtube,
  #apple,
  #amazon {
    display: none;
  }

  #subscribe-button {
    --background-color: var(--green700);
    --label-color: white;
  }

  #subscribe-container {
    margin-left: 2rem;
    margin-top: 0;
    width: fit-content;
  }

  #subscribe-email {
    --background-color: white;
    --border-width: 0;
  }

  title-block {
    align-items: flex-start;
    background-color: var(--navy400);
    border-radius: 1rem;
    color: var(--putty200);
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    overflow: visible;
    padding: 2rem;
    h1 {
      font-size: 4rem;
      font-weight: 600;
    }
    h2 {
      font-size: 1.5rem;
      font-weight: 400;
      text-transform: none;
    }
    mast-head {
      display: flex;
      flex-direction: column;
      gap: 0;
      height: 100%;
      justify-content: center;
      width: 50%;
    }
    feature-image {
      width: 50%;
      img {
        height: auto;
        width: 100%;
      }
    }
  }

  #tag-llw {
    --background-color: var(--yellow700);
    --border-width: 0;
    --content-color: var(--putty200);
  }

  #tag-nmm {
    --background-color: var(--red400);
    --border-width: 0;
    --content-color: var(--putty200);
  }

  #top-banner {
    margin: 1rem 0;
    width: 100%;
  }

  #v-ad {
    padding: 2rem;
  }

  @media (min-width: 600px) {
    article h2 {
      font-size: 2rem;
    }
  }

  @media (min-width: 900px) {
    .blog-card {
      max-width: 48%;
    }
    article h2 {
      font-size: 2.5rem;
    }
  }

  @media (min-width: 1200px) {
    title-block {
      max-height: 450px;
    }
    #share {
      align-items: flex-end;
      flex-direction: column;
      justify-content: flex-start;
    }
    #share-container {
      width: 12rem;
    }
    #subscribe-container {
      margin-left: 0;
      margin-top: 3rem;
      width: 12rem;
    }
  }

  @media (min-width: 1800px) {
    .blog-card {
      max-width: 32%;
    }
    title-block {
      max-height: 510px;
    }
  }
}
