
/*--------------------------------------------------------------
# Sanity Content Specific Styles
--------------------------------------------------------------*/
.sanity-content-body {
  /* You can add base styles for the Sanity content block if needed,
     e.g., if you want a different default font or color than the rest of the page.
     Often, this isn't necessary if your general body styles are appropriate. */
  /* font-family: 'YourPreferredArticleFont', serif; */
  /* color: #333; */
}


.sanity-content-body h1, h2, h3, h4, h5, h6 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.sanity-content-body h3 {
  color: var(--Home-Page-3-Color-Text-Color, #070811);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 42px; /* 131.25% */
  text-transform: capitalize;
}


.sanity-content-body h4 {
    font-size: 1.5rem;
}

/* Paragraphs from Sanity */
.sanity-content-body p {
    color: var(--vtc-text-pera-1);
    font-size: var(--f-fs-font-fs16);
    font-style: normal;
    font-weight: var(--f-fw-medium);
    line-height: var(--f-fs-font-fs26);
    letter-spacing: 0.16px;
    transition: all 0.4s;
}

/* Links from Sanity */
/* .sanity-content-body a {
  color: #007bff;
  text-decoration: underline;
}

.sanity-content-body a:hover {
  color: #0056b3;
  text-decoration: none; 
} */

.sanity-content-body img { /* General styling for images if not handled by your image component output */
  max-width: 100%;
  height: auto;
  display: block; /* Allows for margin auto centering */
  margin: 1.5em auto; /* Center images with some vertical space */
  border-radius: 4px; /* Optional: slight rounding */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.sanity-content-body .image-block { /* If you used this class in your image component */
    margin: 2em 0;
}
.sanity-content-body .image-block img {
    /* Specifics for images from your component */
    border: none; /* Override general if needed */
    box-shadow: none; /* Override general if needed */
}
.sanity-content-body .image-caption {
    font-size: 0.9em;
    color: #777;
    text-align: center;
    margin-top: 0.5em;
}


/* Lists from Sanity (unordered and ordered) */
.sanity-content-body ul,
.sanity-content-body ol {
  margin-bottom: 1.25em;
  padding-left: 1.8em; /* Standard indentation */
}

.sanity-content-body li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* Blockquotes from Sanity */
.sanity-content-body blockquote {
  border-left: 4px solid #007bff; /* Use a theme accent color */
  padding: 10px 20px;
  margin: 1.5em 0;
  background-color: #f9f9f9; /* Slight background tint */
  font-style: italic;
  color: #555;
}

.sanity-content-body blockquote p {
  margin-bottom: 0; /* Often blockquotes only contain one paragraph */
}

/* Other common elements */
.sanity-content-body strong, .sanity-content-body b {
  font-weight: bolder; /* Or your theme's specific bold weight */
}

.sanity-content-body em, .sanity-content-body i {
  font-style: italic;
}

.sanity-content-body pre,
.sanity-content-body code {
  font-family: 'Raleway', monospace;
  background-color: #f0f0f0; /* Background for code blocks/inline code */
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.95em;
}

.sanity-content-body pre {
  padding: 1em;
  overflow-x: auto; /* Scroll for long code lines */
  margin-bottom: 1.25em;
}

.sanity-content-body pre code {
  padding: 0;
  background-color: transparent; /* Code inside pre doesn't need its own background */
  border-radius: 0;
}

/* Updated CSS to fix ordered lists showing same as unordered lists */

/*--------------------------------------------------------------
# Sanity Content - Custom List Styles (Fixed)
--------------------------------------------------------------*/

/* Common reset for both ul and ol within Sanity content */
.sanity-content-body ul,
.sanity-content-body ol {
  list-style-type: none; /* Remove default bullets/numbers */
  padding-left: 0;       /* Remove default padding */
  margin-top: 1em;
  margin-bottom: 1.5em;
}

/* Common li styling for positioning and bottom margin */
.sanity-content-body ul li,
.sanity-content-body ol li {
  position: relative;
  margin-bottom: 0.8em;
  line-height: 1.6;
  padding-left: 40px; /* Make space for the circle/number */
}

/* --- Styling for Unordered Lists (ul) - Deep Orange Circles --- */
.sanity-content-body ul li::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 0.45em;
    width: 22px;
    height: 22px;
    background-color: #FFF1E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add the inner orange circle */
.sanity-content-body ul li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: calc(0.35em + 7px);
    width: 12px;
    height: 12px;
    background-color: #ffa637;
    border-radius: 50%;
}

/* Adjust padding to accommodate the larger bullet */
.sanity-content-body ul li {
  padding-left: 36px; /* Increased padding to account for larger bullet */
}

/* --- Styling for Ordered Lists (ol) - Numbers in Light Orange Circles --- */
.sanity-content-body ol {
  counter-reset: item; /* Reset counter at the ol level */
}

.sanity-content-body ol li {
  counter-increment: item; /* Each li will increment the counter */
}

/* This is the key part that inserts numbers */
.sanity-content-body ol li::before {
  /* Use the counter() function to insert the number */
  content: counter(item);
  
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 26px;
  height: 26px;
  background-color: #FFEAD7; /* Light orange background */
  border-radius: 50%;
  
  /* Center the number in the circle */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  color: #F5A623; /* Orange text color for the numbers */
  font-weight: bold;
  font-size: 0.85em;
}

/* Make the list item titles bold as shown in the image */
.sanity-content-body ol li strong:first-child,
.sanity-content-body ol li b:first-child {
  font-weight: 700;
  color: #333;
}