/*
Theme Name: Dyutam Custom
Theme URI: https://dyutam.com
Author: Dyutam Casino Reviews
Author URI: https://dyutam.com
Description: Modern casino review theme with soft, eye-friendly design focused on readability and user experience
Version: 2.0.6
License: GPL v2 or later
Text Domain: dyutam-custom
*/

:root {
    /* Dyutam Custom Color Palette - Soft & Modern */
    --bg-primary: #1a1d29;
    --bg-surface: #232838;
    --bg-elevated: #2d3348;
    --text-primary: #f5f5f5;
    --text-secondary: #c4c4c4;
    --text-muted: #9ca3af;

    /* Soft Accent Colors - Eye-Friendly */
    --accent-primary: #14b8a6;
    --accent-primary-hover: #2dd4bf;
    --accent-electric: #14b8a6; /* Legacy compatibility */
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;

    /* Borders */
    --border-brutal: 5px;
    --border-thin: 2px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography - Professional Readability */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Montserrat', 'Impact', sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', monospace;

    /* Layout */
    --layout-max-width: 1600px;
    --layout-gutter: var(--space-lg);
    --divider-thickness: 3px;
    --section-gap: var(--space-2xl);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    background: #0a0c10;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper - ensures footer is at bottom */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
}

#content {
    flex: 1;
}

.site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Brutal Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            var(--accent-electric) 50px,
            var(--accent-electric) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            var(--accent-electric) 50px,
            var(--accent-electric) 51px
        );
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-electric);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    text-decoration: underline;
}

button,
.button,
input[type="submit"] {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

p {
    margin: 0 0 var(--space-md);
    color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-md);
    letter-spacing: -0.02em;
    text-transform: none;
}

ul, ol {
    margin: 0 0 var(--space-md) var(--space-lg);
}

/* Container Styles - Consistent Layout */
.container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
    width: 100%;
}

.site-container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter) var(--space-2xl);
    width: 100%;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    margin-bottom: 0;
}

@media (min-width: 1920px) {
    :root {
        --layout-max-width: 1800px;
    }
}

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Header Styles - Premium Modern Design */
.site-header {
    background: #14161f;
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
    padding: 0;
    width: 100%;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
    contain: layout style;
}

.site-header::after {
    display: none;
}

.header-inner {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: var(--space-sm) var(--layout-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    margin-right: auto;
}

.site-logo-text {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.site-logo-text {
    text-decoration: none;
}

.site-logo-text:hover {
    text-decoration: none;
}

.site-logo-text .logo-text {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 0;
}

.mobile-nav-extra {
    display: none;
}

.main-navigation ul {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.01em;
    padding: var(--space-sm) var(--space-lg);
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-electric);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navigation a:hover {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.12);
    text-shadow: none;
}

.main-navigation a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.main-navigation .current-menu-item > a {
    color: var(--accent-electric);
    background: rgba(20, 184, 166, 0.1);
}

.main-navigation .current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #14b8a6 0%, #00cc6a 100%);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25), 0 0 0 1px rgba(20, 184, 166, 0.1);
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35), 0 0 0 1px rgba(20, 184, 166, 0.3);
    color: var(--bg-primary);
}

/* Search Toggle Button - REMOVED (Search moved to sidebar) */

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--accent-electric);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.menu-toggle span:first-child {
    top: 13px;
}

.menu-toggle span:nth-child(2) {
    top: 19px;
}

.menu-toggle span:last-child {
    top: 25px;
}

.menu-toggle.active span:first-child {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Search Dropdown - REMOVED (Search moved to sidebar) */

@media (max-width: 1024px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(20, 184, 166, 0.15);
        padding: var(--space-xl);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .main-navigation a {
        display: block;
        padding: var(--space-md);
        border-radius: 6px;
    }

    .mobile-nav-extra {
        margin-top: var(--space-xl);
        display: block;
    }

    .header-cta-mobile {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        padding: var(--space-md) var(--space-xl);
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    /* Search dropdown mobile - REMOVED */
}

@media (max-width: 768px) {
    .site-logo-text .logo-text {
        font-size: 1.5rem;
    }

    .header-inner {
        height: 70px;
    }

    /* Search dropdown mobile - REMOVED */
}

/* Hero Section */
.hero-section {
    padding: var(--space-xs) 0 var(--space-md);
    border-bottom: none;
    margin-bottom: var(--space-md);
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, transparent 50%);
    min-height: auto;
    contain: layout style;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    display: block;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-electric);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border: 2px solid var(--accent-electric);
    background: rgba(20, 184, 166, 0.1);
    position: relative;
    z-index: 10;
}

.hero-heading {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none;
    letter-spacing: -0.02em;
    font-weight: 800;
    position: relative;
    z-index: 10;
    clear: both;
    max-width: 100%;
    min-height: 1.15em;
}

/* Mobile hero heading - allow text wrapping */
@media (max-width: 768px) {
    .hero-heading {
        white-space: normal;
        word-wrap: break-word;
    }
}

.hero-description {
    font-size: 1.0625rem;
    color: #c4c4c4;
    line-height: 1.7;
    max-width: 100%;
    width: 100%;
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

.hero-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px dotted rgba(20, 184, 166, 0.3);
    text-underline-offset: 3px;
}

.hero-link svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0.85;
}

.hero-link:hover {
    color: var(--accent-primary-hover);
    border-bottom-color: var(--accent-primary-hover);
    text-decoration: none;
}

.hero-link:hover svg {
    transform: translate(3px, -3px);
    opacity: 1;
}

.hero-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    text-decoration: none;
}

/* Featured Content Section */
.featured-content-section {
    margin: var(--space-xl) 0 var(--space-3xl);
}

.featured-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.featured-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0;
    white-space: nowrap;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.featured-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-lg);
    gap: var(--space-md);
    contain: layout style;
    will-change: transform;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(20, 184, 166, 0.3);
    text-decoration: none;
}

.featured-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-card-category {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm);
    line-height: 1.3;
}

.featured-card:hover .featured-card-title {
    color: var(--accent-primary);
}

.featured-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.featured-card-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.featured-card-arrow svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.featured-card:hover .featured-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent-primary);
}

.featured-card:hover .featured-card-arrow svg {
    color: var(--bg-primary);
}

/* Featured Section Responsive */
@media (max-width: 1400px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .featured-card {
        padding: var(--space-md);
    }

    .featured-card-title {
        font-size: 1rem;
    }

    .featured-card-desc {
        font-size: 0.8125rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .featured-card-arrow {
        display: none;
    }

    .featured-header {
        gap: var(--space-md);
    }
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
    padding-bottom: var(--space-sm);
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--divider-thickness) - 5px);
    left: 0;
    width: 80px;
    height: var(--divider-thickness);
    background: var(--accent-electric);
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.8);
}

.category-filters {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--text-muted);
    background: transparent;
    transition: all 0.2s ease;
}

.filter-link:hover {
    color: var(--accent-electric);
    border-color: var(--accent-electric);
    background: rgba(20, 184, 166, 0.1);
}

/* Prevent layout shift on main content container */
#content.site-content {
    contain: layout style;
    will-change: auto;
}

/* Articles Grid - Larger Cards for Better Content Display */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1920px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background: var(--bg-surface);
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    /* Removed animation to prevent layout shift */
    /* animation: fadeInUp 0.6s ease-out backwards; */
    contain: layout;
    min-height: 420px;
}

/* Animation delays removed to prevent layout shift
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; } */

.article-card:hover {
    border-color: #14b8a6;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15), 0 0 0 1px rgba(20, 184, 166, 0.3);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-elevated);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-image img {
    transform: scale(1.05);
}

.card-rating {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: linear-gradient(135deg, #0a0a0a 0%, #161616 100%);
    color: #14b8a6;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    padding: var(--space-sm) var(--space-lg);
    border: 3px solid #14b8a6;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: var(--space-xl);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-category {
    color: var(--accent-electric);
}

.card-title {
    margin-bottom: var(--space-lg);
}

.card-title a {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    display: block;
}

/* No Content */
.no-content {
    padding: var(--space-4xl);
    text-align: center;
    border: 2px dashed var(--text-muted);
}

.no-content-inner h3 {
    color: var(--accent-electric);
    margin-bottom: var(--space-md);
}

.back-home-btn {
    display: inline-block;
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-xl);
    background: var(--accent-electric);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--accent-electric);
}

.back-home-btn:hover {
    background: transparent;
    color: var(--accent-electric);
}

/* Pagination */
.pagination-nav {
    margin-top: var(--space-2xl);
    display: flex;
    justify-content: center;
}

.pagination-nav ul {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-nav a,
.pagination-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-secondary);
    border: 2px solid var(--text-muted);
    background: transparent;
    transition: all 0.2s ease;
}

.pagination-nav a:hover,
.pagination-nav .current {
    color: var(--accent-electric);
    border-color: var(--accent-electric);
    background: rgba(20, 184, 166, 0.1);
}

/* Single Article */
.single-article {
    background: var(--bg-surface);
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: var(--space-xl) var(--layout-gutter);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.article-header {
    margin-bottom: var(--space-2xl);
    padding: 0 0 var(--space-xl);
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}

.article-meta-top {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.article-category a {
    color: var(--accent-electric);
    font-weight: 600;
}

.article-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #ffffff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none;
    font-weight: 800;
}

.article-featured-image {
    margin: var(--space-lg) 0 var(--space-2xl);
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-elevated);
    padding: 0;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #e8e8e8;
    letter-spacing: 0.01em;
    padding: 0 0 var(--section-gap);
}

.article-content h2 {
    position: relative;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-content h2:first-of-type {
    margin-top: var(--space-2xl);
}

.article-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    letter-spacing: -0.005em;
    line-height: 1.4;
}

.article-content h4 {
    color: var(--text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.article-content p {
    margin-bottom: var(--space-lg);
    color: #e8e8e8;
}

.article-content a {
    color: #14b8a6;
    text-decoration: none;
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
    transition: all 0.2s ease;
}

.article-content a:hover {
    border-bottom-color: #14b8a6;
    color: #00ffaa;
    text-shadow: none;
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.article-content li {
    margin-bottom: var(--space-md);
    line-height: 1.75;
    color: #e8e8e8;
}

/* Better readability for emphasis elements */
.article-content strong,
.article-content b {
    color: var(--text-primary);
    font-weight: 700;
}

.article-content em,
.article-content i {
    color: rgba(160, 160, 160, 0.9);
    font-style: italic;
}

.article-content code {
    background: var(--bg-elevated);
    color: var(--accent-electric);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 2px solid var(--text-muted);
}

.article-tags a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-md);
    border: 2px solid var(--text-muted);
}

.article-tags a:hover {
    color: var(--accent-electric);
    border-color: var(--accent-electric);
}

/* Author Box - Improved */
.single-article .author-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 32px !important;
    margin-top: 60px !important;
    padding: 40px !important;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(35, 40, 56, 0.6) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.single-article .author-box::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: var(--accent-electric) !important;
}

.single-article .author-box-avatar {
    flex-shrink: 0 !important;
    position: relative !important;
}

.single-article .author-box-avatar img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 4px solid var(--bg-elevated) !important;
    box-shadow: 0 0 0 2px var(--accent-electric), 0 8px 20px rgba(0,0,0,0.4) !important;
    object-fit: cover !important;
    display: block !important;
}

.single-article .author-box-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.single-article .author-box-label {
    display: inline-block !important;
    font-family: var(--font-mono) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--accent-electric) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 8px !important;
    opacity: 0.9 !important;
}

.single-article .author-box-name {
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.single-article .author-box-name a {
    color: #f5f5f5 !important;
    text-decoration: none !important;
    background: none !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    transition: all 0.2s ease !important;
}

.single-article .author-box-name a:hover {
    color: var(--accent-electric) !important;
    -webkit-text-fill-color: var(--accent-electric) !important;
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.4) !important;
}

.single-article .author-box-bio {
    font-size: 1.05rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.75 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

.single-article .author-box-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: var(--accent-electric) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    padding-bottom: 2px !important;
    border-bottom: 2px solid transparent !important;
}

.single-article .author-box-link:hover {
    color: var(--accent-primary-hover) !important;
    border-bottom-color: transparent !important;
    text-decoration: none !important;
}

.single-article .author-box-link svg {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease !important;
}

.single-article .author-box-link:hover svg {
    transform: translateX(4px) !important;
}

@media (max-width: 768px) {
    .single-article .author-box {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 24px !important;
        padding: 32px 24px !important;
    }
    
    .single-article .author-box::before {
        width: 100% !important;
        height: 4px !important;
        top: 0 !important;
        left: 0 !important;
    }

    .single-article .author-box-avatar img {
        width: 100px !important;
        height: 100px !important;
    }

    .single-article .author-box-content {
        align-items: center !important;
        width: 100% !important;
    }
    
    .single-article .author-box-name {
        font-size: 1.5rem !important;
    }
}

/* Post Navigation */
.post-navigation {
    margin: var(--space-xl) 0 0;
    padding-top: var(--space-xl);
    border-top: var(--divider-thickness) solid var(--accent-electric);
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.nav-link {
    padding: var(--space-xl);
    border: 2px solid var(--text-muted);
    background: var(--bg-elevated);
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: var(--accent-electric);
    background: rgba(20, 184, 166, 0.05);
}

.nav-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.nav-title {
    font-weight: 600;
    color: var(--text-primary);
}

/* Sidebar */
.sidebar-brutal {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Sidebar & Widgets */
.sidebar-widget,
.widget.brutal-widget {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
    position: relative;
}

.widget-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-electric);
}

/* Sidebar Search Widget - New Location */
.sidebar-widget.search-widget {
    background: var(--bg-surface);
    border: 2px solid var(--accent-electric);
    border-radius: 8px;
    padding: 0.875rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

.sidebar-widget.search-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-electric);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}

.sidebar-search-form {
    width: 100%;
}

.search-form-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    background: var(--bg-elevated);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.25rem;
    transition: border-color 0.2s ease;
}

.search-form-wrapper:focus-within {
    border-color: var(--accent-electric);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
}

.sidebar-search-input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    min-width: 0;
}

.sidebar-search-input:focus {
    outline: none;
}

.sidebar-search-input::placeholder {
    color: var(--text-muted);
}

.sidebar-search-submit {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-electric);
    border: none;
    border-radius: 4px;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-search-submit:hover {
    background: var(--accent-primary-hover);
    transform: scale(1.05);
}

.sidebar-search-submit:active {
    transform: scale(0.95);
}

/* Modern Search Widget */
.widget_search,
.search-form {
    margin-bottom: 0;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.search-form input[type="search"],
.search-input-brutal {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.search-form input[type="search"]:focus,
.search-input-brutal:focus {
    outline: none;
    border-color: var(--accent-electric);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.search-form input[type="search"]::placeholder {
    color: var(--text-muted);
}

.search-form button[type="submit"],
.search-btn-brutal {
    padding: 0.875rem 1.5rem;
    background: var(--accent-electric);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-form button[type="submit"]:hover,
.search-btn-brutal:hover {
    background: rgba(20, 184, 166, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 0.875rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    overflow: hidden;
    background: var(--bg-elevated);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-post-thumb:hover {
    border-color: var(--accent-electric);
    transform: scale(1.05);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.recent-post-thumb:hover img {
    transform: scale(1.1);
}

.recent-post-thumb-placeholder {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.recent-post-thumb-placeholder svg {
    color: rgba(20, 184, 166, 0.4);
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    justify-content: center;
}

.recent-post-title {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.recent-post-title a {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title a:hover {
    color: var(--accent-electric);
}

.recent-post-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Slot Info Widget - Modern Professional Design */
.slot-info-widget {
    background: linear-gradient(135deg, #2a2f42 0%, var(--bg-surface) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.slot-info-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-electric) 50%,
        transparent 100%);
    opacity: 0.6;
}

/* Sticky sidebar on desktop */
@media (min-width: 1025px) {
    .sidebar-brutal {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }

    .slot-info-widget {
        position: relative;
        max-height: none;
        overflow: visible;
    }
}

.slot-info-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-info-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.slot-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-info-widget:hover .slot-info-image img {
    transform: scale(1.03);
}

.slot-info-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Modern Clean Slot Info Items - Unified Style */
.slot-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-info-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateX(4px);
}

.slot-info-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.slot-info-label::before {
    display: none;
}

.slot-info-value {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Highlight Important Items (Max Win & Volatility) */
.slot-info-item:nth-child(8),
.slot-info-item:nth-child(9) {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    position: relative;
}

.slot-info-item:nth-child(8)::before,
.slot-info-item:nth-child(9)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-electric);
    border-radius: 0 2px 2px 0;
}

.slot-info-item:nth-child(8) .slot-info-value,
.slot-info-item:nth-child(9) .slot-info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-electric);
}

.slot-info-bullet {
    display: none;
}

.slot-info-score {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg);
    margin-top: var(--space-sm);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.04) 100%);
    border: 2px solid rgba(20, 184, 166, 0.3);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.slot-info-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-electric) 50%,
        transparent 100%);
}

.slot-info-score .score-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.slot-info-score .score-star {
    color: var(--accent-electric);
    font-size: 1.5rem;
}

.slot-info-score .score-text {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
}

.slot-info-score-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-electric);
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

/* Table of Contents Widget */
.toc-widget {
    background: linear-gradient(135deg, #2a2f42 0%, var(--bg-surface) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.toc-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-electric) 50%,
        transparent 100%);
    opacity: 0.6;
}

.toc-nav {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.toc-list li::before {
    display: none !important;
    content: none !important;
}

.toc-item {
    display: flex;
    align-items: flex-start;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-xs);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.toc-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateX(4px);
}

.toc-item.active {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    position: relative;
}

.toc-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-electric);
    border-radius: 0 2px 2px 0;
}

.toc-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-electric);
    min-width: 24px;
    margin-right: var(--space-xs);
    flex-shrink: 0;
}

.toc-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    flex: 1;
}

.toc-item:hover .toc-text {
    color: var(--text-primary);
}

.toc-item.active .toc-text {
    color: var(--accent-electric);
    font-weight: 600;
}

/* Footer */
/* ===================================
   FOOTER - Professional & Clean Design
   =================================== */

.site-footer {
    background: var(--bg-surface);
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-electric);
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Section */
.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-electric);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 320px;
}

/* Section Headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-transform: none;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-electric);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-electric);
    transition: width 0.2s ease;
}

.footer-links a:hover::before {
    width: 6px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-notice {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-notice::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-electric);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    width: 50px;
    height: 50px;
    background: var(--accent-electric);
    border: 3px solid var(--bg-primary);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--text-primary);
    border-color: var(--accent-electric);
    box-shadow: 0 6px 30px rgba(20, 184, 166, 0.5);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    color: var(--bg-primary);
    transition: color 0.3s ease;
}

.scroll-to-top:hover svg {
    color: var(--accent-electric);
}

/* Smooth page load fade-in animation */
/* Removed to prevent layout shift
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Comments Section - Neo-Brutal Styling */
.comments-area {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: var(--divider-thickness) solid var(--accent-electric);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    background: var(--bg-surface);
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: all 0.3s ease;
}

.comment-body:hover {
    border-color: var(--accent-electric);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.1);
}

.comment-author {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

.comment-author img {
    border-radius: 4px;
    border: 2px solid var(--accent-electric);
}

.comment-metadata-wrapper {
    flex: 1;
}

.comment-author .fn {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-xs);
}

.comment-metadata {
    display: flex;
    gap: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.comment-metadata a {
    color: var(--text-muted);
}

.comment-metadata a:hover {
    color: var(--accent-electric);
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: var(--space-md);
}

.comment-content p {
    margin-bottom: var(--space-md);
}

.comment-awaiting-moderation {
    background: rgba(255, 255, 0, 0.1);
    border: 2px solid var(--accent-warning);
    color: var(--accent-warning);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.reply {
    margin-top: var(--space-md);
}

.reply a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-electric);
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-md);
    border: 2px solid var(--accent-electric);
    display: inline-block;
    transition: all 0.2s ease;
}

.reply a:hover {
    background: var(--accent-electric);
    color: var(--bg-primary);
}

/* Nested comments */
.children {
    list-style: none;
    margin-left: var(--space-2xl);
    padding-left: 0;
}

/* Comment Form */
.comment-respond {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--bg-surface);
    border: 2px solid #2a2a2a;
    border-radius: 4px;
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
}

.comment-form label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.comment-form .required {
    color: var(--accent-electric);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-electric);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: var(--space-md);
}

.brutal-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, #14b8a6 0%, #00cc6a 100%);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25);
}

.brutal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

.brutal-submit svg {
    width: 16px;
    height: 16px;
}

.no-comments {
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    padding: var(--space-xl);
    text-align: center;
    border: 2px dashed var(--text-muted);
    border-radius: 4px;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: var(--space-2xl) 0;
    gap: var(--space-md);
}

.comment-navigation a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-surface);
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.comment-navigation a:hover {
    border-color: var(--accent-electric);
    color: var(--accent-electric);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --layout-gutter: var(--space-md);
    }

    .hero-section {
        padding: var(--space-xs) 0 var(--space-md);
    }

    .single-article {
        padding: var(--space-xl);
    }

    .article-featured-image {
        margin-left: calc(-1 * var(--space-xl));
        margin-right: calc(-1 * var(--space-xl));
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Better aspect ratio for article cards on mobile */
    .card-image {
        aspect-ratio: 16 / 9;
    }

    /* Hide card meta entirely on mobile to save space */
    .card-meta {
        display: none;
    }

    /* Card content padding reduction on mobile */
    .card-content {
        padding: var(--space-lg);
    }

    /* Card title adjustment on mobile - remove bottom margin since meta is hidden */
    .card-title {
        margin-bottom: var(--space-md);
    }

    .card-title a {
        font-size: 1.25rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    /* Category filters wrap better on mobile */
    .category-filters {
        width: 100%;
    }

    .filter-link {
        font-size: 0.8125rem;
        padding: var(--space-xs) var(--space-md);
    }

    /* Sidebar improvements for mobile */
    .sidebar-brutal {
        margin-top: var(--space-2xl);
        gap: var(--space-xl);
    }

    .sidebar-widget {
        padding: var(--space-lg);
    }

    .widget-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Search form mobile */
    .search-form input[type="search"],
    .search-input-brutal {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .search-form button[type="submit"],
    .search-btn-brutal {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    /* Recent posts mobile */
    .recent-post-thumb {
        width: 60px;
        height: 60px;
    }

    .recent-post-item {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
    }

    .recent-post-title {
        font-size: 0.875rem;
    }

    .recent-post-date {
        font-size: 0.75rem;
    }

    /* TOC widget improvements */
    .toc-widget {
        padding: 0;
    }

    .toc-nav {
        padding: var(--space-md);
    }

    .toc-item {
        padding: var(--space-xs) var(--space-sm);
    }

    .toc-number {
        min-width: 20px;
        font-size: 0.6875rem;
    }

    .toc-text {
        font-size: 0.8125rem;
    }

    /* Slot info widget mobile */
    .slot-info-widget {
        border-radius: 12px;
    }

    .slot-info-content {
        padding: var(--space-sm);
        gap: var(--space-xs);
    }

    .slot-info-item {
        padding: var(--space-xs) var(--space-sm);
    }

    .slot-info-label {
        font-size: 0.75rem;
    }

    .slot-info-value {
        font-size: 0.875rem;
    }

    .slot-info-score {
        padding: var(--space-sm) var(--space-md);
        margin-top: var(--space-xs);
    }

    .slot-info-score-value {
        font-size: 2rem;
    }

    /* Footer improvements - tablet and below */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    /* Scroll to top button on mobile */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        left: auto;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }

    /* Comments */
    .children {
        margin-left: var(--space-md);
    }

    .comment-body {
        padding: var(--space-md);
    }

    .comment-respond {
        padding: var(--space-lg);
    }

    /* Search form on mobile */
    .search-form-brutal {
        flex-direction: column;
    }

    .search-input-brutal,
    .search-btn-brutal {
        width: 100%;
    }
}

/* Tablet responsive improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .card-image {
        aspect-ratio: 16 / 10;
    }

    .sidebar-brutal {
        gap: var(--space-lg);
    }
}

/* ==========================================================================
   Yoast SEO Breadcrumbs - Neo-Brutal Style
   ========================================================================== */

.yoast-breadcrumb-wrapper {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: var(--space-md) var(--layout-gutter);
    background: linear-gradient(to bottom, rgba(20, 184, 166, 0.03), transparent);
    border-bottom: 2px solid rgba(20, 184, 166, 0.1);
}

.yoast-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.yoast-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.yoast-breadcrumb a:hover {
    color: var(--accent-electric);
    background: rgba(20, 184, 166, 0.1);
}

.yoast-breadcrumb a:focus {
    outline: 2px solid var(--accent-electric);
    outline-offset: 2px;
}

/* Breadcrumb separator */
.yoast-breadcrumb span.breadcrumb_last {
    color: rgba(20, 184, 166, 0.7);
    font-weight: 400;
    padding: 0.25rem 0.5rem;
}

/* Breadcrumb separator styling - JavaScript handles replacement */
.yoast-breadcrumb > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.yoast-breadcrumb > span > span {
    display: inline-flex;
    align-items: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .yoast-breadcrumb-wrapper {
        padding: var(--space-sm) var(--layout-gutter);
    }
    
    .yoast-breadcrumb {
        font-size: 0.8125rem;
        gap: 0.25rem;
    }
    
    .yoast-breadcrumb a,
    .yoast-breadcrumb span.breadcrumb_last {
        padding: 0.2rem 0.4rem;
    }
}

/* ==========================================================================
   FAQ Accordion - Neo-Brutal Style
   ========================================================================== */

.faq-section {
    margin: var(--space-2xl) 0;
}

.faq-item {
    background: var(--bg-surface);
    border: var(--border-thin) solid rgba(20, 184, 166, 0.2);
    border-radius: 8px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(20, 184, 166, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    background: var(--bg-surface);
    transition: background-color 0.2s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-electric);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question:hover {
    background: rgba(20, 184, 166, 0.03);
}

.faq-question-text {
    flex: 1;
    padding-right: var(--space-md);
    font-family: var(--font-heading);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid var(--accent-electric);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-electric);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    background: var(--accent-electric);
    color: var(--bg-primary);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-elevated);
}

.faq-answer-content {
    padding: 0 var(--space-lg) 0 var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 1px solid rgba(20, 184, 166, 0.1);
}

.faq-item.active .faq-answer {
    padding: var(--space-lg) 0;
}

.faq-answer p {
    margin: 0;
    padding: 0;
}

/* FAQ answer strong text - no color override needed */

/* Mobile responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: var(--space-md);
        font-size: 1rem;
    }

    .faq-question-text {
        padding-right: var(--space-sm);
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 1.25rem;
    }

    .faq-answer-content {
        padding: 0 var(--space-md) 0 var(--space-md);
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: var(--space-md) 0;
    }
}

/* ==========================================================================
   Bonus Feature Widgets - Neo-Brutal Style
   ========================================================================== */

.dyutam-bonus-widgets-container {
    margin: var(--space-2xl) 0;
}

.dyutam-bonus-widget {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.dyutam-bonus-widget:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.dyutam-bonus-widget[open] {
    border-color: rgba(20, 184, 166, 0.3);
}

.bonus-widget-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: rgba(20, 184, 166, 0.8);
    background: rgba(20, 184, 166, 0.02);
    transition: background-color 0.2s ease, color 0.2s ease;
    list-style: none;
    position: relative;
}

.bonus-widget-title::-webkit-details-marker {
    display: none;
}

.bonus-widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(20, 184, 166, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dyutam-bonus-widget[open] .bonus-widget-title::before {
    opacity: 1;
}

.bonus-widget-title:hover {
    background: rgba(20, 184, 166, 0.04);
    color: rgba(20, 184, 166, 0.9);
}

.bonus-title-text {
    flex: 1;
    padding-right: var(--space-md);
    font-family: var(--font-heading);
}

.bonus-widget-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: rgba(20, 184, 166, 0.6);
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.dyutam-bonus-widget[open] .bonus-widget-icon {
    transform: rotate(180deg);
}

.bonus-widget-content {
    padding: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    background: var(--bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bonus-widget-content p {
    margin-bottom: var(--space-md);
}

.bonus-widget-content p:last-child {
    margin-bottom: 0;
}

.bonus-widget-content ul,
.bonus-widget-content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
}

.bonus-widget-content li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Bonus widget strong text - no color override needed */

/* Mobile responsive */
@media (max-width: 768px) {
    .bonus-widget-title {
        padding: var(--space-md);
        font-size: 1rem;
    }

    .bonus-title-text {
        padding-right: var(--space-sm);
    }

    .bonus-widget-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 0.75rem;
    }

    .bonus-widget-content {
        padding: var(--space-md);
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Article Content Typography - Enhanced Readability
   ========================================================================== */

article p,
.post-content p,
.entry-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

article ul,
article ol,
.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

article li,
.post-content li,
.entry-content li {
    margin-bottom: 0.5rem;
}

article h2,
.post-content h2,
.entry-content h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

article h3,
.post-content h3,
.entry-content h3 {
    font-size: 1.375rem;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article h4,
.post-content h4,
.entry-content h4 {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Mobile article typography */
@media (max-width: 768px) {
    article p,
    .post-content p,
    .entry-content p,
    article ul,
    article ol,
    .post-content ul,
    .post-content ol,
    .entry-content ul,
    .entry-content ol {
        font-size: 1rem;
    }

    article h2,
    .post-content h2,
    .entry-content h2 {
        font-size: 1.5rem;
    }

    article h3,
    .post-content h3,
    .entry-content h3 {
        font-size: 1.25rem;
    }
}

/* Mobile devices - footer single column */
@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-about {
        grid-column: 1;
    }
}

/* ==========================================================================
   Pros and Cons Columns - Professional & Modern Design (Responsive)
   ========================================================================== */

/* WordPress block columns - side-by-side layout */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    align-items: stretch;
    max-width: 100%;
}

.wp-block-columns .wp-block-column {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Override harsh WordPress block column borders with professional styling */
.wp-block-columns .wp-block-column.has-border-color {
    border: none !important;
    border-radius: 8px;
    padding: var(--space-lg) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

/* Subtle left accent border instead of full harsh border */
.wp-block-columns .wp-block-column.has-border-color::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    transition: width 0.3s ease;
}

/* Pros column - Soft sage green */
.wp-block-columns .wp-block-column.has-border-color[style*='#10b981'] {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.03) 0%, rgba(5, 150, 105, 0.08) 100%);
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#10b981']::before {
    background: linear-gradient(180deg, #34d399 0%, #6ee7b7 100%);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#10b981']:hover {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(5, 150, 105, 0.12) 100%);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.12),
                0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#10b981']:hover::before {
    width: 3px;
}

/* Cons column - Soft coral/rose */
.wp-block-columns .wp-block-column.has-border-color[style*='#ef4444'] {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(220, 38, 38, 0.08) 100%);
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#ef4444']::before {
    background: linear-gradient(180deg, #f87171 0%, #fca5a5 100%);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#ef4444']:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.12) 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.12),
                0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wp-block-columns .wp-block-column.has-border-color[style*='#ef4444']:hover::before {
    width: 3px;
}

/* Heading styling - more subtle colors */
.wp-block-columns .wp-block-column h3.has-text-color[style*='#10b981'] {
    color: #34d399 !important;
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wp-block-columns .wp-block-column h3.has-text-color[style*='#ef4444'] {
    color: #f87171 !important;
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* List styling within pros/cons */
.wp-block-columns .wp-block-column ul.wp-block-list {
    list-style: none;
    padding-left: 0;
    margin-top: var(--space-md);
    max-width: 100%;
}

.wp-block-columns .wp-block-column ul.wp-block-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: var(--space-md);
    line-height: 1.7;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Pros list bullets - checkmark style */
.wp-block-columns .wp-block-column.has-border-color[style*='#10b981'] ul.wp-block-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #34d399;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cons list bullets - minus style */
.wp-block-columns .wp-block-column.has-border-color[style*='#ef4444'] ul.wp-block-list li::before {
    content: '−';
    position: absolute;
    left: 0;
    top: 0;
    color: #f87171;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Mobile responsive - Stack columns and reduce padding */
@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
        gap: var(--space-md);
    }

    .wp-block-columns .wp-block-column {
        width: 100% !important;
        flex: none;
        max-width: 100%;
    }

    .wp-block-columns .wp-block-column.has-border-color {
        padding: var(--space-md) !important;
        margin-bottom: 0;
    }

    .wp-block-columns .wp-block-column h3.has-text-color {
        font-size: 1.125rem;
    }

    .wp-block-columns .wp-block-column ul.wp-block-list li {
        padding-left: 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Extra small screens - further reduce padding */
@media (max-width: 480px) {
    .wp-block-columns .wp-block-column.has-border-color {
        padding: var(--space-sm) !important;
        border-radius: 6px;
    }

    .wp-block-columns .wp-block-column h3.has-text-color {
        font-size: 1rem;
    }

    .wp-block-columns .wp-block-column ul.wp-block-list li {
        padding-left: 1.25rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   Soft Color Palette for Better Reading Experience
   Applied to article body content - keeps neon for CTAs only
   ========================================================================== */

:root {
    /* Soft teal for body links - easy on eyes */
    --accent-soft-teal: #14b8a6;
    --accent-soft-teal-hover: #2dd4bf;

    /* Muted emerald for emphasis */
    --accent-muted-emerald: #34d399;
    --accent-muted-emerald-light: #6ee7b7;
}

/* ==========================================================================
   Article Body Content - Soft Teal Links
   ========================================================================== */

/* Override harsh neon links in article content */
.article-content a,
article a:not(.button):not(.btn):not(.cta-button),
.post-content a:not(.button):not(.btn):not(.cta-button),
.entry-content a:not(.button):not(.btn):not(.cta-button) {
    color: var(--accent-soft-teal) !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    background: none !important;
    background-size: 0 !important;
}

.article-content a:hover,
article a:not(.button):not(.btn):not(.cta-button):hover,
.post-content a:not(.button):not(.btn):not(.cta-button):hover,
.entry-content a:not(.button):not(.btn):not(.cta-button):hover {
    color: var(--accent-soft-teal-hover) !important;
    border-bottom-color: var(--accent-soft-teal-hover) !important;
}

/* Strong/bold text uses default color - no accent needed */

/* Code snippets - softer color */
.article-content code,
article code,
.post-content code,
.entry-content code {
    background: var(--bg-elevated);
    color: var(--accent-soft-teal) !important;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ==========================================================================
   FAQ Accordion - Softer Tones
   ========================================================================== */

.faq-item {
    border: var(--border-thin) solid rgba(20, 184, 166, 0.15);
}

.faq-item:hover {
    border-color: rgba(20, 184, 166, 0.3);
}

.faq-question::before {
    background: var(--accent-soft-teal);
}

.faq-question:hover {
    background: rgba(20, 184, 166, 0.03);
}

.faq-icon {
    background: rgba(20, 184, 166, 0.08);
    border: 2px solid var(--accent-soft-teal);
    color: var(--accent-soft-teal);
}

.faq-item.active .faq-icon {
    background: var(--accent-soft-teal);
    color: var(--bg-primary);
}

.faq-answer-content {
    border-top: 1px solid rgba(20, 184, 166, 0.1);
}

/* FAQ answer strong text uses default color */

/* ==========================================================================
   Bonus Widgets - Softer Tones
   ========================================================================== */

.dyutam-bonus-widget {
    border: 1px solid rgba(20, 184, 166, 0.12);
}

.dyutam-bonus-widget:hover {
    border-color: rgba(20, 184, 166, 0.2);
}

.dyutam-bonus-widget[open] {
    border-color: rgba(20, 184, 166, 0.25);
}

.bonus-widget-title {
    color: var(--accent-soft-teal);
    background: rgba(20, 184, 166, 0.02);
}

.bonus-widget-title::before {
    background: var(--accent-soft-teal);
}

.bonus-widget-title:hover {
    background: rgba(20, 184, 166, 0.05);
    color: var(--accent-soft-teal-hover);
}

.bonus-widget-icon {
    color: var(--accent-soft-teal);
}

/* Bonus widget strong text uses default color */

/* ==========================================================================
   Special Content Elements - Softer Tones
   ========================================================================== */

/* Pro tips and callout boxes */
.pro-tip,
.article-content .pro-tip,
article .pro-tip {
    background: rgba(20, 184, 166, 0.05);
    border-left: 3px solid var(--accent-soft-teal);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 0 8px 8px 0;
}

/* Pro tip strong text uses default color */

/* Blockquotes - softer accent */
.article-content blockquote,
article blockquote {
    border-left: 3px solid var(--accent-soft-teal);
    padding-left: var(--space-md);
    color: var(--text-secondary);
}

/* ==========================================================================
   Tables - Softer Highlights
   ========================================================================== */

.article-content table th,
article table th {
    background: rgba(20, 184, 166, 0.05);
    border-bottom: 2px solid var(--accent-soft-teal);
}

.article-content table tr:hover,
article table tr:hover {
    background: rgba(20, 184, 166, 0.02);
}

/* ==========================================================================
   Article Tags & Categories - Softer Teal
   ========================================================================== */

.article-category a {
    color: var(--accent-soft-teal) !important;
}

.article-category a:hover {
    color: var(--accent-soft-teal-hover) !important;
}

.article-tags a {
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--text-secondary);
}

.article-tags a:hover {
    color: var(--accent-soft-teal) !important;
    border-color: var(--accent-soft-teal) !important;
    background: rgba(20, 184, 166, 0.08);
}

/* ==========================================================================
   Sidebar Elements - Softer Tones
   ========================================================================== */

.recent-post-title a:hover {
    color: var(--accent-soft-teal) !important;
}

.recent-post-thumb:hover {
    border-color: var(--accent-soft-teal) !important;
}

/* ==========================================================================
   Slot Info Widget - Softer Teal
   ========================================================================== */

.slot-info-label {
    color: var(--accent-soft-teal) !important;
}

.slot-info-score .score-star {
    color: var(--accent-muted-emerald) !important;
}

.slot-info-score .score-value {
    color: var(--accent-muted-emerald) !important;
}

/* ==========================================================================
   Table of Contents - Softer Active State
   ========================================================================== */

.toc-item.active .toc-text {
    color: var(--accent-soft-teal) !important;
}

.toc-item.active::before {
    background: var(--accent-soft-teal) !important;
}

/* ==========================================================================
   Breadcrumbs - Softer Hover
   ========================================================================== */

.yoast-breadcrumb a:hover {
    color: var(--accent-soft-teal) !important;
    background: rgba(20, 184, 166, 0.08);
}

.yoast-breadcrumb a:focus {
    outline: 2px solid var(--accent-soft-teal) !important;
}

/* ==========================================================================
   Comments - Softer Accents
   ========================================================================== */

.comment-body:hover {
    border-color: var(--accent-soft-teal) !important;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.08);
}

.comment-metadata a:hover {
    color: var(--accent-soft-teal) !important;
}

.reply a {
    border: 2px solid var(--accent-soft-teal) !important;
    color: var(--accent-soft-teal) !important;
}

.reply a:hover {
    background: var(--accent-soft-teal) !important;
    color: var(--bg-primary) !important;
}

.comment-form textarea:focus,
.comment-form input:focus {
    border-color: var(--accent-soft-teal) !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* ==========================================================================
   Keep Neon ONLY for Primary CTAs
   ========================================================================== */

/* These keep the original neon green - they are CTAs */
.cta-button,
.btn-primary,
.search-btn-brutal,
.back-home-btn,
.scroll-to-top,
.comment-form button[type="submit"],
.main-navigation .current-menu-item > a {
    /* Keep original neon styling */
}

/* ==========================================================================
   Verification Tools Widget - Responsive Fixes
   ========================================================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .verification-tools-widget {
        padding: var(--space-xl, 2rem) !important;
    }

    .verification-tools-widget .widget-content {
        gap: var(--space-xl, 2rem) !important;
    }

    /* Stack stats in 3 columns but smaller */
    .verification-tools-widget .widget-content > div:last-child {
        flex: 1 1 100% !important;
        justify-content: center;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    .verification-tools-widget {
        margin: var(--space-2xl, 2.5rem) 0 !important;
        padding: var(--space-lg, 1.5rem) !important;
    }

    .verification-tools-widget .widget-content {
        gap: var(--space-lg, 1.5rem) !important;
    }

    /* Make heading smaller */
    .verification-tools-widget h2 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }

    /* Stack buttons vertically */
    .verification-tools-widget .widget-content > div:first-child > div:last-child {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .verification-tools-widget .widget-content > div:first-child > div:last-child a {
        justify-content: center !important;
        width: 100% !important;
    }

    /* Stats grid - 3 columns but smaller */
    .verification-tools-widget .widget-content > div:last-child {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: var(--space-sm, 0.75rem) !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div {
        padding: var(--space-sm, 0.75rem) !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div > div:first-child {
        font-size: 1.5rem !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div > div:last-child {
        font-size: 0.625rem !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .verification-tools-widget {
        padding: var(--space-md, 1rem) !important;
        margin: var(--space-xl, 2rem) 0 !important;
    }

    .verification-tools-widget .widget-content {
        gap: var(--space-md, 1rem) !important;
    }

    /* Smaller heading and icon */
    .verification-tools-widget h2 {
        font-size: 1.125rem !important;
    }

    .verification-tools-widget svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Smaller paragraph text */
    .verification-tools-widget p {
        font-size: 0.875rem !important;
    }

    /* Stack stats vertically on very small screens */
    .verification-tools-widget .widget-content > div:last-child {
        grid-template-columns: 1fr !important;
        gap: var(--space-xs, 0.5rem) !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: var(--space-sm, 0.75rem) var(--space-md, 1rem) !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div > div:first-child {
        font-size: 1.75rem !important;
        margin-bottom: 0 !important;
    }

    .verification-tools-widget .widget-content > div:last-child > div > div:last-child {
        font-size: 0.75rem !important;
        text-align: right !important;
    }

    /* Smaller button text */
    .verification-tools-widget .widget-content a {
        font-size: 0.75rem !important;
        padding: var(--space-sm, 0.75rem) var(--space-md, 1rem) !important;
    }
}


/* ====================================
   EXPLORE OUR TOOLS WIDGET - THEMED
   ==================================== */

/* Redesigned Tools Widget - Professional & Clean */
.tools-widget-redesigned {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: rgba(35, 40, 56, 0.4);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-electric, #00ff88);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tool-card:hover {
    background: rgba(35, 40, 56, 0.7);
    transform: translateX(3px);
    box-shadow: 0 2px 12px rgba(0, 255, 136, 0.15);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
}

.tool-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.tool-name {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.tool-count {
    font-weight: 400;
}

.tool-card-count {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.count-number {
    font-family: var(--font-mono, 'Courier New', monospace);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-electric, #00ff88);
    line-height: 1;
}

.count-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #c4c4c4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-card-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%) translateX(0);
    font-size: 1.5rem;
    color: var(--accent-electric, #00ff88);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.tool-card:hover .tool-card-arrow {
    transform: translateY(-50%) translateX(4px);
    opacity: 1;
}

/* Calculator cards - simplified styling without count */
.tool-card-calculator {
    padding: 0.625rem 0.875rem;
}

.tool-card-calculator .tool-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.tool-card-calculator .tool-icon {
    font-size: 1.25rem;
}

/* Widget title styling */
.widget_dyutam_tools .widget-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    padding: 0.625rem 0.875rem;
    background: var(--bg-surface, #232838);
    color: var(--text-primary, #f5f5f5);
    border: 2px solid var(--accent-primary, #14b8a6);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ====================================
   TOP 100 SLOTS WIDGET
   ==================================== */

.top100-slots-widget {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.top100-slots-widget a {
    display: block;
    width: 100%;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top100-slots-widget a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.top100-slots-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-category-title {
        font-size: 0.95rem;
        padding: 0.55rem 0.85rem;
    }
    
    .tools-category-link {
        padding: 0.85rem;
    }
    
    .tools-count {
        font-size: 1.35rem;
    }
    
    .tools-label {
        font-size: 0.8rem;
    }
    
    .tool-item a {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }
    
    .widget_dyutam_tools .widget-title {
        font-size: 1.2rem;
        padding: 0.65rem 0.85rem;
    }
}
/* TOC Widget Fix - Ensure full width and proper text wrapping */
.toc-widget {
    width: 100%;
    max-width: 100%;
}

.toc-nav {
    width: 100%;
}

.toc-list {
    width: 100%;
}

.toc-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    min-height: auto;
}

.toc-text {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 100%;
    width: 100%;
}

/* TOC Widget Title */
.toc-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 var(--space-md);
    padding: var(--space-md);
    background: var(--bg-elevated, #2d3348);
    color: var(--text-primary, #f5f5f5);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--accent-primary, #14b8a6);
}

/* TOC Widget - Ensure Full Height Display */
.toc-widget {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.toc-nav {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

.toc-list {
    max-height: none !important;
    height: auto !important;
}

/* ==========================================================================
   Mobile Responsiveness Fixes - Prevent Horizontal Overflow
   ========================================================================== */

/* Ensure all content respects container boundaries */
.article-content,
article,
.entry-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Table responsive wrapper */
.article-content table,
article table,
.entry-content table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--space-lg) 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
}

/* Table header styling */
.article-content table thead tr,
article table thead tr,
.entry-content table thead tr {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
}

.article-content table th,
article table th,
.entry-content table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #14b8a6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #14b8a6;
}

/* Table cell styling */
.article-content table td,
article table td,
.entry-content table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    color: #e2e8f0;
    border-bottom: 1px solid #334155;
}

.article-content table tbody tr:last-child td,
article table tbody tr:last-child td,
.entry-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Table row hover */
.article-content table tbody tr:hover,
article table tbody tr:hover,
.entry-content table tbody tr:hover {
    background: rgba(20, 184, 166, 0.08);
}

/* Table highlight row */
.article-content table .indo-highlight-row,
article table .indo-highlight-row,
.entry-content table .indo-highlight-row {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
}
.article-content table .indo-highlight-row td,
article table .indo-highlight-row td,
.entry-content table .indo-highlight-row td {
    color: #fff;
    font-weight: 600;
}

/* Table positive/negative values */
.indo-positive {
    color: #22c55e !important;
    font-weight: 600;
}
.indo-negative {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Images responsive */
.article-content img,
article img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Iframes and embeds responsive */
.article-content iframe,
article iframe,
.entry-content iframe,
.article-content embed,
article embed,
.entry-content embed {
    max-width: 100%;
}

/* Pre and code blocks */
.article-content pre,
article pre,
.entry-content pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    /* Reduce container padding on mobile */
    .site-container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    /* Ensure article content doesn't overflow */
    .article-content,
    article,
    .entry-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Make tables scroll on small screens */
    .article-content table,
    article table,
    .entry-content table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Tighter padding for table cells on mobile */
    .article-content table th,
    .article-content table td,
    article table th,
    article table td,
    .entry-content table th,
    .entry-content table td {
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    /* Further reduce padding */
    .site-container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    /* Smaller font for tables */
    .article-content table,
    article table,
    .entry-content table {
        font-size: 0.85rem;
    }

    /* Even tighter table cell padding */
    .article-content table th,
    .article-content table td,
    article table th,
    article table td {
        padding: 0.4rem 0.5rem;
    }
}

/* ==========================================================================
   All Pages - Match Article Page Styling
   ========================================================================== */

/* Apply article styling to ALL pages (not just posts) */
body.page h2,
.page h2 {
    font-family: var(--font-heading) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    color: var(--text-primary) !important;
    position: relative;
}

body.page h3,
.page h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-primary) !important;
}

body.page p,
.page p {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
}

body.page ul,
body.page ol,
.page ul,
.page ol {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
}

body.page li,
.page li {
    margin-bottom: 0.5rem !important;
}

/* Page main title (h1) - match article title styling */
body.page h1,
.page h1,
body.page .entry-title,
.page .entry-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
    line-height: 1.15 !important;
    margin-bottom: var(--space-md) !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
}

/* =========================================
   MODERN FOOTER DESIGN
   ========================================= */
.site-footer {
    margin-top: 0;
    position: relative;
    font-family: var(--font-body);
    background: #14171f;
    border-top: 3px solid var(--accent-electric);
}

/* Main Footer Area */
.footer-main {
    background: linear-gradient(180deg, #14171f 0%, #0d0f14 100%);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
    display: flex;
    gap: var(--space-3xl);
}

/* Brand Column */
.footer-brand {
    flex: 0 0 320px;
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--accent-electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-logo:hover {
    text-decoration: none;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0 0 var(--space-xl);
}

/* Social Links */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--accent-electric);
    color: var(--accent-electric);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.2);
    text-decoration: none;
}

.social-link svg {
    transition: transform 0.25s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Links Grid */
.footer-links-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent-electric);
    display: inline-block;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-electric);
    transition: width 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-electric);
    padding-left: 16px;
    text-decoration: none;
}

.footer-links a:hover::before {
    width: 10px;
}

/* Footer Bottom */
.footer-bottom {
    background: #0a0c10;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.back-to-top:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--accent-electric);
    color: var(--accent-electric);
}

.back-to-top svg {
    transition: transform 0.25s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-container {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .footer-brand {
        flex: none;
        max-width: 100%;
        text-align: center;
    }

    .footer-tagline {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl) var(--space-lg);
    }

    .footer-wave svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-logo {
        font-size: 1.75rem;
    }

    .footer-tagline {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES - Comprehensive Overflow Prevention
   ========================================================================== */

@media (max-width: 768px) {
    /* Prevent any horizontal overflow */
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Fix site container */
    .site-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Fix article container */
    .single-article {
        padding: var(--space-md) !important;
        max-width: 100%;
        overflow: hidden;
    }

    /* Fix article header and title */
    .article-header {
        max-width: 100%;
        padding-right: 0;
    }

    .article-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    }

    /* Fix pros/cons column padding */
    .wp-block-columns .wp-block-column.has-border-color {
        padding: var(--space-md) !important;
    }

    /* Fix table wrapper to prevent page overflow */
    .article-content table,
    article table,
    .entry-content table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Allow table cells to wrap on very small screens */
    .article-content table th,
    .article-content table td {
        min-width: 100px;
    }

    /* Fix review stats and other custom boxes */
    .review-stats-box,
    .bonus-info-box,
    .article-cta-box {
        max-width: 100%;
        overflow: hidden;
        padding: var(--space-md);
    }

    /* Fix content layout */
    .content-layout {
        max-width: 100%;
        overflow: hidden;
    }

    /* Fix main content */
    .main-content {
        max-width: 100%;
        min-width: 0;
    }

    /* Ensure all article content elements wrap */
    .article-content * {
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Fix lists and paragraphs */
    .article-content p,
    .article-content li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Fix images */
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix iframes and embeds */
    .article-content iframe,
    .article-content embed {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - further reduce padding */
    .single-article {
        padding: var(--space-sm) !important;
    }

    .wp-block-columns .wp-block-column.has-border-color {
        padding: var(--space-sm) !important;
    }
}
