/*
Theme Name: Ultra Child
Description: Child theme for Ultra
Author: Themify
Template: themify-ultra
Version: 1.1.2
*/

/* write custom css below */

.woocommerce-additional-fields { display: none !important; }

/* ==========================================================================
   A11y: color contrast (WCAG AA ≥ 4.5:1 for normal text)
   Theme sets body to grey (#808080) ≈ 3.9:1 on white — fails AA.
   ========================================================================== */

/* Sitewide body / paragraph text */
body,
body.home,
body p,
.entry-content,
.entry-content p,
.module-text,
.module-text p,
.module-post .post-content,
.module-post .post-content p,
.loops-wrapper .post-content,
.loops-wrapper .post-content p,
.style1,
span.style1,
#box1,
.module_row li,
.module_column li {
	color: #404040 !important;
}

/* Preserve intentional white text on dark hero / navy rows */
.themify_builder .tb_yenb220,
.themify_builder .tb_yenb220 p,
.themify_builder .tb_yenb220 h1,
.themify_builder .tb_yenb220 h2,
.themify_builder .tb_yenb220 h3,
.themify_builder .tb_yenb220 h4,
.themify_builder .tb_yenb220 h5,
.themify_builder .tb_yenb220 h6,
.themify_builder .tb_zlpq220,
.themify_builder .tb_zlpq220 p,
.themify_builder .tb_zlpq220 h1,
.themify_builder .tb_zlpq220 h2,
.themify_builder .tb_zlpq220 h3,
.themify_builder .tb_zlpq220 h4,
.themify_builder .tb_zlpq220 h5,
.themify_builder .tb_zlpq220 h6,
.themify_builder .tb_dh1o240,
.themify_builder .tb_dh1o240 p,
.themify_builder .tb_dh1o240 h1,
.themify_builder .tb_dh1o240 h2,
.themify_builder .tb_dh1o240 h3,
.themify_builder .tb_dh1o240 h4,
.themify_builder .tb_dh1o240 h5,
.themify_builder .tb_dh1o240 h6,
.themify_builder .tb_yenb220 .style1,
.themify_builder .tb_zlpq220 .style1,
.themify_builder .tb_dh1o240 .style1 {
	color: #ffffff !important;
}

/* Form labels (contact module) */
.module-contact .control-label,
.module-contact .tb-label-span,
.module-contact label,
.builder-contact-field .control-label,
.builder-contact-field .tb-label-span,
.builder-contact-field label {
	color: #404040 !important;
}

/* Footer */
#footerwrap,
#footerwrap #footer,
#footerwrap .widget,
#footerwrap .widgettitle,
#footerwrap .footer-text,
#footerwrap .footer-text .one,
#footerwrap .footer-text .two,
#footerwrap .feature-posts-list,
#footerwrap .feature-posts-list li,
#footerwrap .feature-posts-list small,
#footerwrap #footer-logo,
#footerwrap #footer-logo a,
#footerwrap .footer-nav a {
	color: #404040 !important;
}

#footerwrap a,
#footerwrap .feature-posts-list .feature-posts-title {
	color: #2d2d2d !important;
}

#footerwrap a:hover,
#footerwrap a:focus,
#footerwrap .feature-posts-list .feature-posts-title:hover,
#footerwrap .feature-posts-list .feature-posts-title:focus {
	color: #b31218 !important;
}

.feature-posts-list small,
.widget .feature-posts-list small,
.post-meta small,
.loops-wrapper .post-date,
.entry-date {
	color: #404040 !important;
}

.footer-text .one,
.footer-text .two {
	color: #404040 !important;
}

/* Empty feature-post thumbnail links */
.feature-posts-list > li > a:empty {
	display: none !important;
}

/* Screen-reader helper if needed */
.fbss-sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

/* === UX: module images keep aspect (width from HTML attrs) === */
.module .image-wrap img.wp-post-image {
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

/* Homepage process icons are pixel art — keep edges sharp */
.module .image-wrap img.wp-post-image[src*="computerized"],
.module .image-wrap img.wp-post-image[data-src*="computerized"],
.module .image-wrap img.wp-post-image[src*="cra-audit"],
.module .image-wrap img.wp-post-image[data-src*="cra-audit"],
.module .image-wrap img.wp-post-image[src*="business-registration"],
.module .image-wrap img.wp-post-image[data-src*="business-registration"],
.module .image-wrap img.wp-post-image[src*="incorporation"],
.module .image-wrap img.wp-post-image[data-src*="incorporation"],
.module .image-wrap img.wp-post-image[src*="tax-"],
.module .image-wrap img.wp-post-image[data-src*="tax-"],
.module .image-wrap img.wp-post-image[src*="pay-roll"],
.module .image-wrap img.wp-post-image[data-src*="pay-roll"],
.module .image-wrap img.wp-post-image[src*="consultation-icon"],
.module .image-wrap img.wp-post-image[data-src*="consultation-icon"],
.module .image-wrap img.wp-post-image[src*="tex-returns"],
.module .image-wrap img.wp-post-image[data-src*="tex-returns"],
.module .image-wrap img.wp-post-image[src*="storage-data-icon"],
.module .image-wrap img.wp-post-image[data-src*="storage-data-icon"],
.module .image-wrap img.wp-post-image[src*="initials-tax-icon"],
.module .image-wrap img.wp-post-image[data-src*="initials-tax-icon"] {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: pixelated;
}

/* Header phone icon: keep display ~16px wide, natural 2x asset */
#header .textwidget img[src*="phone-icon"],
.header-widget img[src*="phone-icon"],
.textwidget img[alt="Phone"] {
	width: 16px !important;
	height: auto !important;
	max-width: 16px;
	vertical-align: middle;
	margin-right: 4px;
	object-fit: contain;
	image-rendering: auto;
}
