/* Mauritius Cookie blog (blog.html, post.html, and the homepage "From the blog" strip). */
.blog-hero { background: var(--aqua); padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); }
.blog-hero h1 { max-width: 14em; }
.blog-hero .lead { max-width: 34em; margin: 0; }
.blog-list-sec { padding-top: clamp(40px, 6vw, 64px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(31,59,58,.3); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--aqua-soft); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; flex: 1; }
.post-date { font-size: .82rem; color: var(--ink-2); }
.post-card-title { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.25; }
.post-card-sum { color: var(--ink-2); font-size: .94rem; }
.post-card-more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--terra); }
.post-tag { align-self: flex-start; background: #FDF1D8; color: #5E4310; border: 1px solid #EBCB85; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.post-tag.test { background: #1F3B3A; color: #fff; border-color: #1F3B3A; }

.post { padding: clamp(36px, 6vw, 64px) 0 20px; }
.post-back { margin: 0 0 18px; }
.post-back a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.post-back a:hover { color: var(--ink); }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); font-size: .9rem; margin: 0 0 10px; }
.post h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.post-img-wrap { margin: 28px auto; max-width: 640px; }
.post-img-wrap img { width: 100%; height: 400px; object-fit: cover; object-position: 50% 70%; border-radius: var(--r); box-shadow: var(--shadow); }
.post-body { font-size: 1.08rem; line-height: 1.75; }
.post-body h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.post-body ul { padding-left: 1.2em; }
.post-body li { margin-bottom: .6em; }
.post-body li::marker { color: var(--terra); }
.post-cta { background: var(--aqua-soft); border-radius: var(--r); padding: 24px 26px; margin: 36px 0 10px; }
.post-cta p { margin: 0 0 4px; font-weight: 500; }
.post-cta .hero-ctas { margin: 14px 0 0; }
.blog-more { background: var(--cream); }
.blog-more h2 { margin-bottom: 24px; }
.blog-page .nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.blog-page .site-footer { padding: 28px 0 22px; }

/* Homepage strip */
.blog-strip { background: var(--cream); }
.blog-strip .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.blog-strip .section-head > div { max-width: 640px; }
.blog-hero .eyebrow { color: #8F3814; }
.js .blog-page main:not(.ready) { visibility: hidden; animation: mc-reveal 0s 2s forwards; }
@keyframes mc-reveal { to { visibility: visible; } }
