/*
Theme Name: huff
Description: Brand theme for huffme.com/blogs. Matches the landing page tokens.
Version: 1.3
*/
:root{--paper:#FAF8F5;--ink:#231119;--ink2:#5C4A54;--accent:#C23F73;--accent-deep:#8E2553;--edge:#EDE6E0;
--display:'Bricolage Grotesque',system-ui,sans-serif;--body:'Geist',system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);line-height:1.65}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
header.site{padding:20px 0;border-bottom:1px solid var(--edge)}
header.site .wrap{display:flex;justify-content:space-between;align-items:center}
.wordmark{display:inline-flex;align-items:center;text-decoration:none}
.wordmark img{display:block;height:28px;width:auto}
/* header CTA — the header wrap is already space-between, so this just needs
   its own skin. No `a{color}` fight: the rule below is more specific. */
.btn-app{display:inline-flex;align-items:center;gap:7px;
font-family:var(--body);font-size:14px;font-weight:600;line-height:1;letter-spacing:-.01em;
color:#fff;background:var(--accent);padding:10px 16px;border-radius:999px;
text-decoration:none;white-space:nowrap;transition:background .16s ease, transform .16s ease}
.btn-app svg{display:block;flex:none}
.btn-app:hover{background:var(--accent-deep)}
.btn-app:active{transform:scale(.97)}
.btn-app:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.btn-app{transition:none}.btn-app:active{transform:none}}
h1,h2,h3{font-family:var(--display);letter-spacing:-.02em;line-height:1.1}
a{color:var(--accent-deep)}

/* listing */
/* Logo font: the brand wordmark is Geist Bold (the DS moved off Bricolage
   to a single-family Geist system) — the page title matches the wordmark. */
.page-title{font-family:var(--body);font-weight:700;font-size:40px;letter-spacing:-.02em;margin:24px 0 8px}
.page-sub{color:var(--ink2);margin:0 0 36px;font-size:15px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding-bottom:16px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--edge);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;
transition:transform .15s ease, box-shadow .15s ease;text-decoration:none;color:inherit}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(35,17,25,.08)}
.card-img{aspect-ratio:16/10;background:linear-gradient(135deg,#FBE4EE,#F3D3E1)}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.meta{font-size:12px;color:var(--ink2);letter-spacing:.06em;text-transform:uppercase}
.card h2{font-family:var(--display);font-size:21px;line-height:1.2;letter-spacing:-.01em;margin:0;color:var(--ink)}
.card p{margin:0;font-size:14.5px;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.readmore{margin-top:auto;font-size:13px;font-weight:600;color:var(--accent-deep)}
.pagination{padding:36px 0 64px;display:flex;gap:16px;font-family:var(--display)}

/* single post — keep a readable prose measure inside the wide wrap */
.entry-wrap{max-width:720px;margin:0 auto}
.entry-wrap .card-img{border-radius:16px;overflow:hidden;margin:16px 0 8px}
.entry img{max-width:100%;height:auto;border-radius:12px}
.entry{font-size:17px}

footer.site{margin-top:64px;padding:32px 0;border-top:1px solid var(--edge);font-size:14px;color:var(--ink2)}
footer.site a{color:var(--ink2);margin-right:16px}
