/* Trang chủ 2026 - tiểu sử người nổi tiếng. Dùng kèm nnt2022.min.css */
.home2026 {
    --st-dark: #101f2a;
    --st-accent: #d6336c;
    --st-accent-2: #00bcd4;
    --st-text: #212529;
    --st-muted: #6c757d;
    --st-line: #ece7df;
    --st-radius: 10px;
}

/* ---------- Hero + tìm kiếm ---------- */
.st-hero {
    background: linear-gradient(135deg, #101f2a 0%, #243c4e 60%, #4a2340 100%);
    color: #fff;
    padding: 36px 15px 26px;
    text-align: center;
}
.st-hero h1 {
    margin: 0 0 6px;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
}
.st-hero-sub {
    margin: 0 auto 18px;
    max-width: 640px;
    color: rgba(255, 255, 255, .8);
}
.st-hero-sub b { color: #fff; }

.st-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}
.st-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 1rem;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    outline: none;
}
.st-search input:focus { box-shadow: 0 0 0 3px var(--st-accent-2), 0 6px 24px rgba(0, 0, 0, .25); }
.st-results {
    position: absolute;
    z-index: 50;
    left: 0; right: 0;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border-radius: var(--st-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    max-height: 360px;
    overflow-y: auto;
}
.st-results a {
    display: block;
    padding: 8px 18px;
    color: var(--st-text);
    text-decoration: none;
}
.st-results a:hover, .st-results a.on { background: #f6f1ea; color: var(--st-accent); }
.st-results .st-empty { padding: 8px 18px; color: var(--st-muted); }

.st-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.st-chips a {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    transition: background .15s;
}
.st-chips a:hover { background: rgba(255, 255, 255, .15); }
.st-chips span { opacity: .65; font-size: .8rem; margin-left: 2px; }

/* ---------- Khung chung ---------- */
.st-grid { padding-bottom: 20px; }
.st-grid .col1 { padding: 0 20px 0 15px; box-sizing: border-box; }
.st-grid .col2 { padding: 0 15px 0 10px; box-sizing: border-box; }
.st-section { padding-top: 22px; scroll-margin-top: 60px; }
.st-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 14px;
    padding-bottom: 8px;
    font-size: 1.25rem;
    color: var(--st-dark);
    border-bottom: 2px solid var(--st-line);
    position: relative;
}
.st-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 56px; height: 2px;
    background: var(--st-accent);
}
.st-title small { font-size: .8rem; font-weight: 400; color: var(--st-muted); }

.st-role {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--st-accent);
}
.st-views { display: block; font-size: .8rem; color: var(--st-muted); }

/* ---------- Thẻ người nổi tiếng ---------- */
.st-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
}
.st-card {
    display: block;
    color: var(--st-text);
    text-decoration: none;
}
.st-img {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--st-radius);
    background: #f1ede6;
    margin-bottom: 8px;
}
.st-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform .3s;
}
.st-card:hover .st-img img { transform: scale(1.05); }
.st-name {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}
.st-card:hover .st-name { color: var(--st-accent); }

/* ---------- Nổi bật ---------- */
.st-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
}
.st-feat-main {
    position: relative;
    display: block;
    border-radius: var(--st-radius);
    overflow: hidden;
    min-height: 420px;
    color: #fff;
    text-decoration: none;
    background: var(--st-dark);
}
.st-feat-img, .st-feat-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.st-feat-img img { object-fit: cover; object-position: center 20%; transition: transform .4s; }
.st-feat-main:hover .st-feat-img img { transform: scale(1.04); }
.st-feat-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 60px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.st-feat-body .st-role { color: #ffd0e0; }
.st-feat-name { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin: 2px 0 6px; }
.st-feat-sapo { display: block; font-size: .9rem; color: rgba(255, 255, 255, .85); margin-bottom: 6px; }
.st-feat-body .st-views { color: rgba(255, 255, 255, .7); }
.st-feat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.st-feat-list .st-img { aspect-ratio: 1 / 1; }

/* ---------- Cột phải: xếp hạng ---------- */
.st-side { padding-top: 22px; }
.st-rank { list-style: none; margin: 0; padding: 0; }
.st-rank li { border-bottom: 1px solid var(--st-line); }
.st-rank a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--st-text);
    text-decoration: none;
}
.st-rank a:hover .st-rank-name { color: var(--st-accent); }
.st-rank-no {
    flex: 0 0 26px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c9c1b6;
    text-align: center;
}
.st-rank li:nth-child(-n+3) .st-rank-no { color: var(--st-accent); }
.st-rank img {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1ede6;
}
.st-rank-name { display: block; font-weight: 600; line-height: 1.3; }
.st-rank-role { display: block; font-size: .82rem; color: #8a8178; line-height: 1.3; margin-top: 2px; }

.st-more { text-align: center; margin: 26px 0 10px; }
.st-more a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--st-dark);
    color: #fff;
    text-decoration: none;
}
.st-more a:hover { background: var(--st-accent); }
.home2026 .boxads { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .st-cards { grid-template-columns: repeat(3, 1fr); }
    .st-featured { grid-template-columns: 1fr; }
    .st-feat-main { min-height: 380px; }
    .st-feat-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .st-hero { padding: 24px 12px 20px; }
    .st-hero h1 { font-size: 1.5rem; }
    .st-grid .col1, .st-grid .col2 { padding: 0 12px; }
    .st-cards { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .st-feat-list { grid-template-columns: repeat(2, 1fr); }
    .st-feat-name { font-size: 1.35rem; }
}

/* ---------- Khối theo tag lĩnh vực ---------- */
.st-title a { color: inherit; text-decoration: none; }
.st-title a:hover { color: var(--st-accent); }
.st-title .st-all {
    margin-left: auto;
    font-size: .85rem;
    font-weight: 400;
    color: var(--st-accent);
    white-space: nowrap;
}
.st-taglist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.st-taglist a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #faf8f5;
    color: var(--st-text);
    text-decoration: none;
    font-size: .9rem;
}
.st-taglist a:hover { border-color: var(--st-accent); color: var(--st-accent); }
.st-taglist span { color: var(--st-muted); font-size: .8rem; margin-left: 2px; }

/* =====================================================================
   Trang lĩnh vực (/ca-si, /mc, ...) - body.tag2026
   ===================================================================== */
.st-hero-tag { padding: 26px 15px 24px; text-align: left; }
.st-hero-tag .container { padding: 0 15px; box-sizing: border-box; }
.st-hero-tag h1 { font-size: 2.1rem; margin: 6px 0 4px; letter-spacing: -.01em; }
.st-hero-tag .st-hero-sub { margin: 0 0 16px; max-width: 680px; }
.st-crumb { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.st-crumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.st-crumb a:hover { color: #fff; }
.st-crumb span { margin: 0 8px; }

.st-tag-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.st-count {
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .9rem;
}
.st-sort {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .25);
}
.st-sort a {
    padding: 5px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .88rem;
    transition: background .15s, color .15s;
}
.st-sort a:hover { color: #fff; }
.st-sort a.on { background: #fff; color: var(--st-dark); font-weight: 600; }

/* Tiêu biểu: 3 thẻ lớn */
.st-spot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st-spot-item {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--st-radius);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--st-dark);
    box-shadow: 0 6px 18px rgba(16, 31, 42, .15);
}
.st-spot-img, .st-spot-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-spot-img img { object-fit: cover; object-position: center 20%; transition: transform .4s; }
.st-spot-item:hover .st-spot-img img { transform: scale(1.05); }
.st-spot-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 48px 14px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
}
.st-spot-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--st-accent);
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.st-spot-name { display: block; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.st-spot-sapo {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    font-size: .82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .8);
}

/* Lưới có số thứ hạng */
.st-cards-ranked .st-img { position: relative; }
.st-rank-badge {
    position: absolute;
    z-index: 1;
    top: 8px; left: 8px;
    min-width: 24px;
    padding: 2px 7px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(16, 31, 42, .78);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(2px);
}

/* Phân trang */
.st-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 30px 0 10px;
}
.st-pg, .st-pg-nav, .st-pg-gap {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .92rem;
    text-decoration: none;
}
.st-pg, .st-pg-nav { border: 1px solid var(--st-line); color: var(--st-text); background: #fff; transition: all .15s; }
.st-pg:hover, .st-pg-nav:hover { border-color: var(--st-accent); color: var(--st-accent); }
.st-pg.on { background: var(--st-dark); border-color: var(--st-dark); color: #fff; font-weight: 600; }
.st-pg-gap { color: var(--st-muted); min-width: 20px; padding: 0; }

/* Cột phải: danh sách lĩnh vực */
.st-fields { list-style: none; margin: 0; padding: 0; }
.st-fields a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    color: var(--st-text);
    text-decoration: none;
    transition: background .15s;
}
.st-fields a:hover { background: #f6f1ea; color: var(--st-accent); }
.st-fields em {
    font-style: normal;
    font-size: .78rem;
    color: var(--st-muted);
    background: #f1ede6;
    padding: 1px 9px;
    border-radius: 999px;
}
.st-fields li.on a { background: var(--st-dark); color: #fff; font-weight: 600; }
.st-fields li.on em { background: rgba(255, 255, 255, .15); color: #fff; }

@media (max-width: 767px) {
    .st-hero-tag { padding: 20px 0 18px; }
    .st-hero-tag h1 { font-size: 1.6rem; }
    .st-spot { grid-template-columns: 1fr 1fr; }
    .st-spot-item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
    .st-spot-name { font-size: 1.05rem; }
}

/* =====================================================================
   Trang chi tiết tiểu sử - body.bio2026
   ===================================================================== */
.bio-hero {
    background: linear-gradient(135deg, #101f2a 0%, #243c4e 60%, #4a2340 100%);
    color: #fff;
}
.bio-hero .bio-hero-in {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
    padding: 34px 15px;
    box-sizing: border-box;
}
.bio-portrait { margin: 0; }
.bio-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    border: 4px solid rgba(255, 255, 255, .12);
}
.bio-head .st-crumb { margin-bottom: 14px; }
.bio-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}
.bio-head h1 {
    margin: 10px 0 12px;
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
}
.bio-lead {
    margin: 0 0 16px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .85);
    max-width: 680px;
}
.bio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
}
.bio-meta li + li::before { content: "•"; margin-right: 18px; opacity: .6; }
.bio-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-toc a {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    transition: background .15s;
}
.bio-toc a:hover { background: rgba(255, 255, 255, .15); }

.bio-section { padding-top: 26px; scroll-margin-top: 64px; }

/* Nội dung bài: tối ưu để đọc */
.bio-content {
    font-size: 1.07rem;
    line-height: 1.8;
    color: #2b2f33;
    max-width: 72ch;
    overflow-wrap: break-word;
}
.bio-content p { margin: 0 0 1.1em; }
.bio-content h2, .bio-content h3 {
    margin: 1.6em 0 .6em;
    line-height: 1.35;
    color: var(--st-dark);
}
.bio-content h2 { font-size: 1.35rem; }
.bio-content h3 { font-size: 1.15rem; }
.bio-content a { color: var(--st-accent); text-decoration: underline; text-underline-offset: 3px; }
.bio-content img {
    display: block;
    max-width: 100%;
    max-height: 640px;
    width: auto;
    height: auto;
    margin: 1.4em auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16, 31, 42, .12);
}
.bio-content ul, .bio-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.bio-content li { margin-bottom: .35em; }
.bio-content blockquote {
    margin: 1.4em 0;
    padding: .6em 1.2em;
    border-left: 4px solid var(--st-accent);
    background: #faf7f2;
    color: #4a4f55;
    font-style: italic;
}
.bio-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.bio-content td, .bio-content th { padding: 8px 10px; border-bottom: 1px solid var(--st-line); text-align: left; vertical-align: top; }
.bio-wiki { font-size: 1rem; }
.bio-ad { margin: 1.4em 0; }

/* Thư viện ảnh */
.bio2026 .bio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bio2026 .bio-gallery li { margin: 0; padding: 0; width: auto; height: auto; }
.bio2026 .bio-gallery a { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #f1ede6; }
.bio2026 .bio-gallery img {
    width: 100%; height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 25%;
    transition: transform .3s;
}
.bio2026 .bio-gallery a:hover img { transform: scale(1.06); }
.bio-gallery.is-collapsed li:nth-child(n+9) { display: none; }
.bio-more, .bio-share button {
    display: block;
    margin: 14px auto 0;
    padding: 9px 22px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #fff;
    color: var(--st-text);
    font-size: .92rem;
    cursor: pointer;
}
.bio-more:hover, .bio-share button:hover { border-color: var(--st-accent); color: var(--st-accent); }

/* Album */
.bio-album ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bio-album li { cursor: pointer; width: 120px; }
.bio-album li img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; display: block; transition: transform .2s, box-shadow .2s; }
.bio-album li:hover img { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.bio-album li::after { content: attr(title); display: block; margin-top: 6px; font-size: .85rem; line-height: 1.3; }
.bio-album iframe { width: 100%; height: 360px; border: 0; margin-top: 14px; border-radius: 10px; }
.bio-note { margin: 10px 0 0; font-size: .85rem; color: var(--st-muted); }

/* Chia sẻ */
.bio-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 0;
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
    font-size: .9rem;
    color: var(--st-muted);
}
.bio-share a {
    padding: 6px 14px;
    border-radius: 999px;
    background: #f6f1ea;
    color: var(--st-text);
    text-decoration: none;
}
.bio-share a:hover { background: var(--st-dark); color: #fff; }
.bio-share button { margin: 0; padding: 6px 14px; }

.bio-sticky { position: sticky; top: 66px; }

@media (max-width: 767px) {
    .bio-hero .bio-hero-in { grid-template-columns: 1fr; gap: 18px; padding: 22px 12px 24px; text-align: left; }
    .bio-portrait { max-width: 220px; margin: 0 auto; }
    .bio-head h1 { font-size: 1.55rem; }
    .bio-lead { font-size: 1rem; }
    .bio-content { font-size: 1.04rem; line-height: 1.75; }
    .bio2026 .bio-gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .bio-gallery.is-collapsed li:nth-child(n+7) { display: none; }
    .bio-sticky { position: static; }
}
/* Ghi đè CSS cũ (#listalbum, .imgthumbnnt trong nnt2022.min.css) */
.bio2026 #listalbum > ul { display: flex; flex-wrap: wrap; gap: 12px; }
.bio2026 #listalbum > ul > li { margin: 0; }
.bio2026 #listalbum > ul img { width: 120px; height: 120px; }
.bio2026 .imgthumbnnt > li { margin: 0; }
.bio2026 .imgthumbnnt > li img { width: 100%; height: 100%; }
