/* ============================================
   product-article.html + news-article.html 共享文章布局样式
   ============================================ */

/* ---- Article Banner ---- */
article .brxe-section:first-child img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

#brxe-euxgee {
  margin-top: -92px;
}

#brxe-iyzuvk {
  width: 100%;
}

#brxe-iyzuvk img {
  border-radius: 0;
}

/* ---- Article Content ---- */
#brxe-enjwgk {
  font-family: "Teko", sans-serif;
}

#brxe-tiowcc {
  margin-top: 25px;
  font-family: "Archivo", sans-serif;
}

#brxe-qmhjcs {
  margin-top: 80px;
  margin-bottom: 80px;
}

/* ---- Article Body Typography ---- */
.brxe-text-basic {
  font-size: 16px;
  line-height: 1.8;
  color: #424242;
  margin-bottom: 20px;
}

.brxe-text-basic h2,
.brxe-text-basic h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: #1a1a2e;
  margin: 32px 0 16px;
  line-height: 1.3;
}

.brxe-text-basic h2 {
  font-size: clamp(22px, 3vw, 28px);
}

.brxe-text-basic h3 {
  font-size: clamp(18px, 2.5vw, 22px);
}

.brxe-text-basic p {
  margin: 0 0 16px;
}

.brxe-text-basic img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.brxe-text-basic ul,
.brxe-text-basic ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.brxe-text-basic li {
  margin-bottom: 8px;
}

.brxe-text-basic a {
  color: #4caf50;
  text-decoration: none;
}

.brxe-text-basic a:hover {
  text-decoration: underline;
}

.brxe-text-basic table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.brxe-text-basic th,
.brxe-text-basic td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  text-align: left;
}

.brxe-text-basic th {
  background: #f5f5f5;
  font-weight: 600;
}

/* ---- Spec Table ---- */
.wp-article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.wp-article-table th {
  background: #4caf50;
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}

.wp-article-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
}

.wp-article-table tr:nth-child(even) td {
  background: #f8f9fa;
}

.wp-article-table tr:last-child td {
  border-bottom: none;
}

.wp-article-cell {
  border: 1px solid #ddd;
  padding: 10px 14px;
}

/* ---- Utility ---- */
.text-link-blue {
  color: #0066cc;
  text-decoration: none;
}

.text-link-blue:hover {
  text-decoration: underline;
}

.text-green {
  color: #4caf50;
}

/* ---- Article Share ---- */
.article-share {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.article-share__label {
  font-family: "Teko", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  margin-right: 6px;
  letter-spacing: 0.5px;
}

.article-share__btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-share__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.article-share__btn--facebook { background: #1877f2; }
.article-share__btn--x { background: #111111; }
.article-share__btn--linkedin { background: #0a66c2; }
.article-share__btn--whatsapp { background: #25d366; }
.article-share__btn--telegram { background: #229ed9; }
.article-share__btn--pinterest { background: #bd081c; }
.article-share__btn--reddit { background: #ff4500; }
.article-share__btn--email { background: #6b7280; }

/* ---- Article Prev / Next ---- */
.article-prevnext {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.article-prevnext__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.article-prevnext__link--next {
  justify-content: flex-end;
  text-align: right;
}

.article-prevnext__link:hover {
  border-color: #4caf50;
  background: #f0f9f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.article-prevnext__link i {
  flex-shrink: 0;
  font-size: 16px;
  color: #4caf50;
}

.article-prevnext__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-prevnext__meta {
  font-family: "Teko", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #999999;
}

.article-prevnext__title {
  font-size: 14px;
  line-height: 1.5;
  color: #1a1a2e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-prevnext__link:hover .article-prevnext__title {
  color: #4caf50;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .article-prevnext {
    flex-direction: column;
  }

  #brxe-euxgee {
    margin-top: -70px;
  }

  #brxe-qmhjcs {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .brxe-text-basic {
    font-size: 15px;
  }

  .wp-article-table {
    font-size: 13px;
  }

  .wp-article-table th,
  .wp-article-table td {
    padding: 10px 12px;
  }
}
