/* ============================================================
   YiguProto Blog Article Stylesheet
   Used only by /blogs/*.html. Inherits palette from site.css.
   Primary color : #ff6601  |  Font : Arial
   ============================================================ */

/* ---------- Article shell ---------- */
.post { max-width: 820px; margin: 0 auto; }

.post .post__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yigu-primary);
  margin: 0 0 12px;
}

.post__head h1 {
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -0.4px;
  color: var(--yigu-black);
  margin: 0 0 18px;
}

.post .post__lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--yigu-gray);
  margin: 0 0 22px;
}

.post .post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: #8a8f96;
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--yigu-border);
}

.post .post__meta > * + *::before {
  content: "\00b7";
  margin: 0 10px;
  color: #c3c7cc;
}

/* ---------- Body copy ---------- */
.post__body { font-size: 16.5px; }

.post__body p {
  color: #4a4f55;
  line-height: 1.78;
  margin: 0 0 18px;
}

.post__body h2 {
  font-size: 25px;
  line-height: 1.3;
  color: var(--yigu-black);
  margin: 44px 0 14px;
}

.post__body h3 {
  font-size: 18.5px;
  line-height: 1.4;
  color: var(--yigu-black);
  margin: 28px 0 10px;
}

.post__body ul,
.post__body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.post__body li {
  color: #4a4f55;
  line-height: 1.72;
  margin: 0 0 9px;
}

.post__body strong { color: var(--yigu-black); }
.post__body a { color: var(--yigu-primary); }
.post__body a:hover { color: var(--yigu-primary-dark); }

/* ---------- Key takeaways box ---------- */
.post .post__tldr {
  background: var(--yigu-light);
  border: 1px solid var(--yigu-border);
  border-radius: 12px;
  padding: 24px 26px;
  margin: 0 0 34px;
}

.post .post__tldr h2 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--yigu-primary);
  margin: 0 0 12px;
}

.post .post__tldr ul { margin: 0; padding-left: 20px; }

.post .post__tldr li {
  font-size: 15px;
  line-height: 1.6;
  color: #3d4248;
  margin: 0 0 8px;
}

.post .post__tldr li:last-child { margin-bottom: 0; }

/* ---------- Data table ---------- */
.post .post__table {
  overflow-x: auto;
  border: 1px solid var(--yigu-border);
  border-radius: 12px;
  background: #ffffff;
  margin: 0 0 26px;
}

.post .post__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 520px;
}

.post .post__table th {
  background: #fff2e8;
  color: var(--yigu-dark);
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid var(--yigu-border);
  white-space: nowrap;
}

.post .post__table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--yigu-border);
  color: #4a4f55;
  line-height: 1.6;
  vertical-align: top;
}

.post .post__table tbody tr:last-child td { border-bottom: none; }
.post .post__table tbody tr:hover { background: var(--yigu-light); }

/* ---------- Shop-floor note ---------- */
.post .post__note {
  border-left: 4px solid var(--yigu-primary);
  background: #fff8f3;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.68;
  color: #4a4f55;
}

.post .post__note strong {
  display: block;
  color: var(--yigu-primary-dark);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* ---------- In-article CTA ---------- */
.post .post__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #ff6601 0%, #ff8a3d 100%);
  border-radius: 16px;
  padding: 34px 36px;
  margin: 46px 0 0;
  color: #ffffff;
}

.post .post__cta h2 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.post .post__cta p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 430px;
}

.post__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.post__cta-actions .btn { padding: 12px 24px; font-size: 14px; }

.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: transparent;
}

.btn--on-dark:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--yigu-primary);
  transform: translateY(-2px);
}

/* ---------- Related links ---------- */
.post .post__related {
  margin: 44px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--yigu-border);
}

.post .post__related h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--yigu-black);
  margin: 0 0 16px;
}

.post .post__related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.post .post__related li { margin: 0; }

.post .post__related a {
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}

.post .post__related a:hover { text-decoration: underline; }

/* ---------- Back link ---------- */
.post .post__back {
  margin: 36px 0 0;
  font-size: 14px;
}

.post .post__back a { font-weight: 700; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .post__head h1 { font-size: 27px; }
  .post .post__lead { font-size: 16.5px; }
  .post__body { font-size: 16px; }
  .post__body h2 { font-size: 22px; margin-top: 36px; }
  .post__body h3 { font-size: 17.5px; }
  .post .post__tldr { padding: 20px 20px; }
  .post .post__cta { padding: 26px 22px; }
  .post__cta-actions { width: 100%; }
  .post__cta-actions .btn { width: 100%; }
}
