/* Analyzing America Editorial Article Engine v2.3 — shell-sidebar integration */
body.single-post.aaee-active-100{--aa-red:#ed1c24;--aa-black:#09090b;--aa-ink:#111114;--aa-muted:#75777f;--aa-line:#dedfe3;--aa-white:#fff;background:#fff!important}

/* Let the Sitewide Shell own the global chrome. */
body.single-post.aaee-active-100 header.site-header,
body.single-post.aaee-active-100 #masthead,
body.single-post.aaee-active-100 footer.site-footer,
body.single-post.aaee-active-100 #colophon{display:none!important}
body.single-post.aaee-active-100 .aa-shell,
body.single-post.aaee-active-100 .aa-site-footer{display:block!important}

/* Remove old editorial labels and excess theme spacing. */
body.single-post.aaee-active-100 .entry-header .cat-links,
body.single-post.aaee-active-100 .entry-header .post-categories,
body.single-post.aaee-active-100 .entry-header .entry-category,
body.single-post.aaee-active-100 .entry-header [class*="category-label"],
body.single-post.aaee-active-100 .entry-header [class*="kicker"]{display:none!important}
body.single-post.aaee-active-100 main,
body.single-post.aaee-active-100 .site-main,
body.single-post.aaee-active-100 .content-area{margin-top:0!important;padding-top:0!important}
body.single-post.aaee-active-100 article.type-post{margin-top:0!important;padding-top:0!important}
body.single-post.aaee-active-100 article.type-post>header,
body.single-post.aaee-active-100 .entry-header{width:min(100% - 40px,1360px)!important;max-width:1360px!important;margin:0 auto!important;padding:30px 0 16px!important;text-align:left!important}

body.single-post.aaee-active-100 .entry-title,
body.single-post.aaee-active-100 .post-title,
body.single-post.aaee-active-100 .single-post-title,
body.single-post.aaee-active-100 article.type-post>header h1{max-width:970px!important;margin:0!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(38px,4.25vw,68px)!important;font-weight:900!important;line-height:1.00!important;letter-spacing:-.045em!important;text-transform:none!important;color:#0b0b0d!important}
body.single-post.aaee-active-100 .entry-meta,
body.single-post.aaee-active-100 .post-meta{margin:10px 0 6px!important;color:#6d7078!important;font:600 14px/1.4 Arial,Helvetica,sans-serif!important}

body.single-post.aaee-active-100 .single-featured-image,
body.single-post.aaee-active-100 .post-thumbnail,
body.single-post.aaee-active-100 .entry-thumbnail{width:min(100% - 40px,1360px)!important;max-width:1360px!important;margin:8px auto 0!important;text-align:left!important}
body.single-post.aaee-active-100 .single-featured-image img,
body.single-post.aaee-active-100 .post-thumbnail img,
body.single-post.aaee-active-100 .entry-thumbnail img{display:block!important;width:min(920px,100%)!important;max-width:920px!important;max-height:510px!important;object-fit:cover!important;object-position:center!important;margin:0!important}

body.single-post.aaee-active-100 .aaee-post-subtitle-100,
body.single-post.aaee-active-100 .entry-summary,
body.single-post.aaee-active-100 .post-excerpt,
body.single-post.aaee-active-100 .wp-block-post-excerpt__excerpt,
body.single-post.aaee-active-100 .entry-subtitle,
body.single-post.aaee-active-100 .post-subtitle{display:block!important;max-width:880px!important;margin:14px 0 18px!important;padding-left:15px!important;border-left:4px solid var(--aa-red)!important;color:#43454a!important;font:700 clamp(18px,1.6vw,23px)/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:-.015em!important}

body.single-post.aaee-active-100 .aaee-shell-100{width:min(100% - 40px,1360px);margin:0 auto;overflow:visible}
body.single-post.aaee-active-100 .aaee-share-bar-100{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,920px);margin:12px 0 0;padding:0 0 14px;border-bottom:1px solid var(--aa-line);font-family:Arial,Helvetica,sans-serif}
body.single-post.aaee-active-100 .aaee-share-button-100{appearance:none;display:flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 14px;border:0;border-radius:5px;color:#fff!important;cursor:pointer;transition:transform .15s ease,filter .15s ease}
body.single-post.aaee-active-100 .aaee-share-button-100:hover{transform:translateY(-1px);filter:brightness(.95)}
body.single-post.aaee-active-100 .aaee-share-facebook-100{background:#1877f2!important}.aaee-share-x-100{background:#050505!important}.aaee-share-comment-100{background:#f21d2a!important}
body.single-post.aaee-active-100 .aaee-share-icon-100{display:flex;width:23px;height:23px;color:#fff}body.single-post.aaee-active-100 .aaee-share-icon-100 svg{width:23px;height:23px}
body.single-post.aaee-active-100 .aaee-share-label-100{display:flex;align-items:center;color:#fff;text-transform:uppercase;white-space:nowrap}body.single-post.aaee-active-100 .aaee-share-label-100 span,body.single-post.aaee-active-100 .aaee-share-label-100 strong{font:900 12px/1 Arial,sans-serif;letter-spacing:.06em}

body.single-post.aaee-active-100 .aaee-reading-grid-100{display:grid;grid-template-columns:minmax(0,880px) 330px;gap:42px;align-items:start;justify-content:start;padding:18px 0 58px}
body.single-post.aaee-active-100 .aaee-article-copy-100{min-width:0;color:#202126;font:19px/1.72 Georgia,"Times New Roman",serif}
body.single-post.aaee-active-100 .aaee-article-copy-100 p{margin:0 0 25px!important;line-height:1.72!important}
body.single-post.aaee-active-100 .aaee-article-copy-100 h2,body.single-post.aaee-active-100 .aaee-article-copy-100 h3{font-family:Arial,Helvetica,sans-serif;color:#111;line-height:1.12;margin:34px 0 14px;font-weight:900}
body.single-post.aaee-active-100 .aaee-article-copy-100 h2{font-size:31px}body.single-post.aaee-active-100 .aaee-article-copy-100 h3{font-size:25px}
body.single-post.aaee-active-100 .aaee-article-copy-100 a{color:#111!important;border-bottom:2px solid var(--aa-red)!important}

body.single-post.aaee-active-100 .aaee-sidebar-inner-100{position:sticky;top:16px;background:#0b0c0f;border-top:5px solid var(--aa-red);box-shadow:0 16px 36px rgba(0,0,0,.16);padding:20px 20px 0;color:#fff}
body.single-post.aaee-active-100 .aaee-sidebar-heading-100{display:flex;align-items:baseline;gap:7px;margin-bottom:12px;text-transform:uppercase;font-family:Arial,sans-serif;font-weight:900}
body.single-post.aaee-active-100 .aaee-sidebar-heading-100 span{font-size:16px}.aaee-sidebar-heading-100 strong{font-size:25px;color:var(--aa-red)}
body.single-post.aaee-active-100 .aaee-trending-list-100{list-style:none;margin:0;padding:0}.aaee-trending-list-100 li{display:grid;grid-template-columns:30px 62px minmax(0,1fr);gap:9px;align-items:center;padding:12px 0;border-top:1px solid rgba(255,255,255,.11)}
body.single-post.aaee-active-100 .aaee-rank-100{font:900 18px/1 Arial,sans-serif;color:var(--aa-red)}
body.single-post.aaee-active-100 .aaee-trending-thumb-100{width:62px;aspect-ratio:16/10;overflow:hidden}.aaee-trending-thumb-100 img{width:100%;height:100%;object-fit:cover}
body.single-post.aaee-active-100 .aaee-trending-title-100{display:block;color:#fff!important;font:800 13px/1.2 Arial,sans-serif}.aaee-mini-meta-100{display:block;margin-top:5px;color:#8c8f96;text-transform:uppercase;font:700 8px/1 Arial,sans-serif;letter-spacing:.07em}
body.single-post.aaee-active-100 .aaee-sidebar-latest-100{display:flex;justify-content:space-between;margin:8px -20px 0;padding:14px 20px;background:var(--aa-red);color:#fff!important;text-transform:uppercase;letter-spacing:.08em;font:900 10px Arial,sans-serif}

body.single-post.aaee-active-100 .aaee-related-zone-100{position:relative;left:auto;width:100%;margin:34px 0 0;background:#08080a;color:#fff;border-top:4px solid var(--aa-red);padding:38px 28px 48px;box-sizing:border-box;border-radius:0}
body.single-post.aaee-active-100 .aaee-section-heading-100{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #303137;padding-bottom:14px;margin-bottom:22px}
body.single-post.aaee-active-100 .aaee-kicker-100{color:var(--aa-red);text-transform:uppercase;letter-spacing:.16em;font:900 10px Arial,sans-serif}.aaee-section-heading-100 h2{margin:4px 0 0;color:#fff;font:900 clamp(32px,3vw,48px)/1 Arial,sans-serif;text-transform:uppercase;letter-spacing:-.03em}
body.single-post.aaee-active-100 .aaee-card-grid-100{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.single-post.aaee-active-100 .aaee-card-100{background:#111216;border:1px solid #292b31;overflow:hidden;transition:transform .18s ease,border-color .18s ease}.aaee-card-100:hover{transform:translateY(-2px);border-color:var(--aa-red)}
body.single-post.aaee-active-100 .aaee-card-image-100{display:block;aspect-ratio:16/9;background:#1c1d21;overflow:hidden}.aaee-card-image-100 img{width:100%;height:100%;object-fit:cover;display:block}
body.single-post.aaee-active-100 .aaee-card-body-100{padding:14px}.aaee-card-category-100{color:var(--aa-red);text-transform:uppercase;letter-spacing:.12em;font:900 9px Arial,sans-serif}.aaee-card-100 h3{margin:7px 0 10px;font:800 16px/1.13 Arial,sans-serif;letter-spacing:-.015em}.aaee-card-100 h3 a{color:#fff!important}.aaee-card-meta-100{color:#8f9299;text-transform:uppercase;letter-spacing:.05em;font:700 8px Arial,sans-serif}
body.single-post.aaee-active-100 .aaee-load-wrap-100{text-align:center;margin:30px 0 0}.aaee-load-more-100{border:1px solid var(--aa-red);background:var(--aa-red);color:#fff;padding:13px 24px;font:900 10px Arial,sans-serif;text-transform:uppercase;letter-spacing:.1em;cursor:pointer}

@media(max-width:1120px){body.single-post.aaee-active-100 .aaee-reading-grid-100{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.aaee-card-grid-100{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){body.single-post.aaee-active-100 article.type-post>header,body.single-post.aaee-active-100 .entry-header,body.single-post.aaee-active-100 .single-featured-image,body.single-post.aaee-active-100 .post-thumbnail,body.single-post.aaee-active-100 .entry-thumbnail{width:calc(100% - 24px)!important}.aaee-shell-100{width:calc(100% - 24px)!important}.aaee-reading-grid-100{display:block!important}.aaee-sidebar-100{margin-top:34px}.aaee-sidebar-inner-100{position:static!important}.aaee-card-grid-100{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aaee-related-zone-100{padding-top:38px!important}.aaee-share-button-100{height:48px!important}.aaee-share-label-100 span,.aaee-share-label-100 strong{font-size:10px!important}}
@media(max-width:520px){body.single-post.aaee-active-100 .entry-title,body.single-post.aaee-active-100 .post-title,body.single-post.aaee-active-100 .single-post-title,body.single-post.aaee-active-100 article.type-post>header h1{font-size:clamp(34px,10vw,48px)!important}.aaee-card-grid-100{grid-template-columns:1fr!important}.aaee-article-copy-100{font-size:18px!important}.aaee-share-bar-100{gap:6px!important}.aaee-share-button-100{padding:0 7px!important}.aaee-share-label-100 span{font-size:9px!important}}

/* Sitewide Shell v3.0.7 integration. The shell owns the title, byline, image, and top sidebar. */
body.single-post.aaee-active-100 .aas-post-layout .aaee-shell-100{width:100%;margin:0;overflow:visible}
body.single-post.aaee-active-100 .aas-post-layout .aaee-share-bar-100{width:100%;max-width:820px;margin:4px 0 12px}
body.single-post.aaee-active-100 .aas-post-layout .aaee-template-integrated-100>.aaee-article-copy-100{width:100%;max-width:820px}
body.single-post.aaee-active-100 .aas-post-sidebar .aaee-sidebar-100{margin:0}
body.single-post.aaee-active-100 .aas-post-sidebar .aaee-sidebar-inner-100{position:sticky;top:16px}
body.single-post.aaee-active-100 .aas-post-header+.aas-content-featured{margin-top:0!important}
body.single-post.aaee-active-100 .aas-content-meta{margin-bottom:8px!important}
/* The custom shell template already supplies the title and featured image. */
body.single-post.aaee-active-100 .aas-post-layout~* .entry-header{display:none!important}
@media(max-width:820px){body.single-post.aaee-active-100 .aas-post-sidebar .aaee-sidebar-inner-100{position:static!important}.aaee-template-integrated-100>.aaee-article-copy-100{max-width:none!important}}

/* v2.3: keep the recommendation area aligned inside the shell page frame. */
@media(min-width:821px){
  body.single-post.aaee-active-100 .aas-post-layout .aaee-related-zone-100{width:calc(100% + 338px);max-width:none}
}
@media(min-width:821px) and (max-width:1180px){
  body.single-post.aaee-active-100 .aas-post-layout .aaee-related-zone-100{width:calc(100% + 307px)}
}
@media(max-width:820px){
  body.single-post.aaee-active-100 .aas-post-layout .aaee-related-zone-100{width:100%;padding:32px 18px 42px}
}

/* v3.0 immersive video feeds and long-form video navigation */
body.aaee-video-feed-page{background:#05060a!important;color:#fff!important;overflow:hidden}
body.aaee-video-feed-page .entry-header,body.aaee-video-feed-page .aas-content-featured,body.aaee-video-feed-page .post-thumbnail{display:none!important}
body.aaee-video-feed-page main,body.aaee-video-feed-page .site-main,body.aaee-video-feed-page article.type-post,body.aaee-video-feed-page .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:#05060a!important}
.aaee-video-feed{position:relative;height:calc(100dvh - 76px);min-height:620px;background:#05060a;overflow:hidden;outline:0}
.aaee-feed-slides{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none}
.aaee-feed-slides::-webkit-scrollbar{display:none}
.aaee-feed-slide{height:100%;min-height:100%;display:grid;place-items:center;scroll-snap-align:start;scroll-snap-stop:always;padding:16px 92px 16px 18px}
.aaee-feed-stage{position:relative;height:min(84vh,900px);width:min(100%,620px);border-radius:24px;overflow:hidden;background:#000;box-shadow:0 28px 80px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.15)}
.aaee-feed-stage.horizontal{width:min(100%,1180px);height:auto;aspect-ratio:16/9}
.aaee-feed-video,.aaee-embed-player,.aaee-embed-player iframe{width:100%;height:100%;display:block;border:0;background:#000}
.aaee-feed-video{object-fit:contain}
.aaee-feed-stage.horizontal .aaee-feed-video{object-fit:cover}
.aaee-feed-gradient{position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.18) 15%,rgba(0,0,0,.92));pointer-events:none}
.aaee-feed-copy{position:absolute;left:28px;right:88px;bottom:28px;z-index:3;text-shadow:0 2px 16px #000}
.aaee-feed-category{display:inline-block;color:#ff3047;font:900 12px/1 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.aaee-feed-copy h1{font:900 clamp(25px,4vw,48px)/1.02 Arial,sans-serif!important;color:#fff!important;margin:0 0 10px!important}
.aaee-feed-copy p{font:600 15px/1.45 Arial,sans-serif;color:#e7e9ef;margin:0;max-width:760px}
.aaee-feed-actions{position:absolute;right:16px;bottom:25px;z-index:4;display:grid;gap:10px}
.aaee-feed-actions a,.aaee-feed-actions button,.aaee-sound-toggle{border:1px solid rgba(255,255,255,.28);background:rgba(8,9,14,.78);backdrop-filter:blur(12px);color:#fff;border-radius:999px;min-width:58px;min-height:46px;padding:0 14px;font:800 12px Arial,sans-serif;text-decoration:none;display:grid;place-items:center;cursor:pointer}
.aaee-sound-toggle{position:absolute;right:16px;top:16px;z-index:5;min-width:48px;padding:0;font-size:18px}
.aaee-feed-arrows{position:absolute;right:18px;top:50%;transform:translateY(-50%);z-index:7;display:grid;gap:10px}
.aaee-feed-arrows button{width:58px;height:58px;border-radius:16px;border:1px solid rgba(255,255,255,.22);background:rgba(10,11,17,.82);color:#fff;font:900 30px Arial;cursor:pointer;box-shadow:0 10px 35px rgba(0,0,0,.35)}
.aaee-feed-arrows button:hover{background:#ed1c24;border-color:#ed1c24;transform:scale(1.04)}
.aaee-feed-help{position:absolute;z-index:20;left:50%;top:50%;transform:translate(-50%,-50%);width:min(430px,calc(100% - 32px));background:#fff;color:#111;border-radius:26px;padding:34px;box-shadow:0 30px 100px #000;display:grid;gap:18px;font-family:Arial,sans-serif}
.aaee-feed-help[hidden]{display:none}.aaee-feed-help strong{font-size:30px;line-height:1}.aaee-feed-help span{font-size:18px;line-height:1.45;color:#4a4a4a}.aaee-help-close{position:absolute;right:-8px;top:-12px;width:46px;height:46px;border:0;border-radius:50%;background:#8b8f98;color:#fff;font-size:30px}.aaee-help-ok{height:54px;border:0;border-radius:8px;background:linear-gradient(90deg,#7b17ff,#bd19ff);color:#fff;font:900 18px Arial;cursor:pointer}
.aaee-feed-autoplay-note{position:absolute;left:18px;top:18px;z-index:6;background:rgba(0,0,0,.64);color:#ddd;padding:8px 11px;border-radius:10px;font:700 11px Arial,sans-serif;opacity:.8}
.aaee-video-missing{height:100%;display:grid;place-items:center;padding:30px;text-align:center;color:#fff;background:#191b23;font:700 16px Arial}
body.aaee-longform-video-page{background:#07080c!important;color:#fff}
body.aaee-longform-video-page .aaee-article-copy-100{color:#eef0f5}
body.aaee-longform-video-page .aaee-article-copy-100 p{color:#d5d8df}
.aaee-longform-nav{margin:14px 0 24px;padding:18px;border:1px solid #2d3039;border-radius:18px;background:linear-gradient(135deg,#10121a,#07080c);font-family:Arial,sans-serif}
.aaee-longform-nav>span{display:block;color:#44ff88;font:900 11px Arial;text-transform:uppercase;letter-spacing:.15em;margin-bottom:10px}
.aaee-longform-nav a{position:relative;display:block;padding:20px 64px 20px 22px;border:1px solid #ff2450;border-radius:14px;background:radial-gradient(circle at 15% 20%,rgba(255,36,80,.24),transparent 44%),#0d0f15;color:#fff;text-decoration:none;box-shadow:0 0 28px rgba(255,36,80,.14)}
.aaee-longform-nav strong{display:block;font:900 clamp(18px,2.6vw,28px)/1.05 Arial}.aaee-longform-nav small{display:block;color:#b9bdc8;margin-top:7px;font:700 13px Arial}.aaee-longform-nav b{position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:34px;color:#ff3658}
@media(max-width:700px){.aaee-video-feed{height:calc(100dvh - 58px);min-height:520px}.aaee-feed-slide{padding:0}.aaee-feed-stage,.aaee-feed-stage.horizontal{height:100%;width:100%;max-width:none;border-radius:0;border:0;aspect-ratio:auto}.aaee-feed-stage.horizontal .aaee-feed-video{object-fit:contain}.aaee-feed-copy{left:18px;right:78px;bottom:20px}.aaee-feed-copy h1{font-size:clamp(25px,8vw,38px)!important}.aaee-feed-copy p{font-size:13px;max-height:58px;overflow:hidden}.aaee-feed-arrows{right:10px}.aaee-feed-arrows button{width:48px;height:48px}.aaee-feed-autoplay-note{display:none}.aaee-feed-actions{right:10px;bottom:18px}.aaee-feed-actions a,.aaee-feed-actions button{min-width:54px;padding:0 10px}}

/* v3.0.1: long-form Music/Podcast player and understated Previous / neon Next navigation */
.aaee-longform-player{
  position:relative;
  width:100%;
  max-width:820px;
  aspect-ratio:16/9;
  margin:0 0 18px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid #282c35;
  background:#000;
  box-shadow:0 18px 52px rgba(0,0,0,.35);
}
.aaee-longform-player .aaee-feed-video,
.aaee-longform-player .aaee-embed-player,
.aaee-longform-player .aaee-embed-player iframe{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  border:0!important;
  display:block!important;
  background:#000!important;
}
.aaee-longform-player .aaee-feed-video{object-fit:contain}
.aaee-longform-nav{
  width:100%;
  max-width:820px;
  margin:24px 0 30px;
  padding:0;
  border:0;
  border-radius:18px;
  background:transparent;
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,7fr);
  gap:12px;
  font-family:Arial,sans-serif;
}
.aaee-longform-nav a{
  min-width:0;
  min-height:112px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 22px;
  border-radius:16px;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.aaee-longform-nav a:hover{transform:translateY(-2px)}
.aaee-longform-nav a>span{flex:0 0 auto;font:900 30px/1 Arial,sans-serif}
.aaee-longform-nav a>div{min-width:0}
.aaee-longform-nav strong{display:block;font:900 clamp(20px,2.5vw,30px)/1 Arial,sans-serif}
.aaee-longform-nav small{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin-top:8px;
  font:700 13px/1.35 Arial,sans-serif;
}
.aaee-longform-previous{
  color:#e7e9ee!important;
  border:1px solid #343842!important;
  background:linear-gradient(135deg,#191b21,#0b0c10)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
}
.aaee-longform-previous small{color:#959aa5!important}
.aaee-longform-previous>span{color:#a4a9b3}
.aaee-longform-next{
  justify-content:space-between;
  color:#03130a!important;
  border:1px solid #58ff97!important;
  background:linear-gradient(135deg,#6dffa2,#20ed72)!important;
  box-shadow:0 0 26px rgba(50,255,130,.26),0 14px 38px rgba(0,0,0,.28)!important;
}
.aaee-longform-next small{color:#124927!important}
.aaee-longform-next>span{color:#052a13}
@media(max-width:700px){
  .aaee-longform-player{border-radius:12px;margin-bottom:14px}
  .aaee-longform-nav{grid-template-columns:1fr;gap:10px;margin:18px 0 24px}
  .aaee-longform-nav a{min-height:88px;padding:16px 18px}
  .aaee-longform-previous{order:1}
  .aaee-longform-next{order:2;min-height:104px!important}
}

/* v3.0.2: keep the Sitewide Shell post wrapper visible on immersive feeds.
   Earlier versions hid .aas-post-layout, which also hid the injected feed. */
body.aaee-video-feed-page .aas-post-layout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#05060a!important;
}
body.aaee-video-feed-page .aas-post-layout > *{
  min-width:0;
}
body.aaee-video-feed-page .aas-post-sidebar,
body.aaee-video-feed-page .aas-sidebar,
body.aaee-video-feed-page aside.aas-post-sidebar,
body.aaee-video-feed-page .single-post-sidebar,
body.aaee-video-feed-page .post-sidebar{
  display:none!important;
}
body.aaee-video-feed-page .aas-post-main,
body.aaee-video-feed-page .aas-post-content,
body.aaee-video-feed-page .entry-content,
body.aaee-video-feed-page .aaee-video-feed{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#05060a!important;
}
body.aaee-video-feed-page .aaee-video-feed{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
body.aaee-video-feed-page .aaee-feed-video{
  min-width:100%;
  min-height:100%;
}
/* Native controls are a fallback when browser autoplay policies block playback. */
body.aaee-video-feed-page .aaee-feed-video::-webkit-media-controls-panel{
  background:linear-gradient(transparent,rgba(0,0,0,.45));
}

/* v3.0.3: video-first article cleanup */
body.single-post.aaee-hide-featured .single-featured-image,
body.single-post.aaee-hide-featured .post-thumbnail,
body.single-post.aaee-hide-featured .entry-thumbnail,
body.single-post.aaee-hide-featured .aas-content-featured,
body.single-post.aaee-hide-featured figure.wp-block-post-featured-image,
body.single-post.aaee-hide-featured .featured-image,
body.single-post.aaee-hide-featured .post-featured-image{
  display:none!important;
}

/* Hide only the author identity on video-category posts; dates remain visible. */
body.single-post.aaee-hide-author .author,
body.single-post.aaee-hide-author .byline,
body.single-post.aaee-hide-author .post-author,
body.single-post.aaee-hide-author .entry-author,
body.single-post.aaee-hide-author .aas-post-author,
body.single-post.aaee-hide-author [class*="author-name"],
body.single-post.aaee-hide-author [rel="author"]{
  display:none!important;
}

/* Share bar appears before the long-form player. */
body.single-post.aaee-longform-video-page .aaee-share-bar-100{
  margin-top:8px!important;
  margin-bottom:18px!important;
}
body.single-post.aaee-longform-video-page .aaee-longform-player{
  margin-top:0!important;
}

/* Clean Previous / Next controls: labels only. */
.aaee-longform-nav a{
  justify-content:center!important;
  gap:18px!important;
  text-align:center!important;
}
.aaee-longform-nav strong{
  margin:0!important;
  font:900 clamp(28px,4vw,48px)/1 Arial,sans-serif!important;
  letter-spacing:-.025em;
}
.aaee-longform-nav small{display:none!important}
.aaee-longform-previous>span,
.aaee-longform-next>span{
  font-size:clamp(28px,4vw,44px)!important;
}
.aaee-longform-next{justify-content:center!important}

.aaee-external-video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  display:block!important;
  background:#000!important;
}

@media(max-width:700px){
  .aaee-longform-nav strong{font-size:34px!important}
  .aaee-longform-nav a{min-height:90px!important}
}

/* v3.0.4 immersive feed refinements */
body.aaee-video-feed-page,
body.aaee-video-feed-page #page,
body.aaee-video-feed-page .site,
body.aaee-video-feed-page .site-content,
body.aaee-video-feed-page .content-area,
body.aaee-video-feed-page .aas-post-layout,
body.aaee-video-feed-page .aas-post-main,
body.aaee-video-feed-page .aas-post-content,
body.aaee-video-feed-page .entry-content,
body.aaee-video-feed-page [class*="ad-placement"],
body.aaee-video-feed-page [class*="article-ad"],
body.aaee-video-feed-page [id*="article-ad"]{
  background:#05060a!important;
}

/* Hide the site chrome while the viewer is inside the swipe funnel. */
body.aaee-video-feed-page:not(.aaee-feed-exited) header.site-header,
body.aaee-video-feed-page:not(.aaee-feed-exited) .site-header,
body.aaee-video-feed-page:not(.aaee-feed-exited) .aa-shell-header,
body.aaee-video-feed-page:not(.aaee-feed-exited) .aas-site-header,
body.aaee-video-feed-page:not(.aaee-feed-exited) nav.site-navigation,
body.aaee-video-feed-page:not(.aaee-feed-exited) .main-navigation,
body.aaee-video-feed-page:not(.aaee-feed-exited) footer.site-footer,
body.aaee-video-feed-page:not(.aaee-feed-exited) .site-footer,
body.aaee-video-feed-page:not(.aaee-feed-exited) .aa-shell-footer,
body.aaee-video-feed-page:not(.aaee-feed-exited) .aas-site-footer{
  display:none!important;
}

body.aaee-video-feed-page.aaee-feed-exited{
  overflow:auto!important;
}
body.aaee-video-feed-page.aaee-feed-exited .aaee-video-feed{
  height:min(78vh,860px)!important;
  min-height:560px;
  margin:0 auto 28px;
}

.aaee-feed-exit{
  position:fixed;
  left:18px;
  top:18px;
  z-index:10001;
  width:58px;
  height:58px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:18px;
  background:linear-gradient(135deg,#1c87ff,#075bd8);
  color:#fff;
  box-shadow:0 0 26px rgba(28,135,255,.46),0 12px 34px rgba(0,0,0,.45);
  cursor:pointer;
  display:grid;
  place-items:center;
  font:900 29px/1 Arial,sans-serif;
}
body.aaee-feed-exited .aaee-feed-exit{
  background:linear-gradient(135deg,#ff344f,#dc071e);
  box-shadow:0 0 26px rgba(255,40,70,.42),0 12px 34px rgba(0,0,0,.45);
}

.aaee-feed-category{display:none!important}
.aaee-feed-actions a{display:none!important}

/* Keep controls attached to the video instead of the far edge of the viewport. */
.aaee-feed-arrows{
  right:max(18px,calc((100vw - min(100vw,1180px))/2 + 20px))!important;
}
.aaee-feed-arrows button:first-child{
  background:linear-gradient(135deg,#238cff,#075bd8)!important;
  border-color:#62b5ff!important;
  box-shadow:0 0 24px rgba(28,135,255,.52),0 12px 35px rgba(0,0,0,.4)!important;
}
.aaee-feed-arrows button:last-child{
  background:linear-gradient(135deg,#ff334d,#d9001d)!important;
  border-color:#ff7184!important;
  box-shadow:0 0 24px rgba(255,40,70,.52),0 12px 35px rgba(0,0,0,.4)!important;
}
.aaee-feed-arrows button:hover{filter:brightness(1.13);transform:scale(1.05)}

@media(max-width:700px){
  .aaee-feed-exit{left:12px;top:12px;width:50px;height:50px;border-radius:15px;font-size:25px}
  .aaee-feed-arrows{right:10px!important}
}


/* v3.0.5: universal standard-post navigation and refined immersive controls */
/* The immersive feed keeps its own Up / Down navigation. */
body.aaee-video-feed-page .aaee-longform-nav{display:none!important}

/* Subtle exit control: available without competing with the video. */
.aaee-feed-exit{
  width:46px!important;
  height:46px!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.2)!important;
  background:rgba(5,6,10,.68)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(10px);
  font-size:23px!important;
  opacity:.78;
}
.aaee-feed-exit:hover,.aaee-feed-exit:focus-visible{opacity:1;background:rgba(5,6,10,.9)!important}
body.aaee-feed-exited .aaee-feed-exit{
  background:rgba(5,6,10,.78)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.34)!important;
}

/* Bright green Up, bright red Down. */
.aaee-feed-arrows button:first-child{
  background:linear-gradient(135deg,#55ff95,#14e86d)!important;
  color:#06190d!important;
  border-color:#8affb6!important;
  box-shadow:0 0 25px rgba(45,255,125,.58),0 12px 35px rgba(0,0,0,.42)!important;
}
.aaee-feed-arrows button:last-child{
  background:linear-gradient(135deg,#ff3152,#f0002f)!important;
  color:#fff!important;
  border-color:#ff7890!important;
  box-shadow:0 0 25px rgba(255,35,75,.58),0 12px 35px rgba(0,0,0,.42)!important;
}

/* Universal randomized Previous / Next controls for all non-feed posts. */
.aaee-longform-nav{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(0,3fr) minmax(0,7fr)!important;
  gap:16px!important;
  margin:28px 0 34px!important;
  overflow:visible!important;
}
.aaee-longform-nav a{
  box-sizing:border-box!important;
  position:relative!important;
  min-width:0!important;
  width:100%!important;
  min-height:126px!important;
  padding:24px 28px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  white-space:nowrap!important;
}
.aaee-longform-nav strong{
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  font:900 clamp(26px,3.6vw,54px)/.95 Arial,sans-serif!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}
.aaee-longform-nav a>span{
  position:static!important;
  flex:0 0 auto!important;
  transform:none!important;
  font:700 clamp(30px,3.5vw,50px)/1 Arial,sans-serif!important;
}
.aaee-longform-previous{
  justify-content:center!important;
  color:#f3f4f7!important;
  background:linear-gradient(135deg,#17191f,#08090d)!important;
  border:1px solid #3d414c!important;
  box-shadow:0 13px 34px rgba(0,0,0,.24)!important;
}
.aaee-longform-previous>span{color:#aeb4c0!important}
.aaee-longform-next{
  justify-content:center!important;
  color:#05180d!important;
  background:linear-gradient(135deg,#62ff9c,#21ef73)!important;
  border:1px solid #83ffb1!important;
  box-shadow:0 0 30px rgba(39,255,126,.34),0 15px 38px rgba(0,0,0,.25)!important;
}
.aaee-longform-next>span{color:#072b15!important}

@media(max-width:900px){
  .aaee-longform-nav{grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;gap:12px!important}
  .aaee-longform-nav a{min-height:104px!important;padding:20px 18px!important;gap:12px!important}
  .aaee-longform-nav strong{font-size:clamp(24px,5vw,40px)!important}
  .aaee-longform-nav a>span{font-size:clamp(26px,5vw,38px)!important}
}
@media(max-width:620px){
  .aaee-feed-exit{left:10px!important;top:10px!important;width:42px!important;height:42px!important;border-radius:12px!important;font-size:21px!important}
  .aaee-longform-nav{grid-template-columns:1fr!important;gap:10px!important;margin:22px 0 28px!important}
  .aaee-longform-nav a{min-height:88px!important;padding:17px 20px!important}
  .aaee-longform-nav strong{font-size:32px!important}
  .aaee-longform-nav a>span{font-size:32px!important}
  .aaee-longform-next{min-height:100px!important}
}


/* v3.0.6: feed pages use only the title overlaid inside the video. */
body.single-post.aaee-video-feed-page .aas-content-title,
body.single-post.aaee-video-feed-page .aas-post-title,
body.single-post.aaee-video-feed-page .entry-title,
body.single-post.aaee-video-feed-page .post-title,
body.single-post.aaee-video-feed-page .single-post-title,
body.single-post.aaee-video-feed-page .aas-content-meta,
body.single-post.aaee-video-feed-page .entry-meta,
body.single-post.aaee-video-feed-page .post-meta,
body.single-post.aaee-video-feed-page .byline,
body.single-post.aaee-video-feed-page .author,
body.single-post.aaee-video-feed-page .posted-on,
body.single-post.aaee-video-feed-page article.type-post > header,
body.single-post.aaee-video-feed-page .entry-header {
  display:none!important;
  margin:0!important;
  padding:0!important;
  height:0!important;
  min-height:0!important;
  border:0!important;
}

/* Do not hide the title overlaid on the active video. */
body.single-post.aaee-video-feed-page .aaee-feed-copy,
body.single-post.aaee-video-feed-page .aaee-feed-copy h1 {
  display:block!important;
  height:auto!important;
}

/* The hamburger is a one-way escape. Once normal navigation returns, it vanishes. */
body.aaee-video-feed-page.aaee-feed-exited .aaee-feed-exit {
  display:none!important;
}


/* v3.0.7: resilient Previous / Next sizing for desktop and large tablets.
   The article column may be narrow even when the browser viewport is wide,
   so size the controls from their own container instead of viewport width. */
.aaee-longform-nav{
  container-type:inline-size!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:18px!important;
}
.aaee-longform-nav a{
  min-width:0!important;
  width:100%!important;
  min-height:132px!important;
  padding:22px clamp(16px,3cqw,34px)!important;
  gap:clamp(10px,2cqw,22px)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.aaee-longform-nav strong{
  flex:0 1 auto!important;
  min-width:0!important;
  font-size:clamp(25px,6cqw,48px)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.aaee-longform-nav a>span{
  flex:0 0 auto!important;
  font-size:clamp(27px,5cqw,46px)!important;
  line-height:1!important;
}

/* Extra protection for article columns narrowed by a desktop sidebar. */
@container (max-width:760px){
  .aaee-longform-nav{gap:12px!important}
  .aaee-longform-nav a{min-height:112px!important;padding:18px 14px!important;gap:9px!important}
  .aaee-longform-nav strong{font-size:clamp(23px,6.3cqw,36px)!important}
  .aaee-longform-nav a>span{font-size:clamp(25px,5.5cqw,34px)!important}
}

/* Keep the already-approved stacked treatment on phones and small tablets. */
@media(max-width:620px){
  .aaee-longform-nav{grid-template-columns:1fr!important;gap:10px!important}
  .aaee-longform-nav a{min-height:88px!important;padding:17px 20px!important;gap:12px!important}
  .aaee-longform-nav strong{font-size:32px!important}
  .aaee-longform-nav a>span{font-size:32px!important}
  .aaee-longform-next{min-height:100px!important}
}

/* v3.0.8: fully black immersive shell for Shorts, For You, and Videos. */
body.single-post.aaee-video-feed-page,
body.single-post.aaee-video-feed-page html,
body.single-post.aaee-video-feed-page #page,
body.single-post.aaee-video-feed-page .site,
body.single-post.aaee-video-feed-page .site-content,
body.single-post.aaee-video-feed-page .content-area,
body.single-post.aaee-video-feed-page .aas-page-frame,
body.single-post.aaee-video-feed-page .aas-page-content,
body.single-post.aaee-video-feed-page .aas-content-wrap,
body.single-post.aaee-video-feed-page .aas-basic-page-host,
body.single-post.aaee-video-feed-page .aas-content-main,
body.single-post.aaee-video-feed-page .aas-post-layout,
body.single-post.aaee-video-feed-page .aas-post-main,
body.single-post.aaee-video-feed-page .aas-post-content,
body.single-post.aaee-video-feed-page main,
body.single-post.aaee-video-feed-page article,
body.single-post.aaee-video-feed-page .entry-content {
  background:#05060a!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
body.single-post.aaee-video-feed-page .aas-page-frame,
body.single-post.aaee-video-feed-page .aas-page-content,
body.single-post.aaee-video-feed-page .aas-content-wrap,
body.single-post.aaee-video-feed-page .aas-basic-page-host,
body.single-post.aaee-video-feed-page .aas-content-main {
  margin-top:0!important;
  padding-top:0!important;
}
body.single-post.aaee-video-feed-page .aas-page-content::before,
body.single-post.aaee-video-feed-page .aas-page-content::after,
body.single-post.aaee-video-feed-page .aas-content-wrap::before,
body.single-post.aaee-video-feed-page .aas-content-wrap::after,
body.single-post.aaee-video-feed-page .aas-basic-page-host::before,
body.single-post.aaee-video-feed-page .aas-basic-page-host::after,
body.single-post.aaee-video-feed-page .aas-post-layout::before,
body.single-post.aaee-video-feed-page .aas-post-layout::after {
  display:none!important;
  content:none!important;
  background:none!important;
  border:0!important;
}
body.single-post.aaee-video-feed-page hr,
body.single-post.aaee-video-feed-page .wp-block-separator,
body.single-post.aaee-video-feed-page .entry-header,
body.single-post.aaee-video-feed-page .post-header {
  border:0!important;
  background:transparent!important;
}
