/* TombNews 1.3.7 — shared masthead and footer */
.mast{padding:5px 24px;min-height:0;gap:24px}
.mast .tn-brand-image{display:block;width:min(320px,65%);flex:0 1 320px;min-width:0;line-height:0;filter:drop-shadow(0 3px 6px #0005)}
.mast .tn-brand-image img{width:100%;height:auto;display:block}
.tn-footer{margin-top:24px;background:linear-gradient(110deg,#091211f7,#12241ff5),url('/assets/img/topography.svg');border-top:1px solid #94743b;color:var(--text);padding:36px 0 22px}
.tn-footer-grid{display:grid;grid-template-columns:minmax(230px,1.65fr) repeat(4,minmax(0,1fr));gap:32px;align-items:start}
.tn-footer-brand img{width:100%;max-width:330px;height:auto;display:block;margin-bottom:12px}
.tn-footer-brand p{color:var(--muted);font-size:.85rem;margin:0 0 14px}
.tn-footer-motto{color:var(--gold);font-size:.72rem;letter-spacing:.13em;font-weight:700}
.tn-footer nav{display:flex;flex-direction:column;gap:8px;min-width:0}
.tn-footer h2{color:var(--gold);font-size:.85rem;letter-spacing:.09em;text-transform:uppercase;margin:4px 0 9px}
.tn-footer nav a{font-size:.87rem;color:var(--text);overflow-wrap:anywhere;width:fit-content}
.tn-footer nav a:hover,.tn-footer nav a:focus-visible{color:var(--gold);text-decoration:underline}
.tn-footer-bottom{border-top:1px solid #94743b;margin-top:30px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--muted)}
.tn-footer-bottom small{font-size:.76rem}
@media(max-width:1050px){.tn-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.tn-footer-brand{grid-column:1/-1}.tn-footer-brand img{max-width:270px}}
@media(max-width:700px){.mast{padding:5px 4px;gap:8px}.mast .tn-brand-image{width:min(300px,100%);flex:0 1 300px}.mast .motto,.mast .compass{display:none}.tn-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.tn-footer{padding-top:24px}.tn-footer-bottom{gap:8px}}

/* 1.3.8 — static expedition footer */
.tn-footer{background:linear-gradient(90deg,rgba(8,18,16,.96),rgba(12,26,22,.90) 55%,rgba(9,20,17,.91)),url('/assets/img/topography.svg') right center/auto 100% no-repeat,url('/assets/theme/ambient.webp') center 62%/cover no-repeat,#101d1b;padding-top:20px;position:relative}
.tn-footer-inner{position:relative}
.tn-footer-ornament{display:flex;align-items:center;gap:14px;margin:0 0 20px;opacity:.8}
.tn-footer-ornament span{flex:1;height:1px;background:linear-gradient(90deg,transparent,#94743b)}
.tn-footer-ornament span:last-child{background:linear-gradient(90deg,#94743b,transparent)}
.tn-footer-ornament img{flex:none;display:block}
.tn-footer-grid>nav h2{padding-bottom:10px;border-bottom:1px solid #94743b66;position:relative}
.tn-footer-grid>nav h2::after{content:"";position:absolute;bottom:-1px;left:0;width:28px;height:2px;background:#d7ac58}
.tn-footer-grid>nav>a{padding-left:12px;position:relative}
.tn-footer-grid>nav>a::before{content:"";position:absolute;left:0;top:.55em;width:4px;height:4px;border:1px solid #b68b43;transform:rotate(45deg)}
.tn-footer-social{margin-top:18px}
.tn-footer-social h2{font-size:.72rem;margin:0 0 10px}
.tn-social-links{display:flex;flex-wrap:wrap;gap:7px}
.tn-social-links a{display:grid;place-items:center;width:37px;height:37px;border:1px solid #94743b;background:#142620;border-radius:4px;color:#e4b451;text-decoration:none}
.tn-social-links a:hover,.tn-social-links a:focus-visible{color:#101814;background:#e4b451;border-color:#e4b451;outline-offset:3px}
.tn-footer-bottom{border-top:1px solid #94743b;position:relative}
@media(max-width:700px){.tn-footer-ornament{margin-bottom:14px}.tn-footer-grid>nav h2{font-size:.76rem}.tn-footer{padding-top:14px}}
