/* Practice pages on Botiga — same tokens as the store DNA. */

.bj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.45rem;
	border-radius: 999px;
	background: var(--bj-black);
	color: var(--bj-white) !important;
	font-family: var(--bj-sans);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	border: 0;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.bj-btn:hover {
	background: #2c2925;
	transform: translateY(-1px);
	color: var(--bj-white) !important;
}

.bj-btn--ghost {
	background: transparent !important;
	color: var(--bj-ink) !important;
	border: 1px solid var(--bj-ink) !important;
}

.bj-hero .bj-btn--ghost {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.85) !important;
}

.bj-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.bj-link {
	display: inline-block;
	margin-top: 1.25rem;
	font-family: var(--bj-sans);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	border-bottom: 1px solid currentColor;
	text-decoration: none !important;
}

.bj-kicker {
	font-family: var(--bj-sans);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bj-muted);
	margin: 0 0 0.75rem;
}

.bj-kicker--light {
	color: rgba(243, 235, 224, 0.75);
}

.bj-lede {
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--bj-muted);
	max-width: 42rem;
}

.bj-section {
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
	max-width: 1120px;
	margin: 0 auto;
}

.bj-page-hero {
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem) 1rem;
	max-width: 1120px;
	margin: 0 auto;
}

.bj-page-hero h1 {
	font-family: var(--bj-serif) !important;
	font-size: clamp(2.1rem, 4.5vw, 3.2rem);
	margin: 0 0 0.75rem;
	max-width: 18ch;
}

/* Full-bleed home hero — store pattern. */
body.home .entry-header,
body.home .page-header,
body.home .botiga-breadcrumb,
body.page-template-default .botiga-breadcrumb {
	display: none !important;
}

body.home #content .entry-content,
body.home .content-wrapper .entry-content {
	max-width: none;
	padding: 0 !important;
	margin: 0 !important;
}

body.home .content-wrapper,
body.home #primary,
body.home #content,
body.home .site-main,
body.home .entry-content,
body.home article {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bj-hero {
	position: relative;
	min-height: min(78vh, 760px);
	display: flex;
	align-items: flex-end;
	background-color: #2a241c;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}

.bj-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 18, 16, 0.15) 0%, rgba(20, 18, 16, 0.62) 100%);
}

.bj-hero__inner {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
	max-width: 720px;
}

.bj-hero h1 {
	font-family: var(--bj-serif) !important;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 500;
	line-height: 1.12;
	color: #fff !important;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.bj-hero .bj-lede {
	color: rgba(255, 252, 247, 0.88);
	margin: 0;
}

.bj-principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	max-width: 1120px;
}

.bj-num {
	display: block;
	font-family: var(--bj-sans);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	color: var(--bj-sand-deep);
	margin-bottom: 0.65rem;
}

.bj-principle h2 {
	font-family: var(--bj-serif) !important;
	font-size: 1.55rem;
	margin: 0 0 0.75rem;
}

.bj-principle p {
	margin: 0;
	color: var(--bj-muted);
	font-size: 0.98rem;
}

.bj-guarantee {
	text-align: center;
	border-top: 1px solid var(--bj-line);
	border-bottom: 1px solid var(--bj-line);
	background: var(--bj-bg-soft);
	max-width: none;
	padding-left: clamp(1.25rem, 5vw, 4rem);
	padding-right: clamp(1.25rem, 5vw, 4rem);
}

.bj-guarantee h2 {
	font-family: var(--bj-serif) !important;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	margin: 0 auto 1rem;
	max-width: 22ch;
}

.bj-guarantee p {
	margin: 0 auto;
	max-width: 48rem;
	color: var(--bj-muted);
}

.bj-expertise-strip {
	text-align: center;
}

.bj-expertise-list {
	list-style: none;
	margin: 1.5rem auto 0;
	padding: 0;
	max-width: 36rem;
	display: grid;
	gap: 0.65rem;
}

.bj-expertise-list li {
	font-family: var(--bj-serif);
	font-size: 1.2rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--bj-line);
}

.bj-bridge {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.bj-bridge::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 16, 0.58);
}

.bj-bridge__inner {
	position: relative;
	z-index: 1;
	max-width: 640px;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
}

.bj-bridge blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.bj-bridge blockquote p {
	font-family: var(--bj-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	line-height: 1.35;
	font-style: italic;
	margin: 0 0 1rem;
	color: #fff;
}

.bj-bridge cite {
	font-family: var(--bj-sans);
	font-size: 0.85rem;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}

.bj-pathways h2 {
	font-family: var(--bj-serif) !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin: 0 0 1.75rem;
	text-align: center;
}

.bj-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.bj-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.5rem 1.35rem;
	background: var(--bj-white);
	border: 1px solid var(--bj-line);
	text-decoration: none !important;
	color: var(--bj-ink) !important;
	transition: border-color 0.2s ease, transform 0.2s ease;
	min-height: 100%;
}

.bj-card:hover {
	border-color: var(--bj-sand);
	transform: translateY(-2px);
}

.bj-card strong {
	font-family: var(--bj-serif);
	font-size: 1.35rem;
	font-weight: 500;
}

.bj-card span {
	font-size: 0.95rem;
	color: var(--bj-muted);
	line-height: 1.5;
}

.bj-cta {
	text-align: center;
	padding-bottom: clamp(4rem, 9vw, 6.5rem);
}

.bj-cta h2 {
	font-family: var(--bj-serif) !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin: 0 0 0.85rem;
}

.bj-cta p {
	margin: 0 auto 1.5rem;
	max-width: 40rem;
	color: var(--bj-muted);
}

.bj-prose {
	max-width: 42rem;
}

.bj-prose p {
	margin: 0 0 1.15rem;
	color: var(--bj-muted);
}

.bj-prose .bj-lede {
	color: var(--bj-ink);
	font-size: 1.25rem;
}

.bj-prose h2 {
	font-family: var(--bj-serif) !important;
	margin: 2rem 0 0.75rem;
	font-size: 1.45rem;
}

.bj-faq details {
	border-bottom: 1px solid var(--bj-line);
	padding: 1rem 0;
}

.bj-faq summary {
	font-family: var(--bj-serif);
	font-size: 1.15rem;
	cursor: pointer;
	list-style: none;
}

.bj-faq summary::-webkit-details-marker {
	display: none;
}

.bj-faq details p {
	margin: 0.75rem 0 0;
	color: var(--bj-muted);
	max-width: 40rem;
}

.bj-disciplines {
	display: grid;
	gap: 1.75rem;
	max-width: 48rem;
}

.bj-disciplines article {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--bj-line);
}

.bj-disciplines h2 {
	font-family: var(--bj-serif) !important;
	font-size: 1.35rem;
	margin: 0 0 0.65rem;
}

.bj-disciplines p {
	margin: 0 0 0.5rem;
	color: var(--bj-muted);
}

.bj-meta {
	font-size: 0.85rem !important;
	letter-spacing: 0.02em;
	color: var(--bj-sand-deep) !important;
}

.bj-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
	max-width: 960px;
}

.bj-quote-card {
	background: var(--bj-bg-soft);
	border: 1px solid var(--bj-line);
	padding: 1.75rem;
}

.bj-quote-card blockquote {
	margin: 0;
	border: 0;
	padding: 0;
}

.bj-quote-card p {
	font-family: var(--bj-serif);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.4;
	margin: 0 0 1rem;
}

.bj-quote-card cite {
	font-style: normal;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bj-muted);
}

/* Inner pages: tighten Botiga content shell. */
body:not(.home) .entry-header {
	display: none;
}

body:not(.home) .content-wrapper,
body:not(.home) #content {
	padding-top: 0 !important;
}

@media (max-width: 900px) {
	.bj-principles,
	.bj-cards,
	.bj-contact-grid {
		grid-template-columns: 1fr;
	}

	.bj-hero {
		min-height: min(70vh, 620px);
	}
}
