/* ==========================================
   BLOG STYLES
   ========================================== */

.blog-content {
  background: #fff;
  overflow-y: auto;
  height: calc(100% - 58px);
}

.blog-home {
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Blog Header ---- */
.blog-header {
  position: relative;
  margin-bottom: 0;
}
.blog-header-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.blog-title-bar {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fdfbfb 100%);
  padding: 12px 20px;
  text-align: center;
}
.blog-title-bar h1 {
  font-size: 20px;
  color: #e75480;
  font-family: 'STHupo', 'Kaiti', cursive;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
}
.blog-desc {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}

/* ---- Blog Navigation ---- */
.blog-nav {
  background: #fce4ec;
  padding: 6px 15px;
  border-bottom: 1px solid #f8bbd0;
  display: flex;
  gap: 15px;
}
.blog-nav a {
  font-size: 12px;
  color: #e75480;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 3px;
}
.blog-nav a:hover, .blog-nav .nav-active {
  background: #e75480;
  color: #fff;
}

/* ---- Post List ---- */
.blog-posts-list {
  padding: 10px 15px;
}
.post-item {
  border-bottom: 1px dashed #eee;
  padding: 10px 5px;
  transition: background 0.2s;
}
.post-item:hover {
  background: #fef9f9;
}
.post-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.post-lock-icon {
  font-size: 14px;
}
.post-item-title {
  font-size: 14px;
  color: #e75480;
  font-weight: bold;
}
.post-item.locked .post-item-title {
  color: #999;
}
.post-item-date {
  font-size: 11px;
  color: #aaa;
  margin-left: auto;
}
.post-item-summary {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  padding-left: 24px;
  line-height: 1.6;
}
.locked-summary {
  color: #bbb;
  font-style: italic;
}

/* ---- Blog Post Content ---- */
.blog-post {
  padding: 20px;
  line-height: 1.8;
}
.blog-post h2 {
  font-size: 18px;
  color: #e75480;
  margin-bottom: 5px;
  font-family: 'STHupo', 'Kaiti', cursive;
}
.post-date {
  font-size: 11px;
  color: #999;
  margin-bottom: 15px;
}
.blog-post p {
  margin-bottom: 8px;
  font-size: 13px;
  color: #333;
}
.blog-clue {
  color: #e75480;
  font-weight: bold;
  border-bottom: 1px dotted #e75480;
}

.clue-char {
  color: #c0392b;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(192, 57, 43, 0.3);
}

/* ---- Sequence Puzzle (Post 3) ---- */
.seq-option {
  padding: 8px 12px;
  margin: 4px 0;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.seq-option:hover {
  background: #e8e8e8;
  border-color: #999;
}

.seq-option.selected {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

/* ---- Blog Footer ---- */
.blog-footer {
  padding: 15px;
  text-align: center;
  font-size: 10px;
  color: #ccc;
  border-top: 1px solid #f0f0f0;
}
