.blog-post-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 162, 171, 0.22);
  padding: 0.75rem 0;
}

body.dark .blog-post-header {
  background: rgba(31, 27, 28, 0.9);
}

.blog-post-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(207, 162, 171, 0.3);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.back-btn:hover {
  background: var(--pink);
  color: var(--text);
}

body.dark .back-btn {
  background: rgba(255, 255, 255, 0.08);
}

.brand-small {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 700;
}

.blog-post-main {
  padding: 2.5rem 0 4rem;
  min-height: 70vh;
}

.blog-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
}

.blog-state__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(217, 165, 174, 0.25);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.blog-state__error {
  text-align: center;
  color: var(--muted);
}

.blog-state__error h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.blog-article {
  max-width: 720px;
  margin-inline: auto;
}

.blog-listing {
  max-width: 1040px;
  margin-inline: auto;
}

.blog-article.hidden {
  display: none;
}

.blog-listing.hidden {
  display: none;
}

.blog-listing__intro {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}

.blog-list-grid {
  display: grid;
  gap: 1rem;
}

.blog-list-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-list-card:hover,
.blog-list-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(87, 56, 62, 0.18);
}

.blog-list-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-list-card__body {
  padding: 1rem;
}

.blog-list-card__body h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 0.45rem;
}

.blog-list-card__body p {
  color: var(--muted);
}

.blog-list-card__meta {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
}

.blog-list-card__body span {
  display: inline-flex;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--rose);
}

.blog-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.blog-article__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.blog-article__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.blog-article__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(207, 162, 171, 0.25);
}

.blog-article__prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.share-bar {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(207, 162, 171, 0.25);
}

.share-bar__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.share-bar__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(207, 162, 171, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.share-btn:hover {
  background: var(--pink);
  border-color: var(--rose);
}

.share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.share-btn--instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border-color: #dd2a7b;
  color: #fff;
}

.share-btn--tiktok:hover {
  background: #010101;
  border-color: #010101;
  color: #fff;
}

body.dark .share-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(207, 162, 171, 0.2);
}

body.dark .share-btn:hover {
  background: var(--rose);
  color: #fff;
}

.blog-article__prose p { margin: 0 0 1.2rem; }
.blog-article__prose h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; margin: 2rem 0 0.6rem; }
.blog-article__prose h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; margin: 1.6rem 0 0.5rem; }
.blog-article__prose img { width: 100%; border-radius: 0.8rem; margin: 1.5rem 0; }
.blog-article__prose a { color: var(--rose); text-decoration: underline; }

@media (max-width: 767px) {
  .blog-post-main {
    padding: 1.5rem 0 3rem;
  }

  .blog-article__cover {
    border-radius: 0.8rem;
    margin-bottom: 1.4rem;
  }
}

@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
