@import url("/static/base.css");

.app {
  padding: 24px 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Header / Introduction */
.blog-header {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 72px;
  margin: 24px 0 12px;
  color: #242424;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.reach-out {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.reach-out-text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #6b6b6b;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  color: #6b6b6b;
  transition: color 0.2s;
  display: flex;
}

.social-links a:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background-color: #d0d0d0;
  margin-left: 8px;
  align-self: center;
}

.social-links a:hover {
  color: #242424;
}

/* Articles Container */
.articles {
  display: flex;
  flex-direction: column;
}

/* Card Component */
.card {
  display: block;
  padding: 24px 0;
  border-bottom: 3px solid #e6e6e6;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card:hover .card-title {
  text-decoration: underline;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-title {
  margin: 0 0 6px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #242424;
  letter-spacing: -0.01em;
}

.card-subtitle {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b6b6b;
}

.card-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.card-date {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #6b6b6b;
}

/* Tags Component */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tag-pill {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  background-color: #f1f1f1;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.card:hover .tag-pill {
  background-color: #e5e5e5;
  color: #111111;
}

@media (max-width: 600px) {
  .blog-header {
    font-size: 48px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-subtitle {
    font-size: 18px;
  }
}
