/* WordPress single-post guides. Does not alter the Anguilla page or other templates. */
.bbs-guide-single.wp-block-group {
	margin-block-start: 0;
	padding: clamp(6.5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
	color: var(--wp--preset--color--deep-navy, #182f5c);
}
.bbs-guide-article.wp-block-group {
	box-sizing: border-box;
	width: min(100%, 48rem);
	margin: 0 auto;
}
.bbs-guide-breadcrumb {
	margin: 0 0 1.25rem;
	font-size: .8125rem;
	letter-spacing: .02em;
}
.bbs-guide-breadcrumb span { color: #9b7b50; margin-inline: .375rem; }
.bbs-guide-single .bbs-guide-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 400;
	line-height: 1.07;
	letter-spacing: -.03em;
	text-wrap: balance;
}
.bbs-guide-featured-image { margin-block: 0 2rem; }
.bbs-guide-featured-image img { display: block; width: 100%; height: auto; }
.bbs-guide-content.wp-block-group { margin-block-start: 0; }
.bbs-guide-content :is(p, li) { font-size: 1.0625rem; line-height: 1.85; text-wrap: pretty; }
.bbs-guide-content p { margin-block: 0 1.375rem; }
.bbs-guide-content :is(h2,h3) {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -.015em;
	text-wrap: balance;
	scroll-margin-top: 7rem;
}
.bbs-guide-content h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-block: 2.375rem 1rem; }
.bbs-guide-content h3 { font-size: clamp(1.45rem, 2.3vw, 1.875rem); margin-block: 1.75rem .75rem; }
.bbs-guide-content ul, .bbs-guide-content ol { padding-inline-start: 1.5rem; margin-block: 0 1.75rem; }
.bbs-guide-content li + li { margin-top: .5rem; }
.bbs-guide-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin-block: 1rem 2rem;
	font-size: .875rem;
}
.bbs-guide-content table th, .bbs-guide-content table td {
	min-width: 7rem;
	padding: .875rem;
	border: 1px solid #e3d9cd;
	text-align: left;
	vertical-align: top;
}
.bbs-guide-content table th { background: #f7f4ee; font-weight: 600; }
.bbs-guide-content a { text-underline-offset: .25em; }
.bbs-guide-content blockquote { padding-left: 1.25rem; border-left: 2px solid #bf9155; }
/* Practical guide tip: clear but restrained, without disrupting mobile layout. */
.bbs-guide-content .bbs-guide-tip {
	margin: .5rem 0 1.75rem;
	padding: 1.125rem 1.25rem;
	border-left: 3px solid #bf9155;
	background: #f8f5f1;
}
.bbs-guide-content .bbs-guide-tip p {
	margin: 0;
}
.bbs-guide-after.wp-block-group {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding: clamp(2rem, 4vw, 3rem);
	background: #f8f5f1;
	text-align: center;
}
.bbs-guide-after h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	font-weight: 400;
	line-height: 1.12;
	text-wrap: balance;
}
.bbs-guide-after p { max-width: 36rem; margin: 1rem auto; text-wrap: pretty; }
.bbs-guide-after .wp-block-buttons { margin-top: 1.5rem; }
.bbs-guide-after .wp-block-button__link { border-radius: .125rem; }
.bbs-guide-single a:focus-visible { outline: 2px solid #bf9155; outline-offset: 3px; }
/* Genuine responsive comparisons: preserve a semantic table on desktop,
 * then present each data row as a self-contained, labelled card on tablets
 * and phones. No sideways scrolling or tiny four-column text.
 */
@media (max-width: 58rem) {
	.bbs-guide-content table {
		display: block;
		width: 100%;
		max-width: 100%;
		margin-block: 1.25rem 2rem;
		border: 0;
		overflow: visible;
	}
	.bbs-guide-content table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.bbs-guide-content table tbody {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.875rem;
		min-width: 0;
	}
	.bbs-guide-content table tbody tr {
		display: block;
		min-width: 0;
		border: 1px solid #e3d9cd;
		border-radius: 0.25rem;
		overflow: hidden;
		background: #fefefe;
	}
	.bbs-guide-content table tbody :is(th, td) {
		display: block;
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 0.875rem 1rem;
		border: 0;
		font-size: 0.9375rem;
		line-height: 1.6;
		overflow-wrap: anywhere;
	}
	.bbs-guide-content table tbody th[scope="row"] {
		background: #f7f4ee;
		font-size: 1.125rem;
		font-weight: 600;
		line-height: 1.35;
	}
	.bbs-guide-content table tbody td + td,
	.bbs-guide-content table tbody th + td {
		border-top: 1px solid #eee6dc;
	}
	.bbs-guide-content table tbody td::before {
		display: block;
		margin-bottom: 0.3rem;
		color: #596274;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.01em;
		line-height: 1.4;
		content: attr(data-label);
	}
}

@media (max-width: 42rem) {
	.bbs-guide-single.wp-block-group { padding-top: 5.5rem; }
	.bbs-guide-content :is(p,li) { font-size: 1rem; }
}
