h1.vp-title {
      font-size: 28px;
      line-height: 1.6;
      padding-left: 12px;
      border-left: 6px solid #FF9634;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .vp-meta {
      font-size: 14px;
      color: #888;
      margin-bottom: 20px;
    }

    .vp-content-wrapper {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .vp-left {
      flex: 0 0 65%;
    }

    .vp-right {
      flex: 0 0 30%;
      background: #fff3e6;
      padding: 20px;
      border-radius: 8px;
    }

    .vp-section {
      margin-bottom: 30px;
      padding-bottom: 20px;
      position: relative;
    }

    .vp-section::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      border-bottom: 2px dashed #ccc;
      transform: translateZ(0); /* kích hoạt lại compositing */
    }

    .vp-section h3 {
      color: #633918;
      font-size: 18px;
      margin-bottom: 10px;
    }

    .vp-section h3::after {
      content: '';
      display: block;
      width: 40px;
      height: 3px;
      background: #FF9634;
      margin-top: 4px;
    }

    .vp-quote {
      font-style: italic;
      border-left: 3px solid #FF9634;
      padding-left: 12px;
      margin: 20px 0;
    }

    .vp-toggle {
      color: #FF9634;
      cursor: pointer;
      font-weight: bold;
      margin-left: 6px;
    }

    .vp-toggle:hover {
      text-decoration: underline;
    }

    .vp-toc ul {
      list-style: inside;
      margin-top: 10px;
      display: none;
    }

    .vp-toc ul.show {
      display: block;
    }

    .vp-form input,
    .vp-form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
    }

    .vp-form button {
      width: 100%;
      padding: 12px;
      border: none;
      background: #FF9634;
      color: white;
      font-size: 16px;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .vp-form button:hover {
      background: #e26e10;
    }

    .vp-post-item {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }

    .vp-post-item img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 4px;
    }

    .vp-post-title {
      font-size: 14px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Nút chia sẻ */
.share-buttons {
    margin-top: 20px;
}

.share-buttons span {
    font-weight: bold;
    margin-right: 10px;
}

.share-btn {
    display: inline-block;
    padding: 3px 10px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-right: 5px;
    transition: 0.3s;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.instagram { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.share-btn.tiktok { background: #000; border: 1px solid #ff0050; } /* TikTok màu đen với viền đỏ */

.share-btn:hover {
    opacity: 0.8;
}
/* End share */

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .vp-content-wrapper {
        flex-direction: column;
      }

      .vp-right {
        background: none;
        padding: 0;
      }

      .vp-post-item { display: none; }
    }

    /* Store section */
    .vp-store-section {
      background: #fdf9f5;
      padding: 40px 0;
    }

    .vp-store-section h2 {
      font-size: 26px;
      border-left: 5px solid #FF9634;
      padding-left: 12px;
      margin-bottom: 20px;
      color: #633918;
    }

    .vp18h-store-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

   .vp-content {
      max-width: 100%;
      line-height: 1.6;
    }
    .vp-content img {
      max-width: 100%;
      height: auto;
      display: block;
    }

  .desktop-only {
    display: block;
  }

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}
.vp-btn {
  position: relative;
  display: inline-block;
  background: #FF9634;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease;
}

.vp-btn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: 0;
}

.vp-btn:hover::before {
  width: 200%;
  height: 500%;
}

.vp-btn:hover {
  background: #e26e10;
}
/* He thong cua hang */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    align-items: stretch;
}
/* Form bai viet */
.math-inline-label {
  position: relative;
  display: inline-block;
  width: 100%;
}

.math-inline-label label {
  position: absolute;
  top: 40%;
  left: 12px;
  transform: translateY(-50%);
  color: #555;
  font-size: 15px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* Make room for label inside input */
.math-inline-label input {
  padding-left: 150px; /* chỉnh theo độ dài label thực tế */
}
#math-question 
{   position: absolute; 
    display: inline-block;
    top: 50%; 
    left: 15px; 
    transform: translateY(-50%); 
    background-color: white; 
    padding: 0 5px; 
    font-size: 16px; 
    color: #00356A; 
    pointer-events: none;
}

#math-answer {
    padding-left: 100px;
    text-align: right;
}

.bg-formtv {background-color: #FFF;}.align-text-ftv{text-align: right;}.anthongbao-tuvan{display:none; color: red; background-color: #FFF;}
.antb-tvan2 {display:none; color: green;}.antb-tuvan3 {display:none; color: red;}
.align-text-ftv{text-align: right;}
.anthongbao-tuvan{display:none; color: red; background-color: #FFF;}
/* End form */
.vp-section a {
  color: #633918;
  font-weight: 500;
  line-height: 1.5;
}
.vp-section a:hover {
  color: #333;
}
/* Tin tức */
.vp18h_section {
    width: 100%;
    padding: 20px 0;
}

.vp18h_container_new {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}

.vp18h_row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.vp18h_image-container-new {
    flex: 0 0 250px;
    overflow: hidden;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.vp18h_image-container-new img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vp18h_image-container-new:hover img {
    transform: scale(1.1);
}

.vp18h_text-content {
    flex: 1;
}

.vp18h_text-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease;
}

.vp18h_text-content p {
    color: #555;
    line-height: 1.6;
}

.vp18h_text-content a {
    text-decoration: none;
    color: inherit;
}

.vp18h_text-content a:hover h3 {
    color: #FAA537;
}
/* End tin tức */
/* Phân trang */
.vp18h_pagination {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 20px;
}

.vp18h_page-link {
    padding: 8px 12px;
    margin: 0 5px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #ccc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vp18h_page-link:hover {
    background-color: #f4f4f4;
}

.vp18h_page-link.active {
    background-color: #FF8B22;
    color: #ffffff;
}
/* End phân trang */