/* Marisel Branding: blog list and article pages. Loaded only on those pages. */

/* ---------- article ---------- */
.post-head { padding-bottom: 14px; }
.post-head h1 { max-width: 24ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 10px; padding: 0; list-style: none; font-size: .84rem; color: var(--ink-2); }
.post-meta li + li::before { content: ""; display: inline-block; width: 1px; height: .85em; margin: 0 10px; background: var(--rule-2, #C9C4B8); vertical-align: -1px; }
.post-meta li:first-child { color: var(--orange-ink); font-weight: 600; }
.post-cover { margin-bottom: 8px; }

.post-body { max-width: 70ch; font-size: 1.02rem; line-height: 1.7; }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.05em; }
.post-body h2 { margin: 1.6em 0 .5em; padding-top: 1em; border-top: 1px solid var(--rule); }
.post-body h3 { margin: 1.4em 0 .4em; font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; }
.post-body h4 { margin: 1.2em 0 .3em; font-size: 1.02rem; font-weight: 600; }
.post-body ul, .post-body ol { margin: 0 0 1.1em; padding: 0; list-style: none; }
.post-body li { position: relative; padding: 0 0 .5em 22px; }
.post-body ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--orange); }
.post-body ol { counter-reset: item; }
.post-body ol > li { counter-increment: item; padding-left: 28px; }
.post-body ol > li::before { content: counter(item) "."; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--orange-ink); }
.post-body a { font-weight: 500; }
.post-body strong, .post-body b { font-weight: 600; color: var(--ink); }

.post-fig { margin: 1.5em 0; }
.post-fig figcaption { padding: 0 9px; font-size: .84rem; color: var(--ink-2); }
.post-fig figcaption a { color: var(--ink-2); }

.post-cta { margin: 1.8em 0; padding: 20px; background: var(--ink); color: var(--paper); border-radius: var(--r); }
.post-cta-text { margin: 0 0 4px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; font-weight: 600; color: var(--paper); max-width: 34ch; }
.post-cta .actions { margin: 14px 0 0; }
.post-cta .btn-line { border-color: var(--paper); color: var(--paper); }
.post-cta .btn-line:hover { background: var(--paper); color: var(--ink); }

.post .faq { max-width: 70ch; }

/* ---------- list ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 18px; padding-bottom: var(--block); }
.post-card { min-width: 0; }
.post-card-media { display: block; }
.post-card-body { padding: 2px 9px 0; }
.post-card:not(:has(.post-card-media)) .post-card-body { padding-top: 12px; border-top: 2px solid var(--ink); }
.post-card-meta { margin: 0 0 4px; font-size: .78rem; color: var(--ink-2); }
.post-card h2 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.2; }
.post-card h2 a { color: var(--orange-ink); text-decoration: underline; }
.post-card h2 a:hover { color: var(--orange-ink); text-decoration: underline; }
.post-card p { margin: 0; font-size: .9rem; color: var(--ink-2); }

.post-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 var(--block); border-top: 1px solid var(--rule); font-size: .88rem; color: var(--ink-2); }
