    /* Override container width for posts */
    .container {
        max-width: 1400px;
        overflow: visible;
    }

    main {
        overflow: visible;
    }

    article {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border-radius: 20px;
        padding: 40px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .post-header {
        margin-bottom: 30px;
    }

    .post-title {
        font-family: 'Orbitron', monospace;
        font-size: 1.8em;
        color: #000000;
        margin-bottom: 10px;
        font-weight: 700;
        line-height: 1.3;
    }

    .post-date {
        color: #666666;
        font-size: 0.9em;
    }

    .post-subtitle {
        color: #555555;
        font-size: 1.1em;
        margin-top: 10px;
        margin-bottom: 15px;
        font-style: italic;
    }

    .post-content {
        line-height: 1.7;
    }

    @media (max-width: 768px) {
        article {
            padding: 25px;
        }
    }

    .post-content h1,
    .post-content h2,
    .post-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .post-content h1 { font-size: 1.8em; }
    .post-content h2 { font-size: 1.5em; }
    .post-content h3 { font-size: 1.2em; }

    .post-content p {
        margin-bottom: 15px;
    }

    .post-content a {
        color: #4CAF50;
        text-decoration: underline;
    }

    .post-content code {
        background: #f5f5f5;
        padding: 2px 6px;
        border-radius: 3px;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
    }

    .post-content pre {
        background: rgba(245, 245, 245, 0.7);
        backdrop-filter: blur(10px);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 20px 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .post-content pre code {
        background: none;
        padding: 0;
    }

    /* Generic Code Block */
    .post-content pre.shell-code {
        background: rgba(60, 60, 60, 0.9) !important;
        backdrop-filter: blur(10px);
        color: #e0e0e0 !important;
        border-left: 4px solid #888888 !important;
        border: 1px solid #888888 !important;
    }

    .post-content pre.shell-code code {
        color: #e0e0e0 !important;
        font-family: 'Courier New', monospace;
    }

    /* Kali Shell */
    .post-content pre.shell-kali,
    .post-content pre.shell-bash {
        background: rgba(19, 20, 25, 0.85) !important;
        backdrop-filter: blur(10px);
        color: #f8f8f2 !important;
        border-left: 4px solid #4CAF50 !important;
        border: 1px solid #4CAF50 !important;
    }

    .post-content pre.shell-kali code,
    .post-content pre.shell-bash code {
        color: #00ff00 !important;
        font-family: 'Courier New', monospace;
    }

    .post-content pre.shell-kali .prompt,
    .post-content pre.shell-bash .prompt {
        display: block;
        color: #4CAF50;
        margin-bottom: 8px;
        font-weight: bold;
    }

    /* Windows CMD */
    .post-content pre.shell-cmd {
        background: rgba(12, 12, 12, 0.95) !important;
        backdrop-filter: blur(10px);
        color: #c0c0c0 !important;
        border-left: 4px solid #808080 !important;
        border: 1px solid #808080 !important;
    }

    .post-content pre.shell-cmd code {
        color: #c0c0c0 !important;
        font-family: 'Consolas', 'Courier New', monospace;
    }

    .post-content pre.shell-cmd .prompt {
        display: block;
        color: #ffffff;
        margin-bottom: 8px;
        font-weight: bold;
    }

    /* Windows PowerShell */
    .post-content pre.shell-powershell,
    .post-content pre.shell-ps1 {
        background: rgba(1, 36, 86, 0.95) !important;
        backdrop-filter: blur(10px);
        color: #ffffff !important;
        border-left: 4px solid #0078D7 !important;
        border: 1px solid #0078D7 !important;
    }

    .post-content pre.shell-powershell code,
    .post-content pre.shell-ps1 code {
        color: #ffffff !important;
        font-family: 'Consolas', 'Courier New', monospace;
    }

    .post-content pre.shell-powershell .prompt,
    .post-content pre.shell-ps1 .prompt {
        display: block;
        color: #ffff00;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .post-content blockquote {
        border-left: 3px solid #ccc;
        padding-left: 20px;
        margin: 20px 0;
        color: #555;
    }

    .post-content ul,
    .post-content ol {
        margin-bottom: 15px;
        padding-left: 25px;
    }

    .post-content li {
        margin-bottom: 5px;
    }

    .post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 25px 0;
        padding: 12px;
        border: 6px solid #dff0bd;
        background: #dff0bd;
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.1),
            inset -10px -10px 20px rgba(223, 240, 189, 0.6),
            inset 10px 10px 20px rgba(223, 240, 189, 0.9);
        transition: box-shadow 0.3s ease;
    }

    /* Arrotonda l'immagine stessa all'interno della cornice */
    .post-content img {
        object-fit: cover;
    }

    .post-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .post-content th,
    .post-content td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .post-content th {
        background: #f5f5f5;
        font-weight: 600;
    }

    .back-link {
        display: inline-block;
        margin-top: 40px;
        color: #4CAF50;
        text-decoration: none;
    }

    .back-link:hover {
        text-decoration: underline;
    }

    /* TOC Styles */
    .content-wrapper {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        position: relative;
    }

    article {
        flex: 1;
        min-width: 0;
        max-width: 900px;
    }

    .toc-sidebar {
        display: none;
        width: 240px;
        flex-shrink: 0;
        position: relative;
        height: fit-content;
    }

    @media (min-width: 1024px) {
        .toc-sidebar {
            display: block;
        }
    }

    .toc-nav {
        position: -webkit-sticky;
        position: sticky;
        top: 20px;
        background: rgba(159, 239, 0, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 20px;
        border: 1px solid rgba(159, 239, 0, 0.3);
        box-shadow: 0 8px 32px rgba(159, 239, 0, 0.1);
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        will-change: transform;
    }

    .toc-title {
        font-family: 'Orbitron', monospace;
        font-size: 1.1em;
        font-weight: 700;
        color: #4f7700;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(159, 239, 0, 0.3);
    }

    .toc-content {
        font-size: 0.9em;
    }

    /* Style the TOC list */
    .toc-content ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .toc-content li {
        margin-bottom: 8px;
    }

    .toc-content a {
        color: #4f7700;
        text-decoration: none;
        display: block;
        padding: 5px 8px;
        border-radius: 5px;
        transition: all 0.2s ease;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .toc-content a:hover {
        background: rgba(159, 239, 0, 0.2);
        color: #2d4400;
        transform: translateX(3px);
    }

    /* Nested list indentation */
    .toc-content ul ul {
        padding-left: 15px;
        margin-top: 5px;
    }

    .toc-content ul ul a {
        font-size: 0.95em;
        color: #5a8700;
    }

    /* Scrollbar styling for TOC */
    .toc-nav::-webkit-scrollbar {
        width: 6px;
    }

    .toc-nav::-webkit-scrollbar-track {
        background: rgba(159, 239, 0, 0.05);
        border-radius: 10px;
    }

    .toc-nav::-webkit-scrollbar-thumb {
        background: rgba(159, 239, 0, 0.3);
        border-radius: 10px;
    }

    .toc-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(159, 239, 0, 0.5);
    }

    /* Responsive adjustments */
    @media (max-width: 1023px) {
        .content-wrapper {
            display: block;
        }
    }

    @media (max-width: 768px) {
        /* Override container width for mobile */
        .container {
            max-width: 100%;
            padding: 40px 15px;
        }

        article {
            padding: 25px 20px;
            border-radius: 15px;
        }

        .post-title {
            font-size: 1.5em;
            line-height: 1.2;
        }

        .post-subtitle {
            font-size: 1em;
        }

        .post-content {
            font-size: 0.95em;
        }

        .post-content h1 { font-size: 1.5em; }
        .post-content h2 { font-size: 1.3em; }
        .post-content h3 { font-size: 1.1em; }

        .post-content pre {
            padding: 12px;
            border-radius: 8px;
            font-size: 0.85em;
            overflow-x: auto;
        }

        .post-content code {
            font-size: 0.85em;
            word-break: break-word;
        }

        .post-content table {
            font-size: 0.85em;
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .post-content img {
            margin: 15px 0;
            padding: 8px;
            border: 4px solid #dff0bd;
        }
    }
