.blog-page {
  --blog-ink: #251923;
  --blog-muted: #735f6e;
  --blog-wine: #8e2049;
  --blog-rose: #f9edf1;
  --blog-border: rgba(104, 53, 73, .14);
  background: var(--color-bg, #fffaf8);
  color: var(--blog-ink);
}

.blog-hero, .article-header {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 20%, rgba(255,255,255,.32), transparent 28%), linear-gradient(135deg, #6f1638, #a8325b);
  color: #fff;
}

.blog-hero::after, .article-header::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -85px;
  bottom: -185px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.05), 0 0 0 68px rgba(255,255,255,.04);
}

.blog-hero-inner { padding: 92px 24px 86px; max-width: 850px; text-align: center; }
.blog-kicker { display: inline-block; margin-bottom: 12px; color: #bd3767; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.blog-hero .blog-kicker, .article-header .blog-kicker { color: #ffd5e3; }
.blog-hero h1, .article-header h1 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(2.35rem, 6vw, 4.4rem); line-height: 1.08; }
.blog-hero p { max-width: 650px; margin: 20px auto 0; color: rgba(255,255,255,.84); font-size: 1.06rem; line-height: 1.75; }
.blog-listing { padding: 72px 24px 96px; }
.blog-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.blog-section-heading h2, .related-articles h2 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 2.75rem); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { overflow: hidden; border: 1px solid var(--blog-border); border-radius: 18px; background: #fff; box-shadow: 0 12px 38px rgba(58, 26, 40, .07); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(58, 26, 40, .12); }
.blog-card-media { display: block; height: 220px; overflow: hidden; background: var(--blog-rose); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--blog-wine); background: linear-gradient(145deg, #fae8ee, #f6dce5); }
.blog-card-body { display: flex; min-height: 250px; flex-direction: column; padding: 25px; }
.blog-card time, .related-card time { color: var(--blog-muted); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.blog-card h3 { margin: 10px 0 12px; font-family: "Playfair Display", serif; font-size: 1.46rem; line-height: 1.28; }
.blog-card h3 a { color: var(--blog-ink); text-decoration: none; }
.blog-card p { margin: 0 0 20px; color: var(--blog-muted); line-height: 1.65; }
.blog-read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--blog-wine); font-weight: 700; text-decoration: none; }
.blog-pagination { display: flex; justify-content: center; margin-top: 48px; }
.blog-pagination .page-link { color: var(--blog-wine); }
.blog-pagination .active > .page-link { border-color: var(--blog-wine); background: var(--blog-wine); }
.blog-empty { max-width: 650px; margin: 24px auto; padding: 64px 30px; border: 1px dashed rgba(142,32,73,.3); border-radius: 20px; background: #fff; text-align: center; }
.blog-empty > span { display: grid; width: 64px; height: 64px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: var(--blog-wine); background: var(--blog-rose); }
.blog-empty h2 { font-family: "Playfair Display", serif; }
.blog-empty p { color: var(--blog-muted); }

.article-header-inner { max-width: 900px; padding: 72px 24px 78px; text-align: center; }
.article-header h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.article-header time { display: block; margin-top: 20px; color: rgba(255,255,255,.76); }
.article-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 32px; color: #fff; font-weight: 600; text-decoration: none; }
.article-shell { max-width: 900px; padding: 58px 24px 78px; }
.article-featured-image { overflow: hidden; margin: -105px 0 46px; border: 7px solid #fff; border-radius: 22px; background: #fff; box-shadow: 0 18px 55px rgba(45,20,30,.18); }
.article-featured-image img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.article-lead { margin-bottom: 34px; padding-left: 22px; border-left: 4px solid var(--blog-wine); color: #563744; font-family: "Playfair Display", serif; font-size: 1.35rem; line-height: 1.65; }
.article-content { color: #392c34; font-size: 1.05rem; line-height: 1.85; }
.article-content h2, .article-content h3, .article-content h4 { margin: 1.7em 0 .65em; color: var(--blog-ink); font-family: "Playfair Display", serif; }
.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.55rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content a { color: var(--blog-wine); }
.article-content blockquote { margin: 2rem 0; padding: 20px 24px; border-left: 4px solid var(--blog-wine); background: var(--blog-rose); font-family: "Playfair Display", serif; font-size: 1.2rem; }
.related-articles { padding: 0 24px 96px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.related-card { display: flex; min-height: 180px; flex-direction: column; padding: 25px; border: 1px solid var(--blog-border); border-radius: 16px; color: var(--blog-ink); background: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
.related-card:hover { transform: translateY(-3px); border-color: rgba(142,32,73,.42); color: var(--blog-ink); }
.related-card h3 { margin: 12px 0 20px; font-family: "Playfair Display", serif; font-size: 1.25rem; }
.related-card span { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--blog-wine); font-size: .9rem; font-weight: 700; }

@media (max-width: 900px) {
  .blog-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .blog-hero-inner { padding-top: 68px; padding-bottom: 66px; }
  .blog-listing { padding-top: 52px; padding-bottom: 70px; }
  .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .blog-card-media { height: 205px; }
  .article-header-inner { padding: 50px 20px 65px; }
  .article-shell { padding-top: 42px; }
  .article-featured-image { margin-top: -78px; border-width: 4px; border-radius: 16px; }
  .article-content { font-size: 1rem; }
}

[data-theme="dark"] .blog-page { --blog-ink: #f9edf2; --blog-muted: #cab6c0; --blog-border: rgba(255,255,255,.12); background: #160f13; }
[data-theme="dark"] .blog-card, [data-theme="dark"] .blog-empty, [data-theme="dark"] .related-card { background: #24181f; }
[data-theme="dark"] .article-content, [data-theme="dark"] .article-lead { color: #dfcfd7; }
[data-theme="dark"] .article-featured-image { border-color: #24181f; background: #24181f; }
[data-theme="dark"] .article-content blockquote { background: #2e1b25; }
