/* === CONTRAST FIXES === */

/* Ensure text is readable on white/light backgrounds in content */
.has-white-background-color,
.has-background[class*="white"],
.entry-content [style*="background-color: white"],
.entry-content [style*="background-color: #fff"],
.entry-content [style*="background: white"],
.entry-content [style*="background: #fff"] {
    color: #18181F !important;
}

/* Specific elements inside white backgrounds */
.has-white-background-color h1,
.has-white-background-color h2,
.has-white-background-color h3,
.has-white-background-color h4,
.has-white-background-color h5,
.has-white-background-color h6,
.has-white-background-color p,
.has-white-background-color li,
.has-white-background-color a {
    color: #18181F;
}

/* Blockquote on white background */
.has-white-background-color blockquote {
    color: #18181F;
    border-left-color: #72F1FE;
}

/* Ensure links are visible on white background */
.has-white-background-color a {
    color: #008eb2;
    /* Darker blue for contrast */
}

.has-white-background-color a:hover {
    color: #005f79;
}