/* Local editorial layer. The public header, palette, typefaces and footer are shared. */
.tips-main { padding-block: 40px 64px; }
.tips-intro { max-width: 780px; margin-bottom: 36px; }
.tips-intro h1 { font-size: clamp(34px,5vw,58px); }
.tips-intro p { color: var(--muted); }
.tips-intro .eyebrow { color: var(--pool); }
.tips-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.tip-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--indigo); border-radius: 10px; background: var(--surface); }
.tip-card h2 { font-size: clamp(26px,3vw,32px); }
.tip-card h2 a { text-decoration: none; }
.tip-card p { color: var(--muted); }
.tip-card .tip-category { color: var(--pool); }
.tip-category { font-size: 15px; font-weight: 750; }
.tip-card time, .tip-meta { color: var(--muted); font-size: 16px; }
.tip-card time { margin-bottom: 14px; }
.tip-card .tip-read { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: auto; color: var(--pool); font-weight: 750; text-underline-offset: 5px; }
.tip-card img { display: block; width: 100%; height: auto; border-radius: 7px; margin-bottom: 18px; }
.tips-empty { max-width: 720px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tip-reader { width: min(760px,100%); margin-inline: auto; }
.tip-breadcrumb { margin-bottom: 28px; font-size: 15px; color: var(--muted); }
.tip-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.tip-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.tip-breadcrumb li+li::before { content: '›'; margin-right: 8px; color: var(--pool); }
.tip-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.tip-breadcrumb li:last-child { align-self: center; }
.tip-reader h1 { font-size: clamp(32px,4.4vw,50px); line-height: 1.14; }
.tip-reader h2 { margin: 44px 0 18px; font-size: clamp(27px,3vw,34px); scroll-margin-top: 104px; }
.tip-reader h3 { margin-top: 30px; font-size: 22px; line-height: 1.4; }
.tip-reader :is(p,li) { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.tip-reader p { margin-bottom: 22px; }
.tip-reader ul { padding-left: 24px; }
.tip-reader li { padding-left: 4px; margin-bottom: 12px; }
.tip-reader strong { color: var(--ink); font-weight: 750; }
.tip-reader a { color: var(--pool); text-underline-offset: 4px; }
.tip-reader .button { color: var(--deep); }
.tip-reader .tip-meta { padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.tip-cover { margin: 24px 0; }
.tip-cover img { width: 100%; height: auto; display: block; border-radius: 9px; }
.tip-cover figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.tip-toc { padding: 14px 18px; margin: 28px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tip-toc summary { min-height: 48px; padding-block: 10px; font-weight: 750; cursor: pointer; }
.tip-toc ol { padding-left: 22px; }
.tip-toc li { font-size: 16px; }
.tip-toc a { display: inline-block; padding-block: 6px; }
.tip-safety { padding: 22px 24px; border: 1px solid #547787; border-left: 3px solid var(--pool); border-radius: 8px; background: #123847; margin-block: 32px; }
.tip-safety h2 { margin: 0 0 12px; font: 750 20px/1.4 Aptos,"Segoe UI",sans-serif; }
.tip-safety p:last-child { margin-bottom: 0; }
.tip-contact { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--indigo); border-radius: 9px; background: var(--surface); margin: 32px 0; }
.tip-contact h2 { margin: 0 0 14px; font-size: 26px; }
.tip-contact p:last-child { margin: 14px 0 0; font-size: 16px; color: var(--muted); }
.tip-contact .button { max-width: 100%; white-space: normal; }
.tip-return { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; }
.tips-preview { padding: 14px 18px; margin: 0 0 28px; border: 1px solid var(--indigo); border-radius: 7px; background: #24345b; color: var(--ink); }
.tips-main + footer .footer-inner { flex-wrap: wrap; }
@media (max-width: 768px) {
  .tips-main { padding-block: 26px 40px; }
  .tips-grid { grid-template-columns: minmax(0,1fr); }
  .tip-card { padding: 22px; }
  .tip-contact, .tip-safety { padding: 20px; }
  .tip-contact .button { width: 100%; padding-inline: 14px; }
  .tip-reader h2 { margin-top: 36px; }
}
@media print {
  .tip-contact, .tip-toc, .tip-return { display: none; }
  .tip-reader, .tip-reader p, .tip-reader li, .tip-reader strong, .tip-reader h1, .tip-reader h2, .tip-reader h3, .tip-reader a { color: #111; }
  .tip-safety { background: #fff; border-color: #333; }
}
