/* Nhà Ý Tưởng — giao diện 26/09/2026: giữ bảng màu gốc, bố cục thẻ/hero theo Góc sáng tạo delarchi.com */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/baloo-2-800-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/baloo-2-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-800-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #173b36;
  --muted: #5f706d;
  --paper: #fffdf8;
  --cream: #fff3dc;
  --coral: #ef684f;
  --coral-dark: #ce4b35;
  --yellow: #ffd45c;
  --teal: #238c83;
  --blue: #dff1f0;
  --line: #dce7e4;
  --white: #fff;
  --shadow: 0 18px 50px rgba(23,59,54,.10);
  --radius: 24px;
  --display: "Baloo 2", "Be Vietnam Pro", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-sm: 0 6px 18px rgba(23,59,54,.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 18px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(220,231,228,.86); background: rgba(255,253,248,.92); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: 46px; flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: block; white-space: nowrap; }
.brand-text b { display: block; color: var(--ink); font-family: var(--display); font-size: 25px; font-weight: 800; line-height: 1; letter-spacing: -.01em; }
.brand-text b i { color: var(--coral); font-style: normal; }
.brand-text small { display: block; margin-top: 4px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: 15px; font-weight: 700; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -7px; background: var(--coral); transition: .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn, .menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover, .menu-btn:hover { border-color: var(--teal); }
.fav-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin: -17px 0 0 -8px; border-radius: 10px; background: var(--coral); color: white; font-size: 10px; font-weight: 800; }
.menu-btn { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--coral); box-shadow: 0 10px 24px rgba(239,104,79,.24); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.btn-dark { color: #fff; background: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--coral-dark); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-head h2, .page-intro h1 { margin: 0; max-width: 700px; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -.01em; }
.section-head p { max-width: 540px; margin: 10px 0 0; color: var(--muted); }
.text-link { color: var(--teal); font-weight: 800; white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding: 64px 0 112px; background: radial-gradient(760px 460px at 92% 8%, rgba(239,104,79,.13), transparent 62%), radial-gradient(520px 380px at 0% 100%, rgba(35,140,131,.10), transparent 60%), var(--cream); }
.hero::after { content: ""; position: absolute; left: -120px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: var(--yellow); opacity: .22; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero-content { max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px 7px 8px; border-radius: 999px; color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; }
.hero-badge svg, .card-tag svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--coral); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.015em; }
.hero h1 .h1-top { display: block; margin-bottom: 6px; color: var(--teal); font-size: .42em; letter-spacing: 0; }
.hero h1 em { position: relative; color: var(--coral); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .16em; border-radius: 99px; background: var(--yellow); opacity: .7; z-index: -1; }
.hero-lead { max-width: 500px; margin: 20px 0 28px; color: #405b57; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 0 24px; border-left: 1px solid rgba(23,59,54,.14); color: var(--muted); font-size: 13px; line-height: 1.3; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts b { display: block; margin-bottom: 3px; color: var(--ink); font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.hero-bento { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 470px; }
.bento { position: relative; display: block; min-height: 0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 22px 48px -18px rgba(23,59,54,.35); transition: transform .4s var(--ease); }
.bento:hover { transform: translateY(-4px); }
.bento.b1 { grid-row: span 2; }
.bento figure { height: 100%; margin: 0; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bento.b1 img { object-position: 72% 50%; }
.bento:hover img { transform: scale(1.04); }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 700; }
.hero-sticker { position: absolute; z-index: 3; left: -30px; top: -26px; width: 96px; height: 96px; display: grid; place-items: center; text-align: center; border-radius: 50%; color: var(--ink); background: var(--yellow); box-shadow: 0 14px 30px -12px rgba(122,90,16,.55); font-family: var(--display); font-size: 17px; font-weight: 800; line-height: .95; transform: rotate(-12deg); }

.finder-wrap { position: relative; z-index: 5; margin-top: -54px; }
.finder { display: grid; grid-template-columns: 1.25fr .75fr .75fr auto; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.field { position: relative; }
.field label { display: block; margin: 0 0 6px 4px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--ink); background: #fbfdfc; }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35,140,131,.12); }
.finder .btn { align-self: end; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-height: 215px; position: relative; overflow: hidden; padding: 24px; border: 1px solid rgba(23,59,54,.08); border-radius: var(--radius); transition: transform .24s ease, box-shadow .24s ease; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card:nth-child(1) { background: #ffeadf; }
.category-card:nth-child(2) { background: #dff1f0; }
.category-card:nth-child(3) { background: #fff0b8; }
.category-card:nth-child(4) { background: #e8e5f8; }
.category-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 20px; color: var(--coral-dark); background: #fff; box-shadow: var(--shadow-sm); transform: rotate(-4deg); transition: transform .3s var(--ease); }
.category-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.category-card:nth-child(2) .category-icon { color: var(--teal); }
.category-card:nth-child(3) .category-icon { color: #b7811a; }
.category-card:nth-child(4) .category-icon { color: #5b54a8; }
.category-card:hover .category-icon { transform: rotate(4deg) scale(1.06); }
.category-card h3 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.2; }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; }
.category-card .arrow { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 17px; transition: background .2s, color .2s; }
.category-card:hover .arrow { color: #fff; background: var(--ink); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card { display: flex; min-width: 0; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.resource-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -22px rgba(23,59,54,.35); }
.card-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--cream); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.resource-card:hover .card-art img { transform: scale(1.05); }
.card-tag { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; }
.card-tag svg { width: 20px; height: 20px; }
.favorite { position: absolute; z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); font-size: 18px; transition: transform .2s ease, background .2s ease; }
.favorite:hover { transform: scale(1.08); }
.favorite.is-active { color: white; background: var(--coral); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 10px 8px; }
.card-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.card-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-meta { display: flex; gap: 0; flex-wrap: wrap; margin-top: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.card-meta span + span::before { content: "·"; margin: 0 8px; color: #b3c2bf; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--teal); font-weight: 800; font-size: 14px; }
span.card-link { color: #98aaa7; }
a.card-link span { transition: transform .2s ease; }
.resource-card:hover a.card-link span { transform: translateX(4px); }
.empty-state { display: none; grid-column: 1/-1; padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.how { background: var(--ink); color: white; }
.how .eyebrow { color: var(--yellow); }
.how .section-head p { color: #bdd0cd; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.step-number { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 18px; color: var(--ink); background: var(--yellow); font-family: var(--display); font-size: 24px; font-weight: 800; transform: rotate(-4deg); }
.step:nth-child(2) .step-number { background: #9fd4cf; transform: rotate(3deg); }
.step:nth-child(3) .step-number { background: #f7a58f; }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-size: 23px; font-weight: 800; }
.step p { margin: 0; color: #bdd0cd; }

.seasonal { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 430px; overflow: hidden; border-radius: 32px; background: #fff0b8; }
.seasonal-copy { padding: clamp(35px, 6vw, 72px); align-self: center; }
.seasonal-copy h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
.seasonal-copy p { max-width: 500px; margin: 0 0 24px; color: #4f615e; }
.seasonal-art { min-height: 380px; position: relative; overflow: hidden; background: #f9d766; }
.seasonal-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.newsletter { padding: 70px 0; background: #dff1f0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; }
.newsletter h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.12; }
.newsletter p { margin: 0; color: var(--muted); }
.signup { display: flex; min-width: min(100%, 480px); padding: 6px; border: 1px solid rgba(23,59,54,.14); border-radius: 16px; background: white; }
.signup input { flex: 1; min-width: 0; padding: 0 15px; border: 0; outline: 0; background: transparent; }
.form-note { margin-top: 8px!important; font-size: 12px; }
.form-success { display: none; color: var(--teal)!important; font-weight: 800; }

.site-footer { padding: 60px 0 25px; color: #d7e2e0; background: #102d29; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 6px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text small { color: #9fd4cf; }
.footer-brand p { max-width: 360px; color: #9eb6b2; }
.site-footer h3 { margin: 0 0 15px; color: white; font-size: 15px; }
.footer-links { display: grid; gap: 9px; color: #a9bfbb; font-size: 14px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #829e99; font-size: 12px; }

.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; background: radial-gradient(700px 400px at 95% 0%, rgba(239,104,79,.12), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(35,140,131,.10), transparent 60%), var(--cream); }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; background: var(--yellow); opacity: .22; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs span { color: #98aaa7; }
.page-intro p { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-pill { height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; color: var(--ink); background: var(--cream); font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
.filter-pill:hover { border-color: var(--line); background: #fff; }
.filter-pill.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }

.detail-hero { padding: 36px 0 72px; background: radial-gradient(800px 480px at 90% 0%, rgba(239,104,79,.12), transparent 60%), var(--cream); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.detail-art { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; background: #f7c4b8; box-shadow: 0 30px 60px -28px rgba(23,59,54,.45); }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy h1 { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; }
.detail-copy .lead { color: var(--muted); font-size: 18px; }
.quick-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.quick-meta div { padding: 13px; border: 1px solid rgba(23,59,54,.1); border-radius: 14px; background: rgba(255,255,255,.7); }
.quick-meta strong, .quick-meta span { display: block; }
.quick-meta strong { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.quick-meta span { margin-top: 2px; font-weight: 900; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.license-note { margin-top: 13px; color: var(--muted); font-size: 12px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; align-items: start; }
.article h2 { margin: 44px 0 18px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.15; }
.article h2:first-child { margin-top: 0; }
.checklist { display: grid; gap: 11px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 11px; font-weight: 900; }
.instruction-list { display: grid; gap: 20px; counter-reset: steps; }
.instruction { position: relative; padding: 23px 24px 23px 72px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.instruction::before { counter-increment: steps; content: counter(steps); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--coral); font-weight: 900; }
.instruction h3 { margin: 0 0 4px; }
.instruction p { margin: 0; color: var(--muted); }
.tip { margin-top: 24px; padding: 20px; border-left: 4px solid var(--yellow); border-radius: 0 14px 14px 0; background: #fff8df; }
.sidebar-card { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(23,59,54,.07); }
.sidebar-card h3 { margin: 0 0 8px; }
.sidebar-card p { color: var(--muted); font-size: 14px; }
.sidebar-card .btn { width: 100%; margin-top: 8px; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 45px; padding: 22px; border-radius: 20px; background: #edf7f5; }
.author-avatar { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); }
.author-box p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { min-height: 420px; overflow: hidden; border-radius: 28px; background: #dff1f0; box-shadow: 0 30px 60px -28px rgba(23,59,54,.45); }
.about-visual img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 70% 50%; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.value b { display: block; margin-bottom: 7px; font-size: 18px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 77px; left: 0; right: 0; padding: 22px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.is-open { display: flex; }
  .menu-btn { display: grid; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 640px; }
  .hero-bento { height: 400px; }
  .hero-sticker { left: auto; right: -8px; top: -30px; }
  .finder { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner, .footer-grid, .detail-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text b { font-size: 22px; }
  .brand-text small { font-size: 9px; letter-spacing: .12em; }
  .nav { gap: 10px; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 34px 0 86px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; margin: 16px 0 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { margin-top: 26px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero-facts li { padding: 0 12px; font-size: 12px; }
  .hero-facts b { font-size: 22px; }
  .hero-bento { height: 300px; gap: 10px; grid-template-columns: 1.15fr 1fr; }
  .bento { border-radius: 18px; }
  .bento figcaption { left: 8px; bottom: 8px; padding: 4px 9px; font-size: 11px; }
  .hero-sticker { display: none; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 22px; padding: 0 14px 4px; scrollbar-width: none; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { flex: none; height: 38px; padding: 0 14px; font-size: 13.5px; }
  .resource-grid { gap: 14px; }
  .category-card .arrow { top: 14px; right: 14px; }
  .finder-wrap { margin-top: -30px; }
  .finder { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 15px; }
  .category-grid, .resource-grid, .steps, .values { grid-template-columns: 1fr; }
  .category-grid { gap: 12px; }
  .category-card { min-height: 160px; }
  .category-icon { margin-bottom: 14px; }
  .seasonal { grid-template-columns: 1fr; }
  .seasonal-art { min-height: 270px; }
  .newsletter-inner { gap: 25px; }
  .signup { min-width: 0; flex-direction: column; padding: 8px; }
  .signup input { flex: none; height: 48px; }
  .quick-meta { gap: 8px; }
  .quick-meta div { padding: 10px; }
  .quick-meta span { font-size: 14px; line-height: 1.35; }
  .detail-actions .btn, .seasonal-copy .btn { flex: 1 1 100%; width: 100%; }
  .detail-copy h1 { font-size: 34px; }
  .section-head .text-link { padding: 10px 0; }
  .signup .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .detail-grid { gap: 30px; }
  .page-hero { padding: 40px 0 38px; }
  .about-visual, .about-visual img { min-height: 280px; }
  .quick-meta { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto!important; transition: none!important; }
}

/* Nút tải PDF + ảnh xem trước bản in (26/09/2026) */
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.print-preview { position: relative; display: block; max-width: 420px; padding: 14px; border-radius: 20px; background: #eef3f2; transition: transform .3s var(--ease); }
.print-preview:hover { transform: translateY(-3px); }
.print-preview img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 16px 36px -14px rgba(23,59,54,.4); }
.print-preview span { position: absolute; right: 26px; bottom: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.print-preview span svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Trang 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf .brand { margin-bottom: 28px; }
.nf h1 { margin: 0 auto; }
.nf p { margin-inline: auto; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* Theo độ tuổi (26/09/2026) — 4 nhóm 2–3 · 4–5 · 6–7 · 8–10, màu theo thứ tự */
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.age-tile { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 24px; border-radius: var(--radius); background: #ffeadf; transition: transform .24s ease, box-shadow .24s ease; }
.age-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.age-tile:nth-child(2), #tuoi-4-5 .age-badge { background: #dff1f0; }
.age-tile:nth-child(3), #tuoi-6-7 .age-badge { background: #fff0b8; }
.age-tile:nth-child(4), #tuoi-8-10 .age-badge { background: #e8e5f8; }
.age-num { display: flex; align-items: baseline; gap: 6px; margin-bottom: auto; color: var(--coral-dark); font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; }
.age-tile:nth-child(2) .age-num { color: var(--teal); }
.age-tile:nth-child(3) .age-num { color: #a8740f; }
.age-tile:nth-child(4) .age-num { color: #5b54a8; }
.age-num small { font-family: "Be Vietnam Pro", sans-serif; font-size: 14px; font-weight: 700; color: var(--muted); }
.age-tile h3 { margin: 22px 0 4px; font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.2; }
.age-tile p { margin: 0; color: var(--muted); font-size: 14px; }
.age-tile .arrow { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 17px; transition: background .2s, color .2s; }
.age-tile:hover .arrow { color: #fff; background: var(--ink); }

.age-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.age-jump a { display: inline-flex; align-items: baseline; gap: 5px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease; }
.age-jump a:hover { transform: translateY(-2px); border-color: var(--coral); }
.age-jump b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.age-jump span { color: var(--muted); font-size: 13px; font-weight: 600; }

.age-block { padding: 80px 0; scroll-margin-top: 70px; }
#tuoi-4-5, #tuoi-8-10 { background: #fbf8f1; }
.age-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 34px; }
.age-badge { width: 128px; height: 128px; display: grid; place-content: center; text-align: center; border-radius: 36px; background: #ffeadf; font-family: var(--display); font-size: 44px; font-weight: 800; line-height: .9; transform: rotate(-4deg); }
.age-badge small { margin-top: 6px; font-family: "Be Vietnam Pro", sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); }
.age-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.12; }
.age-head p:not(.eyebrow) { max-width: 720px; margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.age-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 44px; }
.age-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.age-panel h3, .age-picks-head h3 { margin: 0 0 16px; font-family: var(--display); font-size: 22px; font-weight: 800; }
.age-panel ul { margin: 0; padding: 0; list-style: none; }
.dev-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.dev-list li:first-child { border-top: 0; padding-top: 0; }
.dev-list b { color: var(--teal); }
.dev-list span { color: #3f524f; }
.age-panel-tips { background: var(--ink); border-color: var(--ink); color: #fff; }
.age-panel-tips h3 { color: var(--yellow); }
.tip-list li { position: relative; padding: 9px 0 9px 32px; color: #d5e3e0; font-size: 15px; }
.tip-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 12px; font-weight: 900; }
.age-picks-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.age-picks-head h3 { margin: 0; }
.age-note { padding: 28px 32px; border-left: 5px solid var(--yellow); border-radius: 18px; background: var(--cream); }
.age-note h3 { margin: 0 0 8px; font-family: var(--display); font-size: 22px; font-weight: 800; }
.age-note p { margin: 0 0 8px; color: #4f615e; }
.age-note p:last-child { margin: 0; font-weight: 700; color: var(--coral-dark); }

.finder-inline { margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.finder-hint { margin: 0 0 26px 4px; color: var(--muted); font-size: 14px; }
.finder-hint a, .step p a { color: var(--teal); font-weight: 800; }
.how .step p a { color: var(--yellow); }

@media (min-width: 961px) and (max-width: 1120px) { .nav-links { gap: 18px; font-size: 14px; } }
@media (max-width: 960px) {
  .age-grid { grid-template-columns: 1fr 1fr; }
  .age-cols { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .age-grid { gap: 12px; }
  .age-tile { min-height: 190px; padding: 18px; }
  .age-num { font-size: 36px; }
  .age-tile h3 { font-size: 18px; margin-top: 16px; }
  .age-tile .arrow { top: 14px; right: 14px; }
  .age-block { padding: 56px 0; }
  .age-head { grid-template-columns: 1fr; gap: 18px; }
  .age-badge { width: 92px; height: 92px; border-radius: 26px; font-size: 32px; }
  .age-panel { padding: 22px 18px; }
  .dev-list li { grid-template-columns: 1fr; gap: 2px; }
  .age-picks-head { display: block; }
  .age-picks-head .text-link { display: inline-block; padding: 10px 0; white-space: normal; }
  .age-note { padding: 22px 20px; }
}
@media (max-width: 380px) { .age-grid { grid-template-columns: 1fr; } }
