
/* 1. Basic Reset & Defaults */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: white;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 2. Main Layout Container */
.blog-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 3. Banner & Description */
.banner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1rem;
  display: block;
}

.tagline {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

/* 4. Category Navigation */
.tag-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.tag {
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 8px;
  background: black;
  color: white;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: bold;
}

.tag[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* Highlight active tag */
.tag.active {
  background-color: #333;
}

/* 5. Blog Post List */
.post-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}


/* Individual Post Card */
.post-preview {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration:none;
  color: inherit;
}

@media (min-width: 768px) {
  .post-preview {
    gap: 1.25rem;
  }
}

.post-preview .thumbnail {
  background-color: black;
  border: 1px solid black;
  border-bottom-width: 2px;
  border-radius: 4px;
  width: 80px;
  aspect-ratio: 120 / 96;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  .post-preview .thumbnail {
    width: 120px;
  }
}

.post-preview .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Text Content */
.post-preview .post-text {
  flex: 1;
  text-align: left;
}

/* Title */
.post-preview .post-text .title {
  padding-left: 1px;
  font-family: var(--font-unkown, sans-serif);
  font-weight: 500;
  line-height: 20px;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
  .post-preview .post-text .title {
    -webkit-line-clamp: 3;
  }
}

/* Date */
.post-preview .post-text .date {
  margin-top: 0.25rem;
  font-family: var(--font-pixolde, monospace);
  line-height: 15px;
}


.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li + li {
  margin-top: 1rem; /* optional spacing between items */
}


/* 6. Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 14px;
}
