/* Fire Rescue Emergency v1.0.0 — standalone StreamWave Community Suite theme. */
:root{--swft-bg:#100d0e;--swft-panel:#211718;--swft-hero:#342022;--swft-border:#87524a;--swft-text:#fff3e9;--swft-muted:#e8c9bd;--swft-link:#ffd39a;--swft-accent:#ff3d21;--swft-field:#160f11;--theme-bg:#100d0e;--theme-panel:#211718;--theme-text:#fff3e9;--theme-muted:#e8c9bd;--theme-border:#87524a;--theme-accent:#ff3d21;--theme-link:#ffd39a;--theme-field:#160f11}
body.swft-fire-rescue-emergency{color-scheme:dark;background:#100d0e url('assets/fire-rescue-background.jpg') center center / cover no-repeat fixed!important;color:#fff3e9!important;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
body.swft-fire-rescue-emergency .swf{max-width:1500px;margin-inline:auto;color:#fff3e9}
body.swft-fire-rescue-emergency .swf .hero{min-height:250px!important;background:linear-gradient(90deg,#100d0ee8 0%,#100d0e55 55%,#100d0e11),url('assets/fire-rescue-background.jpg') center / cover no-repeat!important;border:2px solid #ff3d21!important;border-radius:15px!important;box-shadow:0 0 0 3px #211718,0 12px 30px #000b!important;padding:34px!important;overflow:hidden}
body.swft-fire-rescue-emergency .swf .hero :is(h1,p){color:#fff0d7!important;opacity:1!important;text-shadow:0 2px 8px #000,0 0 12px #000;font-weight:800}
body.swft-fire-rescue-emergency .swf .hero h1{font-size:clamp(27px,4vw,48px)}
body.swft-fire-rescue-emergency .swf :is(.panel,.side-panel,.swf-category){background:linear-gradient(160deg,#211718eF,#160f11f2)!important;color:#fff3e9!important;border:1px solid #87524a!important;border-radius:13px!important;box-shadow:0 8px 25px #0009!important;overflow:hidden}
body.swft-fire-rescue-emergency .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3){display:flex!important;align-items:center!important;background:linear-gradient(105deg,#72291c,#a52b48 65%,#153a73)!important;color:#fff9ef!important;border:0!important;border-bottom:3px solid #ff3d21!important;padding:13px 16px!important;min-height:48px;font-weight:800!important;text-shadow:0 2px 3px #0009!important}
body.swft-fire-rescue-emergency .swf .swf-category-head:before{content:'✦';color:#ffcf75;margin-right:10px}
body.swft-fire-rescue-emergency .swf .swf-category-head:after{display:none!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node,.item,.post){background:#211718ea!important;color:#fff3e9!important;border-color:#82534d!important;box-shadow:none!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.item):hover{background:#432426!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-name,.item h3){color:#ffe7b6!important;font-weight:800}
body.swft-fire-rescue-emergency .swf .swf-forum-icon{background:#72291c!important;color:#ffcf75!important;border:1px solid #c87b56!important}
body.swft-fire-rescue-emergency .swf :is(.muted,.meta,.side-welcome,.side-stat){color:#d2def1!important}
body.swft-fire-rescue-emergency .swf a,body.swft-fire-rescue-emergency .swf a:visited{color:#ffd39a!important;opacity:1!important}
body.swft-fire-rescue-emergency .swf a:hover{color:#fff0d7!important;text-decoration:underline}
body.swft-fire-rescue-emergency .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3) a{color:#fff9ef!important}
body.swft-fire-rescue-emergency .swf :is(.btn,button:not(.swf-reaction)){background:linear-gradient(#ff3d21,#8c243f)!important;color:#ffffff!important;border:1px solid #f3a7b0!important;border-radius:8px!important;font-weight:800!important;text-shadow:none!important;box-shadow:0 2px 7px #0008!important}
body.swft-fire-rescue-emergency .swf :is(.btn,button:not(.swf-reaction)):hover{background:linear-gradient(#f07883,#b72e4b)!important;color:#ffffff!important}
body.swft-fire-rescue-emergency .swf :is(input,select,textarea){background:#160f11!important;color:#fff9ef!important;border:1px solid #bd7664!important;border-radius:8px!important}
body.swft-fire-rescue-emergency .swf :is(input,select,textarea):focus{outline:2px solid #ff3d21!important}
body.swft-fire-rescue-emergency .swf :is(.pill,.swfa-rank){background:#703121!important;color:#ffe7b6!important;border:1px solid #bd7664!important}
body.swft-fire-rescue-emergency .swf :is(table,td,th){color:#fff3e9!important;border-color:#87524a!important}
body.swft-fire-rescue-emergency .swf th{background:#703121!important}
body.swft-fire-rescue-emergency .swf :is(.community-sidebar,.swf-tree-node){color:#fff3e9!important}
body.swft-fire-rescue-emergency .swf :is(.topbar,.navbar,.site-nav,.swf-nav){background:linear-gradient(#6d241b,#160f11)!important;color:#fff!important;border-bottom:2px solid #ff3d21!important}
body.swft-fire-rescue-emergency .swf :is(.topbar,.navbar,.site-nav,.swf-nav) :is(a,button){color:#fff8e8!important}
body.swft-fire-rescue-emergency .swf :is(.topbar,.navbar,.site-nav,.swf-nav) a:hover{background:#87342b!important;color:#fff!important}
body.swft-fire-rescue-emergency .cb{--cb-panel:#211718;--cb-text:#fff3e9;--cb-muted:#e8c9bd;--cb-border:#87524a;--cb-accent:#ff3d21;--cb-link:#ffd39a;--cb-field:#160f11;--cb-button:#d9391c;--cb-button-text:#ffffff}
body.swft-fire-rescue-emergency .cb .panel{background:#211718!important;color:#fff3e9!important;border-color:#87524a!important}
body.swft-fire-rescue-emergency .cb button{background:#d9391c!important;color:#ffffff!important}
body.swft-fire-rescue-emergency .cb a{color:#ffd39a!important}
body.swft-fire-rescue-emergency :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox){background:#211718!important;color:#fff3e9!important;border:2px solid #87524a!important;border-radius:12px}
body.swft-fire-rescue-emergency :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox) :is(h2,h3,.header,.shoutbox-header){background:linear-gradient(90deg,#6d241b,#a52b48)!important;color:#fff9ef!important;border-bottom:2px solid #ff3d21!important}
body.swft-fire-rescue-emergency :is(footer,.swf-footer,.community-footer){background:linear-gradient(100deg,#091a34,#233f6b,#091a34)!important;color:#fff3e9!important;border-top:3px solid #ff3d21!important}
body.swft-fire-rescue-emergency :is(footer,.swf-footer,.community-footer) a{color:#ffd39a!important}
body.swft-fire-rescue-emergency .sw-services-footer{--ft-bg:#160f11;--ft-fg:#fff3e9;--ft-sub:#d2def1;--ft-accent:#ffd39a;--ft-border:#87524a;--ft-card:#ffffff12}
body.swft-fire-rescue-emergency .sw-services-footer :is(.swf-mark,.swf-service strong){color:#fff3e9!important}
body.swft-fire-rescue-emergency .sw-services-footer :is(h3,.swf-bottom a){color:#ffd39a!important}
body.swft-fire-rescue-emergency ::selection{background:#ff3d21;color:#100d0e}
@media(max-width:720px){body.swft-fire-rescue-emergency{background-size:cover!important;background-attachment:scroll!important}body.swft-fire-rescue-emergency .swf .hero{min-height:175px!important;padding:20px!important;background-position:65% center!important}}
@media(prefers-reduced-motion:reduce){body.swft-fire-rescue-emergency *,body.swft-fire-rescue-emergency *:before,body.swft-fire-rescue-emergency *:after{animation:none!important;transition:none!important}}




/* Fire Rescue Emergency — highly visible alternating emergency lightbars */
@keyframes fireStrobe{0%,12%,24%,48%,60%,84%,100%{background-color:#430d0d;box-shadow:inset 0 0 22px #ff2800,0 0 13px #f40}5%,18%,54%,90%{background-color:#e52b10;box-shadow:inset 0 0 45px #ff9b54,0 0 35px #ff2400,0 0 70px #ff2b00a8}30%,36%,72%,78%{background-color:#f6e3ce;box-shadow:inset 0 0 40px #fff,0 0 34px #fff4dd,0 0 68px #ff4a16}42%,66%{background-color:#781508;box-shadow:inset 0 0 38px #ff3b06,0 0 26px #ff3100}}
@keyframes fireSweep{0%{transform:translateX(-125%) skewX(-18deg);opacity:.25}30%{opacity:1}60%{opacity:1}100%{transform:translateX(135%) skewX(-18deg);opacity:.25}}
@keyframes fireRedGlow{0%,100%{opacity:.65;filter:blur(14px)}50%{opacity:1;filter:blur(23px)}}
body.swft-fire-rescue-emergency{background:#100d0e url('assets/fire-rescue-background.jpg') center center / cover no-repeat fixed!important}
body.swft-fire-rescue-emergency .swf .hero{min-height:420px!important;padding:52px 42px!important;background:linear-gradient(90deg,#100a0be8 0%,#140a0b88 45%,#140a0b11 100%),url('assets/fire-rescue-background.jpg') center 44% / cover no-repeat!important;border:2px solid #ff5a22!important;box-shadow:0 0 22px #ff3a1266,0 12px 35px #000c!important}
body.swft-fire-rescue-emergency .swf .hero h1{font-size:clamp(32px,4.2vw,58px)!important}
body.swft-fire-rescue-emergency .swf .swf-category-head{position:relative!important;isolation:isolate;overflow:hidden!important;min-height:76px!important;padding:17px 22px!important;background-image:linear-gradient(90deg,#7d0e06 0%,#f13913 25%,#fff2e5 49%,#f73b16 73%,#7d0e06 100%)!important;background-size:100% 100%!important;border:2px solid #ff8a51!important;border-bottom:4px solid #ffb04d!important;color:#fff!important;text-shadow:0 2px 6px #000,0 0 9px #000!important;animation:fireStrobe 1.45s steps(1,end) infinite!important}
body.swft-fire-rescue-emergency .swf .swf-category-head::before{content:''!important;display:block!important;position:absolute!important;inset:-60% -20%!important;pointer-events:none!important;margin:0!important;background:linear-gradient(90deg,transparent 0%,#ff240000 22%,#ff4e21ed 40%,#ffffffed 50%,#ff4e21ed 60%,#ff240000 78%,transparent 100%)!important;filter:blur(20px)!important;transform:translateX(-125%);animation:fireSweep 2.4s linear infinite!important;z-index:-1!important}
body.swft-fire-rescue-emergency .swf .swf-category-head::after{content:''!important;display:block!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:radial-gradient(ellipse at 15% 50%,#ff2100dd,transparent 34%),radial-gradient(ellipse at 85% 50%,#fff3df99,transparent 32%)!important;animation:fireRedGlow 1.2s ease-in-out infinite alternate!important;z-index:-1!important}
body.swft-fire-rescue-emergency .swf .swf-category-head :is(a,span,strong,small){position:relative!important;z-index:2!important;color:#fff!important;opacity:1!important;text-shadow:0 2px 5px #000,0 0 9px #000!important}
body.swft-fire-rescue-emergency .swf :is(.swf-category,.panel,.side-panel){backdrop-filter:blur(5px)!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-name,.item h3){color:#ffe1a8!important}
body.swft-fire-rescue-emergency .swf a,body.swft-fire-rescue-emergency .swf a:visited{color:#ffd39a!important;opacity:1!important}
body.swft-fire-rescue-emergency .swf .swf-category-head a{color:#fff!important}
body.swft-fire-rescue-emergency .swf :is(.btn,button:not(.swf-reaction)){background:linear-gradient(110deg,#a91d10,#e74b22)!important;color:#fff!important;border-color:#ff9d68!important}
body.swft-fire-rescue-emergency .swf :is(.btn,button:not(.swf-reaction)):hover{background:linear-gradient(110deg,#e33b16,#ff6d30)!important;color:#fff!important}
body.swft-fire-rescue-emergency :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox) :is(h2,h3,.header,.shoutbox-header){background:linear-gradient(90deg,#67140d,#d33a1a,#67140d)!important;color:#fff!important}
body.swft-fire-rescue-emergency :is(footer,.swf-footer,.community-footer){background:linear-gradient(100deg,#100d0e,#35201b,#100d0e)!important;color:#fff3e9!important;border-top:3px solid #ff5b25!important}
@media(max-width:720px){body.swft-fire-rescue-emergency{background-attachment:scroll!important}body.swft-fire-rescue-emergency .swf .hero{min-height:265px!important;padding:28px 22px!important;background-position:60% center!important}body.swft-fire-rescue-emergency .swf .swf-category-head{min-height:66px!important}}
@media(prefers-reduced-motion:reduce){body.swft-fire-rescue-emergency .swf .swf-category-head,body.swft-fire-rescue-emergency .swf .swf-category-head::before,body.swft-fire-rescue-emergency .swf .swf-category-head::after{animation:none!important}}


/* Fire Rescue illustrated forum icons — 15 individual assets, no global icon overrides. */
body.swft-fire-rescue-emergency .swf .swf-forum-icon {
  width:60px!important;height:60px!important;min-width:60px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background-color:#160e10!important;
  background-image:url('assets/rescue-badge.jpg')!important;
  background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
  border:2px solid #e75b34!important;border-radius:15px!important;
  box-shadow:0 0 0 2px #401916,0 0 18px #ff3b2080,inset 0 0 10px #000!important;
  color:transparent!important;text-shadow:none!important;font-size:0!important;
  overflow:hidden!important;flex-shrink:0!important;
}
body.swft-fire-rescue-emergency .swf .swf-forum-icon :is(svg,i,img,span){opacity:0!important;visibility:hidden!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 1) .swf-forum-icon {background-image:url('assets/rescue-badge.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 2) .swf-forum-icon {background-image:url('assets/fire-helmet.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 3) .swf-forum-icon {background-image:url('assets/fire-engine.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 4) .swf-forum-icon {background-image:url('assets/hydrant.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 5) .swf-forum-icon {background-image:url('assets/axes.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 6) .swf-forum-icon {background-image:url('assets/breathing-apparatus.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 7) .swf-forum-icon {background-image:url('assets/hose.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 8) .swf-forum-icon {background-image:url('assets/structure-fire.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 9) .swf-forum-icon {background-image:url('assets/medical-rescue.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 10) .swf-forum-icon {background-image:url('assets/radio.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 11) .swf-forum-icon {background-image:url('assets/flames.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 12) .swf-forum-icon {background-image:url('assets/ladder.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 13) .swf-forum-icon {background-image:url('assets/emergency-beacon.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 14) .swf-forum-icon {background-image:url('assets/fire-station.jpg')!important}
body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):nth-child(15n + 15) .swf-forum-icon {background-image:url('assets/dalmatian.jpg')!important}

body.swft-fire-rescue-emergency .swf :is(.swf-forum-row,.swf-forum-node):hover .swf-forum-icon{box-shadow:0 0 0 2px #ffb05b,0 0 26px #ff3d21,0 0 10px #fff6!important;transform:scale(1.055);transition:transform .18s,box-shadow .18s}
@media(max-width:720px){body.swft-fire-rescue-emergency .swf .swf-forum-icon{width:48px!important;height:48px!important;min-width:48px!important}}
@media(prefers-reduced-motion:reduce){body.swft-fire-rescue-emergency .swf .swf-forum-icon{transition:none!important}}
