/*
Theme Name: Unity Gardens
Theme URI: https://www.unitygardensinc.com/
Author: Unity Gardens
Description: A lightweight editorial block theme for practical garden inspiration and advice.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unity-gardens
Tags: blog, news, full-site-editing, block-patterns, featured-images
*/

:root { --ug-rule: #d9ddd0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { text-underline-offset: .16em; }
a { transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--wp--preset--color--fern); }
.wp-site-blocks { overflow: hidden; }
.ug-topline { border-bottom: 1px solid var(--ug-rule); }
.ug-header { position: relative; z-index: 10; }
.ug-wordmark { font-family: var(--wp--preset--font-family--display); font-weight: 600; }
.ug-wordmark em { color: var(--wp--preset--color--fern); font-style: italic; }
.ug-hero { min-height: min(78vh, 760px); display:flex; align-items:flex-end; }
.ug-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(22,34,26,.86), rgba(22,34,26,.12) 72%) !important; }
.ug-kicker { font: 700 .74rem/1.2 var(--wp--preset--font-family--sans); letter-spacing: .12em; text-transform: uppercase; }
.ug-rule-title { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; border-top:1px solid var(--ug-rule); padding-top:1.2rem; }
.ug-section { padding-block: clamp(3.5rem,7vw,6.5rem); }
.ug-section:nth-child(even) { background: var(--wp--preset--color--mist); }
.ug-category-sections .ug-section > .alignwide { width:100%; max-width:1240px; margin-inline:auto; padding-inline:clamp(1.25rem,4vw,3rem); }
.ug-post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.25rem,3vw,2.5rem); }
.ug-post-card { border-top:3px solid var(--wp--preset--color--ink); padding-top:1.1rem; }
.ug-post-card:first-child { grid-column:span 2; }
.ug-post-card:first-child h3 { font-size:clamp(1.7rem,3vw,2.8rem); }
.ug-post-card h3 { margin:.55rem 0 .7rem; }
.ug-post-meta { color:var(--wp--preset--color--moss); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.ug-category-intro { max-width:850px; }
.ug-category-description { font-family:var(--wp--preset--font-family--display); font-size:clamp(1.15rem,2vw,1.45rem); line-height:1.55; }
.ug-category-description h2,.ug-category-description h3 { margin-top:1.75em; }
.ug-footer { border-top:1px solid var(--ug-rule); }
.wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit:cover; }
.wp-block-navigation__responsive-container.is-menu-open { padding:1.5rem; }
@media (max-width: 782px) {
 .ug-topline { display:none; }
 .ug-hero { min-height:620px; }
 .ug-post-grid { grid-template-columns:1fr; }
 .ug-post-card:first-child { grid-column:auto; }
 .ug-footer-grid { display:grid !important; grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
