/**
 * Site-wide overrides — white surfaces, neutral accents (no peach/cream flash).
 */

html,
body.ci-global-theme,
body.ci-global-theme #page,
body.ci-global-theme #content,
body.ci-global-theme .site-content,
body.ci-global-theme .main-wrapper,
body.ci-global-theme #main,
body.ci-global-theme main {
	background-color: #ffffff !important;
}

/* Site default is v2 Inter — never Nunito (legacy Google font flashes on refresh). */
body.ci-global-theme,
body.ci-global-theme.ci-has-v2-header,
body.ci-global-theme.ci-home-v2-page,
body.ci-global-theme.post-type-archive-news_article,
body.ci-global-theme.ci-news-article-v2 {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #33302e;
}

/* Contact (/contact-us/) — staging uses Nunito body + legal/contact stacks. */
body.ci-global-theme.ci-legal-page-active.page-template-default.page-id-152310 {
	font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.ci-global-theme .secondary-background,
body.ci-global-theme .guides-section,
body.ci-global-theme .guides-section.secondary-background,
body.ci-global-theme .page-heading.secondary-background,
body.ci-global-theme .page-heading::after,
body.ci-global-theme .page-heading.secondary-background::after,
body.ci-global-theme .header-lang.secondary-background,
body.ci-global-theme .row-section:nth-child(2n),
body.ci-global-theme .cw-bitcoin-section,
body.ci-global-theme .cw-crypto-section {
	background-color: #ffffff !important;
}

/* Neutral replacements where the legacy theme used peach for stripes/borders */
body.ci-global-theme .news-article {
	border-bottom-color: #e5e7eb;
}

body.ci-global-theme .content-section table tr:nth-child(2n) td,
body.ci-global-theme .coin-list-table tr:nth-child(2n) td {
	background-color: #f9fafb;
}

body.ci-global-theme h1,
body.ci-global-theme h3,
body.ci-global-theme h4,
body.ci-global-theme h5,
body.ci-global-theme h6,
body.ci-global-theme .page-heading h1,
body.ci-global-theme .guides-section-title,
body.ci-global-theme:not(.ci-contact-v2) .story h2,
body.ci-global-theme:not(.ci-contact-v2) .entry-content h2 {
	font-family: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", serif;
}

/* V2 section labels (LATEST NEWS, MARKETS BRIEFING, etc.) — sans uppercase, not editorial serif */
body.ci-global-theme .ci-home-section__title,
body.ci-global-theme .ci-home-hero__side-title,
body.ci-global-theme .ci-cat-section-title,
body.ci-global-theme .ci-news-widget__title,
body.ci-global-theme .ci-news-archive__eyebrow,
body.ci-global-theme .ci-article-more__title,
body.ci-global-theme .ci-article-sidebar__title,
body.ci-global-theme .ci-cat-topnews-panel .ci-home-hero__side-title,
body.ci-global-theme .ci-authors__eyebrow,
body.ci-global-theme .ci-home-market__list-title,
body.ci-global-theme .ci-home-pulse-card__label {
	font-family: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-style: normal !important;
}

/* Event card titles: Playfair 500 — same computed face as staging (body.ci-global-theme h3). */
body.ci-global-theme.ci-event-calendar-page .ci-event-cal__full-name,
body.ci-global-theme.ci-event-calendar-page .ci-event-cal__full-name a,
body.ci-global-theme.ci-event-calendar-page .ci-event-cal__featured-name,
body.ci-global-theme.ci-event-calendar-page .ci-event-cal__featured-name a {
	font-family: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", Times, serif;
	font-weight: 500;
	font-style: normal;
}

/* Yoast breadcrumbs — meet WCAG contrast on white surfaces */
body.ci-global-theme #breadcrumbs,
body.ci-global-theme #breadcrumbs a,
body.ci-global-theme #breadcrumbs .breadcrumb_last,
body.ci-global-theme .yoast-breadcrumb,
body.ci-global-theme .yoast-breadcrumb a {
	color: #5c5c5c;
}

body.ci-global-theme #breadcrumbs a:hover,
body.ci-global-theme .yoast-breadcrumb a:hover {
	color: #8b1538;
}
