/*
Theme Name:   OceanWP Child
Theme URI:    https://oceanwp.org/
Description:  Ethio-Smart College child theme. Holds every custom page template
              (template-*.php) so that an OceanWP parent update can no longer
              silently revert Home, Apply Now, Admin Dashboard and the other
              eleven pages to the default template.
Author:       Ethio-Smart College
Template:     oceanwp
Version:      1.0.1
Text Domain:  oceanwp-child
*/

/*
 * This file is intentionally almost empty. OceanWP loads its own styles from
 * assets/css/style.min.css (handle: oceanwp-style), so nothing needs to be
 * duplicated here. Any site-wide CSS overrides you add below will load after
 * the parent's, which is exactly the cascade position you want.
 */

/* ---------------------------------------------------------------------------
 * White headings on the dark CTA + footer
 *
 * OceanWP ships a base rule that paints EVERY heading directly on the element:
 *
 *     h1,h2,h3,h4,h5,h6{...;color:#333;...}
 *
 * A rule on the element always beats an inherited value, so the
 * `color: var(--white)` on .cta/.footer never reached the headings — which is
 * why "Ready to Start Your Journey?", "EthioSmart College", "Quick Links",
 * "Programs" and "Contact Info" were rendering #333 on a near-black
 * background (roughly 1.2:1 contrast — effectively invisible).
 *
 * These selectors are deliberately more specific than both that base rule
 * (0,1,1 > 0,0,1) and the per-template footer rules (0,2,2 > 0,1,2), so they
 * win no matter which stylesheet the template prints last.
 * ------------------------------------------------------------------------- */
.cta h1, .cta h2, .cta h3, .cta h4, .cta h5, .cta h6,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
	color: #ffffff;
}

/* The brand lockup was split as Ethio[Smart] College with "Smart" in dark
 * red (#8B0000) — unreadable on the dark footer. It stays white and keeps the
 * lighter font-weight from .footer-brand h3 span, so the wordmark still has
 * visual rhythm without the contrast problem. */
.footer .footer-brand h3 span {
	color: #ffffff;
}
