/* -- BLOG LISTING -- */
.blog-main {
  flex: 1;
  padding: 8rem 5vw 4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header .section-title {
  margin-bottom: .8rem;
}

.blog-intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}

/* Loader */
.blog-loader {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--card-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* Card */
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(184, 154, 106, .1);
}

.blog-card time {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.blog-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: .8rem;
}

.blog-card p {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
  flex: 1;
  margin-bottom: 1.2rem;
}

.blog-card-link {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color .25s;
}

.blog-card:hover .blog-card-link {
  color: var(--gold-lt);
}

/* Empty / Error states */
.blog-empty,
.blog-error {
  text-align: center;
  padding: 3rem 0;
}

.blog-empty p,
.blog-error p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* -- SINGLE POST -- */
.post-main {
  flex: 1;
  padding: 8rem 5vw 4rem;
  max-width: 740px;
  margin: 0 auto;
  width: 100%;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color .25s;
}

.post-back::before {
  content: '\2190';
  font-size: 1rem;
}

.post-back:hover {
  color: var(--gold-lt);
}

.post-back-bottom {
  margin-top: 3rem;
  margin-bottom: 0;
}

#postContent h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .6rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.post-author {
  color: var(--gold);
}

.post-meta time {
  color: var(--gray);
}

.post-meta .post-author::after {
  content: '·';
  margin-left: .6rem;
  color: var(--gray);
}

/* Post body content */
.post-body {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
}

.post-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin: 2rem 0 .8rem;
}

.post-body p {
  margin-bottom: 1.2rem;
}

.post-body strong {
  font-weight: 500;
  color: var(--text);
}

.post-body em {
  color: var(--gold);
}

.post-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .25s;
}

.post-body a:hover {
  color: var(--gold-lt);
}

.post-body ul,
.post-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
}

.post-body li {
  margin-bottom: .4rem;
}

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--gray);
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

/* -- POST CTA -- */
.post-cta {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  background: var(--card-bg);
}

.post-cta-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-cta-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .2rem;
}

.post-cta-role {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}

.post-cta-text {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.post-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.post-cta-ig {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  transition: color .25s;
}

.post-cta-ig:hover {
  color: var(--gold);
}

/* Btn back (reused from old coming soon) */
.btn-back {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: .85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.btn-back:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 154, 106, .25);
}

/* Responsive */
@media (max-width: 900px) {
  .blog-main {
    padding: 6rem 4vw 3rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-main {
    padding: 6rem 4vw 3rem;
  }

  .post-cta {
    flex-direction: column;
    text-align: center;
  }

  .post-cta-actions {
    justify-content: center;
  }
}
