/*
Theme Name: Asagiri Hotel
Theme URI: https://github.com/oberonlai/shippress-themes/tree/main/themes/asagiri-hotel
Author: ShipPress
Author URI: https://github.com/oberonlai/shippress-themes
Description: Asagiri Hotel is an editorial WordPress theme designed for airport hotels and transit hospitality, structured around the progression of a single night. Built with classic serif typography, low-key documentary photo frames, and calm responsive block patterns, it presents twenty-four-hour desk operations, room selections, shuttle schedules, and late check-in hold policies with quiet clarity.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asagiri-hotel
Tags: travel, block-patterns, full-site-editing, blog, custom-colors, editor-style, translation-ready, wide-blocks
*/

:root {
	--ag-ground: var(--wp--preset--color--ground);
	--ag-panel: var(--wp--preset--color--panel);
	--ag-ink: var(--wp--preset--color--ink);
	--ag-deep: var(--wp--preset--color--deep);
	--ag-accent: var(--wp--preset--color--accent);
	--ag-muted: var(--wp--preset--color--muted);
	--ag-disp: var(--wp--preset--font-family--display);
	--ag-gut: 30px;
	--ag-gap: 200px;
	--ag-rule: rgba(42, 42, 40, .18);
	--ag-ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 781px) { :root { --ag-gut: 12px; --ag-gap: 96px; } }

html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.ag-main > *, .wp-site-blocks > * { margin-block-start: 0; }
.wp-block-group:where(.ag-phead, .ag-col, .ag-pclose, .ag-newsbody, .ag-singlebody, .ag-ratespage, .ag-hero, .ag-intro, .ag-rooms, .ag-checkin, .ag-shuttle, .ag-clockwrap, .ag-depart, .ag-notes, .ag-close) { padding-inline: var(--ag-gut); }
.ag-intro, .ag-rooms, .ag-checkin, .ag-shuttle, .ag-clockwrap, .ag-depart, .ag-notes, .ag-close { margin-top: var(--ag-gap); }
a { text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

/* ---------- header ---------- */
.ag-header { background: var(--ag-ground); }
.ag-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; height: 160px; min-height: 160px; padding: 30px var(--ag-gut) 6px; gap: 24px; }
.ag-brand__title { font-size: 1.5rem; line-height: 1.2; }
.ag-brand__title a { color: var(--ag-ink); }
.ag-nav { justify-self: center; }
.ag-nav .wp-block-navigation__container { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(2, 170px); gap: 0 0; align-items: start; }
.ag-nav .wp-block-navigation-item { line-height: 31px; }
.ag-nav .wp-block-navigation-item__content { font-size: 0.9375rem; letter-spacing: .04em; color: var(--ag-ink); text-decoration: none; background: linear-gradient(var(--ag-accent), var(--ag-accent)) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; padding: 0; }
.ag-nav .wp-block-navigation-item__content:hover { background-size: 100% 1px; }
.ag-book { justify-self: end; margin: 0; }
.ag-book a { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 22px; border-radius: 4px; background: var(--ag-accent); color: var(--ag-panel); font-size: 0.875rem; letter-spacing: .04em; transition: background .3s ease; }
.ag-book a:hover { background: var(--ag-deep); color: var(--ag-panel); }
.ag-book__arr { font-size: 1rem; line-height: 1; }
.ag-nav .wp-block-navigation__responsive-container-open { height: 40px; width: 60px; border: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(42, 42, 40, .3); font-size: 0.8125rem; letter-spacing: .04em; color: var(--ag-ink); }
.ag-nav .wp-block-navigation__responsive-container-open svg { display: none; }
.ag-nav .wp-block-navigation__responsive-container-open { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.ag-nav .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ag-ground); color: var(--ag-ink); padding: 24px; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { display: flex; flex-direction: column; gap: 8px; grid-template-columns: none; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--ag-disp); font-size: 1.5rem; }
@media (min-width: 782px) { .ag-nav .wp-block-navigation__responsive-container-open { display: none; } }
@media (max-width: 781px) {
	.ag-header__bar { grid-template-columns: 1fr auto auto; min-height: 72px; padding: 16px var(--ag-gut); align-items: center; gap: 10px; }
	.ag-brand__title { font-size: 1.25rem; }
	.ag-nav { order: 3; justify-self: end; }
	.ag-book { order: 2; }
	.ag-book a { height: 36px; padding: 0 14px; }
	.ag-book__arr { display: none; }
}

/* ---------- shared small parts ---------- */
.ag-label, .ag-time { font-size: 0.8125rem; letter-spacing: .04em; line-height: 1.4; color: var(--ag-muted); }
.ag-label { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.ag-label::after { content: ""; width: 40px; border-top: 1px solid var(--ag-muted); }
.ag-label--sm { margin: 48px 0 12px; }
.ag-pill { margin-top: 28px; }
.ag-pill a { display: inline-flex; align-items: center; gap: 14px; font-size: 0.9375rem; letter-spacing: .02em; color: inherit; }
.ag-arr { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 40px; border-radius: 20px; background: var(--ag-panel); box-shadow: inset 0 0 0 1px rgba(42, 42, 40, .14); color: var(--ag-accent); transition: background .3s ease, color .3s ease; }
.ag-arr svg { display: block; }
.ag-pill a:hover .ag-arr { background: var(--ag-accent); color: var(--ag-panel); }
.ag-title { font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; }

/* ---------- 1 hero ---------- */
.ag-hero { padding-bottom: 0; position: relative; }
.ag-hero__photo.wp-block-cover { min-height: max(600px, calc(100svh - 120px)); padding: 50px; align-items: stretch; }
.ag-hero__photo .wp-block-cover__inner-container { display: flex; flex-direction: column; align-self: stretch; width: 100%; max-width: none; color: var(--ag-panel); }
.ag-hero__in { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: calc(max(600px, 100svh - 120px) - 100px); }
.ag-hero__mid { max-width: 54rem; margin: 0 auto; text-align: center; transform: translateY(-4%); }
.ag-hero__h1 { font-size: 3.25rem; line-height: 1.2; color: var(--ag-panel); font-weight: 400; }
@media (min-width: 782px) and (max-width: 1200px) {
	.ag-hero__mid { max-width: 38rem; }
	.ag-hero__h1 { font-size: 2.5rem; }
}
.ag-hero__sub { margin-top: 22px; font-size: 1.75rem; line-height: 1.3; font-style: italic; color: rgba(241, 238, 236, .92); }
.ag-scroll { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 0.8125rem; letter-spacing: .04em; color: var(--ag-panel); }
.ag-scroll::after { content: ""; width: 1px; height: 40px; background: var(--ag-panel); }
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .ag-rise1, html.sp-js:not(.sp-no-motion) .ag-rise2 { animation: ag-rise .9s var(--ag-ease) both; }
	html.sp-js:not(.sp-no-motion) .ag-rise1 { animation-delay: .2s; }
	html.sp-js:not(.sp-no-motion) .ag-rise2 { animation-delay: .35s; }
}
@keyframes ag-rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.ag-tiles { display: flex; gap: 6px; justify-content: center; }
.ag-tile { margin: 0; }
.ag-tile a { display: flex; align-items: center; justify-content: center; width: 160px; height: 52px; text-align: center; font-size: 0.8125rem; line-height: 1.3; letter-spacing: .04em; border-radius: 4px; background: rgba(241, 238, 236, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ag-ink); }
@media (min-width: 782px) {
	.ag-tiles { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; }
}
@media (max-width: 781px) {
	.ag-hero__photo.wp-block-cover { min-height: max(520px, 72svh); padding: 24px; }
	.ag-hero__in { min-height: calc(max(520px, 72svh) - 48px); }
	.ag-hero__h1 { font-size: 2rem; line-height: 1.25; }
	.ag-hero__h1 br { display: none; }
	.ag-hero__sub { font-size: 1.125rem; }
	.ag-hero__mid { transform: none; }
	.ag-tiles { margin-top: 6px; }
	.ag-tile { flex: 1; }
	.ag-tile a { width: 100%; }
}

/* ---------- 2 intro ---------- */
.ag-intro__grid { display: grid; grid-template-columns: minmax(0, 512px) 318px; justify-content: space-between; margin-left: calc(21.4vw - var(--ag-gut)); align-items: start; }
.ag-lead { font-size: 1.25rem; line-height: 1.9; margin-bottom: 1.4rem; }
.ag-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.ag-name { display: flex; flex-direction: column; padding: 10px 0 12px; border-top: 1px solid var(--ag-rule); line-height: 1.4; }
.ag-name strong { font-family: var(--ag-disp); font-weight: 400; font-size: 1.125rem; }
.ag-name span { font-size: 0.875rem; color: var(--ag-muted); }
.ag-intro__photo { width: 318px; }
.ag-intro__photo .wp-block-image { margin: 0; }
@media (max-width: 1023px) { .ag-intro__grid { margin-left: 0; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; } .ag-intro__photo { width: 260px; } }
@media (max-width: 781px) {
	.ag-intro__grid { grid-template-columns: 1fr; margin-left: 0; }
	.ag-intro__photo { order: 2; width: 70%; justify-self: end; margin-top: 40px; }
	.ag-names { grid-template-columns: 1fr; }
	.ag-lead { font-size: 1.125rem; }
}

/* ---------- openers (T2) ---------- */
.ag-open { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; row-gap: 24px; }
.ag-open__head { position: relative; width: max-content; max-width: 100%; }
.ag-open__t { font-size: var(--wp--preset--font-size--xx-large); line-height: .95; letter-spacing: -0.02em; }
.ag-open__t--m { font-size: var(--wp--preset--font-size--x-large); line-height: 1.05; }
.ag-open__text { max-width: 560px; }
.ag-open__text p:not(.ag-pill) { font-size: 1.0625rem; line-height: 1.9; }
.ag-motif { display: none; }
@media (min-width: 1024px) {
	.ag-open { grid-template-columns: calc(43.3vw - var(--ag-gut)) minmax(0, 560px); align-items: end; }
	.ag-open__head { margin-left: calc(11.8vw - var(--ag-gut)); }
	.ag-open__head .ag-time { position: absolute; right: 0; top: 0; transform: translateY(-140%); white-space: nowrap; }
	.ag-open__text { padding-bottom: .5rem; }
	.ag-motif { display: block; position: absolute; left: calc(87vw - var(--ag-gut)); top: -80px; }
}
@media (max-width: 1023px) { .ag-open__head .ag-time { margin-bottom: 18px; } .ag-open__t { font-size: 4.25rem; } }
@media (max-width: 781px) { .ag-open__t { font-size: 3.25rem; } }

.ag-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-left: calc(26.4vw - var(--ag-gut)); margin-top: 90px; }
.ag-room .wp-block-image { margin: 0; }
.ag-room__n { margin-top: 18px; font-size: 1.25rem; line-height: 1.3; }
.ag-room__d { font-size: 0.9375rem; line-height: 1.6; color: var(--ag-muted); margin-top: 6px; }
.ag-room__p { font-family: var(--ag-disp); font-size: 0.9375rem; margin-top: 8px; }
@media (max-width: 1023px) { .ag-strip { margin-left: 12%; } }
@media (max-width: 781px) { .ag-strip { grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; gap: 40px; margin-top: 48px; } }

/* rates */
.ag-ratesblock { margin: 120px 70px 0; }
.ag-ratesblock__t { font-size: var(--wp--preset--font-size--large); margin-bottom: 24px; }
.ag-rates { margin: 0; width: 100%; }
.ag-rates table { width: 100%; border-collapse: collapse; border: 0; table-layout: auto; }
.ag-rates td { padding: 18px 16px 18px 0; border: 0; border-top: 1px solid var(--ag-rule); vertical-align: baseline; font-size: 1rem; line-height: 1.5; }
.ag-rates tr:last-child td { border-bottom: 1px solid var(--ag-rule); }
.ag-rates td:first-child { width: 28%; font-family: var(--ag-disp); font-size: 1.125rem; }
.ag-rates td:nth-child(2) { color: var(--ag-muted); }
.ag-rates td:last-child { min-width: 9ch; padding-right: 0; text-align: right; white-space: nowrap; font-family: var(--ag-disp); font-size: 1.25rem; }
.ag-note { margin-top: 16px; font-size: 0.875rem; color: var(--ag-muted); }
@media (max-width: 781px) {
	.ag-ratesblock { margin: 72px 12px 0; }
	.ag-rates table, .ag-rates tbody, .ag-rates tr, .ag-rates td { display: block; }
	.ag-rates tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--ag-rule); }
	.ag-rates td { border: 0 !important; padding: 0 !important; width: auto !important; }
	.ag-rates td:first-child { grid-column: 1; grid-row: 1; }
	.ag-rates td:last-child { grid-column: 2; grid-row: 1; }
	.ag-rates td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }
	.ag-rates tr:last-child { border-bottom: 1px solid var(--ag-rule); }
}

/* ---------- 4 check-in (T3b) ---------- */
.ag-checkin__frame { position: relative; margin: 0 70px; }
.ag-checkin__frame .wp-block-image { margin: 0; }
.ag-card { background: rgba(241, 238, 236, .9); border-top: 6px solid var(--ag-accent); padding: 44px 46px 40px; }
.ag-card__t { font-size: 2.75rem; line-height: 1.1; margin: 10px 0 18px; }
.ag-card__p { font-size: 0.9375rem; line-height: 1.7; }
@media (min-width: 782px) { .ag-card { position: absolute; left: 69px; top: 30%; width: 430px; max-width: calc(100% - 40px); } }
@media (max-width: 1023px) and (min-width: 782px) { .ag-card { padding: 28px 30px; } .ag-card__t { font-size: 2.25rem; } .ag-card__p { font-size: .875rem; line-height: 1.6; } }
@media (max-width: 781px) { .ag-checkin__frame { margin: 0 12px; } .ag-card { padding: 28px 24px; } .ag-card__t { font-size: 2.25rem; } }

/* ---------- 5 shuttle ---------- */
.ag-shuttle__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 716px); column-gap: 104px; margin-left: 70px; align-items: start; }
.ag-shuttle__photo .wp-block-image { margin: 0; }
.ag-shuttle__text .ag-time { margin-bottom: 14px; }
.ag-shuttle__text .ag-title { margin-bottom: 26px; }
.ag-rows { margin: 28px 0 0; }
.ag-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--ag-rule); font-size: 1.0625rem; }
.ag-row:last-child { border-bottom: 1px solid var(--ag-rule); }
.ag-row__t { font-family: var(--ag-disp); white-space: nowrap; }
@media (max-width: 1023px) { .ag-shuttle__grid { column-gap: 40px; margin-left: 0; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
@media (max-width: 781px) { .ag-shuttle__grid { grid-template-columns: 1fr; row-gap: 32px; } .ag-title { font-size: 2.25rem; } .ag-row { font-size: 1rem; flex-wrap: wrap; gap: 4px 12px; } }

/* ---------- 6 clock ---------- */
.ag-clock.wp-block-cover { min-height: 70vh; align-items: center; justify-content: center; padding: 60px 24px; }
.ag-clock .wp-block-cover__inner-container { max-width: 1100px; width: 100%; color: var(--ag-panel); }
.ag-clock__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ag-clock__i { text-align: center; padding: 0 16px; }
.ag-clock__i + .ag-clock__i { border-left: 1px solid rgba(241, 238, 236, .4); }
.ag-clock__n { font-family: var(--ag-disp); font-size: var(--wp--preset--font-size--x-large); line-height: 1.1; color: var(--ag-panel); }
.ag-clock__l { margin-top: 10px; font-size: 0.9375rem; line-height: 1.6; color: rgba(241, 238, 236, .9); }
@media (max-width: 781px) {
	.ag-clock__row { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.ag-clock__i:nth-child(odd) { border-left: 0; }
	.ag-clock__n { font-size: 2.25rem; }
}

/* ---------- 7 departure (T3a) ---------- */
.ag-depart__panel { background: var(--ag-panel); padding: 120px 70px 120px 65px; }
.ag-depart__grid { display: grid; grid-template-columns: clamp(300px, 37.8vw, 545px) minmax(0, 1fr); column-gap: 10.4vw; align-items: start; }
.ag-depart .ag-depart__panel .ag-depart__photo { margin-top: -188px; }
.ag-depart__photo .wp-block-image { margin: 0; }
.ag-depart__text .ag-time { margin-bottom: 14px; }
.ag-depart__body { margin-top: 36px; max-width: 427px; margin-left: 123px; }
.ag-depart__body p:not(.ag-pill) { font-size: 1.0625rem; line-height: 1.9; margin-bottom: 1rem; }
.ag-depart__text .ag-title { font-size: var(--wp--preset--font-size--xx-large); line-height: .95; }
@media (max-width: 1023px) { .ag-depart__body { margin-left: 0; } .ag-depart__grid { column-gap: 40px; } .ag-depart__text .ag-title { font-size: 3.5rem; } }
@media (max-width: 781px) {
	.ag-depart__panel { padding: 0 12px 64px; }
	.ag-depart__grid { grid-template-columns: 1fr; row-gap: 32px; }
	.ag-depart .ag-depart__panel .ag-depart__photo { margin-top: -40px; }
	.ag-depart__text .ag-title { font-size: 3rem; }
}

/* ---------- 8 notes ---------- */
.ag-notes .ag-open { margin-bottom: 64px; }
.ag-notes__q, .ag-notes__list { margin: 0; }
.ag-notes__q { margin-left: calc(11.8vw - var(--ag-gut)); margin-right: 70px; }
.ag-notes__list.wp-block-post-template { gap: 40px; padding: 0; }
.ag-notes__img { margin: 0 0 16px; }
.ag-notes__img img { width: 100%; object-fit: cover; }
.ag-notes__d { font-size: 0.8125rem; letter-spacing: .04em; color: var(--ag-muted); }
.ag-notes__n { font-size: 1.25rem; line-height: 1.3; margin: 6px 0 8px; }
.ag-notes__n a { color: var(--ag-ink); }
.ag-notes__x { font-size: 0.9375rem; line-height: 1.7; color: var(--ag-muted); }
.ag-notes__x p { margin: 0; }
@media (min-width: 1024px) { .ag-notes .ag-open__head { margin-left: calc(11.8vw - var(--ag-gut)); } }
@media (max-width: 1023px) { .ag-notes__q { margin: 0; } }
@media (max-width: 781px) { .ag-notes__list.wp-block-post-template { grid-template-columns: 1fr !important; } }

/* ---------- 9 close ---------- */
.ag-close { margin-bottom: 0; }
.ag-close__in { background: var(--ag-ink); color: var(--ag-panel); padding: 160px 24px; text-align: center; }
.ag-close__t { font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; color: var(--ag-panel); }
.ag-close__a { margin: 28px auto 0; max-width: 34rem; font-size: 1.0625rem; line-height: 1.9; color: rgba(241, 238, 236, .85); }
.ag-close__pills > * { margin: 0; }
.ag-close__pills { align-items: center; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.ag-close .ag-pill a { color: var(--ag-panel); }
.ag-close .ag-pill a:hover { color: var(--ag-panel); }
@media (max-width: 781px) { .ag-close__in { padding: 96px 20px; } }

/* ---------- footer ---------- */
.ag-foot { margin-top: var(--ag-gap); background: var(--ag-deep); color: rgba(241, 238, 236, .8); padding: 80px var(--ag-gut) 40px; }
.home .ag-foot { margin-top: 0; }
.ag-foot a, .ag-foot__t, .ag-foot__mark a { color: rgba(241, 238, 236, .8); }
.ag-foot a:hover { color: var(--ag-panel); }
.ag-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1240px; margin: 0 auto; }
.ag-foot__mark { font-family: var(--ag-disp); font-size: 1.5rem; margin-bottom: 16px; }
.ag-foot__t { font-size: 0.875rem; line-height: 1.9; }
.ag-foot__h { font-size: 0.8125rem; letter-spacing: .04em; color: var(--ag-panel); margin-bottom: 10px; }
.ag-foot__base { max-width: 1240px; margin: 56px auto 0; padding-top: 20px; border-top: 1px solid rgba(241, 238, 236, .18); }
@media (max-width: 781px) { .ag-foot__grid { grid-template-columns: 1fr; gap: 28px; } .ag-foot { padding-top: 56px; } }

/* ---------- inner stubs and templates ---------- */
.ag-wrapin { padding: 80px var(--ag-gut) 0; }
.ag-pagehead { max-width: 46rem; margin: 0 auto; text-align: center; padding: 40px 0 56px; }
.ag-sub { font-style: italic; font-size: 1.375rem; margin-top: 12px; color: var(--ag-muted); }
.ag-stub { max-width: 760px; margin: 0 auto; }
.ag-single__t { text-align: center; max-width: 46rem; margin: 12px auto; }
.ag-single__d { text-align: center; color: var(--ag-muted); }
.ag-single__img { margin: 40px 0; }
.ag-wrapin .wp-block-post-content { margin-top: 40px; }
.ag-wrapin .ag-notes__q { margin: 0; }


/* ---------- inner pages (T1 head on every page) ---------- */
.ag-phead { --sp-par: 6%; margin-top: 0; }
.ag-phead__photo.wp-block-cover { min-height: clamp(420px, 62vh, 640px); padding: 40px; align-items: center; justify-content: center; }
.ag-phead__photo--post.wp-block-cover { min-height: clamp(380px, 56vh, 600px); }
.ag-phead__photo .wp-block-cover__inner-container { max-width: 46rem; width: 100%; text-align: center; color: var(--ag-panel); }
.ag-phead__t { font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; font-weight: 400; color: var(--ag-panel); }
.ag-phead__sub { margin-top: 16px; font-size: 1.375rem; line-height: 1.4; font-style: italic; color: rgba(241, 238, 236, .92); }
.ag-phead__time { margin-bottom: 14px; color: rgba(241, 238, 236, .85); }
.ag-phead--ink .ag-phead__photo--ink { background: var(--ag-ink); min-height: clamp(320px, 44vh, 480px); display: flex; align-items: center; justify-content: center; padding: 40px; text-align: center; color: var(--ag-panel); }
.ag-phead--ink .ag-time { color: rgba(241, 238, 236, .85); }
.ag-phead--ink .ag-pill a { color: var(--ag-panel); }
.ag-phead--ink .ag-pill a:hover { color: var(--ag-panel); }
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .ag-phead .ag-rise1, html.sp-js:not(.sp-no-motion) .ag-phead .ag-rise2 { animation: ag-rise .9s var(--ag-ease) both; }
	html.sp-js:not(.sp-no-motion) .ag-phead .ag-rise1 { animation-delay: .15s; }
	html.sp-js:not(.sp-no-motion) .ag-phead .ag-rise2 { animation-delay: .3s; }
}
.ag-col, .ag-pclose, .ag-newsbody, .ag-singlebody, .ag-ratespage { margin-top: 120px; }
.ag-phead + .ag-col, .ag-phead + .ag-rooms, .ag-phead + .ag-checkin, .ag-phead + .ag-depart { margin-top: 120px; }
.ag-phead + .ag-depart { margin-top: 200px; }
.ag-col > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.ag-col p:not(.ag-label):not(.ag-row):not(.ag-pr):not(.ag-step):not(.ag-rr) { font-size: 1.0625rem; line-height: 1.9; margin-bottom: 1.1rem; }
.ag-col__h { font-size: var(--wp--preset--font-size--large); line-height: 1.25; margin-bottom: 22px; }
.ag-col .ag-label { margin-bottom: 28px; }
.ag-ratespage { margin-top: 72px; }
.ag-ratespage .ag-ratesblock { margin-top: 0; }
.ag-depart--long .ag-depart__body { max-width: 520px; margin-left: 0; }
.ag-depart__body .ag-pill { margin-top: 20px; }
.ag-depart .ag-depart__panel .ag-depart__photo .wp-block-image img { width: 100%; }
.ag-open__head .ag-title { font-size: inherit; }
@media (max-width: 781px) { .ag-phead__photo.wp-block-cover { padding: 24px; min-height: 380px; } .ag-phead__t { font-size: 2.25rem; } .ag-phead__sub { font-size: 1.125rem; } .ag-col, .ag-pclose, .ag-newsbody, .ag-singlebody { margin-top: 72px; } .ag-phead + .ag-depart { margin-top: 96px; } }
.ag-pclose { text-align: center; border-top: 0; }
.ag-pclose__t { font-size: 0.8125rem; letter-spacing: .04em; color: var(--ag-muted); }
.ag-pclose .ag-pill { margin-top: 18px; display: flex; justify-content: center; }
.ag-pclose .ag-pill a { font-family: var(--ag-disp); font-size: 1.5rem; }
.ag-pclose { margin-top: var(--ag-gap); padding-top: 56px; }
.ag-pclose::before { content: ""; display: block; max-width: 760px; margin: 0 auto 40px; border-top: 1px solid var(--ag-rule); }

/* room rows, steps, people, faq, contact lines */
.ag-rr-list { margin-top: 36px; max-width: 760px; }
.ag-rr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) auto; column-gap: 24px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ag-rule); margin: 0; }
.ag-rr:last-child { border-bottom: 1px solid var(--ag-rule); }
.ag-rr__n { font-family: var(--ag-disp); font-size: 1.125rem; }
.ag-rr__d { color: var(--ag-muted); font-size: .9375rem; line-height: 1.5; }
.ag-rr__p { font-family: var(--ag-disp); font-size: 1.25rem; white-space: nowrap; text-align: right; min-width: 5ch; }
.ag-steps { margin-top: 28px; }
.ag-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--ag-rule); margin: 0; }
.ag-step:last-child { border-bottom: 1px solid var(--ag-rule); }
.ag-step__n { font-family: var(--ag-disp); font-size: 2rem; line-height: 1.1; color: var(--ag-accent); }
.ag-col .ag-step span:last-child { font-size: 1.0625rem; line-height: 1.8; }
.ag-people { margin-top: 28px; }
.ag-pr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 24px; padding: 14px 0; border-top: 1px solid var(--ag-rule); margin: 0; line-height: 1.5; }
.ag-pr:last-child { border-bottom: 1px solid var(--ag-rule); }
.ag-pr__n { font-family: var(--ag-disp); font-size: 1.125rem; }
.ag-pr__r, .ag-pr__l { font-size: .9375rem; color: var(--ag-muted); }
.ag-col .ag-pr span, .ag-col .ag-rr span { font-size: inherit; }
.ag-faq { margin-top: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.ag-faq .wp-block-details { border-top: 1px solid var(--ag-rule); padding: 20px 0; margin: 0; }
.ag-faq .wp-block-details:last-child { border-bottom: 1px solid var(--ag-rule); }
.ag-faq summary { font-family: var(--ag-disp); font-size: 1.25rem; line-height: 1.4; cursor: pointer; list-style: none; position: relative; padding-right: 36px; }
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after { content: ""; position: absolute; right: 2px; top: .55em; width: 14px; height: 14px; background: linear-gradient(var(--ag-accent), var(--ag-accent)) 50% 50% / 14px 1px no-repeat, linear-gradient(var(--ag-accent), var(--ag-accent)) 50% 50% / 1px 14px no-repeat; }
.ag-faq details[open] summary::after { background: linear-gradient(var(--ag-accent), var(--ag-accent)) 50% 50% / 14px 1px no-repeat; }
.ag-faq details p { margin: 14px 0 0; font-size: 1rem; line-height: 1.85; color: var(--ag-ink); }
.ag-rows--c { margin-top: 32px; }
.ag-rows--c .ag-row__t { white-space: normal; text-align: right; }
.ag-rows--c a { color: inherit; background: linear-gradient(var(--ag-accent), var(--ag-accent)) 0 100% / 100% 1px no-repeat; }
@media (max-width: 781px) {
	.ag-rr { grid-template-columns: 1fr auto; row-gap: 4px; }
	.ag-rr__d { grid-column: 1 / -1; grid-row: 2; }
	.ag-pr { grid-template-columns: 1fr; row-gap: 2px; }
	.ag-step { grid-template-columns: 40px minmax(0, 1fr); }
	.ag-rows--c .ag-row { flex-direction: column; }
	.ag-rows--c .ag-row__t { text-align: left; }
}

/* news index, archive, single */
.ag-newsbody { margin-top: 96px; }
.ag-newsq--first { margin-bottom: 72px; }
.ag-newsfirst__list, .ag-newsq--first .wp-block-post-template { padding: 0; margin: 0; list-style: none; }
.ag-newsfirst { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; margin: 0 70px; }
.ag-newsfirst__img { margin: 0; }
.ag-newsfirst__img img { width: 100%; object-fit: cover; }
.ag-newsfirst__n { font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; margin: 10px 0 16px; }
.ag-newsfirst__n a { color: var(--ag-ink); }
.ag-newsq--grid { margin: 0 70px; }
.ag-newsq--grid .ag-notes__list.wp-block-post-template { gap: 64px 40px; padding: 0; }
.ag-newsq--grid .ag-time { margin-top: 0; }
.ag-newsq--grid .wp-block-query-pagination { margin-top: 56px; gap: 18px; }
@media (max-width: 1023px) { .ag-newsfirst { margin: 0; column-gap: 32px; } .ag-newsq--grid { margin: 0; } }
@media (max-width: 781px) { .ag-newsfirst { grid-template-columns: 1fr; row-gap: 20px; } .ag-newsfirst__n { font-size: 2rem; } }
.ag-search { max-width: 760px; margin: 0 auto 56px; }
.ag-singlebody { margin-top: 80px; }
.ag-singlebody .wp-block-post-content p { font-size: 1.0625rem; line-height: 1.9; margin-bottom: 1.3rem; }
.ag-single__tags { max-width: 680px; margin: 40px auto 0; font-size: .875rem; color: var(--ag-muted); }
.ag-single__tags a { color: var(--ag-muted); }
.ag-singlebody > .ag-pill { max-width: 680px; margin-left: auto; margin-right: auto; }
.ag-phead__sub.wp-block-post-date { font-style: italic; font-size: 1.125rem; }

/* wipe: none <-> inset() cannot be transitioned, so the reveal runs as an animation (ends back at clip-path none) */
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .sp-reveal--wipe.sp-in > * { animation: ag-wipe 1.1s cubic-bezier(.77, 0, .175, 1) var(--sp-delay, 0s) backwards; }
}
@keyframes ag-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

.ag-intro__photo img{object-position:50% 40%}

/* Languages: Chinese and Japanese headings use a bundled Noto Serif subset (CJK characters only; Latin and figures stay in Libre Baskerville / Lora); body text uses the system serif */
:root:lang(zh) {
	--wp--preset--font-family--display: "Libre Baskerville", "Noto Serif TC", "Noto Serif CJK TC", serif;
	--wp--preset--font-family--body: "Lora", "PMingLiU", "Songti TC", "Noto Serif CJK TC", serif;
	--wp--preset--font-size--xx-large: clamp(2.6rem, 5vw, 4.5rem);
	--wp--preset--font-size--x-large: clamp(1.75rem, 2.6vw, 2.6rem);
	--wp--preset--font-size--large: clamp(1.25rem, 1.6vw, 1.4rem);
}
:root:lang(ja) {
	--wp--preset--font-family--display: "Libre Baskerville", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--wp--preset--font-family--body: "Lora", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
	--wp--preset--font-size--xx-large: clamp(2.6rem, 5vw, 4.5rem);
	--wp--preset--font-size--x-large: clamp(1.75rem, 2.6vw, 2.6rem);
	--wp--preset--font-size--large: clamp(1.25rem, 1.6vw, 1.4rem);
}
:is(:lang(zh), :lang(ja)) body { line-height: 1.85; letter-spacing: 0.03em; line-break: strict; }
:is(:lang(zh), :lang(ja)) :is(h1, h2, h3, h4) { line-height: 1.4; letter-spacing: 0.04em; }
:is(:lang(zh), :lang(ja)) :is(em, i, cite, .ag-hero__sub, .ag-sub, .ag-phead__sub) { font-style: normal; }
:is(:lang(zh), :lang(ja)) :is(.ag-label, .ag-time, .ag-notes__d, .ag-foot__h, .ag-nav .wp-block-navigation-item__content) { letter-spacing: 0.08em; }
:is(:lang(zh), :lang(ja)) .ag-open__t { line-height: 1.3; letter-spacing: 0.04em; }
:is(:lang(zh), :lang(ja)) .ag-open__t--m { line-height: 1.4; }
:is(:lang(zh), :lang(ja)) .ag-hero__sub { font-size: 1.375rem; line-height: 1.6; }
:is(:lang(zh), :lang(ja)) :is(.ag-singlebody .wp-block-post-content p, .ag-open__text p:not(.ag-pill)) { line-height: 1.95; }
:lang(ja) :is(h1, h2, h3, .ag-hero__sub) { word-break: auto-phrase; }
@media (max-width: 1023px) { :is(:lang(zh), :lang(ja)) .ag-open__t { font-size: 3rem; } }
@media (max-width: 781px) { :is(:lang(zh), :lang(ja)) .ag-open__t { font-size: 2.25rem; } :is(:lang(zh), :lang(ja)) .ag-newsfirst__n { font-size: 1.6rem; } }
:is(:lang(fr), :lang(de)) :is(p, h1, h2, h3, h4, li, td) { hyphens: auto; overflow-wrap: break-word; }
:is(:lang(fr), :lang(de)) .ag-open__t { font-size: clamp(2.8rem, 5.4vw, 5rem); letter-spacing: -0.01em; line-height: 1; }
:is(:lang(fr), :lang(de)) .ag-open__t--m { font-size: clamp(2.1rem, 3.2vw, 3rem); }
@media (max-width: 1023px) { :is(:lang(fr), :lang(de)) .ag-open__t { font-size: 3.5rem; } }
@media (max-width: 781px) { :is(:lang(fr), :lang(de)) .ag-open__t { font-size: 2.6rem; } :is(:lang(fr), :lang(de)) .ag-newsfirst__n { font-size: 1.7rem; } }
