/* 客室詳細のカスタムフィールド表示（hilton/room-category, room-spec, room-features, room-amenities）。 */

/* カテゴリー英字名（eyebrow）。WP constrained 子要素リセットに勝つよう子結合子で指定。 */
.single-main > .room-eyebrow {
	margin: 0 0 6px;
}
.room-eyebrow {
	font-family: var(--wp--custom--brand-ui, var(--wp--custom--brand-body));
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aureate, #b89766);
	/* タイトル（h1）に合わせてカテゴリも中央寄せに統一する。 */
	text-align: center;
}

/* スペック（広さ／ベッドサイズ／定員）。3列の等幅グリッド、上下罫線＋列間の左罫線で区切る。 */
.room-spec {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--line, #ececec);
	border-bottom: 1px solid var(--line, #ececec);
}
.room-spec__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 24px;
	border-left: 1px solid var(--line, #ececec);
}
.room-spec__row:first-child {
	border-left: 0;
	padding-left: 0;
}
.room-spec__label {
	font-family: var(--wp--custom--brand-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aureate, #b89766);
}
.room-spec__value {
	font-family: var(--wp--custom--brand-body);
	font-size: 14px;
	line-height: 1.7;
	color: var(--text, #111);
}
/* SP は 1 列に積む。 */
@media (max-width: 700px) {
	.room-spec { grid-template-columns: 1fr; }
	.room-spec__row { border-left: 0; border-top: 1px solid var(--line, #ececec); padding: 14px 0; }
	.room-spec__row:first-child { border-top: 0; }
}

/* 魅力（feature_blocks）。peek-carousel スライド（横送りは共通の carousel.css/.js）。
   コンテナを 1080 に絞って左右に余白を残す。 */
.room-features.peek-carousel {
	max-width: 1080px;
	margin-inline: auto;
	--peek-container: min(1080px, 100vw - 64px);
}
@media (max-width: 620px) {
	.room-features.peek-carousel { --peek-container: calc(100vw - 32px); }
}
.room-features article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.room-features figure {
	margin: 0 0 14px;
	width: 100%;
}
.room-features img {
	display: block;
	width: 100%;
	height: auto;
}
.room-features h3 {
	margin: 0 0 8px;
	font-family: var(--wp--custom--brand-heading);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: var(--aureate, #b89766);
}
.room-features p {
	margin: 0;
	font-family: var(--wp--custom--brand-body);
	font-size: 14px;
	line-height: 1.85;
	color: var(--text, #111);
}

/* アメニティ・設備・貸出品一覧。グループを縦に積み、各グループは 4 列＋丸ビュレット。 */
.amen-groups {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.amen-group h3 {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid color-mix(in srgb, var(--aureate, #b89766) 30%, transparent);
	font-family: var(--wp--custom--brand-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aureate, #b89766);
}
.amen-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px 28px;
	/* 1行に収まらない長い項目は span 2 にして折り返しを防ぐ（room-amenities.js が付与）。 */
	grid-auto-flow: dense;
}
.amen-list li {
	position: relative;
	padding-left: 16px;
	font-family: var(--wp--custom--brand-body);
	font-size: 13px;
	line-height: 1.65;
	color: var(--text, #111);
}
.amen-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--aureate, #b89766);
}
.amen-note {
	margin: 12px 0;
	font-family: var(--wp--custom--brand-body);
	font-size: 12px;
	line-height: 1.7;
	color: var(--warm-grey, #666);
}
.amen-empty {
	margin: 0;
	font-family: var(--wp--custom--brand-body);
	font-size: 14px;
	color: #888;
}
.amen-group .amen-note + .amen-list { margin-top: 0; }
@media (max-width: 900px) { .amen-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .amen-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .amen-list { grid-template-columns: 1fr; } }
