/* tokens.css */
/* Edit these tokens to update every shared BTH component. */
:root{
 --bth-color-on-primary:#fff;--bth-color-primary:#24636b;--bth-color-primary-hover:#194b52;
 --bth-color-text:#183d44;--bth-color-muted:#526b71;
 --bth-color-surface:#fff;--bth-color-subtle:#f1f8f9;--bth-color-border:#c4d8dc;
 --bth-color-accent:#b42e74;--bth-color-focus:#194f9a;
 --bth-color-warning-bg:#fff5db;--bth-color-warning-text:#644400;
 --bth-font-family:Arial,"Helvetica Neue",sans-serif;
 --bth-font-size:1rem;--bth-line-height:1.65;
 --bth-space-1:.25rem;--bth-space-2:.5rem;--bth-space-3:.75rem;--bth-space-4:1rem;--bth-space-6:1.5rem;--bth-space-8:2rem;
 --bth-radius-control:.65rem;--bth-radius-card:1rem;--bth-radius-pill:999px;
 --bth-shadow-card:0 5px 20px rgb(24 61 68 / 7%);
 --bth-control-height:44px;--bth-content-width:1200px;
}

/* pages/bth-screens.css */
/* Shared classic templates: single, archive/category/tag/author, search, page and 404. */
.bth-screen{padding:clamp(24px,4vw,56px) 20px;background:var(--bth-color-subtle);min-height:55vh}
.bth-screen>.bth-ui{width:100%;max-width:var(--bth-content-width)}
.bth-screen .bth-reading-width{max-width:860px}
.bth-screen .bth-ui-title{font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:anywhere;margin:.5rem 0 1rem}
.bth-screen :is(header,article,section,form,nav){min-width:0}
.bth-ui-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;font-size:.9rem;margin-bottom:1.5rem;color:var(--bth-color-muted)}
.bth-ui-breadcrumb a{color:var(--bth-color-primary);text-decoration:underline;text-underline-offset:3px}
.bth-site-search{margin:1.5rem 0 2rem;max-width:720px}
.bth-site-search__row{display:flex;align-items:stretch;gap:.75rem}
.bth-site-search__row>.bth-ui-input{flex:1;min-width:0;margin:0}
.bth-site-search__row>.bth-ui-button{flex-shrink:0;margin:0}
.bth-post-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.bth-post-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.bth-post-card__image{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bth-color-subtle)}
.bth-post-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.bth-post-card__body{display:flex;flex-direction:column;gap:.85rem;padding:1.5rem;flex:1}
.bth-post-card__body>:is(h2,p){margin:0}
.bth-post-card__body>.bth-ui-badge{align-self:flex-start;text-decoration:none}
.bth-post-card__body h2{font-size:1.15rem;overflow-wrap:anywhere}
.bth-post-card__body h2 a{color:var(--bth-color-text);text-decoration:none}
.bth-post-card__body h2 a:hover{color:var(--bth-color-primary);text-decoration:underline}
.bth-post-card__more{margin-top:auto;align-self:flex-start;font-weight:700;color:var(--bth-color-primary);text-decoration:underline;text-underline-offset:4px}
.bth-single{background:var(--bth-color-surface);border:1px solid var(--bth-color-border);border-radius:var(--bth-radius-card);padding:clamp(20px,4vw,40px);box-shadow:var(--bth-shadow-card)}
.bth-single__meta{color:var(--bth-color-muted);font-size:.9rem}
.bth-single__image{margin:1.5rem 0}
.bth-single__image img{display:block;width:100%;height:auto;border-radius:var(--bth-radius-control)}
.bth-reading{font-size:1.05rem;line-height:1.8;overflow-wrap:anywhere}
.bth-reading :is(h2,h3){color:var(--bth-color-text);line-height:1.35;margin:1.6em 0 .7em}
.bth-screen .bth-reading a{color:var(--bth-color-primary);text-decoration:underline;text-underline-offset:3px}
.bth-reading :is(img,video,iframe){max-width:100%;height:auto}
.bth-reading table{display:block;width:100%;overflow-x:auto;border-collapse:collapse}
.bth-reading :is(th,td){padding:.75rem;border:1px solid var(--bth-color-border);text-align:left}
.bth-reading pre{overflow-x:auto;max-width:100%;padding:1rem;background:var(--bth-color-subtle)}
.bth-reading blockquote{margin-inline:0;padding:1rem 1.5rem;border-inline-start:4px solid var(--bth-color-primary);background:var(--bth-color-subtle)}
.bth-public-author{padding:1rem;margin-top:2rem;display:flex;gap:1rem}
.bth-screen .post-navigation .nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0;overflow-wrap:anywhere}
.bth-screen .post-navigation a{display:flex;flex-direction:column;padding:1rem;background:var(--bth-color-surface);border:1px solid var(--bth-color-border);border-radius:var(--bth-radius-card);color:var(--bth-color-primary)}
.bth-screen .post-navigation a span{font-size:.85rem;color:var(--bth-color-muted)}
.bth-screen .bth-ui-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.bth-screen--404 .bth-reading-width{padding-block:2rem}
.bth-comments{margin-top:2rem}
.bth-comment-list{list-style:none;margin:0;padding:0}
.bth-comment-list .children{list-style:none;margin:1rem 0 0 1rem;padding:0}
.bth-comment{padding:1.25rem;margin-bottom:1rem}
.bth-comment header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem}
.bth-comment time{font-size:.85rem;color:var(--bth-color-muted)}
.bth-comments .bth-ui-input{width:100%}
@media(max-width:900px){.bth-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:549px){.bth-screen{padding:24px 14px}.bth-post-grid{grid-template-columns:minmax(0,1fr)}.bth-site-search__row{flex-direction:column}.bth-single{padding:18px}.bth-screen .post-navigation .nav-links{grid-template-columns:minmax(0,1fr)}}

.bth-author-box-initial{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:var(--bth-color-subtle);color:var(--bth-color-primary);font-size:2.5rem;font-weight:700}

/* pages/bth-home.css */
/* =========================================================
   BTH Home CSS
   Load trang chủ
========================================================= */

/* =========================================================
   2. Homepage
========================================================= */
.bth-home-v3,
.bth-home-v3 * {
  box-sizing: border-box;
}

.bth-home-v3 {
  font-family: inherit;
  color: var(--bth-ink);
  margin: 0 !important;
}

.bth-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}

.bth-section {
  padding: 34px 0;
}

.bth-title {
  max-width: 850px;
  margin: 0 auto 20px;
  text-align: center;
}

.bth-title h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.8px;
  color: var(--bth-teal-dark);
  font-weight: 900;
}

.bth-title p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--bth-muted);
}

.bth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: all .22s ease;
  cursor: pointer;
  line-height: 1.2;
}

.bth-btn-primary {
  background: var(--bth-teal);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 143, 148, .24);
}

.bth-btn-primary:hover {
  background: var(--bth-teal-dark);
  color: #fff;
  transform: translateY(-2px);
}

.bth-btn-outline {
  background: #fff;
  color: var(--bth-teal-dark);
  border-color: #b7dddd;
}

.bth-btn-outline:hover {
  border-color: var(--bth-teal);
  transform: translateY(-2px);
}

/* Hero */
.bth-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 8% 10%, rgba(168, 223, 224, .42), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(246, 169, 189, .16), transparent 26%),
    linear-gradient(180deg, #f9fefe 0%, #fff 100%);
  border: 1px solid #e2f2f2;
  border-radius: 34px;
  margin: 12px auto 0;
}

.bth-hero:before,
.bth-hero:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  opacity: .13;
  background:
    linear-gradient(90deg, var(--bth-teal) 2px, transparent 2px),
    linear-gradient(var(--bth-teal) 2px, transparent 2px);
  background-size: 34px 34px;
  border-radius: 40px;
  transform: rotate(18deg);
  pointer-events: none;
}

.bth-hero:before { left: -45px; top: 90px; }
.bth-hero:after { right: -50px; bottom: 20px; }

.bth-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 42px;
  align-items: center;
}

.bth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f7f7;
  border: 1px solid #c6eaea;
  color: var(--bth-teal-dark);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 18px;
}

.bth-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -1.7px;
  color: var(--bth-ink);
  font-weight: 900;
}

.bth-hero-desc {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--bth-muted);
}

.bth-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.bth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  max-width: 620px;
}

.bth-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e2f0f0;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(14, 84, 88, .05);
  min-width: 0;
}

.bth-stat div { min-width: 0; }
.bth-stat strong,
.bth-stat span { white-space: nowrap; }

.bth-stat i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 900;
}

.bth-stat:nth-child(1) i { background: #e4f6f6; color: var(--bth-teal-dark); }
.bth-stat:nth-child(2) i { background: #ffe8ef; color: #c24667; }
.bth-stat:nth-child(3) i { background: #fff6bf; color: #8a6a00; }

.bth-stat strong {
  display: block;
  line-height: 1;
  font-size: 17px;
  color: var(--bth-teal-dark);
}

.bth-stat span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--bth-muted);
}

/* Hero search */
.bth-common-card {
  border: 1px solid rgba(7, 59, 70, .08);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  color: var(--bth-ink);
  text-decoration: none !important;
  transition: all .2s ease;
}

.bth-common-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(14, 84, 88, .12);
}

.bth-el-pink { background: linear-gradient(180deg, #ffd2dd, var(--bth-pink)); }
.bth-el-teal { background: linear-gradient(180deg, #c7eeee, var(--bth-teal-soft)); }
.bth-el-yellow { background: linear-gradient(180deg, #ffe878, var(--bth-yellow)); }
.bth-el-purple { background: linear-gradient(180deg, #d8cdf8, var(--bth-purple)); }

.bth-common-card .num {
  display: block;
  text-align: left;
  font-size: 11px;
  color: var(--bth-teal-dark);
  font-weight: 900;
}

.bth-common-card .sym {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin: 4px 0;
  color: #071d25;
}

.bth-common-card .name {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.bth-common-card .mass {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #17313a;
  font-weight: 800;
}

/* Periodic table image */
.bth-periodic-section {
  padding: 36px 0 26px;
  background: #fff;
}

.bth-table-box {
  background: #fff;
  border: 1px solid #d9eceb;
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--bth-shadow);
}

.bth-table-image-card {
  background:
    linear-gradient(#f9fdfd, #f9fdfd) padding-box,
    linear-gradient(135deg, rgba(168, 223, 224, .9), rgba(246, 169, 189, .5), rgba(255, 213, 30, .45)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 14px;
  overflow: hidden;
}

.bth-table-image-card a { display: block; }

.bth-table-image-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.bth-table-note {
  margin: 0 0 14px;
  color: var(--bth-muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

/* How to read */
.bth-how {
  padding: 28px 0 10px !important;
  background:
    radial-gradient(circle at 8% 30%, rgba(168, 223, 224, .22), transparent 28%),
    radial-gradient(circle at 94% 60%, rgba(246, 169, 189, .12), transparent 24%),
    #f8fcfc;
}

.bth-how-panel {
  border: 1px solid #dceeee;
  border-radius: 30px;
  background: rgba(255, 255, 255, .86);
  padding: 24px;
  box-shadow: var(--bth-shadow);
  margin-bottom: 0 !important;
}

.bth-read-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 260px minmax(240px, 1fr);
  gap: 24px;
  align-items: center;
}

.bth-callouts {
  display: grid;
  gap: 14px;
}

.bth-callout {
  position: relative;
  background: #fff;
  border: 1px solid #dceaea;
  border-radius: 18px;
  padding: 16px;
  min-height: 92px;
}

.bth-callout strong {
  display: block;
  color: var(--bth-teal-dark);
  font-size: 16px;
  margin-bottom: 5px;
}

.bth-callout span {
  display: block;
  color: var(--bth-muted);
  line-height: 1.55;
  font-size: 14px;
}

.bth-fe-card {
  position: relative;
  width: 240px;
  height: 260px;
  margin: 0 auto;
  border-radius: 24px;
  border: 2px solid rgba(31, 143, 148, .35);
  background: linear-gradient(180deg, #c8eeee, #8fd0d0);
  box-shadow: 0 18px 40px rgba(31, 143, 148, .2);
  text-align: center;
  padding: 22px;
  overflow: hidden;
}

.bth-fe-card .fe-num {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 26px;
  font-weight: 900;
  color: var(--bth-ink);
}

.bth-fe-card .fe-group {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 18px;
  font-weight: 900;
  color: var(--bth-ink);
}

.bth-fe-card .fe-symbol {
  display: block;
  margin-top: 62px;
  font-size: 92px;
  font-weight: 900;
  line-height: .9;
  color: #061920;
}

.bth-fe-card .fe-name {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 900;
}

.bth-fe-card .fe-mass {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 7px auto 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

/* Common elements */
.bth-common {
  padding: 10px 0 42px !important;
  background: #fff;
  margin-top: 0 !important;
}

.bth-common-panel {
  border: 1px solid #e0eeee;
  border-radius: 30px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--bth-shadow);
}

.bth-common-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 14px;
}

.bth-common-card {
  min-height: 142px;
  padding: 12px 8px 10px;
}

.bth-common-card .sym { font-size: 36px; }

.bth-common-card .use {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(7, 59, 70, .13);
  color: #3d555e;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .bth-hero-grid { grid-template-columns: 1fr; }
  .bth-read-grid { grid-template-columns: 1fr; }
  .bth-read-grid .bth-callouts:first-child { order: 2; }
  .bth-fe-card { order: 1; }
  .bth-read-grid .bth-callouts:last-child { order: 3; }
  .bth-common-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 680px) {
  .bth-section,
  .bth-periodic-section,
  .bth-common {
    padding: 24px 0 !important;
  }

  .bth-wrap { padding: 0 14px; }

  .bth-hero {
    padding: 42px 0 30px;
    border-radius: 24px;
  }

  .bth-hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .bth-hero-desc { font-size: 16px; }

  .bth-table-box,
  .bth-how-panel,
  .bth-common-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .bth-stats { grid-template-columns: 1fr; max-width: 100%; }
  .bth-stat strong, .bth-stat span { white-space: normal; }

  .bth-table-image-card {
    padding: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bth-table-image-card img { min-width: 860px; }

  .bth-fe-card {
    width: 220px;
    height: 240px;
  }

  .bth-fe-card .fe-symbol { font-size: 78px; }
  .bth-common-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ================================
   SLIDE BLOG POST HOME - SAFE CSS
   Class UX Builder: slide-blogpost-home
================================ */

/* Wrapper chĂ­nh */
.slide-blogpost-home {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* KhĂ´ng chá»‰nh height cá»§a .flickity-viewport Ä‘á»ƒ trĂ¡nh slider bá»‹ máº¥t hiá»ƒn thá»‹ */

/* Cá»™t bĂ i viáº¿t */
.slide-blogpost-home .col {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Card bĂ i viáº¿t */
.slide-blogpost-home .box,
.slide-blogpost-home .box-blog-post {
    margin-bottom: 0 !important;
}

/* áº¢nh Ä‘áº¡i diá»‡n cá»‘ Ä‘á»‹nh chiá»u cao */
.slide-blogpost-home .box-image {
    height: 155px !important;
    overflow: hidden !important;
    border-radius: 10px;
}

/* Flatsome thÆ°á»ng dĂ¹ng .image-cover cĂ³ padding-top */
.slide-blogpost-home .box-image .image-cover {
    height: 100% !important;
    padding-top: 0 !important;
}

/* áº¢nh bĂªn trong phá»§ kĂ­n khung */
.slide-blogpost-home .box-image img,
.slide-blogpost-home .image-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Pháº§n text bĂªn dÆ°á»›i áº£nh */
.slide-blogpost-home .box-text {
    padding: 12px 8px 0 !important;
}

/* TiĂªu Ä‘á» tá»‘i Ä‘a 3 dĂ²ng */
.slide-blogpost-home .post-title,
.slide-blogpost-home .post-title a,
.slide-blogpost-home .box-text h5,
.slide-blogpost-home .box-text h5 a {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    min-height: 69px;
    max-height: 69px;
}

/* MĂ´ táº£ / excerpt tá»‘i Ä‘a 2 dĂ²ng */
.slide-blogpost-home .from_the_blog_excerpt {
    font-size: 14px !important;
    line-height: 1.45 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

/* Divider dÆ°á»›i tiĂªu Ä‘á» */
.slide-blogpost-home .is-divider {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Date badge */
.slide-blogpost-home .badge {
    margin-bottom: 0 !important;
}

/* Tablet */
@media (max-width: 849px) {
    .slide-blogpost-home .box-image {
        height: 135px !important;
    }

    .slide-blogpost-home .post-title,
    .slide-blogpost-home .post-title a,
    .slide-blogpost-home .box-text h5,
    .slide-blogpost-home .box-text h5 a {
        font-size: 15px !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 3;
        min-height: 61px;
        max-height: 61px;
    }

    .slide-blogpost-home .from_the_blog_excerpt {
        font-size: 13px !important;
    }
}

/* Mobile nhá» */
@media (max-width: 549px) {
    .slide-blogpost-home .box-image {
        height: 120px !important;
    }

    .slide-blogpost-home .post-title,
    .slide-blogpost-home .post-title a,
    .slide-blogpost-home .box-text h5,
    .slide-blogpost-home .box-text h5 a {
        font-size: 14px !important;
        line-height: 1.35 !important;
        min-height: 57px;
        max-height: 57px;
    }
}
/* Title section á»Ÿ trang chá»§ */
.home-section-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    color: #4F46E5;
    margin: 0 0 18px;
}

@media (max-width: 549px) {
    .home-section-title {
        font-size: 22px;
        margin-bottom: 14px;
    }
}


/* =========================================================
   BTH HOME HERO - GĂ“C Há»ŒC Táº¬P / COMPACT VERSION
   ========================================================= */

.bth-home-v3 .bth-learning-card {
  position: relative;
  overflow: hidden;
  align-self: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8ffff 100%);
  border: 1px solid rgba(21, 152, 149, 0.18);
  border-radius: 26px;
  padding: 24px 26px;
  box-shadow: 0 16px 42px rgba(10, 77, 86, 0.08);
}

.bth-home-v3 .bth-learning-card::before {
  content: "";
  position: absolute;
  top: -95px;
  right: -95px;
  width: 185px;
  height: 185px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.20), rgba(244, 114, 182, 0));
  pointer-events: none;
}

.bth-home-v3 .bth-learning-card::after {
  content: "";
  position: absolute;
  bottom: -105px;
  left: -105px;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 152, 149, 0.14), rgba(21, 152, 149, 0));
  pointer-events: none;
}

.bth-home-v3 .bth-learning-head,
.bth-home-v3 .bth-learning-grid,
.bth-home-v3 .bth-learning-classes,
.bth-home-v3 .bth-learning-cta {
  position: relative;
  z-index: 1;
}

.bth-home-v3 .bth-learning-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f7;
  color: #be185d;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 800;
}

.bth-home-v3 .bth-learning-head h2 {
  margin: 0 0 8px;
  color: #0f6f6f;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bth-home-v3 .bth-learning-head p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.bth-home-v3 .bth-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.bth-home-v3 .bth-learning-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-areas:
    "icon title"
    "icon desc";
  column-gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid rgba(21, 152, 149, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 7px 16px rgba(15, 111, 111, 0.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.bth-home-v3 .bth-learning-item:nth-child(3),
.bth-home-v3 .bth-learning-item:nth-child(6) {
  border-color: rgba(244, 114, 182, 0.22);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 100%);
}

.bth-home-v3 .bth-learning-item:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 152, 149, 0.42);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 111, 111, 0.1);
}

.bth-home-v3 .bth-learning-icon {
  grid-area: icon;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ecfeff;
  font-size: 19px;
  box-shadow: inset 0 0 0 1px rgba(21, 152, 149, 0.08);
}

.bth-home-v3 .bth-learning-item:nth-child(3) .bth-learning-icon,
.bth-home-v3 .bth-learning-item:nth-child(6) .bth-learning-icon {
  background: #fdf2f8;
}

.bth-home-v3 .bth-learning-item strong {
  grid-area: title;
  display: block;
  color: #0f4c5c;
  font-size: 14.5px;
  line-height: 1.18;
  font-weight: 800;
}

.bth-home-v3 .bth-learning-item small {
  grid-area: desc;
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.28;
}

.bth-home-v3 .bth-learning-classes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.bth-home-v3 .bth-learning-classes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f0fdfa;
  border: 1px solid rgba(21, 152, 149, 0.2);
  color: #0f766e;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.bth-home-v3 .bth-learning-classes a:hover {
  transform: translateY(-2px);
  background: #ccfbf1;
  border-color: rgba(21, 152, 149, 0.45);
  color: #0f4c5c;
}

.bth-home-v3 .bth-learning-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #159895;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(21, 152, 149, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.bth-home-v3 .bth-learning-cta a::after {
  content: " \2192";
  margin-left: 4px;
}

.bth-home-v3 .bth-learning-cta a:hover {
  transform: translateY(-2px);
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 152, 149, 0.3);
}

/* Tablet */
@media (max-width: 1024px) {
  .bth-home-v3 .bth-learning-card {
    padding: 23px;
    border-radius: 24px;
  }

  .bth-home-v3 .bth-learning-grid {
    gap: 9px;
  }

  .bth-home-v3 .bth-learning-item {
    min-height: 70px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .bth-home-v3 .bth-learning-card {
    padding: 22px;
    border-radius: 22px;
  }

  .bth-home-v3 .bth-learning-head h2 {
    font-size: 28px;
  }

  .bth-home-v3 .bth-learning-head p {
    font-size: 15px;
  }

  .bth-home-v3 .bth-learning-grid {
    grid-template-columns: 1fr;
  }

  .bth-home-v3 .bth-learning-item {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .bth-home-v3 .bth-learning-card {
    padding: 20px;
  }

  .bth-home-v3 .bth-learning-item {
    grid-template-columns: 38px 1fr;
    padding: 12px;
  }

  .bth-home-v3 .bth-learning-icon {
    width: 38px;
    height: 38px;
  }
}

/* pages/bth-periodic-table.css */
/* =========================================================
   BTH Periodic Table CSS
   Shortcode: [bang_tuan_hoan_interactive]
========================================================= */

/* ===============================
   Báº£ng tuáº§n hoĂ n tÆ°Æ¡ng tĂ¡c
   Shortcode: [bang_tuan_hoan_interactive]
================================ */

.bth-periodic-wrap {
    --bth-primary: #d63384;
    --bth-primary-dark: #b4236b;
    --bth-text: #10232b;
    --bth-muted: #475569;
    --bth-pink-text: #db4f8f;

    width: 100%;
    max-width: 1280px;
    margin: 28px auto;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 100%);
    border: 1px solid rgba(214, 51, 132, 0.14);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.bth-periodic-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.bth-periodic-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 900;
    color: var(--bth-text);
}

.bth-periodic-desc {
    max-width: 760px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--bth-muted);
}

.bth-periodic-search {
    width: min(320px, 100%);
    flex: 0 0 min(320px, 100%);
}

.bth-periodic-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(214, 51, 132, 0.24);
    background: #fff;
    color: var(--bth-text);
    font-size: 15px;
    outline: none;
    box-shadow: 0 8px 24px rgba(214, 51, 132, 0.08);
}

.bth-periodic-search input:focus {
    border-color: rgba(214, 51, 132, 0.7);
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.12);
}

/* Khung báº£ng */
.bth-periodic-scroll {
    width: 100%;
    overflow-x: visible;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.bth-periodic-grid {
    display: grid;
    grid-template-columns: repeat(18, minmax(0, 1fr));
    grid-template-rows: repeat(9, 86px);
    gap: 7px;
    width: 100%;
    min-width: 0;
}

/* Filter PC náº±m trong khoáº£ng trá»‘ng báº£ng */
.bth-mobile-filters {
    display: none;
}

.bth-desktop-filters {
    grid-column: 3 / 13;
    grid-row: 1 / 4;
    align-self: center;
    justify-self: center;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 9px;

    width: 100%;
    max-width: 760px;
    min-height: 190px;
    padding: 18px 20px;

    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(214, 51, 132, 0.12);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.045);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.bth-filter-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    background: #ffffff;
    color: #334155;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.bth-filter-btn:hover {
    color: #10232b;
    border-color: rgba(214, 51, 132, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.bth-filter-btn.is-active {
    background: var(--bth-primary);
    border-color: var(--bth-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.22);
}

.bth-filter-color {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.bth-cat-all {
    background: linear-gradient(135deg, #efb4c8 0%, #b7dfdf 35%, #f5dd5e 70%, #d9d4f4 100%);
}

.bth-cat-metal {
    background: linear-gradient(135deg, #efb4c8 0%, #f8dfa8 28%, #b9ddf2 58%, #bfe8ce 100%);
}

.bth-filter-btn.is-active .bth-filter-color {
    border-color: rgba(255, 255, 255, 0.75);
}

/* Ă” nguyĂªn tá»‘ */
.bth-element {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 12px 5px 8px;
    border-radius: 15px;
    text-decoration: none !important;
    color: #10232b;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.07);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
    overflow: hidden;
}

.bth-element::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,0));
    pointer-events: none;
}

.bth-element:hover {
    transform: translateY(-4px) scale(1.035);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.15);
    z-index: 3;
    filter: saturate(1.08);
}

.bth-element.is-hidden {
    opacity: .14;
    filter: grayscale(1);
    pointer-events: none;
}

.bth-atomic-number {
    position: absolute;
    top: 7px;
    left: 8px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    color: #24606a;
}

.bth-symbol {
    display: block;
    margin-top: 8px;
    text-align: center;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #071820;
    text-decoration: underline;
    text-decoration-color: rgba(236, 125, 196, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.bth-name {
    display: block;
    width: 100%;
    margin-top: 6px;
    text-align: center;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;
    color: var(--bth-pink-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: underline;
    text-decoration-color: rgba(236, 125, 196, 0.32);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.bth-mass {
    display: block;
    margin-top: 5px;
    text-align: center;
    font-size: 9.8px;
    line-height: 1;
    font-weight: 900;
    color: #3f5062;
}

/* Ghi chĂº */
.bth-periodic-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #536579;
    font-size: 13px;
    line-height: 1.5;
}

.bth-note-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 999px;
    background: var(--bth-primary);
    box-shadow: 0 0 0 5px rgba(214, 51, 132, 0.12);
}

/* MĂ u nhĂ³m nguyĂªn tá»‘ */
.bth-cat-alkali {
    background: #efb4c8;
}

.bth-cat-alkaline {
    background: #f8dfa8;
}

.bth-cat-transition {
    background: #b9ddf2;
}

.bth-cat-post-transition {
    background: #bfe8ce;
}

.bth-cat-metalloid {
    background: #d9d1f1;
}

.bth-cat-nonmetal {
    background: #edbfd0;
}

.bth-cat-halogen {
    background: #bfe7ee;
}

.bth-cat-noble {
    background: #f4dc62;
}

.bth-cat-lanthanide {
    background: #f6e781;
}

.bth-cat-actinide {
    background: #f5c9b4;
}

/* PC nhá» / laptop: co nháº¹ Ä‘á»ƒ váº«n full báº£ng */
@media (min-width: 850px) and (max-width: 1180px) {
    .bth-periodic-wrap {
        padding: 18px;
    }

    .bth-periodic-grid {
        grid-template-rows: repeat(9, 78px);
        gap: 6px;
    }

    .bth-desktop-filters {
        grid-column: 3 / 13;
        grid-row: 1 / 4;
        max-width: 620px;
        min-height: 170px;
        padding: 14px;
        gap: 7px;
    }

    .bth-filter-btn {
        font-size: 11px;
        padding: 7px 9px;
        gap: 6px;
    }

    .bth-filter-color {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .bth-element {
        padding: 10px 4px 7px;
        border-radius: 13px;
    }

    .bth-atomic-number {
        top: 6px;
        left: 6px;
        font-size: 10px;
    }

    .bth-symbol {
        font-size: 21px;
        margin-top: 7px;
    }

    .bth-name {
        font-size: 9px;
        margin-top: 5px;
    }

    .bth-mass {
        font-size: 9px;
        margin-top: 4px;
    }
}

/* Mobile */
@media (max-width: 849px) {
    .bth-periodic-wrap {
        margin: 18px auto;
        padding: 18px 14px;
        border-radius: 22px;
    }

    .bth-periodic-head {
        display: block;
    }

    .bth-periodic-search {
        width: 100%;
        margin-top: 14px;
    }

    .bth-periodic-title {
        font-size: 25px;
    }

    .bth-periodic-desc {
        font-size: 14px;
    }

    .bth-desktop-filters {
        display: none;
    }

    .bth-mobile-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;

        margin: 0 0 16px;
        padding: 12px;

        border-radius: 18px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(214, 51, 132, 0.12);
        box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
    }

    .bth-mobile-filters .bth-filter-btn {
        width: 100%;
        justify-content: flex-start;
        font-size: 12px;
        padding: 8px 10px;
    }

    .bth-periodic-scroll {
        overflow-x: auto;
    }

    .bth-periodic-grid {
        grid-template-columns: repeat(18, 60px);
        grid-template-rows: repeat(9, 82px);
        gap: 7px;
        width: auto;
        min-width: 1200px;
    }

    .bth-symbol {
        font-size: 23px;
    }

    .bth-name {
        font-size: 9.5px;
    }

    .bth-mass {
        font-size: 9.5px;
    }

    .bth-periodic-note {
        align-items: flex-start;
        font-size: 12px;
    }
}

/* pages/bth-element-single.css */
/* =========================================================
   BTH Element Single CSS
   Page: /nguyen-to/{slug}/
========================================================= */

/* =========================================================
   3. Element Overview
========================================================= */
.bth-element-overview {
  --bth-el-teal: #178b8f;
  --bth-el-teal-dark: #075f65;
  --bth-el-ink: #073b46;
  --bth-el-muted: #647987;
  --bth-el-border: #d8eded;
  --bth-el-pink: #f7a9bd;
  --bth-el-aqua: #aee1e1;
  --bth-el-yellow: #ffd84d;
  --bth-el-purple: #bda8ef;
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0 16px;
  font-family: inherit;
  color: var(--bth-el-ink);
}

.bth-element-overview * { box-sizing: border-box; }

.bth-el-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
  background: linear-gradient(135deg, #f6fbfb 0%, #fff 58%, #fff7f9 100%);
  border: 1px solid var(--bth-el-border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(7, 59, 70, .08);
  overflow: hidden;
  position: relative;
}

.bth-el-hero:before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(23, 139, 143, .08);
  left: -130px;
  top: -150px;
}

.bth-el-card {
  position: relative;
  min-height: 320px;
  border-radius: 26px;
  border: 1px solid rgba(7, 59, 70, .12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 30px rgba(7, 59, 70, .08);
}

.bth-el-nonmetal,
.bth-el-halogen { background: linear-gradient(180deg, #ffd6e0, var(--bth-el-pink)); }

.bth-el-alkali,
.bth-el-alkaline,
.bth-el-transition,
.bth-el-post,
.bth-el-lanthanide,
.bth-el-actinide { background: linear-gradient(180deg, #cef1f1, var(--bth-el-aqua)); }

.bth-el-noble { background: linear-gradient(180deg, #ffe978, var(--bth-el-yellow)); }
.bth-el-metalloid { background: linear-gradient(180deg, #d8cdf8, var(--bth-el-purple)); }

.bth-el-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--bth-el-teal-dark);
  font-weight: 900;
}

.bth-el-z { font-size: 24px; }

.bth-el-category-pill {
  font-size: 13px;
  background: rgba(255, 255, 255, .45);
  padding: 7px 10px;
  border-radius: 999px;
}

.bth-el-symbol {
  display: block;
  text-align: center;
  font-size: 110px;
  line-height: .95;
  font-weight: 900;
  color: #071d25;
  letter-spacing: -3px;
}

.bth-el-name {
  display: block;
  text-align: center;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  color: #071d25;
}

.bth-el-mass {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #143640;
  margin-top: 8px;
}

.bth-el-content {
  position: relative;
  z-index: 1;
  padding: 8px 0;
  order: 2;
}

.bth-el-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f8f8;
  border: 1px solid #c8e9e9;
  color: var(--bth-el-teal-dark);
  font-weight: 900;
  border-radius: 999px;
  padding: 8px 13px;
  margin-bottom: 14px;
}

.bth-el-content h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 0 0 14px;
  color: var(--bth-el-ink);
  font-weight: 900;
}

.bth-el-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--bth-el-muted);
  margin: 0 0 22px;
  max-width: 760px;
}

.bth-el-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.bth-el-fact {
  background: #fff;
  border: 1px solid var(--bth-el-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(7, 59, 70, .045);
}

.bth-el-fact span {
  display: block;
  color: var(--bth-el-muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.bth-el-fact strong {
  display: block;
  color: var(--bth-el-ink);
  font-size: 24px;
  line-height: 1.2;
}

.bth-el-fact-wide { grid-column: span 2; }
.bth-el-fact-small strong { font-size: 20px; }

.bth-el-meta-text {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Buttons dÆ°á»›i card */
.bth-el-card-actions,
.bth-element-actions,
.bth-overview-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: 14px !important;
}

.bth-el-card-actions a,
.bth-element-actions a,
.bth-overview-actions a {
  width: 100% !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 999px;
  font-size: 18px !important;
  font-weight: 800 !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.bth-el-card-actions a:first-child,
.bth-element-actions a:first-child,
.bth-overview-actions a:first-child {
  background: #1c9aa0;
  color: #ffffff;
  border: 1px solid #1c9aa0;
}

.bth-el-card-actions a:last-child,
.bth-element-actions a:last-child,
.bth-overview-actions a:last-child {
  background: #ffffff;
  color: #0f6a70;
  border: 1.5px solid #b9dfe1;
}

.bth-el-card-actions a:hover,
.bth-element-actions a:hover,
.bth-overview-actions a:hover {
  transform: translateY(-1px);
  transition: all .2s ease;
}

@media (max-width: 900px) {
  .bth-el-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
  }

  .bth-el-content { order: 1; }
  .bth-el-card { order: 2; max-width: 360px; margin: 0 auto; width: 100%; min-height: 280px; }
  .bth-el-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .bth-element-overview { padding: 0 12px; }
  .bth-el-content h1 { font-size: 34px; }
  .bth-el-desc { font-size: 16px; }

  .bth-el-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .bth-el-fact {
    min-height: 92px !important;
    padding: 14px !important;
    border-radius: 18px;
  }

  .bth-el-fact span {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .bth-el-fact strong {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  .bth-el-fact:last-child {
    grid-column: 1 / -1 !important;
  }

  .bth-el-fact:last-child strong {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .bth-el-symbol { font-size: 86px; }
  .bth-el-name { font-size: 28px; }

  .bth-el-card-actions a,
  .bth-element-actions a,
  .bth-overview-actions a {
    font-size: 17px !important;
    min-height: 54px !important;
  }
}


/* =========================================================
   5. Element Content SEO
========================================================= */
.bth-element-content {
  --bthc-primary: #1c9aa0;
  --bthc-primary-dark: #11757a;
  --bthc-bg: #f5fbfb;
  --bthc-card: #ffffff;
  --bthc-text: #113b3f;
  --bthc-muted: #647b7d;
  --bthc-border: #d9eeee;
  --bthc-soft: #eefafa;
  padding: 32px 0 48px;
  color: var(--bthc-text);
}

.bth-element-content .bth-content-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.bth-element-content .bth-content-intro {
  background: linear-gradient(135deg, #f2fbfb 0%, #ffffff 58%, #fff8ec 100%);
  border: 1px solid var(--bthc-border);
  border-radius: 28px;
  padding: 30px 32px;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(20, 95, 100, .06);
}

.bth-element-content .bth-content-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e6f8f8;
  color: var(--bthc-primary-dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.bth-element-content h2 {
  color: var(--bthc-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  margin: 0 0 14px;
  letter-spacing: -.35px;
}

.bth-element-content p {
  color: var(--bthc-muted);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 14px;
}

.bth-element-content p:last-child { margin-bottom: 0; }
.bth-element-content strong { color: var(--bthc-text); }

.bth-element-content .bth-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.bth-element-content .bth-content-grid-two { align-items: stretch; }

.bth-element-content .bth-content-card {
  background: var(--bthc-card);
  border: 1px solid var(--bthc-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(20, 95, 100, .055);
}

.bth-element-content .bth-content-card-highlight {
  background: linear-gradient(180deg, #ecfbfb 0%, #ffffff 100%);
}

.bth-element-content .bth-content-wide {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fcfc 100%);
}

.bth-element-content .bth-content-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--bthc-muted);
  line-height: 1.75;
  font-size: 16px;
}

.bth-element-content .bth-electron-pill {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #cfe9ea;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.bth-element-content .bth-electron-pill span {
  color: var(--bthc-muted);
  font-size: 14px;
  font-weight: 700;
}

.bth-element-content .bth-electron-pill strong {
  color: var(--bthc-primary-dark);
  font-size: 18px;
  text-align: right;
}

.bth-element-content .bth-memory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bth-element-content .bth-memory-list > span {
  background: var(--bthc-soft);
  border: 1px solid var(--bthc-border);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--bthc-muted);
  font-size: 14px;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.bth-element-content .bth-memory-list > span > strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: var(--bthc-primary-dark);
  margin: 0 0 5px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bth-element-content .bth-memory-list > span.bth-memory-mass {
  grid-column: 1 / -1;
}

.bth-element-content .bth-memory-list > span.bth-memory-mass > strong,
.bth-element-content .bth-memory-list > span.bth-memory-mass .bth-mass-pair {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.bth-element-content .bth-content-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--bthc-border);
}

.bth-element-content .bth-content-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0;
}

.bth-element-content .bth-content-table th,
.bth-element-content .bth-content-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #edf6f6;
  text-align: left;
  font-size: 15px;
}

.bth-element-content .bth-content-table th {
  width: 45%;
  color: var(--bthc-muted);
  font-weight: 700;
  background: #f7fcfc;
}

.bth-element-content .bth-content-table td {
  color: var(--bthc-text);
  font-weight: 800;
}

.bth-element-content .bth-content-table tr:last-child th,
.bth-element-content .bth-content-table tr:last-child td {
  border-bottom: 0;
}

.bth-element-content .bth-content-faq { margin-top: 20px; }

.bth-element-content .bth-content-faq details {
  border: 1px solid var(--bthc-border);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fbfefe;
  margin-top: 12px;
}

.bth-element-content .bth-content-faq summary {
  cursor: pointer;
  color: var(--bthc-text);
  font-weight: 800;
  font-size: 16px;
}

.bth-element-content .bth-content-faq details p {
  font-size: 16px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .bth-element-content .bth-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bth-element-content {
    padding: 26px 0 38px;
  }

  .bth-element-content .bth-content-intro,
  .bth-element-content .bth-content-card {
    border-radius: 20px;
    padding: 20px;
  }

  .bth-element-content h2 { font-size: 23px; }

  .bth-element-content p {
    font-size: 16px;
    line-height: 1.72;
  }

  .bth-element-content .bth-electron-pill {
    flex-direction: column;
    align-items: flex-start;
  }

  .bth-element-content .bth-electron-pill strong { text-align: left; }

  .bth-element-content .bth-memory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bth-element-content .bth-memory-list > span {
    min-height: 92px;
    padding: 13px 12px;
  }

  .bth-element-content .bth-memory-list > span.bth-memory-mass {
    grid-column: 1 / -1;
  }

  .bth-element-content .bth-content-table th,
  .bth-element-content .bth-content-table td {
    padding: 12px;
    font-size: 14px;
  }
}


/* =========================================================
   BTH OVERVIEW PATCH MERGED - buttons + element card height
   ÄĂ£ gá»™p tá»« patch card/buttons v2
========================================================= */

/* =========================================================
   BTH OVERVIEW PATCH - buttons + element card height
========================================================= */

/* 1) Cá»¥m 2 nĂºt dÆ°á»›i card nguyĂªn tá»‘ */
.bth-element-overview .bth-el-card-actions,
.bth-element-overview .bth-element-actions,
.bth-element-overview .bth-overview-actions,
.bth-element-overview .bth-el-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 14px auto 0 !important;
  padding: 0 !important;
}

.bth-element-overview .bth-el-card-actions a,
.bth-element-overview .bth-element-actions a,
.bth-element-overview .bth-overview-actions a,
.bth-element-overview .bth-el-actions a,
.bth-element-overview a.bth-el-btn {
  width: 100% !important;
  min-height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 22px !important;
  border-radius: 999px;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

.bth-element-overview .bth-el-card-actions a:first-child,
.bth-element-overview .bth-element-actions a:first-child,
.bth-element-overview .bth-overview-actions a:first-child,
.bth-element-overview .bth-el-actions a:first-child {
  background: #178b8f;
  color: #fff;
  border: 1px solid #178b8f;
  box-shadow: 0 12px 24px rgba(23, 139, 143, .18);
}

.bth-element-overview .bth-el-card-actions a:last-child,
.bth-element-overview .bth-element-actions a:last-child,
.bth-element-overview .bth-overview-actions a:last-child,
.bth-element-overview .bth-el-actions a:last-child {
  background: #fff;
  color: #075f65;
  border: 1.5px solid #bddfe0;
  box-shadow: none;
}

.bth-element-overview .bth-el-card-actions a:hover,
.bth-element-overview .bth-element-actions a:hover,
.bth-element-overview .bth-overview-actions a:hover,
.bth-element-overview .bth-el-actions a:hover {
  transform: translateY(-1px) !important;
}

/* 2) PC: lĂ m card nguyĂªn tá»‘ cao hÆ¡n má»™t chĂºt, cĂ¢n Ä‘á»‘i vá»›i cá»™t thĂ´ng tin */
@media (min-width: 901px) {
  .bth-element-overview .bth-el-card {
    min-height: 370px !important;
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .bth-element-overview .bth-el-symbol {
    font-size: 116px !important;
  }

  .bth-element-overview .bth-el-card-actions,
  .bth-element-overview .bth-element-actions,
  .bth-element-overview .bth-overview-actions,
  .bth-element-overview .bth-el-actions {
    max-width: 320px !important;
  }
}

/* 3) Trong card nguyĂªn tá»‘: giá»¯ nguyĂªn tá»­ khá»‘i + sá»‘ lĂ m trĂ²n + cáº¥u hĂ¬nh e gá»n */
.bth-element-overview .bth-el-card .bth-el-mass {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 10px auto 0 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.bth-element-overview .bth-el-card .bth-mass-pair {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: none !important;
  line-height: 1 !important;
}

.bth-element-overview .bth-el-card .bth-mass-exact {
  display: inline-block !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.bth-element-overview .bth-el-card .bth-mass-round {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px 8px !important;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,118,110,.18);
  color: #0f766e;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* 4) Mobile giá»¯ card gá»n, khĂ´ng kĂ©o cao */
@media (max-width: 900px) {
  .bth-element-overview .bth-el-card {
    min-height: 300px !important;
  }

  .bth-element-overview .bth-el-card-actions,
  .bth-element-overview .bth-element-actions,
  .bth-element-overview .bth-overview-actions,
  .bth-element-overview .bth-el-actions {
    max-width: 100% !important;
  }
}

/* pages/bth-element-type.css */
/* =========================================================
   BTH Element Type CSS
   Pages: /kim-loai/, /phi-kim/, /a-kim/, ...
========================================================= */

/* =========================================================
   6. Trang nhĂ³m nguyĂªn tá»‘ + Breadcrumb
========================================================= */
.bth-type-landing {
  --bth-type-main: #1c9aa0;
  --bth-type-soft: #e9fbfb;
  --bth-type-border: #cfeff0;
  --bth-type-text: #173b3f;
  --bth-type-muted: #60767a;
  background: #ffffff;
  color: var(--bth-type-text);
}

.bth-type-landing.bth-type-nonmetal {
  --bth-type-main: #e86b91;
  --bth-type-soft: #fff1f5;
  --bth-type-border: #ffd4e1;
}

.bth-type-landing.bth-type-noble {
  --bth-type-main: #d49a14;
  --bth-type-soft: #fff8dc;
  --bth-type-border: #f8e7a6;
}

.bth-type-landing.bth-type-halogen {
  --bth-type-main: #9c6ade;
  --bth-type-soft: #f5efff;
  --bth-type-border: #e3d2ff;
}

.bth-type-landing.bth-type-metalloid {
  --bth-type-main: #7d65c8;
  --bth-type-soft: #f4f1ff;
  --bth-type-border: #ddd6ff;
}

.bth-type-landing.bth-type-alkali,
.bth-type-landing.bth-type-alkaline,
.bth-type-landing.bth-type-transition,
.bth-type-landing.bth-type-post-transition,
.bth-type-landing.bth-type-metal,
.bth-type-landing.bth-type-lanthanide,
.bth-type-landing.bth-type-actinide {
  --bth-type-main: #1c9aa0;
  --bth-type-soft: #ecfbfa;
  --bth-type-border: #c8eeee;
}

.bth-type-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.bth-type-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid rgba(207, 239, 240, .72);
  padding: 14px 0;
}

.bth-type-breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
}

.bth-type-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--bth-type-muted, #60767a);
  font-weight: 700;
}

.bth-type-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #aac4c6;
  font-weight: 600;
}

.bth-type-breadcrumb a {
  color: var(--bth-type-main, #1c9aa0);
  text-decoration: none !important;
}

.bth-type-breadcrumb a:hover { text-decoration: underline !important; }
.bth-type-breadcrumb span { color: #274a4e; }

.bth-type-hero {
  padding: 48px 0 30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(28, 154, 160, .14), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(232, 107, 145, .12), transparent 32%),
    linear-gradient(180deg, #f7ffff 0%, #ffffff 100%);
}

.bth-type-hero-inner {
  border: 1px solid var(--bth-type-border);
  background: rgba(255, 255, 255, .88);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: 0 20px 56px rgba(20, 80, 80, .08);
  text-align: center;
}

.bth-type-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bth-type-main);
  background: var(--bth-type-soft);
  border: 1px solid var(--bth-type-border);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.bth-type-hero h1 {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #12383d;
}

.bth-type-hero p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--bth-type-muted);
  font-size: 18px;
  line-height: 1.75;
}

.bth-type-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 28px auto 0;
}

.bth-type-hero-stats div {
  background: #fff;
  border: 1px solid var(--bth-type-border);
  border-radius: 20px;
  padding: 18px;
}

.bth-type-hero-stats strong {
  display: block;
  color: var(--bth-type-main);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.bth-type-hero-stats span {
  display: block;
  margin-top: 5px;
  color: var(--bth-type-muted);
  font-size: 14px;
  font-weight: 700;
}

.bth-type-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.bth-type-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none !important;
  font-weight: 800;
  transition: all .2s ease;
}

.bth-type-actions a:first-child {
  background: var(--bth-type-main);
  color: #fff;
  box-shadow: 0 12px 26px rgba(28, 154, 160, .22);
}

.bth-type-actions a:last-child {
  background: #fff;
  border: 1px solid var(--bth-type-border);
  color: var(--bth-type-main);
}

.bth-type-actions a:hover { transform: translateY(-2px); }

.bth-type-content { padding: 38px 0 58px; }

.bth-type-intro-card {
  background: var(--bth-type-soft);
  border: 1px solid var(--bth-type-border);
  border-radius: 26px;
  padding: 26px;
  margin-bottom: 30px;
}

.bth-type-intro-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  color: #12383d;
}

.bth-type-intro-card p {
  margin: 0;
  color: var(--bth-type-muted);
  font-size: 17px;
  line-height: 1.75;
}

.bth-type-grid-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin: 0 0 22px;
}

.bth-type-grid-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  color: #12383d;
}

.bth-type-grid-head p {
  max-width: 760px;
  margin: 0;
  color: var(--bth-type-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bth-type-grid-head > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bth-type-soft);
  color: var(--bth-type-main);
  border: 1px solid var(--bth-type-border);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
}

.bth-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bth-type-card {
  position: relative;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--bth-type-border);
  box-shadow: 0 10px 28px rgba(20, 80, 80, .055);
  transition: all .2s ease;
  overflow: hidden;
}

.bth-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(20, 80, 80, .12);
}

.bth-type-card .bth-type-z {
  position: absolute;
  top: 12px;
  left: 13px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #46676b;
  font-weight: 900;
  font-size: 13px;
}

.bth-type-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: #102f33;
  margin-top: 12px;
}

.bth-type-card em {
  display: block;
  margin-top: 9px;
  color: #244a4e;
  font-style: normal;
  font-size: 17px;
  font-weight: 900;
}

.bth-type-card small {
  display: block;
  margin-top: 5px;
  color: #667b7f;
  font-size: 13px;
  font-weight: 700;
}

.bth-type-card .bth-type-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  color: #45686c;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, .7);
  border-radius: 999px;
  padding: 6px 10px;
}

.bth-type-card.bth-el-type-nonmetal { background: #fff1f5; border-color: #ffd4e1; }
.bth-type-card.bth-el-type-halogen { background: #f5efff; border-color: #e3d2ff; }
.bth-type-card.bth-el-type-noble { background: #fff8dc; border-color: #f8e7a6; }
.bth-type-card.bth-el-type-metalloid { background: #f4f1ff; border-color: #ddd6ff; }

.bth-type-card.bth-el-type-alkali,
.bth-type-card.bth-el-type-alkaline,
.bth-type-card.bth-el-type-transition,
.bth-type-card.bth-el-type-post-transition,
.bth-type-card.bth-el-type-lanthanide,
.bth-type-card.bth-el-type-actinide {
  background: #ecfbfa;
  border-color: #c8eeee;
}

.bth-type-faq {
  margin-top: 38px;
  background: #fff;
  border: 1px solid #dceced;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 12px 34px rgba(20, 80, 80, .06);
}

.bth-type-faq h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  color: #12383d;
}

.bth-type-faq details {
  border-top: 1px solid #edf4f4;
  padding: 16px 0;
}

.bth-type-faq details:first-of-type { border-top: 0; }

.bth-type-faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  color: #12383d;
}

.bth-type-faq p {
  margin: 10px 0 0;
  color: var(--bth-type-muted);
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .bth-type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .bth-type-breadcrumb { padding: 11px 0; }
  .bth-type-breadcrumb ol { font-size: 13px; gap: 6px; }
  .bth-type-breadcrumb li:not(:last-child)::after { margin-left: 6px; }

  .bth-type-hero { padding: 34px 0 22px; }

  .bth-type-hero-inner {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .bth-type-hero p { font-size: 16px; }

  .bth-type-hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bth-type-hero-stats div {
    padding: 14px;
  }

  .bth-type-hero-stats strong { font-size: 24px; }

  .bth-type-grid-head { display: block; }
  .bth-type-grid-head > span { margin-top: 14px; }

  .bth-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .bth-type-card {
    min-height: 154px;
    border-radius: 18px;
    padding: 15px 10px;
  }

  .bth-type-card strong { font-size: 34px; }
  .bth-type-card em { font-size: 15px; }
  .bth-type-card small { font-size: 12px; }
  .bth-type-card .bth-type-meta { font-size: 11px; padding: 5px 8px; }

  .bth-type-intro-card,
  .bth-type-faq {
    padding: 20px;
    border-radius: 22px;
  }
}

/* pages/bth-elements-directory.css */
/* =========================================================
   BTH Elements Directory CSS
   Page: /nguyen-to/
========================================================= */

/* =========================================================
   4. Elements Directory: /nguyen-to/
========================================================= */
.bth-elements-directory {
  --bth-ed-teal: #128c8d;
  --bth-ed-teal-dark: #075f64;
  --bth-ed-text: #0b3f49;
  --bth-ed-muted: #647887;
  --bth-ed-border: #d7eeee;
  --bth-ed-bg: #f6fbfb;
  --bth-ed-metal: #bfeeee;
  --bth-ed-nonmetal: #f7bfd0;
  --bth-ed-noble: #ffdc3d;
  --bth-ed-metalloid: #c9b9f1;
  --bth-ed-white: #ffffff;
  color: var(--bth-ed-text);
}

.bth-elements-directory * { box-sizing: border-box; }

.bth-ed-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}

.bth-ed-hero {
  padding: 56px 0 36px;
  background: radial-gradient(circle at 7% 6%, rgba(18, 140, 141, .12), transparent 30%), linear-gradient(180deg, #f8ffff 0%, #fff 100%);
  border-radius: 0 0 34px 34px;
}

.bth-ed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 32px;
  align-items: stretch;
}

.bth-ed-kicker {
  display: inline-flex;
  align-items: center;
  background: #e2f7f7;
  border: 1px solid #bee8e8;
  color: var(--bth-ed-teal-dark);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 800;
  margin-bottom: 16px;
}

.bth-ed-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.03;
  letter-spacing: -1.8px;
  color: var(--bth-ed-teal-dark);
  margin: 0 0 20px;
}

.bth-ed-hero p {
  font-size: 20px;
  line-height: 1.75;
  color: var(--bth-ed-muted);
  max-width: 760px;
  margin: 0;
}

.bth-ed-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 600px;
}

.bth-ed-stats div {
  background: #fff;
  border: 1px solid var(--bth-ed-border);
  border-radius: 22px;
  padding: 17px 18px;
  box-shadow: 0 14px 34px rgba(13, 98, 105, .06);
}

.bth-ed-stats strong {
  display: block;
  color: var(--bth-ed-teal);
  font-size: 28px;
  line-height: 1;
}

.bth-ed-stats span {
  display: block;
  margin-top: 6px;
  color: var(--bth-ed-muted);
  font-weight: 700;
}

.bth-ed-search-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--bth-ed-border);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 26px 70px rgba(12, 74, 83, .09);
}

.bth-ed-search-card h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--bth-ed-teal-dark);
}

.bth-ed-search-card p {
  font-size: 17px;
  margin: 0 0 22px;
}

.bth-ed-search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 20px;
}

.bth-ed-search-box input {
  min-height: 56px !important;
  border: 1.5px solid #cce8e8;
  border-radius: 18px;
  padding: 0 18px !important;
  font-size: 16px !important;
  box-shadow: none;
  background: #fff;
  margin: 0 !important;
}

.bth-ed-search-box button,
.bth-ed-filters button,
.bth-ed-quick button {
  cursor: pointer;
  font-family: inherit;
}

.bth-ed-search-box button {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  padding: 0 20px;
  background: var(--bth-ed-teal);
  color: #fff;
  font-weight: 800;
}

.bth-ed-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--bth-ed-muted);
  font-weight: 700;
}

.bth-ed-quick button {
  border: 1px solid #cce8e8;
  background: #f7ffff;
  color: var(--bth-ed-teal-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}

.bth-ed-filter-section { padding: 34px 0 16px; }

.bth-ed-filter-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 18px;
}

.bth-ed-filter-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 8px;
  color: var(--bth-ed-teal-dark);
}

.bth-ed-filter-head p {
  margin: 0;
  color: var(--bth-ed-muted);
  font-size: 18px;
}

.bth-ed-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--bth-ed-border);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(13, 98, 105, .05);
}

.bth-ed-filters button {
  border: 1.5px solid #cce8e8;
  background: #fff;
  color: var(--bth-ed-teal-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  transition: all .2s ease;
}

.bth-ed-filters button:hover,
.bth-ed-filters button.is-active {
  background: var(--bth-ed-teal);
  border-color: var(--bth-ed-teal);
  color: #fff;
  transform: translateY(-1px);
}

.bth-ed-grid-section { padding: 34px 0 56px; }

.bth-ed-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.bth-ed-grid-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 8px;
  color: var(--bth-ed-teal-dark);
}

.bth-ed-grid-head p {
  margin: 0;
  color: var(--bth-ed-muted);
  font-size: 17px;
}

.bth-ed-count {
  flex: 0 0 auto;
  color: var(--bth-ed-teal-dark);
  font-weight: 900;
  background: #e8f8f8;
  border: 1px solid #cce8e8;
  padding: 11px 16px;
  border-radius: 999px;
}

.bth-ed-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.bth-ed-card {
  min-height: 190px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 18px 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(8, 96, 101, .16);
  color: #082f38;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(13, 98, 105, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}

.bth-ed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(13, 98, 105, .13);
  border-color: rgba(8, 96, 101, .32);
}

.bth-ed-card[hidden] { display: none !important; }

.bth-ed-z {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--bth-ed-teal-dark);
}

.bth-ed-symbol {
  display: block;
  font-size: 44px;
  line-height: .95;
  font-weight: 900;
  letter-spacing: -1px;
  margin-top: 16px;
}

.bth-ed-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-top: 9px;
}

.bth-ed-mass {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 14px;
  font-weight: 800;
  margin-top: 5px;
}

.bth-ed-meta {
  display: block;
  font-size: 12px;
  color: rgba(8, 47, 56, .72);
  margin-top: 9px;
  font-weight: 700;
}

.bth-ed-type-label {
  display: inline-flex;
  align-self: center;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 900;
}

.bth-ed-type-alkali,
.bth-ed-type-alkaline,
.bth-ed-type-transition,
.bth-ed-type-post-transition,
.bth-ed-type-lanthanide,
.bth-ed-type-actinide { background: linear-gradient(180deg, #c8f2f2, #a9e0e0); }

.bth-ed-type-nonmetal,
.bth-ed-type-halogen { background: linear-gradient(180deg, #ffd8e3, #f2a8c0); }

.bth-ed-type-noble { background: linear-gradient(180deg, #ffe871, #ffd21f); }
.bth-ed-type-metalloid { background: linear-gradient(180deg, #d9ccfa, #bca9ec); }

.bth-ed-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #cce8e8;
  border-radius: 20px;
  padding: 22px;
  color: var(--bth-ed-muted);
  font-size: 17px;
  margin: 18px 0 0;
}

@media (max-width: 1180px) {
  .bth-ed-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .bth-ed-hero-grid { grid-template-columns: 1fr; }
  .bth-ed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bth-ed-grid-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .bth-ed-wrap { padding: 0 14px; }
  .bth-ed-hero { padding: 34px 0 26px; }
  .bth-ed-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .bth-ed-hero p { font-size: 16px; line-height: 1.65; }
  .bth-ed-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bth-ed-stats div { padding: 12px 10px; border-radius: 16px; text-align: center; }
  .bth-ed-stats strong { font-size: 22px; }
  .bth-ed-stats span { font-size: 12px; }
  .bth-ed-search-card { padding: 18px; border-radius: 24px; }
  .bth-ed-search-card h2 { font-size: 26px; }
  .bth-ed-search-box { grid-template-columns: 1fr; }
  .bth-ed-filter-head h2, .bth-ed-grid-head h2 { font-size: 27px; }
  .bth-ed-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 12px; border-radius: 20px; }
  .bth-ed-filters button { flex: 0 0 auto; }
  .bth-ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .bth-ed-card { min-height: 170px; padding: 16px 9px 12px; border-radius: 18px; }
  .bth-ed-symbol { font-size: 38px; }
  .bth-ed-name { font-size: 16px; }
  .bth-ed-meta { font-size: 11px; }
}

/* pages/bth-learning-intro.css */
/* =========================================================
   BTH Learning Intro CSS
   Shortcode: [bth_learning_intro]
========================================================= */

/* =========================================================
   BTH Learning Intro Shortcode v1.3 - Mini Post CTA
   Shortcode: [bth_learning_intro]
   Há»— trá»£ title dĂ¹ng H2 hoáº·c H3
   ========================================================= */

.bth-learning-intro {
  --bth-li-teal: #159895;
  --bth-li-teal-dark: #0f766e;
  --bth-li-pink: #db2777;
  --bth-li-pink-dark: #be185d;
  --bth-li-pink-soft: #fff1f7;
  --bth-li-text: #0f172a;
  --bth-li-muted: #64748b;
  --bth-li-border: rgba(21, 152, 149, 0.18);

  margin: 20px 0;
  padding: 14px;
  border: 1px solid var(--bth-li-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(219, 39, 119, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5ffff 100%);
  box-shadow: 0 8px 20px rgba(10, 77, 86, 0.045);
  color: var(--bth-li-text);
}

.bth-learning-intro,
.bth-learning-intro * {
  box-sizing: border-box;
}

.bth-learning-intro a {
  text-decoration: none;
}

.bth-learning-intro-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bth-learning-intro-copy {
  min-width: 0;
}

.bth-learning-intro-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bth-li-pink-soft);
  color: var(--bth-li-pink-dark);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.bth-learning-intro h2,
.bth-learning-intro h3 {
  margin: 0 0 5px;
  padding: 0;
  color: #0f6f6f;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.025em;
  border: 0;
}

.bth-learning-intro p {
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: var(--bth-li-muted);
  font-size: 13px;
  line-height: 1.45;
}

.bth-learning-intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bth-li-teal);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(21, 152, 149, 0.18);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.bth-learning-intro-button::after {
  content: " \2192";
  margin-left: 5px;
}

.bth-learning-intro-button:hover {
  transform: translateY(-1px);
  background: var(--bth-li-teal-dark);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 152, 149, 0.24);
}

.bth-learning-intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.bth-learning-intro-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(21, 152, 149, 0.16);
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.bth-learning-intro-chips a:nth-child(3n),
.bth-learning-intro-chips a:nth-child(5n) {
  background: var(--bth-li-pink-soft);
  color: var(--bth-li-pink-dark);
}

.bth-learning-intro-chips a:hover {
  transform: translateY(-1px);
  background: #ccfbf1;
  color: var(--bth-li-teal-dark);
}

/* Mobile */
@media (max-width: 760px) {
  .bth-learning-intro {
    margin: 18px 0;
    padding: 13px;
    border-radius: 15px;
  }

  .bth-learning-intro-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bth-learning-intro-kicker {
    margin-bottom: 5px;
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .bth-learning-intro h2,
  .bth-learning-intro h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .bth-learning-intro p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .bth-learning-intro-button {
    width: 100%;
    min-height: 34px;
    font-size: 12px;
  }

  .bth-learning-intro-chips {
    gap: 5px;
    margin-top: 10px;
    max-height: 58px;
    overflow: hidden;
  }

  .bth-learning-intro-chips a {
    min-height: 25px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* pages/bth-learning-resources.css */
/* =========================================================
   BTH Learning Resources CSS
   Page: /tai-lieu-hoc-tap/
========================================================= */

/* =========================================================
   BTH Learning Resources v2.1 - Compact Catalog Full CSS
   Page: /tai-lieu-hoc-tap/
   Shortcode: [bth_learning_resources]
   Layout: PC 4 / Tablet 3 / Mobile 1
   Card tags: max 6 tags, 3 columns x 2 rows
   Pagination: JS internal, no URL page param
   ========================================================= */

.bth-lr-page {
  --bth-lr-font:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif;

  --bth-lr-teal: #159895;
  --bth-lr-teal-dark: #0f766e;
  --bth-lr-pink: #db2777;
  --bth-lr-pink-dark: #be185d;
  --bth-lr-pink-soft: #fff1f7;
  --bth-lr-text: #0f172a;
  --bth-lr-muted: #64748b;
  --bth-lr-border: rgba(21, 152, 149, 0.18);
  --bth-lr-border-strong: rgba(21, 152, 149, 0.34);

  color: var(--bth-lr-text);
  font-family: var(--bth-lr-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bth-lr-page,
.bth-lr-page * {
  box-sizing: border-box;
  font-family: var(--bth-lr-font) !important;
}

.bth-lr-page a,
.bth-lr-page a:link,
.bth-lr-page a:visited,
.bth-lr-page a:hover,
.bth-lr-page a:focus {
  text-decoration: none !important;
  background-image: none;
}

.bth-lr-wrap {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HERO */

.bth-lr-page .bth-lr-hero {
  padding: 18px 0 14px;
  background:
    radial-gradient(circle at top right, rgba(219, 39, 119, 0.08), transparent 32%),
    linear-gradient(180deg, #ecfeff 0%, #ffffff 100%);
}

.bth-lr-page .bth-lr-hero-inner {
  display: block;
}

.bth-lr-page .bth-lr-hero-copy {
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid var(--bth-lr-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(10, 77, 86, 0.045);
}

.bth-lr-page .bth-lr-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bth-lr-pink-soft);
  color: var(--bth-lr-pink-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.bth-lr-page .bth-lr-hero h1 {
  max-width: 980px;
  margin: 0 0 8px;
  color: #0f6f6f;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.bth-lr-page .bth-lr-hero p {
  max-width: 1080px;
  margin: 0;
  color: var(--bth-lr-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* HERO BOTTOM */

.bth-lr-page .bth-lr-hero-bottom {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}

.bth-lr-page .bth-lr-hero-search {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 8px;
  border: 1px solid rgba(21, 152, 149, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8ffff 100%);
}

.bth-lr-page .bth-lr-search {
  min-width: 0;
}

.bth-lr-page .bth-lr-search label {
  display: none;
}

.bth-lr-page .bth-lr-search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.bth-lr-page .bth-lr-search-box input {
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(21, 152, 149, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--bth-lr-text);
  font-size: 13.5px;
  line-height: 40px;
  outline: none;
  box-shadow: none;
}

.bth-lr-page .bth-lr-search-box input:focus {
  border-color: rgba(21, 152, 149, 0.65);
  box-shadow: 0 0 0 4px rgba(21, 152, 149, 0.10);
}

.bth-lr-page .bth-lr-search-box button {
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--bth-lr-teal-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 40px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

.bth-lr-page .bth-lr-search-box button:hover {
  background: #ccfbf1;
}

/* HERO META */

.bth-lr-page .bth-lr-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.bth-lr-page .bth-lr-hero-meta > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid var(--bth-lr-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(10, 77, 86, 0.032);
  overflow: hidden;
}

.bth-lr-page .bth-lr-hero-meta strong {
  display: block;
  flex: 0 0 auto;
  color: var(--bth-lr-pink);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.bth-lr-page .bth-lr-hero-meta span {
  display: block;
  min-width: 0;
  color: var(--bth-lr-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

.bth-lr-page .bth-lr-hero-meta > div:nth-child(3) strong {
  font-size: clamp(18px, 1.7vw, 22px);
}

.bth-lr-page .bth-lr-hero-meta > div:nth-child(3) span {
  max-width: 42px;
}

/* MOBILE ONLY */

.bth-lr-page .bth-lr-mobile-filter-toggle,
.bth-lr-page .bth-lr-mobile-search {
  display: none;
}

/* MAIN */

.bth-lr-page .bth-lr-main {
  padding: 14px 0 34px;
  background: #ffffff;
}

.bth-lr-page .bth-lr-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

/* FILTER SIDEBAR */

.bth-lr-page .bth-lr-filters {
  position: sticky;
  top: 14px;
  padding: 13px;
  border: 1px solid var(--bth-lr-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(10, 77, 86, 0.04);
}

.bth-lr-page .bth-lr-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  min-height: 40px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(21, 152, 149, 0.14);
}

.bth-lr-page .bth-lr-filter-head strong {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  color: #0f4c5c;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.bth-lr-page #bth-lr-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--bth-lr-teal-dark);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

.bth-lr-page #bth-lr-reset:hover {
  background: #ccfbf1;
}

.bth-lr-page .bth-lr-filter-group {
  margin-bottom: 12px;
}

.bth-lr-page .bth-lr-filter-group:last-child {
  margin-bottom: 0;
}

.bth-lr-page .bth-lr-filter-group h2 {
  margin: 0 0 7px;
  color: #0f6f6f;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 900;
}

.bth-lr-page .bth-lr-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bth-lr-page .bth-lr-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid rgba(21, 152, 149, 0.18);
  border-radius: 999px;
  background: #f8ffff;
  color: #0f766e;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.bth-lr-page .bth-lr-filter-btn:hover {
  transform: translateY(-1px);
  background: #ecfeff;
  border-color: rgba(21, 152, 149, 0.42);
}

.bth-lr-page .bth-lr-filter-btn.is-active {
  background: var(--bth-lr-teal);
  border-color: var(--bth-lr-teal);
  color: #ffffff;
}

/* PRODUCT GRID - PC 4 / Tablet 3 / Mobile 1 */

.bth-lr-page .bth-lr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bth-lr-page .bth-lr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(21, 152, 149, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 77, 86, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bth-lr-page .bth-lr-card.is-pinned {
  border-color: rgba(219, 39, 119, 0.34);
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.075);
}

.bth-lr-page .bth-lr-card:hover {
  transform: translateY(-2px);
  border-color: var(--bth-lr-border-strong);
  box-shadow: 0 12px 26px rgba(10, 77, 86, 0.075);
}

.bth-lr-page .bth-lr-card[hidden] {
  display: none !important;
}

/* PRODUCT IMAGE */

.bth-lr-page .bth-lr-card-image {
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfeff 0%, #fff1f7 100%);
  color: inherit;
  text-decoration: none;
}

.bth-lr-page .bth-lr-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.bth-lr-page .bth-lr-card:hover .bth-lr-card-image img {
  transform: scale(1.035);
}

.bth-lr-page .bth-lr-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bth-lr-page .bth-lr-card-placeholder span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(10, 77, 86, 0.10);
}

.bth-lr-page .bth-lr-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(219, 39, 119, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(219, 39, 119, 0.22);
}

.bth-lr-page .bth-lr-pin-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

/* PRODUCT BODY */

.bth-lr-page .bth-lr-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 12px;
}

.bth-lr-page .bth-lr-card-body h2 {
  min-height: 44px;
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.bth-lr-page .bth-lr-card-body h2 a {
  display: -webkit-box;
  color: #0f4c5c;
  text-decoration: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bth-lr-page .bth-lr-card-body h2 a:hover {
  color: var(--bth-lr-pink);
}

.bth-lr-page .bth-lr-card-body p {
  display: -webkit-box;
  min-height: 40px;
  margin: 0 0 9px;
  color: var(--bth-lr-muted);
  font-size: 12.5px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card tags: 6 tag tối đa, 3 cột x 2 hàng */

.bth-lr-page .bth-lr-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-height: 50px;
  max-height: 50px;
  margin-bottom: 10px;
  overflow: hidden;
}

.bth-lr-page .bth-lr-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bth-lr-page .bth-lr-tags span:nth-child(2n) {
  background: var(--bth-lr-pink-soft);
  color: var(--bth-lr-pink-dark);
}

.bth-lr-page .bth-lr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin-top: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bth-lr-teal);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 7px 16px rgba(21, 152, 149, 0.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.bth-lr-page .bth-lr-button::after {
  content: " \2192" !important;
  margin-left: 4px;
}

.bth-lr-page .bth-lr-button:hover {
  transform: translateY(-2px);
  background: var(--bth-lr-teal-dark);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 152, 149, 0.28);
}

/* PAGINATION */

.bth-lr-page .bth-lr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 14px 12px 0;
  border-top: 1px solid rgba(21, 152, 149, 0.12);
}

.bth-lr-page .bth-lr-pagination[hidden] {
  display: none !important;
}

.bth-lr-page .bth-lr-page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.bth-lr-page .bth-lr-pagination button,
.bth-lr-page .bth-lr-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(21, 152, 149, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  box-shadow: none;
}

.bth-lr-page .bth-lr-pagination button {
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.bth-lr-page .bth-lr-pagination button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #f0fdfa;
  border-color: rgba(21, 152, 149, 0.38);
}

.bth-lr-page .bth-lr-pagination button.is-active {
  background: var(--bth-lr-teal);
  border-color: var(--bth-lr-teal);
  color: #ffffff;
}

.bth-lr-page .bth-lr-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.bth-lr-page .bth-lr-page-prev,
.bth-lr-page .bth-lr-page-next {
  min-width: 70px !important;
}

.bth-lr-page .bth-lr-page-dots {
  border-color: transparent;
  background: transparent;
  color: var(--bth-lr-muted);
  min-width: 20px;
  padding: 0 2px;
}

/* EMPTY STATE */

.bth-lr-page .bth-lr-empty {
  padding: 30px;
  border: 1px dashed rgba(21, 152, 149, 0.32);
  border-radius: 18px;
  background: #f8ffff;
  text-align: center;
}

.bth-lr-page .bth-lr-empty[hidden] {
  display: none !important;
}

.bth-lr-page .bth-lr-empty strong {
  display: block;
  color: #0f4c5c;
  font-size: 18px;
  margin-bottom: 8px;
}

.bth-lr-page .bth-lr-empty p {
  margin: 0;
  color: var(--bth-lr-muted);
}

/* RESPONSIVE */

@media (min-width: 1700px) {
  .bth-lr-wrap {
    max-width: 1780px;
  }

  .bth-lr-page .bth-lr-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1400px) {
  .bth-lr-wrap {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .bth-lr-page .bth-lr-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .bth-lr-page .bth-lr-hero-bottom,
  .bth-lr-page .bth-lr-layout {
    grid-template-columns: 1fr;
  }

  .bth-lr-page .bth-lr-filters {
    position: static;
  }

  .bth-lr-page .bth-lr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bth-lr-page .bth-lr-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .bth-lr-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bth-lr-page .bth-lr-hero {
    padding-top: 16px;
  }

  .bth-lr-page .bth-lr-hero-copy {
    padding: 20px;
    border-radius: 18px;
  }

  .bth-lr-page .bth-lr-hero h1 {
    font-size: 30px;
  }

  .bth-lr-page .bth-lr-hero p {
    font-size: 14.5px;
  }

  .bth-lr-page .bth-lr-hero-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .bth-lr-page .bth-lr-desktop-search {
    display: none;
  }

  .bth-lr-page .bth-lr-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .bth-lr-page .bth-lr-hero-meta > div {
    min-height: 50px;
    padding: 8px;
    gap: 5px;
    justify-content: center;
  }

  .bth-lr-page .bth-lr-hero-meta strong {
    font-size: 18px;
  }

  .bth-lr-page .bth-lr-hero-meta span {
    font-size: 10.5px;
    line-height: 1.15;
  }

  .bth-lr-page .bth-lr-hero-meta > div:nth-child(3) span {
    max-width: 34px;
  }

  .bth-lr-page .bth-lr-mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 0 0 10px;
    padding: 0 16px;
    border: 1px solid var(--bth-lr-border);
    border-radius: 999px;
    background: #f0fdfa;
    color: var(--bth-lr-teal-dark);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: none;
  }

  .bth-lr-page .bth-lr-mobile-filter-toggle span {
    font-size: 17px;
    line-height: 1;
  }

  .bth-lr-page .bth-lr-mobile-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid rgba(21, 152, 149, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8ffff 100%);
  }

  .bth-lr-page .bth-lr-mobile-search .bth-lr-search-box {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .bth-lr-page .bth-lr-mobile-search .bth-lr-search-box button {
    width: auto;
  }

  .bth-lr-page .bth-lr-layout {
    grid-template-columns: 1fr;
  }

  .bth-lr-page .bth-lr-filters {
    display: none;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 16px;
  }

  .bth-lr-page .bth-lr-filters.is-open {
    display: block;
  }

  .bth-lr-page .bth-lr-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bth-lr-page .bth-lr-card {
    border-radius: 15px;
  }

  .bth-lr-page .bth-lr-card-body {
    padding: 12px;
  }

  .bth-lr-page .bth-lr-card-body h2 {
    min-height: auto;
    font-size: 16px;
  }

  .bth-lr-page .bth-lr-card-body p {
    min-height: auto;
    font-size: 13px;
  }

  .bth-lr-page .bth-lr-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 50px;
    max-height: 50px;
  }

  .bth-lr-page .bth-lr-tags span {
    min-height: 22px;
    font-size: 10.5px;
  }

  .bth-lr-page .bth-lr-button {
    min-height: 36px;
    font-size: 12.5px;
  }

  .bth-lr-page .bth-lr-pin-badge {
    font-size: 10px;
    padding: 5px 8px;
  }

  .bth-lr-page .bth-lr-pagination {
    gap: 7px;
    margin-top: 18px;
    padding-top: 12px;
  }

  .bth-lr-page .bth-lr-page-numbers {
    gap: 5px;
  }

  .bth-lr-page .bth-lr-pagination button,
  .bth-lr-page .bth-lr-page-dots {
    min-width: 31px;
    height: 31px;
    padding: 0 9px;
    font-size: 11.5px;
  }

  .bth-lr-page .bth-lr-page-prev,
  .bth-lr-page .bth-lr-page-next {
    min-width: 62px !important;
  }
}

@media (max-width: 430px) {
  .bth-lr-page .bth-lr-grid {
    grid-template-columns: 1fr;
  }
}

/* pages/bth-author-box.css */
/* =========================================================
   BTH Author Box CSS
   Single post, author archive, home author box
========================================================= */

/*
 * áº¨n author box máº·c Ä‘á»‹nh cá»§a Flatsome/WordPress
 */
body.single-post .entry-author,
body.single-post .blog-author,
body.single-post .author-box:not(.bth-author-box-card) {
    display: none !important;
}

/*
 * PC:
 * - áº¨n box dÆ°á»›i bĂ i viáº¿t
 * - Hiá»‡n box sidebar
 */
body.single-post .bth-author-box-content_mobile {
    display: none !important;
}

body.single-post .bth-author-box-sidebar_desktop {
    display: block !important;
}

/*
 * Author box dĂ¹ng chung
 */
.bth-author-box-card {
    margin: 24px 0 28px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7fb 0%, #ffffff 55%, #f5fbff 100%);
    border: 1px solid rgba(224, 82, 132, 0.18);
    box-shadow: 0 12px 34px rgba(24, 35, 63, 0.08);
    clear: both;
}

.bth-author-box-inner {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.bth-author-box-avatar {
    flex: 0 0 120px;
}

.bth-author-box-avatar a {
    display: block;
    text-decoration: none !important;
    background-image: none;
}

.bth-author-box-avatar-img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(25, 47, 89, 0.14);
}

.bth-author-box-content {
    flex: 1;
    min-width: 0;
}

.bth-author-box-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bth-author-box-label {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(224, 82, 132, 0.1);
    color: #c33471;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.bth-author-box-count {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(15, 23, 42, 0.08);
    line-height: 1.3;
}

.bth-author-box-name {
    margin: 0 0 5px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    color: #18233f;
    text-transform: none;
    letter-spacing: 0;
}

.bth-author-box-name a,
.bth-author-box-name a:link,
.bth-author-box-name a:visited {
    color: #18233f;
    text-decoration: none !important;
    background-image: none;
}

.bth-author-box-name a:hover {
    color: #e05284;
    text-decoration: none !important;
}

.bth-author-box-title {
    margin: 0 0 12px;
    color: #c33471;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

.bth-author-box-desc {
    margin: 0 0 15px;
    color: #334155;
    font-size: 15.5px;
    line-height: 1.75;
}

.bth-author-box-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bth-author-box-tags span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(224, 82, 132, 0.18);
    line-height: 1.3;
}

.bth-author-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bth-author-box-card .bth-author-box-actions a.bth-author-box-btn,
.bth-author-box-card .bth-author-box-actions a.bth-author-box-btn:link,
.bth-author-box-card .bth-author-box-actions a.bth-author-box-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #e05284;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none !important;
    box-shadow: none;
    border: none;
    background-image: none;
}

.bth-author-box-card .bth-author-box-actions a.bth-author-box-btn:hover,
.bth-author-box-card .bth-author-box-actions a.bth-author-box-btn:focus {
    background: #c33471;
    color: #ffffff;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(224, 82, 132, 0.24);
    opacity: .96;
}

.bth-author-box-card a::before,
.bth-author-box-card a::after {
    display: none !important;
    content: none !important;
}

/*
 * Sidebar PC
 */
body.single-post .bth-author-box-sidebar_desktop {
    margin-top: 24px;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-avatar {
    flex: initial;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-avatar-img {
    width: 108px;
    height: 108px;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-top,
body.single-post .bth-author-box-sidebar_desktop .bth-author-box-tags,
body.single-post .bth-author-box-sidebar_desktop .bth-author-box-actions {
    justify-content: center;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-name {
    font-size: 24px;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-title {
    font-size: 14.5px;
}

body.single-post .bth-author-box-sidebar_desktop .bth-author-box-desc {
    font-size: 15px;
}

/*
 * Trang chá»§
 */
.bth-author-box-home {
    max-width: 1180px;
    margin: 34px auto 42px;
}

/*
 * Mobile
 */
@media (max-width: 768px) {
    body.single-post .bth-author-box-sidebar_desktop {
        display: none !important;
    }

    body.single-post .bth-author-box-content_mobile {
        display: block !important;
    }

    .bth-author-box-card {
        margin: 28px 0 24px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .bth-author-box-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .bth-author-box-avatar {
        flex: initial;
    }

    .bth-author-box-avatar-img {
        width: 104px;
        height: 104px;
    }

    .bth-author-box-top,
    .bth-author-box-tags,
    .bth-author-box-actions {
        justify-content: center;
    }

    .bth-author-box-name {
        font-size: 24px;
    }

    .bth-author-box-title {
        font-size: 14.5px;
    }

    .bth-author-box-desc {
        font-size: 15px;
    }

    .bth-author-box-home {
        margin: 26px auto 34px;
    }
}

/* pages/bth-author-profile.css */
.bth-author-profile-box {
            margin: 0 auto 32px;
            padding: 28px;
            border-radius: 22px;
            background: linear-gradient(135deg, #fff7fb 0%, #ffffff 52%, #f4fbff 100%);
            border: 1px solid rgba(224, 82, 132, 0.16);
            box-shadow: 0 12px 36px rgba(25, 47, 89, 0.08);
        }

        .bth-author-profile-inner {
            display: flex;
            gap: 24px;
            align-items: center;
        }

        .bth-author-avatar {
            flex: 0 0 140px;
        }

        .bth-author-avatar-img {
            display: block;
            width: 140px;
            height: 140px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #fff;
            box-shadow: 0 8px 24px rgba(25, 47, 89, 0.14);
            background: #fff;
        }

        .bth-author-content {
            flex: 1;
            min-width: 0;
        }

        .bth-author-label {
            display: inline-block;
            margin: 0 0 8px;
            padding: 5px 12px;
            border-radius: 999px;
            background: rgba(224, 82, 132, 0.1);
            color: #c33471;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.3;
        }

        .bth-author-name {
            margin: 0 0 6px;
            color: #18233f;
            font-size: 32px;
            line-height: 1.2;
            font-weight: 800;
        }

        .bth-author-title {
            margin: 0 0 14px;
            color: #c33471;
            font-size: 16px;
            font-weight: 700;
        }

        .bth-author-desc p {
            margin: 0;
            color: #334155;
            font-size: 16px;
            line-height: 1.75;
        }

        .bth-author-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
        }

        .bth-author-meta span {
            display: inline-flex;
            align-items: center;
            padding: 7px 12px;
            border-radius: 999px;
            background: #ffffff;
            color: #475569;
            font-size: 14px;
            font-weight: 600;
            border: 1px solid rgba(15, 23, 42, 0.08);
        }

        .bth-author-expertise,
        .bth-author-process {
            margin-top: 24px;
            padding-top: 22px;
            border-top: 1px solid rgba(15, 23, 42, 0.08);
        }

        .bth-author-expertise h2,
        .bth-author-process h2,
        .bth-author-post-heading h2 {
            margin: 0 0 14px;
            color: #18233f;
            font-size: 22px;
            line-height: 1.35;
            font-weight: 800;
        }

        .bth-author-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .bth-author-tags span {
            display: inline-flex;
            padding: 8px 13px;
            border-radius: 999px;
            background: #ffffff;
            color: #334155;
            font-size: 14px;
            font-weight: 700;
            border: 1px solid rgba(224, 82, 132, 0.18);
        }

        .bth-author-process p {
            margin: 0 0 16px;
            color: #334155;
            font-size: 16px;
            line-height: 1.75;
        }

        .bth-author-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .bth-author-links a {
            display: inline-flex;
            padding: 8px 14px;
            border-radius: 999px;
            background: #e05284;
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none !important;
            transition: all .2s ease;
        }

        .bth-author-links a:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(224, 82, 132, 0.22);
            opacity: .92;
        }

        .bth-author-post-heading {
            margin-top: 26px;
            padding-top: 22px;
            border-top: 1px solid rgba(15, 23, 42, 0.08);
        }

        .bth-author-post-heading h2 {
            margin-bottom: 0;
        }

        @media (max-width: 768px) {
            .bth-author-profile-box {
                padding: 22px 18px;
                border-radius: 18px;
            }

            .bth-author-profile-inner {
                flex-direction: column;
                text-align: center;
                gap: 16px;
            }

            .bth-author-avatar {
                flex: initial;
            }

            .bth-author-avatar-img {
                width: 112px;
                height: 112px;
            }

            .bth-author-name {
                font-size: 26px;
            }

            .bth-author-title {
                font-size: 15px;
            }

            .bth-author-desc p,
            .bth-author-process p {
                font-size: 15px;
            }

            .bth-author-meta,
            .bth-author-tags,
            .bth-author-links {
                justify-content: center;
            }
        }

/* pages/bth-post.css */
/* =========================================================
   BTH Post CSS
   Load single post / trắc nghiệm / kiến thức
========================================================= */

/*===============*/
.bth-post-breadcrumb-holder-v5 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-align: left !important;
}

.bth-post-breadcrumb-v5 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    text-align: left !important;
}

.bth-post-breadcrumb-v5 a,
.bth-post-breadcrumb-v5 span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    white-space: nowrap !important;
}

.bth-post-breadcrumb-link-v5 {
    font-weight: 700 !important;
    text-decoration: none !important;
}

.bth-post-breadcrumb-sep-v5 {
    color: #999;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Cháº·n CSS pseudo-element cá»§a theme áº£nh hÆ°á»Ÿng Ä‘áº¿n breadcrumb */
.bth-post-breadcrumb-v5 a::before,
.bth-post-breadcrumb-v5 a::after,
.bth-post-breadcrumb-v5 span::before,
.bth-post-breadcrumb-v5 span::after {
    display: none !important;
    content: none !important;
}


/*insert shortcode in post */
.bth-trac-nghiem-product-in-content {
  margin: 32px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 640px) {
  .bth-trac-nghiem-product-in-content {
    margin: 26px 0;
  }
}


/* =========================================================
   BTH Auto Related Quiz After Third H2
   ========================================================= */

.bth-auto-related-quiz {
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(21, 152, 149, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(219, 39, 119, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8ffff 100%);
  box-shadow: 0 10px 26px rgba(10, 77, 86, 0.045);
}

.bth-auto-related-quiz,
.bth-auto-related-quiz * {
  box-sizing: border-box;
}

.bth-auto-related-quiz a {
  text-decoration: none;
}

.bth-arq-head {
  margin-bottom: 14px;
}

.bth-arq-head h2 {
  margin: 0 !important;
  color: #0f6f6f;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.bth-arq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bth-arq-card {
  overflow: hidden;
  border: 1px solid rgba(21, 152, 149, 0.16);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(10, 77, 86, 0.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bth-arq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 152, 149, 0.36);
  box-shadow: 0 12px 24px rgba(10, 77, 86, 0.075);
}

.bth-arq-card-media {
  display: block;
  position: relative;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfeff 0%, #fff1f7 100%);
}

.bth-arq-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.bth-arq-card:hover .bth-arq-card-img {
  transform: scale(1.035);
}

.bth-arq-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #0f766e;
  font-size: 28px;
  font-weight: 900;
}

.bth-arq-card-body {
  padding: 11px 12px 13px;
}

.bth-arq-card-body h3 {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 850;
}

.bth-arq-card-body h3 a {
  display: -webkit-box;
  color: #0f4c5c;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bth-arq-card-body h3 a:hover {
  color: #db2777;
}

.bth-arq-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.bth-arq-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #159895;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(21, 152, 149, 0.20);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.bth-arq-more a::after {
  content: " →";
  margin-left: 5px;
}

.bth-arq-more a:hover {
  transform: translateY(-2px);
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 11px 24px rgba(21, 152, 149, 0.28);
}

@media (max-width: 900px) {
  .bth-arq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bth-auto-related-quiz {
    margin: 22px 0;
    padding: 15px;
    border-radius: 16px;
  }

  .bth-arq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bth-arq-card-body h3 {
    font-size: 13.5px;
  }

  .bth-arq-more a {
    width: 100%;
    min-height: 42px;
    font-size: 13.5px;
  }
}

/* pages/bth-sitemap.css */
/* =========================================================
   BTH HTML Sitemap CSS
   Page: /so-do-trang-web/
========================================================= */

/* HTML SITEMAP */
.bth-html-sitemap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.bth-sitemap-intro {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff7fb;
    border: 1px solid #f5cfe0;
    border-radius: 12px;
    color: #374151;
    line-height: 1.7;
}

.bth-sitemap-grid {
    column-count: 3;
    column-gap: 28px;
}

.bth-sitemap-item {
    break-inside: avoid;
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.bth-sitemap-item:hover {
    border-color: #e86fa3;
    box-shadow: 0 4px 14px rgba(232, 111, 163, 0.12);
    transform: translateY(-1px);
}

.bth-sitemap-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #d94686;
    text-decoration: none;
}

.bth-sitemap-title:hover {
    color: #be185d;
    text-decoration: underline;
}

.bth-sitemap-date {
    margin-top: 5px;
    font-size: 13px;
    color: #6b7280;
}

.bth-sitemap-pagination {
    margin-top: 32px;
    text-align: center;
}

.bth-sitemap-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bth-sitemap-pagination li {
    margin: 0;
}

.bth-sitemap-pagination a,
.bth-sitemap-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.bth-sitemap-pagination a:hover,
.bth-sitemap-pagination .current {
    background: #d94686;
    border-color: #d94686;
    color: #ffffff;
}

@media (max-width: 991px) {
    .bth-sitemap-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .bth-html-sitemap {
        padding: 16px 0 32px;
    }

    .bth-sitemap-grid {
        column-count: 1;
    }

    .bth-sitemap-item {
        padding: 11px 12px;
    }

    .bth-sitemap-title {
        font-size: 14px;
    }
}
.bth-sitemap-type {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff0f6;
    color: #be185d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* components/base.css */
:is(.bth-ui,.bth-home-v3,.bth-periodic-wrap,.bth-ed-page,.bth-element-overview,.bth-element-content,.bth-lr-page,.bth-html-sitemap,.bth-author-box-card,.bth-author-profile-box){font-family:var(--bth-font-family);color:var(--bth-color-text);line-height:var(--bth-line-height)}
.bth-ui{max-width:var(--bth-content-width);margin-inline:auto}
.bth-ui-title,.bth-toolkit-page-title,.bth-toolkit-archive-title{color:var(--bth-color-text);font-weight:750;line-height:1.2}
.bth-ui-muted{color:var(--bth-color-muted)}
:is(.bth-ui,.bth-periodic-wrap,.bth-lr-page,.bth-element-content) :is(a,button,input,summary):focus-visible{outline:3px solid var(--bth-color-focus)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(.bth-ui,.bth-periodic-wrap,.bth-lr-page) *{scroll-behavior:auto!important;transition:none!important}}

/* components/buttons.css */
/* Class contract: bth-ui-button; old aliases remain compatible. */
:is(.bth-ui-button,.bth-btn,.bth-el-btn,.bth-lr-button,.bth-author-box-btn,.bth-learning-intro-button){display:inline-flex;align-items:center;justify-content:center;gap:var(--bth-space-2);min-height:var(--bth-control-height);padding:.65rem 1rem;border:1px solid var(--bth-color-primary)!important;border-radius:var(--bth-radius-control)!important;background:var(--bth-color-primary)!important;color:var(--bth-color-on-primary)!important;font:inherit;font-family:var(--bth-font-family);font-weight:700;text-decoration:none!important;line-height:1.35;cursor:pointer;box-shadow:none!important}
:is(.bth-ui-button,.bth-btn,.bth-el-btn,.bth-lr-button,.bth-author-box-btn,.bth-learning-intro-button):hover{background:var(--bth-color-primary-hover)!important;border-color:var(--bth-color-primary-hover)!important;color:var(--bth-color-on-primary)!important}
:is(.bth-ui-button--secondary,.bth-btn-light,.bth-el-btn-light){background:var(--bth-color-surface)!important;color:var(--bth-color-primary)!important}
:is(.bth-ui-button,.bth-btn,.bth-el-btn):disabled{opacity:.5;cursor:not-allowed}

/* components/cards.css */
:is(.bth-ui-card,.bth-content-card,.bth-lr-card,.bth-author-box-card,.bth-sitemap-item){background:var(--bth-color-surface)!important;border:1px solid var(--bth-color-border)!important;border-radius:var(--bth-radius-card)!important;box-shadow:var(--bth-shadow-card)!important;color:var(--bth-color-text)}
:where(.bth-ui-card){padding:var(--bth-space-6)}
.bth-ui-card__title{font-size:1.2rem;line-height:1.3;margin:0 0 var(--bth-space-3);color:var(--bth-color-text)}
:where(.bth-ui-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--bth-space-4)}
/* Element category colours remain scientific/category-specific; they do not use neutral card styling. */

/* components/forms.css */
:is(.bth-ui-input,.bth-periodic-search input,.bth-lr-search-input,#bth-ed-search){min-height:var(--bth-control-height);padding:.65rem .85rem;border:1px solid var(--bth-color-border)!important;border-radius:var(--bth-radius-control)!important;background:var(--bth-color-surface)!important;color:var(--bth-color-text)!important;font:inherit;box-shadow:none!important;max-width:100%;box-sizing:border-box}
:is(.bth-ui-input,.bth-lr-search-input,#bth-ed-search):focus{border-color:var(--bth-color-primary)!important}
.bth-ui-label{display:block;font-weight:700;margin-bottom:var(--bth-space-2)}
.bth-ui-field{margin-bottom:var(--bth-space-4)}

/* components/filters.css */
:is(.bth-ui-filter,.bth-filter-btn,.bth-lr-filter-btn){min-height:var(--bth-control-height);border:1px solid var(--bth-color-border)!important;border-radius:var(--bth-radius-pill)!important;color:var(--bth-color-text)!important;background:var(--bth-color-surface)!important;box-shadow:none!important}
:is(.bth-ui-filter,.bth-filter-btn,.bth-lr-filter-btn):is(.is-active,[aria-pressed="true"]){background:var(--bth-color-primary)!important;border-color:var(--bth-color-primary)!important;color:var(--bth-color-on-primary)!important}
.bth-ui-badge,.bth-lr-badge{display:inline-flex;align-items:center;padding:.2rem .6rem;border-radius:var(--bth-radius-pill);font-size:.8rem;font-weight:700;background:var(--bth-color-subtle);color:var(--bth-color-primary)}

/* components/feedback.css */
:is(.bth-ui-notice,.bth-toolkit-disclosure,.bth-data-note){padding:var(--bth-space-4);border:1px solid var(--bth-color-border);border-radius:var(--bth-radius-control);background:var(--bth-color-subtle)!important;color:var(--bth-color-text)!important;font-size:.9rem;line-height:var(--bth-line-height)}
.bth-ui-notice--warning{background:var(--bth-color-warning-bg)!important;color:var(--bth-color-warning-text)!important}
:is(.bth-ui-empty,.bth-lr-empty){padding:var(--bth-space-6);border:1px dashed var(--bth-color-border);border-radius:var(--bth-radius-card);color:var(--bth-color-muted);text-align:center}
.bth-search-result{border-color:var(--bth-color-border);color:var(--bth-color-primary)!important;background:var(--bth-color-subtle);border-radius:var(--bth-radius-control)}

/* components/pagination.css */
.bth-ui-pagination,.bth-lr-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--bth-space-2);margin-top:var(--bth-space-6)}
:is(.bth-ui-pagination,.bth-lr-pagination) :is(a,button,span.current){display:inline-flex;align-items:center;justify-content:center;min-width:var(--bth-control-height);min-height:var(--bth-control-height);padding:.5rem .8rem;border:1px solid var(--bth-color-border);border-radius:var(--bth-radius-control);background:var(--bth-color-surface);color:var(--bth-color-primary);text-decoration:none}
:is(.bth-ui-pagination,.bth-lr-pagination) :is(.current,.is-active,[aria-current="page"]){background:var(--bth-color-primary);color:#fff}
[hidden]{display:none!important}
