/* ============================================================================
 * Cancellation Policy · page-specific styles
 *
 * Loaded by haven_enqueue_cancellation_assets() ONLY on the Cancellation
 * Policy page. Every selector in this file is prefixed with
 * `body.haven-cancellation` so absolutely nothing in this stylesheet can ever
 * affect any other page. The `haven-cancellation` body class is added by
 * haven_cancellation_body_class() at priority 99 (functions.php), and the
 * page is auto-detected via template assignment, slug, or the
 * [hsc_cancellation_policy] shortcode in content.
 *
 * Architecture:
 *   1. DEFENSIVE BREAK-OUT — neutralises haven-theme's global .content-area
 *      (max-width: 1200px + padding: 48px 24px from index-styles.css) and any
 *      other wrapper that might constrain the page. !important is required to
 *      win against the global rule.
 *   2. PAGE TOKENS — Gilded Hours palette as local --cp-* variables so the
 *      file works even when the el-design-tokens stylesheet is not present.
 *   3. HERO — FAQ-pattern 44/56 split with property search input on the dark
 *      left panel.
 *   4. BODY — sticky sidebar + numbered chapter stack (V1 Editorial pattern).
 *   5. CHAPTER 02 SHORTCODE OVERRIDES — scoped restyle of the haven-streamline-
 *      connector cancellation-policy markup.
 *   6. CTA — image-overlay band (FAQ pattern).
 *   7. PRINT.
 *
 * @package Haven_Theme
 * @since   1.0.0
 * ========================================================================== */


/* ============================================================================
 * 1. DEFENSIVE BREAK-OUT · scoped to body.haven-cancellation
 *
 * The default page.php template wraps content in
 *   <div id="primary" class="content-area">
 * which carries `max-width: 1200px; padding: 48px 24px;` from
 * haven-theme/assets/css/index-styles.css line 16. Even when our custom
 * template is forced via template_include, this defensive layer protects
 * against any wrapper that might still apply.
 *
 * Scope is body.haven-cancellation only — no other page is touched.
 * ========================================================================== */

body.haven-cancellation #content,
body.haven-cancellation #content.site-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
body.haven-cancellation #primary,
body.haven-cancellation .content-area,
body.haven-cancellation .site-main,
body.haven-cancellation .entry-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
body.haven-cancellation h1.page-title,
body.haven-cancellation .wp-block-post-title,
body.haven-cancellation .page-title {
	display: none !important;
}
body.haven-cancellation .haven-cp-page {
	width: 100%;
	max-width: none;
}


/* ============================================================================
 * 2. PAGE TOKENS · Gilded Hours palette (scoped to .haven-cp-page)
 * ========================================================================== */

body.haven-cancellation .haven-cp-page {
	--cp-earth: #1E1A14;
	--cp-earth-06: rgba(30,26,20,.06);
	--cp-earth-08: rgba(30,26,20,.08);
	--cp-earth-12: rgba(30,26,20,.12);
	--cp-earth-22: rgba(30,26,20,.22);
	--cp-earth-45: rgba(30,26,20,.45);
	--cp-earth-55: rgba(30,26,20,.55);
	--cp-earth-65: rgba(30,26,20,.65);
	--cp-earth-72: rgba(30,26,20,.72);
	--cp-sand: #C4A078;
	--cp-sand-pale: rgba(196,160,120,.18);
	--cp-sand-22: rgba(196,160,120,.22);
	--cp-sand-40: rgba(196,160,120,.40);
	--cp-terra: #B05B4A;
	--cp-terra-08: rgba(176,91,74,.08);
	--cp-terra-22: rgba(176,91,74,.22);
	--cp-linen: #FAF8F4;
	--cp-cream: #FFFCF7;
	--cp-paper: #FFFFFF;
	--cp-sage: #6B8C7A;
	--cp-sage-22: rgba(107,140,122,.22);
	--cp-sage-08: rgba(107,140,122,.08);
	--cp-serif: 'Cormorant Garamond','Georgia',serif;
	--cp-sans: 'DM Sans',-apple-system,'Helvetica Neue','Segoe UI',sans-serif;
	--cp-ease: cubic-bezier(.4,0,.2,1);

	font-family: var(--cp-sans);
	color: var(--cp-earth);
	background: var(--cp-linen);
	scroll-margin-top: 96px;
}

body.haven-cancellation .haven-cp-page :focus-visible {
	outline: 2px solid var(--cp-terra);
	outline-offset: 3px;
	border-radius: 2px;
}
body.haven-cancellation .haven-cp-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

@media (prefers-reduced-motion: reduce) {
	body.haven-cancellation .haven-cp-page * {
		animation: none !important;
		transition: none !important;
	}
}


/* ============================================================================
 * 3. HERO · 44/56 split with property search
 * ========================================================================== */

body.haven-cancellation .haven-cp-hero {
	display: flex;
	min-height: 560px;
	height: 72vh;
	max-height: 820px;
	background: var(--cp-earth);
	color: var(--cp-linen);
}
body.haven-cancellation .haven-cp-hero__left {
	flex: 0 0 44%;
	background: var(--cp-earth);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 72px 80px 60px;
	overflow: hidden;
}
body.haven-cancellation .haven-cp-hero__left::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(ellipse at 0% 100%, rgba(196,160,120,.10) 0%, transparent 60%),
		radial-gradient(ellipse at 100% 0%, rgba(176,91,74,.06) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}
body.haven-cancellation .haven-cp-hero__left::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: linear-gradient(to bottom, transparent 0, var(--cp-sand-40) 25%, var(--cp-sand-40) 75%, transparent 100%);
	z-index: 0;
}
body.haven-cancellation .haven-cp-hero__left > * {
	position: relative;
	z-index: 1;
}
body.haven-cancellation .haven-cp-hero__eyebrow {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cp-sand);
	margin: 0 0 22px;
}
body.haven-cancellation .haven-cp-hero__title {
	font-family: var(--cp-serif);
	font-size: clamp(38px, 4.6vw, 70px);
	font-weight: 400;
	line-height: 1.06;
	color: var(--cp-linen);
	margin: 0 0 22px;
	letter-spacing: -.005em;
	overflow-wrap: break-word;
	hyphens: auto;
}
body.haven-cancellation .haven-cp-hero__title em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-hero__desc {
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.85;
	color: rgba(250,248,244,.62);
	max-width: 420px;
	margin: 0 0 28px;
}
body.haven-cancellation .haven-cp-hero__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}
body.haven-cancellation .haven-cp-hero__meta-line {
	flex: 1;
	height: 1px;
	background: rgba(196,160,120,.20);
}
body.haven-cancellation .haven-cp-hero__meta-text {
	font-family: var(--cp-serif);
	font-size: 12.5px;
	font-style: italic;
	font-weight: 300;
	color: rgba(196,160,120,.65);
	white-space: nowrap;
	letter-spacing: .04em;
}
body.haven-cancellation .haven-cp-hero__right {
	flex: 1;
	position: relative;
	overflow: hidden;
}
body.haven-cancellation .haven-cp-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}
body.haven-cancellation .haven-cp-hero__right::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 100%;
	background: linear-gradient(to right, var(--cp-earth) 0, transparent 100%);
	z-index: 1;
	pointer-events: none;
}
body.haven-cancellation .haven-cp-hero__caption {
	position: absolute;
	bottom: 24px;
	right: 24px;
	z-index: 2;
	font-family: var(--cp-serif);
	font-size: 12px;
	font-style: italic;
	color: rgba(250,248,244,.72);
	background: rgba(30,26,20,.40);
	padding: 6px 12px;
	border-radius: 2px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* Hero search bar — bridges into the plugin's #hsc-policy-search */
body.haven-cancellation .haven-cp-hero__search {
	position: relative;
	margin: 0 0 28px;
	z-index: 5;
}
body.haven-cancellation .haven-cp-hero__search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(250,248,244,.07);
	border: 1px solid rgba(196,160,120,.28);
	border-radius: 3px;
	padding: 0 14px;
	transition: border-color .22s var(--cp-ease), background .22s var(--cp-ease), box-shadow .22s var(--cp-ease);
}
body.haven-cancellation .haven-cp-hero__search-field:focus-within {
	background: rgba(250,248,244,.11);
	border-color: rgba(196,160,120,.62);
	box-shadow: 0 0 0 3px rgba(196,160,120,.13);
}
body.haven-cancellation .haven-cp-hero__search-icon {
	flex-shrink: 0;
	color: rgba(196,160,120,.50);
	transition: color .2s;
}
body.haven-cancellation .haven-cp-hero__search-field:focus-within .haven-cp-hero__search-icon {
	color: rgba(196,160,120,.85);
}
body.haven-cancellation .haven-cp-hero__search-input {
	flex: 1;
	background: none;
	border: none;
	outline: none !important;
	box-shadow: none !important;
	padding: 14px 4px;
	font-family: var(--cp-sans);
	font-size: 13px;
	font-weight: 300;
	color: var(--cp-linen);
	width: 100%;
	-webkit-appearance: none;
}
body.haven-cancellation .haven-cp-hero__search-input::-webkit-search-cancel-button { display: none; }
body.haven-cancellation .haven-cp-hero__search-input::placeholder {
	color: rgba(250,248,244,.30);
}
body.haven-cancellation .haven-cp-hero__search-input:focus {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}
body.haven-cancellation .haven-cp-hero__search-clear {
	flex-shrink: 0;
	background: none;
	border: none;
	color: rgba(250,248,244,.30);
	cursor: pointer;
	padding: 4px;
	font-size: 18px;
	line-height: 1;
	font-family: var(--cp-sans);
	transition: color .2s;
}
body.haven-cancellation .haven-cp-hero__search-clear:hover {
	color: rgba(250,248,244,.75);
}

/* Autocomplete dropdown — appears under the search input as the guest types.
   Inherits z-index 5 from .haven-cp-hero__search; bumped to 50 so it sits
   above the hero image and any decorative overlays. Extends slightly past
   the dark left panel into the image panel for more reading room on desktop. */
body.haven-cancellation .haven-cp-hero__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: -20%;
	background: #242018;
	border: 1px solid rgba(196,160,120,.22);
	border-radius: 4px;
	max-height: 360px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.30);
	z-index: 50;
	scrollbar-width: thin;
	scrollbar-color: rgba(196,160,120,.30) transparent;
}
body.haven-cancellation .haven-cp-hero__results::-webkit-scrollbar { width: 5px; }
body.haven-cancellation .haven-cp-hero__results::-webkit-scrollbar-thumb {
	background: rgba(196,160,120,.30);
	border-radius: 3px;
}
body.haven-cancellation .haven-cp-hero__result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 11px 16px;
	background: none;
	border: none;
	color: rgba(250,248,244,.72);
	font-family: var(--cp-sans);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background .14s, color .14s;
}
body.haven-cancellation .haven-cp-hero__result:hover,
body.haven-cancellation .haven-cp-hero__result.is-active,
body.haven-cancellation .haven-cp-hero__result:focus {
	background: rgba(196,160,120,.10);
	color: var(--cp-linen);
	outline: none;
}
body.haven-cancellation .haven-cp-hero__result-name {
	flex: 1;
	min-width: 0;
	font-family: var(--cp-serif);
	font-weight: 500;
	font-size: 15px;
	color: var(--cp-linen);
	letter-spacing: -.005em;
}
body.haven-cancellation .haven-cp-hero__result-name mark {
	background: transparent;
	color: var(--cp-sand);
	font-weight: 600;
}
body.haven-cancellation .haven-cp-hero__result-badge {
	flex-shrink: 0;
	font-family: var(--cp-sans);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(196,160,120,.85);
	background: rgba(196,160,120,.10);
	border: 1px solid rgba(196,160,120,.22);
	border-radius: 99px;
	padding: 4px 9px;
	white-space: nowrap;
}
body.haven-cancellation .haven-cp-hero__results-empty {
	padding: 18px 16px;
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 13.5px;
	color: rgba(250,248,244,.45);
	text-align: center;
	margin: 0;
}

@media (max-width: 980px) {
	body.haven-cancellation .haven-cp-hero__results {
		right: 0; /* No image panel to extend into on stacked mobile layout. */
	}
}

/* Pulse the property card the guest jumped to so they see exactly which one
   they landed on. Uses the same terra/sand wash as the hover state, then
   fades back to paper. */
@keyframes haven-cp-card-pulse {
	0%   { background-color: rgba(176,91,74,.13); border-color: var(--cp-terra); }
	60%  { background-color: rgba(176,91,74,.13); border-color: var(--cp-terra); }
	100% { background-color: var(--cp-paper);     border-color: var(--cp-sand-22); }
}
body.haven-cancellation .haven-cp-shortcode .haven-cp-card--pulse {
	animation: haven-cp-card-pulse 2.4s ease-out forwards;
}

@media (max-width: 980px) {
	body.haven-cancellation .haven-cp-hero {
		flex-direction: column;
		height: auto;
		max-height: none;
	}
	body.haven-cancellation .haven-cp-hero__left {
		flex: 1;
		padding: 64px 32px;
	}
	body.haven-cancellation .haven-cp-hero__right {
		height: 340px;
	}
	body.haven-cancellation .haven-cp-hero__right::before { display: none; }
}
@media (max-width: 520px) {
	body.haven-cancellation .haven-cp-hero__left {
		padding: 56px 24px;
	}
	body.haven-cancellation .haven-cp-hero__meta-text {
		white-space: normal;
	}
}


/* ============================================================================
 * 4. BODY · sticky sidebar + numbered chapter stack
 * ========================================================================== */

body.haven-cancellation .haven-cp-body {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 72px;
	padding: 96px 40px 120px;
	background: var(--cp-linen);
	color: var(--cp-earth);
}
@media (max-width: 1100px) {
	body.haven-cancellation .haven-cp-body {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 64px 24px 96px;
	}
}

/* SIDEBAR */
body.haven-cancellation .haven-cp-side {
	position: sticky;
	top: 96px;
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding-right: 8px;
}
body.haven-cancellation .haven-cp-side::-webkit-scrollbar { width: 4px; }
body.haven-cancellation .haven-cp-side::-webkit-scrollbar-thumb {
	background: var(--cp-sand-40);
	border-radius: 2px;
}
body.haven-cancellation .haven-cp-side__label {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin: 0 0 18px;
}
body.haven-cancellation .haven-cp-side__list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	border-left: 1px solid var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-side__item { margin: 0; }
body.haven-cancellation .haven-cp-side__link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 11px 0 11px 18px;
	text-decoration: none;
	color: var(--cp-earth-65);
	font-size: 13px;
	line-height: 1.45;
	border-left: 2px solid transparent;
	margin-left: -1px;
	transition: color .2s var(--cp-ease), border-color .2s var(--cp-ease), background .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-side__link:hover {
	color: var(--cp-earth);
	background: rgba(196,160,120,.06);
}
body.haven-cancellation .haven-cp-side__link.is-active {
	color: var(--cp-earth);
	border-left-color: var(--cp-terra);
	background: linear-gradient(to right, var(--cp-terra-08), transparent 70%);
}
body.haven-cancellation .haven-cp-side__num {
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--cp-sand);
	min-width: 22px;
	flex-shrink: 0;
	font-weight: 400;
}
body.haven-cancellation .haven-cp-side__text { flex: 1; }
body.haven-cancellation .haven-cp-side__rt {
	display: block;
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 11.5px;
	color: var(--cp-earth-45);
	margin-top: 2px;
}
body.haven-cancellation .haven-cp-side__cta {
	padding: 22px 22px 24px;
	background: var(--cp-cream);
	border: 1px solid var(--cp-sand-22);
	border-radius: 4px;
}
body.haven-cancellation .haven-cp-side__cta-eb {
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin: 0 0 10px;
}
body.haven-cancellation .haven-cp-side__cta-h {
	font-family: var(--cp-serif);
	font-size: 19px;
	font-weight: 500;
	color: var(--cp-earth);
	margin: 0 0 14px;
	line-height: 1.25;
}
body.haven-cancellation .haven-cp-side__cta-h em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-side__cta-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cp-earth);
	text-decoration: none;
	border-bottom: 1px solid var(--cp-sand);
	padding-bottom: 5px;
	transition: gap .2s var(--cp-ease), color .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-side__cta-link:hover {
	gap: 12px;
	color: var(--cp-terra);
}
@media (max-width: 1100px) {
	body.haven-cancellation .haven-cp-side {
		position: static;
		max-height: none;
		overflow: visible;
	}
}

/* MAIN */
body.haven-cancellation .haven-cp-main {
	min-width: 0;
	color: var(--cp-earth-72);
}

/* PROLOGUE */
body.haven-cancellation .haven-cp-prologue {
	padding: 0 0 64px;
	border-bottom: 1px solid var(--cp-earth-08);
	margin-bottom: 64px;
}
body.haven-cancellation .haven-cp-prologue__eb {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin: 0 0 18px;
}
body.haven-cancellation .haven-cp-prologue__h {
	font-family: var(--cp-serif);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.18;
	color: var(--cp-earth);
	margin: 0 0 22px;
	letter-spacing: -.005em;
}
body.haven-cancellation .haven-cp-prologue__h em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-prologue__lede {
	font-size: 17.5px;
	font-weight: 300;
	line-height: 1.75;
	color: var(--cp-earth-72);
	margin: 0 0 28px;
}
body.haven-cancellation .haven-cp-prologue__strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 24px 0;
	border-top: 1px solid var(--cp-earth-08);
	border-bottom: 1px solid var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-prologue__cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
body.haven-cancellation .haven-cp-prologue__cell-l {
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cp-earth-45);
}
body.haven-cancellation .haven-cp-prologue__cell-v {
	font-family: var(--cp-serif);
	font-size: 18px;
	color: var(--cp-earth);
	font-weight: 500;
}
body.haven-cancellation .haven-cp-prologue__cell-v em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
@media (max-width: 680px) {
	body.haven-cancellation .haven-cp-prologue__strip {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* CHAPTERS */
body.haven-cancellation .haven-cp-ch {
	padding: 64px 0;
	border-bottom: 1px solid var(--cp-earth-08);
	scroll-margin-top: 96px;
}
body.haven-cancellation .haven-cp-ch:last-of-type { border-bottom: 0; }
body.haven-cancellation .haven-cp-ch__head {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 36px;
}
body.haven-cancellation .haven-cp-ch__num {
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 42px;
	font-weight: 300;
	color: var(--cp-sand);
	line-height: 1;
	flex-shrink: 0;
	letter-spacing: .02em;
}
body.haven-cancellation .haven-cp-ch__heading { flex: 1; }
body.haven-cancellation .haven-cp-ch__eb {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin: 0 0 8px;
}
body.haven-cancellation .haven-cp-ch__h {
	font-family: var(--cp-serif);
	font-size: clamp(26px, 2.5vw, 34px);
	font-weight: 500;
	line-height: 1.18;
	color: var(--cp-earth);
	margin: 0;
	letter-spacing: -.005em;
	overflow-wrap: break-word;
}
body.haven-cancellation .haven-cp-ch__h em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-ch__rule {
	width: 48px;
	height: 1px;
	background: var(--cp-sand);
	margin: 0 0 28px 66px;
}
body.haven-cancellation .haven-cp-ch__body {
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--cp-earth-72);
	max-width: 680px;
	padding-left: 66px;
}
body.haven-cancellation .haven-cp-ch__body p { margin: 0 0 18px; }
body.haven-cancellation .haven-cp-ch__body p strong {
	color: var(--cp-earth);
	font-weight: 500;
}
body.haven-cancellation .haven-cp-ch__body h3 {
	font-family: var(--cp-serif);
	font-size: 21px;
	font-weight: 500;
	color: var(--cp-earth);
	margin: 32px 0 12px;
	line-height: 1.25;
}
body.haven-cancellation .haven-cp-ch__body h3 em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-ch__body ul {
	padding: 0 0 0 22px;
	margin: 0 0 22px;
}
body.haven-cancellation .haven-cp-ch__body li {
	margin: 0 0 10px;
	padding-left: 6px;
}
body.haven-cancellation .haven-cp-ch__body li::marker {
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-ch__body a {
	color: var(--cp-earth);
	border-bottom: 1px solid var(--cp-sand);
	text-decoration: none;
	transition: color .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-ch__body a:hover {
	color: var(--cp-terra);
}
body.haven-cancellation .haven-cp-ch--shortcode .haven-cp-ch__body {
	max-width: none;
	padding-left: 66px;
}
@media (max-width: 680px) {
	body.haven-cancellation .haven-cp-ch__head { gap: 14px; }
	body.haven-cancellation .haven-cp-ch__num { font-size: 32px; }
	body.haven-cancellation .haven-cp-ch__rule { margin-left: 46px; }
	body.haven-cancellation .haven-cp-ch__body { padding-left: 0; }
	body.haven-cancellation .haven-cp-ch--shortcode .haven-cp-ch__body { padding-left: 0; }
}

/* PULL-QUOTE inside chapters */
body.haven-cancellation .haven-cp-pull {
	margin: 32px 0;
	padding: 28px 32px;
	border-left: 2px solid var(--cp-sand);
	background: linear-gradient(to right, var(--cp-terra-08), transparent 80%);
}
body.haven-cancellation .haven-cp-pull__q {
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--cp-earth);
	margin: 0;
	letter-spacing: .005em;
}

/* CALLOUT inside chapters */
body.haven-cancellation .haven-cp-callout {
	margin: 24px 0;
	padding: 22px 26px;
	background: var(--cp-cream);
	border: 1px solid var(--cp-sand-22);
	border-radius: 4px;
}
body.haven-cancellation .haven-cp-callout__l {
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin: 0 0 8px;
}
body.haven-cancellation .haven-cp-callout p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--cp-earth-72);
}
body.haven-cancellation .haven-cp-callout p + p { margin-top: 10px; }
body.haven-cancellation .haven-cp-callout--sage {
	background: var(--cp-sage-08);
	border-color: var(--cp-sage-22);
}
body.haven-cancellation .haven-cp-callout--sage .haven-cp-callout__l {
	color: var(--cp-sage);
}


/* ============================================================================
 * 5. SHORTCODE OVERRIDES · scoped restyle of the hsc-policy-* markup that
 *    haven-streamline-connector renders inside .haven-cp-shortcode.
 * ========================================================================== */

body.haven-cancellation .haven-cp-shortcode { margin: 24px 0 0; }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-page {
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--cp-sans);
	color: var(--cp-earth);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__hero {
	display: none !important;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-search-wrap {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Per-policy summary cards */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 0 0 32px;
	padding: 0;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card {
	position: relative;
	background: var(--cp-paper);
	border: 1px solid var(--cp-sand-22);
	border-radius: 6px;
	padding: 20px 22px;
	text-align: left;
	cursor: pointer;
	color: var(--cp-earth);
	font-family: var(--cp-sans);
	overflow: hidden;
	transition: border-color .2s var(--cp-ease), box-shadow .2s var(--cp-ease), transform .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(to right, var(--cp-terra), var(--cp-sand));
	opacity: .85;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card:hover {
	border-color: var(--cp-sand-40);
	box-shadow: 0 14px 36px rgba(30,26,20,.06);
	transform: translateY(-2px);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card[aria-pressed="true"] {
	background: var(--cp-earth);
	color: var(--cp-linen);
	border-color: var(--cp-earth);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card[aria-pressed="true"]::before { opacity: 1; }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card__badge {
	display: inline-block;
	font-family: var(--cp-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 24px;
	line-height: 1;
	color: var(--cp-earth);
	margin: 6px 0 8px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card[aria-pressed="true"] .hsc-policy-summary-card__badge { color: var(--cp-sand); }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card__count {
	display: block;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cp-terra);
	margin-bottom: 12px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card[aria-pressed="true"] .hsc-policy-summary-card__count { color: var(--cp-sand); }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card__tiers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--cp-earth-65);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card[aria-pressed="true"] .hsc-policy-summary-card__tiers { color: rgba(250,248,244,.75); }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card__tiers li {
	position: relative;
	padding-left: 14px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-summary-card__tiers li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 1px;
	background: var(--cp-sand);
}

/* Toolbar (filter tabs + count) */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 28px;
	padding: 18px 0;
	border-top: 1px solid var(--cp-earth-08);
	border-bottom: 1px solid var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1 1 auto;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--cp-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .06em;
	color: var(--cp-earth-65);
	background: var(--cp-paper);
	border: 1.5px solid rgba(30,26,20,.15);
	padding: 8px 16px;
	border-radius: 99px;
	cursor: pointer;
	transition: all .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tab:hover {
	border-color: var(--cp-terra);
	color: var(--cp-terra);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tab.is-active {
	background: var(--cp-earth);
	border-color: var(--cp-earth);
	color: var(--cp-linen);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tab__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	padding: 0 6px;
	height: 18px;
	background: rgba(196,160,120,.20);
	color: var(--cp-terra);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .04em;
	border-radius: 99px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tab.is-active .hsc-policy-tab__count {
	background: rgba(250,248,244,.18);
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__count {
	margin: 0 0 0 auto;
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--cp-earth-55);
	text-align: right;
	flex-shrink: 0;
}

/* Property cards */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card {
	position: relative;
	background: var(--cp-paper);
	border: 1px solid var(--cp-sand-22);
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color .25s var(--cp-ease), transform .25s var(--cp-ease), box-shadow .25s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(to right, var(--cp-terra), var(--cp-sand));
	opacity: .85;
	z-index: 1;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card:hover {
	border-color: var(--cp-sand-40);
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(30,26,20,.06);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card--hidden {
	display: none !important;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 24px 26px 16px;
	border-bottom: 1px solid var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__property {
	font-family: var(--cp-serif);
	font-size: 22px;
	font-weight: 500;
	color: var(--cp-earth);
	margin: 0;
	line-height: 1.22;
	flex: 1;
	letter-spacing: -.005em;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--cp-sans);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cp-terra);
	background: var(--cp-terra-08);
	border: 1px solid var(--cp-terra-22);
	padding: 5px 10px;
	border-radius: 99px;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Refund tiers */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__tiers {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 8px 26px 18px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px dashed var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier:last-child { border-bottom: 0; }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier__dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-top: 6px;
	border: 1.5px solid var(--cp-sand);
	background: transparent;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier--full .hsc-policy-tier__dot {
	background: var(--cp-sage);
	border-color: var(--cp-sage);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier--partial .hsc-policy-tier__dot {
	background: var(--cp-sand);
	border-color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier--none .hsc-policy-tier__dot {
	background: transparent;
	border-color: var(--cp-terra);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier__content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier__label {
	font-family: var(--cp-sans);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--cp-earth);
	letter-spacing: .01em;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier--full .hsc-policy-tier__label {
	color: var(--cp-sage);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier--none .hsc-policy-tier__label {
	color: var(--cp-terra);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-tier__window {
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 13px;
	color: var(--cp-earth-55);
	line-height: 1.5;
}

/* Collapsible details */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details {
	margin: 0 26px 22px;
	padding: 0;
	border-top: 1px solid var(--cp-earth-08);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	font-family: var(--cp-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cp-terra);
	background: none;
	border: none;
	cursor: pointer;
	list-style: none;
	transition: color .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details-trigger::-webkit-details-marker { display: none; }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details-trigger:hover { color: var(--cp-earth); }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__chevron {
	transition: transform .25s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details[open] .hsc-policy-card__chevron {
	transform: rotate(180deg);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__notes {
	padding: 6px 0 18px;
	font-family: var(--cp-sans);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.75;
	color: var(--cp-earth-72);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__notes p { margin: 0 0 10px; }
body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__notes p:last-child { margin-bottom: 0; }

/* Empty state */
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty {
	padding: 48px 32px;
	text-align: center;
	background: var(--cp-cream);
	border: 1px dashed var(--cp-sand-22);
	border-radius: 6px;
	color: var(--cp-earth-55);
	font-family: var(--cp-sans);
	margin: 24px 0 0;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty__icon {
	color: var(--cp-sand-40);
	margin: 0 auto 14px;
	width: 40px;
	height: 40px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty p {
	font-family: var(--cp-serif);
	font-style: italic;
	font-size: 15px;
	color: var(--cp-earth-55);
	margin: 0 0 14px;
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty__admin-hint {
	font-family: var(--cp-sans);
	font-style: normal;
	font-size: 12.5px;
	color: var(--cp-earth-45);
}
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty__admin-hint a,
body.haven-cancellation .haven-cp-shortcode .hsc-policy-empty p a {
	color: var(--cp-terra);
	border-bottom: 1px solid var(--cp-sand);
	text-decoration: none;
}
body.haven-cancellation .haven-cp-shortcode .hsc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	font-family: var(--cp-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cp-earth);
	background: var(--cp-paper);
	border: 1.5px solid var(--cp-sand);
	border-radius: 2px;
	cursor: pointer;
	transition: all .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-shortcode .hsc-btn:hover {
	background: var(--cp-terra);
	border-color: var(--cp-terra);
	color: var(--cp-linen);
}

@media (max-width: 780px) {
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__toolbar { padding: 14px 0; }
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__count {
		margin-left: 0;
		text-align: left;
		width: 100%;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-results {
		grid-template-columns: 1fr;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__head {
		padding: 20px 22px 14px;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__tiers {
		padding: 6px 22px 16px;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details {
		margin: 0 22px 18px;
	}
}


/* ============================================================================
 * 6. CTA · image background with overlay (FAQ pattern)
 * ========================================================================== */

body.haven-cancellation .haven-cp-cta {
	position: relative;
	background-size: cover;
	background-position: center 40%;
	padding: 120px 40px;
	text-align: center;
	overflow: hidden;
	font-family: var(--cp-sans);
	color: var(--cp-linen);
}
body.haven-cancellation .haven-cp-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(30,26,20,.55) 0%, rgba(30,26,20,.72) 100%);
	z-index: 0;
}
body.haven-cancellation .haven-cp-cta > * {
	position: relative;
	z-index: 1;
}
body.haven-cancellation .haven-cp-cta__mark {
	margin: 0 auto 28px;
	opacity: .85;
}
body.haven-cancellation .haven-cp-cta__eb {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cp-sand);
	margin: 0 0 18px;
}
body.haven-cancellation .haven-cp-cta__h {
	font-family: var(--cp-serif);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.12;
	color: var(--cp-linen);
	margin: 0 auto 18px;
	max-width: 740px;
	letter-spacing: -.005em;
}
body.haven-cancellation .haven-cp-cta__h em {
	font-style: italic;
	font-weight: 300;
	color: var(--cp-sand);
}
body.haven-cancellation .haven-cp-cta__b {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.75;
	color: rgba(250,248,244,.72);
	max-width: 580px;
	margin: 0 auto 36px;
}
body.haven-cancellation .haven-cp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}
body.haven-cancellation .haven-cp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	transition: transform .2s var(--cp-ease), background .2s var(--cp-ease), color .2s var(--cp-ease), border-color .2s var(--cp-ease);
}
body.haven-cancellation .haven-cp-btn--p {
	background: var(--cp-sand);
	color: var(--cp-earth);
	border: 1px solid var(--cp-sand);
}
body.haven-cancellation .haven-cp-btn--p:hover {
	background: var(--cp-terra);
	border-color: var(--cp-terra);
	color: var(--cp-linen);
	transform: translateY(-1px);
}
body.haven-cancellation .haven-cp-btn--g {
	background: transparent;
	color: var(--cp-linen);
	border: 1px solid rgba(250,248,244,.40);
}
body.haven-cancellation .haven-cp-btn--g:hover {
	border-color: var(--cp-sand);
	color: var(--cp-sand);
	transform: translateY(-1px);
}
@media (max-width: 520px) {
	body.haven-cancellation .haven-cp-cta { padding: 80px 24px; }
}


/* ============================================================================
 * 7. PRINT
 * ========================================================================== */

@media print {
	body.haven-cancellation .haven-cp-hero__right,
	body.haven-cancellation .haven-cp-hero__search,
	body.haven-cancellation .haven-cp-side,
	body.haven-cancellation .haven-cp-cta,
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-page__toolbar,
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__details-trigger {
		display: none !important;
	}
	body.haven-cancellation .haven-cp-body {
		display: block;
		padding: 0;
		max-width: none;
	}
	body.haven-cancellation .haven-cp-ch {
		padding: 24px 0;
		break-inside: avoid;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card {
		break-inside: avoid;
		border: 1px solid #ccc !important;
		box-shadow: none !important;
		transform: none !important;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card--hidden {
		display: flex !important;
	}
	body.haven-cancellation .haven-cp-shortcode .hsc-policy-card__notes {
		display: block !important;
	}
}
