/* BLOG-01 (31/10/2026): giao diện Cẩm nang RaoGo (web/blog/*.html, dựng bởi tool/build_blog.py). */
:root { --green: #2E7D32; --green-2: #49CC88; --green-light: #E8F8EF; --orange: #EF6C00;
        --text: #1f2421; --muted: #5f6b63; --line: #e3e8e4; --bg: #f6f8f7; }
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--text);
       font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--green); } a:hover { color: var(--orange); }
.topbar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.topbar .in, .foot .in { max-width: 1080px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .r { color: var(--green); } .brand .g { color: var(--orange); }
.topbar nav { margin-left: auto; font-size: 15px; }
.topbar nav a { margin-left: 18px; color: var(--muted); text-decoration: none; }
.topbar nav a.on, .topbar nav a:hover { color: var(--green); }

.post, .list { max-width: 760px; margin: 0 auto; padding: 22px 18px 40px; }
.list { max-width: 1080px; }
.crumbs { font-size: 14px; color: var(--muted); } .crumbs a { color: var(--muted); text-decoration: none; }
h1 { font-size: 34px; line-height: 1.25; margin: 10px 0 8px; letter-spacing: -.3px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.cover { margin: 0 0 22px; } .cover img { width: 100%; height: auto; border-radius: 16px; display: block; }
.lead { font-size: 19px; color: #3f4a44; }
article h2 { font-size: 25px; line-height: 1.3; margin: 34px 0 10px; color: var(--green); }
article h3 { font-size: 19px; margin: 22px 0 4px; }
article li { margin: 6px 0; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-size: 15.5px; margin-bottom: 8px; }
.toc summary { font-weight: 700; cursor: pointer; } .toc ol { margin: 8px 0 2px; padding-left: 22px; }
.toc a { text-decoration: none; }
.table-wrap { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 640px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--green-light); } td:last-child { background: #fff8f0; font-weight: 600; }
.note { font-size: 14px; color: var(--muted); }
.faq { margin-top: 34px; border-top: 1px solid var(--line); }

.cta { margin: 36px 0; background: var(--green); color: #fff; border-radius: 20px; padding: 24px 26px;
       display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta b { font-size: 22px; } .cta p { margin: 4px 0 0; opacity: .92; max-width: 440px; font-size: 16px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; background: #fff; color: var(--text) !important; text-decoration: none;
         border-radius: 12px; padding: 6px 16px; min-width: 130px; line-height: 1.3; }
.store small { font-size: 11.5px; color: var(--muted); } .store b { font-size: 16px; }
.store.soon { opacity: .65; }

.intro { font-size: 18px; color: #3f4a44; max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }
.card { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--text) !important; background: #fff; }
.card:hover { border-color: var(--green-2); box-shadow: 0 8px 22px rgba(46,125,50,.10); }
.card img { width: calc(100% + 36px); height: auto; margin: -18px -18px 12px; border-radius: 16px 16px 0 0; display: block; }
.card h3 { margin: 0 0 6px; font-size: 18.5px; line-height: 1.35; color: var(--green); }
.card p { margin: 0; font-size: 15px; color: #4b5650; line-height: 1.6; }
.related { margin-top: 10px; } .related h2 { font-size: 22px; }
.related .cards { grid-template-columns: 1fr; }

.foot { border-top: 1px solid var(--line); background: var(--bg); font-size: 14px; color: var(--muted); }
.foot .in { flex-wrap: wrap; justify-content: space-between; padding: 22px 18px 34px; }
.foot nav a { margin-right: 16px; color: var(--muted); text-decoration: none; }
@media (max-width: 640px) { h1 { font-size: 27px; } body { font-size: 16.5px; } article h2 { font-size: 22px; }
  .cta { padding: 20px; } .store { flex: 1 1 130px; } }
