/* PAGE HERO */
.page-hero { background: var(--c-ink); padding: 52px 24px 48px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 700px 320px at 65% 85%, rgba(232,69,69,.13) 0%, transparent 70%); pointer-events: none; }
.page-hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 12px; position: relative; }
.page-hero h1 { font-family: var(--font-serif); font-size: 38px; font-weight: 400; font-style: italic; color: var(--c-white); line-height: 1.2; margin-bottom: 12px; position: relative; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.6); max-width: 500px; margin: 0 auto 28px; position: relative; }
.hero-search { display: flex; max-width: 520px; margin: 0 auto; background: var(--c-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero-search input { flex: 1; border: none; outline: none; padding: 13px 18px; font-family: var(--font-body); font-size: 14px; color: var(--c-ink); background: transparent; }
.hero-search input::placeholder { color: #adb5bd; }
.hero-search button { background: var(--c-accent); color: #fff; border: none; padding: 13px 24px; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.hero-search button:hover { background: var(--c-accent-dark); }

/* LAYOUT */
.page-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 36px 24px 60px; align-items: start; }

/* TABS */
.news-tabs { display: flex; gap: 2px; border-bottom: 1.5px solid var(--c-border); margin-bottom: 28px; }
.tab-btn { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--c-ink-muted); background: transparent; border: none; padding: 10px 16px; cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; transition: all .15s; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.tab-btn:hover { color: var(--c-ink); background: var(--c-border-soft); }
.tab-btn.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* CAT TAGS */
.cat-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .4px; text-transform: uppercase; width: fit-content; }
.cat-kn    { background: var(--c-accent-soft); color: var(--c-accent); }
.cat-luong { background: #fef9ec; color: #b45309; }
.cat-pv    { background: var(--c-teal-soft); color: var(--c-teal); }
.cat-tt    { background: #f0f4ff; color: #3b55d4; }

/* FEATURED CARD */
.featured-card { display: grid; grid-template-columns: 1fr 360px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; text-decoration: none; color: inherit; box-shadow: var(--shadow-md); transition: box-shadow .2s, transform .2s; animation: fadeUp .45s ease both; }
.featured-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-2px); }
.featured-thumb { background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%); display: flex; align-items: center; justify-content: center; font-size: 72px; min-height: 240px; position: relative; }
.badge-hot { position: absolute; top: 14px; left: 14px; background: var(--c-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px; text-transform: uppercase; }
.featured-body { padding: 32px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-family: var(--font-serif); font-size: 22px; font-style: italic; font-weight: 400; color: var(--c-ink); line-height: 1.35; margin: 10px 0 12px; }
.featured-body p { font-size: 14px; color: var(--c-ink-muted); line-height: 1.7; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* META */
.meta-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-ink-muted); flex-wrap: wrap; }
.meta-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.meta-sep { color: var(--c-border); }
.read-chip { background: var(--c-border-soft); border: 1px solid var(--c-border); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; color: var(--c-ink-soft); }

/* ARTICLE CARD */
.article-card { display: grid; grid-template-columns: 156px 1fr; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 14px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .18s; animation: fadeUp .45s ease both; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.article-card:hover .article-title { color: var(--c-accent); }
.article-thumb { display: flex; align-items: center; justify-content: center; font-size: 40px; background: linear-gradient(135deg, #fef2f2, #ffe4e6); min-height: 130px; }
.article-thumb.teal { background: linear-gradient(135deg, var(--c-teal-soft), #ccfbf1); }
.article-thumb.warm { background: linear-gradient(135deg, #fef9ec, #fef3c7); }
.article-thumb.blue { background: linear-gradient(135deg, #f0f4ff, #e0e7ff); }
.article-body { padding: 18px 22px; }
.article-title { font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.45; margin: 8px 0 8px; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-excerpt { font-size: 13px; color: var(--c-ink-muted); line-height: 1.65; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--c-ink-muted); flex-wrap: wrap; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; align-items: center; margin-top: 28px; }
.pg-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-border); background: var(--c-white); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--c-ink-muted); transition: all .15s; }
.pg-btn:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-soft); }
.pg-btn.active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.pg-dots { color: var(--c-border); padding: 0 4px; font-size: 16px; }

/* SIDEBAR — dùng cùng pattern với contact.css */
.sidebar-box { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm); animation: fadeUp .45s .1s ease both; }
.sidebar-head { font-size: 15px; font-weight: 700; color: var(--c-ink); padding: 16px 20px; border-bottom: 1px solid var(--c-border-soft); display: flex; align-items: center; gap: 8px; }
.sidebar-head::before { content: ''; width: 3px; height: 16px; background: var(--c-accent); border-radius: 2px; flex-shrink: 0; }

/* Hot items — dùng style .info-item từ contact.css làm cảm hứng */
.hot-item { display: flex; gap: 12px; padding: 11px 20px; text-decoration: none; color: inherit; transition: background .15s; border-bottom: 1px solid var(--c-border-soft); }
.hot-item:last-child { border-bottom: none; }
.hot-item:hover { background: var(--c-accent-soft); }
.hot-num { width: 22px; height: 22px; border-radius: 6px; background: var(--c-border-soft); border: 1px solid var(--c-border); color: var(--c-ink-muted); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.hot-num.r { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.hot-text { font-size: 13px; line-height: 1.45; color: var(--c-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tag cloud */
.tag-cloud { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1.5px solid var(--c-border); color: var(--c-ink-muted); text-decoration: none; background: var(--c-white); transition: all .15s; }
.tag-pill:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-soft); }

/* Newsletter — dùng màu --c-ink như footer trang chủ */
.newsletter-box { background: var(--c-ink); border-radius: var(--radius-md); padding: 24px 20px; margin-bottom: 20px; animation: fadeUp .45s .18s ease both; }
.newsletter-box h4 { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--c-white); margin-bottom: 6px; }
.newsletter-box p { font-size: 13px; color: rgba(255,255,255,.58); margin-bottom: 14px; line-height: 1.55; }
.nl-form { display: flex; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid rgba(255,255,255,.14); }
.nl-form input { flex: 1; border: none; outline: none; background: rgba(255,255,255,.09); padding: 10px 12px; font-family: var(--font-body); font-size: 13px; color: var(--c-white); }
.nl-form input::placeholder { color: rgba(255,255,255,.38); }
.nl-form button { background: var(--c-accent); color: #fff; border: none; padding: 10px 14px; font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.nl-form button:hover { background: var(--c-accent-dark); }

/* Category list */
.cat-list-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--c-border-soft); transition: background .15s; }
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { background: var(--c-accent-soft); }
.cat-list-item .label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--c-ink-soft); }
.cat-count { font-size: 12px; font-weight: 700; color: var(--c-ink-muted); background: var(--c-border-soft); border: 1px solid var(--c-border); padding: 2px 8px; border-radius: 12px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
    .page-wrap { grid-template-columns: 1fr; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-thumb { min-height: 200px; }
}
@media (max-width: 640px) {
    .page-hero h1 { font-size: 28px; }
    .article-card { grid-template-columns: 1fr; }
    .article-thumb { min-height: 140px; }
    .nav-links { display: none; }
}