/* ═══════════════════════════════════════════════════════════
   05-COMPONENTS.CSS — Cards, Tables, Tickers, Forms, Single Blocks
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   OVERRIDE APPYN APP CARDS
══════════════════════════════════════════════════════════ */
/* Appyn default .item-box / .box-content app card */
.item-box,
.box-content,
.app-item,
.post-item,
.grid-item {
    background: var(--glass-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--c-text) !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.item-box:hover,
.box-content:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}

.item-box .btn-download,
.box-content .btn-download,
.download-btn,
.btn-dl,
.btn-green,
a.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: var(--font-ui) !important;
    box-shadow: 0 0 12px rgba(16,185,129,0.3) !important;
    transition: filter 0.15s ease, transform 0.15s ease !important;
}

.item-box .btn-download:hover,
.btn-dl:hover {
    filter: brightness(1.15) !important;
    transform: scale(1.02) !important;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM APP CARDS — Emerald Glass System
══════════════════════════════════════════════════════════ */
.app-card-premium,
.item-app {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
}

.app-card-premium *,
.item-app * {
    box-sizing: border-box !important;
}

.app-card-premium .premium-download-btn,
.item-app .btn-download,
.item-app .download-btn,
.item-app a.btn-primary {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
}

.app-card-premium:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(78, 222, 163, 0.35) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 16px rgba(78, 222, 163, 0.12) !important;
}

.card-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.card-body-flex {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.icon-container-wrapper {
    position: relative;
    flex-shrink: 0;
}

.premium-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-app-icon-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(78, 222, 163, 0.15);
    color: #4edea3;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(78, 222, 163, 0.3);
}

.card-details-wrapper {
    flex: 1;
    min-width: 0;
}

.premium-app-title {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.app-card-premium:hover .premium-app-title {
    color: #4edea3;
}

.premium-rating-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    font-size: 11px;
}

.star-icon {
    color: #f59e0b;
}

.rating-val {
    font-family: var(--font-mono);
    color: #fbbf24;
    font-weight: 600;
}

.premium-excerpt {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.8;
}

.card-divider-dashed {
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin: 10px 0;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.footer-meta-items {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #64748b;
}

.meta-version, .meta-size {
    display: flex;
    align-items: center;
    gap: 2px;
}

.premium-download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.app-card-premium:hover .premium-download-btn {
    filter: brightness(1.15);
    transform: scale(1.05);
}


/* Appyn widget overrides */
.widget, .widget_categories, .widget_recent_entries {
    background: var(--glass-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
}

.widget-title, .widgettitle {
    color: var(--c-primary) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-family: var(--font-mono) !important;
}

.widget a {
    color: var(--c-text-muted) !important;
}
.widget a:hover {
    color: var(--c-primary) !important;
}

/* ═══════════════════════════════════════════════════════════
   FORMS — override Appyn defaults
══════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--c-text) !important;
    font-family: var(--font-ui) !important;
    padding: 10px 14px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(78,222,163,0.5) !important;
    box-shadow: 0 0 0 3px rgba(78,222,163,0.1) !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION — override Appyn defaults & modern emerald glass
══════════════════════════════════════════════════════════ */
a.page-numbers,
span.page-numbers,
.pagination a,
.page-numbers a,
.nav-links a,
.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

a.page-numbers:hover,
.pagination a:hover,
.page-numbers a:hover,
.nav-links a:hover,
.pagination-wrapper a:hover {
    color: #00FF66 !important;
    border-color: #00FF66 !important;
    background: rgba(0, 255, 102, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
}

span.page-numbers.current,
.pagination .current,
.page-numbers .current,
.pagination-wrapper span.current {
    background: #00FF66 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    border-color: #00FF66 !important;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.5) !important;
    cursor: default;
}

span.page-numbers.dots,
.page-numbers.dots {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — CoolModAPK (Crystal-Clear High Contrast)
══════════════════════════════════════════════════════════ */
html.light,
html.light body,
body.light-mode {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light .glass-level-1,
html.light .glass-level-2,
html.light .glass-level-3,
body.light-mode .glass-level-1,
body.light-mode .glass-level-2,
body.light-mode .glass-level-3,
html.light .app-card-premium,
body.light-mode .app-card-premium {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.light .app-card-premium:hover,
body.light-mode .app-card-premium:hover {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12) !important;
}

html.light .text-white,
html.light .text-slate-100,
html.light .text-slate-200,
html.light .text-on-surface,
body.light-mode .text-white,
body.light-mode .text-slate-100,
body.light-mode .text-slate-200,
body.light-mode .text-on-surface,
html.light .premium-app-title,
body.light-mode .premium-app-title,
html.light .app-card-premium h3,
body.light-mode .app-card-premium h3,
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6 {
    color: #0f172a !important;
}

html.light .text-slate-300,
html.light .text-on-surface-variant,
body.light-mode .text-slate-300,
body.light-mode .text-on-surface-variant {
    color: #334155 !important;
}

html.light .text-slate-400,
html.light .text-slate-500,
body.light-mode .text-slate-400,
body.light-mode .text-slate-500,
html.light .premium-excerpt,
body.light-mode .premium-excerpt,
html.light .app-card-premium span,
body.light-mode .app-card-premium span.truncate {
    color: #475569 !important;
}

html.light .border-white\/10,
body.light-mode .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html.light #site-header,
body.light-mode #site-header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

html.light #site-header button,
body.light-mode #site-header button,
html.light #header-search-btn,
body.light-mode #header-search-btn,
html.light #theme-toggle,
body.light-mode #theme-toggle,
html.light #mobile-menu-btn,
body.light-mode #mobile-menu-btn {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

html.light #site-header button svg,
body.light-mode #site-header button svg,
html.light #header-search-btn svg,
body.light-mode #header-search-btn svg,
html.light #theme-toggle svg,
body.light-mode #theme-toggle svg {
    stroke: #0f172a !important;
    color: #0f172a !important;
}

html.light #site-header nav a,
body.light-mode #site-header nav a {
    color: #334155 !important;
}

/* ═══════════════════════════════════════════════════════════
   TABLE & GLASS BOX OVERRIDES (Fix White Banding & Contrast)
══════════════════════════════════════════════════════════ */
table,
.glass-level-1 table,
.glass-level-2 table,
.glass-level-3 table,
table.table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 24px !important;
}

/* Base resets across all tables */
table th,
table td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    text-align: left !important;
}

/* ───────────────────────────────────────────────────────────
   DARK MODE TABLE STYLING (Default Theme)
   Neutralizes parent theme #f6f6f6 / #f9f9f9 white banding
─────────────────────────────────────────────────────────── */
html.dark table,
html.dark .box-content table,
html.dark .entry table {
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Dark Mode Table Headers */
html.dark table th,
html.dark table thead th,
html.dark table tbody th {
    background: #0f172a !important;
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Dark Mode Table Rows - Reset Parent Theme #f9f9f9 white stripe! */
html.dark table tr,
html.dark table tr:nth-child(odd) {
    background: transparent !important;
    background-color: transparent !important;
}

html.dark table tr:nth-child(2n),
html.dark table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Dark Mode Table Cells */
html.dark table td {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.95rem !important;
}

html.dark table tr:last-child td {
    border-bottom: none !important;
}

html.dark table td strong,
html.dark table td b {
    color: #ffffff !important;
}

html.dark table td.bg-white\/5,
html.dark table td.font-mono {
    color: #94a3b8 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ───────────────────────────────────────────────────────────
   LIGHT MODE TABLE STYLING
─────────────────────────────────────────────────────────── */
html.light table,
html:not(.dark) table,
body.light-mode table,
html.light .box-content table,
html:not(.dark) .box-content table,
body.light-mode .box-content table,
html.light .entry table,
html:not(.dark) .entry table,
body.light-mode .entry table {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

html.light table th,
html.light table thead th,
html.light table tbody th,
html:not(.dark) table th,
html:not(.dark) table thead th,
html:not(.dark) table tbody th,
body.light-mode table th,
body.light-mode table thead th,
body.light-mode table tbody th {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

html.light table tr,
html:not(.dark) table tr,
body.light-mode table tr,
html.light table tr:nth-child(odd),
html:not(.dark) table tr:nth-child(odd),
body.light-mode table tr:nth-child(odd) {
    background: transparent !important;
    background-color: transparent !important;
}

html.light table tr:nth-child(2n),
html.light table tr:nth-child(even),
html:not(.dark) table tr:nth-child(2n),
html:not(.dark) table tr:nth-child(even),
body.light-mode table tr:nth-child(2n),
body.light-mode table tr:nth-child(even) {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
}

html.light table td,
html:not(.dark) table td,
body.light-mode table td {
    background-color: transparent !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.95rem !important;
}

html.light table tr:last-child td,
body.light-mode table tr:last-child td {
    border-bottom: none !important;
}

html.light table td strong,
html.light table td b,
body.light-mode table td strong,
body.light-mode table td b {
    color: #0f172a !important;
}

html.light table td.bg-white\/5,
body.light-mode table td.bg-white\/5,
html.light table td.font-mono,
body.light-mode table td.font-mono {
    color: #475569 !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
}

html.light .glass-level-1,
html.light .glass-level-2,
html.light .glass-level-3,
body.light-mode .glass-level-1,
body.light-mode .glass-level-2,
body.light-mode .glass-level-3 {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

html.light .bg-white\/5,
body.light-mode .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ═══════════════════════════════════════════════════════════
   AD PLACEMENT CENTERING & RESPONSIVE OPTIMIZATION
══════════════════════════════════════════════════════════ */
.ad-placement-wrapper,
.ad-placement-slot,
.ad-placement-wrapper iframe,
.ad-placement-wrapper img,
.ad-placement-wrapper ins,
.ad-placement-wrapper div {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 100% !important;
}

.ad-placement-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

html.light #site-header nav a:hover,
body.light-mode #site-header nav a:hover {
    color: #10b981 !important;
}

/* ═══════════════════════════════════════════════════════════
   OUT-OF-THIS-WORLD SINGLE POST DESCRIPTION & FAQ SUITE
══════════════════════════════════════════════════════════ */
.cyber-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(52, 211, 153, 0.25);
}

.prose h2, .prose h3, .prose h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    border-left: 3px solid #10b981 !important;
    padding-left: 12px !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.75em !important;
}

.prose blockquote {
    background: rgba(16, 185, 129, 0.05) !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #e2e8f0 !important;
    font-style: normal !important;
}

.prose ul li::marker {
    color: #10b981 !important;
}

.prose a {
    color: #34d399 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    transition: color 0.15s ease !important;
}

.prose a:hover {
    color: #6ee7b7 !important;
}

/* ── Cyber Floating Back-to-Top Button ── */
#cyber-back-to-top,
button#cyber-back-to-top {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #000000 !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1.5px solid #00ff88 !important;
    color: #00ff88 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.35), 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#cyber-back-to-top.opacity-0 {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.9) !important;
}

#cyber-back-to-top.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

#cyber-back-to-top:hover {
    background: #00ff88 !important;
    border-color: #00ff88 !important;
    color: #000000 !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.7) !important;
}

#cyber-back-to-top svg {
    width: 24px !important;
    height: 24px !important;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
}

#cyber-back-to-top i {
    color: inherit !important;
    font-size: 20px !important;
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════
   6. PURE BLACK & WHITE CONTENT & SECTION SYSTEM (ZERO GREY)
   ══════════════════════════════════════════════════════════ */

/* ── News Ticker Bar ── */
.news-ticker-wrapper {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}
html.dark .news-ticker-wrapper,
body:not(.light-mode) .news-ticker-wrapper {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
html.light .news-ticker-wrapper,
body.light-mode .news-ticker-wrapper,
html:not(.dark) .news-ticker-wrapper {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #000000 !important;
}
html.dark .news-ticker-wrapper .marquee-track a,
body:not(.light-mode) .news-ticker-wrapper .marquee-track a {
    color: #ffffff !important;
}
html.light .news-ticker-wrapper .marquee-track a,
body.light-mode .news-ticker-wrapper .marquee-track a,
html:not(.dark) .news-ticker-wrapper .marquee-track a {
    color: #000000 !important;
}

/* ── Post Content Blocks (Key Features, Installation Guide, FAQ) ── */
html.dark .wp-block-group,
html.dark .key-features-section,
html.dark .installation-guide-section,
html.dark .faq-section,
html.dark .bluf-answer-box,
html.dark .coolmod-highlighted-features,
html.dark .coolmod-post-body,
body:not(.light-mode) .wp-block-group,
body:not(.light-mode) .key-features-section,
body:not(.light-mode) .installation-guide-section,
body:not(.light-mode) .faq-section,
body:not(.light-mode) .bluf-answer-box,
body:not(.light-mode) .coolmod-highlighted-features,
body:not(.light-mode) .coolmod-post-body {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-left: 4px solid #00ff88 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

html.dark .wp-block-group h2,
html.dark .wp-block-group h3,
html.dark .wp-block-group p,
html.dark .wp-block-group li,
html.dark .wp-block-group strong,
html.dark .key-features-section h2,
html.dark .key-features-section li,
html.dark .key-features-section strong,
html.dark .installation-guide-section h2,
html.dark .installation-guide-section p,
html.dark .installation-guide-section li,
html.dark .installation-guide-section strong,
html.dark .faq-section h2,
html.dark .faq-section h3,
html.dark .faq-section p,
html.dark .faq-section strong,
body:not(.light-mode) .wp-block-group h2,
body:not(.light-mode) .wp-block-group h3,
body:not(.light-mode) .wp-block-group p,
body:not(.light-mode) .wp-block-group li,
body:not(.light-mode) .wp-block-group strong,
body:not(.light-mode) .key-features-section h2,
body:not(.light-mode) .key-features-section li,
body:not(.light-mode) .key-features-section strong,
body:not(.light-mode) .installation-guide-section h2,
body:not(.light-mode) .installation-guide-section p,
body:not(.light-mode) .installation-guide-section li,
body:not(.light-mode) .installation-guide-section strong,
body:not(.light-mode) .faq-section h2,
body:not(.light-mode) .faq-section h3,
body:not(.light-mode) .faq-section p,
body:not(.light-mode) .faq-section strong {
    color: #ffffff !important;
}

html.dark .wp-block-group h2,
html.dark .key-features-section h2,
html.dark .installation-guide-section h2,
html.dark .faq-section h2,
body:not(.light-mode) .wp-block-group h2,
body:not(.light-mode) .key-features-section h2,
body:not(.light-mode) .installation-guide-section h2,
body:not(.light-mode) .faq-section h2 {
    color: #00f0ff !important;
}

/* Light Mode Post Content Blocks */
html.light .wp-block-group,
html.light .key-features-section,
html.light .installation-guide-section,
html.light .faq-section,
html.light .bluf-answer-box,
html.light .coolmod-highlighted-features,
html.light .coolmod-post-body,
body.light-mode .wp-block-group,
body.light-mode .key-features-section,
body.light-mode .installation-guide-section,
body.light-mode .faq-section,
body.light-mode .bluf-answer-box,
body.light-mode .coolmod-highlighted-features,
body.light-mode .coolmod-post-body,
html:not(.dark) .wp-block-group,
html:not(.dark) .key-features-section,
html:not(.dark) .installation-guide-section,
html:not(.dark) .faq-section {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-left: 4px solid #059669 !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.light .wp-block-group h2,
html.light .wp-block-group h3,
html.light .wp-block-group p,
html.light .wp-block-group li,
html.light .wp-block-group strong,
html.light .key-features-section h2,
html.light .key-features-section li,
html.light .key-features-section strong,
html.light .installation-guide-section h2,
html.light .installation-guide-section p,
html.light .installation-guide-section li,
html.light .installation-guide-section strong,
html.light .faq-section h2,
html.light .faq-section h3,
html.light .faq-section p,
html.light .faq-section strong,
body.light-mode .wp-block-group h2,
body.light-mode .wp-block-group h3,
body.light-mode .wp-block-group p,
body.light-mode .wp-block-group li,
body.light-mode .wp-block-group strong,
body.light-mode .key-features-section h2,
body.light-mode .key-features-section li,
body.light-mode .key-features-section strong,
body.light-mode .installation-guide-section h2,
body.light-mode .installation-guide-section p,
body.light-mode .installation-guide-section li,
body.light-mode .installation-guide-section strong,
body.light-mode .faq-section h2,
body.light-mode .faq-section h3,
body.light-mode .faq-section p,
body.light-mode .faq-section strong,
html:not(.dark) .wp-block-group h2,
html:not(.dark) .wp-block-group p,
html:not(.dark) .wp-block-group li {
    color: #000000 !important;
}

/* ── Content Tables (Pure Black & White) ── */
html.dark .prose table,
html.dark .app-content-body table,
body:not(.light-mode) .prose table,
body:not(.light-mode) .app-content-body table {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
html.dark .prose table th,
html.dark .app-content-body table th,
body:not(.light-mode) .prose table th,
body:not(.light-mode) .app-content-body table th {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
html.dark .prose table td,
html.dark .app-content-body table td,
body:not(.light-mode) .prose table td,
body:not(.light-mode) .app-content-body table td {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
html.dark .prose table tbody tr:nth-child(even),
body:not(.light-mode) .prose table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05) !important;
}

html.light .prose table,
html.light .app-content-body table,
body.light-mode .prose table,
body.light-mode .app-content-body table,
html:not(.dark) .prose table,
html:not(.dark) .app-content-body table {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}
html.light .prose table th,
html.light .app-content-body table th,
body.light-mode .prose table th,
body.light-mode .app-content-body table th,
html:not(.dark) .prose table th,
html:not(.dark) .app-content-body table th {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}
html.light .prose table td,
html.light .app-content-body table td,
body.light-mode .prose table td,
body.light-mode .app-content-body table td,
html:not(.dark) .prose table td,
html:not(.dark) .app-content-body table td {
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #000000 !important;
}
html.light .prose table tbody tr:nth-child(even),
body.light-mode .prose table tbody tr:nth-child(even),
html:not(.dark) .prose table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* ── In-Post Generator & Callout Cards ── */
html.dark .coolmod-youtube-wrapper,
body:not(.light-mode) .coolmod-youtube-wrapper {
    background: #000000 !important;
    border-color: rgba(0, 255, 136, 0.4) !important;
    color: #ffffff !important;
}
html.light .coolmod-youtube-wrapper,
body.light-mode .coolmod-youtube-wrapper,
html:not(.dark) .coolmod-youtube-wrapper {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}
html.light .coolmod-youtube-wrapper h3,
body.light-mode .coolmod-youtube-wrapper h3,
html:not(.dark) .coolmod-youtube-wrapper h3 {
    color: #059669 !important;
}

html.dark div[style*="background: #0d121e"],
html.dark div[style*="background:#0d121e"],
body:not(.light-mode) div[style*="background: #0d121e"],
body:not(.light-mode) div[style*="background:#0d121e"] {
    background: #000000 !important;
    border-color: #00ff88 !important;
    color: #ffffff !important;
}
html.light div[style*="background: #0d121e"],
html.light div[style*="background:#0d121e"],
body.light-mode div[style*="background: #0d121e"],
body.light-mode div[style*="background:#0d121e"],
html:not(.dark) div[style*="background: #0d121e"],
html:not(.dark) div[style*="background:#0d121e"] {
    background: #ffffff !important;
    border-color: #059669 !important;
    color: #000000 !important;
}
html.light div[style*="background: #0d121e"] h3,
html.light div[style*="background:#0d121e"] h3,
body.light-mode div[style*="background: #0d121e"] h3,
body.light-mode div[style*="background:#0d121e"] h3,
html:not(.dark) div[style*="background: #0d121e"] h3 {
    color: #000000 !important;
}
html.light div[style*="background: #0d121e"] p,
html.light div[style*="background:#0d121e"] p,
body.light-mode div[style*="background: #0d121e"] p,
body.light-mode div[style*="background:#0d121e"] p,
html:not(.dark) div[style*="background: #0d121e"] p {
    color: #000000 !important;
}
