/* =========================================================
   技巧长文页：编号稿 / 便签卡 两种骨架
   ========================================================= */

.tip-head {
  padding: clamp(24px, 3.6vw, 46px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 1.5px solid var(--ink);
}

.tip-head__inner {
  display: grid;
  grid-template-columns: 120px 1fr 340px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.tip-head__no {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper-3);
}

.tip-head__copy h1,
.tip-head--b h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.tip-head__drop {
  font-size: calc(15px * var(--fs, 1));
  color: var(--ink-mute);
  line-height: 2;
  max-width: 46ch;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}

.tip-head__pic {
  transform: rotate(1.6deg);
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-m);
  padding: 8px;
  box-shadow: var(--shadow-hard);
}

.tip-head__pic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-s);
  display: block;
}

.tip-head__pic figcaption {
  margin-top: 7px;
  padding-left: 2px;
  font-size: calc(11px * var(--fs, 1));
  color: var(--muted);
}

/* 第二骨架：便签卡 */
.tip-head--b {
  background: var(--paper-2);
  border-bottom: 0;
}

.tip-head--b .tip-head__inner {
  grid-template-columns: 1fr 300px;
  align-items: start;
}

.tip-head__metric {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-3);
  font-family: var(--font-num);
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.8;
}

.tip-head__pin {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-m);
  padding: 20px 22px 18px;
  transform: rotate(1.2deg);
  box-shadow: var(--shadow-hard);
  position: relative;
}

.tip-head__pin::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 34px;
  height: 14px;
  margin-left: -17px;
  background: var(--orange);
  border-radius: var(--r-s);
  transform: rotate(-4deg);
}

.tip-head__pin p {
  font-family: var(--font-num);
  font-size: calc(10px * var(--fs, 1));
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 8px;
}

.tip-head__pin strong {
  display: block;
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.8;
}

.tip-head__pin span {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-3);
  font-size: calc(11px * var(--fs, 1));
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

/* --- 正文 --- */
.tip-body {
  padding-top: clamp(26px, 3.4vw, 44px);
}

.tip-section {
  padding: 0 0 clamp(24px, 3vw, 36px);
  margin-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--paper-3);
}

.tip-section__label {
  font-family: var(--font-num);
  font-size: calc(10.5px * var(--fs, 1));
  letter-spacing: 0.2em;
  color: var(--orange-deep);
  margin-bottom: 8px;
}

.tip-section h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.tip-section > p {
  font-size: calc(15px * var(--fs, 1));
  color: var(--ink-mute);
  line-height: 2.15;
  margin-bottom: 10px;
  max-width: 66ch;
}

.tip-method {
  counter-reset: tip;
  border-top: 1.5px solid var(--ink);
}

.tip-method li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 15px 0 17px;
  border-bottom: 1px solid var(--paper-3);
  align-items: baseline;
}

.tip-method span {
  font-size: calc(11px * var(--fs, 1));
  letter-spacing: 0.08em;
  color: var(--orange-deep);
}

.tip-method p {
  font-size: calc(14.5px * var(--fs, 1));
  color: var(--ink-mute);
  line-height: 1.95;
}

.tip-quote {
  margin: 16px 0 4px;
  padding: 18px 22px;
  background: var(--ink);
  border-radius: var(--r-m);
  position: relative;
}

.tip-quote::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 12px;
  font-size: calc(46px * var(--fs, 1));
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  font-family: Georgia, serif;
}

.tip-quote p {
  font-size: calc(14px * var(--fs, 1));
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.95;
  padding-left: 22px;
}

.tip-check {
  display: grid;
  gap: 8px;
}

.tip-check li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-s);
  align-items: baseline;
}

.tip-check b {
  font-size: calc(11px * var(--fs, 1));
  color: var(--orange-deep);
  letter-spacing: 0.06em;
}

.tip-check p {
  font-size: calc(13.5px * var(--fs, 1));
  color: var(--ink-mute);
  line-height: 1.8;
}

.tip-check__note {
  margin-top: 12px;
  font-size: calc(13px * var(--fs, 1));
  color: var(--muted);
  letter-spacing: 0.02em;
}

.tip-use {
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--ink);
}

.tip-use li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 0 14px;
  border-bottom: 1px solid var(--paper-3);
}

.tip-use a {
  font-size: calc(15px * var(--fs, 1));
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s var(--ease);
}

.tip-use a::after {
  content: "→";
  font-family: var(--font-num);
  font-size: calc(12px * var(--fs, 1));
  color: var(--orange-deep);
}

.tip-use a:hover {
  color: var(--orange-deep);
}

.tip-use span {
  font-size: calc(13px * var(--fs, 1));
  color: var(--muted);
}

.tip-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tip-related__grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-m);
  min-height: 132px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.tip-related__grid a:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}

.tip-related__grid a span:first-child {
  font-size: calc(10px * var(--fs, 1));
  color: var(--orange-deep);
  letter-spacing: 0.08em;
}

.tip-related__grid strong {
  font-size: calc(16px * var(--fs, 1));
  line-height: 1.5;
}

.tip-related__grid a span:last-child {
  font-size: calc(12.5px * var(--fs, 1));
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .tip-head__inner,
  .tip-head--b .tip-head__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tip-head__no {
    font-size: calc(48px * var(--fs, 1));
  }
  .tip-head__pic,
  .tip-head__pin {
    max-width: 460px;
    transform: none;
  }
  .tip-related__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .tip-method li {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }
  .tip-related__grid {
    grid-template-columns: 1fr;
  }
  .tip-section > p {
    font-size: calc(14px * var(--fs, 1));
  }
}
