/**
 * Book — page-specific styles.
 *
 * Loaded only on the Book template (page-templates/template-book.php)
 * via ba_enqueue_book_assets().
 *
 * Hero panel (.ba-section--c-hero) and inner grid (.ba-c-hero) come from the
 * unified hero primitive in global.css §5. No redeclaration here.
 */

/* ---------------------------------------------------------------------------
 * Section rhythm — .ba-section--book-gap aliases to .ba-section--tight
 * (handled in global.css §5 — 56 desktop / 40 mobile).
 * -------------------------------------------------------------------------*/

/* ---------------------------------------------------------------------------
 * 2. ONLINE BOOKING panel
 * -------------------------------------------------------------------------*/
.ba-book {
	background: rgba(252, 248, 243, 0.94);
	border: 1px solid rgba(56, 39, 30, 0.07);
	border-radius: var(--ba-radius-card);
	padding: 42px 18px 18px;
}

/* Head: title + sub on the left, badge pill on the right */
.ba-book__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 0 24px;
}
.ba-book__head-text { min-width: 0; }
.ba-book__title {
	font-family: var(--ba-font-heading);
	font-weight: 400;
	font-size: 34px;
	line-height: 1.15;
	color: #38271E;
	margin: 0;
}
.ba-book__sub {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #453124;
	margin: 8px 0 0;
	max-width: 640px;
}

.ba-book__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(237, 225, 213, 0.56);
	border-radius: 999px;
	padding: 10px 12px;
}
.ba-book__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: #38271E;
}
.ba-book__badge-label {
	font-family: var(--ba-font-body);
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	color: #6F6258;
	white-space: nowrap;
}

/* Iframe container */
.ba-book__iframe-wrap {
	margin-top: 24px;
	background: #E6E1D1;
	border-radius: var(--ba-radius-card-sm);
	overflow: hidden;
}
.ba-book__iframe-wrap iframe {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
}

/* Below iframe: link left, note right */
.ba-book__below {
	margin-top: 32px;
	padding: 0 24px 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.ba-book__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ba-font-body);
	font-weight: 500;
	font-size: 14px;
	color: #38271E;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(56, 39, 30, 0.22);
}
.ba-book__link:hover { border-bottom-color: rgba(56, 39, 30, 0.48); }
.ba-book__note {
	margin: 0;
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 13px;
	line-height: 1.5;
	color: #6F6258;
	text-align: right;
	max-width: 560px;
}

/* ---------------------------------------------------------------------------
 * 3. BOTTOM CTA BANNER — reuses global .ba-banner primitive
 * -------------------------------------------------------------------------*/
.ba-book-banner .ba-banner__title { max-width: 18ch; }
.ba-book-banner .ba-banner__text  { max-width: 56ch; }

/* ---------------------------------------------------------------------------
 * RESPONSIVE
 * -------------------------------------------------------------------------*/
@media ( max-width: 1100px ) {
	.ba-book { padding: 32px 14px 14px; }
	.ba-book__head { padding: 0 16px; flex-wrap: wrap; }
	.ba-book__below { padding: 0 16px 6px; flex-direction: column; align-items: flex-start; gap: 12px; }
	.ba-book__note { text-align: left; }
}

@media ( max-width: 720px ) {
	.ba-book { padding: 24px 10px 10px; }
	.ba-book__head { padding: 0 12px; gap: 16px; }
	.ba-book__title { font-size: 28px; }
	.ba-book__iframe-wrap { margin-top: 20px; }
	.ba-book__below { padding: 0 12px 4px; }
}
