.blog-page { background: var(--hong-nhat-nen); min-height: 60vh; }
.blog-hero { background: linear-gradient(135deg, #fff1f7 0%, #ffe4ef 50%, #fff8fb 100%); border-bottom: 1px solid var(--hong-phan-the); }
.blog-hero-inner { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 42px; padding-bottom: 42px; }
.blog-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--hong-man-nhan); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.blog-hero h1 { color: var(--chu-chinh); font-size: clamp(30px, 4vw, 48px); line-height: 1.15; margin: 0 0 12px; max-width: 720px; }
.blog-hero p { color: var(--chu-phu); max-width: 700px; margin: 0; font-size: 16px; }
.blog-search { width: min(420px, 100%); background: #fff; border: 1px solid var(--hong-phan-the); border-radius: 16px; padding: 7px; display: flex; align-items: center; box-shadow: 0 12px 35px rgba(159,18,57,.08); }
.blog-search i { margin-left: 12px; color: var(--hong-chu-dao); }
.blog-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 11px; color: var(--chu-chinh); }
.blog-search button, .blog-btn { border: 0; background: var(--hong-man-nhan); color: #fff; border-radius: 10px; padding: 11px 18px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.blog-search button:hover, .blog-btn:hover { background: #7f1235; color: #fff; }
.blog-container { padding-top: 34px; padding-bottom: 55px; }
.blog-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.blog-categories a { background: #fff; border: 1px solid var(--hong-phan-the); padding: 9px 16px; border-radius: 999px; color: var(--chu-chinh); font-size: 14px; font-weight: 650; }
.blog-categories a:hover, .blog-categories a.active { background: var(--hong-man-nhan); border-color: var(--hong-man-nhan); color: #fff; }
.blog-section-heading { margin-bottom: 18px; }
.blog-section-heading span { color: var(--hong-chu-dao); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.blog-section-heading h2 { margin: 3px 0 0; color: var(--chu-chinh); font-size: 25px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.heading-row strong { color: var(--chu-phu); font-size: 14px; }
.featured-section { margin-bottom: 42px; }
.featured-grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: 16px; }
.featured-card { min-height: 210px; position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, var(--hong-man-nhan), var(--hong-chu-dao)); }
.featured-main { grid-row: 1 / 3; min-height: 440px; }
.featured-image, .featured-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(35,15,22,.92), rgba(35,15,22,.05) 70%); }
.image-error::before { content: '🐾'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 70px; opacity: .45; }
.featured-overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; }
.featured-overlay h2 { font-size: 21px; margin: 10px 0 7px; line-height: 1.3; }
.featured-main .featured-overlay h2 { font-size: 28px; }
.featured-overlay a { color: #fff; }
.featured-overlay p { margin: 0 0 12px; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-meta { display: flex; gap: 14px; color: rgba(255,255,255,.72); font-size: 13px; }
.blog-badge { display: inline-flex; width: fit-content; background: var(--hong-phan-the); color: var(--hong-man-nhan); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.featured-overlay .blog-badge { background: rgba(255,255,255,.9); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card { background: #fff; border: 1px solid var(--hong-phan-the); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 7px 22px rgba(159,18,57,.04); transition: .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(159,18,57,.10); }
.blog-card-image { height: 205px; background: linear-gradient(135deg, #ffe2ed, #fff3f8); position: relative; overflow: hidden; display: block; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.featured-label { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--hong-man-nhan); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800; }
.blog-card-body { padding: 19px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 18px; line-height: 1.4; margin: 11px 0 8px; }
.blog-card h3 a { color: var(--chu-chinh); }
.blog-card h3 a:hover { color: var(--hong-man-nhan); }
.blog-card p { color: var(--chu-phu); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.blog-card-meta { display: flex; justify-content: space-between; gap: 10px; color: #a18d94; font-size: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid #faeaf0; }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--hong-man-nhan); font-weight: 750; font-size: 14px; margin-top: 14px; }
.read-more:hover { color: var(--hong-chu-dao); }
.blog-detail { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--hong-phan-the); border-radius: 22px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 12px 35px rgba(159,18,57,.06); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--chu-phu); font-size: 13px; margin-bottom: 24px; }
.detail-cover { width: 100%; max-height: 500px; object-fit: cover; border-radius: 17px; margin-bottom: 28px; }
.detail-content { color: var(--chu-chinh); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.detail-content h2, .detail-content h3 { color: var(--hong-man-nhan); margin: 1.4em 0 .6em; }
.detail-content img { max-width: 100%; height: auto; border-radius: 14px; }
.detail-content p { margin-bottom: 1em; }
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 1em; }
.detail-footer { border-top: 1px solid var(--hong-phan-the); margin-top: 30px; padding-top: 24px; }
.blog-btn-light { background: var(--hong-phan-the); color: var(--hong-man-nhan); }
.blog-btn-light:hover { background: var(--hong-man-nhan); color: #fff; }
.related-section { max-width: 1000px; margin: 42px auto 0; }
.blog-empty { background: #fff; border: 1px dashed var(--hong-chu-dao); border-radius: 20px; text-align: center; padding: 70px 20px; }
.blog-empty.compact { padding: 50px 20px; }
.blog-empty i { color: var(--hong-chu-dao); font-size: 46px; margin-bottom: 14px; }
.blog-empty h2 { color: var(--chu-chinh); font-size: 22px; }
.blog-empty p { color: var(--chu-phu); margin-bottom: 18px; }
.blog-alert { padding: 18px; border-radius: 14px; background: #fff2f2; border: 1px solid #ffc9c9; color: #a22; }
@media (max-width: 900px) {
  .blog-hero-inner { flex-direction: column; align-items: stretch; }
  .blog-search { width: 100%; }
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .featured-main { grid-row: auto; min-height: 360px; }
  .featured-card { min-height: 280px; }
  .blog-grid, .blog-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .blog-hero-inner { min-height: auto; padding-top: 30px; padding-bottom: 30px; }
  .blog-search button { padding-inline: 12px; }
  .blog-grid, .blog-grid-3 { grid-template-columns: 1fr; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .blog-card-image { height: 220px; }
  .featured-main { min-height: 320px; }
  .featured-overlay, .featured-main .featured-overlay { padding: 18px; }
  .featured-main .featured-overlay h2 { font-size: 22px; }
}
