/* Base font settings */
body,
input,
textarea,
button,
select,
.gh-content,
.gh-article,
.gh-cta,
.gh-footer,
.gh-navigation,
.gh-recommended,
.gh-subscribe-form,
.prose,
footer,
.footer-content,
/* Additional base font targets */
.gh-card-excerpt,
.gh-post-excerpt,
.gh-navigation-items,
.gh-subscribe-input,
.gh-portal-content,
.gh-post-meta,
article p,
/* Additional content areas */
.gh-content p,
.gh-content li,
.gh-content div,
.gh-canvas,
.gh-outer,
.gh-inner,
.gh-section {
    font-family: var(--gh-font-body, 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

/* Heading font settings - more comprehensive selector list */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.gh-article-title,
.gh-card-title,
.gh-recommended-title,
.gh-footer-heading,
.gh-subscribe-title,
.gh-cta-title,
.gh-navigation-title,
.site-title,
footer .text-2xl,
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6,
/* Additional heading targets */
.gh-portal-title,
.gh-card h2,
.gh-card h3,
.gh-post-title,
.gh-navigation-logo,
.gh-featured-title,
/* Additional dynamic content */
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6,
.gh-header-title,
.gh-canvas-title,
.gh-section-title {
    font-family: var(--gh-font-heading, 'Abril Fatface', var(--gh-font-body, 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif));
}

/* Override any Tailwind font classes */
.font-serif,
.prose-serif,
.font-heading,
.font-sans,
.font-mono {
    font-family: inherit !important;
}

/* Ensure Tailwind prose customization */
.prose {
    --tw-prose-headings: inherit;
    --tw-prose-body: inherit;
    font-family: inherit;
}

.prose * {
    font-family: inherit;
}

/* Handle Ghost Portal specific styles */
.gh-portal-popup *,
.gh-portal-input,
.gh-portal-content * {
    font-family: inherit;
}

/* Ensure inheritance in dynamic content */
[class*="gh-"] * {
    font-family: inherit;
} 