
    body.enterprise-theme {
      background: #fafcff;
      color: #0F172A;
      overflow-x: hidden;
      font-family: 'Inter', sans-serif;
    }
    .enterprise-theme .navbar {
      background: #ffffff !important;
      backdrop-filter: none !important;
      border: 1px solid rgba(0,87,255,0.1) !important;
      box-shadow: 0 10px 30px rgba(0,87,255,0.05) !important;
      border-radius: 100px !important;
      margin: 0 30px !important;
      width: calc(100% - 60px) !important;
      top: 20px !important;
      padding: 12px 30px !important;
    }
    .enterprise-theme .navbar .nav-link,
    .enterprise-theme .navbar .logo-text { color: #0B1120 !important; font-weight: 700 !important; }
    .enterprise-theme .navbar .nav-link svg { stroke: #0B1120 !important; }
    .enterprise-theme .navbar .logo-accent { color: #255bbd !important; }

    /* Simple & Sober Blog Hero */
    .blog-hero {
      padding: 130px 20px 80px;
      background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
      text-align: center;
      border-bottom: 1px solid #eef2f6;
    }
    .blog-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 20px;
    }
    .blog-hero p {
      font-size: 1.2rem;
      color: rgba(255,255,255,0.8);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

    
    .blog-search-form {
      max-width: 550px;
      margin: 40px auto 0;
      display: flex;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 100px;
      padding: 6px;
      backdrop-filter: blur(10px);
      transition: border-color 0.3s;
    }
    .blog-search-form:hover, .blog-search-form:focus-within {
      border-color: rgba(255, 255, 255, 0.4);
    }
    .blog-search-input {
      flex: 1;
      background: transparent;
      border: none;
      padding: 10px 20px;
      color: #fff;
      font-size: 1.05rem;
      outline: none;
    }
    .blog-search-input::placeholder {
      color: rgba(255,255,255,0.5);
    }
    .blog-search-btn {
      background: linear-gradient(135deg, #255bbd 0%, #00d2ff 100%);
      color: #fff;
      border: none;
      padding: 12px 30px;
      border-radius: 100px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.3s;
    }
    .blog-search-btn:hover {
      opacity: 0.9;
    }

    /* Blog Grid */
    .blog-grid-section {
      padding: 80px 20px;
      background: #fafcff;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 40px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Individual Blog Card */
    .blog-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    }
    .blog-card-image {
      width: 100%;
      height: 220px;
      background: #eef2f6;
      position: relative;
      overflow: hidden;
    }
    /* Fallback image styling since real images will be loaded by PHP */
    .blog-card-image::after {
      content: 'Image Placeholder';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #94a3b8;
      font-weight: 500;
    }
    .blog-card-content {
      padding: 30px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .blog-category {
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      color: #255bbd;
      margin-bottom: 10px;
      letter-spacing: 1px;
    }
    .blog-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 15px;
      line-height: 1.4;
    }
    .blog-title a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s;
    }
    .blog-title a:hover {
      color: #255bbd;
    }
    .blog-excerpt {
      font-size: 1rem;
      color: rgba(255,255,255,0.8);
      line-height: 1.6;
      margin-bottom: 25px;
      flex-grow: 1;
    }
    .blog-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #f1f5f9;
      padding-top: 20px;
    }
    .blog-date {
      font-size: 0.9rem;
      color: #94a3b8;
      font-weight: 500;
    }
    .blog-read-more {
      font-size: 0.95rem;
      font-weight: 600;
      color: #255bbd;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: gap 0.2s;
    }
    .blog-read-more:hover {
      gap: 8px;
    }

    /* Pagination */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      margin-top: 60px;
    }
    .page-num {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      font-weight: 600;
      color: #64748B;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      transition: all 0.2s;
    }
    .page-num:hover {
      border-color: #255bbd;
      color: #255bbd;
    }
    .page-num.active {
      background: #255bbd;
      color: #ffffff;
      border-color: #255bbd;
    }
    .page-nav {
      padding: 0 20px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      font-weight: 600;
      color: #0B1120;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      transition: all 0.2s;
    }
    .page-nav:hover {
      background: #f8fafc;
      border-color: #cbd5e1;
    }
  
/* --- GLOBAL MOBILE OPTIMIZATION PATCH --- */
@media (max-width: 768px) {
  /* Fix container paddings */
  section, .container, .container-balanced, .container-expanded, .main-content, .hero-container, .content-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    min-width: 0 !important;
  }
  
  /* Reset rigid min-widths causing overflow or squishing */
  [style*="min-width"], .bento-card, .glass-card, .r-card, .step-card, .folder-box, .glass-box {
    min-width: 0 !important;
    width: 100% !important;
  }
  
  /* Force inline flex containers to wrap */
  [style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  
  /* Force common grid/flex layouts to stack vertically */
  .hero-bubble-layout, .bento-container, .glass-grid, .retail-grid, .hero-container, .zig-zag-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* Reduce massive padding inside cards and CTA sections */
  .bento-card, .glass-card, .r-card, .step-card, .folder-box, .bento-glass, .glass-box, .massive-cta, .cta-glass-panel, .retail-cta, .r-cta-content {
    padding: 25px 20px !important;
  }
  
  /* Fix overlapping absolute elements in hero sections (e.g., Shopify page) */
  section > div > div[style*="position: relative; width: 100%; display: flex"] {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* Avoid giant box shadows pushing width */
  .folder-box, .glass-card, .step-card, .bento-card {
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05) !important;
  }
}
