/* ============================================================
   Blog — extends the "Elegant Beauty Boutique" design tokens
   ============================================================ */

.blog-hero { text-align: center; padding: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.5rem; }
.blog-hero .title { font-family: var(--font-serif); color: var(--rose-ink); font-size: clamp(2rem, 5vw, 3rem); }
.blog-hero .subtitle { color: var(--plum-soft); margin-top: .5rem; }

.blog-list { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }

.blog-card { padding: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-cover img { width: 100%; max-height: 320px; object-fit: cover; }
.blog-card-body { padding: clamp(1.25rem, 3vw, 1.75rem); }
.blog-card-title { font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; }
.blog-card-title a { color: var(--rose-ink); }
.blog-card-title a:hover { color: var(--rose-deep); }
.blog-card-title-es { color: var(--plum-soft); font-style: italic; margin-top: .15rem; }

.blog-date { color: var(--gold); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: .35rem; }
.blog-excerpt { color: var(--plum-soft); margin-top: .6rem; }
.blog-readmore { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; color: var(--rose-deep); font-weight: 500; }
.blog-readmore:hover { color: var(--rose-ink); }

.blog-empty { text-align: center; padding: clamp(2rem, 5vw, 3rem); color: var(--plum-soft); }

/* ---------- single post ---------- */
.blog-post { padding: clamp(1.5rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
.blog-post-header { text-align: center; margin-bottom: 1.25rem; }
.blog-post-header .title { font-family: var(--font-serif); color: var(--rose-ink); font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.2; }
.blog-post-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-sm); margin: 0 auto 1.5rem; box-shadow: var(--shadow-md); }
.blog-post-title-es { font-family: var(--font-serif); color: var(--rose-deep); margin: 1.25rem 0 .5rem; }

.blog-body { max-width: 68ch; margin: 0 auto; font-size: 1.02rem; }
.blog-body p { margin: 0 0 1rem; }
.blog-body h2, .blog-body h3, .blog-body h4 { font-family: var(--font-serif); color: var(--rose-ink); margin: 1.6rem 0 .6rem; line-height: 1.3; }
.blog-body ul, .blog-body ol { margin: 0 0 1rem 1.25rem; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { margin-bottom: .35rem; }
.blog-body a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.blog-body a:hover { color: var(--rose-ink); }
.blog-body img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); margin: 1rem auto; box-shadow: var(--shadow-sm); }
.blog-body blockquote { border-left: 3px solid var(--gold); padding: .5rem 0 .5rem 1rem; margin: 0 0 1rem; color: var(--plum-soft); font-style: italic; background: var(--blush-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.blog-body pre { background: var(--plum); color: var(--cream); padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; margin: 0 0 1rem; }
.blog-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.blog-body p code, .blog-body li code { background: var(--blush-soft); color: var(--rose-ink); padding: .1em .35em; border-radius: 6px; }
.blog-body hr { border: 0; border-top: 1px solid var(--hairline); margin: 1.5rem 0; }

.blog-back { margin-top: 1.75rem; text-align: center; }
.blog-back a { color: var(--rose-deep); font-weight: 500; }
.blog-back a:hover { color: var(--rose-ink); }

.blog-cta { text-align: center; padding: clamp(1.75rem, 4vw, 2.5rem); }
.blog-cta .title { font-family: var(--font-serif); color: var(--rose-ink); margin-bottom: .35rem; }
.blog-cta .cta-button { margin-top: 1rem; }

/* discreet footer admin link (also used on index/about) */
.admin-link { margin-top: .35rem; }
.admin-link a { font-size: .78rem; opacity: .55; }
.admin-link a:hover { opacity: .9; }

@media (min-width: 760px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
  .blog-card:first-child { grid-column: 1 / -1; }
  .blog-card:first-child .blog-card-cover img { max-height: 380px; }
}
