/**
 * Custom styles for Post ID 1087
 * All styles are scoped to body.postid-1087 to ensure they only apply to this specific post
 */

/* Smooth scroll behavior for anchor links */
html {
    scroll-behavior: smooth;
}

/* ===================================
   Performance & Layout Stability
   =================================== */

/* Prevent layout shifts - set content-visibility for off-screen elements */
body.postid-1087 .aipg-2026 .tool-card {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* GPU acceleration for animations */
body.postid-1087 .aipg-2026 .tool-card,
body.postid-1087 .aipg-2026 .card-rank {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Remove will-change after animation completes */
body.postid-1087 .aipg-2026 .tool-card:not(:hover) {
    will-change: auto;
}

/* ===================================
   Jump to Comparison Link
   =================================== */

body.postid-1087 .aipg-2026 .jump-to-comparison-wrapper {
    text-align: left;
    margin-bottom: 20px;
    margin-top: -8px;
}

body.postid-1087 .aipg-2026 .jump-to-comparison {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(99, 102, 241, 0.65);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

body.postid-1087 .aipg-2026 .jump-to-comparison:hover {
    color: rgba(99, 102, 241, 0.95);
    background: rgba(99, 102, 241, 0.04);
    text-decoration: none;
}

body.postid-1087 .aipg-2026 .jump-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}

body.postid-1087 .aipg-2026 .jump-to-comparison:hover .jump-arrow {
    transform: translateY(2px);
}

/* ===================================
   Section Intro Sentence
   =================================== */

body.postid-1087 .aipg-2026 .section-intro {
    font-size: 15px;
    color: rgba(15, 23, 42, 0.65);
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 28px;
    font-weight: 400;
}

/* ===================================
   Responsible Use Note
   =================================== */

body.postid-1087 .aipg-2026 .responsible-use-note {
    font-size: 13.5px;
    color: rgba(15, 23, 42, 0.5);
    line-height: 1.7;
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 16px 20px;
    background: rgba(99, 102, 241, 0.02);
    border-left: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-weight: 400;
    font-style: normal;
}

/* ===================================
   Card Layout Styles for .aipg-2026
   =================================== */

/* Tool card link wrapper - makes entire card clickable */
body.postid-1087 .aipg-2026 .tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Container for all tool cards */
body.postid-1087 .aipg-2026 .tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
    align-items: stretch;
}

/* Individual tool card */
body.postid-1087 .aipg-2026 .tool-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Subtle premium hover effect - minimal lift and soft purple glow */
body.postid-1087 .aipg-2026 .tool-card-link:hover .tool-card {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15), 0 3px 6px rgba(0, 0, 0, 0.25);
    border-color: rgba(147, 51, 234, 0.3);
}

/* Card rank badge */
body.postid-1087 .aipg-2026 .card-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

/* Card title - with elegant underline on hover */
body.postid-1087 .aipg-2026 .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    padding-right: 48px;
    line-height: 1.3;
    position: relative;
    display: block;
}

/* Elegant animated underline appears only on hover */
body.postid-1087 .aipg-2026 .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: calc(100% - 48px);
}

body.postid-1087 .aipg-2026 .tool-card-link:hover .card-title::after {
    width: 100%;
}

/* Card domain */
body.postid-1087 .aipg-2026 .card-domain {
    font-size: 13px;
    color: #9ca3af;
    font-family: 'Courier New', monospace;
    margin-bottom: 16px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
}

/* Card description */
body.postid-1087 .aipg-2026 .card-description {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Specialized section */
body.postid-1087 .aipg-2026 .card-specialized {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8b5cf6;
    border-radius: 4px;
}

body.postid-1087 .aipg-2026 .card-specialized strong {
    color: #a78bfa;
}

/* Pros section */
body.postid-1087 .aipg-2026 .card-pros {
    margin-bottom: 16px;
}

body.postid-1087 .aipg-2026 .pros-item {
    color: #d1fae5;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

/* Green check icon using CSS */
body.postid-1087 .aipg-2026 .pros-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    /* Performance optimization */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Cons section */
body.postid-1087 .aipg-2026 .card-cons {
    margin-bottom: 0;
}

body.postid-1087 .aipg-2026 .cons-item {
    color: #fed7aa;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

/* Orange warning icon using CSS */
body.postid-1087 .aipg-2026 .cons-item:before {
    content: "!";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    /* Performance optimization */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Mobile responsive: single column on small screens */
@media (max-width: 768px) {
    /* Jump link centered on mobile */
    body.postid-1087 .aipg-2026 .jump-to-comparison-wrapper {
        text-align: center;
        margin-bottom: 18px;
    }
    
    body.postid-1087 .aipg-2026 .jump-to-comparison {
        font-size: 12.5px;
    }

    /* Cards stack vertically with optimized spacing */
    body.postid-1087 .aipg-2026 .tool-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }
    
    /* Reduced padding for mobile */
    body.postid-1087 .aipg-2026 .tool-card {
        padding: 16px;
        border-radius: 10px;
    }
    
    /* Disable hover effects on mobile for performance */
    body.postid-1087 .aipg-2026 .tool-card-link:hover .tool-card {
        transform: none;
    }
    
    /* Optimize card elements */
    body.postid-1087 .aipg-2026 .card-title {
        font-size: 20px;
        padding-right: 42px;
    }
    
    body.postid-1087 .aipg-2026 .card-rank {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 14px;
        right: 14px;
    }
    
    body.postid-1087 .aipg-2026 .card-description {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    body.postid-1087 .aipg-2026 .card-specialized {
        font-size: 13px;
        padding: 10px;
        margin-bottom: 16px;
    }
    
    body.postid-1087 .aipg-2026 .pros-item,
    body.postid-1087 .aipg-2026 .cons-item {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 6px;
    }
    
    /* Headings optimization */
    body.postid-1087 .aipg-2026 h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    body.postid-1087 .aipg-2026 > p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* Tablet: 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    body.postid-1087 .aipg-2026 .tool-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   CLEAN PREMIUM TABLE - POST 1087 ONLY
   =================================== */

/* Table wrapper with horizontal scroll */
body.postid-1087 .aipg-2026 .wp-block-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 40px 0 !important;
}

/* Table base styles */
body.postid-1087 .aipg-2026 .wp-block-table table {
    width: 100% !important;
    min-width: 720px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
}

/* First row as header - sticky, light, clean */
body.postid-1087 .aipg-2026 .wp-block-table table tr:first-child td {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(6px) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: rgba(15, 23, 42, 0.65) !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    text-align: left !important;
    letter-spacing: 0 !important;
}

/* Table cells - medium whitespace */
body.postid-1087 .aipg-2026 .wp-block-table table td {
    padding: 16px !important;
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    color: rgba(15, 23, 42, 0.88) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    vertical-align: middle !important;
}

/* Remove vertical borders entirely */
body.postid-1087 .aipg-2026 .wp-block-table table td {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

/* Gentle zebra rows */
body.postid-1087 .aipg-2026 .wp-block-table table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.02) !important;
}

/* Smooth hover highlight (skip first row) */
body.postid-1087 .aipg-2026 .wp-block-table table tbody tr:not(:first-child):hover {
    background: rgba(99, 102, 241, 0.07) !important;
    transition: background 0.15s ease !important;
}

/* First column emphasis */
body.postid-1087 .aipg-2026 .wp-block-table table td:first-child {
    font-weight: 600 !important;
    color: rgba(15, 23, 42, 0.92) !important;
    white-space: nowrap !important;
}

/* Last row cleanup */
body.postid-1087 .aipg-2026 .wp-block-table table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.postid-1087 .aipg-2026 .wp-block-table table td {
        padding: 14px !important;
        font-size: 14px !important;
    }
    body.postid-1087 .aipg-2026 .wp-block-table table tr:first-child td {
        padding: 12px 14px !important;
    }
}

/* ===================================
   PREMIUM COMPARISON LIST - POST 1087 ONLY
   Linear/Notion-style refinement
   =================================== */

/* Comparison List Container */
body.postid-1087 .aipg-2026 .aipg-compare {
    margin: 48px 0;
    max-width: 100%;
    overflow: visible;
}

body.postid-1087 .aipg-2026 .aipg-compare * {
    box-sizing: border-box;
}

/* Header Row (Desktop only) - Subtle and refined */
body.postid-1087 .aipg-2026 .aipg-compare-head {
    display: grid;
    grid-template-columns: 180px minmax(200px, 1fr) 120px minmax(160px, 200px);
    gap: 16px;
    padding: 10px 24px;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

/* Each Comparison Row - Tighter and cleaner with more contrast */
body.postid-1087 .aipg-2026 .aipg-compare-row {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

body.postid-1087 .aipg-2026 .aipg-compare-row:hover {
    border-color: rgba(99, 102, 241, 0.20);
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.10);
    transform: translateY(-1px);
}

/* Summary - Perfectly aligned grid with proper containment */
body.postid-1087 .aipg-2026 .aipg-compare-main {
    display: grid;
    grid-template-columns: 180px minmax(200px, 1fr) 120px minmax(160px, 200px);
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    align-items: center;
    min-height: 64px;
    max-width: 100%;
    overflow: visible;
}

body.postid-1087 .aipg-2026 .aipg-compare-main::-webkit-details-marker,
body.postid-1087 .aipg-2026 .aipg-compare-main::marker {
    display: none;
}

body.postid-1087 .aipg-2026 .aipg-compare-main:focus {
    outline: 2px solid rgba(99, 102, 241, 0.2);
    outline-offset: -2px;
}

/* Site Column - Stronger hierarchy */
body.postid-1087 .aipg-2026 .aipg-site {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.postid-1087 .aipg-2026 .aipg-site-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(15, 23, 42, 1);
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Subtle micro-badge - only in comparison list */
body.postid-1087 .aipg-2026 .aipg-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    background: rgba(59, 130, 246, 0.08);
    color: rgba(59, 130, 246, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
}

body.postid-1087 .aipg-2026 .aipg-site-domain {
    font-size: 11.5px;
    color: rgba(15, 23, 42, 0.4);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-weight: 400;
}

/* Features Column - Clean and concise */
body.postid-1087 .aipg-2026 .aipg-features {
    font-size: 13.5px;
    color: rgba(15, 23, 42, 0.75);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing Column - Centered and clear */
body.postid-1087 .aipg-2026 .aipg-pricing {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    min-height: 40px;
}

/* Types Pills - Uniform and aligned */
body.postid-1087 .aipg-2026 .aipg-types {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

body.postid-1087 .aipg-2026 .aipg-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    background: rgba(99, 102, 241, 0.06);
    color: rgba(99, 102, 241, 0.85);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* Move Details button inside Types column */
body.postid-1087 .aipg-2026 .aipg-types .aipg-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0;
    background: transparent;
    color: rgba(99, 102, 241, 0.8);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0;
    width: 24px;
    margin-left: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
}

body.postid-1087 .aipg-2026 .aipg-types .aipg-more:hover {
    background: rgba(99, 102, 241, 0.08);
}

body.postid-1087 .aipg-2026 .aipg-types .aipg-more::after {
    content: "+";
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
}

body.postid-1087 .aipg-2026 .aipg-compare-row[open] .aipg-types .aipg-more::after {
    content: "−";
}

/* Details Section - Clean separation */
body.postid-1087 .aipg-2026 .aipg-compare-details {
    padding: 0 20px 16px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    margin: 0 20px;
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding-top: 16px;
    max-width: 100%;
    box-sizing: border-box;
}

body.postid-1087 .aipg-2026 .aipg-compare-details div {
    font-size: 13px;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.6;
}

body.postid-1087 .aipg-2026 .aipg-compare-details strong {
    color: rgba(15, 23, 42, 0.5);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive - Clean stacking */
@media (max-width: 968px) {
    /* Hide desktop header */
    body.postid-1087 .aipg-2026 .aipg-compare-head {
        display: none;
    }
    
    /* Mobile card padding */
    body.postid-1087 .aipg-2026 .aipg-compare-row {
        margin-bottom: 10px;
    }
    
    /* Stack vertically with proper order */
    body.postid-1087 .aipg-2026 .aipg-compare-main {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
        min-height: auto;
    }
    
    /* Site name prominent on mobile */
    body.postid-1087 .aipg-2026 .aipg-site-name {
        font-size: 16px;
    }
    
    /* Badge smaller on mobile */
    body.postid-1087 .aipg-2026 .aipg-badge {
        font-size: 9.5px;
        padding: 2px 5px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-site-domain {
        font-size: 12px;
    }
    
    /* Features without clamp on mobile */
    body.postid-1087 .aipg-2026 .aipg-features {
        -webkit-line-clamp: unset;
        display: block;
        font-size: 14px;
    }
    
    /* Mobile labels - subtle and clean */
    body.postid-1087 .aipg-2026 .aipg-features::before {
        content: "Features";
        font-weight: 600;
        color: rgba(15, 23, 42, 0.45);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 6px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-pricing::before {
        content: "Pricing: ";
        font-weight: 600;
        color: rgba(15, 23, 42, 0.45);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-pricing {
        display: block;
        min-height: auto;
        font-size: 14px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-types::before {
        content: "Types";
        font-weight: 600;
        color: rgba(15, 23, 42, 0.45);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 8px;
        width: 100%;
    }
    
    /* Pills proper sizing on mobile */
    body.postid-1087 .aipg-2026 .aipg-pill {
        height: 26px;
        font-size: 12px;
        padding: 0 12px;
    }
    
    /* MOBILE: Move Details button to full width at bottom */
    body.postid-1087 .aipg-2026 .aipg-types .aipg-more {
        width: 100%;
        height: auto;
        padding: 10px 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        margin-top: 14px;
        margin-left: 0;
        border-radius: 0;
        font-size: 13px;
        background: transparent;
        order: 999;
    }
    
    body.postid-1087 .aipg-2026 .aipg-types .aipg-more::before {
        content: "Details ";
    }
    
    body.postid-1087 .aipg-2026 .aipg-types .aipg-more::after {
        content: "+";
        font-size: 14px;
        margin-left: 2px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-compare-row[open] .aipg-types .aipg-more::after {
        content: "−";
    }
    
    body.postid-1087 .aipg-2026 .aipg-types {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* Details section on mobile */
    body.postid-1087 .aipg-2026 .aipg-compare-details {
        grid-template-columns: 1fr;
        padding: 16px 18px;
        margin: 0;
        gap: 10px;
    }
}

/* Tablet optimization */
@media (max-width: 1280px) and (min-width: 969px) {
    body.postid-1087 .aipg-2026 .aipg-compare-head,
    body.postid-1087 .aipg-2026 .aipg-compare-main {
        grid-template-columns: 160px minmax(180px, 1fr) 110px minmax(150px, 190px);
        gap: 14px;
        padding-left: 18px;
        padding-right: 18px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-site-name {
        font-size: 14.5px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-features,
    body.postid-1087 .aipg-2026 .aipg-pricing {
        font-size: 13px;
    }
    
    body.postid-1087 .aipg-2026 .aipg-compare-details {
        padding-left: 18px;
        padding-right: 18px;
        margin-left: 18px;
        margin-right: 18px;
    }
}

/* Extra polish for focus states */
body.postid-1087 .aipg-2026 .aipg-compare-row:focus-within {
    border-color: rgba(99, 102, 241, 0.2);
}

/* Ensure no text overflow */
body.postid-1087 .aipg-2026 .aipg-compare-main > * {
    min-width: 0;
}

/* ===================================
   General Heading Styles in aipg-2026
   =================================== */

body.postid-1087 .aipg-2026 h3 {
    color: #222222;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 700;
}

body.postid-1087 .aipg-2026 > p {
    color: #222222;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===================================
   Other General Styles (Outside .aipg-2026)
   =================================== */

/* ===================================
   STICKY TABLE OF CONTENTS - POST 1087
   Floating fixed window on the right with toggle
   =================================== */

/* TOC Container - Fixed floating window */
body.postid-1087 .post-1087-toc-container {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 300px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Minimized state - moves to bottom */
body.postid-1087 .post-1087-toc-container.minimized {
    top: auto;
    bottom: 20px;
    max-height: 60px;
    width: 280px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

body.postid-1087 .post-1087-toc-container.minimized .toc-content {
    display: none;
}

/* TOC Header with toggle button */
body.postid-1087 .toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.15);
}

body.postid-1087 .post-1087-toc-container.minimized .toc-header {
    border-bottom: none;
    padding: 16px 24px;
}

body.postid-1087 .toc-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin: 0;
}

body.postid-1087 .post-1087-toc-container.minimized .toc-title {
    font-size: 15px;
}

/* Toggle button */
body.postid-1087 .toc-toggle {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: rgba(99, 102, 241, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

body.postid-1087 .toc-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

body.postid-1087 .toc-toggle:active {
    transform: scale(0.95);
}

/* TOC Content */
body.postid-1087 .toc-content {
    padding: 16px 24px 24px 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: relative;
}

body.postid-1087 .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.postid-1087 .toc-list li {
    margin-bottom: 6px;
    padding-left: 0;
}

body.postid-1087 .toc-list li a {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(15, 23, 42, 0.75);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

body.postid-1087 .toc-list li a:hover {
    background: rgba(99, 102, 241, 0.06);
    color: rgba(99, 102, 241, 0.95);
    border-left-color: rgba(99, 102, 241, 0.6);
    padding-left: 14px;
}

/* Active section highlighting */
body.postid-1087 .toc-list li a.active {
    background: rgba(99, 102, 241, 0.12);
    color: rgba(99, 102, 241, 1);
    border-left-color: rgba(99, 102, 241, 1);
    font-weight: 600;
    padding-left: 14px;
}

body.postid-1087 .toc-list li a.active:hover {
    background: rgba(99, 102, 241, 0.15);
}

/* Scrollbar styling for TOC */
body.postid-1087 .toc-content::-webkit-scrollbar {
    width: 6px;
}

body.postid-1087 .toc-content::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.03);
    border-radius: 3px;
}

body.postid-1087 .toc-content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

body.postid-1087 .toc-content::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Smooth scroll behavior for anchor links */
body.postid-1087 {
    scroll-behavior: smooth;
}

/* Responsive - smaller width on medium screens */
@media (max-width: 1400px) {
    body.postid-1087 .post-1087-toc-container {
        width: 260px;
    }
    
    body.postid-1087 .post-1087-toc-container.minimized {
        width: 240px;
    }
    
    body.postid-1087 .toc-header,
    body.postid-1087 .toc-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    body.postid-1087 .toc-list li a {
        font-size: 12px;
    }
}

/* Hide TOC on smaller screens */
@media (max-width: 1200px) {
    body.postid-1087 .post-1087-toc-container {
        display: none;
    }
}

/* ===================================
   Other General Styles (Outside .aipg-2026)
   =================================== */

body.postid-1087 .entry-content h1,
body.postid-1087 .entry-content h2,
body.postid-1087 .entry-content h3 {
    /* Add your custom heading styles here */
}

body.postid-1087 .entry-content p {
    /* Add your custom paragraph styles here */
}

body.postid-1087 .entry-content img {
    /* Add your custom image styles here */
}

body.postid-1087 .entry-content a {
    /* Add your custom link styles here */
}

body.postid-1087 .entry-content .button,
body.postid-1087 .entry-content .wp-block-button__link {
    /* Add your custom button styles here */
}
