/* 
Dark Mode Styles for Bangla Kobita 
Active when <body> has class .dark-mode
*/

body.dark-mode {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-nav-wrapper: #1a1a1a;
    --bg-nav-menu: #242424;
    --bg-nav-menu-mobile: #1e1e1e;
    --bg-card: #1e1e1e;
    --bg-hero: #18181c;
    --bg-input: #2c2c2c;
    --bg-scroll-top: #7a3e9d;
    --bg-scroll-top-hover: #6a3587;
    --bg-footer: #18181c;
    --bg-footer-bottom: #121212;
    --bg-newsletter-btn: #bb86fc;
    --bg-newsletter-btn-hover: #c084fc;

    --btn-bg: #bb86fc;
    --btn-text: #121212;
    --btn-hover-bg: #d6bbfa;

    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --text-white: #121212;
    --text-accent: #ff79c6;
    --text-date: #bb86fc;
    --text-link-hover: #ffffff;
    --text-f-post-link: #bb86fc;
    --text-f-post-meta: #ff79c6;
    --text-socials: #e0e0e0;

    --border-color: #333333;
    --border-input: #444444;
    --border-date-bar: #333333;
    --border-light: rgba(255, 255, 255, 0.05);

    --bg-socials: #2c2c2c;
}

body.dark-mode {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: var(--text-primary);
}

body.dark-mode p, 
body.dark-mode span {
    color: var(--text-secondary);
}

body.dark-mode a {
    color: var(--text-date);
}

body.dark-mode a:hover {
    color: var(--text-primary);
}

body.dark-mode .btn {
    background: var(--btn-bg);
    color: var(--btn-text) !important;
}

body.dark-mode .btn:hover {
    background: var(--btn-hover-bg);
}

/* Home Page and Widgets */
body.dark-mode .hero-wrapper {
    background-color: transparent !important;
}

body.dark-mode .hero {
    /* Dark mode: uniform 50% overlay - image still visible, white text readable */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
        var(--hero-bg, url('../img/illustration.webp')) !important;
    background-color: var(--bg-hero) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: normal !important;
}

body.dark-mode .hero-text h1 {
    color: var(--text-primary) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode .hero-text p {
    color: var(--text-secondary) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .poet-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .poet-card-header .line {
    background: var(--border-color) !important;
}

body.dark-mode .poet img {
    border-color: var(--border-color) !important;
}

body.dark-mode .magazine-section {
    background: var(--bg-primary) !important;
}

body.dark-mode .magazine-feature {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .magazine-feature:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .meta .dot {
    color: var(--text-muted) !important;
}

body.dark-mode .meta .date,
body.dark-mode .meta .read-time {
    color: var(--text-muted) !important;
}

body.dark-mode .blog-post-new {
    border-color: var(--border-color) !important;
}

body.dark-mode .sidebar-title-new {
    border-color: var(--border-color) !important;
}

body.dark-mode .sidebar-title-new h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .card-title-link {
    color: var(--text-primary) !important;
}

body.dark-mode .post-excerpt-new {
    color: var(--text-secondary) !important;
}

body.dark-mode .side-post-new {
    border-color: var(--border-color) !important;
}

/* Card and grid lists (Verses Stories, Verses Magazine, etc.) */
body.dark-mode .verses-story-card, 
body.dark-mode .verses-magazine-card,
body.dark-mode .magazine-card,
body.dark-mode .story-card,
body.dark-mode .card,
body.dark-mode .utility-card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

/* Form cards and panel cards (extra-pages.css) */
body.dark-mode .extra-page {
    background: radial-gradient(circle at top left, rgba(187, 134, 252, 0.08), transparent 28%),
                linear-gradient(180deg, #121212 0%, #1e1e1e 48%, #121212 100%) !important;
}

body.dark-mode .panel-card,
body.dark-mode .surface-card,
body.dark-mode .form-card {
    background: rgba(30, 30, 30, 0.9) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .panel-subtitle {
    color: var(--text-secondary) !important;
}

body.dark-mode .stat-pill,
body.dark-mode .small-pill {
    background: rgba(40, 40, 40, 0.86) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .stat-pill span,
body.dark-mode .small-pill span {
    color: var(--text-secondary) !important;
}

body.dark-mode .form-grid label {
    color: var(--text-primary) !important;
}

body.dark-mode .form-grid input,
body.dark-mode .form-grid select,
body.dark-mode .form-grid textarea {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

/* Single posts (poem_post.css, story_post.css) */
body.dark-mode .post-content-area {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .breadcrumb a {
    color: var(--text-secondary) !important;
}

body.dark-mode .breadcrumb a:hover {
    color: var(--text-accent) !important;
}

body.dark-mode .single-post-title,
body.dark-mode .post-header-top h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .single-post-meta,
body.dark-mode .post-meta-v2,
body.dark-mode .meta-item {
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .meta-author span {
    color: var(--text-secondary) !important;
}

body.dark-mode .story-text,
body.dark-mode .poem-text {
    color: var(--text-secondary) !important;
}

body.dark-mode .story-text p:first-of-type::first-letter {
    background: none !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    float: none !important;
}

body.dark-mode .story-quote {
    background: var(--bg-secondary) !important;
}

body.dark-mode .story-quote blockquote {
    color: var(--text-primary) !important;
}

body.dark-mode .story-quote i {
    color: var(--border-color) !important;
}

body.dark-mode .highlight-box {
    background: var(--bg-secondary) !important;
    border-left-color: var(--text-accent) !important;
}

body.dark-mode .highlight-box h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .post-tags {
    border-color: var(--border-color) !important;
}

body.dark-mode .tag-link {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .tag-link:hover {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
}

body.dark-mode .post-action-bar,
body.dark-mode .post-footer-actions {
    border-color: var(--border-color) !important;
}

body.dark-mode .share-icon,
body.dark-mode .share-btn {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .share-icon:hover,
body.dark-mode .share-btn:hover {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border-color: var(--btn-bg) !important;
}

body.dark-mode .like-btn {
    color: var(--text-secondary) !important;
}

body.dark-mode .post-author-box,
body.dark-mode .author-box-v2 {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .author-details p,
body.dark-mode .author-info-v2 p {
    color: var(--text-secondary) !important;
}

body.dark-mode .post-nav-links,
body.dark-mode .post-navigation-v2 {
    border-color: var(--border-color) !important;
}

body.dark-mode .nav-link,
body.dark-mode .nav-box {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .nav-box:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--text-accent) !important;
}

body.dark-mode .sidebar-widget,
body.dark-mode .post-sidebar .widget {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .widget-title,
body.dark-mode .post-sidebar .widgettitle {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .widget-title::after,
body.dark-mode .post-sidebar .widgettitle::after {
    background: var(--text-accent) !important;
}

body.dark-mode .widget-content p,
body.dark-mode .author-widget-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .widget-btn-outline {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .recent-post-item {
    color: var(--text-primary) !important;
}

body.dark-mode .recent-post-item .info span {
    color: var(--text-muted) !important;
}

body.dark-mode .category-list-v2 li {
    border-color: var(--border-color) !important;
}

body.dark-mode .cat-info {
    color: var(--text-secondary) !important;
}

body.dark-mode .cat-info i {
    color: var(--text-accent) !important;
}

body.dark-mode .cat-count {
    color: var(--text-muted) !important;
}

body.dark-mode .sidebar-quote-widget {
    background: var(--bg-secondary) !important;
}

body.dark-mode .sidebar-quote-widget p {
    color: var(--text-primary) !important;
}

body.dark-mode .sidebar-quote-widget i.fa-quote-left {
    color: var(--border-color) !important;
}

/* Comments section */
body.dark-mode .comments-area {
    border-color: var(--border-color) !important;
}

body.dark-mode .comments-title {
    color: var(--text-primary) !important;
}

body.dark-mode .comment-body {
    background: var(--bg-secondary) !important;
}

body.dark-mode .comment-header strong {
    color: var(--text-accent) !important;
}

body.dark-mode .comment-header span {
    color: var(--text-muted) !important;
}

body.dark-mode .comment-body p {
    color: var(--text-secondary) !important;
}

body.dark-mode .reply-link {
    color: var(--text-accent) !important;
}

body.dark-mode .comment-form-area {
    background: var(--bg-secondary) !important;
}

body.dark-mode .comment-form-area textarea {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

/* Shop and WooCommerce (shop.css) */
body.dark-mode .shop-body {
    background-color: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .shop-hero-banner {
    background-color: var(--bg-secondary) !important;
}

body.dark-mode .shop-hero-content h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .shop-hero-content p {
    color: var(--text-secondary) !important;
}

body.dark-mode .shop-buy-btn {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
}

body.dark-mode .shop-buy-btn:hover {
    background: var(--btn-hover-bg) !important;
}

body.dark-mode .feature-item {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .feature-icon {
    color: var(--text-accent) !important;
}

body.dark-mode .feature-text p {
    color: var(--text-secondary) !important;
}

body.dark-mode .see-all {
    color: var(--text-accent) !important;
}

body.dark-mode .shop-cat-card,
body.dark-mode .shop-p-card {
    background: var(--bg-card) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .shop-cat-card span {
    color: var(--text-muted) !important;
}

/* Utility page layouts (utility.css) */
body.dark-mode .page-hero-panel {
    background: linear-gradient(135deg, rgba(30,30,30,0.92), rgba(20,20,20,0.96)) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .hero-copy p {
    color: var(--text-secondary) !important;
}

body.dark-mode .badge {
    border-color: var(--border-color) !important;
    background: var(--bg-secondary) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .hero-art {
    background: radial-gradient(circle at top, #252525, #121212 70%) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .hero-art i {
    color: var(--text-accent) !important;
}

body.dark-mode .section-head p {
    color: var(--text-secondary) !important;
}

body.dark-mode .filter-chip {
    border-color: var(--border-color) !important;
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .filter-chip.active {
    background: linear-gradient(135deg, var(--btn-bg), var(--btn-hover-bg)) !important;
    color: var(--btn-text) !important;
    border-color: transparent !important;
}

body.dark-mode .search-box-wide input,
body.dark-mode .form-field input,
body.dark-mode .form-field textarea,
body.dark-mode .form-field select {
    border-color: var(--border-input) !important;
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
}

/* ============================================================
   HOME PAGE (home.css) — hardcoded color fixes
   ============================================================ */

/* Hero section text */
body.dark-mode .hero-text h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .hero-text p {
    color: var(--text-secondary) !important;
}

/* Poet card */
body.dark-mode .poet-card-header h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .poet-card-header a {
    color: var(--text-muted) !important;
}

body.dark-mode .poet-card-header a:hover {
    color: var(--text-secondary) !important;
}

body.dark-mode .poet span {
    color: var(--text-secondary) !important;
}

/* Blog section */
body.dark-mode .magazine-section {
    background: var(--bg-primary) !important;
}

body.dark-mode .magazine-section-title {
    color: var(--text-accent) !important;
}

body.dark-mode .magazine-feature h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .magazine-feature p {
    color: var(--text-secondary) !important;
}

body.dark-mode .magazine-feature,
body.dark-mode .magazine-small-post {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .magazine-small-post h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .post-divider {
    background: var(--border-color) !important;
}

body.dark-mode .magazine-small-col:not(.right-most) {
    border-right-color: var(--border-color) !important;
}

/* Meta labels */
body.dark-mode .magazine-section .meta .category {
    color: var(--text-accent) !important;
}

body.dark-mode .magazine-section .meta .category a {
    color: var(--text-accent) !important;
}

body.dark-mode .magazine-section .meta .dot {
    color: var(--text-muted) !important;
}

body.dark-mode .magazine-section .meta .date,
body.dark-mode .magazine-section .meta .read-time {
    color: var(--text-muted) !important;
}

/* Card section (Popular) */
body.dark-mode .popular {
    background: var(--bg-secondary) !important;
}

body.dark-mode .popular h2,
body.dark-mode .category h2 {
    color: var(--text-primary) !important;
}

body.dark-mode .popular .divider .line,
body.dark-mode .category .divider .line {
    background: var(--text-accent) !important;
}

body.dark-mode .popular .divider .icon,
body.dark-mode .category .divider .icon {
    color: var(--text-accent) !important;
}

body.dark-mode .card h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .card .meta {
    color: var(--text-muted) !important;
}

/* Category section */
body.dark-mode .category {
    background: var(--bg-secondary) !important;
}

body.dark-mode .cat {
    background: var(--bg-card) !important;
}

/* Testimonial section */
body.dark-mode .testimonial {
    background-color: var(--bg-secondary) !important;
}

body.dark-mode .testimonial-content h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .testimonial-content p {
    color: var(--text-secondary) !important;
}

body.dark-mode .nav-btn {
    border-color: var(--border-color) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .nav-btn:hover {
    background: var(--bg-card) !important;
}

/* ============================================================
   UTILITY PAGES (utility.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .hero-copy p {
    color: var(--text-secondary) !important;
}

body.dark-mode .section-head h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .section-head p {
    color: var(--text-secondary) !important;
}

body.dark-mode .archive-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .archive-card .meta {
    color: var(--text-muted) !important;
}

body.dark-mode .archive-card h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .archive-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .archive-card a.more {
    color: var(--text-date) !important;
}

body.dark-mode .archive-card .thumb {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card)) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .stat-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .stat-card strong {
    color: var(--text-accent) !important;
}

body.dark-mode .stat-card span {
    color: var(--text-secondary) !important;
}

body.dark-mode .team-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .team-card h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .team-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .contact-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .contact-item h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .contact-item p {
    color: var(--text-secondary) !important;
}

body.dark-mode .contact-item i {
    background: var(--bg-secondary) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .info-box {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .info-box h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .info-box p {
    color: var(--text-secondary) !important;
}

body.dark-mode .timeline-item::before {
    background: var(--text-accent) !important;
}

body.dark-mode .timeline-item::after {
    background: var(--border-color) !important;
}

body.dark-mode .form-status {
    color: var(--text-accent) !important;
}

/* ============================================================
   POEM POST (poem_post.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .breadcrumb {
    color: var(--text-muted) !important;
}

body.dark-mode .breadcrumb a {
    color: var(--text-secondary) !important;
}

body.dark-mode .breadcrumb .slash,
body.dark-mode .breadcrumb .current {
    color: var(--text-muted) !important;
}

body.dark-mode .single-post-title {
    color: var(--text-primary) !important;
}

body.dark-mode .single-post-meta {
    color: var(--text-muted) !important;
}

body.dark-mode .meta-dot {
    color: var(--border-color) !important;
}

body.dark-mode .post-action-bar {
    border-color: var(--border-color) !important;
}

body.dark-mode .social-share span {
    color: var(--text-secondary) !important;
}

body.dark-mode .share-icon {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .action-btn {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .poem-text {
    color: var(--text-secondary) !important;
}

body.dark-mode .author-details h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .author-details p {
    color: var(--text-secondary) !important;
}

body.dark-mode .author-socials a {
    color: var(--text-muted) !important;
}

body.dark-mode .nav-text span {
    color: var(--text-muted) !important;
}

body.dark-mode .nav-text strong {
    color: var(--text-primary) !important;
}

body.dark-mode .nav-link i {
    color: var(--text-muted) !important;
}

body.dark-mode .s-post-info strong {
    color: var(--text-primary) !important;
}

body.dark-mode .s-post-info span {
    color: var(--text-muted) !important;
}

body.dark-mode .categories-widget li {
    border-bottom-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .categories-widget li b {
    color: var(--text-muted) !important;
}

body.dark-mode .comments-title {
    color: var(--text-primary) !important;
}

body.dark-mode .comment-body {
    background: var(--bg-secondary) !important;
}

body.dark-mode .comment-header strong {
    color: var(--text-accent) !important;
}

body.dark-mode .comment-header span {
    color: var(--text-muted) !important;
}

body.dark-mode .comment-body p {
    color: var(--text-secondary) !important;
}

body.dark-mode .comment-form-area {
    background: var(--bg-secondary) !important;
}

body.dark-mode .comment-form-area h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .comment-form-area textarea {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

/* ============================================================
   STORY POST (story_post.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .post-header-top h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .post-excerpt {
    color: var(--text-secondary) !important;
}

body.dark-mode .post-meta-v2 {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .meta-author span {
    color: var(--text-secondary) !important;
}

body.dark-mode .meta-item {
    color: var(--text-muted) !important;
}

body.dark-mode .story-text {
    color: var(--text-secondary) !important;
}

body.dark-mode .story-quote {
    background: var(--bg-secondary) !important;
}

body.dark-mode .story-quote blockquote {
    color: var(--text-primary) !important;
}

body.dark-mode .post-tags span {
    color: var(--text-muted) !important;
}

body.dark-mode .post-tags {
    border-top-color: var(--border-color) !important;
}

body.dark-mode .post-footer-actions {
    border-top-color: var(--border-color) !important;
}

body.dark-mode .share-btns span {
    color: var(--text-secondary) !important;
}

body.dark-mode .share-btn {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .like-btn {
    color: var(--text-secondary) !important;
}

body.dark-mode .author-box-v2 {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .author-info-v2 h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .author-info-v2 p {
    color: var(--text-secondary) !important;
}

body.dark-mode .author-socials-v2 {
    color: var(--text-muted) !important;
}

body.dark-mode .post-navigation-v2 {
    border-color: var(--border-color) !important;
}

body.dark-mode .nav-box {
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
    background: transparent !important;
}

body.dark-mode .nav-box:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--text-accent) !important;
}

body.dark-mode .nav-content span {
    color: var(--text-muted) !important;
}

body.dark-mode .nav-content strong {
    color: var(--text-primary) !important;
}

body.dark-mode .author-widget-card h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .author-widget-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .recent-post-item {
    color: var(--text-primary) !important;
}

body.dark-mode .recent-post-item .info strong {
    color: var(--text-primary) !important;
}

body.dark-mode .recent-post-item .info span {
    color: var(--text-muted) !important;
}

body.dark-mode .cat-info {
    color: var(--text-secondary) !important;
}

body.dark-mode .cat-info i {
    color: var(--text-accent) !important;
}

body.dark-mode .cat-count {
    color: var(--text-muted) !important;
}

body.dark-mode .sidebar-quote-widget {
    background: var(--bg-secondary) !important;
}

body.dark-mode .sidebar-quote-widget p {
    color: var(--text-primary) !important;
}

body.dark-mode .sidebar-quote-widget i.fa-quote-left {
    color: var(--border-color) !important;
}

body.dark-mode .widget-btn-outline {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .category-list-v2 li {
    border-bottom-color: var(--border-color) !important;
}

/* ============================================================
   POEM ARCHIVE / STORY ARCHIVE — hardcoded color fixes
   ============================================================ */

body.dark-mode .archive-banner {
    background-color: transparent !important;
    border-bottom-color: transparent !important;
}

body.dark-mode .archive-banner-flex {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

body.dark-mode .banner-content h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .banner-content p {
    color: var(--text-secondary) !important;
}

body.dark-mode .banner-content .banner-divider::before,
body.dark-mode .banner-content .banner-divider::after {
    background: var(--border-color) !important;
}

body.dark-mode .banner-content .banner-divider .ornament {
    color: var(--text-muted) !important;
}

body.dark-mode .filter-tabs {
    background: var(--bg-secondary) !important;
}

body.dark-mode .filter-btn {
    color: var(--text-secondary) !important;
    background: transparent !important;
}

body.dark-mode .filter-btn.active {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
}

body.dark-mode .sort-group label {
    color: var(--text-secondary) !important;
}

body.dark-mode .sort-select {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .archive-search input {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .archive-search i {
    color: var(--text-muted) !important;
}

body.dark-mode .card-text h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .card-text p {
    color: var(--text-secondary) !important;
}

body.dark-mode .card-meta {
    color: var(--text-muted) !important;
}

body.dark-mode .card-meta i {
    color: var(--text-muted) !important;
}

body.dark-mode .read-more-link {
    color: var(--text-accent) !important;
}

body.dark-mode .page-circle,
body.dark-mode .pagination-circles .page-numbers {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
}

body.dark-mode .page-circle.active,
body.dark-mode .pagination-circles .page-numbers.current {
    background: var(--btn-bg) !important;
    border-color: var(--btn-bg) !important;
    color: var(--btn-text) !important;
}

body.dark-mode .pagination-circles .page-numbers:hover:not(.current):not(.dots) {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .archive-ad-section {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .ad-placeholder-v2 {
    color: var(--text-muted) !important;
}

/* ============================================================
   ARCHIVE ADDA (archive_adda.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .adda-hero {
    background: transparent !important;
}

body.dark-mode .adda-hero .container {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .adda-hero-text h1 {
    color: var(--text-primary) !important;
}

body.dark-mode .adda-hero-text p {
    color: var(--text-secondary) !important;
}

body.dark-mode .adda-cat-card {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode .adda-cat-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

body.dark-mode .cat-info h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .cat-info span {
    color: var(--text-muted) !important;
}

body.dark-mode .adda-content-area {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .adda-tabs {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .adda-tab {
    color: var(--text-muted) !important;
}

body.dark-mode .adda-tab.active {
    color: var(--text-accent) !important;
}

body.dark-mode .adda-tab.active::after {
    background: var(--text-accent) !important;
}

body.dark-mode .discussion-item {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .item-main h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .item-main p {
    color: var(--text-secondary) !important;
}

body.dark-mode .item-meta {
    color: var(--text-muted) !important;
}

body.dark-mode .author-meta {
    color: var(--text-secondary) !important;
}

body.dark-mode .cat-badge-sm {
    background: var(--bg-secondary) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .item-stats {
    color: var(--text-muted) !important;
}

body.dark-mode .adda-sidebar-widget {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .member-info strong {
    color: var(--text-primary) !important;
}

body.dark-mode .member-info span {
    color: var(--text-muted) !important;
}

body.dark-mode .follow-btn {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .daily-q-box {
    background: var(--bg-secondary) !important;
}

body.dark-mode .daily-q-box h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .daily-q-box p {
    color: var(--text-secondary) !important;
}

/* ============================================================
   ARCHIVE MAGAZINE (archive_magazine.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .trending-widget {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .trending-widget h3 {
    color: var(--text-primary) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .trending-item {
    color: var(--text-secondary) !important;
}

body.dark-mode .trending-info strong {
    color: var(--text-primary) !important;
}

body.dark-mode .trending-info span {
    color: var(--text-muted) !important;
}

body.dark-mode .sec-title-flex {
    background: var(--bg-card, #231e1a) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .sec-title-flex h2 {
    color: var(--text-primary, #ffffff) !important;
}

body.dark-mode .sec-title-flex .see-all {
    color: var(--text-muted, #e0d0c0) !important;
}

body.dark-mode .mag-card {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode .mag-card-content .cat {
    color: var(--text-accent) !important;
}

body.dark-mode .mag-card-content h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .mag-author span {
    color: var(--text-muted) !important;
}

body.dark-mode .cat-box {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode .cat-box-header {
    background: var(--bg-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .cat-box-header h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .cat-box-header i {
    color: var(--text-accent) !important;
}

body.dark-mode .cat-item-sm {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .cat-item-sm .info strong {
    color: var(--text-primary) !important;
}

body.dark-mode .cat-item-sm .info span {
    color: var(--text-muted) !important;
}

body.dark-mode .cat-box-footer {
    border-top-color: var(--border-color) !important;
}

body.dark-mode .life-hack-box {
    background: var(--bg-secondary) !important;
}

body.dark-mode .life-hack-text h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .life-hack-text p {
    color: var(--text-secondary) !important;
}

body.dark-mode .newsletter-box {
    background: var(--bg-secondary) !important;
}

body.dark-mode .newsletter-box h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .newsletter-box p {
    color: var(--text-secondary) !important;
}

body.dark-mode .newsletter-form input {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

/* ============================================================
   MAGAZINE POST (magazine_post.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .post-meta-v3 {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .meta-author-v3 span {
    color: var(--text-secondary) !important;
}

body.dark-mode .meta-info-v3 {
    color: var(--text-muted) !important;
}

body.dark-mode .action-icon-btn {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
}

body.dark-mode .action-icon-btn:hover {
    background: var(--bg-secondary) !important;
    color: var(--text-accent) !important;
    border-color: var(--text-accent) !important;
}

body.dark-mode .article-text {
    color: var(--text-secondary) !important;
}

body.dark-mode .article-sec-title {
    color: var(--text-primary) !important;
}

body.dark-mode .step-content strong {
    color: var(--text-primary) !important;
}

body.dark-mode .step-content p {
    color: var(--text-secondary) !important;
}

body.dark-mode .mag-quote-box {
    background: var(--bg-secondary) !important;
}

body.dark-mode .mag-quote-box blockquote {
    color: var(--text-primary) !important;
}

body.dark-mode .tag-btn {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .author-bio-v3 {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .author-bio-info h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .author-bio-info p {
    color: var(--text-secondary) !important;
}

body.dark-mode .author-widget-v3 p {
    color: var(--text-secondary) !important;
}

body.dark-mode .newsletter-widget-v3 p {
    color: var(--text-secondary) !important;
}

body.dark-mode .newsletter-widget-v3 input {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .post-tags-v3 {
    border-top-color: var(--border-color) !important;
}

/* ============================================================
   ADDA POST (adda_post.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .post-meta-v4 {
    color: var(--text-muted) !important;
}

body.dark-mode .meta-author-v4 strong {
    color: var(--text-secondary) !important;
}

body.dark-mode .post-body-text {
    color: var(--text-secondary) !important;
}

body.dark-mode .engagement-bar {
    border-top-color: var(--border-color) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .eng-btn {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .eng-btn:hover {
    background: var(--bg-card) !important;
}

body.dark-mode .comment-input-box {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .input-container {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .input-container textarea {
    background: transparent !important;
    color: var(--text-primary) !important;
}

body.dark-mode .input-icons {
    color: var(--text-muted) !important;
}

body.dark-mode .comment-item-v4 {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .comment-header-v4 strong {
    color: var(--text-accent) !important;
}

body.dark-mode .comment-header-v4 span {
    color: var(--text-muted) !important;
}

body.dark-mode .comment-text-v4 {
    color: var(--text-secondary) !important;
}

body.dark-mode .comment-actions-v4 {
    color: var(--text-muted) !important;
}

body.dark-mode .stat-item strong {
    color: var(--text-primary) !important;
}

body.dark-mode .stat-item span {
    color: var(--text-muted) !important;
}

body.dark-mode .trending-item-v4 {
    color: var(--text-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .trend-num {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .trend-info h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .trend-info span {
    color: var(--text-muted) !important;
}

body.dark-mode .member-item-v4 .member-info-v4 strong {
    color: var(--text-primary) !important;
}

body.dark-mode .member-item-v4 .member-info-v4 span {
    color: var(--text-muted) !important;
}

body.dark-mode .follow-btn-v4 {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .quote-widget-v4 {
    background: var(--bg-secondary) !important;
}

body.dark-mode .quote-widget-v4 p {
    color: var(--text-primary) !important;
}

body.dark-mode .about-adda-box p {
    color: var(--text-secondary) !important;
}

/* ============================================================
   WRITE ADDA POST (write_adda_post.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .write-card {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .write-card h2 {
    color: var(--text-primary) !important;
}

body.dark-mode .write-card p.subtitle {
    color: var(--text-muted) !important;
}

body.dark-mode .form-group label {
    color: var(--text-primary) !important;
}

body.dark-mode .char-count {
    color: var(--text-muted) !important;
}

body.dark-mode .form-control {
    background: var(--bg-input) !important;
    border-color: var(--border-input) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .form-control:focus {
    border-color: var(--text-accent) !important;
    background: var(--bg-input) !important;
}

body.dark-mode .cat-option {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
}

body.dark-mode .cat-option:hover,
body.dark-mode .cat-option.active {
    border-color: var(--text-accent) !important;
    background: var(--bg-secondary) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .editor-wrapper {
    border-color: var(--border-color) !important;
}

body.dark-mode .editor-toolbar {
    background: var(--bg-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .toolbar-group {
    border-right-color: var(--border-color) !important;
}

body.dark-mode .toolbar-btn {
    color: var(--text-secondary) !important;
}

body.dark-mode .toolbar-btn:hover {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

body.dark-mode .editor-content textarea,
body.dark-mode .editor-content .wysiwyg-editor {
    background: transparent !important;
    color: var(--text-primary) !important;
}

body.dark-mode .upload-box {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .upload-box span {
    color: var(--text-secondary) !important;
}

body.dark-mode .upload-box small {
    color: var(--text-muted) !important;
}

body.dark-mode .extra-options {
    border-top-color: var(--border-color) !important;
}

body.dark-mode .check-text strong {
    color: var(--text-primary) !important;
}

body.dark-mode .check-text span {
    color: var(--text-muted) !important;
}

body.dark-mode .btn-draft {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .btn-preview {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-accent) !important;
}

body.dark-mode .write-sidebar-widget {
    background: var(--bg-card) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .widget-title-v5 {
    color: var(--text-primary) !important;
}

body.dark-mode .about-item {
    color: var(--text-secondary) !important;
}

body.dark-mode .tip-item {
    color: var(--text-secondary) !important;
}

body.dark-mode .guideline-item {
    color: var(--text-secondary) !important;
}

body.dark-mode .btn-all-guide {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

/* ============================================================
   EXTRA PAGES (extra-pages.css) — hardcoded color fixes
   ============================================================ */

body.dark-mode .panel-subtitle {
    color: var(--text-secondary) !important;
}

body.dark-mode .stat-pill span,
body.dark-mode .small-pill span {
    color: var(--text-secondary) !important;
}

body.dark-mode .mini-item {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .mini-item h4 {
    color: var(--text-primary) !important;
}

body.dark-mode .mini-item p {
    color: var(--text-secondary) !important;
}

body.dark-mode .data-table th {
    color: var(--text-accent) !important;
}

body.dark-mode .data-table td {
    color: var(--text-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .data-table th {
    border-bottom-color: var(--border-color) !important;
}

body.dark-mode .profile-card {
    background: linear-gradient(180deg, rgba(187, 134, 252, 0.07), var(--bg-card)) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .bookmark-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .bookmark-card h3 {
    color: var(--text-primary) !important;
}

body.dark-mode .bookmark-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .bookmark-card .meta {
    color: var(--text-muted) !important;
}

body.dark-mode .notice-card {
    background: linear-gradient(180deg, rgba(187, 134, 252, 0.07), var(--bg-card)) !important;
    border-color: var(--border-color) !important;
}

body.dark-mode .error-code {
    color: var(--text-accent) !important;
}

body.dark-mode .error-card p {
    color: var(--text-secondary) !important;
}

body.dark-mode .empty-state {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-mode .status-line {
    color: var(--text-accent) !important;
}

body.dark-mode .action-btn.secondary {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-accent) !important;
}

/* ============================================================
   GLOBAL FALLBACKS — catch any remaining hardcoded colors
   ============================================================ */

/* Section backgrounds that use hardcoded light colors */
body.dark-mode .adda-main-layout .adda-content-area,
body.dark-mode .magazine-container {
    background: var(--bg-primary) !important;
}

/* Form inputs across all pages */
body.dark-mode input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
body.dark-mode textarea,
body.dark-mode select {
    background-color: var(--bg-input);
    border-color: var(--border-input);
    color: var(--text-primary);
}

/* All labels */
body.dark-mode label {
    color: var(--text-primary);
}

/* Placeholder text */
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

/* ============================================================
   BACKGROUND IMAGE OVERLAYS — dark mode strengthening
   ============================================================ */

/* Archive banner (poem_archive.css) — swap light gradient for dark */
body.dark-mode .archive-banner {
    background-color: transparent !important;
    background-image: none !important;
    border-bottom: none !important;
}

body.dark-mode .archive-banner-flex {
    background-image:
        linear-gradient(
            to right,
            rgba(18, 18, 18, 0.92) 0%,
            rgba(18, 18, 18, 0.70) 50%,
            rgba(18, 18, 18, 0.35) 100%
        ),
        url('../img/illustration.webp') !important;
    background-color: var(--bg-secondary) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: normal !important;
    border: 1px solid var(--border-color) !important;
}

body.dark-mode .banner-content h1 {
    color: var(--text-primary) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .banner-content p {
    color: var(--text-secondary) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8) !important;
}

/* Story banner in story_archive.css — deepen the overlay */
body.dark-mode .story-banner {
    background-color: transparent !important;
    background-image: none !important;
}

body.dark-mode .story-banner .archive-banner-flex {
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.50) 50%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        url('../img/story-banner.webp') !important;
    background-color: #0a0604 !important;
}

body.dark-mode .story-banner .banner-content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 28px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode .story-banner .banner-content p {
    color: #e8ddd0 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9) !important;
}

/* Story banner inside poem_archive.css (.story-banner .container) */
body.dark-mode .story-banner .container {
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.42) 40%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        url('../img/story-banner.webp') !important;
    background-blend-mode: normal !important;
}

body.dark-mode .story-banner .banner-content h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 28px rgba(0, 0, 0, 0.7) !important;
}

/* Magazine hero content — already has gradient, boost text-shadow in dark mode */
body.dark-mode .mag-hero-content h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 28px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode .mag-hero-content p {
    color: #d8d0c0 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9) !important;
}

/* Promo widget in magazine_post.css — boost overlay in dark mode */
body.dark-mode .promo-widget {
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.55) 40%,
            rgba(0, 0, 0, 0.80) 100%
        ),
        url('https://images.unsplash.com/photo-1516979187457-637abb4f9353?w=400&h=400&fit=crop') !important;
    background-blend-mode: normal !important;
}

body.dark-mode .promo-widget h4 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

/* Mobile & Tablet menu dark mode transparency override */
@media (max-width: 799px) {
    body.dark-mode .nav-menu {
        background: rgba(26, 26, 26, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }
    body.dark-mode .nav-menu a:hover,
    body.dark-mode .nav-menu li a:hover,
    body.dark-mode .nav-menu a.active,
    body.dark-mode .nav-menu li.current-menu-item > a,
    body.dark-mode .nav-menu li.current_page_item > a,
    body.dark-mode .nav-menu li.current-menu-ancestor > a {
        background: rgba(139, 74, 74, 0.15) !important;
        color: #ff8585 !important;
        border-left-color: #ff8585 !important;
    }
    body.dark-mode .nav-menu > a:first-child {
        padding-left: 20px !important;
    }
    body.dark-mode .nav-menu .sub-menu {
        background: rgba(0, 0, 0, 0.15) !important;
        border-top-color: rgba(255, 255, 255, 0.04) !important;
        border-bottom-color: rgba(255, 255, 255, 0.04) !important;
    }
    body.dark-mode .submenu-toggle {
        color: #aaa !important;
    }
    body.dark-mode .submenu-toggle:hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }
}

/* Desktop Dropdown Dark Mode styling */
@media (min-width: 800px) {
    body.dark-mode .nav-menu .sub-menu {
        background: rgba(30, 30, 30, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }
    body.dark-mode .nav-menu .sub-menu li a {
        color: #e2e2e2 !important;
    }
    body.dark-mode .nav-menu .sub-menu li a:hover,
    body.dark-mode .nav-menu .sub-menu li.current-menu-item > a,
    body.dark-mode .nav-menu .sub-menu li.current_page_item > a,
    body.dark-mode .nav-menu .sub-menu li.current-menu-ancestor > a {
        background: rgba(139, 74, 74, 0.15) !important;
        color: #ff8585 !important;
        border-left-color: #ff8585 !important;
    }
}

/* Make main menu items white in dark mode */
body.dark-mode .nav-menu a,
body.dark-mode .nav-menu li a {
    color: #ffffff;
}

/* Audio Menu Item Dark Mode */
body.dark-mode .nav-menu li.menu-item-audio > a,
body.dark-mode .nav-menu li.menu-item-2814 > a,
body.dark-mode .nav-menu a.menu-audio-btn {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3d1a 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .nav-menu li.menu-item-audio > a:hover,
body.dark-mode .nav-menu li.menu-item-2814 > a:hover,
body.dark-mode .nav-menu a.menu-audio-btn:hover {
    background: linear-gradient(135deg, #356b2f 0%, #254a20 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.5) !important;
}

/* Scroll to top button in Dark Mode */
body.dark-mode .scroll-top-btn {
    background-color: #7a3e9d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .scroll-top-btn:hover {
    background-color: #6a3587 !important;
}

