/* NIF v0.20: isolated finishing layer, approved composition remains frozen. */
.hero{background-size:calc(100% + clamp(24px,2.4vw,55px)) 100% !important;background-position:left center !important;}
.nif-consent{margin:18px 0 22px!important;}
.nif-consent>label,.community-form .nif-consent>label{display:flex!important;align-items:flex-start!important;gap:12px!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;color:#193456!important;cursor:pointer;}
.nif-consent>label input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;margin:2px 0 0!important;display:block!important;}
.nif-consent>label span{flex:1;min-width:0;}
/* Readability: boost microcopy without affecting headlines, boxes, widths or images. */
@media(min-width:941px){
 .site-header .primary-nav>a{font-size:max(12px,0.78rem)}
 .category-btn,.cat-label,.thread-meta,.thread-excerpt,.stats-inner small,.promo p,.benefits span,.footer-col a,.footer-brand p,.footer-news p,.footer-bottom{font-size:12px!important;line-height:1.55!important;color:#455b75}
 .thread-category,.thread-numbers,.sort-control,.filters a,.footer-col h4,.footer-news h4{font-size:11px!important}
 .brand-words small,.footer-brand>small{font-size:11px!important}
}
@media(max-width:940px){
 .category-btn,.cat-label,.thread-meta,.thread-excerpt,.stats-inner small,.promo p,.benefits span,.footer-col a,.footer-brand p,.footer-news p,.footer-bottom{font-size:12px!important;line-height:1.5!important;color:#455b75}
 .thread-category,.thread-numbers,.filters a{font-size:11px!important}
}
@media(max-width:420px){.brand-words small{font-size:11px!important}.thread-side{min-width:0}}
.forum-upload{margin:14px 0 18px;max-width:100%;}
.forum-upload img{display:block;width:auto;max-width:100%;height:auto;max-height:540px;object-fit:contain;border-radius:9px;border:1px solid #e5e9ef;}
.reply-upload img{max-height:400px;}
.thread-photo-preview{display:block;width:112px;max-width:100%;height:68px;object-fit:cover;border-radius:6px;margin:7px 0 2px;}
.photo-adjust-button{border:1px solid #d1dbe6;border-radius:5px;background:#fff;color:#1d466b;padding:8px 12px;margin-top:9px;display:inline-block;font-weight:600;font-size:12px;line-height:1.3;font-family:inherit;cursor:pointer;}
.nif-photo-dialog{padding:0;border:0;border-radius:12px;max-height:94dvh;width:min(96vw,800px);overflow:auto;box-shadow:0 30px 100px #0b1f4288;}
.nif-photo-dialog::backdrop{background:#0b1f42bb;}
.nif-photo-edit-body{padding:24px;}
.nif-photo-edit-body h2{font:700 24px Georgia,serif;margin:0 0 8px;color:#15345e;}
.nif-photo-edit-body p{font-size:14px;color:#425874;line-height:1.5;}
.nif-canvas-wrap{max-height:56dvh;overflow:hidden;background:#d8e2eb;display:grid;place-items:center;border:1px solid #dce3eb;border-radius:8px;}
.nif-canvas-wrap canvas{display:block;width:auto;height:auto;max-width:100%;max-height:56dvh;touch-action:none;cursor:grab;}
.nif-canvas-wrap canvas:active{cursor:grabbing;}
.nif-photo-edit-body input[type=range]{display:block;width:100%;margin:12px 0 18px;}
.nif-photo-edit-body label{font-size:14px;font-weight:700;display:block;margin-top:15px;}
.nif-crop-actions{display:flex;justify-content:end;gap:12px;}
@media(max-width:600px){.nif-photo-edit-body{padding:15px;}.nif-crop-actions{flex-wrap:wrap;}}
