/* BBBF x Pan Macmillan — Stage One Application Form */

.bbbfxpm {
	--bbbf-orange: #f15a29;
	--bbbf-orange-deep: #d9481a;
	--bbbf-purple: #9b7ebd;
	--bbbf-purple-soft: #ede4f7;
	--bbbf-purple-mid: #c9b3e0;
	--bbbf-cream: #fffdf9;
	--bbbf-ink: #141414;
	--bbbf-muted: #5c5c5c;
	--bbbf-line: #e6e1ea;
	--bbbf-surface: #ffffff;
	--bbbf-font: "Outfit", system-ui, sans-serif;
	--bbbf-serif: "Playfair Display", "Source Serif 4", Georgia, serif;
	--bbbf-script: "Caveat", "Segoe Script", cursive;
	--bbbf-radius: 10px;
	--bbbf-max: 1180px;

	font-family: var(--bbbf-font);
	color: var(--bbbf-ink);
	background: var(--bbbf-cream);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.bbbfxpm *,
.bbbfxpm *::before,
.bbbfxpm *::after {
	box-sizing: border-box;
}

.bbbfxpm a { color: inherit; text-decoration: none; }
.bbbfxpm img { max-width: 100%; display: block; }
.bbbfxpm .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.bbbfxpm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
	border-radius: 12px;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

.bbbfxpm-btn:hover { transform: translateY(-1px); }

/* ——— Hero ——— */
.bbbfxpm-hero {
	--bbbf-hero-cream: #f9f7f2;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--bbbf-hero-cream);
	margin: 0;
	padding: 0;
}

.bbbfxpm-hero__media {
	margin: 0;
	line-height: 0;
}

.bbbfxpm-hero__banner {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

/* Text sits on the cream left of the banner image */
.bbbfxpm-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: min(1280px, 100%);
	margin: 0 auto;
	padding: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
	pointer-events: none;
}

.bbbfxpm-hero__content {
	pointer-events: auto;
	width: min(100%, 52%);
	max-width: 40rem;
	padding-right: 1.25rem;
}

.bbbfxpm-eyebrow {
	margin: 0 0 0.9rem;
	color: var(--bbbf-orange);
	font-size: clamp(0.78rem, 1.1vw, 0.9rem);
	font-weight: 800;
	letter-spacing: 0.16em;
}

.bbbfxpm-hero__title {
	margin: 0 0 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.bbbfxpm-hero__title-line {
	display: inline-block;
	width: fit-content;
	max-width: 100%;
	font-family: var(--bbbf-serif);
	font-size: clamp(2.75rem, 6.5vw, 5.25rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	color: var(--bbbf-ink);
}

.bbbfxpm-hero__underline {
	display: block;
	width: 95%;
	height: 18px;
	margin-top: 0.2rem;
	color: var(--bbbf-orange);
}

.bbbfxpm-hero__subtitle {
	display: block;
	font-family: var(--bbbf-font);
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--bbbf-ink);
}

.bbbfxpm-hero__lead {
	margin: 0 0 1.75rem;
	max-width: 32rem;
	color: #333;
	font-size: clamp(1.02rem, 1.35vw, 1.2rem);
	line-height: 1.55;
}

.bbbfxpm-perks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
}

.bbbfxpm-perks li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.bbbfxpm-perks__icon {
	width: 46px;
	height: 46px;
	border: 2px solid var(--bbbf-orange);
	border-radius: 50%;
	color: var(--bbbf-orange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: transparent;
}

.bbbfxpm-perks__icon svg {
	width: 22px;
	height: 22px;
}

.bbbfxpm-perks__text {
	font-size: clamp(0.92rem, 1.1vw, 1.05rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--bbbf-ink);
	white-space: nowrap;
}

/* Mobile / tablet: stack text above full banner */
@media (max-width: 899px) {
	.bbbfxpm-hero {
		display: flex;
		flex-direction: column;
	}

	.bbbfxpm-hero__inner {
		position: relative;
		inset: auto;
		order: 1;
		padding: 2rem 1.15rem 1.35rem;
		align-items: flex-start;
	}

	.bbbfxpm-hero__content {
		width: 100%;
		max-width: 40rem;
		padding-right: 0;
	}

	.bbbfxpm-hero__media {
		order: 2;
	}

	.bbbfxpm-hero__title-line {
		font-size: clamp(2.4rem, 10vw, 3.25rem);
	}

	.bbbfxpm-hero__subtitle {
		font-size: clamp(1.3rem, 5vw, 1.65rem);
	}

	.bbbfxpm-hero__lead {
		font-size: 1.05rem;
	}

	.bbbfxpm-perks__text {
		white-space: normal;
	}
}

@media (min-width: 900px) and (max-width: 1100px) {
	.bbbfxpm-hero__content {
		width: min(100%, 54%);
	}

	.bbbfxpm-hero__title-line {
		font-size: clamp(2.6rem, 5.5vw, 3.75rem);
	}

	.bbbfxpm-perks {
		gap: 0.85rem 1.15rem;
	}

	.bbbfxpm-perks__text {
		font-size: 0.9rem;
		white-space: normal;
	}
}

@media (min-width: 1280px) {
	.bbbfxpm-hero__title-line {
		font-size: 5.25rem;
	}

	.bbbfxpm-hero__subtitle {
		font-size: 2.15rem;
	}
}

/* ——— Layout ——— */
.bbbfxpm-layout {
	max-width: min(1240px, 100%);
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
	display: grid;
	gap: 1.75rem;
	background: transparent;
}

@media (min-width: 960px) {
	.bbbfxpm-layout {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 2rem;
		align-items: start;
	}

	.bbbfxpm-sidebar {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 5.5rem);
		align-self: start;
		z-index: 20;
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 6rem);
	}

	.bbbfxpm-sidebar__sticky {
		position: relative;
		top: auto;
		max-height: inherit;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bbbfxpm-form {
		min-width: 0;
	}
}

.bbbfxpm-sidebar__sticky {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06);
	padding: 1.35rem 1.15rem 1.15rem;
}

.bbbfxpm-steps {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	padding-bottom: 0.35rem;
}

.bbbfxpm-steps li { flex: 0 0 auto; position: relative; }

.bbbfxpm-steps__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.35rem 0.15rem;
	border-radius: 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: #2a2a2a;
	white-space: nowrap;
	background: transparent;
	transition: color 0.15s ease;
}

.bbbfxpm-steps__num {
	position: relative;
	z-index: 1;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid #c9b8a8;
	color: #3a3a3a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
	flex-shrink: 0;
}

.bbbfxpm-steps__link.is-active {
	background: transparent;
	color: var(--bbbf-orange);
	font-weight: 700;
}

.bbbfxpm-steps__link.is-active .bbbfxpm-steps__num {
	background: var(--bbbf-orange);
	border-color: var(--bbbf-orange);
	color: #fff;
}

.bbbfxpm-steps__link.is-complete .bbbfxpm-steps__num {
	background: var(--bbbf-purple);
	border-color: var(--bbbf-purple);
	color: #fff;
}

@media (min-width: 960px) {
	.bbbfxpm-steps {
		flex-direction: column;
		overflow: visible;
		padding-bottom: 0;
		gap: 0;
	}

	.bbbfxpm-steps li:not(:last-child)::after {
		content: "";
		position: absolute;
		left: 13px;
		top: 30px;
		bottom: -2px;
		width: 1.5px;
		background: #e6ddd4;
		z-index: 0;
	}

	.bbbfxpm-steps__link {
		white-space: normal;
		padding: 0.55rem 0.1rem;
	}

	.bbbfxpm-steps__label { display: inline; }
}

.bbbfxpm-tip {
	background: var(--bbbf-purple-soft);
	border-radius: 12px;
	padding: 0.95rem 1rem;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.45rem 0.7rem;
	align-items: start;
}

.bbbfxpm-tip p {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #4a3a5c;
	grid-column: 2;
}

.bbbfxpm-tip__icon {
	color: var(--bbbf-purple);
	line-height: 1;
	margin-top: 0.1rem;
}

.bbbfxpm-tip__status {
	grid-column: 2;
	font-size: 0.75rem !important;
	color: var(--bbbf-purple) !important;
	min-height: 0;
}

/* ——— Form sections ——— */
.bbbfxpm-form {
	min-width: 0;
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.bbbfxpm-section {
	padding: 0 0 2.5rem;
	margin: 0 0 2rem;
	border-bottom: 0;
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 5.5rem);
}

.bbbfxpm-section:last-child { margin-bottom: 0; }

.bbbfxpm-section__head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.75rem;
	width: 100%;
}

.bbbfxpm-section__head h2 {
	margin: 0;
	font-family: var(--bbbf-serif);
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 700;
	flex: 0 0 auto;
}

.bbbfxpm-section__head::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #e3e0dc;
	min-width: 2rem;
}

.bbbfxpm-section__badge {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(145deg, #c4a8e8 0%, #9b7ebd 55%, #8a6bb0 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 800;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(155, 126, 189, 0.28);
}

.bbbfxpm-section__intro {
	margin: -0.35rem 0 1rem;
	color: var(--bbbf-muted);
	font-size: 0.95rem;
}

.bbbfxpm-section--with-deco {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 1100px) {
	.bbbfxpm-section--with-deco {
		grid-template-columns: 160px minmax(0, 1fr);
		align-items: start;
		gap: 1.5rem;
	}
}

.bbbfxpm-deco { display: none; }

@media (min-width: 1100px) {
	.bbbfxpm-deco {
		display: block;
		padding-top: 2.75rem;
	}
}

.bbbfxpm-deco--books img {
	width: 100%;
	height: auto;
	transform: rotate(-6deg);
	border-radius: 6px;
}

.bbbfxpm-deco--splash {
	position: relative;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bbbfxpm-deco__blob {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle at 45% 45%, rgba(196, 168, 232, 0.95) 0%, rgba(155, 126, 189, 0.55) 48%, rgba(155, 126, 189, 0) 72%);
	filter: blur(1.5px);
}

.bbbfxpm-deco__script {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0.5rem;
	font-family: var(--bbbf-script);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #3b2a52;
	text-align: center;
	transform: rotate(-3deg);
}

.bbbfxpm-writer-card {
	width: 100%;
	height: auto;
	aspect-ratio: 3/4;
	object-fit: cover;
	border-radius: 50% 50% 12px 12px / 42% 42% 12px 12px;
	filter: grayscale(1);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ——— Fields ——— */
.bbbfxpm-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.bbbfxpm-grid--2 { grid-template-columns: 1fr 1fr; }
	.bbbfxpm-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.bbbfxpm-field { display: flex; flex-direction: column; gap: 0.4rem; }

.bbbfxpm-grid + .bbbfxpm-field,
.bbbfxpm-field + .bbbfxpm-fieldset,
.bbbfxpm-grid + .bbbfxpm-fieldset {
	margin-top: 1rem;
}

.bbbfxpm-field label,
.bbbfxpm-fieldset legend {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--bbbf-ink);
}

.bbbfxpm .req { color: #e23b2e; }

.bbbfxpm-field input[type="text"],
.bbbfxpm-field input[type="email"],
.bbbfxpm-field input[type="tel"],
.bbbfxpm-field input[type="number"],
.bbbfxpm-field select,
.bbbfxpm-field textarea {
	width: 100%;
	border: 1px solid #ddd8d2;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	font: inherit;
	color: inherit;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bbbfxpm-field input::placeholder,
.bbbfxpm-field textarea::placeholder {
	color: #aaa;
}

.bbbfxpm-field textarea { resize: vertical; min-height: 110px; }

.bbbfxpm-field input:focus,
.bbbfxpm-field select:focus,
.bbbfxpm-field textarea:focus {
	outline: none;
	border-color: var(--bbbf-purple);
	box-shadow: 0 0 0 3px rgba(155, 126, 189, 0.2);
}

.bbbfxpm-field.is-invalid input,
.bbbfxpm-field.is-invalid select,
.bbbfxpm-field.is-invalid textarea,
.bbbfxpm-fieldset.is-invalid {
	border-color: #c0392b;
}

.bbbfxpm-counter {
	align-self: flex-end;
	font-size: 0.75rem;
	color: var(--bbbf-muted);
}

.bbbfxpm-counter.is-over { color: #c0392b; font-weight: 700; }

.bbbfxpm-fieldset {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.bbbfxpm-fieldset legend { margin-bottom: 0.65rem; }

.bbbfxpm-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.bbbfxpm-radios--row { gap: 0.55rem 0.85rem; }

.bbbfxpm-radio {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500;
}

.bbbfxpm-radio input {
	accent-color: var(--bbbf-orange);
	width: 1.05rem;
	height: 1.05rem;
}

.bbbfxpm-help {
	margin: 0.55rem 0 0;
	font-size: 0.8rem;
	color: var(--bbbf-muted);
}

.bbbfxpm-check {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin: 0 0 0.7rem;
	font-size: 0.88rem;
	cursor: pointer;
}

.bbbfxpm-check input {
	margin-top: 0.2rem;
	accent-color: var(--bbbf-orange);
	flex-shrink: 0;
}

/* Dropzone */
.bbbfxpm-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 160px;
	padding: 1.5rem;
	border: 2px dashed var(--bbbf-purple-mid);
	border-radius: 14px;
	background: linear-gradient(180deg, #fbf8fe, #fff);
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.bbbfxpm-dropzone.is-dragover {
	border-color: var(--bbbf-orange);
	background: #fff7f3;
}

.bbbfxpm-dropzone input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.bbbfxpm-dropzone__icon { color: var(--bbbf-purple); }
.bbbfxpm-dropzone__text { font-weight: 700; }
.bbbfxpm-dropzone__hint { font-size: 0.82rem; color: var(--bbbf-muted); }
.bbbfxpm-dropzone__file { font-size: 0.85rem; color: var(--bbbf-orange); font-weight: 600; margin-top: 0.35rem; }

.bbbfxpm-comp {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.bbbfxpm-comp h3 {
	margin: 0 0 0.85rem;
	font-family: var(--bbbf-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bbbf-ink);
}

/* Declarations */
.bbbfxpm-section--declarations {
	position: relative;
	background: var(--bbbf-purple-soft);
	margin: 2rem 0 0;
	padding: 2rem 1.15rem 2.35rem;
	border-radius: 18px;
	border-bottom: 0;
	overflow: hidden;
}

.bbbfxpm-section--declarations::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -30px;
	width: 160px;
	height: 160px;
	background: radial-gradient(circle at 30% 30%, #3d8b57 0 28%, transparent 29%),
		radial-gradient(circle at 70% 60%, #2f6b45 0 22%, transparent 23%);
	opacity: 0.35;
	pointer-events: none;
}

@media (min-width: 960px) {
	.bbbfxpm-section--declarations {
		padding: 2.35rem 2rem 2.6rem;
	}
}

.bbbfxpm-decl-grid {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 1.75rem;
}

@media (min-width: 800px) {
	.bbbfxpm-decl-grid { grid-template-columns: repeat(3, 1fr); }
}

.bbbfxpm-decl-card {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.bbbfxpm-decl-card h3 {
	margin: 0 0 0.85rem;
	font-family: var(--bbbf-serif);
	font-size: 1.05rem;
	font-weight: 700;
}

.bbbfxpm-final {
	display: grid;
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

@media (min-width: 880px) {
	.bbbfxpm-final {
		grid-template-columns: 1.35fr 0.75fr;
		align-items: end;
		gap: 2rem;
	}

	.bbbfxpm-final__list {
		column-count: 2;
		column-gap: 1.5rem;
	}

	.bbbfxpm-final__list h3 {
		column-span: all;
	}

	.bbbfxpm-final__list .bbbfxpm-check {
		break-inside: avoid;
	}
}

.bbbfxpm-final__list h3 {
	margin: 0 0 0.85rem;
	font-family: var(--bbbf-serif);
	font-size: 1.1rem;
	font-weight: 700;
}

.bbbfxpm-final__action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

@media (min-width: 880px) {
	.bbbfxpm-final__action {
		align-items: flex-end;
	}
}

.bbbfxpm-btn--submit {
	width: 100%;
	max-width: 280px;
	background: var(--bbbf-orange);
	color: #fff;
	padding: 1rem 1.5rem;
	font-size: 1.05rem;
	border-radius: 12px;
	margin-left: auto;
}

.bbbfxpm-btn--submit:hover { background: var(--bbbf-orange-deep); }
.bbbfxpm-btn--submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.bbbfxpm-secure {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0.85rem 0 0;
	font-size: 0.78rem;
	color: var(--bbbf-muted);
	max-width: 280px;
	margin-left: auto;
	text-align: left;
}

.bbbfxpm-secure svg {
	color: var(--bbbf-orange);
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.bbbfxpm-legal-note {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
	z-index: 1;
}

.bbbfxpm-legal-note p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--bbbf-muted);
}

.bbbfxpm-legal-note__link {
	margin-top: 0.65rem !important;
}

.bbbfxpm-legal-note__link a {
	color: var(--bbbf-orange-deep);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bbbfxpm-legal-note__link a:hover {
	color: var(--bbbf-orange);
}

.bbbfxpm-form-message {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 600;
}

.bbbfxpm-form-message.is-success {
	background: #e8f7ee;
	color: #176b3a;
}

.bbbfxpm-form-message.is-error {
	background: #fdecea;
	color: #9b1c1c;
}

/* Full-width form area — keep site header & footer, drop page banner + sidebar */
.bbbfxpm-theme-main {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: var(--bbbf-cream);
}

.bbbfxpm {
	width: 100%;
	max-width: 100%;
	margin: 0;
	/* Avoid overflow that breaks position:sticky on the sidebar */
	overflow: visible;
}

/* Hide theme page-title banners / breadcrumbs (not the site header) */
body.bbbfxpm-page .page-header,
body.bbbfxpm-page .entry-header,
body.bbbfxpm-page .ast-page-title,
body.bbbfxpm-page .ast-archive-description,
body.bbbfxpm-page .page-banner,
body.bbbfxpm-page .banner-area,
body.bbbfxpm-page .title-bar,
body.bbbfxpm-page .breadcrumb,
body.bbbfxpm-page .breadcrumbs,
body.bbbfxpm-page .woocommerce-breadcrumb,
body.bbbfxpm-page .elementor-location-archive,
body.bbbfxpm-page .elementor-widget-theme-page-title,
body.bbbfxpm-page .elementor-widget-breadcrumbs,
body.bbbfxpm-page .elementor-widget-theme-post-title {
	display: none !important;
}

/* Hide theme sidebars / search column on this page only */
body.bbbfxpm-page #secondary,
body.bbbfxpm-page .widget-area,
body.bbbfxpm-page aside.widget-area,
body.bbbfxpm-page .sidebar,
body.bbbfxpm-page .ast-left-sidebar #secondary,
body.bbbfxpm-page .ast-right-sidebar #secondary,
body.bbbfxpm-page .is-right-sidebar,
body.bbbfxpm-page .is-left-sidebar {
	display: none !important;
}

body.bbbfxpm-page #primary,
body.bbbfxpm-page .content-area,
body.bbbfxpm-page .site-main,
body.bbbfxpm-page .ast-container,
body.bbbfxpm-page .entry-content,
body.bbbfxpm-page .bbbfxpm-theme-main {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ——— Responsive ——— */
@media (max-width: 899px) {
	.bbbfxpm-layout {
		padding: 0 1rem 3rem;
		gap: 1.25rem;
	}

	.bbbfxpm-sidebar,
	.bbbfxpm-sidebar__sticky {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.bbbfxpm-steps {
		display: flex;
		flex-direction: row;
		gap: 0.35rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 0.5rem;
		margin-bottom: 0.75rem;
	}

	.bbbfxpm-steps__link {
		padding: 0.35rem 0.55rem;
		border: 1px solid var(--bbbf-line);
		border-radius: 999px;
		background: #fff;
		font-size: 0.78rem;
	}

	.bbbfxpm-steps__link.is-active {
		border-color: var(--bbbf-orange);
		background: #fff7f3;
	}

	.bbbfxpm-section {
		padding: 1.5rem 0 1.75rem;
	}

	.bbbfxpm-section__head h2 {
		font-size: 1.2rem;
	}

	.bbbfxpm-section__badge {
		width: 36px;
		height: 36px;
		font-size: 0.78rem;
	}

	.bbbfxpm-btn--submit {
		max-width: none;
		margin-left: 0;
	}

	.bbbfxpm-secure {
		max-width: none;
		margin-left: 0;
	}

	.bbbfxpm-section--declarations {
		padding: 1.35rem 1rem 1.75rem;
		border-radius: 14px;
	}
}

@media (max-width: 699px) {
	.bbbfxpm-grid--2,
	.bbbfxpm-grid--3 {
		grid-template-columns: 1fr;
	}

	.bbbfxpm-perks {
		grid-template-columns: 1fr;
	}

	.bbbfxpm-hero__title-line {
		font-size: clamp(1.9rem, 8vw, 2.4rem);
	}

	.bbbfxpm-hero__subtitle {
		font-size: clamp(1.15rem, 5vw, 1.4rem);
	}

	.bbbfxpm-steps__label {
		display: none;
	}

	.bbbfxpm-steps__link {
		padding: 0.3rem;
	}

	.bbbfxpm-steps__num {
		width: 30px;
		height: 30px;
	}

	.bbbfxpm-decl-grid {
		grid-template-columns: 1fr;
	}

	.bbbfxpm-final__list {
		column-count: 1;
	}
}

@media (min-width: 700px) and (max-width: 959px) {
	.bbbfxpm-grid--3 {
		grid-template-columns: 1fr 1fr;
	}
}
