
:root{--black:#080809;--ink:#101011;--tile:#171718;--tile2:#1d1d1e;--wine:#780000;--wine2:#9b1515;--line:#333337;--white:#f9f9f9;--muted:#a0a0a4;--font:'Inter',Arial,sans-serif;--display:'Barlow Condensed','Arial Narrow',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--black);color:var(--white);font-family:var(--font);font-size:14px}a{color:inherit;text-decoration:none}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #d84343;outline-offset:3px}.shell{width:min(1170px,calc(100% - 72px));margin:0 auto}.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:fixed;z-index:999;width:auto;height:auto;top:8px;left:8px;padding:9px;background:white;color:black;clip:auto}
.iam-banner{height:clamp(205px,25.4vw,340px);background:#1c201b url('iam-original-banner.jpg') center center/cover no-repeat;border-bottom:0;position:relative}.iam-banner:after{content:'';position:absolute;inset:auto 0 0;height:38px;background:linear-gradient(transparent,#0004);pointer-events:none}
.iam-nav{background:var(--wine);height:50px;border-bottom:3px solid #4c0000}.nav-inner{display:flex;align-items:stretch;height:100%;gap:0;justify-content:center}.iam-nav a{font:700 15px var(--display);letter-spacing:.1em;color:white;min-width:208px;text-align:center;padding:14px 24px;transition:background .2s;border-right:1px solid #ffffff1a}.iam-nav a:first-child{border-left:1px solid #ffffff1a}.iam-nav a.current,.iam-nav a:hover{background:#af0c13}
.introduction{background:linear-gradient(100deg,#0b0b0c 0%,#1b1b1e 100%);border-bottom:1px solid #303033}.intro-inside{min-height:242px;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:40px 0 43px}.microline{font:700 12px var(--display);color:#ba4041;letter-spacing:.22em;text-transform:uppercase;margin:0 0 11px}.hairline{width:24px;height:2px;background:#9c0808;display:inline-block;vertical-align:middle;margin-right:10px}.intro-inside h1{font:700 clamp(40px,4.3vw,63px)/.93 var(--display);letter-spacing:.026em;margin:0 0 16px}.intro-inside h1 span{color:#cfcece}.intro-inside p:not(.microline){max-width:710px;color:#b7b7b9;line-height:1.8;font-size:12px;margin:0}.intro-stat{display:flex;align-items:center;gap:16px;border-left:1px solid #343435;padding:0 0 0 25px;flex:none}.intro-stat b{font:700 100px/.8 var(--display);color:#ac0d13}.intro-stat span{font:700 14px/1.5 var(--display);color:#dedede;letter-spacing:.1em}.section-bar{height:44px;display:flex;align-items:center;background:var(--wine);border-top:3px solid #6a0000;border-bottom:3px solid #530000}.section-bar .shell{display:flex;align-items:center;gap:12px;font:700 15px var(--display);letter-spacing:.11em}.red-square{width:10px;height:10px;border:2px solid #fff;display:inline-block}.section-bar small{color:#cf9999;margin-left:auto;font:600 11px var(--display);letter-spacing:.17em}.atlas-section{padding:49px 0 76px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:24px}.section-head h2,.tribal-intro h2,.speak-top h2,.videos-panel h2{font:700 clamp(30px,3vw,43px)/1 var(--display);letter-spacing:.025em;margin:0}.section-head>p{color:#aaa;max-width:350px;font-size:12px;line-height:1.6;margin:0 0 2px}.search-strip{display:flex;align-items:stretch;gap:10px;margin-bottom:15px}.input-frame{height:45px;border:1px solid #39393b;background:#1b1b1e;display:flex;align-items:center;color:#a7a7a9;flex:1;padding:0 13px}.input-frame input{width:100%;height:100%;border:0;background:transparent;color:white;outline:0;font-size:12px}.input-frame input::placeholder{color:#aaa}.search-icon{font-size:23px;color:#d6d6d6;margin-right:7px}.filter-frame{flex:0 0 250px;padding-right:3px}.filter-frame select{width:100%;height:100%;border:0;background:#1b1b1e;color:#ddd;font:600 12px var(--display);letter-spacing:.04em;outline:0;cursor:pointer}.filter-reset{background:#2b2b2e;color:#f2f2f2;border:1px solid #474747;padding:0 20px;font:700 12px var(--display);letter-spacing:.07em}.search-strip>strong{display:flex;align-items:center;color:#b9b9b9;font:600 12px var(--display);padding:0 6px;white-space:nowrap}
.atlas-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(345px,.85fr);gap:14px;align-items:stretch}.map-panel,.directory-panel,.content-panel{background:#171719;border:1px solid #313133;min-width:0}.panel-cap{height:44px;background:#242426;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:2px solid #770000;gap:12px}.panel-cap strong{font:700 15px var(--display);letter-spacing:.11em}.panel-cap span{font:500 11px var(--display);color:#b3a8a8;white-space:nowrap}#map{height:460px;background:#181d1a}.map-panel #map svg{filter:saturate(.8)}.map-legend{padding:12px 13px 9px;display:flex;gap:20px;flex-wrap:wrap;font-size:10px;color:#b6b6b8}.legend-dot{width:10px;height:10px;border-radius:50%;background:#b22229;display:inline-block;margin-right:5px;vertical-align:middle;border:1px solid white}.legend-dot.approx{background:#f0eee7;border-color:#bda28e}.map-panel>p{font-size:10px;line-height:1.65;color:#878787;padding:0 14px 8px;margin:0}.leaflet-control-attribution,.leaflet-control-attribution a{font-size:9px!important}.leaflet-container{font-family:var(--font)!important}.custom-pin{display:block;border-radius:50%;width:15px;height:15px;background:#a40008;border:2px solid #fff;box-shadow:0 0 5px #0007}.custom-pin.approx{background:#fff;border-color:#8e0000}.popup-btn{display:inline-block;padding:8px 14px;background:#850000;color:white;border:0;margin-top:8px;font:700 11px var(--display)}.profile-list{height:547px;overflow-y:auto;scrollbar-color:#831010 #222;scrollbar-width:thin}.profile-row{border:0;border-bottom:1px solid #343438;background:#151516;width:100%;text-align:left;min-height:65px;display:flex;align-items:center;gap:16px;color:#fff;padding:10px 14px}.profile-row:nth-child(even){background:#1e1e20}.profile-row:hover,.profile-row:focus-visible{background:#720003}.profile-index{width:29px;flex:none;font:600 16px var(--display);color:#b8494a}.profile-info{min-width:0;flex:1}.profile-info strong{font:700 15px var(--display);letter-spacing:.02em;display:block}.profile-info small{font-size:10px;display:block;line-height:1.5;color:#9f9fa0;margin-top:3px}.profile-arrow{font-size:19px;font-weight:300;color:#c2c2c2}.directory-tail{height:28px;background:#750000;display:flex;align-items:center;justify-content:center;gap:16px;font:700 11px var(--display);letter-spacing:.12em}.directory-tail span{font-size:18px}.empty-state{padding:30px;color:#aaa;font-size:12px}.tribal-section{padding:51px 0 0;display:grid;grid-template-columns:255px 1fr;gap:28px}.tribal-intro p:not(.microline){font-size:11px;color:#969698;line-height:1.75}.tribal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tribal-item{border:1px solid #373737;color:#eee;background:#1b1b1d;min-height:63px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;padding:12px;font:600 12px var(--display)}.tribal-item:hover{border-color:#910000;background:#310608}.tribal-n{background:#770000;color:white;font-size:10px;padding:4px 7px}.voice-cta{background:#141416;border-top:3px solid #6d0000}.voice-layout{padding:57px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}.voice-cta h2{font:700 45px/.94 var(--display);margin:0}.voice-cta p:not(.microline){font-size:12px;color:#aaa}.red-outline{font:700 14px var(--display);letter-spacing:.1em;border:1px solid #b40e13;padding:17px 24px;min-width:230px;display:flex;justify-content:space-between}.red-outline:hover{background:#800000}.iam-footer{background:#710000;padding:30px 0 40px;border-top:3px solid #a1070c}.footer-grid{display:grid;grid-template-columns:180px 1fr auto;gap:24px;align-items:center}.footer-brand{display:flex;flex-direction:column;align-items:center}.footer-brand b{font:800 58px/.75 var(--display);color:white;letter-spacing:-.08em}.footer-brand span{font:700 9px/1.1 var(--display);text-align:center;letter-spacing:.18em;margin-top:7px}.footer-grid>p{font-size:11px;color:#e6cccc;line-height:1.9}.footer-small{font:600 11px var(--display);color:#e1b7b7}
/* profile side panel */.drawer{position:fixed;inset:0;z-index:1000;visibility:hidden;pointer-events:none}.drawer[aria-hidden=false]{visibility:visible;pointer-events:auto}.drawer-backdrop{position:absolute;inset:0;background:#000a;opacity:0;transition:opacity .2s}.drawer[aria-hidden=false] .drawer-backdrop{opacity:1}.drawer-content{position:absolute;right:0;top:0;bottom:0;overflow:auto;width:min(520px,100%);background:#141416;border-left:4px solid #7e0000;transform:translateX(105%);transition:transform .25s}.drawer[aria-hidden=false] .drawer-content{transform:translateX(0)}.drawer-top{height:59px;background:#750000;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font:700 14px var(--display);letter-spacing:.1em}.drawer-close{background:transparent;border:0;color:white;font-size:31px;line-height:1}.drawer-inner{padding:35px}.drawer-number{font:700 12px var(--display);color:#db474b;letter-spacing:.12em}.drawer-inner h2{font:700 41px/1 var(--display);letter-spacing:.015em;margin:15px 0}.drawer-badge{display:inline-block;background:#650000;padding:8px 11px;font:600 10px var(--display);letter-spacing:.09em;margin:0 0 17px}.detail-block{padding:13px 0;border-bottom:1px solid #3c3c3d}.detail-block dt{font:600 11px var(--display);color:#c24950;letter-spacing:.1em;text-transform:uppercase;margin-bottom:7px}.detail-block dd{margin:0;font:500 15px var(--font);overflow-wrap:anywhere}.detail-block dd small{display:block;margin:6px 0 0;color:#9b9b9e;font-size:10px;line-height:1.7}.detail-block a{color:#ff9b9b;text-decoration:underline}.drawer-note{font-size:11px;line-height:1.7;color:#b9b9ba;padding:15px;border-left:2px solid #8d0000;background:#222224}.drawer-btns{display:grid;gap:9px}.drawer-btns a{background:#770000;padding:14px;font:700 13px var(--display);letter-spacing:.04em}.drawer-btns a.secondary{background:#333338}.lock{overflow:hidden}
/* speak */.speak-stat b{font-size:65px}.speak-main{padding:49px 0 76px}.speak-top{display:grid;grid-template-columns:1fr 360px;align-items:center;gap:30px;margin-bottom:27px}.speak-top h2{font-size:46px}.speak-top p:not(.microline){max-width:640px;font-size:12px;line-height:1.8;color:#aaa}.big-record{background:#810000;display:flex;align-items:center;gap:17px;padding:23px 25px;border:1px solid #bd3535}.big-record:hover{background:#a20000}.record-circle{width:58px;height:58px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;font-size:20px;flex:none}.big-record strong{font:700 25px var(--display);letter-spacing:.02em;display:block}.big-record small{font:600 11px var(--display);letter-spacing:.12em}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.steps{padding:10px 25px 16px}.steps>div{border-bottom:1px solid #3b3b3b;display:flex;gap:19px;align-items:center;padding:15px 0;color:#ddd;font-size:12px}.steps>div:last-child{border:0}.steps b{font:700 28px var(--display);color:#b51d22}.report-body{padding:17px 24px}.report-body>p{font-size:12px;color:#b4b4b4;line-height:1.7}.report-item{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #353539;font-size:12px}.report-item span{color:#b41b1b}.report-body small{display:block;font-size:10px;color:#8a8a8d;line-height:1.6;margin-top:14px}.videos-panel{padding-top:65px}.video-placeholder{min-height:220px;border:1px dashed #6b2727;background:linear-gradient(110deg,#1b1b1d,#111112);display:flex;align-items:center;justify-content:center;gap:30px;padding:40px}.play-ring{width:75px;height:75px;border-radius:50%;border:2px solid #a61515;display:grid;place-items:center;flex:none;font-size:24px;color:white}.video-placeholder strong{font:700 24px var(--display);letter-spacing:.07em}.video-placeholder p{font-size:12px;color:#aaa;line-height:1.8;max-width:500px}.review-note{font-size:10px;color:#888;line-height:1.6}
@media(max-width:920px){.atlas-grid{grid-template-columns:1fr}.tribal-section{grid-template-columns:1fr}.profile-list{height:320px}.speak-top{grid-template-columns:1fr}.big-record{max-width:430px}.footer-grid{grid-template-columns:1fr 2fr}.footer-small{display:none}.intro-stat b{font-size:74px}}
@media(max-width:600px){.shell{width:calc(100% - 32px)}.iam-banner{height:195px;background-position:50% 50%}.iam-nav{height:47px}.nav-inner{width:100%}.iam-nav a{min-width:0;flex:1;font-size:13px;padding:13px 6px}.intro-inside{padding:36px 0;align-items:flex-start;min-height:0}.intro-stat{display:none}.intro-inside h1{font-size:47px}.section-bar small{display:none}.atlas-section{padding:34px 0 48px}.section-head{display:block}.section-head>p{margin-top:10px}.search-strip{flex-wrap:wrap;gap:8px}.input-frame{flex-basis:100%}.filter-frame{flex:1}.search-strip>strong{font-size:10px}#map{height:320px}.map-legend{gap:8px}.panel-cap{padding:0 10px}.panel-cap strong{font-size:12px}.tribal-grid{grid-template-columns:1fr 1fr}.tribal-section{gap:14px}.voice-layout{display:block}.voice-cta h2{font-size:40px}.voice-cta .red-outline{margin-top:22px;width:fit-content}.footer-grid{display:block;text-align:center}.footer-grid>p{margin-top:17px}.speak-top h2{font-size:42px}.big-record{padding:16px}.two-panels{grid-template-columns:1fr}.video-placeholder{padding:25px;display:block;text-align:center}.play-ring{margin:0 auto 19px}}

/* Local SVG map fix: prevents external map tiles or marker layers overflowing on mobile. */
#map {position:relative;overflow:hidden;isolation:isolate;width:100%;max-width:100%;contain:layout paint;}
#map .saskatchewan-atlas{width:100%;height:100%;display:block;max-width:100%;filter:none;touch-action:pan-y;}
#map .saskatchewan-atlas g[role="button"]:focus-visible circle:last-child{stroke:#ffe88e;stroke-width:4}
@media(max-width:600px){#map{height:405px}}
/* Keep the existing heading inside narrow phone screens (including when web fonts are blocked). */
@media(max-width:600px){
  .intro-inside > div:first-child{min-width:0;max-width:100%}
  .intro-inside h1{font-size:clamp(30px,9.25vw,39px);overflow-wrap:normal}
}

/* Integration pending only; no change to original IAM look or layout. */
.video-not-ready {opacity:.86;cursor:default;}
.video-not-ready .record-circle {font-size:20px;}

/* Facebook destination link styled to match the existing IAM burgundy accents. */
.fb-story-link{display:inline-block;margin-top:7px;background:#810000;color:#fff;border:1px solid #bd3535;padding:13px 20px;font:700 13px var(--display);letter-spacing:.1em}.fb-story-link:hover,.fb-story-link:focus-visible{background:#a20000}

/* Facebook community post index — compatible with the original IAM design. */
.post-directory-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 17px}.post-label,.post-link-form label{font:700 12px var(--display);letter-spacing:.09em;color:#dadada}.post-label{min-width:175px}.post-field{background:#202022;border:1px solid #49494b;color:#fff;padding:13px 14px;font:500 13px var(--font);min-height:45px;max-width:100%;border-radius:0}.post-field:focus-visible{outline:2px solid #dc323b;outline-offset:2px}.post-directory-controls select{flex:1;min-width:210px}.post-results-count{color:#aeaeaf;font-size:11px;min-width:98px}.posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.post-card{border:1px solid #3c3c3e;background:#171719;padding:20px;min-width:0}.post-card-top{display:flex;gap:12px;justify-content:space-between;align-items:start}.post-card-community{background:#750000;padding:5px 8px;font:700 11px var(--display);letter-spacing:.03em}.post-card-date{color:#888;font:500 10px var(--font);white-space:nowrap}.post-card h3{font:700 25px/1.04 var(--display);margin:17px 0 10px}.post-card-note{font-size:12px;line-height:1.7;color:#c3c3c3}.post-card-author{font:500 11px var(--font);color:#949497}.post-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.post-card-btn,.post-card-preview,.post-submit{display:inline-block;background:#820000;border:1px solid #b3292d;color:#fff;padding:12px 16px;font:700 12px var(--display);letter-spacing:.07em;text-decoration:none;cursor:pointer}.post-card-preview{background:#262629;border-color:#5a5a5a}.post-card-preview:hover,.post-card-btn:hover,.post-submit:hover{background:#b0000c}.post-submit:disabled{opacity:.6;cursor:wait}.posts-empty{grid-column:1/-1;border:1px dashed #602d2f;text-align:center;padding:35px 20px;background:#19191b}.posts-empty strong{font:700 25px var(--display)}.posts-empty p{font:400 12px/1.8 var(--font);color:#aaa;max-width:510px;margin:10px auto 19px}.fb-embed-holder{max-width:100%;margin:10px 0}.fb-player-frame{display:block;max-width:100%;border:0;background:#1d1d1d}.post-player-note{font-size:11px;line-height:1.6;color:#b9b9b9}.post-add-box{margin-top:48px;padding:30px;border:1px solid #6b2929;display:grid;grid-template-columns:1fr 1.2fr;gap:25px;background:#19191b}.post-add-box h2{font-size:42px;margin:0}.post-add-box p:not(.microline){font-size:12px;color:#aaa;line-height:1.8}.post-link-form{display:grid;gap:10px;min-width:0}.post-link-form label{margin-top:3px}.post-link-form textarea{resize:vertical}.post-link-form .post-submit{margin-top:9px}.form-message{margin:0;font-size:12px;color:#eec9c9;line-height:1.6}.bot-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.review-note a{color:#ffb3b3;text-decoration:underline}
@media(max-width:780px){.posts-grid{grid-template-columns:1fr}.post-add-box{grid-template-columns:1fr}.post-directory-controls{display:block}.post-directory-controls>*{display:block;margin:6px 0;width:100%}}
@media(max-width:600px){.post-add-box{padding:17px}.post-card{padding:17px}.post-add-box h2{font-size:35px}}

/* Internal IAM story form: retains original IAM colours, layout and typography. */
.iam-story-publish{scroll-margin-top:20px;margin:35px 0 10px;border:1px solid #6b2929;background:#171719}
.story-form-details summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;align-items:center;padding:22px 26px;background:#760000;font:700 20px var(--display);letter-spacing:.05em;list-style:none}
.story-form-details summary::-webkit-details-marker{display:none}
.story-form-details summary small{font:600 12px var(--display);color:#f7cccc;letter-spacing:.1em}
.story-form-details[open] summary{background:#850000}
.iam-story-form{padding:30px}
.story-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.story-fields>label{display:block;font:700 12px var(--display);letter-spacing:.07em;color:#e6e6e6}
.story-fields>label b{color:#e86468}
.story-fields>label>span{font-weight:400;color:#bcbcbc}
.story-fields>label small{display:block;margin-top:7px;font:400 11px/1.5 var(--font);color:#a3a3a5;letter-spacing:0}
.story-fields .post-field{display:block;margin-top:9px;width:100%;box-sizing:border-box;border-radius:0;font-family:var(--font);font-weight:400;letter-spacing:0}
.story-fields textarea{min-height:145px;resize:vertical}
.story-fields .story-wide{grid-column:1/-1}
.word-indicator{text-align:right}
.story-file{display:block;width:100%;box-sizing:border-box;background:#202022;color:#ddd;padding:14px;border:1px solid #49494b;font:400 12px var(--font)}
.story-permission{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px!important;text-transform:none}
.story-permission input{width:20px;height:20px;accent-color:#a90d18;flex:none;margin:0}
.story-permission span{font:400 12px/1.65 var(--font);color:#c6c6c6;letter-spacing:0}
.story-pagination{text-align:center;padding-top:25px}
.story-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#222;margin:0 0 14px}
.story-player-shell{margin:14px 0 8px;aspect-ratio:16/9;width:100%;position:relative;background:#0d0d0e;overflow:hidden;border:1px solid #343436}
.story-player-shell iframe{width:100%;height:100%;border:0;display:block}
.story-player-cover{height:100%;width:100%;background:#1b1b1c;display:grid;place-items:center;cursor:pointer;color:#fff;border:0;font:700 18px var(--display)}
.story-player-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}
.story-player-cover span{position:relative;background:#870000;border:1px solid #e56d6d;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;font-size:26px;z-index:1}
.story-body-text{font:400 12px/1.7 var(--font);color:#c7c7c7;white-space:pre-wrap;overflow-wrap:anywhere}
.story-article-preview{max-height:130px;overflow:hidden}
.story-readmore{background:none;color:#ed9696;border:0;text-decoration:underline;cursor:pointer;padding:5px 0 0;font:600 12px var(--font)}
.story-embed-hint{font:400 10px/1.5 var(--font);color:#9e9ea0}
.post-card{overflow:hidden}
.post-card a{overflow-wrap:anywhere}
.hidden-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:650px){.story-fields{grid-template-columns:1fr}.story-fields .story-wide{grid-column:auto}.iam-story-form{padding:17px}.story-form-details summary{padding:17px;font-size:17px}.story-form-details summary small{font-size:10px}.story-fields{gap:15px}.story-player-shell{margin:10px 0}}

.story-fields .story-file{margin-top:9px;}
/* Always honour hidden UI states, even when a button has display styles. */
[hidden]{display:none!important}

/* IAM homepage latest stories (original dark-red reference design) */
.home-stories{padding:52px 0 62px;scroll-margin-top:10px}.home-stories-description{max-width:620px;color:#aaa;font-size:12px;line-height:1.75;margin-top:14px}.home-stories .section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.home-post-cta{white-space:nowrap;margin-bottom:10px}.home-story-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:26px 0 12px}.home-story-filters label{display:block;font:700 12px var(--display);letter-spacing:.1em;color:#c9c9cb}.home-story-filters select{display:block;width:100%;margin-top:7px}.home-story-filters .filter-reset{height:45px}.stories-live-status{margin:12px 0;color:#b0b0b2;font-size:12px}.home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;grid-auto-rows:1fr;align-items:stretch}.home-post-grid .post-card{min-height:250px;display:flex;flex-direction:column}.home-post-grid .post-card:first-child:nth-last-child(n+2){grid-column:auto}.home-post-grid .post-card:first-child h3{font-size:23px}.home-post-grid .post-card h3{font-size:23px}.home-post-grid .post-card p{word-break:break-word}.home-post-grid .post-card .story-player-shell{margin-top:15px}
.stories-on-home{margin:42px 0 75px;padding:31px;background:#181819;border:1px solid #502126}.stories-on-home h2{margin:5px 0 10px}.stories-on-home p:not(.microline){color:#b1b1b4;font-size:12px;line-height:1.7;margin-bottom:20px}
/* Compact map launcher: large treaty map remains hidden until opened. */
.compact-atlas{grid-template-columns:minmax(250px, .8fr) minmax(0,1.2fr)}.map-launch-panel{border:1px solid #4f2527;padding:27px;background:#19191b;min-width:0}.map-launch-panel h3{font:700 29px/1.07 var(--display);margin:8px 0 18px}.map-launch-panel p:not(.microline){font-size:12px;color:#bfbfc2;line-height:1.75}.map-launch-panel small{display:block;margin-top:18px;font-size:10px;line-height:1.6;color:#999}.map-open-button{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;margin-top:26px;background:#840000;color:#fff;border:1px solid #b33138;padding:16px;font:700 16px var(--display);letter-spacing:.06em}.map-open-button:hover{background:#a30913}.map-open-button span{flex:none}
.treaty-map-dialog{background:#0d0d0e;color:#f9f9f9;border:1px solid #772a2a;padding:24px;width:min(900px,calc(100vw - 30px));max-height:calc(100dvh - 35px);overflow-y:auto;overflow-x:hidden;margin:auto;box-shadow:0 15px 50px #000b}.treaty-map-dialog::backdrop{background:rgba(0,0,0,.87)}.treaty-modal-head{display:flex;gap:20px;justify-content:space-between;align-items:start}.treaty-modal-head h2{font:700 38px var(--display);letter-spacing:.03em;margin:4px 0 10px}.map-close{width:42px;height:42px;border:1px solid #9e4040;background:#790000;color:#fff;font-size:27px;flex:none}.treaty-map-instructions{color:#a9a9ad;line-height:1.6;font-size:12px}.treaty-toolbar{display:flex;align-items:end;gap:15px;margin:19px 0}.treaty-toolbar label{min-width:220px;font:700 12px var(--display);letter-spacing:.08em}.treaty-toolbar select{display:block;width:100%;margin-top:5px}.treaty-toolbar #mapStatus{font-size:11px;color:#bbb;line-height:1.5}.treaty-map-panel{width:100%;max-width:100%;border:1px solid #44292a;min-width:0}.treaty-map-panel #map{height:540px;background:#11191a;overflow:auto;contain:layout paint}.treaty-map-panel .saskatchewan-atlas{min-width:580px;min-height:520px}.treaty-map-dialog .map-legend{gap:14px;flex-wrap:wrap}.treaty-key{display:inline-block;width:14px;height:12px;margin-right:5px;border:2px solid #dea85d;background:#a7473244}.treaty-refs{padding:15px 0 0;font-size:11px;line-height:1.6;color:#aaa}.treaty-refs a{color:#efb7b7;text-decoration:underline}.mapped-community-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px;padding:0}.mapped-community-list button{font:600 11px var(--font);text-align:left;background:#222225;color:#ddd;border:1px solid #363639;padding:9px;cursor:pointer;overflow-wrap:anywhere}.mapped-community-list button:hover{background:#550909}.mapped-community-list .map-list-empty{grid-column:1/-1;color:#999;font-size:11px;line-height:1.6}.saskatchewan-atlas .treaty-polygon{stroke-width:1;stroke:#d6a46c;fill-opacity:.16}.saskatchewan-atlas .treaty-polygon.selected{stroke-width:2.7;fill-opacity:.4}.saskatchewan-atlas .map-marker-index{font:700 9px Arial,sans-serif;fill:white;pointer-events:none;text-anchor:middle;dominant-baseline:middle}.saskatchewan-atlas .map-marker-index.small{font-size:7.5px}
/* Consistent original-style footer logo, no overflow on mobile. */
.iam-footer{max-width:100%;overflow:hidden}.footer-brand{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:190px;max-width:100%;min-width:0}.iam-footer-mark{display:block;width:150px;height:auto;max-width:100%}.footer-brand span{display:block;text-align:center;font:700 11px/1.35 var(--font);letter-spacing:.18em;max-width:100%}.footer-grid{align-items:center;min-width:0;gap:25px}.footer-grid>p{min-width:0;overflow-wrap:anywhere}.iam-footer .footer-small{white-space:normal}
@media(max-width:920px){.compact-atlas{grid-template-columns:1fr}.map-launch-panel{padding:22px}.home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-post-grid .post-card:first-child:nth-last-child(n+2){grid-column:auto}}
@media(max-width:650px){.home-stories{padding:30px 0 35px}.home-stories .section-head{display:block}.home-post-cta{display:inline-block;margin-top:15px}.home-story-filters{grid-template-columns:1fr;gap:9px}.home-post-grid{grid-template-columns:1fr}.home-post-grid .post-card:first-child:nth-last-child(n+2){grid-column:auto}.home-post-grid .post-card:first-child h3{font-size:26px}.treaty-map-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);padding:12px}.treaty-modal-head h2{font-size:27px}.treaty-toolbar{display:block}.treaty-toolbar #mapStatus{display:block;margin:9px 0}.treaty-map-panel #map{height:505px}.treaty-map-panel .saskatchewan-atlas{min-width:620px}.mapped-community-list{grid-template-columns:1fr 1fr}.footer-grid{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.footer-brand{margin:auto;width:160px}.iam-footer-mark{width:130px}.footer-brand span{font-size:10px}.footer-grid>p{margin:5px 0 0}}

/* Open the entire province first; zoom buttons only enlarge the map inside its own scroller. */
.treaty-map-panel #map{display:block;overflow:auto;height:min(65vh,560px);min-height:300px}.treaty-map-panel #map .saskatchewan-atlas{min-width:0;min-height:0;max-width:none;width:100%;height:auto;display:block}.map-zoom-tools{display:flex;gap:5px;margin-left:auto}.map-zoom-tools button{width:38px;height:38px;color:#fff;background:#780000;border:1px solid #aa5353;font:700 23px var(--display);line-height:1}.map-zoom-tools button:hover{background:#ae0c19}
@media(max-width:650px){.treaty-map-panel #map{height:350px;min-height:0}.treaty-toolbar .map-zoom-tools{margin-top:10px}.treaty-map-panel .saskatchewan-atlas{min-width:0!important;min-height:0!important}}

/* Compact IAM Community page: stories first, directories open on demand. */
.atlas-stories{padding:0 0 34px;margin:0;border-bottom:1px solid #3c282a;scroll-margin-top:20px}
.atlas-section{padding-top:44px}
.atlas-section>.section-head{margin-bottom:14px}
.atlas-section>.section-head>p{max-width:340px}
.compact-map-launch{max-width:none;margin:24px 0 16px;padding:21px 25px}
.compact-map-launch h3{font-size:25px;margin-bottom:10px}
.compact-map-launch p:not(.microline){margin:4px 0}
.compact-map-launch .map-open-button{max-width:460px;margin-top:15px}
.iam-accordion{border:1px solid #424044;background:#161618;margin:13px 0 0;min-width:0;scroll-margin-top:18px}
.iam-accordion>summary{list-style:none;display:flex;align-items:center;gap:15px;min-height:76px;padding:15px 22px;cursor:pointer;background:#1f1f21;border-left:4px solid #850000}
.iam-accordion>summary::-webkit-details-marker{display:none}
.iam-accordion>summary:hover,.iam-accordion[open]>summary{background:#282023}
.iam-accordion>summary:focus-visible{outline:2px solid #d84343;outline-offset:-3px}
.accordion-title{font:700 24px/1.08 var(--display);letter-spacing:.04em;color:#fff;flex:1}
.accordion-meta{font:700 11px var(--display);letter-spacing:.12em;color:#d1a8a8;white-space:nowrap}
.accordion-caret{display:grid;place-items:center;width:34px;height:34px;background:#860000;color:#fff;font:600 25px/1 var(--display);flex:none}
.iam-accordion[open] .accordion-caret{font-size:0}.iam-accordion[open] .accordion-caret:after{content:'−';font-size:26px}
.accordion-body{padding:21px;min-width:0}
.accordion-body .directory-panel{max-width:100%}
.accordion-body .tribal-section{padding:0;grid-template-columns:245px 1fr}
.accordion-body .tribal-intro h2{font-size:31px}
/* Demonstration posts are fictional examples, not verified news or actual community submissions. */
.demo-note{border-left:4px solid #b64f51;background:#26191b;color:#e6c8c9;padding:11px 16px;font:500 12px/1.6 var(--font);margin:6px 0 15px}
.post-card.is-demo{border:1px solid #552e30;position:relative}
.post-card.is-demo .post-card-community{color:#fafafa}
.post-card.is-demo .post-card-date{color:#efb6b6}
.post-card.is-demo .demo-illustration{height:132px;border:1px solid #382a2c;margin:12px 0 16px;position:relative;overflow:hidden;display:flex;justify-content:flex-end;align-items:flex-end;padding:16px;background:radial-gradient(circle at 78% 20%,#91282f77,transparent 45%),linear-gradient(130deg,#150f11,#4b1a1f 55%,#100d0e)}
.post-card.is-demo .demo-illustration:before{content:'';position:absolute;inset:15px auto -90px 17px;width:185px;height:185px;border:2px solid #c64f513f;border-radius:50%}
.post-card.is-demo .demo-illustration:after{content:'';position:absolute;left:47px;top:8px;bottom:0;width:2px;background:#ffe1e124;transform:rotate(-24deg)}
.post-card.is-demo .demo-illustration span{font:700 13px var(--display);letter-spacing:.1em;background:#7d0000;color:white;padding:6px 12px;position:relative;z-index:1}
.post-card.is-demo .sample-inline{font:700 11px var(--display);letter-spacing:.11em;color:#f3b4b4;margin:10px 0}
.post-card.is-demo .story-body-text{color:#ccc}
.live-status-note{font:500 11px/1.6 var(--font);color:#d0acac;margin:0 0 13px}
@media(max-width:920px){.accordion-body .tribal-section{grid-template-columns:1fr;gap:16px}.accordion-body .tribal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.atlas-section>.section-head{display:block}.atlas-section>.section-head>p{margin-top:14px}.atlas-stories{padding-bottom:19px}.compact-map-launch{padding:18px}.compact-map-launch h3{font-size:24px}.compact-map-launch .map-open-button{max-width:none}.iam-accordion>summary{padding:13px 14px;min-height:64px;gap:9px}.accordion-title{font-size:20px}.accordion-meta{font-size:9px}.accordion-caret{width:29px;height:29px;font-size:22px}.accordion-body{padding:15px}.accordion-body .search-strip{flex-wrap:wrap}.accordion-body .search-strip>.input-frame:first-child{min-width:100%}.accordion-body .filter-frame{flex:1;min-width:0}.accordion-body .search-strip>strong{width:100%}.accordion-body .tribal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.post-card.is-demo .demo-illustration{height:118px}}

/* Four complete fictional story examples; integrated with the existing IAM appearance. */
#latest-stories .demo-note{background:#241516;border:1px solid #854246;border-left:4px solid #d7575c;color:#f2d6d6;font-size:12px;line-height:1.6;margin:15px 0 20px;padding:12px 17px}
.post-card.is-demo{border:1px solid #6d3436;background:#151415}
.post-card.is-demo .post-card-top{gap:12px}
.post-card.is-demo .demo-illustration{height:155px;margin:12px 0 14px;padding:12px;display:flex;align-items:flex-start;justify-content:flex-end;overflow:hidden;position:relative;background:#312124;border:1px solid #553638}
.post-card.is-demo .demo-illustration::before,.post-card.is-demo .demo-illustration::after{pointer-events:none}
.post-card.is-demo .demo-illustration::before{content:'';position:absolute;left:-20%;top:40%;height:115%;width:140%;border-radius:40% 55% 0 0;border:2px solid #eedbd83b;background:linear-gradient(130deg,#8e3436aa,#1b1c20);transform:rotate(-9deg)}
.post-card.is-demo .demo-illustration::after{content:'';position:absolute;left:-10%;right:-10%;bottom:-18%;height:55%;background:linear-gradient(135deg,transparent 3%,#f0c4a13c 23%,transparent 24%,#070a0c 65%);transform:rotate(-6deg)}
.post-card.is-demo .demo-theme-photo{background:linear-gradient(160deg,#283733,#121d2e 54%,#725e47)}
.post-card.is-demo .demo-theme-photo::before{border-radius:0;background:linear-gradient(150deg,#8d9288 20%,#1c3b3d 21% 48%,#bc918a 49% 52%,#18201d 53%)}
.post-card.is-demo .demo-theme-discussion{background:linear-gradient(145deg,#37251c,#3f1724 65%,#130e14)}
.post-card.is-demo .demo-theme-video{background:linear-gradient(150deg,#171d25,#512c30 53%,#17111a)}
.post-card.is-demo .demo-theme-video::before{border-radius:28px;inset:20px auto auto 23px;width:53%;height:70%;transform:none;border:4px solid #fff5;background:linear-gradient(135deg,#242a32,#61252d)}
.post-card.is-demo .demo-illustration .demo-visual-label{font:700 12px/1.3 var(--display);background:#740000;color:white;letter-spacing:.12em;padding:7px 12px;z-index:2;position:relative}
.post-card.is-demo .sample-inline{font:700 10px/1.4 var(--font);letter-spacing:.07em;color:#f3bfc0;margin:5px 0}
.post-card.is-demo .post-card-author{color:#a8a8ad}
.post-card.is-demo .story-body-text{color:#d5d5d5;line-height:1.8}
.post-card.is-demo .story-article-preview{max-height:105px;position:relative;overflow:hidden}
.post-card.is-demo .story-readmore{margin-top:12px;color:#f0a1a3;text-decoration:none;border-bottom:1px solid #9a383d;font:700 13px var(--display);letter-spacing:.08em;padding:7px 1px}
.post-card.is-demo .demo-video-placeholder{border:1px solid #704041;background:#211719;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;margin-top:17px}
.post-card.is-demo .demo-video-placeholder .demo-play-icon{display:grid;place-items:center;border-radius:50%;width:43px;height:43px;background:#800000;color:white;font-size:21px;flex-shrink:0}
.post-card.is-demo .demo-video-placeholder strong{font:700 13px var(--display);letter-spacing:.08em}
.post-card.is-demo .demo-video-placeholder p{flex-basis:100%;font-size:11px;line-height:1.6;color:#bdb5b7;margin:1px 0 0}
@media(max-width:650px){.post-card.is-demo .demo-illustration{height:160px}.post-card.is-demo .story-article-preview{max-height:112px}}

/* October 2026 IAM Reserve News revision. Original IAM identity retained. */
.iam-banner{background-image:url('iam-banner-repaired.jpg');background-size:cover;background-position:50% 50%;background-repeat:no-repeat;background-color:#191513}
.iam-vision{font:800 clamp(20px,2.4vw,32px)/1.05 var(--display)!important;letter-spacing:.09em;color:#f1f1f1!important;margin:2px 0 12px!important}
.intro-inside{padding-top:31px;padding-bottom:33px}
.intro-inside p:not(.microline):not(.iam-vision){font-size:13px;max-width:750px;line-height:1.7}
.reserve-news-head{align-items:end;margin-bottom:12px!important}
.reserve-news-head .microline{font-size:12px;letter-spacing:.12em;margin-bottom:8px}
.reserve-news-head>p{max-width:325px}
.atlas-section{padding-top:32px}
.news-filter-accordion{margin:9px 0 10px;border:1px solid #474044;background:#1c1c1e}
.news-filter-accordion summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;padding:11px 16px;list-style:none;font:700 15px var(--display);letter-spacing:.11em;color:#f4f4f4}
.news-filter-accordion summary::-webkit-details-marker{display:none}
.news-filter-accordion summary:hover{background:#292224}
.news-filter-accordion summary:focus-visible{outline:2px solid #c64c55;outline-offset:2px}
.news-filter-caret{height:28px;width:29px;display:grid;place-items:center;background:#760000;color:#fff;font-size:22px}
.news-filter-accordion[open] .news-filter-caret{font-size:0}.news-filter-accordion[open] .news-filter-caret:after{content:'−';font-size:23px}
.news-filter-accordion .home-story-filters{padding:14px;margin:0;border-top:1px solid #45363a;gap:9px}
.news-filter-accordion .home-story-filters label{font-size:11px}
.news-filter-accordion .home-story-filters select{min-height:41px;font-size:12px}
.news-filter-accordion .home-story-filters button{height:41px}
.atlas-stories{padding-bottom:25px}
.atlas-stories .stories-live-status{margin:8px 0 12px;font:500 12px var(--font)}
#latest-stories .demo-note{border:0;border-left:2px solid #ae5c60;background:#211719;font:500 11px/1.55 var(--font);color:#cfb4b4;margin:9px 0 15px;padding:9px 12px}
#latest-stories .live-status-note{font-size:11px;line-height:1.5;color:#b3a6a6;margin:5px 0 8px}
.home-post-grid .post-card:first-child h3{font-size:23px}
@media(max-width:650px){
  .iam-banner{height:195px;background-position:50% 50%}
  .intro-inside{padding:30px 0 31px}
  .intro-inside h1{font-size:clamp(35px,8.7vw,42px);line-height:.97}
  .iam-vision{font-size:24px!important;margin:9px 0 11px!important}
  .intro-inside p:not(.microline):not(.iam-vision){font-size:12px;line-height:1.7}
  .atlas-section{padding-top:27px}
  .reserve-news-head h2{font-size:38px}
  .reserve-news-head>p{font-size:12px;line-height:1.5;margin-top:9px}
  .reserve-news-head .microline{font-size:11px;letter-spacing:.11em}
  .news-filter-accordion summary{font-size:15px;padding:10px 13px}
  .news-filter-accordion .home-story-filters{grid-template-columns:1fr;gap:8px}
}

/* Evening Reserve News: compact IAM introduction and First Sons Canada attribution. */
.iam-purpose-layout{display:block;min-height:0;padding-top:32px;padding-bottom:31px}
.iam-purpose{max-width:850px}
.iam-purpose .microline{margin:0 0 10px;color:#b95558;font-size:11px;letter-spacing:.17em}
.iam-purpose h1{font:800 clamp(38px,4.7vw,60px)/.98 var(--display);letter-spacing:.02em;margin:0 0 7px}
.iam-purpose h1 span{display:block;color:#d3d1d1}
.iam-purpose .iam-vision{margin:10px 0 8px!important;font-size:clamp(23px,3vw,31px)!important;letter-spacing:.065em}
.iam-purpose .purpose-description{color:#bdbbbd;font:400 13px/1.7 var(--font)!important;max-width:620px;margin:0 0 17px!important}
.iam-division-credit{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #3c2b2e;color:#b8a5a6;font:500 11px/1.5 var(--font)}
.iam-division-credit a{color:#fff;border-bottom:1px solid #ae5458;font-weight:700;letter-spacing:.03em}
.iam-footer .footer-grid a{text-decoration:underline;text-underline-offset:3px;color:#fff}
#explore .section-head{margin-bottom:10px}
#explore .section-head>div{min-width:0}
#explore .section-head .microline{margin-bottom:7px}
#explore .section-head .evening-news-subline{color:#aaa;font:400 12px/1.6 var(--font);margin:9px 0 0;max-width:560px}
.news-filter-accordion .home-story-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
.event-date-fields{background:#241b1d;border:1px solid #634044;padding:19px;margin:2px 0 13px}
.event-date-fields[hidden]{display:none!important}
.event-field-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:17px;border-bottom:1px solid #634044;padding-bottom:11px}
.event-field-head strong{font:700 17px var(--display);letter-spacing:.13em;color:white}
.event-field-head small,.event-date-fields>small{color:#cfb7b9;font:400 11px/1.65 var(--font)}
.event-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.event-date-grid label,.event-location-label{display:block;color:#eee;font:700 14px/1.6 var(--display);letter-spacing:.09em}
.event-date-grid label b{color:#f28686}
.event-date-fields .post-field{display:block;max-width:100%;width:100%;margin-top:7px;min-height:47px;color-scheme:dark;background:#181719;color:#fff}
.event-location-label{margin:12px 0 13px}
.event-location-label span{color:#aaa;font-size:11px}
.event-card-strip{margin:12px 0 15px;padding:13px 14px;background:#2e1c1d;border-left:3px solid #ce5559;display:grid;gap:8px}
.event-card-strip>strong{font:800 15px var(--display);letter-spacing:.12em;color:#fff}
.event-when{display:flex;flex-wrap:wrap;gap:6px 20px;color:#eac5c5;font:600 11px/1.5 var(--font)}
.event-when span{display:block}
.event-location{font:500 11px/1.6 var(--font);color:#d5c4c4}
@media(max-width:650px){
  .iam-purpose-layout{padding:27px 0 30px}
  .iam-purpose h1{font-size:clamp(36px,9vw,47px);line-height:1.01;margin-bottom:6px}
  .iam-purpose .microline{font-size:10px;letter-spacing:.12em}
  .iam-purpose .iam-vision{font-size:25px!important;margin:10px 0 8px!important}
  .iam-purpose .purpose-description{font-size:12px!important;line-height:1.6!important;margin-bottom:12px!important}
  .iam-division-credit{font-size:10px;margin-top:10px;padding-top:10px}
  #explore .section-head h2{font-size:36px}
  #explore .section-head .evening-news-subline{font-size:11px}
  .news-filter-accordion .home-story-filters{grid-template-columns:1fr}
  .event-date-fields{padding:14px}
  .event-date-grid{grid-template-columns:1fr;gap:12px}
}

/* October 21, 2026: equal-sized Evening Reserve News cards — no featured first story. */
.home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch}
.home-post-grid>.post-card{grid-column:auto!important;display:flex;flex-direction:column;height:100%;min-width:0}
.home-post-grid>.post-card h3,.home-post-grid>.post-card:first-child h3{font-size:23px}
.home-post-grid>.post-card .demo-illustration{height:155px;flex:none}
@media(max-width:650px){
  .home-post-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
  .home-post-grid>.post-card{height:auto}
  .home-post-grid>.post-card h3,.home-post-grid>.post-card:first-child h3{font-size:23px}
  .home-post-grid>.post-card .demo-illustration{height:160px}
}

/* Revive Adserver placement, independent of story card sizing. The 300x250 creative is always displayed at actual pixel size. */
.iam-ad-module{grid-column:1/-1!important;display:flex!important;flex-direction:column!important;justify-content:center;align-items:center;gap:11px;border-block:1px solid #472124;background:#101011;padding:24px 12px;margin:2px 0;min-height:326px;width:100%;box-sizing:border-box;}
.iam-ad-label{font:700 11px/1.4 var(--display);letter-spacing:.18em;color:#b9b9b9;margin:0!important;}
.revive-medium-rectangle{display:block;position:relative;width:300px;height:250px;min-width:300px;min-height:250px;max-width:300px;max-height:250px;overflow:hidden;background:#171719;border:1px solid #4c4143;box-sizing:content-box;}
.revive-medium-rectangle ins{display:block!important;width:300px!important;height:250px!important;max-width:300px;max-height:250px;overflow:hidden;text-decoration:none;}
.iam-ad-awaiting{height:250px;width:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;background:radial-gradient(circle at center,#2d1b1d,#121213 73%);color:#d5cacb;}
.iam-ad-awaiting strong{font:800 30px/1 var(--display);letter-spacing:.04em;}
.iam-ad-awaiting span{font:700 13px/1.3 var(--display);letter-spacing:.16em;color:#c2adaf;}
@media(max-width:360px){.iam-ad-module{padding-inline:0;} .revive-medium-rectangle{border:0;}}

/* IAM ad spaces: placeholder is self-contained and can later accept Revive's exact tag.
   Frames are fixed 300x250 and never resize the story cards. */
.iam-ad-frame{display:block;width:300px;height:250px;max-width:none;border:0;background:#171719;overflow:hidden;}
.revive-medium-rectangle{border:0;width:300px;height:250px;min-width:300px;min-height:250px;max-width:300px;max-height:250px;box-sizing:border-box;}
.iam-ad-module{min-height:325px;}
@media(max-width:360px){.revive-medium-rectangle{transform:scale(.9);transform-origin:center center;margin-block:-12px}}

/* Prevent the closed off-screen profile drawer from widening narrow phone layouts. */
.drawer[aria-hidden="true"]{overflow:hidden;}

/* Only clip the translated profile drawer, never the ad content. */
html,body{overflow-x:clip;}


/* IAM / Cityfusion-inspired compact tile layout — October 2026
   The 300x250 Revive zone is one grid tile alongside news, never a full-width break.
   The creative dimensions and Revive iframe source are retained unchanged. */
.home-post-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  grid-auto-rows:auto;
  align-items:stretch;
}
.home-post-grid>.post-card {
  grid-column:auto!important;
  min-height:0;
  height:100%;
  padding:14px;
  display:flex;
  flex-direction:column;
  background:#171719;
  border-color:#583135;
}
.home-post-grid>.post-card .post-card-top {gap:7px;align-items:center;}
.home-post-grid>.post-card .post-card-community {font-size:10px;line-height:1.2;padding:5px 6px;}
.home-post-grid>.post-card .post-card-date {font-size:9px;}
.home-post-grid>.post-card .demo-illustration,
.home-post-grid>.post-card.is-demo .demo-illustration {
  height:145px;
  margin:11px 0 10px;
  padding:10px;
  flex:none;
}
.home-post-grid>.post-card h3, .home-post-grid>.post-card:first-child h3 {
  font-size:22px;
  line-height:1.03;
  margin:4px 0 8px;
}
.home-post-grid>.post-card .sample-inline {font-size:9px;margin:4px 0 6px;}
.home-post-grid>.post-card .post-card-author {font-size:10px;margin:2px 0 7px;}
.home-post-grid>.post-card .story-body-text.story-article-preview,
.home-post-grid>.post-card.is-demo .story-article-preview {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  max-height:none;
  overflow:hidden;
  line-height:1.55;
  margin:5px 0 12px;
  font-size:11px;
}
.home-post-grid>.post-card .story-article-preview:not(.story-card-expanded) {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
.home-post-grid>.post-card .story-readmore {margin-top:auto;padding-top:12px;font-size:12px;align-self:flex-start;}
.home-post-grid>.post-card .demo-video-placeholder {display:none;}
.home-post-grid>.post-card .story-image {height:145px;object-fit:cover;margin:10px 0;}
.home-post-grid>.post-card .event-card-strip {margin:8px 0 11px;padding:10px;}
.home-post-grid>.iam-ad-module {
  grid-column:auto!important;
  grid-row:auto;
  display:flex!important;
  align-self:start;
  justify-self:stretch;
  box-sizing:border-box;
  min-height:0;
  height:auto;
  width:100%;
  margin:0;
  padding:14px 10px 16px;
  gap:10px;
  justify-content:flex-start;
  align-items:center;
  border:1px solid #583135;
  background:#171719;
}
.home-post-grid>.iam-ad-module .iam-ad-label {
  font-size:11px;
  line-height:1.3;
  letter-spacing:.14em;
  text-align:center;
}
.home-post-grid>.iam-ad-module .revive-medium-rectangle {
  flex:0 0 auto;
  display:block;
  margin:0 auto;
}
@media (max-width:1120px) {
  .home-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
}
@media (max-width:710px) {
  .home-post-grid {grid-template-columns:minmax(0,1fr);gap:13px;}
  .home-post-grid>.post-card {padding:14px;}
  .home-post-grid>.post-card h3, .home-post-grid>.post-card:first-child h3 {font-size:23px;}
  .home-post-grid>.post-card .demo-illustration,
  .home-post-grid>.post-card.is-demo .demo-illustration {height:175px;}
  .home-post-grid>.iam-ad-module {min-height:0;padding:14px 10px 15px;}
}
@media (max-width:360px) {
  .home-post-grid>.iam-ad-module {padding-inline:0;}
}


/* FINAL: Cityfusion-style *poster gallery* rather than article cards.
   IAM original black/burgundy identity, 70 First Nations, map, filters, and Revive iframe retained.
   Date/title above image; entire poster opens a full story dialog. */
#explore.atlas-section.shell{width:min(1360px,calc(100% - 48px))}
.home-post-grid{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-rows:auto!important;
 gap:15px!important;
 align-items:stretch!important;
}
.home-post-grid>.poster-tile{
 min-width:0;overflow:hidden;
 background:#111112;border:1px solid #65383a;
 box-shadow:0 2px 8px #0008;
 transition:border-color .2s, transform .2s;
 align-self:stretch;
}
.home-post-grid>.poster-tile:hover{border-color:#c1464b;transform:translateY(-2px)}
.poster-tile-open{
 background:transparent;display:flex;flex-direction:column;
 width:100%;height:100%;padding:0;border:0;color:inherit;text-align:left;
}
.poster-tile-open:focus-visible{outline:3px solid #ee8a8f;outline-offset:-3px}
.poster-tile-head{
 padding:11px 12px 10px;background:#e9e3df;color:#23191b;
 min-height:100px;display:flex;flex-direction:column;gap:5px;
}
.poster-tile-meta{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:3px 6px}
.poster-tile-reserve{
 color:#790c12;font:800 13px/1.05 var(--display);
 max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.poster-tile-date{font:600 10px/1.1 var(--display);letter-spacing:.045em;color:#746d6b;white-space:nowrap}
.poster-tile-title{
 font:800 22px/1.0 var(--display);letter-spacing:.008em;margin:3px 0 0;
 color:#221c1b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.poster-demo-label{font:700 10px/1.1 var(--display);letter-spacing:.10em;color:#ac4145;margin-top:auto}
.poster-event-date{font:700 11px/1.25 var(--display);color:#770a0e}
.poster-tile-cover{
 width:100%;aspect-ratio:4/4.45;min-height:0;overflow:hidden;position:relative;
 background:radial-gradient(circle at 78% 22%,#a3333e66,transparent 40%),
 linear-gradient(140deg,#22161a,#502328 54%,#0b0d10);
 display:flex;justify-content:flex-end;align-items:flex-start;
}
.poster-tile-cover.demo-theme-photo{background:linear-gradient(140deg,#304745,#1c3436 46%,#9a827b 49%,#1d2729 60%,#132326)}
.poster-tile-cover.demo-theme-discussion{background:linear-gradient(130deg,#391917,#622233 54%,#0c0d14)}
.poster-tile-cover.demo-theme-video{background:linear-gradient(145deg,#121821,#544054,#231017)}
.poster-motif{position:absolute;inset:0;pointer-events:none}
.poster-motif:before{content:'';position:absolute;width:140%;height:125%;left:-20%;top:36%;
 border:2px solid #ffdab75c;border-radius:45% 65% 0 0;
 background:linear-gradient(140deg,#b04b425a 0%,transparent 56%);
 transform:rotate(-8deg)}
.demo-theme-photo .poster-motif:before{border-radius:0;top:16%;height:70%;transform:rotate(-18deg);background:linear-gradient(155deg,transparent 29%,#c8b4a4 30% 40%,#233d3b 41% 55%,transparent 56%)}
.demo-theme-video .poster-motif:before{width:68%;height:44%;top:28%;left:15%;border:5px solid #edd8de7d;border-radius:20px;transform:none;background:#1518237a}
.poster-art-label{position:relative;z-index:1;margin:12px 10px;padding:7px 9px;background:#780000;color:#fff;
 font:700 12px/1.2 var(--display);letter-spacing:.07em;text-align:center}
.poster-cover-img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#800000;border:2px solid white;
 border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:22px}
.poster-corner-badge{position:absolute;bottom:10px;left:10px;padding:6px 9px;background:#760000;font:700 12px var(--display)}
.poster-tile-footer{display:block;margin-top:auto;padding:9px 12px;background:#710000;color:white;
 font:700 11px var(--display);letter-spacing:.14em;text-align:right;width:100%}
/* Advertising has the same *outer poster tile*, not an empty full-width band. */
.home-post-grid>.iam-ad-module{
 grid-column:auto!important;grid-row:auto!important;width:100%!important;height:100%!important;
 align-self:stretch!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:center!important;gap:10px!important;
 border:1px solid #65383a!important;background:#171719!important;
 padding:10px 6px!important;min-height:0!important;margin:0!important;
 box-sizing:border-box!important;
}
.home-post-grid>.iam-ad-module .iam-ad-label{font:700 12px var(--display);letter-spacing:.16em;color:#d4b8b9}
.home-post-grid>.iam-ad-module .revive-medium-rectangle{
 display:block!important;width:300px!important;height:250px!important;
 min-width:300px!important;min-height:250px!important;
 flex-shrink:0;max-width:300px!important;max-height:250px!important;
 transform:scale(var(--iam-ad-zoom,1));transform-origin:center center;
 margin:var(--iam-ad-vmargin,0) 0!important;
}
/* Full stories remain accessible and readable via a modal, not squeezed into the gallery. */
.story-detail-dialog{
 width:min(700px,calc(100vw - 28px));max-height:min(90dvh,900px);
 padding:0;border:1px solid #9f5256;color:#f4efee;background:#171719;
 box-shadow:0 15px 85px #000;overflow-y:auto;
}
.story-detail-dialog::backdrop{background:#000c;backdrop-filter:blur(4px)}
.story-detail-inner{position:relative;padding:28px 30px 32px}
.story-detail-close{position:sticky;float:right;top:0;margin:0 0 10px 14px;background:#800005;color:white;
 border:0;font-size:23px;width:41px;height:41px;z-index:2}
.story-detail-tag{font:800 14px var(--display);color:#f8a6aa;letter-spacing:.09em;text-transform:uppercase;margin:5px 0 10px}
.story-detail-title{font:800 clamp(32px,4vw,48px)/1.02 var(--display);margin:0 0 12px}
.story-detail-byline{font:600 12px var(--font);color:#c39fa1;margin:0 0 18px}
.story-detail-body p{font:400 15px/1.75 var(--font);color:#e6dfe0;margin:15px 0}
.story-detail-art{aspect-ratio:16/9;max-height:330px;position:relative;display:flex;justify-content:flex-end;
 padding:12px;margin:15px 0;background:linear-gradient(130deg,#4d2a2d,#101113);overflow:hidden}
.story-detail-art .demo-visual-label{align-self:flex-start;background:#710000;padding:8px 12px;font:700 13px var(--display)}
.story-detail-image{width:100%;height:auto;max-height:520px;object-fit:contain;margin:15px 0}
.story-detail-event{border-left:3px solid #cc565d;padding:12px 18px;background:#2b1d20}
.story-detail-event>strong{font:800 16px var(--display)}
.story-detail-event p{color:#f0d5d6;font-size:13px}
.story-detail-note{color:#caa;font-size:12px}
@media (min-width:1280px){#explore.atlas-section.shell{width:min(1360px,calc(100% - 50px))}}
@media (max-width:1279px){.home-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:980px){.home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){
 #explore.atlas-section.shell{width:calc(100% - 26px)}
 .home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .home-post-grid>.iam-ad-module{grid-column:1/-1!important;min-height:0!important;padding:15px 8px!important}
 .poster-tile-head{padding:9px 9px 8px;min-height:118px}
 .poster-tile-title{font-size:18px;line-height:1.04}
 .poster-tile-reserve{font-size:12px}
 .poster-tile-date{font-size:9px}
 .poster-tile-cover{aspect-ratio:4/4.8}
 .poster-art-label{font-size:10px;margin:8px;padding:5px}
 .poster-tile-footer{font-size:10px;padding:8px}
 .story-detail-inner{padding:22px 18px 25px}
 .story-detail-dialog{width:calc(100vw - 18px);max-height:94dvh}
}
@media(max-width:350px){.home-post-grid{grid-template-columns:1fr!important}}


/* IAM Reserve News: Cityfusion-inspired TEN poster tiles AROUND a 300x250 centre ad.
   Reference composition: 4 + 4 stories; 9th story | centred 2-col ad | 10th story.
   Preserve IAM dark red/black colours and all controls/content elsewhere. */
#explore.atlas-section.shell{width:min(1210px,calc(100% - 48px))}
.home-post-grid{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-flow:row!important;
 gap:19px!important;
 align-items:start!important;
 grid-auto-rows:auto!important;
}
.home-post-grid>.poster-tile{
 grid-column:auto!important;grid-row:auto!important;
 width:100%!important;
 min-width:0!important;
 align-self:stretch!important;
 border:1px solid #643235;
 background:#171517;
 box-shadow:0 3px 10px #0008;
}
.poster-tile-open{width:100%;height:100%;display:flex;flex-direction:column}
.poster-tile-head{min-height:89px;padding:10px 11px 9px;gap:3px;}
.poster-tile-title{font-size:20px!important;line-height:1.05!important;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.poster-tile-cover{aspect-ratio:4 / 3.8!important;min-height:0!important;flex:0 0 auto}
.poster-art-label{font-size:11px;padding:7px 8px;margin:9px}
.poster-tile-footer{font-size:11px;padding:8px 11px}
/* The ad has no full-width border, no black panel, and NO oversized empty height. */
.home-post-grid>.iam-ad-module{
 grid-column:2 / span 2!important;
 grid-row:auto!important;
 align-self:center!important;
 justify-self:center!important;
 display:flex!important;
 width:fit-content!important;height:fit-content!important;
 min-height:0!important;min-width:0!important;
 max-width:100%!important;
 padding:0!important;margin:0!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
 justify-content:center!important;
 align-items:center!important;
 gap:6px!important;
}
.home-post-grid>.iam-ad-module .iam-ad-label{font-size:11px;line-height:1.2}
.home-post-grid>.iam-ad-module .revive-medium-rectangle{
 width:300px!important;height:250px!important;min-width:300px!important;min-height:250px!important;
 max-width:300px!important;max-height:250px!important;
 transform:none!important;margin:0!important;
}
/* On a 4-column display the ad is inserted after story nine, spanning centre columns.
   With two columns it is inserted inline, before story ten, then story ten flows below. */
@media (min-width:1101px){
 .home-post-grid>.poster-tile:nth-child(11){grid-column:4!important;grid-row:3!important}
 .home-post-grid>.iam-ad-module:nth-child(10){grid-column:2 / span 2!important;grid-row:3!important}
}
@media (min-width:701px) and (max-width:1100px){
 .home-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
 .home-post-grid>.iam-ad-module{grid-column:span 2!important}
}
@media (max-width:700px){
 #explore.atlas-section.shell{width:calc(100% - 24px)!important}
 .home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .home-post-grid>.poster-tile{height:auto!important}
 .poster-tile-head{min-height:101px;padding:8px!important}
 .poster-tile-title{font-size:17px!important;line-height:1.0!important}
 .poster-tile-meta{gap:2px}
 .poster-tile-reserve{font-size:11px}
 .poster-tile-date{font-size:9px}
 .poster-demo-label{font-size:9px}
 .poster-tile-cover{aspect-ratio:4 / 4.1!important}
 .poster-art-label{font-size:9px;padding:5px 6px;margin:7px}
 .poster-tile-footer{font-size:9px}
 .home-post-grid>.iam-ad-module{grid-column:1/-1!important;grid-row:auto!important;
   padding:12px 0!important;order:1!important;}
 .home-post-grid>.poster-tile{order:0!important}
 /* Mobile: 8 preview posters, then the centred ad, then the final 2 posters. */
 .home-post-grid>.poster-tile:nth-child(9),
 .home-post-grid>.poster-tile:nth-child(11){order:2!important}
}
@media (max-width:355px){.home-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Placement correction: advertising lives IN the story grid, not at its foot.
   Three columns: row 2, centre tile (formerly Youth Recreation).
   Four columns: between the two flanking reserve stories on row 2.
   Phones: full-width inline after the fourth story, not at the bottom. */
@media (min-width:1101px){
  .home-post-grid>.iam-ad-module,
  .home-post-grid>.iam-ad-module:nth-child(10){
    grid-column:2 / span 2!important;
    grid-row:auto!important;
    order:0!important;
  }
  .home-post-grid>.poster-tile:nth-child(11){grid-column:auto!important;grid-row:auto!important}
}
@media (min-width:701px) and (max-width:1100px){
  .home-post-grid>.iam-ad-module{grid-column:auto!important;grid-row:auto!important;order:0!important;}
}
@media (max-width:700px){
  .home-post-grid>.iam-ad-module{grid-column:1/-1!important;grid-row:auto!important;order:0!important;}
  .home-post-grid>.poster-tile,
  .home-post-grid>.poster-tile:nth-child(9),
  .home-post-grid>.poster-tile:nth-child(11){order:0!important;grid-row:auto!important;grid-column:auto!important;}
}
/* Keep the Revive creative at its native 300x250 size inside the iframe;
   scale only its display when a narrow grid card requires it. */
.home-post-grid>.iam-ad-module .revive-medium-rectangle{
  width:var(--ad-slot-width,300px)!important;
  height:var(--ad-slot-height,250px)!important;
  min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:none!important;
  margin:0!important;transform:none!important;
  position:relative!important;overflow:hidden!important;
}
.home-post-grid>.iam-ad-module .iam-ad-frame{
  display:block!important;position:absolute!important;top:0;left:0;
  width:300px!important;height:250px!important;
  transform:scale(var(--ad-slot-scale,1))!important;
  transform-origin:top left!important;
  border:0!important;
}

/* Top-align the inline placement with neighbouring article tiles. */
.home-post-grid>.iam-ad-module{align-self:start!important;}

/* October 2026 polish — breathe around poster cards, centre the Revive placement
   vertically beside its neighbours, and restore one story per mobile row.
   Layout-only changes; all content, navigation, filters and live posting remain. */
@media (min-width:1101px){
  .home-post-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:28px!important;row-gap:32px!important}
  .home-post-grid>.iam-ad-module{grid-column:2 / span 2!important;align-self:center!important;justify-self:center!important}
}
@media (min-width:701px) and (max-width:1100px){
  .home-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:21px!important;row-gap:25px!important}
  .home-post-grid>.iam-ad-module{grid-column:auto!important;align-self:center!important;justify-self:center!important}
}
@media (max-width:700px){
  #explore.atlas-section.shell{width:calc(100% - 32px)!important}
  .home-post-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .home-post-grid>.poster-tile,
  .home-post-grid>.poster-tile:nth-child(9),
  .home-post-grid>.poster-tile:nth-child(11){grid-column:1!important;grid-row:auto!important;order:0!important;width:100%!important}
  .poster-tile-head{min-height:100px!important;padding:12px 14px!important}
  .poster-tile-title{font-size:23px!important;line-height:1.08!important}
  .poster-tile-reserve{font-size:13px!important}
  .poster-tile-date{font-size:10px!important}
  .poster-demo-label{font-size:10px!important}
  .poster-tile-cover{aspect-ratio:4 / 3!important}
  .poster-art-label{font-size:11px!important;padding:7px 9px!important;margin:10px!important}
  .poster-tile-footer{font-size:11px!important;padding:11px 14px!important}
  .home-post-grid>.iam-ad-module{grid-column:1!important;grid-row:auto!important;order:0!important;
    align-self:center!important;justify-self:center!important;max-width:100%!important;
    padding:10px 0!important;margin:0 auto!important;}
}


/* IAM October 2026: six news stories per ad. End-of-list display is not
   coupled to the number of columns or old nth-child style exceptions. */
.home-post-grid>.iam-ad-module{align-self:center!important;justify-self:center!important;grid-row:auto!important;order:0!important}
@media(min-width:1101px){
 .home-post-grid>.iam-ad-module{grid-column:auto!important}
 /* On the ten-item fictional preview, demonstrate the requested placement:
    ad in the former "Sharing a message of encouragement" position. */
 .home-post-grid.is-full-demo-grid>.iam-ad-module:first-of-type{grid-column:4!important;grid-row:3!important}
}
@media(min-width:701px) and (max-width:1100px){
 .home-post-grid>.iam-ad-module{grid-column:auto!important;grid-row:auto!important}
 .home-post-grid.is-full-demo-grid>.iam-ad-module:first-of-type{grid-column:2!important;grid-row:4!important}
}

/* On phones, a simple Reserve News Coming Soon panel replaces fictional
   sample tiles until a genuine story appears. No change to desktop news. */
.mobile-reserve-news-placeholder{display:none}
@media(max-width:700px){
 .mobile-reserve-news-placeholder{
   width:100%;margin:24px 0 34px;border:1px solid #484143;
   background:#0d0d0f;min-height:295px;padding:42px 24px;
   flex-direction:column;align-items:center;justify-content:center;
   text-align:center;gap:22px;
 }
 .mobile-reserve-news-placeholder .mobile-reserve-eyebrow{
   margin:0;color:#b1a7a8;font:700 12px/1.4 var(--font);
   letter-spacing:.22em;
 }
 .mobile-reserve-news-placeholder h3{
   margin:0;color:#fff;font:800 clamp(33px,9vw,48px)/1.09 var(--display);
   letter-spacing:.035em;
 }
 .mobile-reserve-news-placeholder .mobile-reserve-caption{
   margin:0;color:#c8555c;font:700 12px/1.5 var(--font);
   letter-spacing:.14em;
 }
 body.mobile-reserve-news-coming-soon .mobile-reserve-news-placeholder{display:flex}
 body.mobile-reserve-news-coming-soon #latest-stories .home-post-grid,
 body.mobile-reserve-news-coming-soon #latest-stories .stories-live-status,
 body.mobile-reserve-news-coming-soon #latest-stories .demo-note,
 body.mobile-reserve-news-coming-soon #latest-stories .live-status-note,
 body.mobile-reserve-news-coming-soon #latest-stories .news-filter-toggle,
 body.mobile-reserve-news-coming-soon #latest-stories .filter-news-panel,
 body.mobile-reserve-news-coming-soon #latest-stories #loadMoreStories{display:none!important}
}

/* Keep the mobile prelaunch panel as the only news content when there are
   no real posts. Do not show empty filters, fictional-news notices or legal
   fine print around an empty coming-soon message. */
@media(max-width:700px){
 body.mobile-reserve-news-coming-soon #latest-stories #newsFilters,
 body.mobile-reserve-news-coming-soon #latest-stories .story-pagination,
 body.mobile-reserve-news-coming-soon #latest-stories .review-note{display:none!important}
 body.mobile-reserve-news-coming-soon .mobile-reserve-news-placeholder{margin:12px 0 32px}
}


/* Reserve News 70 homepage badge: replaces the text-heavy purpose section only. */
.introduction.reserve-news-logo-intro{
  background:#000;
}
.reserve-news-logo-wrap.intro-inside{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 0 28px;
  gap:0;
}
.reserve-news-logo{
  display:block;
  width:min(100%,340px);
  height:auto;
  aspect-ratio:1/1;
  object-fit:contain;
  flex:0 1 auto;
}
@media (max-width:700px){
  .reserve-news-logo-wrap.intro-inside{
    padding:17px 0 21px!important;
  }
  .reserve-news-logo{
    width:min(76vw,315px);
    max-width:100%;
  }
}

/* Curated IAM reserve news: full-sized source posters and linked image credits. */
.curated-source-label{color:#7a1818!important;letter-spacing:.08em;font-weight:900;}
.curated-image-credit{font-size:12px;color:#aaa;margin:6px 0 14px;}
.poster-tile-cover .poster-cover-img{object-fit:cover;object-position:center center;}
.story-detail-image{max-height:440px;object-fit:contain;background:#151515;}

/* GUARANTEED VISUALS: IAM's locally bundled image remains visible when a
   community-published photograph is unavailable or hotlink-blocked. */
.poster-tile-cover {background:#190809; overflow:hidden;}
.poster-cover-img.iam-news-fallback{z-index:0;object-fit:cover;}
.poster-cover-img.iam-news-source-image{z-index:1;object-fit:cover;}
.poster-tile-cover>.poster-corner-badge,
.poster-tile-cover>.poster-play {z-index:3;position:relative;}
.story-detail-media{position:relative;width:100%;aspect-ratio:16/9;max-height:480px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;background:#150a0b;margin:16px 0 8px;}
.story-detail-media>.story-detail-image{position:absolute;inset:0;display:block;
  width:100%;height:100%;margin:0!important;object-fit:contain;max-height:none!important;}
.story-detail-media>.iam-news-fallback{object-fit:cover;z-index:0;}
.story-detail-media>.iam-news-source-image{z-index:1;}

/* RESERVE NEWS: 3-column repeating ad motif (ad tiles 5, 11, 17, ...).
   No span or manual positioning: poster cards and ad tiles follow DOM order.
   A filter may shorten the list, but ads still appear in the feed, never
   detached at the end. On narrow phones, one story per row is retained. */
@media (min-width:701px){
  .home-post-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
  }
  .home-post-grid>.poster-tile,
  .home-post-grid>.iam-ad-module,
  .home-post-grid>.poster-tile:nth-child(11),
  .home-post-grid>.iam-ad-module:nth-child(10){
    grid-column:auto!important;
    grid-row:auto!important;
    order:0!important;
  }
  .home-post-grid>.iam-ad-module{
    width:100%!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    min-height:0!important;
  }
}
@media (max-width:700px){
  .home-post-grid{grid-template-columns:minmax(0,1fr)!important;}
  .home-post-grid>.poster-tile,
  .home-post-grid>.iam-ad-module{
    grid-column:1!important;
    grid-row:auto!important;
    order:0!important;
  }
}

/* October 21: CENTRE BOTH INLINE RESERVE NEWS ADS VERTICALLY ON DESKTOP.
   Previous rule used align-self:stretch, keeping advertising pinned higher
   than the midpoint of its adjacent news cards. Keep each 300x250 ad in
   the centre column of its assigned row, without altering story placement,
   native Revive creative dimensions or the single-column phone layout. */
@media (min-width: 701px) {
  .home-post-grid > .iam-ad-module {
    align-self: center !important;
    justify-self: stretch !important;
    height: max-content !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
}

/* Last manually verified official-event scan metadata */
.source-scan-note{margin:12px 0 8px;color:#aaa;font:600 11px/1.5 var(--display);letter-spacing:.08em}.source-scan-note time{color:#e5d9d7}.source-scan-note:before{content:"";display:inline-block;width:8px;height:8px;background:#9b1515;margin-right:8px;border-radius:50%}
@media(max-width:700px){.source-scan-note{font-size:10px;line-height:1.7}}

.finance-header-link{margin:13px 0 0;font:700 14px/1.3 "Barlow Condensed",sans-serif;letter-spacing:.065em}.finance-header-link a{color:#f4dedb;text-decoration:none;border-bottom:1px solid #b43838;padding-bottom:4px}.finance-header-link a:hover{color:white}

/* REZ NEWS 70: mobile news breathing room and financial action buttons */
.rez-finance-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.rez-finance-btn{min-width:0;border:1px solid #ab2d35;background:linear-gradient(135deg,#8c0005,#261417);padding:16px 18px;color:#fff!important;text-decoration:none!important;display:flex;align-items:center;gap:13px;transition:background .2s}
.rez-finance-btn:nth-child(2){background:#202023}.rez-finance-btn:hover{background:#a60008}
.rez-finance-btn strong{display:block;font:800 22px/1.1 var(--display);letter-spacing:.06em}.rez-finance-btn small{display:block;font:600 10px/1.4 var(--font);letter-spacing:.08em;color:#e5d8d8;margin-top:5px}
.rez-finance-btn .rez-ico{display:grid;place-items:center;background:#f0d4a2;color:#32150c;border-radius:50%;width:40px;height:40px;font:800 22px var(--display);flex-shrink:0}.rez-finance-btn>span:last-child{margin-left:auto}
.rez-edit-success{border:1px solid #b95050;background:#231a1b;padding:15px;margin-top:15px;color:#fff}.rez-edit-success[hidden]{display:none}.rez-edit-success a{color:#fff;display:inline-block;margin:9px 12px 9px 0}.rez-edit-success button{background:#8b0000;color:#fff;border:0;padding:9px 13px;cursor:pointer}.rez-edit-success p{font-size:12px;line-height:1.5;color:#cfbebe}
.rez-manage-entry{padding:12px 0}.rez-manage-entry a{color:#f0cccc}
@media(max-width:700px){.rez-finance-actions{grid-template-columns:1fr}.rez-finance-btn{padding:13px}.rez-finance-btn strong{font-size:19px}}
@media(max-width:700px){#latest-stories .poster-grid{row-gap:26px!important;column-gap:26px!important}#latest-stories .poster-tile{margin:0 12px 0!important;max-width:calc(100% - 24px)!important}#latest-stories .poster-ad-tile{margin:8px 14px!important}#latest-stories .news-post-grid{gap:28px!important}}
/* Provide full uncropped default image within news tile */
.poster-tile-cover img[src*="rez-news-default"],.story-detail-image[src*="rez-news-default"]{object-fit:contain!important;background:#160f11!important}
@media(max-width:700px){
  #latest-stories .home-post-grid{padding-inline:14px!important;row-gap:30px!important;box-sizing:border-box!important}
  #latest-stories .home-post-grid>.poster-tile{width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
  #latest-stories .home-post-grid>.poster-ad-tile{max-width:100%!important;margin:6px auto!important}
}

.reserve-news-logo{width:min(85vw,490px)!important;height:auto!important;object-fit:contain!important;display:block;margin:auto} .poster-tile-cover img[src*="rez-news-default"],.story-detail-image[src*="rez-news-default"]{object-fit:contain!important;background:#000!important} .story-detail-event p{overflow-wrap:anywhere}


/* REZ NEWS: balanced newsroom cards; uniform heights and prominent reserve identities */
#latest-stories .home-post-grid>.poster-tile{min-width:0!important;overflow:hidden!important;border-radius:2px!important}
#latest-stories .poster-tile-head{box-sizing:border-box!important;min-height:154px!important;height:154px!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:12px 13px!important;background:#ebe7e3!important;overflow:hidden!important}
#latest-stories .poster-tile-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important;width:100%!important}
#latest-stories .poster-tile-reserve{font-size:clamp(15px,1.35vw,21px)!important;font-weight:900!important;line-height:1.08!important;max-width:100%!important;display:block!important;white-space:normal!important;overflow-wrap:break-word!important;overflow:visible!important;-webkit-line-clamp:unset!important}
#latest-stories .poster-tile-date{font-size:10px!important;opacity:.8!important}
#latest-stories .poster-tile-title{font-size:clamp(16px,1.35vw,20px)!important;line-height:1.14!important;min-height:0!important;max-height:2.4em!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;margin:0!important}
#latest-stories .poster-event-date,#latest-stories .poster-demo-label{font-size:10px!important;line-height:1.15!important;margin:0!important}
#latest-stories .poster-tile-cover{background:#141112!important;overflow:hidden!important;isolation:isolate!important}
#latest-stories .poster-tile-cover .iam-news-source-image{object-fit:contain!important;object-position:center!important;background:#151213!important}
#latest-stories .poster-tile-cover .iam-news-fallback{object-fit:contain!important;background:#090909!important}
#latest-stories .poster-corner-badge{font-size:10px!important;padding:5px 7px!important}
@media(max-width:700px){
 #latest-stories .home-post-grid>.poster-tile{margin:0 auto 20px!important;max-width:calc(100% - 20px)!important}
 #latest-stories .poster-tile-head{height:168px!important;min-height:168px!important;padding:14px 16px!important}
 #latest-stories .poster-tile-reserve{font-size:23px!important;line-height:1.08!important}
 #latest-stories .poster-tile-title{font-size:22px!important}
 #latest-stories .poster-tile-cover{aspect-ratio:4/3!important}
}
