.article-engagement {
  margin: 62px 0 8px;
  padding-top: 34px;
  border-top: 1px solid #d7e1e2;
}

.article-share-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  overflow: hidden;
  padding: 34px 36px;
  background:
    radial-gradient(circle at 95% 5%, rgba(189, 155, 93, 0.22), transparent 30%),
    #123953;
  color: #fff;
}

.article-share-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #bd9b5d;
  content: "";
}

.engagement-eyebrow {
  margin: 0 0 9px !important;
  color: #bd9b5d !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.article-share-panel h2,
.article-comments h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
}

.article-share-panel h2 {
  color: #fff !important;
}

.article-share-panel > div:first-child > p:last-child {
  max-width: 540px;
  margin: 10px 0 0;
  color: #d7e3e7;
  font-size: 14px;
  line-height: 1.75;
}

.article-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share-actions button,
.comment-submit-row > button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 700 14px/1 "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.article-share-actions button:hover,
.comment-submit-row > button:hover {
  transform: translateY(-1px);
}

.share-primary {
  background: #c7a565;
  color: #09283b;
}

.share-secondary {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: transparent;
  color: #fff;
}

.share-feedback {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: -7px 0 0 !important;
  color: #f2d79f !important;
  font-size: 12px !important;
}

.article-comments {
  margin-top: 22px;
  padding: 34px 36px 38px;
  border: 1px solid #d7e1e2;
  background: #fff;
}

.comments-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e4eaeb;
}

.comments-heading h2 {
  color: #09283b;
}

.comments-heading > p {
  margin: 0;
  color: #617986;
  font-size: 12px;
}

.comment-form {
  padding: 28px 0 8px;
}

.comment-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comment-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #173f59;
  font-size: 13px;
  font-weight: 700;
}

.comment-form label b {
  color: #9a3c32;
}

.comment-form label small {
  margin-left: 5px;
  color: #738995;
  font-size: 11px;
  font-weight: 500;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid #cdd9dc;
  border-radius: 0;
  outline: none;
  background: #fbfcfb;
  color: #173f59;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.comment-form input {
  min-height: 48px;
  padding: 0 14px;
}

.comment-form textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.65;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #286487;
  box-shadow: 0 0 0 3px rgba(40, 100, 135, 0.12);
}

.comment-message-field {
  display: block;
  margin-top: 18px;
}

.comment-safety-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid #bd9b5d;
  background: #f5f3ed;
}

.comment-safety-note strong {
  color: #123953;
  font-size: 12px;
}

.comment-safety-note p {
  margin: 3px 0 0 !important;
  color: #617986 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.comment-submit-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.turnstile-container {
  min-height: 65px;
}

.turnstile-container[hidden] {
  display: none;
}

.comment-verification {
  flex: 1;
  min-width: 0;
}

.fallback-challenge {
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid #d4dee0;
  background: #f7f9f8;
}

.fallback-challenge[hidden] {
  display: none;
}

.fallback-challenge > p {
  margin: 0 0 10px !important;
  color: #496778 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.fallback-challenge > div {
  display: flex;
  align-items: end;
  gap: 10px;
}

.fallback-challenge label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fallback-challenge label > span {
  margin: 0;
  color: #123953;
  font-size: 14px;
  font-weight: 700;
}

.fallback-challenge input {
  width: 82px;
  min-height: 42px;
  padding: 0 10px;
  text-align: center;
}

.fallback-challenge button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #9fb3bb;
  background: #fff;
  color: #123953;
  font: 700 12px/1 "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.comment-website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.comment-submit-row > button {
  min-width: 130px;
  background: #123953;
  color: #fff;
}

.comment-submit-row > button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.comment-form-feedback {
  min-height: 1.4em;
  margin: 12px 0 0 !important;
  color: #23664d !important;
  font-size: 13px !important;
  font-weight: 700;
}

.comment-form-feedback.is-error {
  color: #8c4b43 !important;
}

.published-comments {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #e4eaeb;
}

.published-comments-header,
.published-comment,
.published-comment header {
  display: flex;
}

.published-comments-header {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.published-comments-header h3 {
  margin: 0;
  color: #123953;
  font-size: 16px;
}

.published-comments-header > span {
  color: #927039;
  font-size: 11px;
  font-weight: 700;
}

.published-comment {
  gap: 14px;
  margin-top: 18px;
}

.comment-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #dce9ec;
  color: #123953;
  font-weight: 800;
}

.published-comment > div:last-child {
  flex: 1;
}

.published-comment header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.published-comment header strong {
  color: #123953;
  font-size: 13px;
}

.published-comment time {
  color: #8799a2;
  font-size: 11px;
}

.published-comment p {
  margin: 6px 0 0 !important;
  color: #496778 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.comments-empty,
.comments-error {
  margin: 18px 0 0 !important;
  color: #738995 !important;
  font-size: 13px !important;
}

.comments-error {
  color: #8c4b43 !important;
}

@media (max-width: 680px) {
  .article-share-panel {
    grid-template-columns: 1fr;
    padding: 27px 24px;
  }

  .article-share-actions {
    align-items: stretch;
  }

  .article-share-actions button {
    flex: 1;
  }

  .share-feedback {
    grid-column: 1;
  }

  .article-comments {
    padding: 28px 24px 30px;
  }

  .comments-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .comment-field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .article-engagement {
    margin-top: 48px;
  }

  .article-share-panel h2,
  .article-comments h2 {
    font-size: 21px;
  }

  .article-share-actions,
  .comment-submit-row {
    flex-direction: column;
  }

  .article-share-actions button,
  .comment-submit-row > button {
    width: 100%;
  }

  .turnstile-container {
    width: 100%;
  }

  .fallback-challenge > div,
  .fallback-challenge label {
    align-items: stretch;
    flex-direction: column;
  }

  .fallback-challenge input,
  .fallback-challenge button {
    width: 100%;
  }
}
