/*
Theme Name: Kogarashi Inn
Theme URI: https://github.com/oberonlai/shippress-themes
Author: ShipPress
Description: Kogarashi Inn is a single-column longform block theme for country inns, small lodges and quiet retreats. A misty cloud ground, one-sentence lines with hairline time stamps, rotated brick labels, an analogue house clock on the seam of a two-half first screen, and Cormorant Garamond with Newsreader for a calm day-schedule layout. Sample content in English, Traditional Chinese, Japanese, French and German.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kogarashi-inn
*/

:root { --ki-dark: #1F2B2D; --ki-main: #2F484C; --ki-ink: #3A4446; --ki-muted: #5C6668; --ki-accent: #A86A5A; --ki-mist: #F3F5F3;
	--sp-dur: 1.2s; --sp-dist: 30px; --sp-ease: cubic-bezier(.215, .61, .355, 1); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
:root :where(.is-layout-flow) > * { margin-block-start: 0; margin-block-end: 0; }
:root :where(.is-layout-constrained) > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-group, .wp-block-group > * { box-sizing: border-box; }
.ki-main { margin: 0; }

/* language stacks: CJK headings in Mincho/Ming, body in system faces.
   :root:lang(zh) must set the WordPress preset variables (check-themes). Display lists the bundled Noto Serif TC; body stays on system Traditional Chinese faces. */
:root:lang(zh-TW), :root:lang(zh) {
	--ki-display: "Cormorant Garamond", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
	--ki-body: "Newsreader", "Songti TC", "PMingLiU", "MingLiU", serif;
	--wp--preset--font-family--display: "Cormorant Garamond", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
	--wp--preset--font-family--body: "Newsreader", "Songti TC", "PMingLiU", "MingLiU", serif;
}
:root:lang(ja) { --ki-display: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; --ki-body: "Newsreader", "Hiragino Mincho ProN", "Yu Mincho", serif; }
:lang(zh-TW) body, :lang(ja) body { font-family: var(--ki-body); line-height: 1.85; font-size: 1rem; }
:lang(zh-TW) :is(h1, h2, h3, .ki-brand__title, .ki-stamp, .ki-person__name), :lang(ja) :is(h1, h2, h3, .ki-brand__title, .ki-stamp, .ki-person__name) { font-family: var(--ki-display); line-height: 1.45; }
:lang(fr) body, :lang(de) body, :lang(fr) :is(h1, h2), :lang(de) :is(h1, h2) { hyphens: auto; }

/* ground: misty cloud texture, CSS only */
.ki-mist { background: transparent; }
.ki-main { background: radial-gradient(520px 420px at 18% 300px, rgba(255,255,255,.95), rgba(255,255,255,0) 70%), radial-gradient(640px 480px at 80% 900px, rgba(206,215,213,.6), rgba(206,215,213,0) 72%), radial-gradient(560px 380px at 40% 1700px, rgba(228,233,231,.8), rgba(228,233,231,0) 70%), radial-gradient(420px 360px at 92% 2200px, rgba(255,255,255,.8), rgba(255,255,255,0) 70%), #F3F5F3; background-size: 100% 2600px; background-repeat: repeat-y; }
.ki-container { max-width: 920px; margin-inline: auto; padding-inline: 24px; }

/* header */
.ki-header { background: var(--ki-mist); position: relative; z-index: 3; }
body.home .ki-header { background: transparent; }
.ki-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; padding-inline: clamp(20px, 8.4vw, 120px); gap: 20px; }
.ki-brand { gap: 10px !important; align-items: center; color: var(--wp--preset--color--mark); }
.ki-brand .ki-mark { width: 26px; height: 22px; flex: none; }
.ki-brand__title, .ki-brand__title a { font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: 1.375rem; color: var(--ki-dark); text-decoration: none; line-height: 1; margin: 0; }
.ki-nav { font-size: var(--wp--preset--font-size--small); letter-spacing: .08em; justify-self: center; }
.ki-nav .wp-block-navigation__container { gap: 26px; }
.ki-nav a { color: var(--ki-dark); text-decoration: none; }
.ki-nav a:hover { color: var(--ki-main); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ki-header__buttons { justify-self: end; gap: 12px; flex-wrap: nowrap; }
.ki-header__buttons .wp-block-button__link, .ki-buttons .wp-block-button__link { min-width: 116px; height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; font-size: .8125rem; letter-spacing: .06em; border-radius: 2px; font-family: var(--wp--preset--font-family--text); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ki-main); border: 1px solid var(--ki-main); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--ki-main); color: #fff; border: 1px solid var(--ki-main); }
.wp-block-button .wp-block-button__link:hover { background: var(--ki-dark); color: #fff; border-color: var(--ki-dark); }
.ki-book-link { display: none; margin: 0; justify-self: end; font-size: .875rem; }
.ki-book-link a { color: var(--ki-main); }
body:not(.home) .ki-header { border-bottom: 1px solid rgba(31, 43, 45, .08); }
@media (max-width: 959px) {
	.ki-header__bar { grid-template-columns: 1fr auto auto; min-height: 60px; gap: 16px; }
	.ki-header .ki-header__buttons { display: none !important; }
	.ki-book-link { display: block; }
	.ki-nav { justify-self: end; }
}

/* section head: rotated brick label + two-line heading */
.ki-sechead { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; }
.ki-vlabel { font-family: var(--wp--preset--font-family--display); font-style: italic; font-weight: 500; font-size: .8125rem; letter-spacing: .28em; color: var(--ki-accent); writing-mode: vertical-rl; margin: .5rem 0 0; line-height: 1.2; text-transform: none; }
.ki-sechead--dark .ki-vlabel { color: #D9B3A8; }
.ki-h2, .ki-sechead h2 { font-size: var(--wp--preset--font-size--x-large); line-height: 1.25; font-weight: 500; margin: 0; color: var(--ki-dark); }
.ki-sechead--dark .ki-h2, .ki-h2--light { color: #fff; }
.ki-rule { border-top: 1px dashed #3A4446; margin-top: 4rem; height: 0; width: 100%; }
@media (max-width: 781px) {
	.ki-sechead { flex-direction: column; gap: 8px; }
	.ki-vlabel { writing-mode: horizontal-tb; margin: 0; }
}

/* T1: one-sentence lines, optional time stamp */
.ki-lines { max-width: 480px; margin: 1.6rem 0 0; }
.ki-lines .ki-line, .ki-lines p { margin: 0; font-size: 1.0625rem; line-height: 2.3; color: var(--ki-ink); }
.ki-lines--dark .ki-line { color: #fff; }
.ki-log { max-width: 600px; }
.ki-line--stamp { display: grid; grid-template-columns: 56px 28px minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
.ki-stamp { font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: 1.0625rem; font-variant-numeric: tabular-nums; color: var(--ki-main); }
.ki-stub { display: block; height: 1px; background: rgba(47, 72, 76, .5); align-self: start; margin-top: 1.25rem; width: 28px; }
.ki-log .ki-text { display: block; }
@media (max-width: 781px) {
	.ki-lines .ki-line, .ki-lines p { line-height: 2; }
	.ki-line--stamp { grid-template-columns: 48px 20px minmax(0, 1fr); column-gap: 10px; }
	.ki-stub { width: 20px; margin-top: 1.1rem; }
	.ki-lines, .ki-log { max-width: none; }
}

/* More link: hairline stub, light serif text, charcoal disc with a white dot */
.ki-more { display: flex; align-items: center; gap: 12px; margin: 2rem 0 0; font-family: var(--wp--preset--font-family--display); font-size: 1.125rem; font-weight: 400; }
.ki-more::before { content: ""; width: 28px; height: 1px; background: #3A4446; transition: width .3s ease; flex: none; }
.ki-more a { color: var(--ki-dark); text-decoration: none; }
.ki-more::after { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none; margin-left: -2px; background: radial-gradient(circle, #fff 0 2px, var(--ki-dark) 2.5px); transition: background-color .3s ease; }
.ki-more:hover::before { width: 40px; }
.ki-more:hover::after { background: radial-gradient(circle, #fff 0 2px, var(--ki-main) 2.5px); }
.ki-more a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ki-walks .ki-more::before { background: #fff; }
.ki-walks .ki-more a { color: #fff; }
.ki-walks .ki-more::after { background: radial-gradient(circle, var(--ki-dark) 0 2px, var(--ki-mist) 2.5px); }

/* house clock */
.ki-clock { --d: 120px; width: var(--d); height: var(--d); position: relative; z-index: 2; margin-inline: auto; border-radius: 50%; background: var(--ki-mist); border: 1px solid var(--ki-main); box-sizing: border-box; }
.ki-clock .wp-block-html, .ki-clock__face { position: absolute; inset: 0; }
.ki-tick { position: absolute; inset: 0; transform: rotate(var(--a)); display: block; }
.ki-tick::before { content: ""; position: absolute; left: 50%; top: 3px; width: 1px; height: calc(var(--d) * .05); margin-left: -.5px; background: rgba(47, 72, 76, .6); }
.ki-tick--q::before { height: calc(var(--d) * .085); background: var(--ki-main); }
.ki-hand { position: absolute; left: 50%; bottom: 50%; margin-left: -1px; width: 2px; transform-origin: 50% 100%; transform: rotate(var(--r)); background: var(--ki-dark); border-radius: 2px; transition: transform .6s cubic-bezier(.215, .61, .355, 1); display: block; }
.ki-hand--h { height: calc(var(--d) * .25); }
.ki-hand--m { height: calc(var(--d) * .367); width: 1px; margin-left: -.5px; }
.ki-dot { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--ki-accent); display: block; }
.ki-clock__label { position: absolute; left: 0; right: 0; top: 74%; margin: 0; text-align: center; font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--ki-muted); }
.ki-cover .ki-clock--seam { margin-block: -60px; }
.ki-clock--small { --d: 64px; margin-inline: 0; flex: none; }
.ki-clock--small .ki-clock__label { display: none; }
@media (max-width: 781px) { .ki-clock { --d: 84px; } .ki-cover .ki-clock--seam { margin-block: -42px; } .ki-clock--small { --d: 56px; } .ki-clock__label { display: none; } }

/* status fields */
.ki-field { font-size: var(--wp--preset--font-size--small); line-height: 1.9; color: var(--ki-ink); margin: 0; }
.ki-num { font-family: var(--wp--preset--font-family--display); font-size: 1em; font-variant-numeric: tabular-nums; }

/* 1 cover */
.ki-cover .ki-cover__top { padding: calc(64px + 2.5rem) clamp(20px, 8.4vw, 120px) 2.25rem; margin-top: -64px; min-height: 44svh; box-sizing: border-box; }
.ki-cover__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: 1200px; margin: 0 auto; }
.ki-cover__copy { max-width: 760px; }
.ki-h1 { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.04; letter-spacing: -.005em; font-weight: 500; color: var(--ki-dark); margin: 0; }
.ki-h1--page { margin-top: 1rem; }
.ki-tagline { margin: 1.25rem 0 0; max-width: 36em; font-size: 1.0625rem; line-height: 1.9; color: var(--ki-ink); }
.ki-fields { flex: 0 1 380px; padding-bottom: .5rem; }
.ki-cover__bottom { position: relative; }
.ki-hero-photo { height: 56svh; min-height: 360px; max-height: 620px; position: relative; --sp-par: 8%; }
.ki-hero-photo figure, .ki-intro__bg figure, .ki-walks > figure { position: absolute; inset: 0; margin: 0; }
.ki-hero-photo img, .ki-intro__bg img, .ki-walks > figure img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.ki-hero-photo img { object-position: 50% 55%; }
.ki-walks > figure img { object-position: 70% 50%; }
.ki-intro__bg img { object-position: 50% 20%; }
.ki-hero-photo img, .ki-rooms img, .ki-day__photo img, .ki-table img, .ki-folk img { filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.06); }
@media (max-width: 781px) {
	.ki-cover .ki-cover__top { padding: calc(60px + 2rem) 24px 2.25rem; margin-top: -60px; min-height: 0; }
	.ki-cover__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
	.ki-h1 { font-size: 2.6rem; }
	.ki-hero-photo { height: 330px; min-height: 330px; --sp-par: 6%; }
	.ki-fields { flex: none; }
}

/* 2 intro band */
.ki-intro { position: relative; background: var(--ki-dark); color: #fff; min-height: 760px; }
.ki-intro__bg { position: absolute; inset: 0; --sp-par: 10%; background: var(--ki-dark); }
.ki-intro__bg::after { content: ""; position: absolute; inset: 0; background: rgba(31, 43, 45, .65); pointer-events: none; }
.ki-intro__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 300px minmax(0, 480px); column-gap: 200px; padding: 6rem 0 6rem clamp(24px, 13.9vw, 200px); align-items: start; }
.ki-intro__portrait { margin: 0; width: 300px; }
.ki-intro__portrait img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; display: block; border-radius: 8px; }
.ki-intro__edge { position: absolute; z-index: 2; right: 0; top: calc(100% - 227px); width: 208px; margin: 0; }
.ki-intro__edge img { aspect-ratio: 3 / 5; object-fit: cover; width: 100%; display: block; border-radius: 8px 0 0 8px; }
@media (max-width: 1100px) { .ki-intro__inner { column-gap: 8vw; grid-template-columns: 260px minmax(0, 1fr); padding-right: 24px; } .ki-intro__portrait { width: 260px; } }
@media (max-width: 781px) {
	.ki-intro { min-height: 0; }
	.ki-intro__inner { grid-template-columns: 1fr; padding: 4.5rem 24px 2rem; row-gap: 2.5rem; }
	.ki-intro__portrait { width: 100%; }
	.ki-intro__edge { position: relative; top: auto; right: auto; width: 60%; margin: 0 0 3rem auto; }
}

/* 3 notes */
.ki-notes { padding: 12rem 0 6rem; }
.ki-notes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ki-notes__head .ki-more { margin: 0 0 .75rem; }
.ki-notes__cards { margin-top: 3rem; }
.ki-cards { gap: 2.5rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.ki-card { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.ki-card__thumb { margin: 0; }
.ki-card__thumb img { border-radius: 8px; width: 165px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ki-card__title { font-family: var(--wp--preset--font-family--text); font-weight: 500; font-size: 1rem; line-height: 1.5; margin: 0; }
.ki-card__title a { color: var(--ki-dark); text-decoration: none; }
.ki-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ki-card__date { color: var(--ki-accent); font-size: .8125rem; margin: .35rem 0 0; font-family: var(--wp--preset--font-family--display); }
.ki-card__excerpt { font-size: .875rem; line-height: 1.7; margin: .5rem 0 0; color: var(--ki-ink); }
.ki-card__excerpt p { margin: 0; }
@media (max-width: 781px) { .ki-notes { padding: 6rem 0 4.5rem; } .ki-card { grid-template-columns: 110px minmax(0, 1fr); } .ki-card__thumb img { width: 110px; } }
@media (max-width: 480px) { .ki-cards.is-layout-grid { grid-template-columns: 1fr; } }

/* 4 day */
.ki-day, .ki-table, .ki-folk, .ki-stay, .ki-rooms, .ki-pagehead { padding-bottom: 6rem; }
.ki-day { padding-top: 10rem; }
.ki-day__grid { display: grid; grid-template-columns: 5fr 7fr; max-width: 1200px; margin: 0 auto; padding-inline: 24px; gap: 4rem; align-items: start; box-sizing: border-box; }
.ki-day__photo { margin: 0; }
.ki-day__photo img, .ki-folk__photo img, .ki-table__main img { width: 100%; display: block; border-radius: 8px; object-fit: cover; }
.ki-day__photo img { aspect-ratio: 4 / 5; }
.ki-day__text { padding-left: 2rem; }
@media (max-width: 781px) { .ki-day { padding-top: 6rem; padding-bottom: 4.5rem; } .ki-day__grid { grid-template-columns: 1fr; gap: 2.5rem; } .ki-day__text { padding-left: 0; } }

/* 5 rooms */
.ki-rooms { padding-top: 13rem; }
.ki-rooms__grid { display: grid; grid-template-columns: 54% minmax(0, 480px); column-gap: 6vw; align-items: start; padding-right: 24px; }
.ki-rooms__photo { margin: 0; }
.ki-rooms__photo img { width: 100%; aspect-ratio: 1.38 / 1; object-fit: cover; border-radius: 0 8px 8px 0; display: block; }
.ki-rooms__text .ki-lines { max-width: none; }
.ki-rows { margin-top: 2rem; }
.ki-row { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(58, 68, 70, .25); padding: .6rem 0; margin: 0; font-size: .9375rem; line-height: 1.6; }
.ki-row:last-child { border-bottom: 1px solid rgba(58, 68, 70, .25); }
.ki-price, .ki-rates td:last-child { white-space: nowrap; text-align: right; font-family: var(--wp--preset--font-family--display); font-weight: 500; }
@media (max-width: 1100px) { .ki-rooms__grid { column-gap: 5vw; } }
@media (max-width: 781px) { .ki-rooms { padding-top: 5rem; padding-bottom: 4.5rem; } .ki-rooms__grid { grid-template-columns: 1fr; padding: 0 24px; row-gap: 2.5rem; } .ki-rooms__photo { margin-inline: -24px; } .ki-rooms__photo img { border-radius: 0; aspect-ratio: 4 / 3; } }

/* 6 table */
.ki-table { padding-top: 10rem; }
.ki-table__head { display: grid; grid-template-columns: 3fr 9fr; gap: 2rem; align-items: start; }
.ki-table__lines .ki-lines { max-width: 600px; margin-top: .5rem; }
.ki-table__lines .ki-log { max-width: 600px; }
.ki-table__lines .ki-log + .ki-lines { margin-top: 0; }
.ki-table__media { position: relative; margin-top: 3rem; margin-bottom: 100px; }
.ki-table__main { margin: 0; }
.ki-table__main img { aspect-ratio: 3 / 2; }
.ki-table__small { position: absolute; left: -64px; bottom: -80px; width: 200px; margin: 0; z-index: 2; }
.ki-table__small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 8px; border: 6px solid var(--ki-mist); box-sizing: border-box; }
.ki-table__note { max-width: 560px; margin-left: auto; }
.ki-table__note p { margin: 0; }
@media (max-width: 1100px) { .ki-table__small { left: -12px; } }
@media (max-width: 781px) { .ki-table { padding-top: 6rem; padding-bottom: 4.5rem; } .ki-table__head { grid-template-columns: 1fr; } .ki-table__small { left: -24px; width: 130px; bottom: -48px; } .ki-table__media { margin-bottom: 64px; } .ki-table__note { margin-left: 0; } }

/* 7 walks band */
.ki-walks { position: relative; min-height: 520px; display: flex; align-items: flex-end; background: var(--ki-dark); --sp-par: 8%; aspect-ratio: 21 / 9; }
.ki-walks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 10%, rgba(31, 43, 45, .7)); pointer-events: none; }
.ki-walks__text { position: relative; z-index: 2; width: 100%; padding: 0 0 4rem; }
.ki-walks__inner { max-width: 920px; margin: 0 auto; padding-inline: 24px; }
.ki-walks .ki-h2 { font-size: 2.6rem; }
.ki-walks .ki-lines { max-width: 480px; }
.ki-walks .ki-lines .ki-line { line-height: 1.9; }
@media (max-width: 781px) { .ki-walks { aspect-ratio: auto; min-height: 460px; --sp-par: 6%; } .ki-walks .ki-h2 { font-size: 1.9rem; } .ki-walks__text { padding-bottom: 2.5rem; } }

/* 8 people */
.ki-folk { padding-top: 10rem; }
.ki-folk--dark { padding-top: 6rem; }
.ki-folk--dark .ki-folk__grid { grid-template-columns: 5fr 7fr; }
.ki-folk--dark { background: var(--ki-dark); color: #E6EBE9; padding-top: 6rem; overflow-x: clip; }
.ki-folk--dark .ki-h2, .ki-folk--dark .ki-person__name { color: #fff; }
.ki-folk--dark .ki-person__role { color: #BFC9C7; }
.ki-folk--dark .ki-person, .ki-folk--dark .ki-person:last-child { border-color: rgba(255, 255, 255, .22); }
.ki-folk--dark .ki-people { columns: 2; column-gap: 2rem; }
.ki-folk--dark .ki-person { break-inside: avoid; }
.ki-folk--dark .ki-folk__photo { margin-right: min(0px, calc(576px - 50vw)); }
.ki-folk--dark .ki-folk__photo img { aspect-ratio: 4 / 5; border-radius: 8px 0 0 8px; }
.ki-folk__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 4rem; max-width: 1200px; margin: 0 auto; padding-inline: 24px; align-items: start; box-sizing: border-box; }
.ki-folk__photo { margin: 0; }
.ki-folk__photo img { aspect-ratio: 3 / 2; }
.ki-people { margin: 2rem 0 1.5rem; }
.ki-person { display: block; border-top: 1px solid rgba(58, 68, 70, .25); padding: .7rem 0; margin: 0; }
.ki-person:last-child { border-bottom: 1px solid rgba(58, 68, 70, .25); }
.ki-person__name { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: 1.25rem; line-height: 1.4; color: var(--ki-dark); }
.ki-person__role { display: block; font-size: .875rem; color: var(--ki-muted); line-height: 1.5; }
.ki-folk__text > p { font-size: .9375rem; line-height: 1.85; }
@media (max-width: 781px) { .ki-folk { padding-top: 6rem; padding-bottom: 4.5rem; } .ki-folk--dark .ki-folk__grid { grid-template-columns: 1fr; } .ki-folk--dark .ki-people { columns: 1; } .ki-folk--dark .ki-folk__photo { margin-right: 0; } .ki-folk--dark .ki-folk__photo img { border-radius: 8px; } .ki-folk__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* 9 stay */
.ki-stay { padding-top: 10rem; }
.ki-rates { margin: 2.5rem 0 0; width: 100%; }
.ki-rates table { width: 100%; border-collapse: collapse; border: 0; table-layout: auto; }
.ki-rates td { border: 0; border-top: 1px solid rgba(58, 68, 70, .25); padding: .9rem 0; font-size: 1rem; vertical-align: baseline; }
.ki-rates tr:last-child td { border-bottom: 1px solid rgba(58, 68, 70, .25); }
.ki-rates td:last-child { width: 11rem; font-size: 1.125rem; }
.ki-note { font-size: .875rem; color: var(--ki-muted); margin: 1.25rem 0 0; line-height: 1.8; }
.ki-booking { display: flex; gap: 1.75rem; align-items: flex-start; margin-top: 3rem; }
.ki-booking__fields .ki-field { font-size: .9375rem; }
.ki-buttons { margin-top: 2.25rem; gap: 14px; }
@media (max-width: 781px) {
	.ki-stay { padding-top: 6rem; padding-bottom: 4.5rem; }
	.ki-rates table, .ki-rates tbody, .ki-rates tr, .ki-rates td { display: block; width: 100%; }
	.ki-rates tr { border-top: 1px solid rgba(58, 68, 70, .25); padding: .75rem 0; }
	.ki-rates td, .ki-rates td:last-child { border: 0; padding: 0; width: auto; }
	.ki-rates tr:last-child td { border: 0; }
	.ki-rates tr:last-child { border-bottom: 1px solid rgba(58, 68, 70, .25); }
	.ki-rates td:last-child { text-align: right; }
	.ki-booking { flex-direction: column; gap: 1rem; }
}

/* inner pages */
.ki-pagehead { padding-top: 5rem; }
.ki-pagehead__status { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.ki-pagehead .ki-rule { margin-top: 2.5rem; }
.ki-archive__head, .ki-single__head { padding-top: 5rem; }
.ki-archive__list { padding-top: 3rem; padding-bottom: 6rem; }
.ki-single__body { padding-top: 3rem; padding-bottom: 6rem; }
.ki-single__body .wp-block-post-content { max-width: 640px; line-height: 1.9; }
.ki-single__img img { border-radius: 8px; width: 100%; }
.ki-vlabel--term { writing-mode: horizontal-tb; margin: 0; }
.ki-vlabel--term a { color: inherit; text-decoration: none; }

/* footer */
.ki-footer { background: var(--ki-dark); color: #fff; padding: 5rem clamp(24px, 8.4vw, 120px) 3rem; position: relative; }
.ki-footer a { color: #fff; text-decoration: none; }
.ki-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ki-footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.ki-footer__name { font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; font-weight: 500; margin: 0 0 1rem; }
.ki-footer__line, .ki-footer__link { margin: 0; font-size: .9375rem; line-height: 1.9; color: rgba(255, 255, 255, .85); }
.ki-footer__copy { max-width: 1200px; margin: 3rem auto 0; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.ki-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 1.5rem; font-family: var(--wp--preset--font-family--text); font-size: .8125rem; line-height: 1.4; }
.ki-langs a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.ki-langs a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ki-langs--menu { display: none; }
.is-menu-open .ki-langs--menu { display: flex; margin-top: 2rem; }
.is-menu-open .ki-langs--menu a { color: var(--ki-dark); }
.ki-card__thumb img { filter: brightness(.9) sepia(.06) contrast(1.05); }
.ki-top { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.ki-top__link { margin: 0; }
.ki-top__link a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--ki-dark); color: #fff; font-family: var(--wp--preset--font-family--display); font-size: .6875rem; line-height: 1.25; text-align: center; text-decoration: none; transition: transform .3s ease; border: 1px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.ki-top__link a:hover { transform: translateY(-2px); text-decoration: none; }
.ki-top__chev { display: block; width: 7px; height: 7px; border-top: 1px solid #fff; border-left: 1px solid #fff; transform: rotate(45deg); margin: 3px 0 2px; }
.ki-top__short { display: none; margin: 0; }
@media (max-width: 781px) {
	.ki-top__link { display: none; }
	.ki-top__short { display: block; }
	.ki-top__short a { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ki-dark); font-size: .75rem; font-family: var(--wp--preset--font-family--display); border: 1px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
	.ki-top { right: 16px; bottom: 16px; }
	.ki-footer { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) { .ki-hand, .ki-more::before, .ki-top__link a { transition: none; } }

/* inner page bodies */
.ki-pagebody { padding-bottom: 6rem; }
.ki-pagebody > .ki-container { padding-top: 1rem; }
.ki-h3 { font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: var(--wp--preset--font-size--large); line-height: 1.3; color: var(--ki-dark); margin: 3rem 0 .5rem; }
.ki-lines--wide { max-width: 600px; }
.ki-daylog { max-width: 600px; }
.ki-daylog .ki-stamp { font-size: 1.25rem; }
.ki-daylog .ki-text { font-size: 1.25rem; line-height: 1.7; color: var(--ki-dark); }
.ki-daylog .ki-line--stamp { margin-top: 1.25rem; }
.ki-daynote { max-width: 600px; margin: .25rem 0 0 calc(56px + 28px + 28px); font-size: .9375rem; line-height: 1.8; color: var(--ki-muted); }
.ki-photo { margin: 2.5rem 0; }
.ki-photo img { width: 100%; display: block; border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.06); }
.ki-photo--day { max-width: 720px; }
.ki-split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 4rem; align-items: start; margin-top: 2.5rem; }
.ki-split--right { grid-template-columns: minmax(0, 1fr) 320px; }
.ki-split--sticky .ki-split__photo { position: sticky; top: 2rem; }
.ki-split__photo { margin: 0; }
.ki-split__photo img { width: 100%; display: block; border-radius: 8px; aspect-ratio: 4 / 5; object-fit: cover; filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.06); }
.ki-split__photo--portrait img { aspect-ratio: 3 / 4; }
.ki-split__text > .ki-h3:first-child { margin-top: 0; }
.ki-story .ki-h3 { margin-top: 2.5rem; }
.ki-story .ki-rule, .ki-qa .ki-rule { margin-top: 2rem; }
.ki-qa .ki-h3 { margin-top: 2.5rem; font-size: 1.25rem; }
.ki-qa:first-child .ki-h3 { margin-top: 0; }
.ki-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.ki-pair__photo { margin: 0; }
.ki-pair__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.06); }
.ki-walklist .ki-line { padding-left: 1rem; border-left: 1px solid rgba(47, 72, 76, .4); margin-top: .5rem; line-height: 1.8; }
.ki-rooms--page { padding-top: 5rem; padding-bottom: 0; }
.ki-rooms--page .ki-rooms__photo img { aspect-ratio: 1.38 / 1; filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.06); }
.ki-rooms--page .ki-rule { margin-top: 5rem; }
.ki-roomfacts { margin-top: 1.25rem; }
.ki-roomfacts .ki-field { color: var(--ki-muted); }
.ki-walks--page { margin-top: 3rem; }
.ki-table__media { margin-top: 3rem; }
.ki-contact { margin: 1rem 0 1.5rem; }
.ki-contact__line { margin: 0; font-size: 1.125rem; line-height: 2; color: var(--ki-dark); }
.ki-contact__line a { color: var(--ki-main); }
.ki-split--top .ki-booking { margin-top: 1rem; }
.ki-pagehead .ki-clock--page { --d: 120px; margin-inline: 0; flex: none; }
@media (max-width: 781px) {
	.ki-pagebody { padding-bottom: 4.5rem; }
	.ki-split, .ki-split--right { grid-template-columns: 1fr; gap: 2rem; }
	.ki-split--right .ki-split__photo { order: -1; }
	.ki-split--sticky .ki-split__photo { position: static; }
	.ki-split__photo { max-width: 320px; }
	.ki-daynote { margin-left: 0; }
	.ki-pair { grid-template-columns: 1fr; }
	.ki-rooms--page { padding-top: 3.5rem; }
	.ki-rooms--page .ki-rule { margin-top: 3.5rem; }
	.ki-pagehead .ki-clock--page { --d: 84px; }
}
