/* KH Etusivu – scoped to #khe so Divi styles elsewhere are untouched */
#khe {
	--g900: #0f2318; --g800: #1a3d2b; --g700: #2a5c40; --g600: #3a7d55;
	--g400: #6aad8a; --g200: #b8ddc7; --g100: #d8eedd; --g50: #eef7f1;
	--forest: #1c3a28; --gold: #c8a96e; --cream: #f4efe6;
	--text: #1a2620; --muted: #4a6358; --light: #7f998c; --border: #dde8df;
	--fh: 'Lora', Georgia, serif; --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--r: 10px; --rl: 18px;
	--sh: 0 2px 12px rgba(26, 61, 43, .08); --shl: 0 10px 40px rgba(26, 61, 43, .16);
	font-family: var(--fb);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
#khe *, #khe *::before, #khe *::after { box-sizing: border-box; }
#khe h1, #khe h2, #khe p, #khe ul, #khe dl, #khe dd, #khe figure, #khe blockquote { margin: 0; padding: 0; }
#khe a { text-decoration: none; color: inherit; }
#khe img { display: block; max-width: 100%; height: auto; }
#khe :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.khe-main { background: #fff; }
/* Divi header keeps its hidden mobile menu off-screen, which causes sideways scroll on phones */
html:has(body.khe-page), body.khe-page { overflow-x: clip; }

/* Shared */
#khe .khe-inner { max-width: 1200px; margin: 0 auto; }
#khe .khe-sec { padding: 88px 48px; }
#khe .khe-sec--white { background: #fff; }
#khe .khe-sec--cream { background: var(--cream); }
#khe .khe-sec--forest { background: var(--forest); color: #fff; }
#khe .khe-label { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--g600); margin-bottom: 12px; }
#khe .khe-label::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--g400); }
#khe .khe-label--gold { color: var(--gold); }
#khe .khe-label--gold::before { background: var(--gold); }
#khe .khe-h2 { font-family: var(--fh); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--text); margin-bottom: 12px; padding: 0; }
#khe .khe-h2 em, #khe .khe-panel-title em { font-style: italic; color: var(--g700); }
#khe .khe-h2--light { color: #fff; }
#khe .khe-h2--light em, #khe .khe-panel-title em { color: var(--g200); }
#khe .khe-lead { font-size: 1rem; line-height: 1.75; color: var(--muted); max-width: 540px; margin-bottom: 40px; }
#khe .khe-lead--light { color: rgba(255, 255, 255, .62); }

#khe .khe-btns { display: flex; flex-wrap: wrap; gap: 14px; }
#khe .khe-btns--center { justify-content: center; }
#khe .khe-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 30px; padding: 14px 28px; font-size: .92rem; font-weight: 600; line-height: 1.2; transition: background .2s, transform .2s, color .2s; }
#khe .khe-btn:hover { transform: translateY(-1px); }
#khe .khe-btn--light { background: #fff; color: var(--g800); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
#khe .khe-btn--light:hover { background: var(--g50); }
#khe .khe-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); padding: 13px 26px; }
#khe .khe-btn--ghost:hover { background: rgba(255, 255, 255, .2); }
#khe .khe-btn--dark { background: var(--g800); color: #fff; margin-top: 28px; }
#khe .khe-btn--dark:hover { background: var(--g700); }

/* Hero */
#khe .khe-hero { display: grid; grid-template-columns: 1fr 390px; min-height: min(88vh, 860px); }
#khe .khe-hero-main { position: relative; overflow: hidden; background: var(--g900); display: flex; flex-direction: column; justify-content: center; }
#khe .khe-hero-img, #khe .khe-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#khe .khe-hero-video { opacity: 0; transition: opacity 1.2s; }
#khe .khe-hero-video.is-playing { opacity: .55; }
#khe .khe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 26, 18, .9) 0%, rgba(26, 61, 43, .62) 55%, rgba(10, 26, 18, .42) 100%); }
#khe .khe-hero-content { position: relative; z-index: 2; padding: 80px 68px 150px; max-width: 700px; color: #fff; }
#khe .khe-eyebrow { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
#khe .khe-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
#khe .khe-h1 { font-family: var(--fh); font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; color: #fff; margin-bottom: 20px; padding: 0; }
#khe .khe-h1 em { font-style: italic; color: var(--g200); }
#khe .khe-hero-text { font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, .78); max-width: 470px; margin-bottom: 36px; }
#khe .khe-stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 48px; padding: 20px 68px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .1); }
#khe .khe-stat { display: flex; flex-direction: column; gap: 2px; }
#khe .khe-stat dt { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1; }
#khe .khe-stat dd { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* Hero side panel */
#khe .khe-hero-side { display: flex; flex-direction: column; background: var(--forest); color: #fff; }
#khe .khe-panel { flex: 1; padding: 30px 26px 18px; display: flex; flex-direction: column; }
#khe .khe-panel-title { font-family: var(--fh); font-size: 1.7rem; font-weight: 700; line-height: 1.1; margin-bottom: 18px; }
#khe .khe-elist { display: flex; flex-direction: column; gap: 8px; flex: 1; }
#khe .khe-panel-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; font-weight: 600; }
#khe .khe-panel-foot a { color: var(--g200); }
#khe .khe-panel-foot a:hover { color: #fff; }
#khe .khe-side-about { background: var(--cream); color: var(--text); padding: 20px 26px 22px; }
#khe .khe-side-title { font-family: var(--fh); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
#khe .khe-side-link { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--muted); transition: color .15s; }
#khe .khe-side-link:last-child { border-bottom: 0; }
#khe .khe-side-link:hover { color: var(--g700); }
#khe .khe-side-cta { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
#khe .khe-side-btn { flex-shrink: 0; background: var(--g600); color: #fff; border-radius: 20px; padding: 9px 20px; font-size: .84rem; font-weight: 600; transition: background .15s; }
#khe .khe-side-btn:hover { background: var(--g700); color: #fff; }
#khe .khe-side-cta span { font-size: .78rem; line-height: 1.5; color: var(--muted); }

/* Event rows (panel + section share markup) */
#khe .khe-ei, #khe .khe-ec { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r); padding: 11px 13px; color: #fff; transition: background .18s, transform .18s, border-color .18s; }
#khe .khe-ec { padding: 15px 18px; margin-bottom: 10px; }
#khe .khe-ei:hover, #khe .khe-ec:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .18); transform: translateX(3px); }
#khe .khe-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 46px; height: 52px; border-radius: 9px; background: var(--g700); flex-shrink: 0; }
#khe .khe-date-d { font-family: var(--fh); font-size: 1.2rem; font-weight: 700; line-height: 1; }
#khe .khe-date-m { font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g200); margin-top: 3px; }
#khe .khe-ev-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#khe .khe-ev-name { font-size: .86rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#khe .khe-ec .khe-ev-name { font-size: .95rem; }
#khe .khe-ev-meta { font-size: .72rem; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#khe .khe-ev-spots { font-size: .68rem; font-weight: 600; color: var(--gold); }
#khe .khe-ev-price { font-family: var(--fh); font-size: .92rem; font-weight: 600; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
#khe .khe-empty { font-size: .86rem; color: rgba(255, 255, 255, .55); line-height: 1.6; padding: 8px 0; }

/* Services */
#khe .khe-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; }
#khe .khe-svc { background: #fff; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; transition: background .18s; }
#khe .khe-svc:hover { background: var(--g50); }
#khe .khe-svc-ic { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; }
#khe .khe-svc-t { font-family: var(--fh); font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
#khe .khe-svc-d { font-size: .84rem; color: var(--muted); line-height: 1.6; flex: 1; }
#khe .khe-svc-lk { font-size: .8rem; font-weight: 600; color: var(--g600); }
#khe .khe-svc--cta { background: var(--g100); }
#khe .khe-svc--cta:hover { background: var(--g200); }
#khe .khe-svc--cta .khe-svc-ic { background: #fff; }
#khe .khe-svc--cta .khe-svc-t { color: var(--g800); }
#khe .khe-svc--cta .khe-svc-d { color: var(--g700); }
#khe .khe-svc--cta .khe-svc-lk { color: var(--g800); }
#khe .khe-label--svc { font-family: var(--fb); line-height: 1.6; padding: 0; margin-bottom: 24px; }

/* Events section */
#khe .khe-ev2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
#khe .khe-ev2 > div, #khe .khe-about > div { min-width: 0; }
#khe .khe-ev-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; font-weight: 600; }
#khe .khe-ev-bar a { color: var(--g200); }
#khe .khe-ev-bar a:hover { color: #fff; }
#khe .khe-count { font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 3px 10px; }
#khe .khe-ws { list-style: none; margin: 20px 0 30px; }
#khe .khe-ws li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
#khe .khe-ws li:last-child { border-bottom: 0; }
#khe .khe-ws-ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
#khe .khe-ws strong { display: block; font-size: .92rem; font-weight: 600; }
#khe .khe-ws small { display: block; font-size: .78rem; line-height: 1.5; color: rgba(255, 255, 255, .6); margin-top: 2px; }
#khe .khe-ws small + small { margin-top: 0; }

/* Reviews */
#khe .khe-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
#khe .khe-rev-grid--1 { grid-template-columns: minmax(0, 720px); }
#khe .khe-rev-grid--2 { grid-template-columns: repeat(2, 1fr); }
#khe .khe-rev { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 28px; box-shadow: var(--sh); display: flex; flex-direction: column; }
#khe .khe-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
#khe .khe-rev blockquote { font-size: .95rem; line-height: 1.8; color: var(--muted); font-style: italic; flex: 1; margin-bottom: 20px; border: 0; }
#khe .khe-rev figcaption { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
#khe .khe-av { width: 38px; height: 38px; border-radius: 50%; background: var(--g50); border: 2px solid var(--g100); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--g700); flex-shrink: 0; }
#khe .khe-rev strong { display: block; font-size: .86rem; }
#khe .khe-rev small { display: block; font-size: .74rem; color: var(--light); }

/* About */
#khe .khe-about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
#khe .khe-about-media { position: relative; }
#khe .khe-about-img { width: 100%; height: 520px; object-fit: cover; object-position: 50% 45%; border-radius: var(--rl); }
#khe .khe-badge { position: absolute; bottom: 28px; right: -16px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shl); font-size: 1.4rem; }
#khe .khe-badge strong { display: block; font-size: .82rem; line-height: 1.3; }
#khe .khe-badge small { display: block; font-size: .72rem; color: var(--muted); }
#khe .khe-acc { border-top: 1px solid var(--border); margin-top: -12px; }
#khe .khe-acc-item { border-bottom: 1px solid var(--border); }
#khe .khe-acc-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: .95rem; font-weight: 600; cursor: pointer; transition: color .15s; }
#khe .khe-acc-item summary::-webkit-details-marker { display: none; }
#khe .khe-acc-item summary:hover { color: var(--g700); }
#khe .khe-acc-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--g50); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--g600); transition: transform .22s, background .18s, color .18s; flex-shrink: 0; }
#khe .khe-acc-item[open] .khe-acc-ic { background: var(--g800); color: #fff; transform: rotate(45deg); }
#khe .khe-acc-body { font-size: .9rem; line-height: 1.75; color: var(--muted); padding-bottom: 16px; }
#khe .khe-acc-body p { padding: 0; margin: 0 0 .6em; }

/* Blog */
#khe .khe-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
#khe .khe-more { font-size: .88rem; font-weight: 600; color: var(--g600); white-space: nowrap; }
#khe .khe-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#khe .khe-post { background: #fff; border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
#khe .khe-post:hover { box-shadow: var(--shl); transform: translateY(-2px); }
#khe .khe-post-img { aspect-ratio: 16 / 10; background: var(--g100); overflow: hidden; }
#khe .khe-post-img img { width: 100%; height: 100%; object-fit: cover; }
#khe .khe-post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
#khe .khe-post time { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--g600); }
#khe .khe-post strong { font-family: var(--fh); font-size: 1.12rem; line-height: 1.3; }
#khe .khe-post-body > span { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* CTA */
#khe .khe-cta { background: var(--g800); padding: 80px 48px; text-align: center; }
#khe .khe-cta-inner { max-width: 820px; }
#khe .khe-cta .khe-lead { margin: 0 auto 30px; }

/* Responsive */
@media (max-width: 1100px) {
	#khe .khe-hero { grid-template-columns: 1fr 340px; }
	#khe .khe-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	#khe .khe-hero { grid-template-columns: 1fr; min-height: 0; }
	#khe .khe-hero-main { min-height: 78vh; }
	#khe .khe-hero-side { display: none; }
	#khe .khe-hero-content { padding: 64px 28px 140px; }
	#khe .khe-stats { padding: 16px 28px; gap: 16px 28px; flex-wrap: wrap; }
	#khe .khe-sec, #khe .khe-cta { padding: 60px 22px; }
	#khe .khe-ev2, #khe .khe-about { grid-template-columns: 1fr; gap: 44px; }
	#khe .khe-rev-grid, #khe .khe-rev-grid--2, #khe .khe-blog-grid { grid-template-columns: 1fr; }
	#khe .khe-about-img { height: 340px; }
	#khe .khe-badge { right: 14px; }
	#khe .khe-acc { margin-top: 0; }
}
@media (max-width: 600px) {
	#khe .khe-svc-grid { grid-template-columns: 1fr; }
	#khe .khe-hero-main { min-height: 0; }
	#khe .khe-hero-content { padding: 56px 22px 150px; }
	#khe .khe-stat dt { font-size: 1.25rem; }
	#khe .khe-head-row { flex-direction: column; align-items: flex-start; }
	#khe .khe-ec { padding: 13px 14px; flex-wrap: wrap; }
	#khe .khe-ev-meta { white-space: normal; }
	#khe .khe-ec .khe-ev-price { margin-left: 58px; }
	#khe .khe-svc { padding: 22px 20px; }
	#khe .khe-btn { padding: 13px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	#khe * { transition: none !important; }
}
#khe .khe-h2 + .khe-ev-list { margin-top: 24px; }

@media (max-width: 600px) {
	#khe .khe-cta .khe-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
	#khe .khe-cta .khe-btn { justify-content: center; }
}

/* v1.5 line icons */
#khe .khe-icon { width: 26px; height: 26px; display: block; }
#khe .khe-svc-ic { color: var(--g800); }
#khe .khe-ws-ic { color: var(--g200); }
#khe .khe-ws-ic .khe-icon { width: 21px; height: 21px; }
#khe .khe-badge-ic { color: var(--g600); display: flex; }
#khe .khe-badge-ic .khe-icon { width: 24px; height: 24px; }

/* v1.5 hero "Meistä" booking row */
#khe .khe-side-cta { gap: 16px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
#khe .khe-side-link:last-of-type { border-bottom: 0; }
#khe .khe-side-btn { padding: 10px 22px; box-shadow: 0 4px 12px rgba(58, 125, 85, .25); }
#khe .khe-side-cta span { font-size: .8rem; line-height: 1.45; text-wrap: balance; max-width: 190px; }

/* ==========================================================================
   v1.6 Tapahtumat page
   ========================================================================== */
#khe .khe-btn--sm { padding: 10px 18px; font-size: .84rem; margin-top: 0; }
#khe .khe-count--dark { color: var(--g700); background: var(--g50); border: 1px solid var(--border); }

#khe .khe-ev-hero { background: linear-gradient(160deg, var(--g900) 0%, var(--forest) 60%, var(--g700) 100%); color: #fff; padding: 84px 48px 88px; }
#khe .khe-ev-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
#khe .khe-h1--page { font-size: clamp(2.4rem, 4.4vw, 4rem); }
#khe .khe-ev-next { display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--rl); padding: 28px; color: #fff; transition: background .2s, transform .2s; }
#khe .khe-ev-next:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
#khe .khe-ev-next .khe-label { margin-bottom: 0; }
#khe .khe-ev-next-title { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
#khe .khe-ev-next-meta { font-size: .88rem; color: rgba(255, 255, 255, .7); }
#khe .khe-ev-next-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: .9rem; }
#khe .khe-ev-next-foot span:first-child { font-family: var(--fh); color: var(--gold); font-size: 1.1rem; }

#khe .khe-month { margin-top: 12px; }
#khe .khe-month + .khe-month { margin-top: 48px; }
#khe .khe-month-title { display: flex; align-items: center; gap: 16px; font-family: var(--fh); font-size: 1.35rem; font-weight: 600; color: var(--g700); margin: 0 0 20px; padding: 0; }
#khe .khe-month-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
#khe .khe-evc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#khe .khe-evc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; transition: box-shadow .2s, transform .2s; }
#khe .khe-evc:hover { box-shadow: var(--shl); transform: translateY(-3px); }
#khe .khe-evc.is-full { opacity: .75; }
#khe .khe-evc-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--g100); overflow: hidden; }
#khe .khe-evc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
#khe .khe-evc:hover .khe-evc-media img { transform: scale(1.04); }
#khe .khe-evc-date { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 54px; height: 58px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--g800); box-shadow: var(--sh); }
#khe .khe-evc-date .khe-date-d { font-family: var(--fh); font-size: 1.35rem; font-weight: 700; line-height: 1; }
#khe .khe-evc-date .khe-date-m { font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g600); margin-top: 3px; }
#khe .khe-evc-flag { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 20px; }
#khe .khe-evc-flag--full { background: #8a3b2e; }
#khe .khe-evc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
#khe .khe-evc-when { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g600); }
#khe .khe-evc-title { font-family: var(--fh); font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0; padding: 0; }
#khe .khe-evc-title a:hover { color: var(--g700); }
#khe .khe-evc-text { font-size: .86rem; color: var(--muted); line-height: 1.6; }
#khe .khe-evc-meta { list-style: none; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
#khe .khe-evc-meta li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
#khe .khe-evc-meta .khe-icon { width: 16px; height: 16px; color: var(--g600); flex-shrink: 0; }
#khe .khe-evc-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); }
#khe .khe-evc-price { font-family: var(--fh); font-size: 1.15rem; font-weight: 600; color: var(--g800); }
#khe .khe-ev-empty { background: var(--g50); border-radius: var(--rl); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

#khe .khe-ev-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#khe .khe-ev-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 32px; box-shadow: var(--sh); }
#khe .khe-ev-info-ic { width: 52px; height: 52px; border-radius: 12px; background: var(--g100); color: var(--g800); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
#khe .khe-ev-info-title { font-family: var(--fh); font-size: 1.4rem; font-weight: 700; margin: 0 0 10px; padding: 0; }
#khe .khe-ev-info-card p { font-size: .92rem; color: var(--muted); line-height: 1.75; margin: 0 0 .8em; padding: 0; }
#khe .khe-ws-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; justify-content: center; }
#khe .khe-ws-chips li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 8px 16px 8px 12px; font-size: .86rem; font-weight: 500; color: var(--g800); }
#khe .khe-ws-chips .khe-icon { width: 18px; height: 18px; color: var(--g600); }

#khe .khe-group { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: var(--g50); border: 1px solid var(--border); border-radius: var(--rl); padding: 36px 40px; }
#khe .khe-group-ic { width: 72px; height: 72px; border-radius: 18px; background: var(--g800); color: #fff; display: flex; align-items: center; justify-content: center; }
#khe .khe-group-ic .khe-icon { width: 34px; height: 34px; }
#khe .khe-group .khe-lead { margin-bottom: 0; }
#khe .khe-group .khe-btn { margin-top: 0; white-space: nowrap; }

@media (max-width: 1100px) {
	#khe .khe-evc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	#khe .khe-ev-hero { padding: 60px 22px 64px; }
	#khe .khe-ev-hero-grid, #khe .khe-ev-info { grid-template-columns: 1fr; gap: 28px; }
	#khe .khe-group { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
	#khe .khe-ev-empty { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	#khe .khe-evc-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.8 Toimipaikat list + Vuokraa tiipii page
   ========================================================================== */
#khe .khe-places { list-style: none; margin: 0; padding: 0 0 16px; }
#khe .khe-places li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
#khe .khe-places li:first-child { padding-top: 2px; }
#khe .khe-places li:last-child { border-bottom: 0; padding-bottom: 0; }
#khe .khe-places .khe-icon { width: 18px; height: 18px; color: var(--g600); margin-top: 3px; flex-shrink: 0; }
#khe .khe-places strong { display: block; font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.4; }
#khe .khe-places small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.5; }

#khe .khe-btn .khe-icon { width: 18px; height: 18px; }
#khe .khe-tp-hero { position: relative; overflow: hidden; background: var(--g900); color: #fff; min-height: min(78vh, 720px); display: flex; align-items: center; }
#khe .khe-tp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scaleX(-1); }
#khe .khe-tp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 26, 18, .88) 0%, rgba(15, 35, 24, .62) 42%, rgba(10, 26, 18, .05) 75%); }
#khe .khe-tp-hero-content { position: relative; z-index: 2; width: 100%; padding: 96px 48px; }
#khe .khe-tp-hero .khe-h1 { max-width: 640px; }
#khe .khe-tp-hero .khe-hero-text { max-width: 520px; }

#khe .khe-tp-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
#khe .khe-tp-text p { font-size: 1.05rem; line-height: 1.85; color: var(--muted); margin: 0 0 1em; padding: 0; }
#khe .khe-tp-text p:first-of-type { font-family: var(--fh); font-size: 1.3rem; line-height: 1.6; color: var(--text); }
#khe .khe-tp-facts { list-style: none; margin: 0; padding: 8px 28px; background: var(--g50); border: 1px solid var(--border); border-radius: var(--rl); }
#khe .khe-tp-facts li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
#khe .khe-tp-facts li:last-child { border-bottom: 0; }
#khe .khe-tp-fact-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--g700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--sh); }
#khe .khe-tp-fact-ic .khe-icon { width: 22px; height: 22px; }
#khe .khe-tp-facts strong { display: block; font-family: var(--fh); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
#khe .khe-tp-facts small { display: block; font-size: .84rem; color: var(--muted); }

#khe .khe-tp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#khe .khe-tp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 36px; box-shadow: var(--sh); display: flex; flex-direction: column; }
#khe .khe-tp-card--main { background: var(--g800); border-color: var(--g800); color: #fff; }
#khe .khe-tp-card--main .khe-ev-info-ic { background: rgba(255, 255, 255, .1); color: var(--g200); }
#khe .khe-tp-card--main .khe-ev-info-title { color: #fff; }
#khe .khe-tp-small { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
#khe .khe-tp-card--main .khe-tp-small { color: rgba(255, 255, 255, .65); }
#khe .khe-tp-list { list-style: none; margin: 0 0 8px; padding: 0; }
#khe .khe-tp-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; line-height: 1.5; }
#khe .khe-tp-card--main .khe-tp-list li { border-color: rgba(255, 255, 255, .1); }
#khe .khe-tp-list li:last-child { border-bottom: 0; }
#khe .khe-tp-list .khe-icon { width: 18px; height: 18px; color: var(--g200); margin-top: 2px; flex-shrink: 0; }
#khe .khe-tp-list--dots li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g400); margin-top: 8px; flex-shrink: 0; }
#khe .khe-tp-card .khe-more { margin-top: auto; padding-top: 16px; }

#khe .khe-tp-rule { display: flex; align-items: center; gap: 24px; margin-top: 24px; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: var(--rl); padding: 26px 32px; }
#khe .khe-tp-rule-ic { width: 56px; height: 56px; border-radius: 50%; background: #f7efe0; color: #8a6a2e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#khe .khe-tp-rule-t { font-family: var(--fh); font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; padding: 0; color: var(--text); }
#khe .khe-tp-rule p { font-size: .95rem; line-height: 1.7; color: var(--muted); }

#khe .khe-tp-gal-sec { padding-bottom: 0; }
#khe .khe-tp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#khe .khe-tp-gallery--2 { grid-template-columns: repeat(2, 1fr); }
#khe .khe-tp-gallery--3 { grid-template-columns: repeat(3, 1fr); }
#khe .khe-tp-gallery figure { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--g100); }
#khe .khe-tp-gallery img { width: 100%; height: 100%; object-fit: cover; }

#khe .khe-tp-place { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; max-width: 900px; }
#khe .khe-tp-place .khe-group-ic { width: 72px; height: 72px; border-radius: 18px; background: var(--g800); color: #fff; display: flex; align-items: center; justify-content: center; }
#khe .khe-tp-place .khe-group-ic .khe-icon { width: 34px; height: 34px; }
#khe .khe-tp-place .khe-lead { max-width: none; margin-bottom: 18px; }
#khe .khe-tp-tags { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g600); }
#khe .khe-tp-tags span { color: var(--gold); margin: 0 4px; }

@media (max-width: 960px) {
	#khe .khe-tp-hero { min-height: 0; }
	#khe .khe-tp-hero-content { padding: 72px 22px; }
	#khe .khe-tp-hero-overlay { background: linear-gradient(180deg, rgba(10, 26, 18, .55) 0%, rgba(10, 26, 18, .88) 100%); }
	#khe .khe-tp-intro, #khe .khe-tp-cols { grid-template-columns: 1fr; gap: 28px; }
	#khe .khe-tp-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	#khe .khe-tp-card { padding: 26px 22px; }
	#khe .khe-tp-rule { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
	#khe .khe-tp-place { grid-template-columns: 1fr; gap: 18px; }
	#khe .khe-tp-text p:first-of-type { font-size: 1.15rem; }
}
