/*
 * Homepage FAQ, responsive menu and shared target corrections.
 * Unique path avoids the production cache's query-string stripping.
 */

/* The rounded homepage FAQ cards need their own internal content inset. */
.pps-main--home-v2 .pps-band-faq-accordion__list {
	display: grid;
	gap: 10px;
}

.pps-main--home-v2 .pps-band-faq-accordion__item {
	overflow: clip;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.pps-main--home-v2 .pps-band-faq-accordion__summary {
	min-height: 72px;
	padding: 20px 22px;
	border-radius: 15px;
	scroll-margin-block: 92px 96px;
}

.pps-main--home-v2 .pps-band-faq-accordion__summary:focus-visible {
	outline: 0;
	box-shadow: inset 0 0 0 2px var(--gold-deep);
}

.pps-main--home-v2 .pps-band-faq-accordion__item[open] .pps-band-faq-accordion__summary {
	padding-bottom: 14px;
	border-radius: 15px 15px 0 0;
}

.pps-main--home-v2 .pps-band-faq-accordion__answer-wrap {
	padding: 0 22px 22px;
}

/* Keep the sticky rite rail fully below the accepted 89px desktop shell. */
.pps-v2-rite-jump {
	top: 89px;
}

.pps-v2-rite-jump a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1023px) {
	.pps-v2-rite-jump {
		top: 78px;
	}

	.pps-shell-footer__social-chip {
		min-height: 44px;
	}

	html.pps-shell-menu-open,
	body.pps-shell-menu-open {
		overflow: hidden !important;
		overscroll-behavior: none;
	}

	body.pps-shell-menu-open {
		touch-action: none;
	}

	.pps-shell-menu-scrim {
		position: fixed;
		z-index: 9989;
		top: 71px;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(26, 22, 19, .42);
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
	}

	.pps-shell-menu-scrim[hidden] {
		display: none;
	}

	.pps-shell-nav.is-menu-open {
		z-index: 9991;
	}

	.pps-shell-nav.is-menu-open nav[data-nav-links] {
		position: absolute;
		/* Header is the containing block; 58px plus its 13px top inset = 71px. */
		top: 58px;
		right: 0;
		bottom: auto;
		left: auto;
		width: min(100%, 430px);
		height: calc(100vh - 71px);
		height: calc(100dvh - 71px);
		max-height: calc(100vh - 71px);
		max-height: calc(100dvh - 71px);
		display: grid !important;
		align-content: start;
		gap: 0;
		padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 0;
		border-left: 1px solid var(--line-2);
		background: var(--ivory);
		box-shadow: -18px 0 42px rgba(26, 22, 19, .16);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.pps-shell-nav.is-menu-open .pps-shell-nav__link {
		min-height: 52px;
		padding: 12px 14px;
		border-bottom: 1px solid var(--line-2);
		border-radius: 0;
		font-size: 16px;
	}

	.pps-shell-nav.is-menu-open .pps-shell-nav__link:first-child {
		border-top: 1px solid var(--line-2);
	}

	body.pps-shell-menu-open .pps-lr-mobile-dock {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transform: translateY(100%);
	}
}

@media (max-width: 680px) {
	.pps-v2-rite-jump {
		top: 71px;
	}

	.pps-main--home-v2 .pps-band-faq-accordion__summary {
		min-height: 68px;
		padding: 18px;
	}

	.pps-main--home-v2 .pps-band-faq-accordion__item[open] .pps-band-faq-accordion__summary {
		padding-bottom: 12px;
	}

	.pps-main--home-v2 .pps-band-faq-accordion__answer-wrap {
		padding: 0 18px 20px;
	}

	.pps-shell-nav.is-menu-open nav[data-nav-links] {
		width: 100%;
		border-left: 0;
		box-shadow: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pps-lr-mobile-dock {
		transition: none !important;
	}
}
