.scotland-intro-photo{margin:24px 0;max-width:640px}
.scotland-intro-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.scotland-intro-photo figcaption{font-size:14px;color:#52677a;margin-top:8px}
.scotland-steps{list-style:none;counter-reset:fire-step;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.scotland-steps li{position:relative;padding:18px 0 18px 44px;border-top:1px solid #d2dce6;min-width:0}
.scotland-steps li::before{counter-increment:fire-step;content:counter(fire-step);position:absolute;left:0;top:18px;width:28px;height:28px;display:grid;place-items:center;background:#123e68;color:#fff;border-radius:50%;font-weight:700}
.scotland-steps strong{display:block;color:#092744}
.scotland-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.scotland-routes article{border-top:3px solid #ef1b2d;padding-top:16px;min-width:0}
.scotland-routes h3{font-size:20px}
.scotland-warning{padding:20px;border-left:4px solid #ef1b2d;background:#f4f7fa;margin:24px 0;color:#102236}
.scotland-example{border-top:2px solid #123e68;padding:24px 0;margin-top:24px}
.scotland-contents{margin:24px 0;padding:20px 0;border-block:1px solid #d2dce6}
.scotland-contents .toc{display:flex;flex-wrap:wrap;gap:10px 24px}
.scotland-contents h2{font-size:20px}
.knowledge-hub-article .hub-section>h3{margin-top:28px}
.knowledge-hub-article h1{font-size:44px;letter-spacing:0}
.knowledge-hub-article .data-table td{vertical-align:top;overflow-wrap:anywhere}
.knowledge-hub-article .table-wrap{max-width:100%;overflow-x:auto}
.knowledge-hub-article .table-wrap:focus-visible{outline:3px solid #ef1b2d;outline-offset:3px}
.knowledge-hub-article .data-table caption{text-align:left;font-weight:700;color:#092744;margin-bottom:12px}
@media(max-width:720px){.scotland-routes,.scotland-steps{grid-template-columns:minmax(0,1fr)}.knowledge-hub-article h1{font-size:32px}.scotland-intro-photo{max-width:100%}}
@media print{.scotland-contents{display:none}.scotland-steps{display:block}.scotland-routes{display:block}.scotland-routes article,.scotland-example{break-inside:avoid}.knowledge-hub-article .table-wrap{overflow:visible}}

/* National duty maps stay readable in one column on small screens. */
@media(max-width:640px){
.knowledge-hub-article .fire-duty-map{display:block;width:100%!important;min-width:0!important;max-width:100%!important;border:0}
.knowledge-hub-article .fire-duty-map thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.knowledge-hub-article .fire-duty-map tbody,.knowledge-hub-article .fire-duty-map tr,.knowledge-hub-article .fire-duty-map td{display:block;width:auto;min-width:0;box-sizing:border-box}
.knowledge-hub-article .fire-duty-map tr{margin:0 0 18px;border:1px solid #c8d5e2;border-radius:8px;overflow:hidden}
.knowledge-hub-article .fire-duty-map td{padding:12px 14px;border:0;white-space:normal;overflow-wrap:anywhere}
.knowledge-hub-article .fire-duty-map td:first-child{background:#123e68;color:#fff;font-weight:700}
.knowledge-hub-article .fire-duty-map td:first-child a{color:#fff!important}
.knowledge-hub-article .fire-duty-map td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-weight:700;margin-bottom:6px;color:#123e68}
.knowledge-hub-article .fire-duty-map td p{margin:0 0 10px}
}
.knowledge-hub-article #faqs .faq-item{padding:16px 0;border-bottom:1px solid #d2dce6}
.knowledge-hub-article #faqs h3{margin:0 0 8px;font-size:21px}
.knowledge-hub-article #faqs p{margin:0}

/* Plain-language SSOT advice: native disclosure works without JavaScript. */
.knowledge-hub-article .fire-advice-detail{margin:12px 0;border:1px solid #ccd8e5;border-radius:9px;background:#fff;overflow-wrap:anywhere}
.knowledge-hub-article .fire-advice-detail>summary{padding:16px 18px;font-weight:700;cursor:pointer;color:#123e68;min-height:48px;line-height:1.45}
.knowledge-hub-article .fire-advice-detail[open]>summary{border-bottom:1px solid #d5e0eb;background:#f3f7fb}
.knowledge-hub-article .fire-advice-detail>p{padding:0 18px;margin:16px 0;max-width:80ch}
.knowledge-hub-article .fire-advice-detail>.fire-advice-lead{font-size:1.08em;font-weight:600;color:#123e68}
.knowledge-hub-article .fire-advice-sources{font-size:.88em;line-height:1.7}
.knowledge-hub-article .fire-advice-links{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.knowledge-hub-article .fire-advice-links a{border:1px solid #bacce0;border-radius:7px;padding:12px 14px;background:#f3f7fb;color:#123e68;min-height:44px}
.knowledge-hub-article .fire-advice-detail summary:focus-visible{outline:3px solid #e71934;outline-offset:3px}
@media(max-width:600px){.knowledge-hub-article .fire-advice-links{display:grid;grid-template-columns:minmax(0,1fr)}.knowledge-hub-article .fire-advice-detail>summary{padding:14px}.knowledge-hub-article .fire-advice-detail>p{padding:0 14px}}

/* Searchable national question library; native details remain usable without JS. */
.fire-question-controls{display:grid;gap:.65rem;margin:1.2rem 0;padding:1rem;border:1px solid #b7cadc;border-radius:10px;background:#f5f8fc;min-width:0}
.fire-question-controls label{font-weight:700;color:#123e68}
.fire-question-search-row{display:flex;gap:.6rem;min-width:0}
.fire-question-controls input,.fire-question-controls select,.fire-question-controls button{font:inherit;min-height:44px;border:1px solid #9bb7d2;border-radius:6px;padding:.65rem;background:#fff;color:#123e68;min-width:0;box-sizing:border-box}
.fire-question-controls input{flex:1;width:100%}.fire-question-controls button{font-weight:700;cursor:pointer}
.fire-question-controls :focus-visible{outline:3px solid #e71934;outline-offset:3px}
#fire-question-library [hidden]{display:none!important}
#fire-question-library summary{overflow-wrap:anywhere}
#fire-question-count{font-weight:700;color:#123e68}
@media(max-width:420px){.fire-question-search-row{flex-wrap:wrap}.fire-question-search-row button{width:100%}}
