.elementor-107787 .elementor-element.elementor-element-51dc7a1{--display:flex;}.elementor-107787 .elementor-element.elementor-element-de9020b{--display:flex;}.elementor-107787 .elementor-element.elementor-element-24802dd{margin:30px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:center;}.elementor-107787 .elementor-element.elementor-element-24802dd .elementor-heading-title{font-size:34px;}.elementor-107787 .elementor-element.elementor-element-4cf706d{--display:flex;--margin-top:-20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-107787 .elementor-element.elementor-element-08f7957{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-8bd953d */:root{
  --tn-stroke:#64748b;   /* slate-500: rất rõ */
  --tn-stroke2:#94a3b8;  /* vách ngăn cũng rõ */
}
.termNav{ border:2px solid var(--tn-stroke); }
.termNav__item{ border-right:2px solid var(--tn-stroke2); }
.termNav__mark{ border:2px solid var(--tn-stroke); }



.termNav{
  display:flex;
  align-items:stretch;
  border:1px solid var(--tn-stroke);
  border-radius:16px;
  overflow:hidden;
  max-width:100%;
}

.termNav__item{
  flex:1 1 0;
  min-width: 140px;
  padding:12px 14px;
  text-decoration:none;
  color:var(--tn-text);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  position:relative;

  /* KHÔNG NỀN */
  background: transparent;

  /* chia vách */
  border-right:1px solid var(--tn-stroke);

  transition: transform .15s ease, color .15s ease, border-color .15s ease;
}
.termNav__item:last-child{ border-right:none; }

.termNav__mark{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid var(--tn-stroke);
  display:grid;
  place-items:center;
  color:var(--tn-muted);

  /* KHÔNG NỀN */
  background: transparent;

  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.termNav__mark svg{ width:18px; height:18px; }

.termNav__label{
  font-weight:750;
  font-size:14px;
  letter-spacing:.1px;
  white-space:nowrap;
}

/* Gạch chân tinh tế (không đổi nền) */
.termNav__item::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:8px;
  height:2px;
  border-radius:999px;
  background: currentColor;
  opacity:0;
  transform: scaleX(.35);
  transition: opacity .15s ease, transform .15s ease;
}

/* Hover / Focus: chỉ nhấn bằng màu + gạch chân */
.termNav__item:hover{
  color: var(--tn-accent);
}
.termNav__item:hover .termNav__mark{
  border-color: var(--tn-accent);
  color: var(--tn-accent);
  transform: translateY(-1px);
}
.termNav__item:hover::after{
  opacity:.95;
  transform: scaleX(1);
}

.termNav__item:focus-visible{
  outline:3px solid rgba(37, 99, 235, .18);
  outline-offset:-3px;
}
.termNav__item:focus-visible::after{
  opacity:.95;
  transform: scaleX(1);
}

/* Mobile: cho cuộn ngang nếu chật */
@media (max-width: 640px){
  .termNav{
    overflow:auto hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width:none;
  }
  .termNav::-webkit-scrollbar{ display:none; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-abd6fe5 *//* ===============  CHEM 12 - CANH DIEU (UI like screenshot)  =============== */
.chem12-wrap{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e6edf6;
  --blue:#0b4dbb;
  --green:#17a34a;
  --green2:#15803d;

  border-radius: 14px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

/* Chapter/Topic header */
.chem12-chap{ margin: 18px 0 26px; }

.chem12-chap__head{
  display:flex;
  align-items:center;
  gap:12px;
  margin: 6px 0 14px;
}

.chem12-chap__bar{
  width: 4px;
  height: 26px;
  background: var(--green);
  border-radius: 999px;
  flex: 0 0 auto;
}

.chem12-chap__title{
  margin:0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .3px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Grid */
.chem12-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Card */
.chem12-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  display:flex;
  flex-direction: column;
  min-height: 150px;
}

.chem12-card__top{
  display:flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.chem12-card__sub{
  font-weight: 800;
  color: var(--blue);
  font-size: 15px;
}

.chem12-card__book{
  font-weight: 800;
  color: var(--blue);
  font-size: 15px;
}

.chem12-card__name{
  margin: 6px 0 10px;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
  flex: 1 1 auto;
}

/* Meta row */
.chem12-card__meta{
  display:flex;
  gap: 18px;
  align-items:center;
  margin: 4px 0 10px;
  color: #0f172a;
}

.chem12-meta{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  color: #0f172a;
  opacity: .9;
}

.chem12-ico{
  width: 16px;
  height: 16px;
  display:inline-flex;
  color: #111827;
  opacity: .75;
}

.chem12-ico svg{ width: 16px; height: 16px; }

/* Button */
.chem12-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  padding: 0 16px;
  width: fit-content;
  border-radius: 7px;
  background: var(--green);
  color: #fff !important;
  text-decoration:none !important;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

.chem12-card__btn:hover{
  background: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, .18);
}

/* Responsive */
@media (max-width: 1100px){
  .chem12-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .chem12-wrap{ padding: 14px; }
  .chem12-grid{ grid-template-columns: 1fr; }
  .chem12-chap__title{ font-size: 16px; }
}
.chem12-chap__link,
.chem12-card__link{
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.chem12-chap__link:hover,
.chem12-card__link:hover{
  text-decoration: underline;
}/* End custom CSS */