/* Góc sáng tạo delarchi.com (VTN 25/09/2026) — nạp SAU delarchi-home.css, dùng lại biến + nút + khung .dlh */
.dgs-page #main, .dgs-page #content { padding: 0 !important; background: var(--cream, #f8f3ec); }
.dgs { --green: #3f8a5a; }

/* ---------- Đầu trang danh sách ---------- */
.dgs-hero { padding: 64px 0 80px; }
.dgs-hero h1 em { white-space: normal; }
.dgs-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px !important; }
.dgs-facts li { padding: 0 26px; border-left: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.3; }
.dgs-facts li:first-child { padding-left: 0; border-left: 0; }
.dgs-facts b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.dgs-bento-a { display: block; min-height: 0; }
.dgs-bento-a.dlh-b1 { grid-row: span 2; }
.dgs-bento-a figure { height: 100%; }
.dgs .dlh-bento img { object-position: 50% 50%; }

/* ---------- Dải chip chủ đề ---------- */
#mau { scroll-margin-top: 80px; }
.dgs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.dgs-chips a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--cream); border: 1px solid transparent; color: var(--ink) !important; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.dgs-chips a:hover { background: #fff; border-color: var(--line); }
.dgs-chips small { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.dgs-chips a.is-on { background: var(--ink); color: #fff !important; }
.dgs-chips a.is-on small { color: rgba(255, 255, 255, .6); }

/* ---------- Lưới thẻ mẫu ---------- */
.dgs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dgs-card { display: flex; flex-direction: column; background: var(--cream); border-radius: 22px; padding: 10px; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
.dlh-sec:not(.dlh-sec-white) .dgs-card { background: #fff; border-color: var(--line); }
.dgs-card:hover { transform: translateY(-4px); background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.dgs-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; background: var(--cream-2); }
.dgs-card-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; transition: transform .6s var(--ease); }
.dgs-card:hover .dgs-card-img img { transform: scale(1.05); }
.dgs-card-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.dgs-card-badge svg { width: 14px; height: 14px; color: var(--clay); stroke-width: 2.4; }
.dgs-card-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 8px 8px; }
.dgs-card-topic { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--clay); }
.dgs-card-title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
.dgs-card-facts { font-size: 13.5px; color: var(--muted); }
.dgs-empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 16px; }

.dgs-pag { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.dgs-pag a, .dgs-pag span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--cream); color: var(--ink) !important; font-weight: 700; font-size: 14px; }
.dgs-pag .current { background: var(--ink); color: #fff !important; }
.dgs-how { grid-template-columns: repeat(3, 1fr); }

/* ---------- Trang chi tiết ---------- */
.dgs-top { padding: 28px 0 72px; background: radial-gradient(800px 480px at 90% 0%, rgba(224, 88, 47, .1), transparent 60%), var(--cream); }
.dgs-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted-2); margin-bottom: 26px; }
.dgs-crumb a { color: var(--muted) !important; }
.dgs-crumb a:hover { color: var(--clay) !important; }
.dgs-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.dgs-cover { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.dgs-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dgs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dgs-tags a { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--clay-soft); color: var(--clay) !important; }
.dgs-info h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; }
.dgs-excerpt { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 16px !important; }
.dgs-facts-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.dgs-facts-row div { padding: 14px 18px; border-left: 1px solid var(--line); }
.dgs-facts-row div:first-child { border-left: 0; }
.dgs-facts-row dt, .dgs-facts-row dd { display: block; }
.dgs-facts-row dt { font-size: 12px; font-weight: 600; color: var(--muted-2); margin: 0 0 3px; }
.dgs-facts-row dd { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }

.dgs-dl { margin-top: 22px; padding: 20px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.dgs-dl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.dgs-dl-head b { font-size: 16px; }
.dgs-dl-head span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.dgs-dl-btn { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; margin-bottom: 10px; transition: background .2s, transform .25s var(--ease); }
.dgs-dl-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.dgs-dl-btn.is-main { background: var(--clay); border-color: var(--clay); box-shadow: 0 12px 26px -12px rgba(224, 88, 47, .9); }
.dgs-dl-btn.is-main:hover { background: var(--clay-2); }
.dgs-dl-btn i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.dgs-dl-btn i svg { width: 21px; height: 21px; stroke-width: 2.3; }
.dgs-dl-btn b { display: block; font-size: 15.5px; }
.dgs-dl-btn small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-top: 1px; }
.dgs-dl-note { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .6); margin-top: 4px !important; }
.dgs-dl-note b { color: #fff; }

.dgs-body-in { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.dgs-need { position: sticky; top: 100px; padding: 24px; border-radius: 22px; background: var(--cream); }
.dgs-need h2, .dgs-content > h2 { font-size: 24px; margin-bottom: 16px; }
.dgs-need ul { margin-bottom: 20px !important; }
.dgs-need li { position: relative; padding: 9px 0 9px 32px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--text); line-height: 1.4; }
.dgs-need li:first-child { border-top: 0; }
.dgs-need li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--clay); background: #fff; }
.dgs-need .dlh-btn { width: 100%; }

.dgs-content { font-size: 16.5px; line-height: 1.75; color: var(--text); min-width: 0; }
.dgs-content p { margin: 0 0 16px; }
.dgs-content img { border-radius: 16px; height: auto; }
.dgs-content h3 { font-size: 20px; margin: 28px 0 10px; }
.dgs-content ol { counter-reset: b; margin: 0 0 24px !important; display: grid; gap: 12px; }
.dgs-content ol > li { counter-increment: b; position: relative; padding: 18px 20px 18px 74px; border-radius: 18px; background: var(--cream); margin: 0; }
.dgs-content ol > li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.dgs-content ol > li:first-child::before { background: var(--clay); }
.dgs-content ol > li > strong:first-child, .dgs-content ol > li > b:first-child { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.dgs-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.dgs-content a { color: var(--clay); font-weight: 600; }
.dgs-share { margin-top: 28px !important; padding: 16px 20px; border-radius: 16px; border: 1.5px dashed #f0c3b1; background: #fff8f4; font-size: 15px; }

/* ---------- Đáp ứng ---------- */
@media (max-width: 1000px) {
	.dgs-main { grid-template-columns: 1fr; gap: 32px; }
	.dgs-cover { max-width: 680px; }
	.dgs-body-in { grid-template-columns: 1fr; gap: 32px; }
	.dgs-need { position: static; }
	.dgs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.dgs-hero { padding: 36px 0 56px; }
	.dgs-hero .dlh-hero-in { gap: 34px; }
	.dgs-facts li { padding: 0 16px; }
	.dgs-facts b { font-size: 22px; }
	.dgs-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
	.dgs-chips::-webkit-scrollbar { display: none; }
	.dgs-chips a { flex: none; height: 38px; padding: 0 14px; font-size: 13.5px; }
	.dgs-grid { grid-template-columns: 1fr; gap: 14px; }
	.dgs-card-title { font-size: 17px; }
	.dgs-how { grid-template-columns: 1fr; }
	.dgs-top { padding: 18px 0 44px; }
	.dgs-crumb { margin-bottom: 16px; font-size: 12.5px; }
	.dgs-cover { border-radius: 20px; }
	.dgs-info h1 { font-size: 28px; }
	.dgs-excerpt { font-size: 15.5px; }
	.dgs-facts-row div { padding: 12px; }
	.dgs-facts-row dd { font-size: 14px; }
	.dgs-dl { padding: 14px; border-radius: 18px; }
	.dgs-content { font-size: 15.5px; }
	.dgs-content ol > li { padding: 14px 14px 14px 62px; }
	.dgs-content ol > li::before { left: 12px; top: 13px; width: 36px; height: 36px; }
}
