/* Blog pages on retayo.com — layered on /assets/styles.css (uses its --brand, --line, --muted vars). */
.b-page { font-family: "Segoe UI", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif; background: var(--bg-alt); }
.b-page .nav-links a[aria-current="page"] { color: var(--brand); font-weight: 700; }

.b-subnav { background: #fff; border-bottom: 1px solid var(--line); font-size: .92rem; }
.b-subnav .container { display: flex; gap: 22px; flex-wrap: wrap; padding: 10px 0; }
.b-subnav a { color: var(--muted); font-weight: 600; }
.b-subnav a:hover { color: var(--brand); }

.b-main { padding-bottom: 48px; }
.b-hero { padding: 36px 0 8px; }
.b-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.4; margin: 0 0 8px; }
.b-hero p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 24px 0 8px; }
.b-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 16px); padding: 20px 22px; transition: box-shadow .15s ease, transform .15s ease; }
.b-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.b-card h2 { font-size: 1.15rem; line-height: 1.55; margin: 0 0 6px; color: var(--ink); }
.b-card p { margin: 6px 0 0; font-size: .97rem; color: #334155; line-height: 1.7; }
.b-meta { color: var(--muted); font-size: .86rem; }

.b-post { max-width: 780px; margin: 0 auto; padding: 30px 0 10px; font-size: 1.08rem; line-height: 1.9; }
.b-post h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.45; margin: 6px 0 8px; }
.b-crumbs { font-size: .86rem; color: var(--muted); margin: 0; }
.b-content h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; line-height: 1.5; color: var(--brand-dark); }
.b-content h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.b-content ul, .b-content ol { padding-left: 1.3em; }
.b-content table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1.2em 0; display: block; overflow-x: auto; background: #fff; }
.b-content th, .b-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; line-height: 1.6; }
.b-content th { background: var(--bg-alt); color: var(--brand-dark); }
.b-content blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--accent); background: #fffbeb; }
.b-content img { max-width: 100%; }

.b-note { margin: 28px 0 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: #475569; font-size: .88rem; line-height: 1.7; }
.b-cta { margin: 16px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--bg-alt); border: 1px solid #99f6e4; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .98rem; }
.b-cta .btn { margin-left: auto; }
.b-sources { margin-top: 24px; font-size: .88rem; line-height: 1.7; }
.b-sources ol { padding-left: 1.2em; }
.b-tags a { display: inline-block; margin: 0 8px 6px 0; font-size: .85rem; background: #fff; border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; }
.b-related { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 12px; }
.b-pager { display: flex; justify-content: space-between; padding: 8px 0 24px; }
