/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Text Domain: twentytwentyfive-child
Description: A simple child theme with clean typography and a fresh agriculture-inspired green palette.
Version: 1.0.0
*/

:root {
    --theme-bg: #eef5e8;
    --theme-surface: #fbfdf8;
    --theme-text: #20311f;
    --theme-muted: #5f705d;
    --theme-accent: #4f7d3a;
    --theme-accent-dark: #355826;
    --theme-border: #c9d8c1;
}

body {
    background: var(--theme-bg);
    color: var(--theme-text);
}

.wp-site-blocks {
    min-height: 100vh;
}

main.wp-block-group,
main.wp-block-post-content {
    line-height: 1.7;
}

.wp-block-site-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.wp-block-site-title a,
.wp-block-navigation a,
a {
    color: var(--theme-accent);
}


.wp-block-navigation {
    min-width: 0;
}

.wp-block-navigation__container {
    flex-wrap: nowrap;
    gap: 0.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wp-block-navigation__container::-webkit-scrollbar {
    display: none;
}

.wp-block-navigation__container > .wp-block-navigation-item {
    flex: 0 0 auto;
}

.wp-block-navigation a {
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.35rem 0.55rem;
}

.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current-menu-ancestor > a,
.wp-block-navigation .current-menu-parent > a,
.wp-block-navigation a[aria-current="page"] {
    color: var(--theme-accent-dark);
    background: color-mix(in srgb, var(--theme-accent) 12%, white);
    border-radius: 999px;
    font-weight: 600;
}

.wp-block-site-title a:hover,
.wp-block-navigation a:hover,
a:hover {
    color: var(--theme-accent-dark);
}

.wp-block-group.is-style-section-card,
.wp-block-post,
.wp-block-query article,
.wp-block-comments {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(32, 49, 31, 0.06);
}

.wp-block-post,
.wp-block-query article,
.wp-block-comments {
    padding: clamp(1.25rem, 2vw, 2rem);
}

.wp-block-button__link {
    background: var(--theme-accent);
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
}

.wp-block-button__link:hover {
    background: var(--theme-accent-dark);
}

input,
textarea,
select {
    border: 1px solid var(--theme-border);
    border-radius: 10px;
}

footer {
    color: var(--theme-muted);
}

@media (max-width: 782px) {
    .wp-block-post,
    .wp-block-query article,
    .wp-block-comments {
        border-radius: 12px;
        padding: 1rem;
    }
}