<?xml version="1.0" encoding="UTF-8"?>
<!--
  ============================================
  PRODUCT: CUNG BAN LANG NGHE
  Function/Role/Purpose: sitemap.xml — Static pages sitemap
  Path: frontend/public/sitemap.xml
  Version: 3.4
  Date: 22-05-2026

  COMPATIBILITY MATRIX (v6.8.1 stack):
    Worker:    CBLN_API_PROXY_6.8.1.js   ✅
    Robots:    robots.txt v5.5.0-static  ✅
    Headers:   _headers v2.5.0           ✅
    SW:        sw.js v1.4.0              ✅

  V3.4 CHANGES (from v3.3):
  - ADDED: /khan-cap (priority 0.8, lastmod 2026-05-22)
           Emergency hotline directory — linkable asset created
           in Worker v6.8.1 to address Bing Webmaster Tools
           recommendation "Your site does not have enough inbound
           links from high quality domains" (Moderate severity).
           Has dedicated Worker SEO_ROUTE_META and SSR_CONTENT
           listing the 4 Vietnamese government hotlines:
             111 (Bảo vệ Trẻ em — Cục Trẻ em, Bộ Y tế)
             113 (Công an — Bộ Công an)
             114 (Cứu hỏa — Bộ Công an, Cục PCCC&CNCH)
             115 (Cấp cứu Y tế — Bộ Y tế)
           Strict v6.7.5 hotline compliance: NO private 1900-XXXX,
           NO legacy 1800-1567, NO NGO numbers.
  - PRESERVED: All 23 existing entries from v3.3.
               Lastmod values for unchanged pages retained per
               Google guidance (lastmod should reflect content
               change, not sitemap publication).

  V3.3 CHANGES (preserved):
  - ADDED: /danh-muc (priority 0.8)
  - ADDED: /tac-gia/ths-nguyen-duc-doanh (priority 0.8) for E-E-A-T

  V3.2 CHANGES (preserved):
  - Lastmod synchronized to 2026-05-07
  - 4-space indentation, consistent <url> block format
  - Companion /sitemap.xml requires X-Robots-Tag: noindex via
    _headers to prevent GSC "Crawled - not indexed" flag.

  SCOPE — STATIC URLS ONLY:
  This sitemap contains 24 stable, hand-curated routes that exist
  as pre-built React routes. Dynamic content (individual stories,
  blog articles, authors, relax posts, categories) is served by
  separate sitemaps under /api/v1/sitemap-*.xml — see
  sitemap-index.xml.

  PRIORITY DISTRIBUTION (v3.4):
  - 1.0 (1 URL):  Homepage
  - 0.9 (4 URLs): Main content hubs (cảm xúc, câu chuyện, thư giãn, bài viết)
  - 0.8 (10 URLs): 6 emotion categories + /tac-gia + /danh-muc + founder + /khan-cap
  - 0.7 (4 URLs): Community + info pages
  - 0.6 (5 URLs): Legal pages (low priority but indexed for trust)
  Total: 24 URLs

  DELIBERATELY EXCLUDED (handled by dynamic sitemaps):
  - /tac-gia/{slug}        → /api/v1/sitemap-authors.xml
                             (except founder, see v3.3 note)
  - /bai-viet/{slug}       → /api/v1/sitemap-blog.xml
  - /cau-chuyen/{slug}     → /api/v1/sitemap-stories.xml
  - /thu-gian/{slug}       → /api/v1/sitemap-relax.xml
  - /danh-muc/{slug}       → /api/v1/sitemap-categories.xml
                             (except hub /danh-muc, see v3.3 note)
  - /admin/*               → robots.txt Disallow
  - /api/*                 → robots.txt Disallow
  - 301-redirect URLs      → not indexed by design
  ============================================
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

    <!-- ============================================
         HOMEPAGE — Priority 1.0
         Worker v6.7.0+ injects ROUTE_SSR_CONTENT['/']
         with H1 + 6 emotion links + Zero-Knowledge pitch
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>

    <!-- ============================================
         MAIN CONTENT HUBS — Priority 0.9
         Each has Worker SSR with H1 + content overview
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cau-chuyen</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/thu-gian</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/bai-viet</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <!-- ============================================
         EMOTION CATEGORY PAGES — Priority 0.8
         Each has dedicated SSR with topic H1 + advice content
         (Fixes GSC "Crawled - not indexed" for /cam-xuc/stress)
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/stress</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/co-don</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/tinh-yeu-hoc-tro</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/thi-cu-ap-luc</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/gia-dinh</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/cam-xuc/khac</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         CATEGORY HUB — Priority 0.8 (V3.3)
         /danh-muc is the static category INDEX page.
         Individual /danh-muc/{slug} pages live in
         /api/v1/sitemap-categories.xml (dynamic).
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/danh-muc</loc>
        <lastmod>2026-05-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         E-E-A-T TRUST PAGES — Priority 0.8 (V3.3)
         /tac-gia = author list page
         /tac-gia/ths-nguyen-duc-doanh = founder profile
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/tac-gia</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/tac-gia/ths-nguyen-duc-doanh</loc>
        <lastmod>2026-05-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         EMERGENCY HOTLINE DIRECTORY — Priority 0.8 (V3.4 NEW)
         Linkable asset created in Worker v6.8.1 to build
         authority-domain backlinks (resolves Bing Webmaster
         "Lack inbound links" Moderate severity).
         Lists ONLY the 4 Vietnamese government hotlines per
         strict v6.7.5 compliance: 111, 113, 114, 115.
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/khan-cap</loc>
        <lastmod>2026-05-22</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- ============================================
         COMMUNITY & INFO PAGES — Priority 0.7
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/hoi-dap</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/gioi-thieu</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/lien-he</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/viet-cau-chuyen</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- ============================================
         LEGAL PAGES — Priority 0.6
         Lower priority but indexed (trust signals + AdSense compliance)
         ============================================ -->
    <url>
        <loc>https://cungbanlangnghe.vn/chinh-sach-bao-mat</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/dieu-khoan-su-dung</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/tuyen-bo-mien-tru-trach-nhiem</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/quyen-rieng-tu</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://cungbanlangnghe.vn/chinh-sach-cookie</loc>
        <lastmod>2026-05-07</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.6</priority>
    </url>

</urlset>