
/* Light theme text contrast */
html[data-theme="light"] {
    --text-color: #191919;
    --secondary-text-color: #4c4c4c;
}
html[data-theme="light"] .nav-item a,
html[data-theme="light"] .nav-item a:hover,
html[data-theme="light"] .nav-item a:focus-visible {
    color: #202020 !important;
}
html[data-theme="light"] .nav-item a:hover { text-decoration: underline; text-underline-offset: .3em; }
html[data-theme="light"] .footer { color:#505050; opacity:1; }
html[data-theme="light"] #portfolioContainer .project-info,
html[data-theme="light"] #portfolioContainer .project-info * {
    color:#191919 !important;
    text-shadow: -1px 0 1px rgba(255,255,255,.85), 1px 0 1px rgba(255,255,255,.85), 0 -1px 1px rgba(255,255,255,.85), 0 1px 2px rgba(255,255,255,.9) !important;
}
html[data-theme="light"] #portfolioContainer .project-title {
    -webkit-text-stroke: .35px rgba(255,255,255,.8);
    paint-order: stroke fill;
}
html[data-theme="light"] .blog-page .blog-subtitle,
html[data-theme="light"] .blog-page .blog-post-meta,
html[data-theme="light"] .blog-page .blog-post-excerpt,
html[data-theme="light"] .blog-page .blog-post.featured .blog-post-excerpt,
html[data-theme="light"] .blog-page .blog-article-meta,
html[data-theme="light"] .blog-page .blog-article-excerpt,
html[data-theme="light"] .blog-page .blog-article-footer,
html[data-theme="light"] .contact-subtitle,
html[data-theme="light"] .contact-info-text {
    color:#4c4c4c;
    opacity:1;
}
html[data-theme="light"] .blog-page .blog-post.featured .blog-post-title {
    background:none;
    -webkit-text-fill-color:#191919;
    color:#191919;
}
html[data-theme="light"] .blog-page .blog-tag,
html[data-theme="light"] .blog-page .blog-article-tag {
    color:#383838;
    background:#e9e7e1;
    border-color:#c9c6be;
}
html[data-theme="light"] .blog-page .blog-post-category,
html[data-theme="light"] .blog-page .blog-article-category,
html[data-theme="light"] .blog-page .blog-post.featured::before {
    color:#302400;
    background:#f2c748;
    opacity:1;
}
html[data-theme="light"] .contact-link:hover { color:#765300; }
html[data-theme="light"] .form-input,
html[data-theme="light"] .form-textarea {
    background:#fff;
    border-color:#959595;
    color:#191919;
}
html[data-theme="light"] .form-input::placeholder,
html[data-theme="light"] .form-textarea::placeholder { color:#686868; opacity:1; }
html[data-theme="light"] .form-submit.loading { color:#595959; border-color:#999; background:#e9e9e9; }
html[data-theme="light"] .form-submit.success,
html[data-theme="light"] .form-message.success { color:#246433; }
html[data-theme="light"] .form-message.error { color:#9d2424; }
html[data-theme="light"] :focus-visible { outline-color:#765300; }
