/* Blog index and post pages */
.blog-list, .blog-more { background: var(--cream); }
.blog-list { padding-top: clamp(56px, 7vw, 96px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.blog-list .post-grid { grid-template-columns: repeat(2, 1fr); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.post-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--royal), var(--gold)); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -26px rgba(38, 39, 141, .45); }
.post-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.15; }
.post-card p { color: var(--muted); margin: 0; }
.post-card .text-link { margin-top: auto; padding-top: 6px; }
.post-card:hover .text-link { color: var(--royal); }
.post-card:hover .text-link span { transform: translateX(4px); }
.post-cat { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); background: rgba(38, 39, 141, .08); padding: 6px 12px; border-radius: 999px; }
.post-meta { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Post page */
.post-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 860px; }
.post-back { display: flex; width: fit-content; gap: 8px; align-items: center; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: 26px; }
.post-back:hover { color: var(--gold); }
.post-byline { color: rgba(255, 255, 255, .75); font-weight: 500; margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: .35em; }
.post-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); margin-right: .5em; flex: none; }
.post-section { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); background: var(--white); }
.post-body { max-width: 740px; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; color: var(--ink); }
.post-body > p:first-child { font-size: 1.22rem; color: var(--navy); }
.post-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 52px 0 16px; }
.post-body h3 { font-size: 1.28rem; margin: 30px 0 10px; font-family: var(--sans); font-weight: 700; color: var(--royal); }
.post-body p { margin: 0 0 20px; }
.post-body ul, .post-body ol { margin: 0 0 24px; padding-left: 1.3em; }
.post-body li { margin-bottom: 10px; padding-left: 4px; }
.post-body li::marker { color: var(--gold-deep); font-weight: 700; }
.post-body strong { color: var(--navy); }
.post-body a:not(.btn) { color: var(--royal); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:not(.btn):hover { color: var(--forest); }
.post-checklist { list-style: none; padding: 26px 28px !important; background: #F3F8EE; border-radius: 20px; border: 1px solid #DCEBCF; }
.post-checklist li { position: relative; padding-left: 34px; }
.post-checklist li::before { content: "\2713"; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--leaf); color: var(--white); }
.post-checklist li:last-child { margin-bottom: 0; }
.post-cta { margin-top: 56px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; color: rgba(255, 255, 255, .82); background: radial-gradient(420px 260px at 100% 0%, rgba(38, 39, 141, .95), transparent 65%), var(--navy); }
.post-cta h2 { color: var(--white); margin: 0 0 10px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.post-cta p { margin-bottom: 24px; font-size: 1.02rem; }
.blog-more .section-head { margin-bottom: 44px; }
.blog-more .post-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .blog-more .post-grid { grid-template-columns: 1fr 1fr; } .blog-more .post-card:nth-child(3) { display: none; } }
@media (max-width: 760px) {
  .blog-list .post-grid, .blog-more .post-grid { grid-template-columns: 1fr; }
  .blog-more .post-card:nth-child(3) { display: flex; }
}
@media (max-width: 600px) {
  .post-body { font-size: 1.04rem; }
  .post-body > p:first-child { font-size: 1.12rem; }
  .post-body h2 { margin-top: 40px; }
  .post-checklist { padding: 20px 18px !important; }
}
.h-num { display: block; font-family: var(--serif); font-size: .62em; font-weight: 800; color: var(--gold-deep); letter-spacing: .06em; margin-bottom: 6px; }
