  @import url("https://unpkg.com/papercss@1.9.2/dist/paper.css") layer(csspaper);

  /* ---------------------------
     PAGE & BODY SETUP
  --------------------------- */
  html, body {
    height: 100%;
    margin: 0;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 1rem;
    background-color: #f6eee3;
    background-size: 20px 20px;
    background-image: repeating-linear-gradient(
      0deg,
      #e5decf,
      #e5decf 1px,
      #f6eee3 1px,
      #f6eee3
    );
    color: var(--text-color);
  }

  main.main-content {
    flex: 1; /* pushes footer to bottom */
  }

  /* ---------------------------
     HEADINGS
  --------------------------- */
  h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0 0 2rem;
    text-align: center;
  }

  h2 {
    font-size: 25px;
    font-weight: 500;
    margin: 0;
  }

  .tagline {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1rem;
  }

  /* ---------------------------
     POST GRID
  --------------------------- */
  .card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .card-list:has(li:hover) li:not(:hover) {
    filter: blur(4px);
  }

  li {
    margin: 0;
    transition: all 150ms ease-in-out;
  }

  li::before {
    content: "";
  }

  img {
    display: block;
    min-width: 0;
    width: 100%;
    height: auto;
    margin-bottom: 0.6rem;
    border-radius: 6px;
  }

  a {
    background: none;
  }

  .paper {
    padding: 1.5rem;
    cursor: pointer; /* makes whole li clickable if wrapped in link */
  }

  li a {
    padding-inline-start: 0.5rem;
  }

  /* ---------------------------
     FOOTER
  --------------------------- */
  .footer {
    font-size: 14px;
    padding: 10px 20px;
    color: #555;
    border-top: 1px solid #eee;
  }

  .footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-content p {
    margin: 4px 0;
  }

  .icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
    color: var(--brand-pink-dark);
    font-size: 20px;
  }

  .footer-icon {
    color: var(--brand-pink-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
  }

  .footer-icon:hover {
    color: var(--brand-pink);
  }

  .footer-privacy-link,
  .footer-terms-link {
    color: #555;
    text-decoration: none;
    margin: 0 4px;
  }

  .footer-privacy-link:hover,
  .footer-terms-link:hover {
    color: var(--brand-pink);
  }

  .itzme {
    font-family: "Caveat", cursive;
    font-weight: 700;
    color: var(--brand-pink-dark);
    font-size: 20px;
  }

  /* ---------------------------
     RESPONSIVE STYLES
  --------------------------- */
  @media (max-width: 768px) {
    h1 {
      font-size: 1.8rem;
    }
    h2 {
      font-size: 25px;
      font-weight: 500;
    }
    .footer-content {
      flex-direction: column;
    }
  }

  @media (max-width: 480px) {
    body {
      padding: 0.5rem;
    }
    .paper {
      padding: 1rem;
    }
    h1 {
      font-size: 1.6rem;
    }
  }


  .button-wrapper {
  text-align: center;
  margin: 20px 0;
}

.button {
  position: relative;
  display: inline-block;
  color: white;
  font-family: Helvetica, sans-serif;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  background-color: #FFA12B;
  padding: 15px 30px;

  text-shadow: 0px 1px 0px #000;
  box-shadow: inset 0 1px 0 #FFE5C4, 0 6px 0 #915100;

  border-radius: 5px;
  transition: all 0.2s ease;
}

.button:active {
  top: 6px;
  background-color: #F78900;
  box-shadow: inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
}

.button::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
  background-color: #2B1800;
  border-radius: 5px;
}

hr::after {
    content: none;
}
