/* Scoped guide layout; shared site navigation and editorial frame stay unchanged. */
.mast-guide .mast-back { margin-bottom: 24px; font-size: .88rem; }
.mast-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.mast-intro h1 { margin: 16px 0 24px; }
.mast-guide p, .mast-guide li { color: var(--muted); }
.mast-guide .eyebrow { color: var(--accent); }
.mast-intro .lead { font-size: 1.12rem; margin-bottom: 18px; }
.mast-intro figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.mast-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mast-guide .mast-jumps { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; margin: 28px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.mast-guide .mast-jumps a { padding: 0; border: 0; color: var(--accent); font-size: .88rem; }
.mast-notice { padding: 20px 24px; border-left: 3px solid #8ca9af; background: rgba(139,178,194,.06); border-radius: 0 12px 12px 0; }
.mast-notice strong { display: block; margin-bottom: 8px; font-weight: 650; }
.mast-notice p, .mast-notice li { font-size: .9rem; }
.mast-notice a { text-decoration: underline; text-underline-offset: 3px; }
.mast-notice ul { padding-left: 20px; }
.mast-notice li + li { margin-top: 8px; }
.mast-section { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.mast-section h2 { margin: 12px 0 22px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mast-section h3 { font-size: 1.2rem; margin-bottom: 14px; }
.mast-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.mast-steps { padding-left: 24px; margin: 20px 0; }
.mast-steps li { padding-left: 6px; margin-bottom: 14px; }
.mast-steps li::marker { color: var(--accent); font-weight: 650; }
.mast-guide .mast-small { font-size: .85rem; }
.mast-detail { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0b202b; }
.mast-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #091a23; }
.mast-detail figcaption { padding: 14px 18px; color: var(--muted); font-size: .85rem; }
.mast-options, .mast-details, .mast-parts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.mast-parts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.mast-option { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #0b202b; min-width: 0; }
.mast-option p { font-size: .9rem; }
.mast-parts { list-style: none; padding: 0; margin: 18px 0 0; }
.mast-parts li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.mast-quantity { color: var(--accent); white-space: nowrap; }
.mast-parts a { text-decoration: underline; text-decoration-color: #42616c; text-underline-offset: 4px; overflow-wrap: anywhere; }
.mast-parts a:hover { color: var(--accent); }
.mast-guide .mast-kit { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; padding: 18px 22px; background: #0b202b; }
.mast-kit summary { cursor: pointer; font-weight: 600; }
.mast-kit summary::marker { color: var(--accent); }
.mast-kit[open] summary { margin-bottom: 16px; }
.mast-guide #avklaringer { margin-top: 24px; scroll-margin-top: 20px; }
.mast-ending { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 30px; align-items: center; }
.mast-ending h2 { margin: 12px 0 18px; font-size: 1.65rem; }
.mast-ending .text-link { display: block; width: fit-content; margin: 16px 0; }
.mast-guide a:focus-visible, .mast-guide summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (max-width: 900px) {
  .mast-intro, .mast-split, .mast-parts-grid { grid-template-columns: 1fr; gap: 24px; }
  .mast-intro figure { max-width: 580px; }
}
@media (max-width: 620px) {
  .mast-guide.shell { width: calc(100% - 32px); }
  .mast-options, .mast-details, .mast-ending { grid-template-columns: 1fr; }
  .mast-guide .mast-jumps { gap: 12px 20px; }
  .mast-option, .mast-notice { padding: 18px; }
  .mast-section { margin-top: 32px; padding-top: 24px; }
}
