/* Shared forum surfaces and navigation */
:root {
    --ink: #303134;
    --paper: #f2f2f1;
    --navy: #33383d;
    --line: #d3d5d6;
    --radius: 3px;
    --forum-link: #365367;
    --forum-accent: #d99124;
}
body {font: 15px/1.5 Arial, Helvetica, sans-serif;}
.site-header {background: #37393c; border-top: 4px solid var(--forum-accent);}
.site-header .header-inner {display: block; padding: 0 22px;}
.site-header .brand {display: inline-flex; padding: 17px 0; color: white;}
.site-header .site-navigation {display: flex; flex-wrap: wrap; gap: 0; background: #e9eaeb; border-bottom: 1px solid #bec1c3;}
.site-header .site-navigation a {padding: 9px 13px; font-size: 14px; color: #33383d;}
.site-header .site-navigation a:hover, .staff-tabs a:hover {background: #fff;}
.site-header .site-navigation a[aria-current=page], .staff-tabs a[aria-current=page] {
    background: white; box-shadow: inset 0 -3px var(--forum-accent); font-weight: bold; text-decoration: none;
}
main {background: white; min-height: 55vh; padding: 22px clamp(12px, 2.4vw, 32px) 36px;}
main h1, main .moderation-shell h1, main .navigation-page h1 {font: bold clamp(23px,3vw,30px)/1.2 Arial, sans-serif; margin: 8px 0 18px; padding-bottom: 9px; border-bottom: 3px solid var(--forum-accent);}
main a:not(.button) {color: var(--forum-link);}
main .eyebrow, main .admin-eyebrow {display:none;}
main .forum-group, main .recent-list, main .post, main .topic-list {border-radius: 2px; box-shadow: none;}
main .catalog-category > summary {background: #41474c; border-bottom: 3px solid var(--forum-accent); color: white; padding: 9px 13px; font-size: 17px;}
main .forum-row, main .topic-row, main .recent-item {padding: 12px 15px;}
main .forum-info h2, main .topic-row h2, main .recent-item h2 {font: bold 16px/1.35 Arial, sans-serif;}
main .forum-info p, main .topic-row p {font-size: 14px;}
main .recent-item:nth-child(even), main .topic-row:nth-child(even), main .mod-topic:nth-child(even), main .mod-event:nth-child(even) {background: #f6f7f8;}
main .post-author {background: #f2f4f5;}
footer a {color: inherit; text-decoration: underline;}
.forum-crumb {font-size: 13px; color: #555e64; margin-bottom: 10px;}
.staff-tabs {display: flex; flex-wrap: wrap; gap: 1px; border-bottom: 1px solid #b9bfc2; background: #ebedef; margin-bottom: 16px;}
.staff-tabs a {padding: 10px 12px; font-size: 14px;}
.staff-directory {border: 1px solid var(--line);}
.staff-directory .navigation-card {border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 16px;}
.staff-directory .navigation-card:last-child {border-bottom: 0;}
.staff-directory .navigation-card:nth-child(even) {background: #f6f7f8;}
.staff-directory h2 {font-size: 17px; margin: 0 0 3px;}
.staff-directory p {margin: 0; color: #535b61;}
main .moderation-shell {max-width: none; margin: 0; padding: 0; color: var(--ink);}
main .mod-card, main .admin-card {border: 1px solid var(--line); border-radius: 3px; box-shadow: none; padding: 16px; margin: 14px 0;}
main .mod-card > h2:first-child {background: #edf0f1; padding: 9px 15px; margin: -16px -16px 12px; font: bold 18px/1.4 Arial,sans-serif;}
main .mod-topic, main .mod-event {padding: 10px 12px; overflow-wrap: anywhere;}
main .mod-form button {background: #394b55; border-radius: 3px;}
main .mod-note {border-left-color: var(--forum-accent);}
main :focus-visible, .site-header a:focus-visible {outline: 3px solid #b56700; outline-offset: 2px;}
@media (max-width: 700px) {
    .site-header .header-inner {padding: 0 10px;}
    .site-header .site-navigation a, .staff-tabs a {padding: 10px 9px;}
    main .mod-card {padding: 12px;}
    main .mod-card > h2:first-child {margin: -12px -12px 10px;}
    main .mod-form {min-width: 0;}
    main .moderation-shell input, main .moderation-shell select, main .moderation-shell textarea {max-width: 100%;}
}
.post-body .post-embed {display:block;max-width:100%;margin:.65em 0;white-space:normal}
.post-embed iframe {display:block;width:min(100%,800px);aspect-ratio:16/9;height:auto;border:0;background:#171717}
.post-embed iframe + a {font-size:.85em}
.post-embed img {display:block;max-width:100%;max-height:75vh;width:auto;height:auto;object-fit:contain}

