/**
 * Gutenberg / ブロックエディタ用フロントスタイル
 *
 * @package ArdLeigh
 */

/* --------------------------------------------------------------------------
   固定ページ（ブロック編集）の本文幅
   -------------------------------------------------------------------------- */
.page-gutenberg .entry-content {
	padding-bottom: 4rem;
}

.page-gutenberg .entry-content > * {
	max-width: var(--wp--style--global--content-size, 800px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.page-gutenberg .entry-content > .alignwide {
	max-width: var(--wp--style--global--wide-size, 1200px);
}

.page-gutenberg .entry-content > .alignfull {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.page-gutenberg .entry-content > .alignleft {
	margin-right: 1.5rem;
	padding-left: 2rem;
}

.page-gutenberg .entry-content > .alignright {
	margin-left: 1.5rem;
	padding-right: 2rem;
}

.page-block-editor .entry-content {
	padding-top: 1rem;
}

.page-gutenberg .entry-content p,
.page-gutenberg .entry-content li {
	color: #555;
}

.page-gutenberg .entry-content ul,
.page-gutenberg .entry-content ol {
	padding-left: 1.5em;
	margin-bottom: 1.5rem;
}

.page-gutenberg .entry-content figure {
	margin-bottom: 1.5rem;
}

.page-gutenberg .entry-content .wp-block-image img {
	height: auto;
}

.page-gutenberg .entry-content .wp-block-quote {
	border-left: 4px solid var(--gold);
	padding: 0.5rem 0 0.5rem 1.5rem;
	font-family: 'Noto Serif JP', serif;
	color: var(--primary-brown);
}

/* --------------------------------------------------------------------------
   コアブロックスタイル（テーマプリセット）
   -------------------------------------------------------------------------- */
.wp-block-heading.is-style-page-title,
.wp-block-heading.is-style-section-title {
	font-family: 'Playfair Display', serif;
	color: var(--primary-brown);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

.wp-block-heading.is-style-page-title {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.wp-block-heading.is-style-section-title {
	font-size: 3rem;
	position: relative;
	display: block;
	margin-bottom: 1rem;
}

.wp-block-heading.is-style-section-title::after {
	content: '';
	display: block;
	margin: 15px auto 0;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.wp-block-paragraph.is-style-section-label {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	color: var(--gold);
	margin-bottom: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
}

.wp-block-paragraph.is-style-section-subtitle {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.3rem;
	color: #888;
	font-weight: 300;
	font-style: italic;
	margin-top: 2rem;
	text-align: center;
}

.wp-block-button.is-style-ardleigh-cta .wp-block-button__link,
.wp-block-button.is-style-ardleigh-cta .wp-block-button__link:hover,
.wp-block-button.is-style-ardleigh-cta .wp-block-button__link:focus {
	display: inline-block;
	padding: 1.2rem 3.5rem;
	background: linear-gradient(135deg, var(--cream) 0%, #E8DCC8 100%);
	border: 2px solid var(--gold);
	color: var(--primary-brown);
	text-decoration: none;
	font-size: 1rem;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: 600;
	letter-spacing: 0.15em;
	border-radius: 0;
	box-shadow: none;
}

.wp-block-button.is-style-ardleigh-cta .wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
	background: linear-gradient(135deg, #E8DCC8 0%, var(--cream) 100%);
}

.wp-block-button.is-style-ardleigh-cta-secondary .wp-block-button__link {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: transparent;
	border: 2px solid var(--primary-brown);
	color: var(--primary-brown);
	border-radius: 0;
	font-weight: 500;
	letter-spacing: 0.1em;
	box-shadow: none;
}

.wp-block-button.is-style-ardleigh-cta-secondary .wp-block-button__link:hover {
	background: var(--primary-brown);
	color: #fff;
}

.wp-block-group.is-style-highlight-box {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
	padding: 2rem;
	border-radius: 12px;
	border: 2px solid rgba(212, 175, 55, 0.3);
}

.wp-block-group.is-style-highlight-box h3,
.wp-block-group.is-style-highlight-box .wp-block-heading {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.8rem;
	color: var(--gold);
	margin-bottom: 0.75rem;
	font-weight: 600;
	text-align: center;
}

.wp-block-group.is-style-transport-item {
	background: #fff;
	border-radius: 8px;
	padding: 2.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wp-block-group.is-style-transport-item h3,
.wp-block-group.is-style-transport-item .wp-block-heading {
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	color: var(--primary-brown);
	font-weight: 600;
	position: relative;
	padding-left: 1.5rem;
}

.wp-block-group.is-style-transport-item h3::before,
.wp-block-group.is-style-transport-item .wp-block-heading::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 70%;
	background: var(--gold);
}

.wp-block-media-text.is-style-ardleigh-split {
	gap: 3rem;
	align-items: center;
}

.wp-block-media-text.is-style-ardleigh-split .wp-block-media-text__media img {
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	width: 100%;
	height: auto;
	object-fit: cover;
}

.wp-block-media-text.is-style-ardleigh-split h2,
.wp-block-media-text.is-style-ardleigh-split .wp-block-heading {
	font-family: 'Playfair Display', serif;
	font-size: 2.5rem;
	color: var(--primary-brown);
	margin-bottom: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   パターン用レイアウト
   -------------------------------------------------------------------------- */
.ardleigh-section-header {
	text-align: center;
	margin-bottom: 3rem;
	opacity: 1;
	transform: none;
}

.ardleigh-page-header.page-header {
	max-width: 1400px;
}

.wp-block-cover.ardleigh-hero {
	min-height: 80vh;
	padding-top: 90px;
	color: #fff;
}

.wp-block-cover.ardleigh-hero .wp-block-cover__inner-container {
	max-width: 1200px;
	text-align: center;
}

.wp-block-cover.ardleigh-hero .ardleigh-hero-label {
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	color: var(--gold);
	margin-bottom: 1.5rem;
	padding: 0.5rem 1.5rem;
	border: 1px solid rgba(212, 175, 55, 0.4);
	background: rgba(212, 175, 55, 0.1);
}

.wp-block-cover.ardleigh-hero h1,
.wp-block-cover.ardleigh-hero .wp-block-heading {
	font-family: 'Noto Serif JP', serif;
	font-weight: 500;
	letter-spacing: 0.12em;
	color: #fff;
}

.wp-block-cover.ardleigh-hero .ardleigh-hero-subtitle {
	font-family: 'Great Vibes', cursive;
	font-size: 3.5rem;
	color: var(--gold);
	line-height: 1.2;
}

.ardleigh-concept-grid.wp-block-columns {
	gap: 3rem;
}

.ardleigh-concept-grid .wp-block-column {
	background: #fff;
	border: 1px solid rgba(212, 175, 55, 0.1);
	overflow: hidden;
	text-align: center;
	opacity: 1;
	transform: none;
}

.ardleigh-concept-grid .wp-block-column .wp-block-image {
	margin: 0;
}

.ardleigh-concept-grid .wp-block-column .wp-block-image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.ardleigh-concept-grid .wp-block-column h3,
.ardleigh-concept-grid .wp-block-column .wp-block-heading {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.5rem;
	color: var(--primary-brown);
	padding: 0 2rem;
	margin-top: 2rem;
}

.ardleigh-concept-grid .wp-block-column p {
	padding: 0 2rem 2.5rem;
	color: #666;
	line-height: 2;
}

.ardleigh-cta-section {
	text-align: center;
	padding: 4rem 2rem;
	background: var(--light-gray);
}

.ardleigh-jalan-cta {
	text-align: center;
	margin: 2rem 0;
}

.ardleigh-block-preview .section-header,
.ardleigh-block-preview .concept-card,
.ardleigh-block-preview .room-card,
.ardleigh-block-preview .news-card {
	opacity: 1;
	transform: none;
}

@media (max-width: 768px) {
	.wp-block-heading.is-style-page-title,
	.wp-block-heading.is-style-section-title {
		font-size: 2rem;
	}

	.wp-block-cover.ardleigh-hero .ardleigh-hero-subtitle {
		font-size: 2.25rem;
	}

	.wp-block-media-text.is-style-ardleigh-split h2,
	.wp-block-media-text.is-style-ardleigh-split .wp-block-heading {
		font-size: 1.75rem;
	}

	.ardleigh-concept-grid .wp-block-column .wp-block-image img {
		height: 200px;
	}
}
