/* /notams/ hub and /notams/{code}/ airport pages. Card styles follow flights/notams.aspx. Bump ?v= on both pages. */
.nt-page { max-width: 820px; margin: 0 auto; padding: 15px 0; }
.nt-page h1 { color: var(--blue-text,#1078b3); margin: 2px 0 6px; font-size: 24px; line-height: 1.25; }
.nt-crumb { font-size: 13px; margin: 0 0 6px; }
.nt-sub { display: block; font-size: 15px; line-height: 1.4; color: #666; font-weight: normal; margin-top: 4px; }
/* The subtitle is a paragraph after the h1 (SEO fix 9, 2026-10-23), spaced as when it was inside it. */
.nt-page p.nt-sub { margin: -2px 0 0; }
.nt-intro { font-size: 15px; line-height: 1.6; color: #333; margin: 10px 0 12px; }
.nt-actions-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
#main .nt-btn, .nt-btn { display: inline-block; padding: 8px 14px; border-radius: 5px; font-size: 14px; font-weight: bold; text-decoration: none; border: 2px solid #169fe6; background: #fff; color: #1078b3; }
#main .nt-btn:hover, .nt-btn:hover { border-color: #1078b3; color: #1078b3; text-decoration: none; }
#main .nt-btn.nt-primary, .nt-btn.nt-primary { background: #1078b3; color: #fff; }
#main .nt-btn.nt-primary:hover, .nt-btn.nt-primary:hover { background: #0d6aa0; border-color: #0d6aa0; color: #fff; }
.nt-summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; font-size: 15px; }
.nt-updated { color: #6b6b6b; font-size: 13px; font-weight: normal; }
/* Category counts: plain text, not chips (they do not filter here; the filters are on /flights/notams.aspx). */
.nt-cats { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 4px 0 6px; padding: 0; list-style: none; }
.nt-cats li { color: #555; font-size: 13px; line-height: 1.5; margin: 0; padding: 0; }
.nt-cats li span { color: #555; font-weight: bold; margin-left: 4px; }
#main .nt-h, .nt-h { font-size: 17px; color: #333; margin: 18px 0 8px; }
.nt-card { border: 1px solid #e0e0e0; border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.nt-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; font-size: 13px; margin-bottom: 4px; }
.nt-num { font-weight: bold; color: #003a70; }
.nt-cat { background: #e3f2fd; color: #0d6aa0; border-radius: 10px; padding: 1px 8px; font-size: 12px; }
.nt-time { color: #666; }
.nt-text { font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.45; color: #222; white-space: pre-wrap; word-break: break-word; margin: 0; }
.nt-plain { margin-top: 8px; background: #f0f7ff; border-left: 3px solid #169fe6; border-radius: 0 5px 5px 0; padding: 6px 10px; font-size: 14px; line-height: 1.5; color: #222; }
.nt-plain-h { font-size: 11px; font-weight: bold; color: #0d6aa0; text-transform: uppercase; margin-bottom: 2px; }
.nt-plain-t { white-space: pre-wrap; word-break: break-word; }
.nt-more { font-size: 14px; color: #555; margin: 4px 0 10px; }
.nt-empty { color: #666; font-size: 14px; }
.nt-fail { background: #fff8e1; border: 1px solid #ffe082; border-radius: 6px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #6d4c00; margin: 10px 0; }
.nt-rel { margin-top: 26px; padding-top: 4px; border-top: 1px solid #e3e7eb; }
#main .nt-rel h2 { color: #003a70; font-size: 18px; margin: 14px 0 6px; }
.nt-rel ul { list-style: none; padding: 0; margin: 0; }
.nt-rel li { margin: 0; padding: 5px 0; font-size: 14px; line-height: 1.5; border-bottom: 1px solid #f0f2f4; }
.nt-rel li:last-child { border-bottom: 0; }
.nt-near { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.nt-note { font-size: 13px; color: #6b6b6b; line-height: 1.5; margin-top: 18px; }
/* Hub: what a NOTAM is and how to read one */
.nt-about { margin-top: 26px; padding-top: 4px; border-top: 1px solid #e3e7eb; }
#main .nt-about h2 { color: #003a70; font-size: 18px; margin: 14px 0 6px; }
.nt-about p { font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 10px; }
.nt-about code { font-family: 'Courier New', monospace; font-size: 13px; background: #f4f6f8; border-radius: 3px; padding: 1px 4px; word-break: break-word; }
/* Hub */
.nt-filter { margin: 6px 0 14px; }
.nt-filter input { padding: 8px 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 15px; width: 320px; max-width: 100%; box-sizing: border-box; background: #fff; color: #333; }
.nt-filter input:focus { border-color: #169fe6; outline: none; box-shadow: 0 0 0 2px rgba(22,159,230,0.2); }
.nt-state { margin: 0 0 6px; }
#main .nt-state h2 { color: #003a70; font-size: 17px; margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #e3e7eb; }
.nt-ap-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 18px; }
.nt-ap-list li { margin: 0; padding: 4px 0; font-size: 14px; line-height: 1.4; }
#main .nt-ap-list a { text-decoration: none; }
#main .nt-ap-list a:hover span { text-decoration: underline; }
#main .nt-ap-list b { display: inline-block; min-width: 38px; color: #003a70; opacity: 1; }
body.dark-mode #main .nt-ap-list b { color: #e0e0e0; }
.nt-ap-list .nt-city { color: #666; }
body.dark-mode .nt-sub, body.dark-mode .nt-updated, body.dark-mode .nt-time, body.dark-mode .nt-note, body.dark-mode .nt-more, body.dark-mode .nt-empty, body.dark-mode .nt-ap-list .nt-city { color: #aaa; }
body.dark-mode .nt-intro, body.dark-mode .nt-text, body.dark-mode #main .nt-h { color: #e0e0e0; }
body.dark-mode .nt-card { background: #2a2a2a; border-color: #444; }
body.dark-mode .nt-num, body.dark-mode .nt-cat { color: #4da6ff; }
body.dark-mode .nt-cat { background: #1e2a36; }
body.dark-mode .nt-cats li, body.dark-mode .nt-cats li span { color: #bbb; }
body.dark-mode .nt-plain { background: #1e2a36; border-left-color: #4da6ff; color: #e0e0e0; }
body.dark-mode .nt-plain-h { color: #4da6ff; }
body.dark-mode #main .nt-btn { background: transparent; color: #4da6ff; border-color: #4da6ff; }
body.dark-mode #main .nt-btn.nt-primary { background: #1078b3; border-color: #1078b3; color: #fff; }
body.dark-mode .nt-fail { background: #3a3220; border-color: #6d5a20; color: #f0d890; }
body.dark-mode .nt-rel, body.dark-mode .nt-about, body.dark-mode #main .nt-state h2 { border-color: #444; }
body.dark-mode #main .nt-rel h2, body.dark-mode #main .nt-about h2, body.dark-mode #main .nt-state h2 { color: #4da6ff; }
body.dark-mode .nt-about p { color: #e0e0e0; }
body.dark-mode .nt-about code { background: #2a2a2a; color: #e0e0e0; }
body.dark-mode .nt-rel li { border-bottom-color: #333; }
body.dark-mode .nt-filter input { background: #2a2a2a; color: #e0e0e0; border-color: #555; }
@media (max-width: 767px) {
    .nt-page { padding: 10px 5px; }
    .nt-page h1 { font-size: 21px; }
    .nt-filter input { width: 100%; font-size: 16px; }
    .nt-btn { padding: 9px 12px; }
}
