* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(
      to bottom,
      #000000,
      #081a3f
    );

  color: #f2f2f2;

  font-family: 'Sora', sans-serif;

  min-height: 100vh;
}

.blog-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;

  padding-top: 60px;
  padding-bottom: 60px;
}

.blogpage-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 12px auto 32px;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.blogpage-sub {
  font-size: 0.68rem;
  opacity: 0.6;
}

.back-link {
  display: inline-flex;
  align-items: center;

  margin-bottom: 16px;

  color: rgba(255,255,255,0.6);

  text-decoration: none;

  font-size: 0.95rem;

  letter-spacing: 0.08em;

  transition: 0.2s ease;
}

.back-link:hover {
  color: rgba(255,255,255,0.95);
}

.back-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  
}

.post-card {
  display: flex;
  gap: 14px;

  text-decoration: none;
  color: inherit;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 18px;

  overflow: hidden;

  background: rgba(255,255,255,0.03);

  transition: 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);

  background:
    rgba(255,255,255,0.06);
}

.post-cover {
  width: 180px;
  height: 100%;

  height: 110px;

  object-fit: cover;
}

.post-content {
  padding: 12px 16px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 6px;
}

.post-card-date {
  font-size: 0.78rem;
  opacity: 0.45;
}

.post-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin: 0;
}

.post-content p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== Article ===== */
.post-hero {
  margin-top: 18px;
  margin-bottom: 56px;
}

.post-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);

  font-weight: 500;

  line-height: 1.2;

  letter-spacing: 0.06em;

  color: rgba(255,255,255,0.92);
}

.post-hero .post-date {
  margin-bottom: 14px;

  font-size: 0.8rem;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color: rgba(255,255,255,0.6);
}

.article {
  line-height: 1.9;
}

.article h1,
.article h2,
.article h3,
.article h4{
  color: rgba(255,255,255,0.82);
}

.article h1 {
  font-size: 2rem;

  margin-top: 56px;
  margin-bottom: 20px;

  letter-spacing: 0.08em;
}

.article h2 {
  margin-top: 60px;
  margin-bottom: 18px;
}

.article h1 + h2 {
  margin-top: 12px;
}

.article h2 + h3 {
  margin-top: 10px;
}

.article p {
  margin-bottom: 24px;
  color: rgba(235,238,245,0.72);
}

.article ul,
.article ol {
  margin: 20px 0 28px;

  padding-left: 1.4em;

  color: rgba(235,238,245,0.72);
}

.article li {
  margin-bottom: 10px;

  line-height: 1.8;

  color: rgba(235,238,245,0.72);
}

.article li::marker {
  color: rgba(255,255,255,0.35);
}

.article img {
  display: block;

  max-width: 100%;

  max-height: 520px;

  width: auto;
  height: auto;

  margin: 0 0 32px;

  border-radius: 20px;
}

.article blockquote {
  margin: 28px 0;

  padding: 12px 12px;

  border-left: 3px solid
    rgba(120,170,255,0.45);

  background:
    rgba(255,255,255,0.03);

  color:
    rgba(255,255,255,0.78);

  line-height: 1.8;
}

.article blockquote p {
  margin: 0;
}

.article a {
  color: rgba(220, 225, 235, 0.6);

  text-decoration: underline;

  text-decoration-color:
    rgba(220,225,235,0.22);

  transition: 0.2s ease;
}

.article a:hover {
  color: rgba(255,255,255,0.92);

  text-decoration-color:
    rgba(255,255,255,0.5);
}

.article pre {
  background: rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.article code {
  font-family: monospace;
}

.article hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 40px 0;
}

@media (max-width: 700px) {

  .blog-container {
    padding: 60px 20px;
  }
  
  .post-card {
    flex-direction: column;
  }

  .post-cover {
    width: 100%;
    height: 220px;
  }

  .blog-header h1 {
    font-size: 2.2rem;
  }

  .article h1 {
    font-size: 2rem;
  }
}