/**
 * Lighthouse / WCAG contrast fixes for preset demo markup and theme chrome.
 *
 * @package Tekton
 */

/* Card grids, services, collections — small body text on light backgrounds */
.site-content .has-small-font-size,
.site-main .has-small-font-size,
#content .has-small-font-size,
.tekton-a11y-muted {
	color: #334155;
}

.site-content .wp-block-quote p,
.site-content .wp-block-quote cite,
.site-content .wp-block-column[style*="background:#f8fafc"] p,
.site-content .wp-block-column[style*="background:#f8fafc"] cite,
.site-content .wp-block-column[style*="background: #f8fafc"] p,
.site-content .wp-block-column[style*="background: #f8fafc"] cite {
	color: #334155;
}

/* Trust / partner strip */
.site-content .wp-block-group[style*="background-color:#f1f5f9"] p,
.site-content .wp-block-group[style*="background-color: #f1f5f9"] p,
.site-content .wp-block-group[style*="background:#f1f5f9"] p {
	color: #1e293b;
}

/* Footer + mobile app bar (reinforces inline performance CSS) */
.site-footer-advanced .widget-title,
.site-footer-advanced h2.widget-title {
	color: #1e293b;
}

.site-footer-advanced,
.site-footer-advanced p,
.site-footer-advanced a {
	color: #334155;
}

.site-footer-advanced a:hover {
	color: #0f172a;
}

.site-footer-bottom .footer-copyright,
.site-footer-bottom .footer-copyright a,
.site-footer-bottom .footer-menu,
.site-footer-bottom .footer-menu a {
	color: #1e293b;
}

.site-footer-bottom .footer-copyright a:hover,
.site-footer-bottom .footer-menu a:hover {
	color: #0f172a;
}

/* Gold buttons (preset patterns + stored block content) */
.site-content .wp-block-button__link[style*="background-color:#b8956a"],
.site-content .wp-block-button__link[style*="background-color: #b8956a"],
.site-main .wp-block-button__link[style*="background-color:#b8956a"],
.site-main .wp-block-button__link[style*="background-color: #b8956a"] {
	background-color: #8a6f42 !important;
	color: #ffffff !important;
	border-color: #8a6f42 !important;
}

.site-content .wp-block-button__link[style*="background-color:#b8956a"]:hover,
.site-content .wp-block-button__link[style*="background-color: #b8956a"]:hover,
.site-main .wp-block-button__link[style*="background-color:#b8956a"]:hover,
.site-main .wp-block-button__link[style*="background-color: #b8956a"]:hover {
	background-color: #735a32 !important;
	color: #ffffff !important;
}

/* Collection / card title links on light sections */
.site-content .wp-block-heading a,
.site-main .wp-block-heading a,
#content .wp-block-heading a,
.site-content .wp-block-column .wp-block-heading a {
	color: #1e293b;
}

.site-content .wp-block-heading a:hover,
.site-main .wp-block-heading a:hover,
#content .wp-block-heading a:hover {
	color: #0f172a;
}

.site-content .wp-block-image a {
	color: inherit;
}

/* Dark footer presets (marble, business dark bars) */
.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-copyright,
.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-copyright a,
.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-menu,
.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-menu a,
.site-footer-row.site-footer-bottom[style*="background-color:#1a1a1a"] .footer-copyright,
.site-footer-row.site-footer-bottom[style*="background-color:#1a1a1a"] .footer-copyright a,
.site-footer-row.site-footer-bottom[style*="background-color: #1a1a1a"] .footer-copyright a,
.site-footer-row.site-footer-bottom[style*="background-color:#1a1a1a"] .footer-menu a {
	color: #e8e4df;
}

.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-copyright a:hover,
.site-footer.tekton-footer-preset-marble .site-footer-bottom .footer-menu a:hover,
.site-footer-row.site-footer-bottom[style*="background-color:#1a1a1a"] .footer-copyright a:hover,
.site-footer-row.site-footer-bottom[style*="background-color:#1a1a1a"] .footer-menu a:hover {
	color: #ffffff;
}

/* Eyebrow / accent text on dark hero bands */
.site-content .has-text-color[style*="background-color:#1a1a1a"] p[style*="color:#b8956a"],
.site-content .has-text-color[style*="background-color: #1a1a1a"] p[style*="color:#b8956a"],
.site-content .alignfull[style*="background-color:#1a1a1a"] p[style*="color:#b8956a"],
.site-content .alignfull[style*="background-color: #1a1a1a"] p[style*="color:#b8956a"] {
	color: #d4b896 !important;
}
