/* Content pages and the blog (src/pages/content.ts). Loaded after product.css, which carries the tokens, header, footer and crumbs. */
.ct{padding-bottom:40px}
.ct h1{font-size:1.7rem;font-weight:800;margin-top:14px}
.ct-head p{color:var(--mute);margin-top:6px;max-width:60ch}
.ct-page,.ct-art{max-width:760px}
.ct-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--mute);font-size:.86rem;margin-top:8px}
.ct-hero{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-top:18px;background:var(--ph)}

/* the text staff write in the ERP */
.prose{margin-top:18px;font-size:1rem;line-height:1.7;overflow-wrap:anywhere}
.prose>*+*{margin-top:14px}
.prose h2{font-size:1.3rem;margin-top:30px}
.prose h3{font-size:1.1rem;font-weight:800;margin-top:24px}
.prose h4,.prose h5,.prose h6{font-size:1rem;font-weight:800;margin-top:20px}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.prose ul,.prose ol{padding-left:22px}
.prose li+li{margin-top:6px}
.prose li>p{margin:0}
.prose img{height:auto;border-radius:10px}
.prose blockquote{margin-left:0;padding:10px 16px;border-left:3px solid var(--green);background:var(--soft);border-radius:0 8px 8px 0}
.prose hr{border:0;border-top:1px solid var(--line);margin-block:24px}
.prose table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;font-size:.92rem}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--soft)}

/* tag chips, pages, previous / next */
.ct-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ct-tags a{border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:.82rem;font-weight:600;color:var(--fg);white-space:nowrap}
/* the blog's topics: one row to swipe on phones */
.ct-topics{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding-inline:16px;padding-bottom:2px}
.ct-topics::-webkit-scrollbar{display:none}
@media (min-width:700px){.ct-topics{flex-wrap:wrap;overflow:visible;margin-inline:0;padding-inline:0}}
.ct-tags a:hover,.ct-tags a[aria-current]{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
.ct-pages{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px;font-size:.88rem;color:var(--mute)}
.ct-near{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
.ct-near a{border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-weight:700;font-size:.9rem;line-height:1.3}
.ct-near a[rel="next"]{text-align:right}
.ct-near small{display:block;color:var(--mute);font-weight:600;font-size:.75rem;margin-bottom:4px}
.ct-empty{color:var(--mute);margin-top:24px}
.ct-rel{margin-top:40px}

/* article cards */
.bgrid{display:grid;grid-template-columns:1fr;gap:18px;margin-top:22px}
.bc{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg);display:flex;flex-direction:column}
.bc .im{display:block;aspect-ratio:16/9;background:var(--ph)}
.bc .im img{width:100%;height:100%;object-fit:cover}
.bc .b{padding:14px 16px 18px}
.bc time{color:var(--mute);font-size:.78rem;font-weight:600}
.bc h2{font-size:1.05rem;font-weight:800;margin-top:4px;line-height:1.3}
.bc p{color:var(--mute);font-size:.88rem;margin-top:8px}
@media (min-width:640px){.bgrid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.bgrid{grid-template-columns:repeat(3,1fr)}.ct h1{font-size:2rem}}
