/* AI Freshers v0.1.1 — restrained brand layer */
:root {
  --aif-blue: #2563EB;
  --aif-ink: #111827;
  --aif-muted: #6B7280;
  --aif-line: #E5E7EB;
  --aif-soft: #F3F4F6;
}

/* Neutralise donor-brand accent treatments. */
a:not(.button):not(.wp-element-button):not(.wve-button):not(.tbe-button) { color: inherit; }
.wve-category,
.wve-card__category,
.wve-home-category__eyebrow,
.wve-archive__eyebrow,
.ep-kicker,
.nr-tldr strong,
.tbe-article-cta__eyebrow,
.tbe-single-sidebar__title,
.wve-frame-desktop-nav a,
.wve-frame-nav a { color: var(--aif-ink) !important; }

.wve-category,
.wve-card__category,
.wve-home-category__eyebrow,
.wve-archive__eyebrow {
  background: var(--aif-soft) !important;
  border-color: var(--aif-line) !important;
}

.nr-tldr,
.tbe-article-cta,
blockquote {
  border-color: var(--aif-line) !important;
  border-left-color: var(--aif-line) !important;
}

/* The only title colour change is on hover/focus. */
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h1 a:hover,
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h2 a:hover,
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h3 a:hover,
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h1 a:focus-visible,
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h2 a:focus-visible,
:is(.wve-card, .wve-home-card, article, .entry-content, .wve-archive, .wve-home) h3 a:focus-visible,
.wve-card__title a:hover,
.wve-card__title a:focus-visible,
.wve-home-card__title a:hover,
.wve-home-card__title a:focus-visible,
.wve-home-category-card h3 a:hover,
.wve-home-category-card h3 a:focus-visible,
.wve-overlay-mosaic-story h2 a:hover,
.wve-overlay-mosaic-story h2 a:focus-visible {
  color: var(--aif-blue) !important;
}

/* Buttons are the main accent surface. */
:is(button, .button, .wp-element-button, .wve-button, .tbe-button, .wve-load-more, .wve-home-category-button):not(.wve-frame-icon):not(.wve-frame-menu-toggle):not(.wve-frame-search-toggle):not(.wve-theme-toggle) {
  background: var(--aif-blue) !important;
  border-color: var(--aif-blue) !important;
  color: #fff !important;
}

:is(button, .button, .wp-element-button, .wve-button, .tbe-button, .wve-load-more, .wve-home-category-button):not(.wve-frame-icon):not(.wve-frame-menu-toggle):not(.wve-frame-search-toggle):not(.wve-theme-toggle):hover {
  background: var(--aif-blue) !important;
  border-color: var(--aif-blue) !important;
  opacity: .9;
  color: #fff !important;
}

/* Normal inline links stay understated instead of blue. */
.entry-content a:not(.button):not(.wp-element-button) {
  color: var(--aif-ink);
  text-decoration-color: #9CA3AF;
}
.entry-content a:not(.button):not(.wp-element-button):hover {
  color: var(--aif-ink);
  text-decoration-color: currentColor;
}

html[data-wve-theme="dark"] .wve-category,
html[data-wve-theme="dark"] .wve-card__category,
html[data-wve-theme="dark"] .wve-home-category__eyebrow,
html[data-wve-theme="dark"] .wve-archive__eyebrow {
  color: #fff !important;
  background: #27272A !important;
  border-color: #3F3F46 !important;
}


/* Footer wordmark: dark text on the light footer; white only in dark mode. */
.wve-frame-footer .aif-wordmark__freshers {
  color: #111827 !important;
}
html[data-wve-theme="dark"] .wve-frame-footer .aif-wordmark__freshers {
  color: #fff !important;
}
