body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background-color: #ffffff; color: #0f172a; overflow-x: hidden; }
.font-display, .font-editorial { font-family: 'Space Grotesk', 'Inter', sans-serif; }
:where(.font-editorial) { font-weight: 600; }
.glass-btn { background: rgba(255,255,255,0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.35); transition: all .3s cubic-bezier(.4,0,.2,1); }
.glass-btn:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.6); transform: scale(1.05); }
.glass-card { background: rgba(255,255,255,0.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.14); }

/* Hero entrance (opacity 0 / y 20 -> 1 / 0, 0.6s, staggered by inline delay) */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-in { opacity: 0; animation: heroIn .6s ease-out forwards; }
.hero-video { opacity: 0; animation: heroIn .8s ease-out .2s forwards; }
@keyframes leafPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.brand-leaf { animation: leafPulse 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-in, .hero-video { animation: none; opacity: 1; } .brand-leaf { animation: none; } html { scroll-behavior: auto !important; } }

/* Dropdown menus */
.nav-dd .dd { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav-dd:hover .dd, .nav-dd:focus-within .dd, .nav-dd.open .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd:hover .nav-dd-btn, .nav-dd.open .nav-dd-btn { color: #047857; }

#mobile-menu { transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s ease; }
.modal { transition: opacity .5s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.lang-btn { transition: background-color .2s, color .2s; }
.lang-btn:hover { color: #0f172a; }
.lang-btn.active { background: #1d6b38; color: #ffffff; }
.filter-btn.active { background: #1d6b38; color: #ffffff; border-color: #1d6b38; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #ffffff; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::selection { background: #009e52; color: #ffffff; }

/* WordPress admin bar offset for the sticky header */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar #site-header { top: 0; } }

/* Content of normal posts / pages */
.entry-content { font-size: 1.0625rem; line-height: 1.8; color: #475569; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #0f172a; line-height: 1.15; margin-top: 1.8em; letter-spacing: -0.01em; }
.entry-content h2 { font-size: 2.2rem; } .entry-content h3 { font-size: 1.7rem; } .entry-content h4 { font-size: 1.35rem; }
.entry-content a { color: #1d6b38; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; } .entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content blockquote { border-left: 3px solid #009e52; padding-left: 1.2em; font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; color: #0f172a; }
.entry-content img { border-radius: 1rem; height: auto; }
.entry-content figcaption { font-size: .8rem; color: #64748b; margin-top: .5em; }
.entry-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.entry-pagination .page-numbers { padding: .5rem 1rem; border: 1px solid #e2e8f0; border-radius: 9999px; font-size: .8rem; }
.entry-pagination .page-numbers.current { background: #1d6b38; color: #fff; border-color: #1d6b38; }
.alignwide { max-width: 64rem; } .alignfull { width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
