/**
 * AITechSpark — Contrast Fix CSS
 * Fixes all light-text-on-light-background visibility issues.
 * Loaded last to ensure overrides apply everywhere.
 */

/* ═══════════════════════════════════════════════════════════
   GLOBAL BODY DEFAULTS
═══════════════════════════════════════════════════════════ */
body {
    color: #0d1117;
    background-color: #f5f7fc;
}

/* ═══════════════════════════════════════════════════════════
   HEADINGS — always dark on light backgrounds
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    color: #0d1117;
}

/* ═══════════════════════════════════════════════════════════
   TOOL CARDS — white card, dark text
═══════════════════════════════════════════════════════════ */
.tool-card {
    background: #ffffff;
    color: #0d1117;
}
.tool-card__title,
.tool-card__title a {
    color: #0d1117 !important;
}
.tool-card__tagline,
.tool-card__excerpt {
    color: #4a5568 !important;
}
.tool-card__body {
    color: #0d1117;
}

/* ═══════════════════════════════════════════════════════════
   AI TOOLS LANDING PAGE
═══════════════════════════════════════════════════════════ */

/* Category cards — white bg, dark text */
.ait-cat-card {
    background: #ffffff;
    color: #0d1117;
}
.ait-cat-card__name {
    color: #0d1117 !important;
}
.ait-cat-card__count {
    color: #4a5568 !important;
}

/* Editors Picks cards */
.ait-featured-card {
    background: #ffffff;
    color: #0d1117;
}
.ait-featured-card__title a {
    color: #0d1117 !important;
}
.ait-featured-card__tagline {
    color: #4a5568 !important;
}

/* Popular tools list items */
.ait-popular-item {
    background: #ffffff;
    color: #0d1117;
}
.ait-popular-item__title a {
    color: #0d1117 !important;
}
.ait-popular-item__tagline,
.ait-popular-item__cat {
    color: #4a5568 !important;
}

/* Category section text */
.ait-cat-section__title {
    color: #0d1117 !important;
}
.ait-cat-section__desc {
    color: #4a5568 !important;
}

/* Popular section on white bg */
.ait-popular {
    background: #f0f3fa;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY ARCHIVE PAGE
═══════════════════════════════════════════════════════════ */
.tool-cat-nav {
    background: #f0f3fa;
}
.tool-cat-nav__item {
    color: #4a5568;
}
.tool-cat-nav__item:hover {
    color: #0d1117;
    background: #ffffff;
}

/* Sidebar filters */
.tools-filter-box {
    background: #ffffff;
    color: #0d1117;
}
.tools-filter-box__title {
    color: #0d1117 !important;
}
.tools-filter-item {
    color: #4a5568 !important;
}
.tools-filter-item:hover {
    color: #0d1117 !important;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE TOOL PAGE
═══════════════════════════════════════════════════════════ */
.tool-article {
    color: #0d1117;
}
.tool-article p,
.tool-article li {
    color: #4a5568;
}
.tool-article h2,
.tool-article h3 {
    color: #0d1117;
}
.tool-best-for {
    background: #f0f3fa;
    color: #0d1117;
}
.tool-best-for p {
    color: #4a5568;
}
.tool-sidebar-card {
    background: #ffffff;
    color: #0d1117;
}
.tool-sidebar-card h3 {
    color: #0d1117 !important;
}
.tool-tagline-text {
    color: #4a5568 !important;
}
.sidebar-external-note {
    color: #4a5568 !important;
}
.tool-facts-bar {
    background: #f0f3fa;
}
.tool-fact__label {
    color: #4a5568 !important;
}
.tool-fact__value {
    color: #0d1117 !important;
}

/* Pros/Cons */
.tool-pros ul li,
.tool-cons ul li {
    color: #0d1117 !important;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy, Terms, Cookie, Disclaimer)
═══════════════════════════════════════════════════════════ */
.legal-content {
    color: #0d1117;
}
.legal-content p,
.legal-content li {
    color: #4a5568;
}
.legal-content h2,
.legal-content h3 {
    color: #0d1117 !important;
}
.legal-toc__inner {
    background: #ffffff;
}
.legal-toc__title {
    color: #4a5568 !important;
}
.legal-toc__list a {
    color: #4a5568 !important;
}
.legal-toc__list a:hover {
    color: #0066ff !important;
}
.legal-table th {
    color: #4a5568 !important;
    background: #f0f3fa !important;
}
.legal-table td {
    color: #0d1117 !important;
}
.legal-right-item strong {
    color: #0d1117 !important;
}
.legal-right-item p {
    color: #4a5568 !important;
}
.legal-service-card h4 {
    color: #0d1117 !important;
}
.legal-service-card p {
    color: #4a5568 !important;
}
.legal-contact-box p {
    color: #0d1117 !important;
}
.legal-intro-box p {
    color: #0d1117 !important;
}
.legal-hero__title {
    color: #0d1117 !important;
}
.legal-hero__meta {
    color: #4a5568 !important;
}
.cookie-category h3 {
    color: #0d1117 !important;
}
.disclaimer-card h4 {
    color: #0d1117 !important;
}
.disclaimer-card p {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════ */
.about-mission__content h2 {
    color: #0d1117 !important;
}
.about-mission__content p {
    color: #4a5568 !important;
}
.about-stat__label {
    color: #4a5568 !important;
}
.about-topic-card__title {
    color: #0d1117 !important;
}
.about-topic-card__desc {
    color: #4a5568 !important;
}
.about-topic-card {
    background: #ffffff;
}
.about-partner__content p {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-form-card {
    background: #ffffff;
    color: #0d1117;
}
.contact-form-card__title {
    color: #0d1117 !important;
}
.contact-info-card__title {
    color: #0d1117 !important;
}
.contact-info-list__item strong {
    color: #0d1117 !important;
}
.contact-info-list__item span,
.contact-info-list__item a {
    color: #4a5568 !important;
}
.contact-topics-card__title {
    color: #0d1117 !important;
}
.contact-topic-badge {
    color: #0d1117 !important;
    background: #f0f3fa !important;
}

/* ═══════════════════════════════════════════════════════════
   WRITE FOR US PAGE
═══════════════════════════════════════════════════════════ */
.write-section h2 {
    color: #0d1117 !important;
}
.write-section p,
.write-section li {
    color: #4a5568 !important;
}
.write-benefit-card {
    background: #ffffff;
}
.write-benefit-card h4 {
    color: #0d1117 !important;
}
.write-benefit-card p {
    color: #4a5568 !important;
}
.write-process__content h3 {
    color: #0d1117 !important;
}
.write-process__content p {
    color: #4a5568 !important;
}
.write-faq__q {
    color: #0d1117 !important;
}
.write-faq__a {
    color: #4a5568 !important;
}
.write-sidebar-card h3 {
    color: #0d1117 !important;
}
.write-quick-stats li span {
    color: #4a5568 !important;
}
.write-req-card h3 {
    color: #0d1117 !important;
}
.write-req-card li {
    color: #0d1117 !important;
}
.write-topic-card strong {
    color: #0d1117 !important;
}
.write-topic-card p {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER PAGE
═══════════════════════════════════════════════════════════ */
.nl-inside-card {
    background: #ffffff;
}
.nl-inside-card__title {
    color: #0d1117 !important;
}
.nl-inside-card p {
    color: #4a5568 !important;
}
.nl-testimonial-card {
    background: #ffffff;
}
.nl-testimonial-card__text {
    color: #0d1117 !important;
}
.nl-testimonial-card__author strong {
    color: #0d1117 !important;
}
.nl-testimonial-card__author span {
    color: #4a5568 !important;
}
.nl-preview-card__body p {
    color: #0d1117 !important;
}
.nl-preview-section li {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   ADVERTISE PAGE
═══════════════════════════════════════════════════════════ */
.advertise-stat-card {
    background: #ffffff;
}
.advertise-stat-card__label {
    color: #4a5568 !important;
}
.ad-package-card {
    background: #ffffff;
    color: #0d1117;
}
.ad-package-card__title {
    color: #0d1117 !important;
}
.ad-package-card__features li {
    color: #4a5568 !important;
}
.advertise-why-card {
    background: #ffffff;
}
.advertise-why-card__title {
    color: #0d1117 !important;
}
.advertise-why-card p {
    color: #4a5568 !important;
}
.audience-list__label {
    color: #0d1117 !important;
}
.interest-tag {
    color: #0d1117 !important;
    background: #f0f3fa !important;
}

/* ═══════════════════════════════════════════════════════════
   WIDGET AREA — Sidebar
═══════════════════════════════════════════════════════════ */
.widget__title {
    color: #0d1117 !important;
}
.popular-post-item__title a {
    color: #0d1117 !important;
}
.popular-post-item__date,
.popular-post-item__cat {
    color: #4a5568 !important;
}
.category-list__name {
    color: #0d1117 !important;
}
.category-list__count {
    color: #4a5568 !important;
}
.newsletter-widget__title {
    color: #0d1117 !important;
}
.newsletter-widget__sub {
    color: #4a5568 !important;
}
.newsletter-widget__perks li {
    color: #4a5568 !important;
}
.tag-cloud__tag {
    color: #4a5568 !important;
    background: #f0f3fa !important;
}
.tag-cloud__tag:hover {
    color: #ffffff !important;
    background: #0066ff !important;
}

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS — dark labels on light fields
═══════════════════════════════════════════════════════════ */
.ats-input,
.ats-select,
.ats-textarea {
    color: #0d1117 !important;
    background: #ffffff !important;
}
label,
.ats-form-group label {
    color: #0d1117 !important;
}
.ats-form-group .description {
    color: #4a5568 !important;
}
.ats-toggle-label {
    color: #0d1117 !important;
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVE & BLOG PAGES
═══════════════════════════════════════════════════════════ */
.archive-hero__title {
    color: #ffffff !important; /* dark hero bg */
}
.post-card__title a {
    color: #0d1117 !important;
}
.post-card__excerpt {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS — on light page bg
═══════════════════════════════════════════════════════════ */
.section-header h2 {
    color: #0d1117 !important;
}
.section-header p {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   AMTAKE BLOCKS — inline CTAs on light bg
═══════════════════════════════════════════════════════════ */
.amtake-block__title {
    color: #0d1117 !important;
}
.amtake-block__desc {
    color: #4a5568 !important;
}
.amtake-tag {
    color: #0066ff !important;
    background: rgba(0, 102, 255, 0.08) !important;
}
.amtake-tag:hover {
    color: #ffffff !important;
    background: #0066ff !important;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL — consistent contrast
═══════════════════════════════════════════════════════════ */
.ats-admin-wrap .ats-card {
    background: #ffffff;
    color: #0d1117;
}
.ats-card__title {
    color: #0d1117 !important;
}
.ats-stat-card__label {
    color: #4a5568 !important;
}
.ats-feeds-table td {
    color: #0d1117 !important;
}
.ats-feeds-table th {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE OVERRIDES — restore light text on dark bg
═══════════════════════════════════════════════════════════ */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #e2eaf5;
}
[data-theme="dark"] .tool-card,
[data-theme="dark"] .ait-featured-card,
[data-theme="dark"] .ait-popular-item,
[data-theme="dark"] .ad-package-card,
[data-theme="dark"] .advertise-why-card,
[data-theme="dark"] .advertise-stat-card,
[data-theme="dark"] .about-topic-card,
[data-theme="dark"] .nl-inside-card,
[data-theme="dark"] .nl-testimonial-card,
[data-theme="dark"] .write-benefit-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-topics-card,
[data-theme="dark"] .tool-sidebar-card,
[data-theme="dark"] .legal-toc__inner,
[data-theme="dark"] .tools-filter-box,
[data-theme="dark"] .ats-admin-wrap .ats-card {
    background: #111826;
    color: #e2eaf5;
}
[data-theme="dark"] .tool-card__title a,
[data-theme="dark"] .ait-featured-card__title a,
[data-theme="dark"] .ait-popular-item__title a,
[data-theme="dark"] .ad-package-card__title,
[data-theme="dark"] .advertise-why-card__title,
[data-theme="dark"] .about-topic-card__title,
[data-theme="dark"] .nl-inside-card__title,
[data-theme="dark"] .write-benefit-card h4,
[data-theme="dark"] .write-process__content h3,
[data-theme="dark"] .write-faq__q,
[data-theme="dark"] .write-section h2,
[data-theme="dark"] .legal-content h2,
[data-theme="dark"] .legal-content h3,
[data-theme="dark"] .legal-hero__title,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .ait-cat-section__title,
[data-theme="dark"] .tool-article h2,
[data-theme="dark"] .tool-article h3,
[data-theme="dark"] .tool-best-for,
[data-theme="dark"] .ats-card__title,
[data-theme="dark"] .contact-form-card__title,
[data-theme="dark"] .write-req-card h3 {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .tool-card__tagline,
[data-theme="dark"] .ait-featured-card__tagline,
[data-theme="dark"] .ait-popular-item__tagline,
[data-theme="dark"] .ait-popular-item__cat,
[data-theme="dark"] .ait-cat-section__desc,
[data-theme="dark"] .ad-package-card__features li,
[data-theme="dark"] .advertise-why-card p,
[data-theme="dark"] .about-topic-card__desc,
[data-theme="dark"] .nl-inside-card p,
[data-theme="dark"] .nl-testimonial-card__text,
[data-theme="dark"] .write-benefit-card p,
[data-theme="dark"] .write-process__content p,
[data-theme="dark"] .write-faq__a,
[data-theme="dark"] .write-section p,
[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content li,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .amtake-block__desc,
[data-theme="dark"] .tool-article p,
[data-theme="dark"] .tool-tagline-text,
[data-theme="dark"] .tool-fact__label,
[data-theme="dark"] .legal-hero__meta,
[data-theme="dark"] .newsletter-widget__sub,
[data-theme="dark"] .newsletter-widget__perks li {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .tool-best-for p,
[data-theme="dark"] .contact-info-list__item span,
[data-theme="dark"] .legal-service-card p,
[data-theme="dark"] .legal-right-item p {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .interest-tag,
[data-theme="dark"] .contact-topic-badge,
[data-theme="dark"] .tag-cloud__tag {
    background: #1a2236 !important;
    color: #8fa3c0 !important;
}
[data-theme="dark"] .popular-post-item__title a,
[data-theme="dark"] .category-list__name,
[data-theme="dark"] .widget__title,
[data-theme="dark"] .newsletter-widget__title {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .tools-filter-item {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .tools-filter-item:hover {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .ait-popular {
    background: rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .ait-cat-card {
    background: #111826;
    color: #e2eaf5;
}
[data-theme="dark"] .ait-cat-card__name {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .ait-cat-card__count {
    color: #8fa3c0 !important;
}
[data-theme="dark"] label,
[data-theme="dark"] .ats-form-group label,
[data-theme="dark"] .ats-toggle-label {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .ats-input,
[data-theme="dark"] .ats-select,
[data-theme="dark"] .ats-textarea {
    color: #e2eaf5 !important;
    background: #1a2236 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
[data-theme="dark"] .legal-table th {
    background: #131c2b !important;
    color: #8fa3c0 !important;
}
[data-theme="dark"] .legal-table td {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .legal-toc__title {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .legal-toc__list a {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .legal-toc__list a:hover {
    color: #0066ff !important;
}
[data-theme="dark"] .tool-pros,
[data-theme="dark"] .tool-cons {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .tool-pros li,
[data-theme="dark"] .tool-cons li {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .tool-facts-bar {
    background: rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .tool-fact__value {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .ats-feeds-table td {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .post-card__title a {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .post-card__excerpt {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .about-mission__content p,
[data-theme="dark"] .about-partner__content p {
    color: #8fa3c0 !important;
}
[data-theme="dark"] .about-stat {
    background: #131c2b;
}
[data-theme="dark"] .nl-preview-card,
[data-theme="dark"] .nl-preview-card__header {
    background: #111826;
    color: #e2eaf5;
}
[data-theme="dark"] .nl-preview-card__body p {
    color: #e2eaf5 !important;
}
[data-theme="dark"] .nl-preview-section li {
    color: #8fa3c0 !important;
}

/* ═══════════════════════════════════════════════════════════
   LATEST NEWS PAGE (home.php)
═══════════════════════════════════════════════════════════ */

.latestnews-hero {
    background: linear-gradient(135deg, #050515 0%, #080c20 60%, #0a0a1e 100%);
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.latestnews-hero__inner { max-width: 780px; }
.latestnews-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,102,255,0.15); color: #60a5fa;
    border: 1px solid rgba(0,102,255,0.3); border-radius: 20px;
    padding: 4px 14px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.latestnews-hero__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900; color: #ffffff !important;
    margin: 0 0 14px; line-height: 1.15;
}
.latestnews-hero__sub {
    font-size: 16px; color: rgba(255,255,255,0.75) !important;
    margin: 0 0 24px; line-height: 1.7; max-width: 600px;
}
.latestnews-hero__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.latestnews-hero__cat-pill {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 20px;
    padding: 5px 14px; font-size: 13px; font-weight: 500;
    text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.latestnews-hero__cat-pill:hover {
    background: rgba(0,102,255,0.25);
    border-color: rgba(0,102,255,0.5);
    color: #fff !important;
}

/* Filter pills in blog header */
.archive-filter-bar__sort { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-filter-pill {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    background: #f0f3fa; color: #4a5568 !important;
    font-size: 12px; font-weight: 600; text-decoration: none;
    border: 1px solid #e2e8f0; transition: all 0.15s;
}
.archive-filter-pill:hover {
    background: #0066ff; color: #fff !important; border-color: #0066ff;
}
[data-theme="dark"] .archive-filter-pill {
    background: #1a2236; color: #8fa3c0 !important; border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .archive-filter-pill:hover {
    background: #0066ff; color: #fff !important;
}

/* Pagination */
.archive-pagination { margin: 40px 0; display: flex; justify-content: center; gap: 8px; }
.archive-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; border-radius: 8px; padding: 0 12px;
    background: #ffffff; border: 1px solid #e2e8f0; color: #0d1117 !important;
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: #0066ff; border-color: #0066ff; color: #fff !important;
}
[data-theme="dark"] .archive-pagination .page-numbers {
    background: #111826; border-color: rgba(255,255,255,0.1); color: #e2eaf5 !important;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE CONTENT FIXES
═══════════════════════════════════════════════════════════ */

/* Section eyebrow labels */
.eyebrow {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #0066ff !important;
    display: flex; align-items: center; gap: 5px; margin-bottom: 4px;
}
[data-theme="dark"] .eyebrow { color: #60a5fa !important; }

/* Section headings on white bg */
.section-header h2,
.section h2 {
    color: #0d1117 !important;
}
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section h2 {
    color: #e2eaf5 !important;
}

/* Trending bar text */
.trending-label {
    color: #ef4444 !important;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
    display: flex; align-items: center; gap: 6px;
    background: rgba(239,68,68,0.08); padding: 4px 12px; border-radius: 20px;
    white-space: nowrap; flex-shrink: 0;
}
.trending-item { color: #0d1117 !important; }
[data-theme="dark"] .trending-item { color: #e2eaf5 !important; }
.trending-item:hover { color: #0066ff !important; }
.trending-item.hot { color: #dc2626 !important; }
[data-theme="dark"] .trending-item.hot { color: #f87171 !important; }

/* Post card titles on white cards */
.post-card h2 a,
.post-card h3 a,
.post-card__title a,
.card-title a,
.entry-title a,
.archive-featured-post__title a {
    color: #0d1117 !important;
}
[data-theme="dark"] .post-card h2 a,
[data-theme="dark"] .post-card h3 a,
[data-theme="dark"] .post-card__title a,
[data-theme="dark"] .card-title a,
[data-theme="dark"] .archive-featured-post__title a {
    color: #e2eaf5 !important;
}
.archive-featured-post__excerpt {
    color: #4a5568 !important;
}
[data-theme="dark"] .archive-featured-post__excerpt {
    color: #8fa3c0 !important;
}

/* Post meta */
.post-meta__date,
.post-meta__read-time,
.post-meta__author { color: #4a5568 !important; }
[data-theme="dark"] .post-meta__date,
[data-theme="dark"] .post-meta__read-time { color: #8fa3c0 !important; }

/* Editor's picks numbers */
.editors-pick-item .num { color: #0066ff !important; font-weight: 900; }
.editors-pick-item .title a { color: #0d1117 !important; }
[data-theme="dark"] .editors-pick-item .title a { color: #e2eaf5 !important; }

/* ═══════════════════════════════════════════════════════════
   PREMIUM LOGO — ensure Spark stays visible everywhere
═══════════════════════════════════════════════════════════ */

/* Keep Spark gradient visible on nav (glassmorphism header) */
header .logo-text { color: #ffffff !important; }
header .logo-text span {
    background: linear-gradient(100deg, #60a5fa 0%, #00d4ff 40%, #7df9ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 6px rgba(0,220,255,0.5)) !important;
    font-style: italic !important;
}

/* Scroll-down sticky header state */
.site-header.scrolled .logo-text { color: #0d1117; }
[data-theme="dark"] .site-header.scrolled .logo-text { color: #e2eaf5; }
.site-header.scrolled .logo-text span {
    background: linear-gradient(100deg, #0066ff 0%, #00b4ff 40%, #00e5ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Mobile menu logo */
.mobile-menu .logo-text { color: #0d1117 !important; }
.mobile-menu .logo-text span {
    background: linear-gradient(100deg, #0066ff 0%, #00c8f8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-style: italic !important;
}
[data-theme="dark"] .mobile-menu .logo-text { color: #e2eaf5 !important; }
