/*
Theme Name: Intense Investor
Description: Native WordPress theme using the approved neon prototype. Posts, pages, media, permalinks and plugins remain in WordPress.
Version: 0.1.6
Requires at least: 6.4
Requires PHP: 8.3
Text Domain: intense-investor
*/
.admin-bar .main-nav { top:32px; }
.nav-links .current-menu-item > a { color:#00ff7f; }
.nav-links .sub-menu { display:none; position:absolute; padding:1rem; background:#04100a; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display:block; }
.hero-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.hero-stats .stat-value { font-size:clamp(1rem,2vw,1.7rem); }
.card-title a { color:inherit; text-decoration:none; }
.card-image > a:not(.card-category) { display:block; height:100%; }
.card-image img { width:100%; height:100%; object-fit:cover; }
.ii-pagination,.navigation.pagination { margin:2.5rem auto; display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.page-numbers { display:inline-block; padding:.65rem 1rem; border:1px solid #216644; border-radius:8px; color:#fff; background:#06130c; }
.page-numbers.current { color:#001a09; background:#00ff7f; }
.ii-archive { width:min(1200px,calc(100% - 3rem)); margin:190px auto 5rem; }
.ii-document { width:min(1020px,calc(100% - 3rem)); margin:180px auto 5rem; }
.ii-entry { padding:clamp(1.25rem,4vw,3.5rem); background:#08130e; border:1px solid #29503b; border-radius:20px; box-shadow:0 12px 36px #0006; }
.ii-entry-header h1 { font-family:'Rajdhani',sans-serif; font-weight:700; line-height:1.15; font-size:clamp(2rem,5vw,3.5rem); margin:1rem 0; color:#f0fbf3; }
.ii-entry-meta { color:#a0b5a7; margin:1rem 0 2rem; }
.ii-entry-featured { display:block; width:100%; height:auto; border-radius:12px; margin:1.5rem 0 2rem; }
.entry-content { font-family:'Exo 2',sans-serif; font-size:1.08rem; line-height:1.8; color:#d8e6dd; overflow-wrap:anywhere; }
.entry-content p,.entry-content ul,.entry-content ol,.entry-content blockquote,.entry-content figure { margin:0 0 1.4rem; }
.entry-content h2,.entry-content h3,.entry-content h4 { margin:2rem 0 1rem; line-height:1.3; color:#00ff7f; }
.entry-content ul,.entry-content ol { padding-left:1.6rem; }
.entry-content a,.ii-entry-taxonomy a,.ii-comments a { color:#ffd700; text-decoration:underline; text-underline-offset:3px; }
.entry-content img,.entry-content video { max-width:100%; height:auto; }
.entry-content iframe { max-width:100%; }
.entry-content pre { max-width:100%; overflow:auto; padding:1rem; background:#020a06; border:1px solid #2a4f38; }
.entry-content table { border-collapse:collapse; width:100%; display:block; overflow:auto; }
.entry-content td,.entry-content th { padding:.7rem; border:1px solid #36513d; }
.ii-entry-taxonomy { border-top:1px solid #21432e; padding-top:1.5rem; margin-top:2rem; }
.ii-comments,.post-navigation { padding:2rem 0; }
.ii-comments ol { list-style-position:inside; }
.ii-comments input,.ii-comments textarea,.ii-document input[type=search],.ii-community-widget input { max-width:100%; color:#eef7f0; background:#08130d; border:1px solid #436650; border-radius:6px; padding:.8rem; }
.ii-comments label { display:block; }
.ii-comments .submit,.ii-document input[type=submit] { padding:.7rem 1rem; border:0; background:#00ff7f; color:#021309; font-weight:700; border-radius:6px; }
@media(max-width:782px) { .admin-bar .main-nav { top:46px; } }
@media(max-width:600px) { .hero-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .ii-archive,.ii-document { width:calc(100% - 1.5rem); margin-top:155px; } }
.ii-legacy-section { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:1.5rem; margin-bottom:1.5rem; }
.ii-legacy-column,.ii-legacy-container,.ii-legacy-widget { min-width:0; }
.ii-legacy-widget { margin-bottom:1.3rem; }
.ii-legacy-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1rem; }
.ii-legacy-video { width:100%; aspect-ratio:16/9; margin:1rem 0; }
.ii-legacy-video iframe { width:100%; height:100%; border:0; border-radius:10px; }
.entry-content hr { border:0; border-top:1px solid #426247; margin:1.75rem 0; }
.entry-content .btn-primary { text-decoration:none; color:#001507; }
.ii-video-source { font-size:.85rem; }
/* Effects occupy one background layer; reading surfaces are fully opaque. */
body { isolation:isolate; }
#main-content,.main-footer { position:relative; z-index:2; }
#matrix-canvas,#lightning-canvas,.bg-grid,.bg-glow,.neon-clouds { z-index:0; }
.scanlines,.lightning-container { display:none; }
#matrix-canvas { opacity:.18; }
#lightning-canvas { opacity:.45; }
.bg-grid { opacity:.35; animation:none; }
.bg-glow { opacity:.5; filter:none; animation:none; }
.neon-clouds { opacity:.45; }
.neon-cloud { opacity:.7; }
.cloud-red { animation:cloudDriftRed 60s ease-in-out infinite; }
.cloud-green { animation:cloudDriftGreen 70s ease-in-out infinite; }
.main-nav::after,.logo-image,.hero-badge,.badge-dot,.title-highlight,
.title-highlight::after,.hero-stats,.orb-core,.orb-text,.orb-text::before,
.orb-text::after,.review-card::before,.scroll-indicator { animation:none; }
.orbital-icon { animation:counterRotate 60s linear infinite; }
.orb-icon { filter:drop-shadow(0 0 12px #00ff7f55); }
.main-nav.is-scrolled { box-shadow:0 5px 24px #0009; }
.ii-comments,.post-navigation { background:#08130e; padding:clamp(1.25rem,4vw,2rem); border:1px solid #29503b; border-radius:16px; margin-top:1.5rem; }
.post-navigation a { color:#ffd700; }
.quiet-effects #lightning-canvas { display:none; }
.quiet-effects .neon-cloud { animation:none; opacity:.45; }
.effects-paused .neon-cloud,.effects-paused .orbital-socials,
.effects-paused .orbital-icon,.effects-paused .orb-ring { animation-play-state:paused; }
@media(max-width:700px) {
 .neon-clouds { display:none; }
 .orbital-socials,.orbital-icon,.orb-ring { animation:none; }
}
@media(prefers-reduced-motion:reduce) {
 .neon-cloud,.orbital-socials,.orbital-icon,.orb-ring { animation:none; }
 #matrix-canvas,#lightning-canvas { display:none; }
}
/* Legacy editor colors designed for white pages need readable dark-theme equivalents. */
.entry-content :is([style*="color: #000000"],[style*="color:#000000"],[style*="color: black"],[style*="color:black"]) { color:#d8e6dd !important; }
.entry-content :is([style*="color: #0000ff"],[style*="color:#0000ff"]) { color:#8bcfff !important; }
.entry-content :is([style*="color: #ff0000"],[style*="color:#ff0000"]) { color:#ff7a88 !important; }
.entry-content :is([style*="color: #800080"],[style*="color:#800080"]) { color:#ed80ff !important; }
/* Solid, high-contrast category badges remain readable over every thumbnail. */
.review-card .card-category {
 background:#06180e;
 color:#f4fff8;
 border:1px solid #00ff7f;
 box-shadow:0 2px 8px #0009;
 font-family:'Exo 2',sans-serif;
 font-size:.8rem;
 font-weight:700;
 letter-spacing:.03em;
 line-height:1.3;
 padding:.4rem .75rem;
 text-decoration:none;
}
.review-card .card-category:hover,.review-card .card-category:focus-visible {
 background:#0d2b1b;
 color:#fff;
 text-decoration:underline;
 text-underline-offset:3px;
}
