body.blog-ui {
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
  background: url("/webappbdg.jpg") center center / cover no-repeat fixed;
}

.blog-shell {
  width: min(430px, 100%);
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #1c1c3c;
  box-sizing: border-box;
}

.blog-content {
  padding: 16px;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.post-back-link:hover,
.post-back-link:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}

.menu-title {
  margin: 0;
  flex: 1 1 auto;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 12px;
  white-space: nowrap;
}

.menu-header-spacer {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.blog-page-title,
.post-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
}

.blog-intro,
.post-meta {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #e7e7e7;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.topic-link:hover,
.topic-link:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.topic-link-number {
  color: #fcff07;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.topic-link-title {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.post-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.post-content p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #f1f1f1;
  text-align: left;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post-empty {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #f1f1f1;
}

@media (max-width: 767px) {
  body.blog-ui {
    background: url("/webappbdg.jpg") center center / cover no-repeat fixed !important;
  }

  .blog-shell {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
  }
}

@media (min-width: 768px) {
  .blog-shell {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}
