
  * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
  }


  /* 1. Make all links inside blog posts QuotaGuard Green */
  .text-rich-text a {
    color: #46D472 !important; 
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.2s ease;
  }

  /* 2. Link Hover State */
  .text-rich-text a:hover {
    color: #ffffff !important;
  }

  /* 3. Bullet Point Colors */
  .text-rich-text ul li::marker, 
  .text-rich-text ol li::marker {
    color: #46D472 !important;
  }

  /* 4. CODE BLOCK FIX: Make code look like code */
  .text-rich-text pre {
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0;            /* Light gray text */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;          /* Allows horizontal scrolling for long code */
    margin: 24px 0;
  }

  /* 5. INLINE CODE: Styles text wrapped in ` ` */
  .text-rich-text code {
    background-color: rgba(70, 212, 114, 0.15); /* Subtle green tint */
    color: #46D472;                             /* Green text */
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
  }


/* 1. Prevent the whole page from leaking off-screen */
body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

/* 2. Force text and headings to wrap within the mobile window */
.w-richtext {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* 3. Stop code snippets from stretching the page width */
pre, code {
    white-space: pre-wrap !important; 
    word-break: break-all !important;  
    max-width: 100% !important;
    overflow-x: auto !important; 
}

/* 4. Ensure images never exceed the phone's width */
.w-richtext img {
    max-width: 100% !important;
    height: auto !important;
}
