/* New articles share the established paper panels, typography and navigation. */
.guide-main { padding-bottom: 52px; }
.guide-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.guide-breadcrumbs > span + span::before { content: '›'; padding-right: 7px; opacity: .6; }
.guide-breadcrumbs > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.guide-content { min-width: 0; overflow-wrap: anywhere; }
.guide-content > section {
  padding: 23px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  scroll-margin-top: 95px;
}
.guide-content > section + section { margin-top: 10px; }
.guide-content > section:first-child { background: linear-gradient(135deg, #fff9e7, #fffdf7); border-color: #edcd70; }
.guide-content h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.2; }
.guide-content h3 { margin: 23px 0 10px; font-size: 21px; line-height: 1.25; }
.guide-content p { margin: 12px 0; }
.guide-content p, .guide-content li, .guide-content td { font-size: 15px; line-height: 1.7; }
.guide-content a { color: var(--ocean-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.guide-content a:hover { color: #a35210; }
.guide-content ul, .guide-content ol { padding-left: 24px; }
.guide-content li + li { margin-top: 8px; }
.guide-content li::marker { color: var(--ocean-600); }
.guide-content [id] { scroll-margin-top: 95px; }
.guide-content code { color: #075c68; background: #e8f4f0; border-radius: 4px; padding: 2px 5px; font-size: .9em; overflow-wrap: anywhere; }
.guide-content blockquote, .guide-callout { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--ocean-600); border-radius: 0 10px 10px 0; background: #eaf5f2; }
.guide-content blockquote p:first-child, .guide-callout p:first-child { margin-top: 0; }
.guide-content blockquote p:last-child, .guide-callout p:last-child { margin-bottom: 0; }
.guide-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; text-align: left; }
.guide-content th, .guide-content td { padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.guide-content th { color: #fff; background: var(--navy-900); font-weight: 850; }
.guide-content tbody tr:nth-child(even) { background: #f0f7f3; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.guide-table-wrap table { min-width: 550px; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.guide-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #f3f9f6; }
.guide-card h3 { margin-top: 0; }
.guide-card p:last-child { margin-bottom: 0; }
.guide-content details { margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #ffffffa8; }
.guide-content summary { color: var(--ink); font-weight: 850; cursor: pointer; }
.guide-sources li { font-size: 14px; }
.guide-next-links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 850; }
.guide-next-links a:hover { color: var(--ocean-700); }
.guide-analytics-settings { justify-self: start; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 768px) {
  .guide-content > section { padding: 19px 15px; }
  .guide-content h2 { font-size: 23px; }
  .guide-content th, .guide-content td { padding: 9px; }
  .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .guide-main { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-article-page { scroll-behavior: auto; }
  html:has(.reference-article-page) { scroll-behavior: auto; }
}
