.blog-page {
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  z-index: 2;
}

.blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 36px 100px;
}

/* Hero */
.blog-hero {
  margin-bottom: 40px;
}
.blog-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.38;
  margin-bottom: 16px;
}
.blog-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.blog-lead {
  font-size: 0.95rem;
  opacity: 0.58;
  max-width: 520px;
  line-height: 1.6;
}

/* Category filter */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.blog-filter {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.15s;
}
.blog-filter:hover,
.blog-filter.active {
  border-color: rgba(255,255,255,0.6);
  color: white;
  background: rgba(255,255,255,0.07);
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s;
  text-decoration: none;
  color: white;
}
.blog-featured:hover {
  border-color: rgba(255,255,255,0.28);
}
.blog-featured-img {
  background: linear-gradient(135deg, rgba(232,184,75,0.15) 0%, rgba(127,181,208,0.12) 100%);
  min-height: 200px;
  overflow: hidden;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.blog-featured:hover .blog-featured-img img {
  opacity: 1;
  transform: scale(1.03);
}
.blog-featured-body {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(232,184,75,0.15);
  color: #E8B84B;
  margin-bottom: 16px;
  width: fit-content;
}
.post-tag.blue  { background: rgba(127,181,208,0.15); color: #7FB5D0; }
.post-tag.grey  { background: rgba(184,196,204,0.15); color: #B8C4CC; }

.post-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.post-excerpt {
  font-size: 0.9rem;
  opacity: 0.55;
  line-height: 1.6;
  margin-bottom: 24px;
}
.post-meta {
  font-size: 0.75rem;
  opacity: 0.35;
  display: flex;
  gap: 16px;
}

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.post-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.025);
  text-decoration: none;
  color: white;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}
.post-card-img {
  height: 140px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  filter: brightness(0.88);
  transition: transform 0.4s ease, opacity 0.3s ease, filter 0.3s ease;
}

.post-card:hover .post-card-img img {
  transform: scale(1.04);
  opacity: 1;
  filter: brightness(1.05);
}
.post-card-body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-body .post-tag { margin-bottom: 12px; }
.post-card-body .post-title { font-size: 1rem; margin-bottom: 10px; }
.post-card-body .post-excerpt { font-size: 0.82rem; flex: 1; }
.post-card-body .post-meta { margin-top: 18px; }

/* Coming soon / empty state */
.blog-coming {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 16px;
  margin-top: 20px;
}
.blog-coming-icon {
  font-size: 2.5rem;
  opacity: 0.2;
  margin-bottom: 20px;
}
.blog-coming h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.7;
}
.blog-coming p {
  font-size: 0.88rem;
  opacity: 0.38;
  line-height: 1.5;
}

/* Newsletter */
.blog-newsletter {
  margin-top: 72px;
  padding: 52px 48px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  display: flex;
  align-items: center;
  gap: 48px;
}
.blog-newsletter-text { flex: 1; }
.blog-newsletter-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.blog-newsletter-text p {
  font-size: 0.88rem;
  opacity: 0.5;
  line-height: 1.5;
}
.blog-newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.blog-newsletter-form input {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: white;
  width: 240px;
  outline: none;
  transition: border-color 0.15s;
}
.blog-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.blog-newsletter-form input:focus { border-color: rgba(255,255,255,0.45); }
.blog-newsletter-form button {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  background: white;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.blog-newsletter-form button:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 160px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-newsletter { flex-direction: column; gap: 28px; }
  .blog-newsletter-form { flex-direction: column; width: 100%; }
  .blog-newsletter-form input { width: 100%; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-wrap { padding: 60px 20px 100px; }
}
