/*
Theme Name: Plaisir Luxe
Theme URI: https://osaka06.com/
Author: Plaisir
Description: 新大阪駅前の貸会議室・レンタルスペース「Plaisir（プレジール）」のためのオリジナルテーマ。チャコール×ゴールド×アイボリーのラグジュアリーデザイン、正しい見出し構造・パンくず（構造化データ）・記事の自動目次・高速表示（jQuery不使用・LCP画像のプリロード）など、SEOを意識した設計です。旧テーマのウィジェットエリア・色パレット・見出しスタイルと互換性があります。
Version: 1.0.5
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plaisir-luxe
Tags: one-column, custom-logo, custom-menu, featured-images, editor-style, block-styles, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #14120f;
	--ink-2: #1c1915;
	--ink-3: #26221d;
	--gold: #b8975a;
	--gold-light: #d9c28f;
	--gold-deep: #8c6d38;
	--ivory: #f7f3ec;
	--paper: #fffdf9;
	--line: #e5dccd;
	--line-dark: rgba(217, 194, 143, .22);
	--text: #2a2620;
	--muted: #6e655a;
	--on-dark: #ece6db;
	--on-dark-muted: #a9a090;

	--serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--latin: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;

	--container: 1200px;
	--narrow: 860px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 2px;
	--shadow: 0 18px 50px -24px rgba(20, 18, 15, .45);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--wp--preset--color--liquid-theme: #b8975a;
	--wp--preset--color--liquid-black: #14120f;
	--wp--preset--color--liquid-dark-gray: #3a3631;
	--wp--preset--color--liquid-light-gray: #efebe4;
	--wp--preset--color--liquid-white: #ffffff;
	--wp--preset--color--liquid-red: #a8323a;
	--wp--preset--color--liquid-orange: #b86a1f;
	--wp--preset--color--liquid-pink: #b9667a;
	--wp--preset--color--liquid-yellow: #c9a227;
	--wp--preset--color--liquid-green: #3f6b4f;
	--wp--preset--color--liquid-blue: #2f5a87;
	--wp--preset--color--liquid-dark-blue: #1d2b40;
	--wp--preset--color--liquid-purple: #5e4a7a;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .03em;
	color: var(--text);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--gold-deep); text-underline-offset: .2em; transition: color .25s var(--ease), opacity .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; line-height: 1.5; letter-spacing: .05em; color: var(--ink); margin: 0 0 .8em; }
p { margin: 0 0 1.4em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Reveal (progressive enhancement, with safety fallback) */
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); animation: pl-reveal-fallback 0s 2.5s forwards; }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes pl-reveal-fallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .reveal:not(.is-in) { opacity: 1; transform: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: .8em 2.2em;
	font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .12em; line-height: 1.4;
	text-decoration: none; text-align: center;
	border: 1px solid transparent; border-radius: var(--radius);
	position: relative; overflow: hidden; cursor: pointer;
}
.btn--sm { min-height: 42px; padding: .5em 1.5em; font-size: 14px; }
.btn--gold {
	color: var(--ink); background: linear-gradient(135deg, #e3cd98 0%, #b8975a 48%, #9c7c43 100%);
	border-color: #c9ad74; box-shadow: 0 10px 26px -14px rgba(184, 151, 90, .9);
}
.btn--gold::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { color: var(--ink); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--line { color: var(--gold-light); border-color: var(--gold); background: transparent; }
.btn--line:hover { color: var(--ink); background: var(--gold-light); }
.btn--dark { color: var(--gold-light); background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(20, 18, 15, .96);
	color: var(--on-dark);
	border-bottom: 1px solid var(--line-dark);
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@supports (backdrop-filter: blur(10px)) {
	.site-header { background: rgba(20, 18, 15, .86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }

.topbar { border-bottom: 1px solid var(--line-dark); font-size: 12px; color: var(--on-dark-muted); max-height: 40px; overflow: hidden; transition: max-height .35s var(--ease), opacity .35s var(--ease); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar p { margin: 0; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: calc(1440px + var(--gutter) * 2); }
.site-header .topbar__inner { max-width: calc(1440px + var(--gutter) * 2); }

.site-logo { display: inline-flex; align-items: baseline; gap: .5em; text-decoration: none; color: var(--gold-light); flex: none; }
.site-logo__img { width: auto; height: 46px; max-width: 220px; object-fit: contain; }
.site-logo--light .site-logo__img { filter: grayscale(1) invert(1) sepia(.45) saturate(1.3) brightness(1.08); }
.site-logo__text { font-family: var(--latin); font-style: italic; font-size: 34px; line-height: 1; letter-spacing: .02em; }
.site-logo__sub { font-family: var(--latin); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted); }
.site-logo:hover { color: #fff; opacity: .9; }

/* Global nav */
.gnav { margin-left: auto; }
.gnav__list, .gnav__list ul { list-style: none; margin: 0; padding: 0; }
.gnav__list { display: flex; align-items: center; }
.gnav__list > li { position: relative; }
.gnav__list a { display: block; color: var(--on-dark); text-decoration: none; }
.gnav__list > li > a {
	padding: 10px 10px; font-size: 13.5px; letter-spacing: .08em; white-space: nowrap; position: relative;
}
.gnav__list > li > a::after {
	content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.gnav__list > li > a:hover::after,
.gnav__list > li.current-menu-item > a::after,
.gnav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.gnav__list a:hover { color: var(--gold-light); }
.gnav__extra { display: none; }
.submenu-toggle { display: none; }

@media (min-width: 1321px) {
	.gnav__list .sub-menu, .gnav__list .children {
		position: absolute; top: 100%; left: 50%; min-width: 240px; padding: 10px 0;
		background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}
	.gnav__list > li:hover > .sub-menu, .gnav__list > li:focus-within > .sub-menu,
	.gnav__list > li:hover > .children, .gnav__list > li:focus-within > .children {
		opacity: 1; visibility: visible; transform: translate(-50%, 0);
	}
	.gnav__list .sub-menu a, .gnav__list .children a { padding: 9px 22px; font-size: 13.5px; }
	.gnav__list .sub-menu a:hover, .gnav__list .children a:hover { background: rgba(217, 194, 143, .08); }
	.gnav__list > .menu-item-has-children > a { padding-right: 24px; }
	.gnav__list > .menu-item-has-children > a::before {
		content: ""; position: absolute; right: 10px; top: 50%; width: 5px; height: 5px; margin-top: -4px;
		border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg);
	}
}

.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.tel-link { display: inline-flex; align-items: center; gap: .45em; color: var(--gold-light); text-decoration: none; font-family: var(--latin); font-size: 19px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.tel-link:hover { color: #fff; }
.tel-link .ico { width: 16px; height: 16px; }
.site-header__tel { display: none; }
@media (min-width: 1560px) { .site-header__tel { display: inline-flex; } }

.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-dark); background: transparent; border-radius: var(--radius); cursor: pointer; position: relative; }
.burger__bar, .burger__bar::before, .burger__bar::after {
	position: absolute; left: 12px; width: 20px; height: 1px; background: var(--gold-light); transition: transform .3s var(--ease), opacity .3s;
}
.burger__bar { top: 22px; }
.burger__bar::before, .burger__bar::after { content: ""; left: 0; }
.burger__bar::before { top: -7px; }
.burger__bar::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1320px) {
	:root { --header-h: 64px; }
	.burger { display: block; }
	.site-header__actions { margin-left: auto; }
	.topbar__hours { display: none; }
	.site-logo__img { height: 38px; }
	.gnav {
		position: fixed; inset: 0; top: 0; z-index: -1;
		padding: calc(var(--header-h) + 60px) var(--gutter) 40px;
		background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
		opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
	}
	.nav-open .gnav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.gnav__list { display: block; max-width: 560px; margin-inline: auto; }
	.gnav__list > li { border-bottom: 1px solid var(--line-dark); }
	.gnav__list > li > a { padding: 16px 48px 16px 4px; font-family: var(--serif); font-size: 17px; white-space: normal; }
	.gnav__list > li > a::after { display: none; }
	.gnav__list .sub-menu, .gnav__list .children { display: none; padding: 0 0 12px 12px; }
	.gnav__list li.is-open > .sub-menu, .gnav__list li.is-open > .children { display: block; }
	.gnav__list .sub-menu a, .gnav__list .children a { padding: 9px 4px; font-size: 14.5px; color: var(--on-dark-muted); }
	.submenu-toggle {
		display: block; position: absolute; right: 0; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	}
	.submenu-toggle::before, .submenu-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin-left: -7px; background: var(--gold); transition: transform .3s var(--ease); }
	.submenu-toggle::after { transform: rotate(90deg); }
	.submenu-toggle[aria-expanded="true"]::after { transform: rotate(0); }
	.gnav__extra { display: block; max-width: 560px; margin: 32px auto 0; text-align: center; }
	.gnav__extra .tel-link { font-size: 26px; }
	.gnav__hours { margin: 6px 0 0; font-size: 12px; color: var(--on-dark-muted); }
}
@media (max-width: 480px) {
	.site-header__inner { gap: 10px; }
	.site-header__actions { gap: 8px; }
	.site-header__reserve { min-height: 40px; padding: .4em .9em; font-size: 13px; letter-spacing: .06em; }
	.site-logo__img { height: 32px; max-width: 132px; }
	.burger { width: 42px; height: 42px; }
	.burger__bar, .burger__bar::before, .burger__bar::after { left: 10px; }
	.burger__bar { top: 20px; }
	.burger__bar::before, .burger__bar::after { left: 0; }
}
.container--wide { max-width: calc(1100px + var(--gutter) * 2); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 9vw, 120px); isolation: isolate; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(184, 151, 90, .22), transparent 60%),
		radial-gradient(800px 400px at -10% 30%, rgba(184, 151, 90, .10), transparent 60%),
		linear-gradient(180deg, #14120f 0%, #1c1915 100%);
}
.hero__bg::before {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: linear-gradient(rgba(217, 194, 143, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 194, 143, .06) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 60% 20%, #000 0%, transparent 70%);
}
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: var(--ivory); }
.hero__inner { text-align: center; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
	font-family: var(--latin); font-style: italic; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .14em; color: var(--gold-light);
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero__title {
	margin: 0 0 24px; color: #fff; font-weight: 500;
	font-size: clamp(28px, 4.6vw, 56px); line-height: 1.45; letter-spacing: .08em;
}
.hero__lead { max-width: 720px; margin: 0 auto 36px; color: var(--on-dark-muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 2.1; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__actions .btn { min-width: 260px; }

.hero__visual { position: relative; }
.slider { position: relative; border: 1px solid rgba(217, 194, 143, .45); padding: 10px; background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); }
.slider::before {
	content: ""; position: absolute; inset: -12px; border: 1px solid rgba(217, 194, 143, .18); pointer-events: none;
}
.slider__track { position: relative; aspect-ratio: 3 / 1; overflow: hidden; background: #000; }
.slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slider__slide.is-active img { transform: scale(1); }
.slider__dots { position: absolute; left: 0; right: 0; bottom: -40px; display: flex; justify-content: center; gap: 10px; }
.slider__dot { width: 34px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.slider__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #b5a27a; transition: background-color .3s; }
.slider__dot.is-active::before { background: var(--gold-deep); }
@media (max-width: 640px) {
	.slider { padding: 6px; }
	.slider::before { inset: -7px; }
	.slider__track { aspect-ratio: 16 / 9; }
	.hero__actions .btn { min-width: 0; width: 100%; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head__en {
	margin: 0 0 6px; font-family: var(--latin); font-style: italic; font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .14em; color: var(--gold-deep);
}
.section-head__ja { margin: 0; font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; letter-spacing: .1em; }
.section-head__ja::after { content: ""; display: block; width: 48px; height: 1px; margin: 18px auto 0; background: var(--gold); }
.section-head--left { text-align: left; }
.section-head--left .section-head__ja::after { margin-left: 0; }

/* Stats */
.stats { padding: clamp(80px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__item { padding: 30px 16px; text-align: center; position: relative; }
.stats__item + .stats__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stats__num { display: block; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); color: var(--gold-deep); letter-spacing: .04em; line-height: 1.3; }
.stats__label { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); letter-spacing: .08em; }
@media (max-width: 760px) {
	.stats__list { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(3)::before { display: none; }
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Rooms */
.rooms { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.rooms__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .rooms__grid { grid-template-columns: 1fr; } }
.room { background: var(--paper); box-shadow: var(--shadow); }
.room__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.room__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room__link:hover .room__media img { transform: scale(1.05); }
.room__badge {
	position: absolute; left: 0; bottom: 0; padding: 8px 18px; background: var(--ink); color: var(--gold-light);
	font-family: var(--serif); font-size: 14px; letter-spacing: .1em;
}
.room__body { padding: clamp(22px, 3vw, 36px); border-top: 2px solid var(--gold); }
.room__title { margin: 0 0 10px; font-size: clamp(19px, 2vw, 23px); font-weight: 500; }
.room__text { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.room__price { margin: 0 0 16px; font-family: var(--serif); font-size: 18px; color: var(--gold-deep); }
.room__more { display: inline-flex; gap: .5em; font-family: var(--latin); font-size: 16px; letter-spacing: .1em; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: gap .3s var(--ease); }
.room__link:hover .room__more { gap: 1em; }

/* Front content (widget area) */
.front-content { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.front-content--foot { background: var(--ivory); }
.front-content .entry-content > .widget > h2:first-child,
.front-content .entry-content > .widget:first-child > :first-child { margin-top: 0; }

/* News */
.news { padding: clamp(70px, 9vw, 120px) 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
@media (min-width: 961px) {
	.cards--feature > .card:first-child { grid-column: 1 / -1; }
	.cards--feature > .card:first-child .card__link { flex-direction: row; }
	.cards--feature > .card:first-child .card__media { flex: 0 0 58%; }
	.cards--feature > .card:first-child .card__body { padding: 36px 40px; align-self: center; }
	.cards--feature > .card:first-child .card__title { font-size: 22px; }
	.cards--feature > .card:first-child .card__excerpt { font-size: 14px; }
}
.card { background: var(--paper); border: 1px solid var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--ink-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__noimg { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 70% 20%, rgba(184, 151, 90, .25), transparent 60%), var(--ink-2); }
.card__noimg span { font-family: var(--latin); font-style: italic; font-size: 34px; color: var(--gold-light); opacity: .8; }
.card__body { padding: 20px 22px 24px; flex: 1; }
.card__title { margin: 8px 0 8px; font-size: 16.5px; font-weight: 500; line-height: 1.65; }
.card__excerpt { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.post-meta__date { font-family: var(--latin); font-size: 15px; color: var(--gold-deep); letter-spacing: .1em; }
.post-meta__cat { padding: 1px 10px; border: 1px solid var(--gold); color: var(--gold-deep); font-size: 11.5px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px;
	border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 15px;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ==========================================================================
   Page hero / breadcrumbs
   ========================================================================== */
.page-hero {
	position: relative; color: var(--on-dark); text-align: center; overflow: hidden;
	padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 7vw, 84px);
	background: radial-gradient(900px 300px at 80% -20%, rgba(184, 151, 90, .25), transparent 60%), linear-gradient(180deg, #14120f, #1f1b16);
}
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); }
.page-hero__en { margin: 0 0 10px; font-family: var(--latin); font-style: italic; letter-spacing: .14em; color: var(--gold-light); font-size: 17px; }
.page-hero__title { margin: 0 auto; max-width: 900px; color: #fff; font-weight: 500; font-size: clamp(22px, 3.2vw, 36px); line-height: 1.6; letter-spacing: .08em; }
.page-hero .post-meta { justify-content: center; margin-top: 18px; color: var(--on-dark-muted); }
.page-hero .post-meta__date { color: var(--gold-light); }
.page-hero .post-meta__cat { color: var(--gold-light); }
.page-hero__desc { max-width: 720px; margin: 16px auto 0; color: var(--on-dark-muted); font-size: 14.5px; }
.page-hero__desc p:last-child { margin: 0; }

.breadcrumbs { padding: 16px 0; font-size: 12.5px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs [aria-current] { color: var(--text); max-width: 32em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   Entry
   ========================================================================== */
.site-main > .container--narrow { padding-bottom: clamp(64px, 8vw, 110px); }
.entry {
	background: var(--paper); padding: clamp(24px, 5vw, 64px); margin-top: 8px;
	box-shadow: 0 1px 0 var(--line), 0 30px 60px -50px rgba(20, 18, 15, .5);
}
.entry__thumb { margin: calc(clamp(24px, 5vw, 64px) * -1) calc(clamp(24px, 5vw, 64px) * -1) 40px; }
.entry__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-widgets { margin-bottom: 32px; }
.entry__footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 3px 12px; border: 1px solid var(--line); font-size: 12.5px; text-decoration: none; color: var(--muted); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.post-navigation a:hover { border-color: var(--gold); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.nav-label { display: block; font-family: var(--latin); font-size: 13px; letter-spacing: .14em; color: var(--gold-deep); }
.nav-title { display: block; font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; } }

.related { margin-top: clamp(56px, 7vw, 90px); }
.related .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .related .cards { grid-template-columns: 1fr; } }
.related .card__excerpt { display: none; }
.related .card__title { font-size: 15px; }

/* TOC */
.toc { margin: 40px 0 48px; padding: 26px 30px; background: var(--ivory); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.toc__title { margin: 0 0 12px; font-family: var(--serif); font-size: 17px; letter-spacing: .14em; color: var(--ink); }
.toc__list, .toc__list ol { margin: 0; padding-left: 1.4em; }
.toc__list { counter-reset: none; }
.toc__list li { margin: 4px 0; font-size: 14.5px; line-height: 1.7; }
.toc__list li::marker { color: var(--gold-deep); font-size: .95em; }
.toc__list ol li { font-size: 13.5px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--gold-deep); text-decoration: underline; }

/* ==========================================================================
   Entry content (blocks)
   ========================================================================== */
.entry-content { counter-reset: pl-step; overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 {
	position: relative; margin: 2.6em 0 1.1em; padding-bottom: .7em;
	font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; border-bottom: 1px solid var(--line);
}
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 1px; background: var(--gold); }
.entry-content h3 { margin: 2.2em 0 .9em; padding-left: 16px; font-size: clamp(17px, 2vw, 20px); font-weight: 600; border-left: 2px solid var(--gold); line-height: 1.6; }
.entry-content h4 { margin: 2em 0 .8em; font-size: 17px; color: var(--gold-deep); }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em; padding-left: 1.5em; }
.entry-content li { margin: .35em 0; }
.entry-content ul li::marker { color: var(--gold); }
.entry-content ol li::marker { color: var(--gold-deep); font-weight: 600; }
.entry-content strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(217, 194, 143, .45) 62%); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 2em 0; padding: 22px 28px; background: var(--ivory); border-left: 2px solid var(--gold); font-family: var(--serif);
}
.entry-content hr { margin: 3em auto; border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.entry-content figure { margin: 0 0 2em; }
.entry-content img { height: auto; }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: .6em; font-size: 12.5px; color: var(--muted); text-align: center; }
.entry-content .wp-block-gallery { gap: 10px; }
.entry-content pre { overflow-x: auto; padding: 16px; background: var(--ink-2); color: var(--on-dark); font-size: 13px; }
.entry-content pre:empty, .entry-content .wp-block-code:has(> code:empty) { display: none; }
.entry-content iframe { max-width: 100%; }
.youtube-ratio, .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.youtube-ratio iframe, .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Tables */
.table-scroll, .entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 2em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--paper); }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.entry-content thead th, .entry-content th { background: var(--ink); color: var(--gold-light); font-weight: 500; font-family: var(--serif); letter-spacing: .06em; }
.entry-content tbody tr:nth-child(even) td { background: #fbf8f2; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) td { background: #f5efe4; }
@media (max-width: 600px) { .entry-content table { min-width: 520px; } }

/* Buttons block */
.entry-content .wp-block-buttons { margin: 2em 0; gap: 12px; }
.entry-content .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8em 2.2em;
	font-family: var(--serif); font-size: 15px; letter-spacing: .12em; text-decoration: none; border-radius: var(--radius);
	color: var(--ink); background: linear-gradient(135deg, #e3cd98 0%, #b8975a 48%, #9c7c43 100%); border: 1px solid #c9ad74;
	box-shadow: 0 10px 26px -14px rgba(184, 151, 90, .9);
}
.entry-content .wp-block-button__link:hover { filter: brightness(1.06); color: var(--ink); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--gold-deep); border: 1px solid var(--gold); box-shadow: none; }
.entry-content .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); filter: none; }
@media (max-width: 600px) { .entry-content .wp-block-button { width: 100%; } .entry-content .wp-block-button__link { width: 100%; } }

/* Media & text */
.entry-content .wp-block-media-text { margin: 2.4em 0; gap: 0; background: var(--ivory); }
.entry-content .wp-block-media-text__content { padding: 28px; }

/* Heading block styles (compatible with the previous theme) */
.entry-content .is-style-dotpattern {
	padding: .9em 1.1em .9em 1.3em; border: 0; border-left: 3px solid var(--gold);
	background:
		radial-gradient(rgba(184, 151, 90, .22) 1px, transparent 1.2px) 0 0 / 10px 10px,
		linear-gradient(90deg, #f4eee3, #fbf8f2);
}
.entry-content .is-style-dotpattern::after { display: none; }
.entry-content .is-style-bottomline { padding: 0 0 .6em; border: 0; border-bottom: 1px solid var(--gold); }
.entry-content .is-style-bottomline::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 72px; height: 5px; background: var(--gold); }
.entry-content h3.is-style-bottomline { position: relative; border-left: 0; padding-left: 0; }
.entry-content .is-style-bottomlinelight { padding: 0 0 .6em; border: 0; border-bottom: 1px solid var(--line); }
.entry-content h3.is-style-bottomlinelight { border-left: 0; padding-left: 0; }
.entry-content .is-style-bottomlinelight::after { display: none; }
.entry-content .is-style-doubleline { padding: .7em 0; border: 0; border-top: 3px double var(--gold); border-bottom: 3px double var(--gold); text-align: center; }
.entry-content h3.is-style-doubleline { border-left: 0; padding-left: 0; }
.entry-content .is-style-doubleline::after { display: none; }
.entry-content .is-style-ribbon {
	position: relative; display: block; margin-left: -12px; padding: .7em 1.2em; border: 0;
	background: var(--ink); color: var(--gold-light);
}
.entry-content .is-style-ribbon::after { content: ""; position: absolute; left: 0; bottom: -10px; top: auto; width: 0; height: 0; border-style: solid; border-width: 0 12px 10px 0; border-color: transparent #6d5631 transparent transparent; background: none; }
.entry-content h3.is-style-ribbon { border-left: 0; }
.entry-content .is-style-step { position: relative; padding: .4em 0 .4em 0; border: 0; display: flex; align-items: center; gap: 16px; }
.entry-content .is-style-step::before {
	counter-increment: pl-step; content: "STEP " counter(pl-step);
	flex: none; padding: .3em .9em; background: var(--ink); color: var(--gold-light);
	font-family: var(--latin); font-size: 15px; letter-spacing: .14em; font-weight: 600; line-height: 1.6;
}
.entry-content .is-style-step::after { display: none; }
.entry-content h3.is-style-step { border-left: 0; padding-left: 0; }
.entry-content .is-style-balloon {
	position: relative; display: inline-block; padding: .7em 1.3em; border: 0; background: var(--ink); color: var(--gold-light);
	border-radius: var(--radius);
}
.entry-content .is-style-balloon::after {
	content: ""; position: absolute; left: 28px; bottom: -10px; top: auto; width: 0; height: 0;
	border-style: solid; border-width: 10px 9px 0 9px; border-color: var(--ink) transparent transparent transparent; background: none;
}
.entry-content h3.is-style-balloon { border-left: 0; }
.entry-content .is-style-ribbon.has-background:not(.has-text-color),
.entry-content .is-style-balloon.has-background:not(.has-text-color) { color: var(--ink); }
.entry-content .is-style-stripe {
	padding: .8em 1.1em; border: 0;
	background: repeating-linear-gradient(-45deg, #f6f0e5, #f6f0e5 6px, #fbf8f2 6px, #fbf8f2 12px);
	border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.entry-content .is-style-stripe::after { display: none; }
.entry-content h3.is-style-stripe { border-left: 0; }
.entry-content .has-background { padding: 1em 1.3em; }
.entry-content p.has-background { border-radius: var(--radius); }

/* Palette classes */
.has-liquid-theme-color { color: var(--wp--preset--color--liquid-theme) !important; }
.has-liquid-black-color { color: var(--wp--preset--color--liquid-black) !important; }
.has-liquid-dark-gray-color { color: var(--wp--preset--color--liquid-dark-gray) !important; }
.has-liquid-light-gray-color { color: var(--wp--preset--color--liquid-light-gray) !important; }
.has-liquid-white-color { color: var(--wp--preset--color--liquid-white) !important; }
.has-liquid-red-color { color: var(--wp--preset--color--liquid-red) !important; }
.has-liquid-orange-color { color: var(--wp--preset--color--liquid-orange) !important; }
.has-liquid-pink-color { color: var(--wp--preset--color--liquid-pink) !important; }
.has-liquid-yellow-color { color: var(--wp--preset--color--liquid-yellow) !important; }
.has-liquid-green-color { color: var(--wp--preset--color--liquid-green) !important; }
.has-liquid-blue-color { color: var(--wp--preset--color--liquid-blue) !important; }
.has-liquid-dark-blue-color { color: var(--wp--preset--color--liquid-dark-blue) !important; }
.has-liquid-purple-color { color: var(--wp--preset--color--liquid-purple) !important; }
.has-liquid-theme-background-color { background-color: var(--wp--preset--color--liquid-theme) !important; }
.has-liquid-black-background-color { background-color: var(--wp--preset--color--liquid-black) !important; }
.has-liquid-dark-gray-background-color { background-color: var(--wp--preset--color--liquid-dark-gray) !important; }
.has-liquid-light-gray-background-color { background-color: var(--wp--preset--color--liquid-light-gray) !important; }
.has-liquid-white-background-color { background-color: var(--wp--preset--color--liquid-white) !important; }
.has-liquid-red-background-color { background-color: var(--wp--preset--color--liquid-red) !important; }
.has-liquid-orange-background-color { background-color: var(--wp--preset--color--liquid-orange) !important; }
.has-liquid-pink-background-color { background-color: var(--wp--preset--color--liquid-pink) !important; }
.has-liquid-yellow-background-color { background-color: var(--wp--preset--color--liquid-yellow) !important; }
.has-liquid-green-background-color { background-color: var(--wp--preset--color--liquid-green) !important; }
.has-liquid-blue-background-color { background-color: var(--wp--preset--color--liquid-blue) !important; }
.has-liquid-dark-blue-background-color { background-color: var(--wp--preset--color--liquid-dark-blue) !important; }
.has-liquid-purple-background-color { background-color: var(--wp--preset--color--liquid-purple) !important; }
.entry-content mark.has-inline-color { background: none; }

/* Forms (Contact Form 7 / search) */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select,
.search-form__input {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); color: var(--text);
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .search-form__input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184, 151, 90, .2); }
.wpcf7 input[type="submit"], .search-form__btn {
	min-height: 50px; padding: .7em 2.4em; border: 1px solid #c9ad74; border-radius: var(--radius); cursor: pointer;
	color: var(--ink); background: linear-gradient(135deg, #e3cd98 0%, #b8975a 48%, #9c7c43 100%); font-family: var(--serif); letter-spacing: .12em;
}
.search-form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.search-form__btn { flex: none; }
.search-box { margin: 8px 0 40px; }

.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.notfound { text-align: center; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Comments */
.comments { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }

/* Widgets */
.widget { margin-bottom: 2em; }
.widget:last-child { margin-bottom: 0; }
.footer-widgets { padding: 56px 0; background: var(--paper); border-top: 1px solid var(--line); }

/* ==========================================================================
   CTA + Footer
   ========================================================================== */
.cta {
	position: relative; overflow: hidden; color: var(--on-dark); text-align: center;
	padding: clamp(72px, 9vw, 120px) 0;
	background: radial-gradient(800px 360px at 50% 0%, rgba(184, 151, 90, .25), transparent 70%), var(--ink-2);
	border-top: 1px solid var(--line-dark);
}
.cta::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--line-dark); pointer-events: none; }
.cta__en { margin: 0 0 6px; font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--gold-light); letter-spacing: .16em; }
.cta__title { margin: 0 0 16px; color: #fff; font-weight: 500; font-size: clamp(22px, 3vw, 34px); letter-spacing: .1em; }
.cta__text { margin: 0 auto 32px; max-width: 640px; color: var(--on-dark-muted); font-size: 14.5px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__tel { margin-top: 32px; }
.cta__tel p { margin: 4px 0 0; font-size: 12.5px; color: var(--on-dark-muted); }
.tel-link--lg { font-size: clamp(26px, 3.4vw, 34px); }
.tel-link--lg .ico { width: 22px; height: 22px; }
@media (max-width: 600px) { .cta__actions .btn { width: 100%; } .cta::before { inset: 10px; } }

.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 13.5px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 48px; padding-block: clamp(56px, 7vw, 80px); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .site-logo { margin-bottom: 18px; }
.site-footer__name { margin: 0 0 10px; color: var(--on-dark); font-family: var(--serif); font-size: 14.5px; line-height: 1.8; }
.site-footer__address { margin-bottom: 14px; line-height: 1.9; }
.site-footer__address a { color: var(--gold-light); font-size: 12.5px; }
.site-footer__hours { margin: 4px 0 0; font-size: 12px; }
.fnav, .fnav ul { list-style: none; margin: 0; padding: 0; }
.fnav { columns: 3 180px; column-gap: 32px; }
.fnav > li { break-inside: avoid; margin-bottom: 16px; }
.fnav a { color: var(--on-dark); text-decoration: none; }
.fnav a:hover { color: var(--gold-light); }
.fnav > li > a { font-family: var(--serif); letter-spacing: .06em; }
.fnav .sub-menu { margin-top: 6px; }
.fnav .sub-menu a { display: inline-block; padding: 2px 0 2px 14px; position: relative; color: var(--on-dark-muted); font-size: 12.5px; }
.fnav .sub-menu a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--gold); }
.site-footer__copy { border-top: 1px solid var(--line-dark); padding: 18px 0; text-align: center; }
.site-footer__copy small { font-size: 11.5px; letter-spacing: .08em; }

.pagetop {
	position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 48px; height: 48px; display: grid; place-items: center;
	background: var(--ink); border: 1px solid var(--gold); color: var(--gold-light);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop svg { width: 22px; height: 22px; fill: currentColor; }
.pagetop:hover { background: var(--gold); color: var(--ink); }

/* WordPress core alignment */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.entry-content .alignwide { margin-inline: calc(clamp(24px, 5vw, 64px) * -.5); max-width: none; }
.entry-content .alignfull { margin-inline: calc(clamp(24px, 5vw, 64px) * -1); max-width: none; }

@media print {
	.site-header, .cta, .pagetop, .site-footer__nav { display: none !important; }
	body { background: #fff; }
}
