/* V52 — Homepage ceremonial frame.  Based on the user's ornate example; other 108 pages untouched. */
body.v52-home{position:relative;background-color:#020b22}
body.v52-home::after{content:"";position:absolute;inset:76px 0 0;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 50% 4%,rgba(45,78,157,.19),transparent 45%),radial-gradient(ellipse at 2% 38%,rgba(80,31,131,.15),transparent 24%)}
body.v52-home>.header,body.v52-home>.atlas-announcement,body.v52-home>.atlas-shell,body.v52-home>.footer{position:relative;z-index:2}
/* Edge decorations live strictly in the page gutters, never on top of the content. */
.v52-edges{position:absolute;z-index:1;top:70px;left:0;right:0;bottom:0;pointer-events:none;overflow:hidden}
.v52-edges:before,.v52-edges:after{content:"";position:absolute;top:0;width:clamp(28px,calc((100vw - 1480px)/2 - 10px),85px);height:min(950px,100%);opacity:.78;background:url('/assets/decorations/temple-edge.svg') center top/100% 100% no-repeat;filter:drop-shadow(0 0 9px #ce8c4277)}
.v52-edges:before{left:0}.v52-edges:after{right:0;transform:scaleX(-1)}
/* Logo laurel wreath is real SVG, not unicode stand-in. */
.v52-home .v50-header .v50-brand{width:190px;flex-basis:190px;transform:none;isolation:isolate;padding:0 17px}
.v52-home .v50-header .v50-brand:before,.v52-home .v50-header .v50-brand>b:after{content:"";position:absolute;display:block;width:35px;height:53px;top:50%;background:url('/assets/decorations/laurel-left.svg') center/contain no-repeat;filter:drop-shadow(0 0 6px #f6bd6270)}
.v52-home .v50-header .v50-brand:before{left:-12px;transform:translateY(-50%)}
.v52-home .v50-header .v50-brand>b:after{right:-12px;transform:translateY(-50%) scaleX(-1)}
.v52-home .v50-header .v50-brand b{font-size:27px}.v52-home .v50-header .v50-brand small{margin-top:5px}
.v52-home .v50-header .v50-brand::after{bottom:-8px}
.v52-home .v50-header{box-shadow:0 6px 24px #0008,0 0 0 1px #cf9c3b22 inset!important}
/* An actual site announcement band, placed before the primary layout. */
.atlas-announcement{width:min(1480px,calc(100% - 76px));margin:11px auto 0;display:flex;align-items:center;gap:13px;min-height:43px;padding:8px 14px 8px 16px;border:1px solid rgba(246,198,108,.53);border-radius:11px;background:linear-gradient(98deg,#152846,#091a37 68%,#211c3c);box-shadow:0 5px 21px #0005,0 0 17px #e1ab4e12;color:#deebfa;font-size:11px;line-height:1.6}
.atlas-announcement__badge{display:inline-flex;align-items:center;gap:7px;flex:none;color:#ffdb95;font-weight:900;letter-spacing:.12em}
.atlas-announcement__badge:before{content:"";width:8px;height:8px;border-radius:50%;background:#f6c46b;box-shadow:0 0 9px #ffcb70;animation:v52-beacon 3s ease-in-out infinite}
.atlas-announcement__copy{min-width:0;flex:1;color:#cbdcf0}.atlas-announcement__copy strong{color:#fff0d2}
.atlas-announcement__cta{color:#ffd68f;font-weight:800;white-space:nowrap}.atlas-announcement__cta:hover{color:white}
.atlas-announcement__dismiss{border:0;background:transparent;color:#94adc5;font-size:20px;line-height:1;padding:5px 7px;border-radius:6px}.atlas-announcement__dismiss:hover{color:#fff;background:#ffffff12}
@keyframes v52-beacon{0%,100%{opacity:.58}50%{opacity:1}}
/* The original homepage grid remains unchanged.  Stronger borders frame the panels. */
.v52-home .atlas-shell{margin-top:13px!important}
.v52-home .atlas-rail-panel{border-color:rgba(247,195,105,.67);box-shadow:inset 0 0 0 1px #facb6620,0 11px 24px #0005,0 0 14px #edbc4a18}
.v52-home .atlas-left .atlas-rail-panel,.v52-home .atlas-right .atlas-rail-panel{position:relative}
.v52-home .atlas-left .atlas-rail-panel:before,.v52-home .atlas-right .atlas-rail-panel:before{content:"";position:absolute;z-index:2;left:25px;right:25px;top:-1px;height:2px;background:linear-gradient(90deg,transparent,#f8d997,transparent);box-shadow:0 0 9px #efa74b60}
.v52-home .atlas-shell main#content{position:relative}
.v52-home .v46-hero{border-color:#f2b864;box-shadow:0 0 0 1px #ffd98928 inset,0 0 23px #3f87db30,0 14px 32px #0006}
.v52-home .v46-block{padding-top:6px}
.v52-home .v46-block-heading:after{content:"";position:absolute;pointer-events:none;left:20%;bottom:-15px;width:62%;height:17px;background:url('/assets/decorations/gold-flourish.svg') center/100% 100% no-repeat;opacity:.55}
.v52-home .v46-block-heading{position:relative}
.v52-home .v46-feature-large,.v52-home .v46-news-main,.v52-home .v46-topic{border-color:rgba(255,204,119,.75)}
@media(max-width:1600px){.v52-edges:before,.v52-edges:after{opacity:.45;width:28px}.v52-home .v50-header .v50-brand{width:164px;flex-basis:164px;padding:0 12px}.v52-home .v50-header .v50-brand b{font-size:24px}.v52-home .v50-header .v50-brand:before{left:-13px}.v52-home .v50-header .v50-brand>b:after{right:-13px}}
@media(max-width:1350px){.v52-edges{display:none}.atlas-announcement{width:calc(100% - 44px)}.v52-home .v50-header .v50-brand{flex-basis:148px;width:148px}.v52-home .v50-header .v50-brand b{font-size:22px}.v52-home .v50-header .v50-brand:before,.v52-home .v50-header .v50-brand>b:after{width:26px;height:42px}}
@media(max-width:760px){.atlas-announcement{width:calc(100% - 24px);margin-top:8px;flex-wrap:wrap;gap:6px 10px;padding:10px 12px}.atlas-announcement__copy{flex-basis:calc(100% - 70px);order:3}.atlas-announcement__cta{margin-left:auto}.atlas-announcement__dismiss{order:2}.v52-home .v50-header .v50-brand{flex-basis:143px;width:143px}}
@media(prefers-reduced-motion:reduce){.atlas-announcement__badge:before{animation:none!important}}
