/* 专家思想库 · 家长锦囊 */
.pt-main {
  padding-bottom: 110px;
}

.pt-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  overflow: hidden;
  margin-top: 8px;
  padding: 26px 24px 24px;
  border: 1px solid #d7e4df;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(231, 199, 118, .24), transparent 34%),
    linear-gradient(135deg, #edf6f1 0%, #f6fbf8 54%, #fff9ec 100%);
}

.pt-hero::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(47, 107, 79, .13);
  border-radius: 50%;
}

.pt-hero-copy {
  position: relative;
  z-index: 1;
}

.pt-back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ink-3);
  font-size: 13px;
  text-decoration: none;
}

.pt-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.pt-hero h1 {
  margin: 0;
  font-size: clamp(25px, 5.6vw, 42px);
  letter-spacing: .04em;
  line-height: 1.12;
  white-space: nowrap;
}

.pt-hero p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.pt-hero-subline {
  display: block;
  margin-top: 3px;
  color: #395648;
  font-weight: 650;
}

.pt-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pt-hero-tags span {
  padding: 6px 10px;
  border: 1px solid #d7e5dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #486256;
  font-size: 12px;
}

.pt-seal {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(47, 107, 79, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .56);
  color: var(--brand);
  box-shadow: inset 0 0 0 7px rgba(47, 107, 79, .04);
}

.pt-seal span {
  align-self: end;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 45px;
  line-height: 1;
}

.pt-seal small {
  align-self: start;
  margin-top: 5px;
  color: #7b8b82;
  font-size: 10px;
  letter-spacing: .12em;
}

.pt-child-context {
  margin: 14px 2px 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.7;
}

.pt-compose,
.pt-answer,
.pt-boundary {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 59, 50, .045);
}

.pt-compose-head,
.pt-answer-head,
.pt-photo-head,
.pt-answer-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pt-compose-head h2,
.pt-answer-head h2 {
  margin: 0;
  font-size: 22px;
}

.pt-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 16px -2px 12px;
  padding: 2px;
  scrollbar-width: none;
}

.pt-quick::-webkit-scrollbar {
  display: none;
}

.pt-quick button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #d9e5dd;
  border-radius: 999px;
  background: #f7faf8;
  color: #456153;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.pt-quick button:hover {
  border-color: #a9c4b5;
  background: #edf6f1;
}

.pt-field {
  margin-top: 4px;
}

.pt-input-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pt-input-note {
  flex: 1 1 260px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.65;
}

.pt-photo-area {
  margin-top: 12px;
}

.pt-photo-head {
  align-items: center;
  color: var(--ink-3);
  font-size: 12.5px;
}

.pt-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.pt-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.pt-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #dce6df;
  border-radius: 13px;
  background: #f4f7f5;
}

.pt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-photo button {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(31, 44, 36, .68);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.pt-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.7;
}

.pt-message.is-info {
  background: #eef5ff;
  color: #315c7b;
}

.pt-message.is-success {
  background: #edf7f0;
  color: #356448;
}

.pt-message.is-error {
  background: #fff3ef;
  color: #8a4635;
}

.pt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.pt-actions .btn-primary {
  flex: 1 1 240px;
}

.pt-answer {
  border-color: #cfdfd6;
  background: linear-gradient(155deg, #fff 0%, #fbfdfb 72%, #fff9ee 100%);
}

.pt-answer-body {
  margin-top: 14px;
  color: #26352c;
  font-size: 15px;
  line-height: 1.95;
}

.pt-answer-body p {
  margin: 0 0 10px;
}

.pt-answer-body p:last-child {
  margin-bottom: 0;
}

.pt-answer-body strong {
  color: #254c3a;
}

.pt-answer-body ul,
.pt-answer-body ol {
  margin: 7px 0 10px;
  padding-left: 21px;
}

.pt-answer-foot {
  align-items: center;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed #dce5df;
}

.pt-answer-foot > span {
  color: var(--ink-3);
  font-size: 12px;
}

.pt-answer-foot > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pt-boundary {
  background: #f7faf8;
  box-shadow: none;
}

.pt-boundary strong {
  color: #40574a;
  font-size: 13px;
}

.pt-boundary p {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.8;
}

@media (max-width: 620px) {
  .pt-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pt-hero {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 10px;
    padding: 21px 17px 19px;
    border-radius: 20px;
  }

  .pt-seal {
    width: 74px;
    height: 74px;
  }

  .pt-seal span {
    font-size: 34px;
  }

  .pt-seal small {
    display: none;
  }

  .pt-hero p {
    font-size: 14px;
  }

  .pt-hero h1 {
    font-size: clamp(27px, 7.7vw, 32px);
  }

  .pt-compose,
  .pt-answer {
    padding: 17px;
    border-radius: 17px;
  }

  .pt-photo-grid {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    overflow-x: auto;
  }

  .pt-actions .btn {
    width: 100%;
  }
}
