/* =========================
   TOPMUA ARTICLE CSS
   Desktop default
========================= */

.tpm-article-wrap {
  max-width: 1000px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: #222;
}

.tpm-article-wrap * {
  box-sizing: border-box;
}

.tpm-hero-box {
  background: linear-gradient(135deg, #fff7f2, #fffdfb);
  border: 1px solid #ffe1d2;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.tpm-main-title {
  font-size: 32px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #1f1f1f;
}

.tpm-intro-text {
  margin: 0;
  font-size: 16px;
  color: #444;
}

.tpm-box,
.tpm-table-box,
.tpm-note-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.tpm-section-title {
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #222;
  padding: 10px;
  border-radius: 10px;
  margin-top: 0px !important;
}

.tpm-toc-list,
.tpm-normal-list {
  margin: 0;
  padding-left: 20px;
}

.tpm-toc-list li,
.tpm-normal-list li {
  margin-bottom: 5px;
  border-bottom: 1px solid #f5f5f5;
}

.tpm-toc-list a {
  color: #e85d04;
  text-decoration: none;
  font-weight: 500;
}

.tpm-toc-list a:hover {
  text-decoration: underline;
}

.tpm-table-wrap {
  overflow-x: auto;
}

.tpm-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.tpm-compare-table thead tr {
  background: #fff4ec;
}

.tpm-compare-table th,
.tpm-compare-table td {
  border: 1px solid #eee;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.tpm-top-title-wrap {
  margin-bottom: 16px;
}

.tpm-product-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tpm-product-image-col {
  flex: 0 0 260px;
  max-width: 260px;
  width: 100%;
}

.tpm-product-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  background: #fff;
  padding: 8px;
}

.tpm-product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tpm-product-content {
  flex: 1;
  min-width: 260px;
}

.tpm-product-content h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #111;
}

.tpm-product-content p {
  margin: 0 0 10px;
  font-size: 16px;
  color: #222;
}

.tpm-btn-aff {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(90deg, #ff6a2f, #ff9800);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tpm-btn-aff:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.tpm-conclusion-box {
  background: linear-gradient(135deg, #fff8ef, #fff2e8);
  border: 1px solid #ffd8bf;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}

.tpm-choice-item {
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ffe7d6;
}

.tpm-choice-item:last-child {
  margin-bottom: 0;
}

.tpm-faq-title {
  font-size: 18px;
  margin: 0 0 8px;
  color: #111;
}

.tpm-note-box {
  background: #f8f8f8;
  border-color: #ececec;
}

.tpm-note-box p {
  margin: 0 0 8px;
  font-size: 15px;
  color: #444;
}

.tpm-note-box p:last-child {
  margin-bottom: 0;
}

/* =========================
   Tablet
========================= */
@media (max-width: 991px) {
  .tpm-article-wrap {
    max-width: 100%;
  }

  .tpm-main-title {
    font-size: 28px;
  }

  .tpm-section-title {
    font-size: 22px;
  }

  .tpm-product-image-col {
    flex: 0 0 220px;
    max-width: 220px;
  }
}

/* =========================
   Mobile
========================= */
@media (max-width: 768px) {
  .tpm-hero-box,
  .tpm-box,
  .tpm-table-box,
  .tpm-note-box,
  .tpm-conclusion-box,
  .tpm-product-card {
    padding: 16px;
    border-radius: 12px;
  }

  .tpm-main-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .tpm-intro-text,
  .tpm-product-content p,
  .tpm-note-box p,
  .tpm-compare-table th,
  .tpm-compare-table td {
    font-size: 15px;
  }

  .tpm-section-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .tpm-product-card {
    display: block;
  }

  .tpm-product-image-col {
    max-width: 100%;
    width: 100%;
    margin-bottom: 16px;
  }

  .tpm-product-image-box {
    max-width: 100%;
  }

  .tpm-product-content {
    min-width: 100%;
  }

  .tpm-product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .tpm-btn-aff {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
  }

  .tpm-toc-list,
  .tpm-normal-list {
    padding-left: 18px;
  }

  .tpm-compare-table {
    min-width: 680px;
  }
}

/* =========================
   Small mobile
========================= */
@media (max-width: 480px) {
  .tpm-article-wrap {
    line-height: 1.65;
  }

  .tpm-main-title {
    font-size: 22px;
  }

  .tpm-section-title {
    font-size: 19px;
  }

  .tpm-product-content h3 {
    font-size: 18px;
  }

  .tpm-hero-box,
  .tpm-box,
  .tpm-table-box,
  .tpm-note-box,
  .tpm-conclusion-box,
  .tpm-product-card {
    padding: 14px;
  }
}