/* Thăng Long Kim Việt – Local overrides (loaded after /css/vendor/style.css) */

/* Placeholder blocks replacing external images */
.img-ph {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-right: 8px;
  flex: 0 0 auto;
}
.img-ph--sm {
  width: 14px;
  height: 14px;
  margin-right: 0;
  vertical-align: -2px;
}
.logo-ph {
  display: block;
  width: 150px;
  height: 48px;
  border-radius: 10px;
  background: rgba(153, 0, 0, 0.25);
  border: 1px solid rgba(153, 0, 0, 0.35);
}
.logo-ph--sm {
  width: 120px;
  height: 38px;
}

.banner-frame {
  height: 420px;
  background: linear-gradient(135deg, rgba(153, 0, 0, 0.18), rgba(0, 0, 0, 0.05));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Footer text tweaks */
.footer .footer-info ul li span {
  font-weight: 600;
}

.site-logo-img {
  max-height: 56px;
  width: auto;
  display: block;
}
.site-logo-img--sm {
  max-height: 44px;
}
.site-logo-img--footer {
  max-height: 64px;
  margin-bottom: 8px;
}

.header-gr--spacer {
  min-width: 120px;
}

/* Khung section bảng giá: mở rộng, không cắt cột giá (template hay để .container-l ~50%) */
.home-chart.gold-rate-component {
  overflow: visible;
}

.home-chart.gold-rate-component > .container {
  max-width: min(100vw - 24px, 1680px);
  width: 100%;
}

/* Trang chỉ có bảng (không cột biểu đồ): full width */
.home-chart.gold-rate-component .chart-container-row:not(:has(.container-r)) {
  display: block;
  width: 100%;
}

.home-chart.gold-rate-component .chart-container-row:not(:has(.container-r)) .chart-container.container-l {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* Trang bảng + biểu đồ: cột bảng vẫn dùng hết chiều ngang ô flex */
.home-chart.gold-rate-component .chart-container-row:has(.container-r) .chart-container.container-l {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.home-chart.gold-rate-component .chart-body {
  overflow-x: visible;
  overflow-y: visible;
  max-width: 100%;
}

.gold-table-meta {
  text-align: center;
  margin-bottom: 8px;
}
.gold-table-brand-italic {
  font-style: italic;
  color: #8b1d1d;
  font-weight: 600;
}

.gold-table-extended th,
.gold-table-extended td {
  vertical-align: middle;
}

.gold-table-content.gold-table-extended tbody td.col-product {
  font-weight: 400 !important;
  font-synthesis: none;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}

.gold-table-content.gold-table-extended tbody td.col-purity,
.gold-table-content.gold-table-extended tbody td.price {
  font-weight: 400 !important;
  font-synthesis: none;
}

.gold-brand-cell {
  font-weight: 600;
  text-align: center;
  white-space: normal;
  min-width: 7.5rem;
}

.gold-table-content.gold-table-extended tbody td.gold-brand-cell:not(.gold-brand-cell--silver) {
  background: #fff !important;
  color: #18181b !important;
}

.gold-table-content.gold-table-extended tbody td.gold-brand-cell--silver {
  background: #1a56a8 !important;
  color: #fff !important;
}

.gold-table-content.gold-table-extended tbody td.gold-table-corner-bl {
  border-bottom-left-radius: 10px;
  overflow: hidden;
}
.gold-table-content.gold-table-extended tbody td.gold-table-corner-br {
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

/* Bạc (metal=silver): toàn bộ dòng SP / hàm lượng / giá nền xanh; vàng có thể bật highlight */
.gold-table-content tr.row-silver > td.col-product,
.gold-table-content tr.row-silver > td.col-purity,
.gold-table-content tr.row-silver > td.price,
.gold-table-content tr.row-highlight > td.col-product,
.gold-table-content tr.row-highlight > td.col-purity,
.gold-table-content tr.row-highlight > td.price {
  background: #1a56a8 !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-synthesis: none;
}

.gold-rate-component .table-responsive.gold-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.gold-table-content.gold-table-extended {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  max-width: none;
}

.gold-table-content.gold-table-extended td.price,
.gold-table-content.gold-table-extended thead th:nth-child(4),
.gold-table-content.gold-table-extended thead th:nth-child(5) {
  white-space: nowrap;
  font-size: 16px;
}

.gold-table-content.gold-table-extended th {
  font-size: 16px !important;
  font-weight: 700;
}

.gold-table-content.gold-table-extended td.col-product,
.gold-table-content.gold-table-extended td.price {
  font-size: 16px ;      
  font-weight: 600;
}

.gold-price-trend {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.82em;
  font-weight: 700;
  vertical-align: middle;
  line-height: 1;
}
.gold-price-trend--up {
  color: #16a34a;
}
.gold-price-trend--down {
  color: #ff0000;
}

.tv-gold-table .gold-price-trend {
  margin-left: 6px;
  font-size: 0.72em;
  vertical-align: baseline;
}

/* TV: giá vàng/trắng trên td — icon xu hướng luôn xanh/đỏ, không dính glow của giá */
.tv-gold-table td.price .gold-price-trend--up {
  color: #16a34a !important;
  text-shadow: none !important;
}
.tv-gold-table td.price .gold-price-trend--down {
  color: #ff0000 !important;
  text-shadow: none !important;
}

.gold-table-content.gold-table-extended.gold-table--stacked tbody td.col-product {
  white-space: normal !important;
  font-size: 14.5px !important;
}


.gold-chart-wrap {
  width: 100%;
  height: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

/* Tạm ẩn biểu đồ giá vàng (trang chi tiết) — bỏ class để bật lại */
.tlkv-gold-chart--hidden {
  display: none !important;
}

.menu-mb {
  display: none;
}
.menu-mb.open {
  display: block;
}
.menu-subs.menu-mega {
  display: none;
}
.menu-subs.menu-mega.open {
  display: block;
}

@media (max-width: 576px) {
  .banner-frame {
    height: 240px;
  }
  .gold-table-extended {
    font-size: 12px;
  }
}

/* --- Sản phẩm bán chạy (/sanpham): lưới tối đa 4 cột, thẻ gần baotinmanhhai.vn/san-pham --- */
.tlkv-bestseller-root {
  margin-top: 8px;
}
.tlkv-bestseller-title {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b91c1c;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.tlkv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 991.98px) {
  .tlkv-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .tlkv-product-grid {
    grid-template-columns: 1fr;
  }
}
.tlkv-product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tlkv-product-card__media {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.tlkv-product-card__watermark {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.tlkv-product-card__watermark-img {
  opacity: 1;
  max-height: 0px;
  width: auto;
  max-width: min(200px, 85%);
  height: auto;
  object-fit: contain;
  display: block;
}
.tlkv-product-card__img-wrap {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 20px;
  background: #fff;
}
.tlkv-product-card__img {
  max-width: 100%;
  max-height: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tlkv-product-card__noimg {
  font-size: 13px;
  color: #a1a1aa;
}
.tlkv-product-card__body {
  padding: 14px 12px 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tlkv-product-card__name {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #18181b;
  margin: 0 0 10px;
}
.tlkv-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #b91c1c;
  margin: 0;
}
.tlkv-product-empty {
  color: #71717a;
  text-align: center;
  padding: 24px;
}

@media (max-width: 768px) {
  .gold-rate-component .table-responsive.gold-table {
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
  }
  .gold-table-content.gold-table-extended {
    border: 1px solid #b91c1c !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
  }

  .gold-table-content.gold-table-extended {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
  }

  .gold-table-content td {
    font-size: 11.8px !important;
    line-height: 1.45 !important;
    padding: 9px 3px !important;           
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    vertical-align: middle !important;
  }

  .gold-table-content th {
    font-size: 10.2px !important;
    line-height: 1.35 !important;
    padding: 10px 3px !important;         
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
  }

  /* 4. Điều chỉnh width cột - nhường thêm cho Hàm lượng */
  .gold-table-content th:nth-child(1),
  .gold-table-content td:nth-child(1) {  
    width: 21% !important;
  }
  .gold-table-content th:nth-child(2),
  .gold-table-content td:nth-child(2) {   
    width: 21% !important;
  }
  .gold-table-content th:nth-child(3),
  .gold-table-content td:nth-child(3) {  
    width: 15% !important;
  }
  .gold-table-content th:nth-child(4),
  .gold-table-content td:nth-child(4),
  .gold-table-content th:nth-child(5),
  .gold-table-content td:nth-child(5) {   
    width: 21.5% !important;
    font-size: 15px !important;
  }

  .gold-table-content td.price,
  .gold-table-content thead th:nth-child(4),
  .gold-table-content thead th:nth-child(5) {
    white-space: normal !important;
    font-size: 15px !important;
    font-weight: 600;
    word-break: keep-all !important;
  }

  .gold-brand-cell {
    white-space: normal !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    padding: 9px 3px !important;       
  }

  /* Mobile nhỏ: 4 cột — SP + (hàm lượng), không cột HL riêng */
  .gold-table-content.gold-table-extended.gold-table--stacked th:nth-child(1),
  .gold-table-content.gold-table-extended.gold-table--stacked td:nth-child(1) {
    width: 22% !important;
  }
  .gold-table-content.gold-table-extended.gold-table--stacked th:nth-child(2),
  .gold-table-content.gold-table-extended.gold-table--stacked td:nth-child(2) {
    width: calc(38% - 20px) !important;
  }
  .gold-table-content.gold-table-extended.gold-table--stacked th:nth-child(3),
  .gold-table-content.gold-table-extended.gold-table--stacked td:nth-child(3),
  .gold-table-content.gold-table-extended.gold-table--stacked th:nth-child(4),
  .gold-table-content.gold-table-extended.gold-table--stacked td:nth-child(4) {
    width: calc(20% + 10px) !important;
  }
  .gold-table-content.gold-table-extended.gold-table--stacked td.price,
  .gold-table-content.gold-table-extended.gold-table--stacked thead th:nth-child(3),
  .gold-table-content.gold-table-extended.gold-table--stacked thead th:nth-child(4) {
    white-space: nowrap !important;
    font-weight: 600 !important;
  }

  /* Mobile nhỏ: thu hẹp padding cột SẢN PHẨM để đủ chỗ icon ▲/▼ */
  .gold-table-content.gold-table-extended.gold-table--stacked tbody td.col-product {
    padding-left: 3px !important;
    padding-right: 0px !important; /* giảm ~5-8px so với mặc định */
  }

   .gold-price-trend {
    font-size: 0.6em !important;     
    margin-left: 1px !important;
  }
  
  .tv-gold-table .gold-price-trend {
    font-size: 0.6em !important;    
    margin-left: 1px !important;
  }
}
/* ========== TV MODAL ========== */
.tv-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 9999;
  align-items: stretch;
  justify-content: center;
  padding: var(--tv-modal-pad);
  box-sizing: border-box;
  height: 100vh;
  max-height: 100dvh;
}

.tv-modal-content {
  background: rgb(158, 3, 3);
  color: #fff;
  width: min(1920px, 100%);
  max-width: 1920px;
  flex: 0 1 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  height: 100%;
  min-height: 0;
  position: relative;
  box-sizing: border-box;
}

/* Header */
.tv-header {
  background: rgb(158, 3, 3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5vw;
  position: absolute;
  min-height: 5vh;
  z-index: 3;
}

.tv-logo-company {
  display: flex;
  align-items: center;
  gap: 1vw;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.tv-company-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
}

.tv-company-name h2 {
  font-size: clamp(0.9rem, 1.6vw, 1.6rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tv-company-name p {
  font-size: clamp(0.5rem, 0.85vw, 0.85rem);
  margin: 0;
  opacity: 0.85;
}

.tv-logo-company img {
  display: block;
  flex-shrink: 0;
  width: 54px !important;   
  height: 54px !important;
  min-width: 54px;
  min-height: 54px;
  max-width: none;
  object-fit: contain;
}

.tv-main-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 2.5vw, 2.8rem) !important;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 2px;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.tv-date-line {
  text-align: left;
  font-size: clamp(0.58rem, 0.9vw, 0.95rem);
  font-family: monospace;
  padding: 0;
  margin: 0;
  color: #fff;
  opacity: 0.95;
  white-space: nowrap;
}
.tv-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 3;
}
.tv-time-close {
  display: flex;
  align-items: center;
  gap: 1vw;
  position: relative;
  z-index: 2;
}

.tv-close-btn {
  background: #fff;
  color: #b91c1c;
  border: none;
  width: clamp(20px, 1.6vw, 30px);
  height: clamp(20px, 1.6vw, 30px);
  border-radius: 50%;
  font-size: clamp(0.75rem, 1vw, 1rem);
  cursor: pointer;
}

.tv-close-btn:hover {
  background: #ffe0e0;
  transform: scale(1.05);
}

/* ===== TABLE WRAPPER ===== */
.tv-table-wrapper {
  position: absolute;
  overflow: visible !important;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  min-height: 0;
  z-index: 1;
  box-sizing: border-box;
  align-items: stretch;
}

.tv-table-container {
  display: inline-block;
  flex-direction: column;
  width: auto;
  min-width: 100%;
  transform-origin: center center;
  margin-bottom: 0;
  flex: 0 0 auto;
  transform-origin: top left;
  will-change: transform;
  box-sizing: border-box;
}

/* ===== TABLE ===== */
.tv-gold-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 0 !important;
  border-radius: 14px;
}

.tv-gold-table th {
  padding: clamp(5px, 0.5vh, 11px) clamp(6px, 0.8vw, 16px);
  border: 2px solid rgba(255, 255, 255, 0.68);
  color: rgb(255, 217, 0);
  text-align: center;
  position: relative;
  font-size: clamp( 0.8rem, 1.2vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.tv-gold-table td { 
  padding: clamp(5px, 0.5vh, 11px) clamp(6px, 0.8vw, 16px);
  border: 2px solid rgba(255, 255, 255, 0.68);
  text-align: center;
  position: relative;
  font-size: clamp( 1rem, 1.2vw, 1.6rem);
  line-height: 1.4; 
}

.tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(1),
.tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(1) {
  width: 18% !important;
}
.tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(2),
.tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(2) {
  width: 25% !important;
}
.tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(3),
.tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(3) {
  width: 7% !important;
}
.tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(4),
.tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(4) {
  width: 25% !important;
}
.tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(5),
.tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(5) {
  width: 25% !important;
}

.tv-gold-table td:nth-child(4), 
.tv-gold-table td:nth-child(5) { 
    font-size: 1.55rem !important;   
    font-weight: 700;
    line-height: 1 !important;          
    padding: 4px 7px !important;
    vertical-align: middle;
    box-sizing: border-box;
}

.tv-gold-table td.price .tv-price-text {
  display: inline;
}

.tv-gold-table td:nth-child(4)::after,
.tv-gold-table td:nth-child(5)::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 1px;
  pointer-events: none;
}

.tv-gold-table.tv-gold-table--stacked th:nth-child(3),
.tv-gold-table.tv-gold-table--stacked td:nth-child(3),
.tv-gold-table.tv-gold-table--stacked th:nth-child(4),
.tv-gold-table.tv-gold-table--stacked td:nth-child(4) {
  width: auto !important;
}
.tv-gold-table.tv-gold-table--stacked td:nth-child(3),
.tv-gold-table.tv-gold-table--stacked td:nth-child(4) {
  font-size: 1.55rem !important;
  font-weight: 700;
  line-height: 1 !important;
  padding: 4px 6px !important;
  vertical-align: middle;
}

.tv-button-wrap {
  margin: 20px 0 15px 0;
  text-align: left;
}

.btn-tv-mode {
  background: linear-gradient(135deg, #c62828 0%, #8b0000 50%, #5c0f0f 100%);
  border: none;
  color: #FFD700;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 215, 0, 0.3) inset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-tv-mode::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-tv-mode:hover::before {
  left: 100%;
}

.btn-tv-mode:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #9e0000 50%, #701515 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 215, 0, 0.5) inset;
  color: #FFE44D;
  letter-spacing: 2px;
}

.btn-tv-mode:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-tv-mode .tv-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
/* ===== TV MODAL RESPONSIVE ===== */
@media (max-width: 860px) {
  .tv-main-title { font-size: 1.2rem; }
  .tv-company-name h2 { font-size: 1rem; }
  .tv-company-name p { font-size: 0.65rem; }
  .tv-logo-company img { height: 44px; min-width: 44px; min-height: 44px; max-width: none; }
  .tv-date-line { font-size: 0.7rem; }
  .tv-footer { font-size: 0.85rem; }
  .tv-header { padding: 10px 12px; min-height: 60px; }
  .tv-gold-table th, .tv-gold-table td {
    padding: 6px 4px;
    font-size: 0.85rem;
  }
  .tv-gold-table td:nth-child(3) {
    font-size: 15px;
    padding: 5px 4px;
  }
  .tv-gold-table td:nth-child(4),
  .tv-gold-table td:nth-child(5) {
    font-size: calc(15px * 1.02);
    padding: 4px 3px;
    font-variant-numeric: tabular-nums;
  }
}

@media (max-width: 680px) {
  .tv-main-title { font-size: 0.9rem; }
  .tv-header { padding: 8px 10px; min-height: 56px; }
  .tv-company-name h2 { font-size: 0.75rem; }
  .tv-company-name p { font-size: 0.5rem; }
  .tv-logo-company img { height: 36px; min-width: 36px; min-height: 36px; max-width: none; }
  .tv-date-line { font-size: 0.6rem; }
  .tv-footer { font-size: 0.7rem; }
  .tv-gold-table th, .tv-gold-table td {
    padding: 4px 3px;
    font-size: 0.7rem;
  }
  .tv-gold-table td:nth-child(3) {
    font-size: 12px;
    padding: 3px 3px;
  }
  .tv-gold-table td:nth-child(4),
  .tv-gold-table td:nth-child(5) {
    font-size: calc(12px * 1.02);
    padding: 2px 2px;
    font-variant-numeric: tabular-nums;
  }
}

@media (max-width: 580px) {
  .tv-main-title { font-size: 0.75rem; }
  .tv-company-name h2 { font-size: 0.65rem; }
  .tv-company-name p { font-size: 0.4rem; }
  .tv-date-line { font-size: 0.55rem; }
}

/* ========== TV TABLE INLINE (WEB MODE) ========== */
.tv-inline-section {
  margin: 18px 0 20px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(144, 0, 0, 1);
  box-shadow: 0 12px 26px rgba(90, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tv-inline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 0;
  position: relative;
  background: rgba(144, 0, 0, 1);
}

.tv-inline-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-inline-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tv-inline-company-name h4 {
  margin: 0;
  color: #fff7d8;
  font-size: 1.04rem;
  letter-spacing: 0.35px;
  font-weight: 800;
  text-transform: uppercase;
}

.tv-inline-company-name p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.68rem;
  letter-spacing: 0.2px;
}

.tv-inline-main-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #ffffff;
  font-size: 2.72rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.tv-inline-date-line {
  font-family: monospace;
  font-size: 0.84rem;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: none;
  margin-left: auto;
}

.tv-inline-table-wrap {
  padding: 0 14px 14px;
}

.tv-inline-section .tv-gold-table {
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.tv-inline-section .tv-gold-table th,
.tv-inline-section .tv-gold-table td {
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.tv-inline-section .tv-gold-table th {
  background: rgba(144, 0, 0, 1);
  font-size: 1.18rem;
  color: rgba(242, 200, 66, 1);
  letter-spacing: 0.4px;
  padding: 13px 10px;
  font-weight: 800;
}

.tv-inline-section .tv-gold-table td {
  color: #ffffff;
  font-size: 1.2rem;
  padding: 12px 10px;
  background: rgba(144, 0, 0, 1);
  text-shadow: none;
}

.tv-inline-section .tv-gold-table td:nth-child(4),
.tv-inline-section .tv-gold-table td:nth-child(5) {
  font-size: 1.36rem !important;
  font-weight: 800 !important;
  padding: 12px 10px !important;
}

.tv-inline-section .tv-gold-table td.price .tv-price-text {
  color: #ffffff;
  font-size: 1.36rem;
  font-weight: 800;
}

.tv-inline-section .tv-gold-table td.price .gold-price-trend {
  margin-left: 6px !important;
  display: inline-block !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.tv-inline-section .tv-gold-table td.price .gold-price-trend--up {
  color: #34d97a !important;
  text-shadow: 0 0 10px rgba(52, 217, 122, 0.85), 0 0 3px rgba(255, 255, 255, 0.45);
}

.tv-inline-section .tv-gold-table td.price .gold-price-trend--down {
  color: #ff5e5e !important;
  text-shadow: 0 0 10px rgba(255, 94, 94, 0.85), 0 0 3px rgba(255, 255, 255, 0.4);
}

.legacy-gold-table--hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .tv-inline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .tv-inline-main-title {
    position: static;
    transform: none;
    font-size: 1.44rem;
    line-height: 1.2;
    margin-top: 2px;
    white-space: normal;
  }

  .tv-inline-date-line {
    font-size: 0.82rem;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .tv-inline-section {
    margin: 12px 0 16px;
    border-radius: 12px;
  }

  .tv-inline-brand img {
    width: 38px;
    height: 38px;
  }

  .tv-inline-company-name h4 {
    font-size: 0.86rem;
  }

  .tv-inline-company-name p {
    font-size: 0.6rem;
  }

  .tv-inline-main-title {
    font-size: 1.16rem;
    letter-spacing: 0.6px;
  }

  .tv-inline-date-line {
    font-size: 0.7rem;
  }

  .tv-inline-table-wrap {
    padding: 0 8px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .tv-inline-section .tv-gold-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-width: 1px;
    border-radius: 10px;
  }

  .tv-inline-section .tv-gold-table th,
  .tv-inline-section .tv-gold-table td {
    border-width: 1px;
  }

  .tv-inline-section .tv-gold-table td {
    font-size: 11.8px !important;
    line-height: 1.45 !important;
    padding: 9px 3px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    vertical-align: middle !important;
  }

  .tv-inline-section .tv-gold-table th {
    font-size: 10.2px !important;
    line-height: 1.35 !important;
    padding: 10px 3px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
  }

  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(1),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(1) {
    width: 21% !important;
  }
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(2),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(2) {
    width: 21% !important;
  }
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(3),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(3) {
    width: 15% !important;
  }
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(4),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(4),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) th:nth-child(5),
  .tv-inline-section .tv-gold-table:not(.tv-gold-table--stacked) td:nth-child(5) {
    width: 21.5% !important;
    font-size: 14px !important;
  }

  .tv-inline-section .tv-gold-table td.price,
  .tv-inline-section .tv-gold-table thead th:nth-child(4),
  .tv-inline-section .tv-gold-table thead th:nth-child(5) {
    white-space: normal !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    word-break: keep-all !important;
    padding: 9px 4px !important;
  }

  .tv-inline-section .tv-gold-table td.price .tv-price-text {
    font-size: 14px !important;
  }

  .tv-inline-section .gold-brand-cell {
    white-space: normal !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    padding: 9px 3px !important;
  }

  .tv-inline-section .tv-gold-table.tv-gold-table--stacked th:nth-child(1),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked td:nth-child(1) {
    width: 22% !important;
  }
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked th:nth-child(2),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked td:nth-child(2) {
    width: calc(38% - 20px) !important;
  }
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked th:nth-child(3),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked td:nth-child(3),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked th:nth-child(4),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked td:nth-child(4) {
    width: calc(20% + 10px) !important;
  }
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked td.price,
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked thead th:nth-child(3),
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked thead th:nth-child(4) {
    white-space: nowrap !important;
    font-weight: 700 !important;
  }
  .tv-inline-section .tv-gold-table.tv-gold-table--stacked tbody td.col-product {
    padding-left: 3px !important;
    padding-right: 0 !important;
    white-space: normal !important;
    font-size: 12.5px !important;
  }

  .tv-inline-section .tv-gold-table .gold-price-trend {
    font-size: 0.55em !important;
    margin-left: 2px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }

  .tv-inline-section .tv-gold-table td.price {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

@media (max-width: 576px) {
  .tv-inline-main-title {
    font-size: 1rem;
  }

  .tv-inline-section .tv-gold-table td {
    font-size: 11px !important;
  }

  .tv-inline-section .tv-gold-table td.price,
  .tv-inline-section .tv-gold-table td.price .tv-price-text {
    font-size: 13px !important;
  }

  .tv-inline-section .tv-gold-table .gold-price-trend {
    font-size: 0.5em !important;
    margin-left: 2px !important;
  }
}

/* ==========================================================================
   ABOUT PAGE – Giới thiệu
   ========================================================================== */

/* ----- Hero ----- */
.about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(107,21,21,.92) 0%, rgba(139,29,29,.88) 40%, rgba(92,15,15,.95) 100%),
    url('https://images.unsplash.com/photo-1624365168968-f283d506c6b6?w=1600&q=80') center / cover no-repeat;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(197,164,78,.18) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 16px;
}
.about-hero-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
}
.about-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.about-hero-slogan {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e8d9a0;
  letter-spacing: .06em;
  margin: 0 0 16px;
}
.about-hero-desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  opacity: .92;
}

/* ----- Sections ----- */
.about-section {
  padding: 64px 0;
}
.about-section--dark {
  background: #faf7f0;
}

.about-heading {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--tlkv-primary);
  margin: 0 0 8px;
}
.about-heading--center {
  text-align: center;
}
.about-heading-deco {
  width: 48px;
  height: 3px;
  background: var(--tlkv-gold);
  border-radius: 2px;
  margin-bottom: 24px;
}
.about-heading-deco--center {
  margin-left: auto;
  margin-right: auto;
}

/* Two-column row */
.about-row {
  display: flex;
  gap: 48px;
  align-items: center;
}
.about-row--reverse {
  flex-direction: row-reverse;
}
.about-col {
  flex: 1 1 0;
  min-width: 0;
}
.about-col--text p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 14px;
}
.about-col--text p:last-child {
  margin-bottom: 0;
}

/* Image frame */
.about-img-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  aspect-ratio: 4/3;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quote */
.about-quote {
  border-left: 4px solid var(--tlkv-gold);
  padding: 12px 20px;
  margin: 16px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--tlkv-primary);
  background: rgba(197,164,78,.06);
  border-radius: 0 8px 8px 0;
}

/* Check list */
.about-check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.about-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.about-check-list li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--tlkv-gold);
  font-weight: 700;
  font-size: 15px;
}

/* Slogan list */
.about-slogan-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.about-slogan-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.about-slogan-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tlkv-gold);
}

/* ----- Values grid ----- */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.about-value-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.about-value-icon {
  font-size: 2rem;
  color: var(--tlkv-gold);
  margin-bottom: 12px;
  line-height: 1;
}
.about-value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tlkv-primary);
  margin: 0 0 8px;
}
.about-value-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ----- Vision / Mission ----- */
.about-vision-section {
  background: #faf7f0;
}
.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-vision-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.about-vision-icon {
  color: var(--tlkv-gold);
  margin-bottom: 16px;
  line-height: 1;
}
.about-vision-card p,
.about-vision-card li {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.about-mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-mission-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.about-mission-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--tlkv-gold);
  font-size: 16px;
  top: 0;
}

/* ----- CTA ----- */
.about-cta {
  background: var(--tlkv-primary);
  color: #fff;
  text-align: center;
  padding: 48px 16px;
}
.about-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.about-cta-btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--tlkv-gold);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 40px;
  letter-spacing: .04em;
  transition: background .25s, transform .25s;
  text-decoration: none;
}
.about-cta-btn:hover {
  background: #b8922d;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .about-hero { min-height: 340px; }
  .about-hero-title { font-size: 1.75rem; }
  .about-hero-slogan { font-size: 1.05rem; }
  .about-hero-logo { width: 70px; height: 70px; }

  .about-row,
  .about-row--reverse {
    flex-direction: column;
  }
  .about-col--img {
    order: -1;
  }
  .about-img-frame {
    max-height: 280px;
  }
  .about-section { padding: 40px 0; }

  .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-vision-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .about-hero { min-height: 280px; }
  .about-hero-title { font-size: 1.4rem; }
  .about-hero-desc { font-size: 0.9rem; }
  .about-heading { font-size: 1.3rem; }
  .about-values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-value-card { padding: 20px 14px; }
}
