/*
Theme Name:   Pierson's Farm 2026
Theme URI:    https://www.piersonsfarm.com/
Author:       Lawrence Levine
Description:  Block-theme rebuild for Pierson's Farm. Child of Twenty Twenty-Five; overrides palette, typography, and layout for the new design inspired by ellmsfarms.com, using the barn blue-grey primary with a warm rust accent.
Template:     twentytwentyfive
Version:      0.1.0
Requires at least: 6.5
Requires PHP: 8.0
License:      GPL v2 or later
Text Domain:  pierson-farm-2026
*/

/*
 * Most styling lives in theme.json. This file is for edge-case CSS only —
 * things that can't be expressed via theme.json or block-level style attrs.
 */

/*
 * Footer contrast. The footer group carries has-white-color, but WP 6.9's
 * default heading and link element rules win the cascade over the parent's
 * inherited color and over inline color:#ffffff on individual blocks. Force
 * white on every text-bearing element in the footer, and underline links so
 * they're distinguishable from regular copy against the blue-grey primary.
 */
.site-footer,
.site-footer :is(p, li, h1, h2, h3, h4, h5, h6) {
    color: #ffffff !important;
}

.site-footer a,
.site-footer a:visited {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--wp--preset--color--accent, #C7793F) !important;
    text-decoration: none;
}

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
}
