/* ================================================================
   BLOG (index + post) v1
   ================================================================ */

/* ----- INDEX ----- */
.blog-list {
  padding: var(--section-y) 0;
  position: relative;
}
.blog-list__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.blog-list__filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-list__empty {
  grid-column: 1 / -1;
  padding: 80px 20px;
  text-align: center;
  color: var(--text-3);
  font-style: italic;
}
.post-card {
  background: rgba(8, 7, 10, 0.55);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease-out), border-color .35s, background .35s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  background: rgba(8, 7, 10, 0.7);
}
.post-card__cover {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.post-card__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,7,10,0.55) 100%);
}
.post-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.post-card__tag {
  color: var(--gold-2);
  font-weight: 500;
}
.post-card__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 4px 0 0;
  color: var(--text);
}
.post-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
  flex: 1;
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  margin-top: 4px;
  transition: gap .35s;
}
.post-card__more svg { width: 14px; height: 14px; }
.post-card:hover .post-card__more { gap: 12px; }

@media (max-width: 1024px) { .blog-list__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-list__grid { grid-template-columns: 1fr; } }

/* ----- POST ----- */
.post {
  padding: 130px 0 var(--section-y);
  position: relative;
}
.post__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.post__head { margin: 28px 0 36px; }
.post__tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}
.post__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--text);
}
.post__meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.post__cover {
  margin: 0 0 36px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.post__cover img {
  width: 100%;
  height: auto;
  display: block;
}
.post__body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-2);
  font-weight: 300;
}
.post__body p { margin: 0 0 18px; }
.post__body strong { color: var(--text); font-weight: 500; }
.post__body em { color: var(--gold-2); font-style: italic; }
.post__body a {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 4px;
}
.post__body a:hover { text-decoration-color: var(--gold-2); }
.post__body code {
  background: rgba(190, 120, 56, 0.12);
  color: var(--gold-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.post__body h2, .post__body h3, .post__body h4 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.005em;
  margin: 36px 0 16px;
}
.post__body h2 { font-size: 1.7rem; line-height: 1.18; }
.post__body h3 { font-size: 1.35rem; line-height: 1.25; }
.post__body h4 { font-size: 1.12rem; }
.post__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post__body ul li {
  position: relative;
  padding-left: 18px;
}
.post__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  background: var(--gold-2);
  transform: rotate(45deg);
}
.post__body img { max-width: 100%; height: auto; border-radius: 8px; margin: 18px 0; }
.post__foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
}
