/* Scotland & America Friendship v1.0.4 — standalone StreamWave Community Suite theme. */
:root{--swft-bg:#071324;--swft-panel:#12243c;--swft-hero:#162c4a;--swft-border:#6981a6;--swft-text:#f7f9ff;--swft-muted:#c6d3e8;--swft-link:#ffe3a1;--swft-accent:#e64c58;--swft-field:#0b1930;--theme-bg:#071324;--theme-panel:#12243c;--theme-text:#f7f9ff;--theme-muted:#c6d3e8;--theme-border:#6981a6;--theme-accent:#e64c58;--theme-link:#ffe3a1;--theme-field:#0b1930}
body.swft-scotland-america-friendship{color-scheme:dark;background:#071324 url('assets/scotland-america-background.jpg') center center / cover no-repeat fixed!important;color:#f7f9ff!important;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
body.swft-scotland-america-friendship .swf{max-width:1500px;margin-inline:auto;color:#f7f9ff}
body.swft-scotland-america-friendship .swf .hero{min-height:250px!important;background:linear-gradient(90deg,#071324e8 0%,#07132455 55%,#07132411),url('assets/scotland-america-background.jpg') center / cover no-repeat!important;border:2px solid #e64c58!important;border-radius:15px!important;box-shadow:0 0 0 3px #12243c,0 12px 30px #000b!important;padding:34px!important;overflow:hidden}
body.swft-scotland-america-friendship .swf .hero :is(h1,p){color:#fff9e8!important;opacity:1!important;text-shadow:0 2px 8px #000,0 0 12px #000;font-weight:800}
body.swft-scotland-america-friendship .swf .hero h1{font-size:clamp(27px,4vw,48px)}
body.swft-scotland-america-friendship .swf :is(.panel,.side-panel,.swf-category){background:linear-gradient(160deg,#12243ceF,#0b1930f2)!important;color:#f7f9ff!important;border:1px solid #6981a6!important;border-radius:13px!important;box-shadow:0 8px 25px #0009!important;overflow:hidden}
body.swft-scotland-america-friendship .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3){display:flex!important;align-items:center!important;background:linear-gradient(105deg,#183a68,#a52b48 65%,#153a73)!important;color:#fff9ef!important;border:0!important;border-bottom:3px solid #e64c58!important;padding:13px 16px!important;min-height:48px;font-weight:800!important;text-shadow:0 2px 3px #0009!important}
body.swft-scotland-america-friendship .swf .swf-category-head:before{content:'✦';color:#f4d185;margin-right:10px}
body.swft-scotland-america-friendship .swf .swf-category-head:after{display:none!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-row,.swf-forum-node,.item,.post){background:#12243cea!important;color:#f7f9ff!important;border-color:#506b94!important;box-shadow:none!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-row,.item):hover{background:#203b60!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-name,.item h3){color:#ffe7b6!important;font-weight:800}
body.swft-scotland-america-friendship .swf .swf-forum-icon{background:#183a68!important;color:#f4d185!important;border:1px solid #607fae!important}
body.swft-scotland-america-friendship .swf :is(.muted,.meta,.side-welcome,.side-stat){color:#d2def1!important}
body.swft-scotland-america-friendship .swf a,body.swft-scotland-america-friendship .swf a:visited{color:#ffe3a1!important;opacity:1!important}
body.swft-scotland-america-friendship .swf a:hover{color:#fff9e8!important;text-decoration:underline}
body.swft-scotland-america-friendship .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3) a{color:#fff9ef!important}
body.swft-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)){background:linear-gradient(#e64c58,#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-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)):hover{background:linear-gradient(#f07883,#b72e4b)!important;color:#ffffff!important}
body.swft-scotland-america-friendship .swf :is(input,select,textarea){background:#0b1930!important;color:#fff9ef!important;border:1px solid #7597c3!important;border-radius:8px!important}
body.swft-scotland-america-friendship .swf :is(input,select,textarea):focus{outline:2px solid #e64c58!important}
body.swft-scotland-america-friendship .swf :is(.pill,.swfa-rank){background:#1c3e69!important;color:#ffe7b6!important;border:1px solid #7597c3!important}
body.swft-scotland-america-friendship .swf :is(table,td,th){color:#f7f9ff!important;border-color:#6981a6!important}
body.swft-scotland-america-friendship .swf th{background:#1c3e69!important}
body.swft-scotland-america-friendship .swf :is(.community-sidebar,.swf-tree-node){color:#f7f9ff!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav){background:linear-gradient(#193c69,#0b1930)!important;color:#fff!important;border-bottom:2px solid #e64c58!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav) :is(a,button){color:#fff8e8!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav) a:hover{background:#284d7b!important;color:#fff!important}
body.swft-scotland-america-friendship .cb{--cb-panel:#12243c;--cb-text:#f7f9ff;--cb-muted:#c6d3e8;--cb-border:#6981a6;--cb-accent:#e64c58;--cb-link:#ffe3a1;--cb-field:#0b1930;--cb-button:#d63b52;--cb-button-text:#ffffff}
body.swft-scotland-america-friendship .cb .panel{background:#12243c!important;color:#f7f9ff!important;border-color:#6981a6!important}
body.swft-scotland-america-friendship .cb button{background:#d63b52!important;color:#ffffff!important}
body.swft-scotland-america-friendship .cb a{color:#ffe3a1!important}
body.swft-scotland-america-friendship :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox){background:#12243c!important;color:#f7f9ff!important;border:2px solid #6981a6!important;border-radius:12px}
body.swft-scotland-america-friendship :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox) :is(h2,h3,.header,.shoutbox-header){background:linear-gradient(90deg,#193c69,#a52b48)!important;color:#fff9ef!important;border-bottom:2px solid #e64c58!important}
body.swft-scotland-america-friendship :is(footer,.swf-footer,.community-footer){background:linear-gradient(100deg,#091a34,#233f6b,#091a34)!important;color:#f7f9ff!important;border-top:3px solid #e64c58!important}
body.swft-scotland-america-friendship :is(footer,.swf-footer,.community-footer) a{color:#ffe3a1!important}
body.swft-scotland-america-friendship .sw-services-footer{--ft-bg:#0b1930;--ft-fg:#f7f9ff;--ft-sub:#d2def1;--ft-accent:#ffe3a1;--ft-border:#6981a6;--ft-card:#ffffff12}
body.swft-scotland-america-friendship .sw-services-footer :is(.swf-mark,.swf-service strong){color:#f7f9ff!important}
body.swft-scotland-america-friendship .sw-services-footer :is(h3,.swf-bottom a){color:#ffe3a1!important}
body.swft-scotland-america-friendship ::selection{background:#e64c58;color:#071324}
@media(max-width:720px){body.swft-scotland-america-friendship{background-size:cover!important;background-attachment:scroll!important}body.swft-scotland-america-friendship .swf .hero{min-height:175px!important;padding:20px!important;background-position:65% center!important}}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship *,body.swft-scotland-america-friendship *:before,body.swft-scotland-america-friendship *:after{animation:none!important;transition:none!important}}

/* Distinctive animated Saltire + Stars & Stripes category headers */
@keyframes saFlagFlow{0%{background-position:0% 50%,0% 50%,0 0}50%{background-position:100% 50%,100% 50%,18px 0}100%{background-position:0% 50%,0% 50%,0 0}}
@keyframes saStarGlow{0%,100%{filter:drop-shadow(0 0 2px #fff8);opacity:.8}50%{filter:drop-shadow(0 0 9px #ffe8a5);opacity:1}}
@keyframes saEdgePulse{0%,100%{box-shadow:inset 0 -2px 0 #e54b5b,0 2px 10px #0b1738}50%{box-shadow:inset 0 -2px 0 #f6d99d,0 3px 19px #b9345680}}
body.swft-scotland-america-friendship .swf .swf-category-head{
 position:relative!important;isolation:isolate;overflow:hidden!important;
 background-image:linear-gradient(105deg,#103a78ed 0%,#184b93ed 37%,#692c60e8 62%,#a72742ec 100%),repeating-linear-gradient(115deg,transparent 0 21px,#ffffff14 22px 24px,transparent 25px 44px)!important;
 background-size:220% 100%,220% 100%!important;
 animation:saFlagFlow 12s ease-in-out infinite,saEdgePulse 4s ease-in-out infinite!important;
 border-bottom:3px solid #f4d185!important;letter-spacing:.025em;padding:14px 18px!important;color:#fff!important;
}
body.swft-scotland-america-friendship .swf .swf-category-head:before{content:'✦  ✧';display:inline-block!important;color:#f7e2ad!important;font-size:18px;margin-right:12px;animation:saStarGlow 3s ease-in-out infinite}
body.swft-scotland-america-friendship .swf .swf-category-head:after{content:'✦  ★  ✦'!important;display:inline-block!important;margin-left:auto;padding-left:12px;font-size:13px;color:#fff2cc;opacity:.9;animation:saStarGlow 4s ease-in-out infinite}
body.swft-scotland-america-friendship .swf .swf-category-head :is(a,span,strong){color:#fff!important;text-shadow:0 2px 6px #000a!important}
body.swft-scotland-america-friendship .swf .hero{background-image:linear-gradient(90deg,#071324e8 0%,#07132488 47%,#07132416 100%),url('assets/scotland-america-background.jpg')!important;background-position:center 48%!important;border-color:#f4d185!important}
body.swft-scotland-america-friendship .swf :is(.panel,.side-panel,.swf-category){backdrop-filter:blur(5px)}
body.swft-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)){background:linear-gradient(125deg,#bb2f4d,#e44b5a)!important;color:#fff!important;border-color:#f6a8b0!important}
body.swft-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)):hover{background:linear-gradient(125deg,#204d90,#b32f51)!important;color:#fff!important}
body.swft-scotland-america-friendship :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox) :is(h2,h3,.header,.shoutbox-header){background:linear-gradient(110deg,#153b7a,#9f294a)!important;color:#fff!important}
body.swft-scotland-america-friendship :is(footer,.swf-footer,.community-footer){background:linear-gradient(110deg,#081a37,#193f7b 45%,#772641 100%)!important}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf .swf-category-head,body.swft-scotland-america-friendship .swf .swf-category-head:before,body.swft-scotland-america-friendship .swf .swf-category-head:after{animation:none!important}}

/* v1.0.2 — actual animated Scottish and American flags on every category header. */
body.swft-scotland-america-friendship .swf .swf-category-head{
 background:linear-gradient(90deg,rgba(5,17,39,.63),rgba(5,17,39,.30) 48%,rgba(5,17,39,.65)),url("assets/heritage-category-1.jpg") center / 100% 100% no-repeat!important;
 animation:saEdgePulse 4s ease-in-out infinite!important;
 min-height:65px!important;padding:16px 20px!important;
 border:2px solid #d9b976!important;border-bottom:3px solid #f4d185!important;
 text-shadow:0 2px 5px #000,0 0 12px #000!important;
}
body.swft-scotland-america-friendship .swf .swf-category-head:before{content:'🏴'!important;display:none!important}
body.swft-scotland-america-friendship .swf .swf-category-head:after{content:'★'!important;display:inline-block!important;color:#ffe7a1!important;animation:saStarGlow 3s ease-in-out infinite!important}
body.swft-scotland-america-friendship .swf .swf-category-head :is(a,span,strong){position:relative;z-index:1;color:#fff!important;text-shadow:0 2px 5px #000,0 0 12px #000!important}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf .swf-category-head{background:linear-gradient(90deg,#143c78,#8b263e)!important;animation:none!important}}

/* v1.0.3: robust direct category styling, no external animation asset resolution. */
html body.swft-scotland-america-friendship main.swf section.swf-category > div.swf-category-head,
html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head{
  background-image:linear-gradient(90deg,rgba(3,12,30,.25),rgba(3,12,30,.12) 50%,rgba(3,12,30,.32)),url("assets/heritage-category-1.jpg")!important;
  background-size:100% 100%,100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  min-height:90px!important;
  border:2px solid #efcf89!important;
  box-shadow:inset 0 0 0 1px #fff7,0 4px 16px #0009!important;
  color:#fff!important;
}
html body.swft-scotland-america-friendship main.swf section.swf-category > div.swf-category-head > span,
html body.swft-scotland-america-friendship main.swf section.swf-category > div.swf-category-head > small{
  position:relative!important;z-index:2!important;
  background:rgba(4,14,32,.78)!important;
  padding:8px 12px!important;border-radius:8px!important;
  color:#fff!important;text-shadow:0 2px 5px #000!important;
}
@media(prefers-reduced-motion:reduce){html body.swft-scotland-america-friendship main.swf section.swf-category > div.swf-category-head{animation:none!important}}


/* v1.0.7: Grand Scotland & America hero, designed around existing theme artwork. */
body.swft-scotland-america-friendship .swf > header.hero,
body.swft-scotland-america-friendship .swf header.hero{
 min-height:520px!important; height:auto!important; padding:70px 48px!important;
 display:flex!important; flex-direction:column!important; justify-content:center!important;
 position:relative!important; isolation:isolate!important;
 background:linear-gradient(90deg,rgba(4,12,30,.94) 0%,rgba(8,26,53,.72) 47%,rgba(8,20,42,.28) 100%),url('assets/scotland-america-background.jpg') center 43%/cover no-repeat!important;
 border:3px solid #d6b876!important;border-radius:18px!important;
 box-shadow:inset 0 0 0 2px #234e82,0 14px 40px #000c,0 0 28px #2a6bb04d!important;
 overflow:hidden!important;
}
body.swft-scotland-america-friendship .swf header.hero::before{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,transparent 0%,#ffffff0e 49%,transparent 53%);background-size:250% 100%;
 animation:saHeroSweep 11s ease-in-out infinite;
}
body.swft-scotland-america-friendship .swf header.hero::after{
 content:'';position:absolute;right:3%;top:6%;width:42%;height:80%;pointer-events:none;z-index:-1;
 background:url('assets/heritage-category-1.jpg') center/contain no-repeat;
 filter:drop-shadow(0 12px 16px #000a);opacity:.9;
}
body.swft-scotland-america-friendship .swf header.hero h1{font-size:clamp(40px,5vw,78px)!important;line-height:1.05!important;max-width:680px!important;text-shadow:0 4px 12px #000,0 0 30px #000!important;letter-spacing:.025em!important}
body.swft-scotland-america-friendship .swf header.hero p{font-size:clamp(16px,1.6vw,22px)!important;max-width:600px!important;line-height:1.5!important}
body.swft-scotland-america-friendship .swf header.hero>.muted{font-weight:900!important;letter-spacing:.18em!important;color:#f7d897!important}
@keyframes saHeroSweep{0%,20%{background-position:180% 0}65%,100%{background-position:-100% 0}}
/* Category headings: animated woven tartan with Saltire-blue and American crimson, gilded edges. */
@keyframes saTartanDrift{0%{background-position:0 0,0 0,0 0}50%{background-position:34px 0,-28px 0,0 0}100%{background-position:0 0,0 0,0 0}}
@keyframes saGoldEdge{0%,100%{box-shadow:inset 0 2px #e8c981,inset 0 -3px #bb354b,0 2px 12px #0008}50%{box-shadow:inset 0 2px #fff0b5,inset 0 -3px #e8c981,0 0 18px #a8cfff55}}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{
 min-height:84px!important;padding:20px 26px!important;gap:14px!important;
 background-image:repeating-linear-gradient(90deg,transparent 0 17px,#ffffff12 18px 20px,transparent 21px 35px,#09162d55 36px 43px),repeating-linear-gradient(0deg,transparent 0 17px,#ffffff0c 18px 20px,transparent 21px 35px,#09162d55 36px 43px),linear-gradient(105deg,#123d79 0%,#153e73 35%,#6c284b 65%,#a42b40 100%)!important;
 background-size:280px 100%,100% 180px,100% 100%!important;
 animation:saTartanDrift 16s ease-in-out infinite,saGoldEdge 4.5s ease-in-out infinite!important;
 border-left:6px solid #e4c27d!important;border-right:6px solid #e4c27d!important;
 border-bottom:3px solid #e4c27d!important;color:#fff!important;
 text-shadow:0 2px 6px #000!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::before{content:'✦'!important;font-size:30px!important;color:#ffe2a0!important;filter:drop-shadow(0 0 8px #fff7)!important}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head>span{font-size:clamp(19px,2vw,27px)!important;font-weight:900!important}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head>small{color:#fff0cf!important;opacity:1!important;font-size:13px!important}
/* Real markup: category HEAD is a div; each FORUM is a sibling .swf-forum-node.
   Count ONLY forum nodes, not their nested .swf-forum-row children. */
body.swft-scotland-america-friendship .swf .swf-forum-node>.swf-forum-row>.swf-forum-icon{
 width:82px!important;height:82px!important;min-width:82px!important;flex:0 0 82px!important;
 background:transparent url('assets/forum-friendship.webp') center/contain no-repeat!important;
 border:0!important;box-shadow:none!important;border-radius:0!important;
 color:transparent!important;font-size:0!important;overflow:hidden!important;
 filter:drop-shadow(0 3px 7px #000b);transition:transform .25s,filter .25s!important;
}
body.swft-scotland-america-friendship .swf .swf-forum-icon :is(svg,i,span){visibility:hidden!important;opacity:0!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:hover>.swf-forum-row>.swf-forum-icon{transform:scale(1.07);filter:drop-shadow(0 0 10px #7caaff)}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+1 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-friendship.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+2 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-castle.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+3 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-eagle.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+4 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-locked.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+5 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-scroll.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+6 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-redirect.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+7 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-announcements.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+8 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-discussions.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+9 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-events.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+10 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-support.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+11 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-suggestions.webp')!important}
body.swft-scotland-america-friendship .swf .swf-forum-node:nth-child(12n+12 of .swf-forum-node)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-international.webp')!important}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+2)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-friendship.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+3)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-castle.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+4)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-eagle.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+5)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-locked.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+6)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-scroll.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+7)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-redirect.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+8)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-announcements.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+9)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-discussions.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+10)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-events.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+11)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-support.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+12)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-suggestions.webp')!important}}
@supports not selector(:nth-child(1 of .swf-forum-node)){body.swft-scotland-america-friendship .swf section.swf-category>.swf-forum-node:nth-of-type(12n+13)>.swf-forum-row>.swf-forum-icon{background-image:url('assets/forum-international.webp')!important}}
@media(max-width:720px){body.swft-scotland-america-friendship .swf header.hero{min-height:360px!important;padding:32px 22px!important}body.swft-scotland-america-friendship .swf header.hero::after{opacity:.35;width:70%;right:0}body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{min-height:70px!important;padding:14px 16px!important;flex-wrap:wrap}body.swft-scotland-america-friendship .swf .swf-forum-node>.swf-forum-row>.swf-forum-icon{width:58px!important;height:58px!important;min-width:58px!important;flex-basis:58px!important}}@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf header.hero::before,body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{animation:none!important}}

/* v1.0.8: NO FLAGS in hero or category headings. Heritage landscape art. */
body.swft-scotland-america-friendship .swf header.hero,
body.swft-scotland-america-friendship .swf > header.hero{
 min-height:570px!important;
 background:linear-gradient(90deg,rgba(4,12,27,.86),rgba(4,14,32,.48) 60%,rgba(5,12,25,.20)),url('assets/heritage-cinematic-hero.jpg') center center/cover no-repeat!important;
 border:4px solid #d6b876!important;
}
body.swft-scotland-america-friendship .swf header.hero::after,
body.swft-scotland-america-friendship .swf > header.hero::after{
 content:none!important;display:none!important;background:none!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{
 min-height:104px!important;
 background:linear-gradient(90deg,rgba(8,23,44,.65),rgba(18,33,53,.16)),url('assets/heritage-category-1.jpg') center/100% 100% no-repeat!important;
 border:2px solid #cda865!important;border-left:7px solid #dfbb7d!important;
 animation:saGoldEdge 4.5s ease-in-out infinite!important;
 position:relative!important;overflow:hidden!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::before{
 content:'✦'!important;color:#f5d695!important;display:inline-block!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::after{
 content:''!important;display:block!important;position:absolute!important;inset:0!important;
 pointer-events:none!important;
 background:linear-gradient(110deg,transparent 25%,rgba(255,229,177,.18) 49%,transparent 73%)!important;
 background-size:250% 100%!important;animation:saHeroSweep 9s linear infinite!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head>*{position:relative;z-index:1}
@media(max-width:720px){
 body.swft-scotland-america-friendship .swf header.hero{min-height:370px!important;padding:30px 18px!important}
 body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{min-height:80px!important;background-size:auto 100%!important}
}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::after{animation:none!important}}

/* 1.1.0: Real photographic banner and animated photographic category headers; no flags. */
@keyframes saPhotoDrift{0%{background-position:50% 48%}50%{background-position:54% 54%}100%{background-position:50% 48%}}
@keyframes saCategoryPan{0%{background-position:50% 45%}50%{background-position:55% 55%}100%{background-position:50% 45%}}
@keyframes saGoldGlow{0%,100%{box-shadow:inset 0 0 0 1px #c9a669,0 0 6px #c9a66933}50%{box-shadow:inset 0 0 0 2px #f5d58d,0 0 23px #e5b76888}}
@keyframes saMistMove{from{transform:translateX(-25%)}to{transform:translateX(25%)}}
body.swft-scotland-america-friendship .swf header.hero,
body.swft-scotland-america-friendship .swf > header.hero{
 min-height:610px!important;padding:70px 46px!important;
 background-image:linear-gradient(90deg,rgba(4,12,28,.75) 0%,rgba(4,12,28,.36) 50%,rgba(4,12,28,.18) 100%),url('assets/heritage-cinematic-hero.jpg')!important;
 background-size:cover!important;background-position:50% 48%!important;
 background-repeat:no-repeat!important;animation:saPhotoDrift 24s ease-in-out infinite!important;
 border:3px solid #d3ad6d!important;border-radius:18px!important;
 box-shadow:0 12px 36px #0009,inset 0 0 40px #02071288!important;
}
body.swft-scotland-america-friendship .swf header.hero::before,
body.swft-scotland-america-friendship .swf header.hero::after{content:none!important;display:none!important;background:none!important}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{
 position:relative!important;isolation:isolate!important;min-height:120px!important;padding:20px 26px!important;
 background-image:linear-gradient(90deg,rgba(4,14,32,.87),rgba(4,14,32,.35)),url('assets/heritage-category-1.jpg')!important;
 background-size:cover!important;background-repeat:no-repeat!important;
 animation:saCategoryPan 14s ease-in-out infinite,saGoldGlow 4s ease-in-out infinite!important;
 border:2px solid #d3ad6d!important;border-left:8px solid #f0d18c!important;border-radius:12px!important;
 color:#fff!important;text-shadow:0 2px 5px #000!important;overflow:hidden!important;
}
body.swft-scotland-america-friendship .swf section.swf-category:nth-of-type(3n+2)>.swf-category-head{
 background-image:linear-gradient(90deg,rgba(4,14,32,.87),rgba(4,14,32,.35)),url('assets/heritage-category-2.jpg')!important;
}
body.swft-scotland-america-friendship .swf section.swf-category:nth-of-type(3n+3)>.swf-category-head{
 background-image:linear-gradient(90deg,rgba(4,14,32,.87),rgba(4,14,32,.35)),url('assets/heritage-category-3.jpg')!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::before{content:none!important;display:none!important}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::after{
 content:''!important;display:block!important;position:absolute!important;inset:-20% -30%!important;
 pointer-events:none!important;z-index:0!important;
 background:linear-gradient(110deg,transparent 30%,rgba(218,232,246,.17) 52%,transparent 74%)!important;
 animation:saMistMove 12s ease-in-out infinite alternate!important;
}
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head>*{position:relative!important;z-index:1!important}
@media(max-width:720px){body.swft-scotland-america-friendship .swf header.hero{min-height:380px!important;padding:30px 20px!important}body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{min-height:92px!important;padding:14px 18px!important}}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf header.hero,body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head,body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head::after{animation:none!important}}

/* v1.1.1: dedicated panoramic photographs, never stretched; transparent forum crests. */
body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{min-height:94px!important;background-image:linear-gradient(90deg,rgba(4,15,31,.83),rgba(4,15,31,.38)),url('assets/heritage-category-banner-1.jpg')!important;background-size:cover!important;background-position:center 50%!important;animation:saCategoryNaturalPan 19s ease-in-out infinite,saGoldGlow 4s ease-in-out infinite!important}
body.swft-scotland-america-friendship .swf section.swf-category:nth-of-type(3n+2)>.swf-category-head{background-image:linear-gradient(90deg,rgba(4,15,31,.83),rgba(4,15,31,.38)),url('assets/heritage-category-banner-2.jpg')!important}
body.swft-scotland-america-friendship .swf section.swf-category:nth-of-type(3n+3)>.swf-category-head{background-image:linear-gradient(90deg,rgba(4,15,31,.83),rgba(4,15,31,.38)),url('assets/heritage-category-banner-3.jpg')!important}
@keyframes saCategoryNaturalPan{0%,100%{background-position:center 42%}50%{background-position:center 58%}}
body.swft-scotland-america-friendship .swf .swf-forum-node>.swf-forum-row>.swf-forum-icon{background-color:transparent!important;box-shadow:none!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
@media(max-width:720px){body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{min-height:80px!important;background-position:center!important}}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship .swf section.swf-category>.swf-category-head{animation:none!important}}
