/* AI4Kids Resource pages (/tai-nguyen/*) — shared styles on top of master-hub.css */
.tn-hero { position: relative; overflow: hidden; background: var(--mh-bg-deep); color: #fff; padding: 30px 0 46px; }
.tn-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 340px at 90% 0%, rgba(224,123,39,0.28), transparent 62%), radial-gradient(620px 360px at 0% 100%, rgba(14,92,99,0.42), transparent 60%); }
.tn-hero .mh-container { position: relative; }
.tn-hero .mh-breadcrumb, .tn-hero .mh-breadcrumb a { color: rgba(255,255,255,0.6); }
.tn-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.tn-badge { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); }
.tn-badge--try { background: #E07B27; border-color: #E07B27; } .tn-badge--view { background: #0E5C63; border-color: #0E5C63; } .tn-badge--download { background: #16345C; border-color: #3B5E91; }
.tn-hero h1 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; letter-spacing: -0.02em; margin: 0; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12; }
.tn-hero-sub { margin: 14px 0 0; max-width: 62ch; font-size: 1.08rem; line-height: 1.65; color: rgba(255,255,255,0.82); }
.tn-hero-meta { margin: 16px 0 0; font-size: 0.86rem; color: rgba(255,255,255,0.6); }

.tn-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.tn-body { padding: 40px 0 20px; }
.tn-body h2 { font-family: 'Be Vietnam Pro', sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 34px 0 12px; }
.tn-body h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 1.08rem; margin: 20px 0 8px; }
.tn-body p, .tn-body li { font-size: 1.04rem; line-height: 1.75; color: var(--mh-ink); }
.tn-body p { margin: 0 0 12px; } .tn-body ul { margin: 0 0 14px; padding-left: 22px; }
.tn-callout { margin: 18px 0; padding: 16px 18px; border-radius: var(--mh-radius-md); background: var(--mh-primary-soft); border-left: 4px solid var(--mh-primary);
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700; font-size: 1.08rem; line-height: 1.5; color: var(--mh-primary); }
.tn-quote { margin: 14px 0; padding: 14px 18px; border-radius: var(--mh-radius-md); background: var(--mh-surface); border: 1px solid var(--mh-border); font-style: italic; }
.tn-do { margin: 16px 0 6px; padding: 14px 16px 12px 52px; position: relative; border-radius: var(--mh-radius-md); background: var(--mh-safe-soft); border: 1px solid rgba(46,125,91,0.25); }
.tn-do::before { content: '⏱'; position: absolute; left: 16px; top: 13px; font-size: 1.2rem; }
.tn-do-label { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mh-safe); margin-bottom: 4px; }
.tn-do p { margin: 0 0 4px; }
.tn-section-card { margin: 26px 0; padding: 22px 22px 10px; border-radius: var(--mh-radius-lg); background: var(--mh-surface); border: 1px solid var(--mh-border); box-shadow: var(--mh-shadow-card); }
.tn-section-card h2 { margin-top: 0; display: flex; gap: 12px; align-items: baseline; }
.tn-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; color: #fff; background: var(--mh-brand); }
.tn-two { display: grid; gap: 12px; margin: 10px 0 14px; }
@media (min-width: 720px) { .tn-two { grid-template-columns: 1fr 1fr; } }
.tn-two > div { padding: 14px 16px; border-radius: var(--mh-radius-md); background: var(--mh-bg); }
.tn-two h3 { margin-top: 0; }
.tn-qcards { display: grid; gap: 12px; margin: 12px 0 18px; }
@media (min-width: 720px) { .tn-qcards { grid-template-columns: 1fr 1fr; } }
.tn-qcard { padding: 18px; border-radius: var(--mh-radius-md); background: linear-gradient(150deg, var(--mh-brand-soft), #fff 80%); border: 1px solid var(--mh-border); }
.tn-qcard span { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mh-brand); }
.tn-qcard strong { display: block; margin: 6px 0; font-family: 'Be Vietnam Pro', sans-serif; font-size: 1.1rem; line-height: 1.4; }
.tn-qcard p { margin: 0; font-size: 0.93rem; color: var(--mh-ink-soft); }
.tn-habits { counter-reset: h; list-style: none; padding: 0 !important; }
.tn-habits li { counter-increment: h; position: relative; padding: 10px 14px 10px 48px; margin-bottom: 8px; border-radius: var(--mh-radius-md); background: var(--mh-surface); border: 1px solid var(--mh-border); }
.tn-habits li::before { content: counter(h); position: absolute; left: 14px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #fff; background: var(--mh-primary); }

.tn-loop { margin: 40px 0 10px; padding: 26px 24px; border-radius: var(--mh-radius-lg); background: var(--mh-bg-deep); color: #fff; }
.tn-loop-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #F6C08E; }
.tn-loop-q { margin: 8px 0 12px; font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.35; color: #fff !important; }
.tn-loop p { color: rgba(255,255,255,0.82) !important; }
.tn-loop-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tn-sources { margin: 26px 0 0; padding: 14px 16px; border-radius: var(--mh-radius-md); background: var(--mh-bg); font-size: 0.86rem; color: var(--mh-ink-soft); }
.tn-sources strong { display: block; margin-bottom: 4px; color: var(--mh-ink); }
.tn-sources ul { margin: 0; padding-left: 18px; } .tn-sources li { font-size: 0.86rem !important; line-height: 1.6 !important; }
.tn-sources a { color: var(--mh-primary); word-break: break-word; }
.tn-back { display: inline-flex; margin: 26px 0 50px; font-weight: 700; color: var(--mh-primary); text-decoration: none; }
