/*
Theme Name: Hope in the World
Description: Temă clasică pentru povești de plantare, pagini publice și platforma Hope.
Version: 1.1.5
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: hope-world
*/

body.hope-site-body {
	--hope-site-bg: #f8f8f1;
	--hope-site-panel: #fffef9;
	--hope-site-ink: #223c2e;
	--hope-site-muted: #606e61;
	--hope-site-line: #dfe5d8;
	--hope-site-green: #27583d;
	--hope-site-on-green: #ffffff;
	--hope-site-soft: #edf1e4;
	--hope-site-lime: #dbe7c7;
	margin: 0;
	background: var(--hope-site-bg);
	color: var(--hope-site-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	color-scheme: light;
}
html[data-theme="dark"] body.hope-site-body {
	--hope-site-bg: #111e17;
	--hope-site-panel: #192920;
	--hope-site-ink: #e7ecdf;
	--hope-site-muted: #adbaaa;
	--hope-site-line: #34463a;
	--hope-site-green: #b4d39b;
	--hope-site-on-green: #182a1c;
	--hope-site-soft: #213526;
	--hope-site-lime: #31492e;
	color-scheme: dark;
}
.hope-site-body *, .hope-site-body *::before, .hope-site-body *::after { box-sizing: border-box; }
.hope-site-body [hidden] { display: none !important; }
.hope-site-body :where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #bc9545; outline-offset: 4px; }
.hope-site-body :where(.hope-site-header, .hope-site-footer, .hope-site-main) a { color: inherit; }
.hope-site-body :where(.hope-site-header, .hope-site-footer, .hope-site-main) img { max-width: 100%; height: auto; }
.hope-site-body :where(.hope-site-header, .hope-site-footer, .hope-site-main) button,
.hope-site-body :where(.hope-site-header, .hope-site-footer) select { font: inherit; }
.hope-site-container { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.hope-site-main { min-height: 55vh; width: 100%; }
.hope-site-main:focus { outline: none; }
.hope-site-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; overflow: hidden; border: 0; }
.hope-site-skip { position: fixed; top: 8px; left: 12px; transform: translateY(-160%); z-index: 10000; padding: 12px 20px; border-radius: 8px; background: var(--hope-site-panel); color: var(--hope-site-ink); }
.hope-site-skip:focus { transform: translateY(0); }
.hope-site-header { background: var(--hope-site-panel); border-bottom: 1px solid var(--hope-site-line); position: relative; z-index: 30; }
.hope-site-header-inner { min-height: 80px; width: 100%; padding: 14px clamp(24px, 2.5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hope-site-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.hope-site-brand-mark { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #27583d; color: #e3edcd; }
.hope-site-brand-mark svg { width: 36px; height: 36px; }
.hope-site-brand-word { font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.hope-site-brand-word > span { display: block; font-size: 9px; letter-spacing: .22em; margin-top: 7px; }
.hope-site-custom-logo img { max-width: 200px; max-height: 64px; width: auto; object-fit: contain; }
.hope-site-navigation, .hope-site-menu { display: flex; align-items: center; gap: 26px; }
.hope-site-menu { list-style: none; padding: 0; margin: 0; }
.hope-site-navigation a { display: block; padding-block: 9px; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--hope-site-muted); }
.hope-site-navigation a:hover, .hope-site-navigation a[aria-current="page"] { color: var(--hope-site-green); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.hope-site-header-actions { display: flex; align-items: center; gap: 14px; }
.hope-site-theme { display: flex; align-items: center; }
.hope-site-theme select { height: 42px; min-height: 42px; max-width: 112px; padding: 7px 12px; border: 1px solid var(--hope-site-line); border-radius: 9px; background: var(--hope-site-panel); color: var(--hope-site-ink); font-size: 12px; }
.hope-site-body .hope-site-button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; background: var(--hope-site-green); color: var(--hope-site-on-green); font-size: 14px; font-weight: 650; line-height: 1.5; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hope-site-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #17351e16; }
.hope-site-body .hope-site-button-secondary { background: var(--hope-site-panel); color: var(--hope-site-green); border-color: var(--hope-site-line); }
.hope-site-body .hope-site-header-cta { height: 42px; min-height: 42px; padding: 0 16px; gap: 12px; border-radius: 9px; font-size: 12px; white-space: nowrap; }
.hope-site-header-cta:hover { transform: none; }
.hope-site-menu-toggle { color: var(--hope-site-ink); background: var(--hope-site-soft); border: 1px solid var(--hope-site-line); border-radius: 9px; padding: 9px 12px; cursor: pointer; }
.hope-site-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 66px 72px; }
.hope-site-eyebrow { color: var(--hope-site-green); font-size: 11px; font-weight: 750; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; margin: 0 0 20px; }
.hope-site-eyebrow > span { margin-right: 9px; font-size: 17px; vertical-align: middle; }
.hope-site-hero h1 { font-size: clamp(62px, 6.5vw, 102px); font-weight: 550; line-height: 1.02; letter-spacing: -.065em; margin: 0 0 26px; }
.hope-site-hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--hope-site-green); letter-spacing: -.055em; }
.hope-site-lead { max-width: 475px; font-size: 17px; line-height: 1.85; color: var(--hope-site-muted); margin: 0 0 29px; }
.hope-site-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hope-site-hero-note { font-size: 12px; color: var(--hope-site-muted); margin: 20px 0 0; }
.hope-site-art { min-width: 0; position: relative; color: var(--hope-site-green); }
.hope-site-tree { display: block; width: 100%; max-height: 650px; }
.hope-site-art-halo { fill: var(--hope-site-soft); }
.hope-site-art-caption { display: flex; gap: 9px; justify-content: center; align-items: center; font-size: 11px; color: var(--hope-site-muted); margin-top: -5px; }
.hope-site-art-dot { background: var(--hope-site-green); width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hope-site-stats-section { background: var(--hope-site-soft); padding-block: 45px 34px; border-block: 1px solid var(--hope-site-line); }
.hope-site-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hope-site-section-heading .hope-site-eyebrow { margin-bottom: 9px; }
.hope-site-section-heading h2, .hope-site-invitation h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 550; line-height: 1.25; letter-spacing: -.045em; margin: 0; }
.hope-site-text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--hope-site-green) !important; text-underline-offset: 5px; font-size: 13px; font-weight: 650; flex-shrink: 0; }
.hope-site-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.hope-site-stats > div { display: flex; flex-direction: column-reverse; padding: 8px 0 12px; }
.hope-site-stats > div + div { border-left: 1px solid var(--hope-site-line); padding-left: 32px; }
.hope-site-stats dd { font-size: clamp(40px, 4vw, 60px); line-height: 1.2; font-weight: 550; letter-spacing: -.05em; margin: 0 0 7px; }
.hope-site-stats dt { font-size: 13px; color: var(--hope-site-muted); }
.hope-site-stat-note { font-size: 11px; color: var(--hope-site-muted); line-height: 1.8; max-width: 850px; margin: 24px 0 0; }
.hope-site-section { padding-block: 76px 0; }
.hope-site-how-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0; margin: 0; }
.hope-site-how-grid > li { padding: 30px; border: 1px solid var(--hope-site-line); border-radius: 16px; background: var(--hope-site-panel); }
.hope-site-step-number { display: grid; place-items: center; background: var(--hope-site-soft); border-radius: 13px; color: var(--hope-site-green); width: 44px; height: 44px; font-size: 13px; font-weight: 700; margin-bottom: 26px; }
.hope-site-how-grid h3 { font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; margin: 0 0 12px; }
.hope-site-how-grid p { font-size: 14px; line-height: 1.8; color: var(--hope-site-muted); margin: 0; }
.hope-site-empty { padding: 40px 28px; text-align: center; border: 1px dashed var(--hope-site-line); border-radius: 16px; background: var(--hope-site-panel); }
.hope-site-empty-leaf { display: block; width: 44px; margin: 0 auto 14px; color: var(--hope-site-green); }
.hope-site-empty h3 { font-size: 21px; font-weight: 550; margin: 0 0 10px; }
.hope-site-empty p, .hope-site-muted { color: var(--hope-site-muted); }
.hope-site-empty p { font-size: 14px; margin: 0 0 19px; }
.hope-site-invitation { margin-block: 76px; padding: 46px 52px; border-radius: 20px; background: var(--hope-site-lime); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hope-site-invitation .hope-site-eyebrow { margin-bottom: 12px; }
.hope-site-invitation p:last-child { font-size: 14px; color: var(--hope-site-muted); margin-bottom: 0; }
.hope-site-footer { border-top: 1px solid var(--hope-site-line); background: var(--hope-site-panel); }
.hope-site-footer-top { padding-block: 42px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.hope-site-footer-brand { font-size: 22px; font-weight: 650; letter-spacing: -.04em; text-decoration: none; }
.hope-site-footer-top p { margin: 6px 0 0; color: var(--hope-site-muted); font-size: 13px; }
.hope-site-footer nav { display: flex; flex-wrap: wrap; gap: 30px; font-size: 13px; }
.hope-site-footer nav a { text-decoration: none; }
.hope-site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hope-site-footer-bottom { padding-block: 20px; border-top: 1px solid var(--hope-site-line); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--hope-site-muted); }
.hope-site-page { padding-block: 55px 80px; }
.hope-site-page-heading { margin-bottom: 32px; }
.hope-site-page-heading h1, .hope-site-not-found h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.2; letter-spacing: -.045em; font-weight: 550; margin: 0; }
.hope-site-page-heading .hope-site-eyebrow { margin-bottom: 12px; }
.hope-site-prose { overflow-wrap: anywhere; }
.hope-site-prose > :where(p, ul, ol, blockquote) { max-width: 800px; }
.hope-site-prose p { margin: 0 0 1.4em; }
.hope-site-prose :where(h2, h3) { line-height: 1.3; letter-spacing: -.035em; margin-top: 1.5em; }
.hope-site-prose a { text-underline-offset: 4px; }
.hope-site-prose figure { margin-inline: 0; }
.hope-site-prose iframe { max-width: 100%; }
.hope-site-entry { border-top: 1px solid var(--hope-site-line); padding-block: 25px; }
.hope-site-not-found { max-width: 1000px; padding-block: 100px; }
.hope-site-not-found > p:not(.hope-site-eyebrow) { color: var(--hope-site-muted); margin-block: 25px; }
/* Companion-plugin layout stays inside the theme shell, without viewport breakout. */
.hope-site-main .hope-platform[data-hope-platform] { width: 100% !important; max-width: 1600px !important; margin: auto !important; min-width: 0; }
.hope-site-main .hope-platform[data-shell="theme"] .hope-header { display: none; }
.hope-site-main .hope-platform[data-shell="theme"] .hope-main { min-width: 0; }
.hope-site-map-page .hope-site-main .hope-platform[data-hope-platform] { max-width: none !important; }
.hope-site-app-content > p:empty { display: none; }
.hope-site-home-map .hope-platform[data-hope-platform] { border: 0; border-radius: 0; }
.hope-site-home-map .hope-platform .hope-explorer { border-radius: 0; }
.hope-site-signup-link { display: inline-flex; align-items: center; min-height: 42px; font-size: 12px; font-weight: 650; white-space: nowrap; text-underline-offset: 4px; }
.hope-signup { max-width: 540px; }
.hope-signup form { display: grid; gap: 16px; margin-block: 24px; }
.hope-signup label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.hope-signup .hope-account-profile { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--hope-site-line); border-radius: 12px; }
.hope-account-profile legend { padding-inline: 6px; font-weight: 650; font-size: 15px; }
.hope-signup select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--hope-site-line); border-radius: 9px; padding: 10px; background: var(--hope-site-panel); color: var(--hope-site-ink); font: inherit; font-size: 16px; }
.hope-signup input:not([type="checkbox"]) { width: 100%; min-height: 44px; border: 1px solid var(--hope-site-line); border-radius: 9px; padding: 10px 12px; background: var(--hope-site-panel); color: var(--hope-site-ink); font: inherit; font-size: 16px; }
.hope-signup .hope-signup-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.hope-signup-check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.hope-signup-notice, .hope-signup-error { padding: 14px; border: 1px solid var(--hope-site-line); border-radius: 9px; background: var(--hope-site-soft); font-size: 13px; }
.hope-signup-error { border-color: #b75435; }
.hope-signup .hope-signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Public-only companion-plugin cards and detail templates. */
.hope-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hope-public-story { min-width: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--hope-site-line); background: var(--hope-site-panel); }
.hope-public-story > a { display: block; }
.hope-public-story img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hope-public-story :where(h2, h3) { font-size: 21px; line-height: 1.35; letter-spacing: -.035em; margin: 20px 22px 12px; }
.hope-public-story :where(h2, h3) a { text-decoration: none; }
.hope-public-story :where(h2, h3) a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hope-public-story > :where(p, dl, .hope-public-facts) { margin: 12px 22px 22px; font-size: 13px; color: var(--hope-site-muted); }
.hope-public-story .hope-public-story-body { padding: 22px; }
.hope-public-story .hope-public-story-body :where(h2, h3, p) { margin-inline: 0; }
.hope-public-facts { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 13px; color: var(--hope-site-muted); }
.hope-public-facts dt { font-size: 11px; }
.hope-public-facts dd { margin: 0; font-weight: 650; color: var(--hope-site-ink); }
.hope-public-detail { width: min(1440px, calc(100% - 96px)); margin-inline: auto; padding-block: 50px 80px; overflow-wrap: anywhere; }
.hope-public-detail h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.2; letter-spacing: -.045em; }
.hope-public-detail figure { margin: 28px 0; }
.hope-public-detail figure img { display: block; width: 100%; max-height: 720px; object-fit: contain; border-radius: 15px; background: var(--hope-site-soft); }
.hope-public-detail figcaption { font-size: 12px; color: var(--hope-site-muted); padding-top: 10px; }
.hope-public-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hope-public-gallery figure { margin: 0; }
.hope-public-empty { padding: 32px; background: var(--hope-site-soft); border: 1px solid var(--hope-site-line); border-radius: 14px; color: var(--hope-site-muted); }
@media (max-width: 1280px) {
	.hope-site-header-inner { padding-inline: 30px; gap: 18px; flex-wrap: wrap; }
	.hope-site-navigation, .hope-site-menu { gap: 20px; }
	.hope-site-header-actions { margin-left: auto; }
	.hope-site-header-cta { font-size: 12px !important; padding-inline: 15px !important; }
}
@media (max-width: 1020px) {
	.hope-site-container, .hope-public-detail { width: calc(100% - 56px); }
	.hope-site-header-inner { min-height: 86px; padding-inline: 28px; }
	.hope-site-navigation { order: 4; width: 100%; justify-content: center; flex-wrap: wrap; }
	.hope-site-body.hope-site-js .hope-site-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
	.hope-site-js .hope-site-navigation { align-items: stretch; padding-block: 15px 5px; }
	.hope-site-js .hope-site-menu { flex-direction: column; align-items: stretch; gap: 5px; }
	.hope-site-js .hope-site-navigation { flex-direction: column; gap: 5px; }
	.hope-site-js .hope-site-navigation a { padding: 12px; }
	.hope-site-js .hope-site-header-actions { margin-left: 0; }
	.hope-site-hero { gap: 15px; padding-block: 52px; }
	.hope-site-hero h1 { font-size: clamp(62px, 8vw, 86px); }
	.hope-site-how-grid { gap: 15px; }
	.hope-site-how-grid > li { padding: 24px; }
	.hope-public-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.hope-site-container, .hope-public-detail { width: calc(100% - 36px); }
	.hope-site-header-inner { padding: 15px 18px; gap: 12px; }
	.hope-site-brand-mark { width: 38px; height: 38px; border-radius: 12px; }
	.hope-site-brand-mark svg { width: 30px; height: 30px; }
	.hope-site-brand-word { font-size: 24px; }
	.hope-site-brand-word > span { font-size: 7px; }
	.hope-site-header-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
	.hope-site-header-cta { min-height: 42px !important; flex: 1; }
	.hope-site-theme select { min-height: 42px; }
	.hope-site-hero { grid-template-columns: 1fr; padding-top: 40px; gap: 15px; }
	.hope-site-hero h1 { font-size: clamp(60px, 16vw, 86px); }
	.hope-site-hero .hope-site-eyebrow { margin-bottom: 23px; }
	.hope-site-lead { font-size: 16px; }
	.hope-site-art { max-width: 460px; width: 100%; margin-inline: auto; }
	.hope-site-art-caption { font-size: 10px; }
	.hope-site-section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 26px; }
	.hope-site-stats-section { padding-block: 34px 28px; }
	.hope-site-stats { gap: 12px; }
	.hope-site-stats > div + div { padding-left: 12px; }
	.hope-site-stats dd { font-size: 38px; }
	.hope-site-stats dt { font-size: 11px; }
	.hope-site-stat-note { margin-top: 18px; }
	.hope-site-section { padding-top: 50px; }
	.hope-site-how-grid { grid-template-columns: 1fr; }
	.hope-site-how-grid > li { padding: 25px; }
	.hope-site-step-number { margin-bottom: 20px; }
	.hope-site-invitation { margin-block: 50px; padding: 30px 24px; flex-direction: column; align-items: flex-start; }
	.hope-site-footer-top { padding-block: 32px; flex-direction: column; align-items: flex-start; gap: 24px; }
	.hope-site-footer-bottom { flex-direction: column; gap: 5px; }
	.hope-site-page, .hope-public-detail { padding-block: 36px 50px; }
	.hope-public-grid, .hope-public-gallery { grid-template-columns: 1fr; }
	.hope-site-not-found { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	.hope-site-body *, .hope-site-body *::before, .hope-site-body *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
