* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: #f4f6f8;
}

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

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  padding: 16px;
}

/* JOIN BOX */
.join-box {
  padding: 12px;
}

.join {
  background: #e9f7f6;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.btn {
  padding: 6px 14px;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

.green { background: #28a745; }
.blue { background: #007bff; }

/* CATEGORY CARD */
.category-card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dfe6e9;
  overflow: hidden;
}

.category-title {
  background: #198754;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

.post {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.post:last-child {
  border-bottom: none;
}

.post h4 {
  font-size: 14px;
  margin: 0 0 6px;
}

.meta {
  font-size: 12px;
  color: #555;
}

.read-more {
  display: block;
  background: #198754;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 14px;
}

.post-container {
  background: #fff;
  margin: 10px;
  padding: 14px;
  border-radius: 6px;
}

.post-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.apply-btn {
  display: block;
  background: #198754;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 12px;
}

.highlight-box {
  background: #eaf7f5;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}

.icon-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.post-content h2 {
  font-size: 16px;
  margin-top: 18px;
}

.post-content ul,
.post-content ol {
  padding-left: 18px;
}

.share-box {
  margin-top: 20px;
  font-size: 14px;
}

.share-box a {
  margin-right: 8px;
  color: #198754;
}

.author-box {
  display: flex;
  gap: 10px;
  background: #f4f6f8;
  padding: 10px;
  border-radius: 6px;
  margin-top: 20px;
}

.author-box img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.related-posts {
  margin-top: 20px;
}

.related-posts a {
  display: block;
  padding: 6px 0;
  color: #198754;
}
