
        :root {
          --color-primary: #1a365d;
          --color-primary-dark: #12243d;
          --color-secondary: #2c5282;
          --color-accent: #4299e1;
          --color-text: #f7fafc;
          --color-text-light: #cbd5e0;
          --color-text-dark: #2d3748;
          --color-bg: #1a202c;
          --color-card: #2d3748;
          --color-border: #4a5568;

          --radius-sm: 4px;
          --radius-md: 6px;
          --radius-lg: 8px;
          --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
          --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
          --transition: all 0.2s ease;
        }

        * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
        }

        html {
          scroll-behavior: smooth;
          height: 100%;
        }

        body {
          font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
          line-height: 1.6;
          color: var(--color-text);
          background-color: var(--color-bg);
          min-height: 100%;
          display: flex;
          flex-direction: column;
          -webkit-text-size-adjust: 100%;
        }

        a {
          color: var(--color-accent);
          text-decoration: none;
          transition: var(--transition);
        }

        a:hover {
          opacity: 0.9;
        }

        h1, h2, h3, h4 {
          line-height: 1.3;
          margin-bottom: 1rem;
          font-weight: 600;
          word-break: break-word;
        }

        h1 { font-size: 2rem; }
        h2 { font-size: 1.75rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.25rem; }

        .container {
          width: 100%;
          max-width: 800px;
          margin: 0 auto;
          padding: 0 1rem;
        }

        .site-header {
          background-color: var(--color-primary);
          padding: 1rem 0;
          position: sticky;
          top: 0;
          z-index: 100;
          box-shadow: var(--shadow-md);
        }

        .site-nav ul {
          list-style: none;
          display: flex;
          justify-content: center;
          gap: 1.5rem;
          flex-wrap: wrap;
          padding: 0;
        }

        .main-content {
          flex: 1;
          padding: 2rem 0;
        }

        .article-card,
        .page-content {
          background: var(--color-card);
          border-radius: var(--radius-md);
          padding: 1.5rem;
          margin-bottom: 1.5rem;
          box-shadow: var(--shadow-sm);
          word-break: break-word;
          overflow-wrap: break-word;
        }

        .post-meta {
          color: var(--color-text-light);
          font-size: 0.875rem;
          margin-bottom: 1rem;
          display: flex;
          gap: 1rem;
          flex-wrap: wrap;
          align-items: center;
        }

        .tag {
          background: rgba(66, 153, 225, 0.15);
          color: var(--color-accent);
          padding: 0.25rem 0.5rem;
          border-radius: var(--radius-sm);
          font-size: 0.75rem;
          white-space: nowrap;
        }

        .post-image {
          width: 100%;
          height: auto;
          border-radius: var(--radius-md);
          margin: 1rem 0;
          max-height: 400px;
          object-fit: cover;
        }

        .site-footer {
          background: var(--color-primary-dark);
          color: var(--color-text-light);
          padding: 1.5rem 0;
          text-align: center;
          margin-top: auto;
        }

        /* Mobile-first responsive design */
        @media screen and (max-width: 768px) {
          .container {
            padding: 0 0.75rem;
          }
          
          .site-nav ul {
            gap: 0.75rem;
            justify-content: space-around;
          }
          
          h1 { font-size: 1.75rem; }
          h2 { font-size: 1.5rem; }
          
          .article-card,
          .page-content {
            padding: 1.25rem;
            margin-bottom: 1.25rem;
          }
          
          .post-meta {
            gap: 0.75rem;
          }
        }

        @media screen and (max-width: 480px) {
          .container {
            padding: 0 0.5rem;
          }
          
          .site-nav ul {
            gap: 0.5rem;
          }
          
          h1 { font-size: 1.5rem; }
          h2 { font-size: 1.25rem; }
          
          .post-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
          }
          
          .article-card,
          .page-content {
            padding: 1rem;
          }
        }

        .post-excerpt {
          margin-bottom: 1rem;
        }

        .read-more {
          display: inline-block;
          background: var(--color-accent);
          color: white;
          padding: 0.5rem 1rem;
          border-radius: var(--radius-sm);
          margin-top: 1rem;
          font-weight: 500;
        }

        .read-more:hover {
          background: var(--color-secondary);
          text-decoration: none;
        }

        .pagination {
          display: flex;
          justify-content: center;
          gap: 0.5rem;
          margin: 2rem 0;
          flex-wrap: wrap;
        }

        .pagination a, 
        .pagination span {
          padding: 0.5rem 1rem;
          border-radius: var(--radius-sm);
        }

        .pagination a {
          background: var(--color-card);
          color: var(--color-text);
          text-decoration: none;
          transition: var(--transition);
        }

        .pagination a:hover {
          background: var(--color-secondary);
        }

        .pagination a.active {
          background: var(--color-accent);
          color: white;
          font-weight: bold;
        }

        .pagination .dots {
          display: inline-flex;
          align-items: flex-end;
          color: var(--color-text-light);
        }

        .prev, .next {
          background: var(--color-primary) !important;
        }

        .post-navigation {
          display: flex;
          justify-content: space-between;
          margin-top: 2rem;
          padding-top: 1rem;
          border-top: 1px solid var(--color-border);
        }

        .nav-previous, .nav-next {
          max-width: 45%;
          padding: 0.5rem;
          background: var(--color-card);
          border-radius: var(--radius-sm);
        }

        .nav-previous {
          text-align: right;
        }

        .nav-next {
          text-align: left;
        }
        
        /* Floating ad */
        .floating-ad {
            position: fixed;
            top: 100px;
            right: 20px;
            width: 160px;
            z-index: 10000;
            background: var(--color-card);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        
        .floating-ad img {
            width: 100%;
            height: auto;
            display: block;
            cursor: pointer;
            border-radius: var(--radius-md);
        }
        
        @media screen and (max-width: 992px) {
            .floating-ad {
                width: 120px;
                right: 10px;
            }
        }
        
        @media screen and (max-width: 768px) {
            .floating-ad {
                display: none;
            }
        }

        /* Accessibility improvements */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }
        
        /* Touch targets */
        a, button, .read-more, .pagination a {
            min-width: 44px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Performance optimizations */
        img {
            max-width: 100%;
            height: auto;
            vertical-align: middle;
            font-style: italic;
            background-repeat: no-repeat;
            background-size: cover;
        }

