
/* ===== template-parts/components/button/assets/styles.css ===== */
/* Component: Button */
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tt-font);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: -0.01rem;
    text-transform: uppercase;
    /* Figma node I2348:26861;2348:27241 (Size=L, Primary): KHÔNG bo góc (radius 0) — không tự chế 0.5rem. */
    border-radius: 0;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tt-btn__label {
    display: block;
}

.tt-btn__icon {
    display: block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

/* Icon đơn sắc: trên nút Primary (nền cam) phải đổi sang TRẮNG — icon gốc màu cam sẽ vô hình.
   filter brightness(0) invert(1) = trắng tinh bất kể màu nguồn. Outline giữ màu gốc (cam). */
.tt-btn--primary .tt-btn__icon {
    filter: brightness(0) invert(1);
}

.tt-btn--xl {
    padding: 1rem 4rem;
}

.tt-btn--l {
    padding: 0.75rem 1.5rem;
}

/* Figma Primary button fill = #fa6900 (orange-accent), không phải #f15a29. */
.tt-btn--primary {
    background: var(--tt-orange-accent);
    color: var(--tt-white);
}

.tt-btn--primary:hover {
    background: #FF7B1C;
}

.tt-btn--outline {
    background: transparent;
    color: var(--tt-orange-accent);
    border: 1px solid var(--tt-orange-accent);
}

.tt-btn--outline:hover {
    background: var(--tt-orange-accent);
    color: var(--tt-white);
}

@media (prefers-reduced-motion: reduce) {
    .tt-btn {
        transition: none;
    }
}

/* Mobile: button label font nhỏ hơn desktop (node I2348:27462;2348:36951 / I2348:27463;2348:36960: 14px/18.2px, ls -0.14px). */
/* Padding mobile = desktop (0.75rem 1.5rem) — không thay đổi. */
@media screen and (max-width: 639.98px) {
    .tt-btn {
        font-size: 0.875rem;
        line-height: 1.1375rem;
        letter-spacing: -0.0088rem;
        height: 2.63rem;
    }
}


/* ===== template-parts/components/card-tin-tuc/assets/styles.css ===== */
/* Component: Card tin tức (news list card) */
/* Figma node 2348:26822 "Card danh sách tin tức": fill #fff, KHÔNG bo góc (radius 0),
   shadow 0 0.25rem 1.125rem rgba(0,0,0,0.05) — đo từ get_node_styles, không tự chế. */
.tt-card {
  display: block;
  background: var(--tt-white);
  overflow: hidden;
  box-shadow: 0 0.25rem 1.125rem rgba(0, 0, 0, 0.05);
  height: 100%;
}

.tt-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tt-card__media {
  position: relative;
  width: 100%;
  height: 13.8125rem;
  overflow: hidden;
}

.tt-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prototype ON_HOVER → Variant2: SMART_ANIMATE 0.4s ease-out. */
  transition: transform 0.4s ease-out;
}

/* Polygon 6: tam giác cam góc trên-phải, hiện khi hover (Default: off-card → ẩn). */
.tt-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 3.025rem;
  height: 5.1875rem;
  background: var(--tt-orange-accent);
  clip-path: polygon(100% 0, 0 0, 100% 40%);
  opacity: 0;
  transform: translateX(0.75rem);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
  pointer-events: none;
}

.tt-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
}

/* Date row (node …26928): [📅 date] trái — [Xem chi tiết →] phải */
.tt-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.tt-card__date {
  display: inline-flex;
  align-items: center;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.05rem;
  letter-spacing: -0.0088rem;
  color: #131313;
}

.tt-card__cal {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.25rem;
}

.tt-card__more {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--Title-Orange, #fa6900);
  font-family: "Lexend Deca", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.01313rem;
}

.tt-card__more-arrow {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  filter: brightness(0) saturate(100%) invert(41%) sepia(95%) saturate(1362%) hue-rotate(1deg) brightness(97%) contrast(104%);
}

.tt-card__title {
  margin-top: 0.5rem;
  font-family: var(--tt-font);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  color: var(--tt-heading);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;

  color: var(--Body-Black-100, #131313);

  /* PC/16/16-SM-130 */
  font-family: "Lexend Deca";
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 1.3rem */
  letter-spacing: -0.01rem;
}

.tt-card__desc {
  margin-top: 0.38rem;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  letter-spacing: -0.0088rem;
  color: var(--tt-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--Body-Black-100, #131313);

  /* PC/Body/16/16-L-150 */
  font-family: "Lexend Deca";
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 1.5rem */
  letter-spacing: -0.02rem;
}

/* ── Variant ngang (featured) — node "Card to" 2348:31440 (993×266):
   ảnh trái 28.3125rem, body phải; thứ tự body = title → desc → "Xem chi tiết" (đáy).
   Card to: nền XÁM #f8f8f8, KHÔNG shadow (đo get_node_styles 2348:31440, chỉ fills).
   Type đo từ Figma: title 1.25rem/600 UPPERCASE; desc 1rem/300 justify; more 1rem/500;
   tất cả #131313. */
.tt-card--wide {
  background: var(--tt-section-gray, #f8f8f8);
  box-shadow: none;
}

.tt-card--wide .tt-card__link {
  flex-direction: row;
  align-items: stretch;
}

.tt-card--wide .tt-card__media {
  width: 28.3125rem;
  height: 16.625rem;
  flex-shrink: 0;
}

.tt-card--wide .tt-card__body {
  padding: 1.5rem 1.5rem 0;
  justify-content: flex-start;
}

.tt-card--wide .tt-card__meta {
  order: 3;
  margin-top: 2.5rem;
  justify-content: flex-start;
}

.tt-card--wide .tt-card__title {
  order: 1;
  margin-top: 0;
  font-size: 1.25rem;
  line-height: 1.625rem;
  letter-spacing: -0.0187rem;
  text-transform: uppercase;
}

.tt-card--wide .tt-card__desc {
  order: 2;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: var(--tt-heading);
  text-align: justify;
  -webkit-line-clamp: 3;
}

.tt-card--wide .tt-card__more {
  color: var(--tt-heading);
  font-size: 1rem;
  line-height: 1.3rem;
  letter-spacing: -0.02rem;
}

.tt-card--wide .tt-card__more-arrow {
  filter: brightness(0) saturate(100%);
}

/* ── Variant compact (Card nho 2 — node 2348:31442, 318×287): nền XÁM #f8f8f8, KHÔNG shadow.
   Body xếp DỌC: date (trên) → title → "Xem chi tiết" (đáy) — KHÁC card mặc định (date+more cùng hàng).
   Type đo từ Figma: date 0.875rem/300; title 1rem/600; more 1rem/500; tất cả #131313. */
.tt-card--compact {
  background: var(--tt-section-gray, #f8f8f8);
  box-shadow: none;
}

.tt-card--compact .tt-card__media {
  height: 9.5625rem;
}

.tt-card--compact .tt-card__body {
  padding: 0.75rem 0.75rem 0.875rem;
}

.tt-card--compact .tt-card__meta {
  margin-top: 0;
  justify-content: flex-start;
}

.tt-card--compact .tt-card__date {
  font-weight: 300;
  color: var(--tt-heading);
  letter-spacing: -0.0131rem;
}

.tt-card--compact .tt-card__title {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.3rem;
  letter-spacing: -0.01rem;
}

.tt-card--compact .tt-card__more {
  margin-top: 1rem;
  color: var(--tt-heading);
  font-size: 1rem;
  line-height: 1.3rem;
  letter-spacing: -0.02rem;
}

.tt-card--compact .tt-card__more-arrow {
  filter: brightness(0) saturate(100%);
}

/* Hover = prototype ON_HOVER → Variant2 (đọc get_node_reactions + diff 2 variant):
   - ảnh zoom 28.75→31.875rem = scale 1.1087 (KHÔNG nâng card, KHÔNG đổi shadow — đó là tự chế cũ)
   - tam giác cam góc trên-phải hiện ra
   SMART_ANIMATE 0.4s ease-out. */
.tt-card:hover .tt-card__img {
  transform: scale(1.1087);
}

@media (min-width: 640px) {
  .tt-card:hover .tt-card__corner {
  opacity: 1;
  transform: translateX(0);
}
}

@media (prefers-reduced-motion: reduce) {
  .tt-card__img,
  .tt-card__corner {
    transition: none;
  }
  .tt-card:hover .tt-card__img {
    transform: none;
  }
}

/* MOBILE (node 2348:27288): ảnh 11.5rem, body padding ngang 0.875rem.
   Spacing: meta 0.875rem từ top body, title 0.5rem sau meta, desc 0.375rem sau title.
   Typography: title 0.875rem (từ 1.125rem desktop); weight/lh/ls từng node theo Figma mobile. */
@media screen and (max-width: 639.98px) {
  .tt-card__media {
    height: 11.5rem;
  }
  .tt-card__body {
    padding: 0 0.875rem 0.875rem;
  }
  .tt-card__meta {
    margin-top: 0.875rem;
  }
  .tt-card__cal {
    width: 1rem;
    height: 1rem;
  }
  .tt-card__date {
    font-weight: 300;
    line-height: 1.3125rem;
    letter-spacing: -0.0175rem;
  }
  .tt-card__more {
    font-weight: 400;
    line-height: 1.3125rem;
    letter-spacing: -0.0131rem;
  }
  .tt-card__title {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
    line-height: 1.1375rem;
    letter-spacing: -0.0088rem;
  }
  .tt-card__desc {
    /* MB/Body/14/14-L */
    font-family: "Lexend Deca";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 1.3125rem */
    letter-spacing: -0.0175rem;
  }
  .tt-card--compact .tt-card__more {
    color: var(--Title-Orange, #fa6900);

    /* PC/Body/14/14-R-150 */
    font-family: "Lexend Deca";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 1.3125rem */
    letter-spacing: -0.01313rem;
  }
  .tt-card--compact .tt-card__more-arrow {
    filter: brightness(0) saturate(100%) invert(41%) sepia(95%) saturate(1362%) hue-rotate(1deg) brightness(97%) contrast(104%);
  }
  /* Featured ngang → xếp dọc trên mobile (ảnh trên, body dưới). */
  .tt-card--wide .tt-card__link {
    flex-direction: column;
  }
  .tt-card--wide .tt-card__media {
    width: 100%;
    height: 11.5rem;
  }
  .tt-card--wide .tt-card__body {
    padding: 0 0.875rem 0.875rem;
  }
  .tt-card--wide .tt-card__title {
    font-size: 0.875rem;
    line-height: 1.1375rem;
  }
}


/* ===== template-parts/components/tag/assets/styles.css ===== */
/* Component: Tag / chip */
.tt-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--tt-font);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.05rem;
    letter-spacing: -0.0088rem;
    color: var(--Title-Orange, #FA6900);
    background: #FEEDE1;
    padding: 0.5rem 1rem;
    /* Figma Tag instance: radius 0.25rem (đo get_node_styles), không tự chế 0.375rem. */
    border-radius: 0.25rem;
    white-space: nowrap;
}

/* MOBILE (node I2348:27304;2348:26890, variant MB2):
   font 0.75rem/400/1.125rem/-0.0112rem, padding 0.375rem 0.75rem */
@media screen and (max-width: 639.98px) {
    .tt-tag {
        font-size: 0.75rem;
        line-height: 1.125rem;
        letter-spacing: -0.0112rem;
        padding: 0.375rem 0.75rem;
    }
}


/* ===== template-parts/chi-tiet-tin-tuc/section-article/assets/styles.css ===== */
/* Section: Article (Chi tiết tin tức) — node 2348:27029
   Đo từ figma-slice: content 87.5rem (1400px), padding L/R 6.25rem, body row left FILL + sidebar 27.625rem FIXED. */

.section-article {
  padding: 3.75rem 6.25rem 6.25rem;
  background: var(--tt-white);
}

/* ---------- Head: breadcrumb + h1 + meta bar ---------- */
.section-article__head {
  padding-bottom: 1.5rem;
}

.section-article__breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.section-article__breadcrumb li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: rgba(19, 19, 19, 0.6);
}

.section-article__breadcrumb li[aria-current] {
  white-space: normal;
}

.section-article__breadcrumb li + li::before {
  content: "/";
  margin: 0 0.625rem;
  color: rgba(19, 19, 19, 0.6);
}

.section-article__breadcrumb a {
  color: rgba(19, 19, 19, 0.6);
  transition: color 0.2s ease;
}

.section-article__breadcrumb a:hover {
  color: var(--tt-orange-accent);
}

.section-article__breadcrumb li[aria-current] {
  color: rgba(19, 19, 19, 0.6);
  color: var(--Body-Black-100, #131313);
}

.section-article__title {
  margin-top: 1.5rem;
  font-family: var(--tt-font);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 3.25rem;
  letter-spacing: -0.025rem;
  text-transform: uppercase;
  color: #2e2e2e;
}

/* ---------- Meta / share bar (node 2348:27034) ---------- */
.section-article__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.125rem;
  background: #f8f8f8;
  border-radius: 0.375rem;
}

.section-article__author {
  display: flex;
  align-items: center;
}

.section-article__avatar {
  display: block;
  width: 3.0625rem;
  height: 3.0625rem;
  margin-right: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.section-article__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-article__author-info {
  display: inline-flex;
  align-items: center;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: var(--tt-text-muted);
  color: var(--text-body-75, rgba(46, 46, 46, 0.75));

  /* PC/Body/16/16-L-150 */
  font-family: "Lexend Deca";
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 1.5rem */
  letter-spacing: -0.02rem;
}

.section-article__by strong {
  font-weight: 600;
  color: var(--tt-heading);
}

.section-article__date strong,
.section-article__date time {
  font-weight: 600;
  color: var(--tt-heading);
}

.section-article__divider {
  display: inline-block;
  width: 1px;
  height: 1.5rem;
  margin: 0 1rem;
  background: #d6d6dd;
}

/* Share buttons: icon 27px trong vùng chạm 36px, nền trong suốt (fills null). */
.section-article__share {
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.section-article__share > li + li {
  margin-left: 0.5rem;
}

.section-article__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.section-article__share-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.section-article__share-btn img {
  display: block;
  width: 1.6875rem;
  height: 1.6875rem;
}

/* ---------- Featured image (node 2348:27055) ---------- */
.section-article__featured {
  margin-top: 0;
}

.section-article__featured-img {
  display: block;
  width: 100%;
  height: 31.25rem;
  object-fit: cover;
  border-radius: 0.375rem;
}

/* ---------- Body: content (FILL) + sidebar TOC (FIXED 442px) ---------- */
.section-article__body {
  display: flex;
  align-items: flex-start;
}

.article-content {
  flex: 1;
  min-width: 0;
  padding-top: 2rem;
}

.section-article__toc {
  flex: 0 0 27.625rem;
  width: 27.625rem;
  align-self: stretch;
  margin-left: 3.75rem;
  padding-top: 2rem;
}

/* ============================================================
   the_content() — chuẩn cho CẢ Classic Editor & Block Editor (Gutenberg)
   Tuân rule theme: NO gap (margin), NO px (rem), NO aspect-ratio (padding-top trick).
   ============================================================ */

/* Reset margin block đầu tiên + clearfix cho ảnh float (alignleft/right). */
.article-content > *:first-child {
  margin-top: 0;
}

.article-content::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- Paragraph ---------- */
.article-content p {
  margin-top: 1rem;
  font-family: var(--tt-font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  text-align: justify;
  color: #131313;
}

/* ---------- Headings (tag + .wp-block-heading) ---------- */
.article-content h2,
.article-content h2.wp-block-heading {
  margin-top: 2rem;
  font-family: var(--tt-font);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.625rem;
  letter-spacing: -0.0187rem;
  color: #1a1a1a;
}

.article-content h3,
.article-content h3.wp-block-heading {
  margin-top: 1.5rem;
  font-family: var(--tt-font);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.5rem;
  letter-spacing: -0.0187rem;
  color: #1a1a1a;
}

.article-content h4,
.article-content h4.wp-block-heading,
.article-content h5,
.article-content h5.wp-block-heading,
.article-content h6,
.article-content h6.wp-block-heading {
  margin-top: 1.25rem;
  font-family: var(--tt-font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.0187rem;
  color: #1a1a1a;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  scroll-margin-top: 9.0625rem;
}

/* ---------- Inline ---------- */
.article-content strong,
.article-content b {
  font-weight: 600;
}

.article-content em,
.article-content i {
  font-style: italic;
}

.article-content a {
  display: inline;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  color: var(--tt-orange-accent);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: var(--tt-orange-600);
}

.article-content mark {
  background: #fff3cd;
  color: inherit;
}

.article-content sub,
.article-content sup {
  font-size: 0.75rem;
}

/* ---------- Lists (ul/ol + .wp-block-list) ---------- */
.article-content ul,
.article-content ol,
.article-content .wp-block-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  font-family: var(--tt-font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: #131313;
}

.article-content li + li {
  margin-top: 0.375rem;
}

.article-content li > ul,
.article-content li > ol {
  margin-top: 0.375rem;
}

/* ---------- Images (classic + .wp-block-image) ---------- */
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 1.75rem;
  border-radius: 0rem;
}

.article-content figure,
.article-content .wp-block-image {
  margin-top: 1.75rem;
}

.article-content figure img,
.article-content .wp-block-image img {
  margin-top: 0;
}

.article-content .wp-block-image.aligncenter {
  text-align: center;
}

.article-content .wp-block-image.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

/* Captions: classic .wp-caption-text + block figcaption/.wp-element-caption */
.article-content figcaption,
.article-content .wp-caption-text,
.article-content .wp-element-caption {
  margin-top: 0.5rem;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.05rem;
  text-align: center;
  font-style: italic;
  color: #131313;
}

.article-content figure:has(> img) > figcaption,
.article-content .wp-block-image figcaption,
.article-content .wp-caption .wp-caption-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.06rem;
  margin-top: 0;
  padding: 0 0.75rem;
  background: var(--Neutral-Xm-04, #f8f8f8);
}

.article-content .wp-caption {
  max-width: 100%;
  margin-top: 1.75rem;
}

.article-content .wp-caption img {
  margin-top: 0;
}

/* ---------- Alignment helpers (classic + block) ---------- */
.article-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.article-content .alignleft {
  float: left;
  margin-top: 0.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  max-width: 50%;
}

.article-content .alignright {
  float: right;
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  max-width: 50%;
}

.article-content .alignwide,
.article-content .alignfull {
  max-width: 100%;
}

/* ---------- Blockquote (classic + .wp-block-quote / pullquote) ---------- */
.article-content blockquote,
.article-content .wp-block-quote,
.article-content .wp-block-pullquote {
  margin-top: 1.75rem;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-left: 0.1875rem solid var(--tt-orange-accent);
}

.article-content blockquote p,
.article-content .wp-block-quote p,
.article-content .wp-block-pullquote p {
  font-weight: 400;
  font-style: italic;
  color: #1a1a1a;
}

.article-content blockquote cite,
.article-content .wp-block-quote cite,
.article-content .wp-block-pullquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--tt-text-muted);
}

/* ---------- Tables (classic <table> + figure.wp-block-table) ---------- */
.article-content table,
.article-content .wp-block-table table {
  width: 100%;
  margin-top: 1.75rem;
  border-collapse: collapse;
  font-family: var(--tt-font);
  font-size: 0.9375rem;
  line-height: 1.4rem;
  color: #131313;
}

.article-content .wp-block-table {
  margin-top: 1.75rem;
  overflow-x: auto;
}

.article-content .wp-block-table table {
  margin-top: 0;
}

.article-content th,
.article-content td {
  padding: 0.625rem 0.875rem;
  border: 1px solid #e3e3e3;
  text-align: left;
  vertical-align: top;
}

.article-content thead th {
  background: #f8f8f8;
  font-weight: 600;
}

.article-content .wp-block-table figcaption {
  margin-top: 0.5rem;
}

/* ---------- Code (classic + .wp-block-code / preformatted) ---------- */
.article-content code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.875rem;
  background: #f2f3f5;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.article-content pre,
.article-content .wp-block-code,
.article-content .wp-block-preformatted {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: #1c1c1c;
  color: #f8f8f8;
  border-radius: 0.375rem;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.article-content pre code,
.article-content .wp-block-code code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ---------- Separator (hr + .wp-block-separator) ---------- */
.article-content hr,
.article-content .wp-block-separator {
  margin-top: 1.75rem;
  border: none;
  border-top: 1px solid #e3e3e3;
  height: 0;
}

/* ---------- Columns (.wp-block-columns) — flex + margin, NO gap ---------- */
.article-content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.article-content .wp-block-column {
  flex: 1;
  min-width: 0;
}

.article-content .wp-block-column + .wp-block-column {
  margin-left: 1.5rem;
}

/* ---------- Buttons (.wp-block-button) ---------- */
.article-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.article-content .wp-block-button + .wp-block-button {
  margin-left: 1rem;
}

.article-content .wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--tt-orange-accent);
  color: var(--tt-white);
  font-family: var(--tt-font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.article-content .wp-block-button__link:hover {
  background: var(--tt-orange-600);
  color: var(--tt-white);
}

.article-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--tt-orange-accent);
  border: 1px solid var(--tt-orange-accent);
}

/* ---------- Embeds (video/iframe) — responsive 16:9 bằng padding-top ---------- */
.article-content .wp-block-embed,
.article-content .wp-block-embed-youtube,
.article-content .wp-block-video {
  margin-top: 1.75rem;
}

.article-content .wp-block-embed__wrapper {
  position: relative;
}

.article-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper {
  padding-top: 56.25%;
}

.article-content .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
  padding-top: 75%;
}

.article-content .wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.article-content iframe,
.article-content video {
  max-width: 100%;
  border-radius: 0.375rem;
}

.article-content .wp-block-video video {
  width: 100%;
  height: auto;
}

/* ---------- Gallery (.wp-block-gallery) — grid bằng flex + margin ---------- */
.article-content .wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  margin-left: -0.5rem;
}

.article-content .wp-block-gallery .wp-block-image,
.article-content .wp-block-gallery > figure {
  flex: 1 1 calc(33.333% - 1rem);
  margin: 0.5rem 0 0 0.5rem;
}

.article-content .wp-block-gallery .wp-block-image img {
  width: 100%;
}

/* ---------- Embedded objects (audio, file) ---------- */
.article-content .wp-block-audio,
.article-content .wp-block-file {
  margin-top: 1.75rem;
}

.article-content .wp-block-audio audio {
  width: 100%;
}

/* ---------- Sidebar TOC card (node 2348:27138, sticky) ---------- */
.section-article__toc-card {
  position: sticky;
  top: 9rem;
  background: var(--tt-white);
  border-radius: 0.375rem;
  box-shadow: 0 0.1875rem 2.5rem 0.0625rem rgba(214, 214, 221, 0.4);
  padding: 1.25rem 1.5rem;
  transition: top 0.3s ease;
}

body.is-site-header-hidden .section-article__toc-card {
  top: 2rem;
}

.section-article__toc-title {
  font-family: var(--tt-font);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.625rem;
  letter-spacing: -0.0187rem;
  text-transform: uppercase;
  color: #131313;
}

.section-article__toc-nav {
  margin-top: 1rem;
}

.section-article__toc-list {
  list-style: none;
}

.section-article__toc-list li {
  font-family: var(--tt-font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: var(--Body-Black-100, #131313);
}

.section-article__toc-list > li {
  font-weight: 300;
}

.section-article__toc-list > li + li {
  margin-top: 0.625rem;
}

.section-article__toc-list a {
  color: inherit;
  display: block;
  transition: color 0.2s ease;
}

.section-article__toc-list a:hover {
  color: var(--tt-orange-accent, #fa6900);
}

.section-article__toc-list .is-active > a {
  color: var(--tt-orange-accent, #fa6900);
  font-weight: 400;
}

.section-article__toc-list > li.is-active > a {
  font-weight: 400;
}

/* nested h3 sub-list */
.section-article__toc-list ol {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.section-article__toc-list ol li + li {
  margin-top: 0.5rem;
}

.section-article__toc-list ol li {
  font-weight: 300;font-size: 0.875rem;
}

.section-article__toc-more {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--tt-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #2b98ff;
}

.section-article__toc-more:hover {
  text-decoration: underline;
}

/* ============================================================
   MOBILE TOC — accordion inline (2348:27665) + floating bar (2348:27536)
   + bottom-sheet (2348:27587). Ẩn hoàn toàn trên desktop; bật ở @media.
   ============================================================ */
.section-article__toc-mobile,
.section-article__toc-fab,
.section-article__toc-sheet {
  display: none;
}

/* ---------- Mobile (≤639.98px) — layout thật từ Figma node 2348:27477 ---------- */
@media screen and (max-width: 639.98px) {
  .section-article {
    padding: 2.5rem 1rem;
  }

  .section-article__head {
    padding-bottom: 0;
  }

  .section-article__breadcrumb ol {
    display: block;
    width: 100%;
  }

  .section-article__breadcrumb li {
    display: inline;
  }

  .section-article__breadcrumb a {
    display: inline;
  }

  .section-article__breadcrumb li + li::before {
    margin: 0 0.25rem;
  }

  /* Breadcrumb 14/400 */
  .section-article__breadcrumb li,
  .section-article__breadcrumb li + li::before {
    font-size: 0.875rem;
    line-height: 1.3125rem;
    letter-spacing: 0;
  }

  .section-article__author {
    padding-left: 0.5rem;
  }

  /* H1 24/600/-0.03/uppercase/#131313 */
  .section-article__title {
    margin-top: 1.25rem;
    font-size: 1.5rem;
    line-height: 1.95rem;
    letter-spacing: -0.03rem;
    font-weight: 600;
    color: #131313;
  }
  .article-content figure:has(> img) > figcaption,
.article-content .wp-block-image figcaption,
.article-content .wp-caption .wp-caption-text {
 
  font-size: 0.75rem ;

}

  /* Meta: bỏ nền box, bỏ share — chỉ avatar + Đăng bởi | Đăng vào (node 2348:27483) */
  .section-article__meta {
    margin-top: 1rem;
    padding: 0.5rem 0;
    background: none;
    border-radius: 0;
    background: #f7f7f7;
    border-radius: 0.25rem;
  }

  .section-article__share {
    display: none;
  }

  .section-article__avatar {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.625rem;
  }

  .section-article__author-info {
    font-size: 0.75rem;
    line-height: 1.125rem;
    letter-spacing: -0.0112rem;
    font-weight: 300;
    color: rgba(46, 46, 46, 0.75);
  }

  .section-article__divider {
    height: 1.5rem;
    margin: 0 0.875rem;

    width: 0.0375rem;
    height: 1.5rem;
  }

  /* TOC: ẩn sidebar desktop, hiện accordion inline (sau meta, trước featured) */
  .section-article__toc {
    display: none;
  }

  .section-article__toc-mobile {
    display: block;
    margin-top: 1.25rem;
    background: var(--tt-white);
    border-radius: 0.25rem;
    box-shadow: 0 0.1875rem 2.5rem 0.0625rem rgba(214, 214, 221, 0.4);
    padding: 0.875rem;
  }

  .section-article__toc-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
  }

  .section-article__toc-mobile-head::-webkit-details-marker {
    display: none;
  }

  .section-article__toc-mobile-title {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: #131313;
  }

  .section-article__toc-chevron {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .section-article__toc-mobile[open]:not(.is-animating) .section-article__toc-chevron,
  .section-article__toc-mobile-head[aria-expanded="true"] .section-article__toc-chevron {
    transform: rotate(180deg);
  }

  .section-article__toc-mobile-nav {
    margin-top: 0.875rem;
  }

  /* TOC list items (chung accordion + sheet): mục chính 14/300, sub 12/300 */
  .section-article__toc-list li {
    font-size: 0.875rem;
    line-height: 1.3125rem;
    letter-spacing: -0.0175rem;
    font-weight: 300;
  }

  .section-article__toc-list > li + li {
    margin-top: 0.5rem;
  }

  .section-article__toc-list ol li {
    font-size: 0.75rem;
    line-height: 1.125rem;
    letter-spacing: -0.0112rem;
    font-weight: 300;
  }

  /* "Xem thêm" 14/400 (desktop=1rem leaks → override) */
  .section-article__toc-more {
    font-size: 0.875rem;
  }

  /* Featured 194px */
  .section-article__featured {
    margin-top: 1.25rem;
  }

  .section-article__featured-img {
    height: 12.125rem;
    border-radius: 0.25rem;
  }

  /* Body: 1 cột, font nhỏ lại */
  .section-article__body {
    display: block;
    margin-top: 1.25rem;
  }

  .article-content {
    padding-top: 0;
  }

  .article-content p,
  .article-content li {
    font-size: 0.875rem;
    line-height: 1.3125rem;
    letter-spacing: -0.0175rem;
  }

  .article-content h2,
  .article-content h2.wp-block-heading {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
  }

  .article-content h3,
  .article-content h3.wp-block-heading {
    font-size: 0.9375rem;
    line-height: 1.4rem;
  }

  .article-content h2,
  .article-content h3,
  .article-content h4,
  .article-content h5,
  .article-content h6 {
    scroll-margin-top: 5.75rem;
  }

  /* Block content: cột & gallery xuống 1 hàng dọc */
  .article-content .wp-block-columns {
    flex-direction: column;
  }

  .article-content .wp-block-column + .wp-block-column {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .article-content .wp-block-gallery .wp-block-image,
  .article-content .wp-block-gallery > figure {
    flex: 1 1 100%;
  }

  .article-content .alignleft,
  .article-content .alignright {
    float: none;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
  }

  /* ---------- Floating bar (ghim đáy) — node 2348:27537 ---------- */
  .section-article__toc-fab {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--tt-white);
    box-shadow: 0 -0.25rem 0.75rem 0 rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
  }

  .section-article__toc-fab.is-visible {
    display: flex;
  }

  .section-article__toc-fab-label {
    font-family: var(--tt-font);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: -0.0175rem;
    color: #2e2e2e;
  }

  .section-article__toc-fab-arrow {
    width: 1.125rem;
    height: 1.125rem;
  }

  /* ---------- Bottom-sheet — node 2348:27587 ---------- */
  .section-article__toc-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 950; /* trên .social-sidebar (900) để modal phủ widget liên hệ; dưới mobile-menu (1000) */
    visibility: hidden;
    transition: visibility 0s linear 0.3s;
  }

  .section-article__toc-sheet.is-open {
    visibility: visible;
    transition-delay: 0s;
  }

  .section-article__toc-sheet-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .section-article__toc-sheet.is-open .section-article__toc-sheet-scrim {
    opacity: 1;
  }

  .section-article__toc-sheet-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .section-article__toc-sheet.is-open .section-article__toc-sheet-dock {
    transform: translateY(0);
  }

  .section-article__toc-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }

  .section-article__toc-sheet-title {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: var(--tt-white);
  }

  .section-article__toc-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }
  .section-article__toc-list a {
    letter-spacing: -0.01313rem;
  }

  .section-article__toc-sheet-close img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .section-article__toc-sheet-panel {
    background: var(--tt-white);
    border-radius:  0 0;
    padding: 1.25rem 1rem;
    max-height: 60vh;
    overflow-y: auto;
  }

  /* Giảm hoạt ảnh khi user yêu cầu */
  @media (prefers-reduced-motion: reduce) {
    .section-article__toc-chevron,
    .section-article__toc-sheet-scrim,
    .section-article__toc-sheet-dock {
      transition: none;
    }
  }
}


/* ===== template-parts/chi-tiet-tin-tuc/section-related-news/assets/styles.css ===== */
/* Section: Các Tin Tức Khác (related news) — node 2348:27178
   padding 6.25rem 5.875rem; inner 88.25rem FILL; 3 card/slide margin-left 2rem; nav progress + ◀▶. */

.section-related {
    padding: 6.25rem 5.875rem;
   background: var(--Neutral-Xm-04, #F8F8F8);
    
}

.section-related__inner {
    display: flex;
    flex-direction: column;
}

/* ---------- Head: heading + "Xem tất cả" ---------- */
.section-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-related__heading {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 3.25rem;
    letter-spacing: -0.05rem;
    text-transform: uppercase;
    color: #131313;
}

.section-related .tt-btn--outline {
    background: transparent;
    color: var(--tt-orange-accent);
    border: 1px solid var(--tt-orange-accent);
    width: 15.38rem;
    height: 3.5rem;
    padding: 0;
}

.section-related .tt-btn--outline .tt-btn__icon {
    filter: brightness(0) saturate(100%) invert(41%) sepia(95%) saturate(1362%) hue-rotate(1deg) brightness(97%) contrast(104%);
}

.section-related__head .tt-btn--outline:hover {
    background: #fa6900;
    color: #ffffff;
}

.section-related__head .tt-btn--outline:hover .tt-btn__icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(18%) saturate(2%) hue-rotate(149deg) brightness(111%) contrast(100%);
}

.section-related .tt-card__date,
.section-related .tt-card__date time {
    color: var(--Body-Black-100, #131313);
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: -0.01313rem;
}

/* ---------- Swiper cards ---------- */
.section-related__swiper {
    width: 100%;
    margin-top: 2.5rem;
    overflow: hidden;
}

.section-related__swiper .swiper-slide {
    height: auto;
    display: flex;
}

.section-related__swiper .tt-card {
    width: 100%;
}

/* ---------- Nav: progress (bar + fraction) + arrows ---------- */
.section-related__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.section-related__progress {
    display: flex;
    align-items: center;
}

.section-related__bar {
    display: flex;
    align-items: center;
}

.section-related__seg {
    height: 0.1875rem;
    background: #e3e3e3;
    border-radius: 0.09375rem;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.section-related__seg + .section-related__seg {
    margin-left: 0.375rem;
}

.section-related__seg--active {
    background: var(--tt-orange-accent);
}

.section-related__fraction {
    margin-left: 0.75rem;
    font-family: var(--tt-font);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.0625rem;
    letter-spacing: -0.02rem;
    color: #131313;
    color: var(--Body-Black-100, #131313);

/* PC/14/14-MD-120 */
font-family: "Lexend Deca";
font-size: 0.875rem;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 1.05rem */
letter-spacing: -0.00875rem;
}

.section-related__arrows {
    display: flex;
    align-items: center;
}

.section-related__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 0;
    background: #f2f3f5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.section-related__arrow + .section-related__arrow {
    margin-left: 0.5rem;
}

.section-related__arrow:hover {
    background: var(--tt-orange-accent);
}

.section-related__arrow:hover img {
    filter: brightness(0) invert(1);
}

.section-related__arrow img {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
    transition: filter 0.2s ease;
}

.section-related__arrow-icon--right {
    transform: scaleX(-1);
}

.section-related__arrow.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.section-related__arrow.swiper-button-disabled:hover {
    background: #f2f3f5;
}

.section-related__arrow.swiper-button-disabled:hover img {
    filter: none;
}

/* ---------- Mobile (≤639.98px) — node 2348:27540 ----------
   Thứ tự Figma: heading → card (1/slide) → nav (01/NN trái + ◀▶ phải)
   → "Xem tất cả" full-width ở ĐÁY. Dùng display:contents + order (desktop giữ nguyên). */
@media screen and (max-width: 639.98px) {
    .section-related {
        padding: 2.5rem 1rem;
    }

    .section-related__inner {
        display: flex;
        flex-direction: column;
    }

    /* head tan ra → heading + button thành flex item của inner để sắp xếp lại */
    .section-related__head {
        display: contents;
    }

    .section-related__heading {
        order: 1;
        font-size: 1.25rem;
        line-height: 2rem;
        letter-spacing: -0.0375rem;
    }

    .section-related__swiper {
        order: 2;
        margin-top: 1.25rem;
    }

    .section-related__nav {
        order: 3;
        margin-top: 1.25rem;
    }

    .section-related__head .tt-btn {
        order: 4;
        width: 100%;
        height: 2.62rem;
        margin-top: 2rem;
        font-size: 0.875rem;
        line-height: 1.1375rem;
        letter-spacing: -0.0088rem;
    }

    /* Nav mobile: ẩn thanh segment, chỉ fraction 01/NN (trái) + ◀▶ (phải) */
    .section-related__bar {
        display: none;
    }

    .section-related__fraction {
        margin-left: 0;
        font-weight: 500;
        font-size: 0.875rem;
        line-height: 1.3125rem;
        letter-spacing: 0;
    }

    /* Arrow: ô trắng viền 40px (node 2348:27770) */
    .section-related__arrow {
        width: 2.5rem;
        height: 2.5rem;
        background: #ffffff;
      
    }

    .section-related__arrow:hover {
        background: #ffffff;
    }

    .section-related__arrow:hover img {
        filter: none;
    }

    .section-related__arrow img {
        width: 1.25rem;
        height: 1.25rem;
    }
}


/* ===== template-parts/chi-tiet-tin-tuc/assets/styles.css ===== */
/* Trang Chi tiết tin tức (single post) — tokens + imports.
   LƯU Ý: @import PHẢI đứng đầu file (trước mọi rule khác). */

/* Shared components */




/* Sections */



:root {
    --tt-orange: #f15a29;        /* Orange-300 brand */
    --tt-orange-accent: #fa6900; /* button/link/active accent */
    --tt-orange-600: #c14821;    /* hover đậm */
    --tt-heading: #131313;
    --tt-text: #1c1c1c;
    --tt-text-muted: #4b4a4a;
    --tt-white: #ffffff;
    --tt-font: "Lexend Deca", sans-serif;
}

