/* Blog pages: index + articles */
:root {
  --tt-bg: #2a2d3e;
  --tt-text: rgba(255, 255, 255, 0.92);
  --tt-card: rgba(255, 255, 255, 0.06);
  --tt-border: rgba(255, 255, 255, 0.12);
}

html, body { margin: 0; padding: 0; min-height: 100%; }

body.u-body {
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--tt-bg);
  color: var(--tt-text);
  line-height: 1.5;
}

.u-custom-color-2 { background-color: var(--tt-bg) !important; }

.u-sheet {
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.u-clearfix::after { content: ""; display: table; clear: both; }

.u-footer { padding: 24px 0; }
.u-footer .u-text-8 { margin: 0; opacity: 0.85; }

#blog-posts {
  display: grid;
  gap: 14px;
}

#blog-posts article {
  background: var(--tt-card);
  border: 1px solid var(--tt-border);
  border-radius: 16px;
  padding: 18px;
}

#blog-posts h2 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

#blog-posts h2 a {
  color: #fff;
  text-decoration: none;
}

#blog-posts h2 a:hover { text-decoration: underline; }

#blog-posts .blog-post-thumb {
  margin: 0 0 12px;
}

#blog-posts .blog-post-thumb img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.blog-article-wrapper,
.blog-article-wrapper * {
  color: #fff !important;
}

.blog-article-wrapper a { text-decoration: underline; }

.blog-article-wrapper img {
  display: block;
  margin: 16px auto;
  max-width: 100%;
  width: 400px;
  height: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.blog-article-wrapper details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
}

.blog-article-wrapper summary {
  cursor: pointer;
  font-weight: 800;
  outline: none;
}

.blog-article-wrapper details[open] summary { margin-bottom: 8px; }
.blog-article-wrapper details p { margin: 0; line-height: 1.6; }
