/* Benbrook Apartments — theme styles that sit on top of theme.json */

:root {
	--bb-radius-sm: 8px;
	--bb-radius: 14px;
	--bb-radius-lg: 22px;
	--bb-shadow: 0 1px 2px rgba(11, 35, 64, 0.06), 0 10px 28px rgba(11, 35, 64, 0.08);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 1.5rem; }

/* ---------- Header ---------- */
.bb-topbar p { margin: 0; }
.bb-topbar .wp-block-group { row-gap: 0.25rem; }
.bb-topbar a { font-weight: 700; text-decoration: none; }
.bb-topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) {
	.bb-topbar__note { display: none; }
	.bb-topbar .wp-block-group { justify-content: center !important; }
}

.bb-header .wp-block-site-logo img { height: auto; }
.bb-header .wp-block-navigation a { color: var(--wp--preset--color--ink); }
.bb-header .wp-block-navigation a:hover { color: var(--wp--preset--color--royal); }
.bb-header .wp-block-navigation .current-menu-item > a,
.bb-header .wp-block-navigation a[aria-current="page"] { color: var(--wp--preset--color--royal); }
@media (max-width: 1100px) {
	.bb-header .wp-block-site-logo img { width: 180px !important; }
	.bb-header .wp-block-navigation { gap: 1.1rem !important; }
}
@media (max-width: 600px) {
	.bb-header .wp-block-site-logo img { width: 150px !important; }
	.bb-header .bb-btn-small .wp-block-button__link { padding: 0.55rem 0.9rem; font-size: 0.875rem; }
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.375rem; }

/* ---------- Buttons ---------- */
.wp-block-button.bb-btn-small .wp-block-button__link { padding: 0.6rem 1.15rem; font-size: 0.9375rem; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 2px solid currentColor;
	padding-top: calc(0.8rem - 2px);
	padding-bottom: calc(0.8rem - 2px);
}
.wp-block-button.is-style-outline.bb-btn-small > .wp-block-button__link { padding-top: calc(0.6rem - 2px); padding-bottom: calc(0.6rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.wp-block-button.bb-btn-on-dark > .wp-block-button__link { color: #fff; }
.wp-block-button.bb-btn-on-dark > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--navy); border-color: #fff; }

/* ---------- Shared bits ---------- */
.bb-eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 0.5rem !important;
}
.bb-section__head { margin-bottom: var(--wp--preset--spacing--50); }
.bb-section__head > * { margin-top: 0; }
.bb-section__head h2 { margin-bottom: 0.75rem; }
.bb-fineprint { margin-top: 1rem; }

.bb-checklist { list-style: none; padding-left: 0 !important; margin: 1.25rem 0; }
.bb-checklist li { position: relative; padding-left: 2rem; margin: 0.6rem 0; }
.bb-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230A4071' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Hero ---------- */
.bb-hero { min-height: min(78vh, 680px); }
.bb-hero .wp-block-media-text__content { padding: var(--wp--preset--spacing--60) clamp(1rem, 5vw, 4.5rem); }
.bb-hero .wp-block-media-text__content > * { max-width: 560px; }
.bb-hero h1 { margin: 0.25rem 0 1rem; }
.bb-hero__buttons { margin-top: 1.75rem; }
@media (max-width: 781px) {
	.bb-hero { min-height: 0; }
	.bb-hero .wp-block-media-text__media { min-height: 260px; }
	.bb-hero .wp-block-media-text__content { padding: 2.25rem 1rem 2.75rem; }
}

/* ---------- Facts ---------- */
.bb-facts__grid { text-align: center; }
.bb-fact__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1;
	color: var(--wp--preset--color--navy);
	margin: 0 0 0.35rem;
}
.bb-fact__label { margin: 0; color: var(--wp--preset--color--muted); font-weight: 600; }
@media (max-width: 781px) {
	.bb-facts__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem !important; }
}

/* ---------- Floor plan cards ---------- */
.bb-plan-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bb-radius-lg);
	padding: clamp(1rem, 2.5vw, 1.75rem);
	box-shadow: var(--bb-shadow);
}
.bb-plan-card > * { margin-top: 0; }
.bb-plan-card h3 { margin: 1rem 0 0.25rem; }
.bb-plan-card__img img { border-radius: var(--bb-radius); background: #fff; aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.bb-plan-card__meta { color: var(--wp--preset--color--muted); font-weight: 600; margin: 0 0 0.5rem; }
.bb-plan-card .wp-block-buttons { margin-top: 1rem; }

.bb-plan-detail { gap: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--60) !important; }
.bb-plan-detail .wp-block-media-text__media img {
	border-radius: var(--bb-radius-lg);
	border: 1px solid var(--wp--preset--color--line);
	background: #fff;
}
.bb-plan-detail .wp-block-media-text__content { padding: 0 clamp(0rem, 3vw, 2rem); }
.bb-plan-detail h2 { margin-bottom: 0.25rem; }
@media (max-width: 600px) {
	.bb-plan-detail .wp-block-media-text__content { padding: 1.25rem 0 0; }
}

/* ---------- Gallery ---------- */
.bb-gallery.wp-block-gallery { gap: clamp(0.5rem, 1.5vw, 1rem) !important; }
.bb-gallery.wp-block-gallery .wp-block-image img { border-radius: var(--bb-radius); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 600px) {
	.bb-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 0.25rem) !important; }
}

/* ---------- Tiles / cards ---------- */
.bb-tile {
	background: var(--wp--preset--color--tint);
	border-radius: var(--bb-radius-lg);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.bb-tile h2 { margin-top: 0; }
.bb-contact-card { border-radius: var(--bb-radius-lg); margin-bottom: 1.5rem; }
.bb-contact-card h3 { margin-top: 0; }
.bb-feature-col h2 { margin-top: 0; }

/* ---------- CTA band ---------- */
.bb-cta h2 { margin-top: 0; }
@media (max-width: 781px) {
	.bb-cta__buttons { justify-content: flex-start !important; }
}

/* ---------- Page header ---------- */
.bb-page-head h1 { margin: 0.25rem 0 0.75rem; }
.bb-page-head p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.bb-footer { font-size: 0.9375rem; }
.bb-footer-logo img { width: 220px; height: auto; display: block; margin-bottom: 1rem; }
.bb-footer h3 { margin-top: 0.25rem; margin-bottom: 0.75rem; }
.bb-footer__links { list-style: none; padding-left: 0 !important; margin: 0; }
.bb-footer__links li { margin: 0.35rem 0; }
.bb-footer a { text-decoration: none; }
.bb-footer a:hover { text-decoration: underline; color: var(--wp--preset--color--sun); }
.bb-footer .wp-block-separator { border: 0; height: 1px; opacity: 1; }
.bb-footer p { margin: 0 0 0.5rem; }
.bb-eho__mark { display: inline-block; font-size: 1.1em; margin-right: 0.25rem; }
.bb-copyright { opacity: 0.85; }

/* Header, main and footer sit flush against each other */
.wp-site-blocks > * + * { margin-block-start: 0; }
.bb-main .wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }

/* ---------- Interior photo grid (Home + Amenities) ---------- */
.bb-gallery--interiors.wp-block-gallery.has-nested-images {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(120px, 14vw, 200px);
	grid-auto-flow: dense;
	gap: clamp(0.5rem, 1.2vw, 0.9rem) !important;
}
.bb-gallery--interiors.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto !important;
	margin: 0 !important;
	grid-row: span 2;
}
.bb-gallery--interiors.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(1),
.bb-gallery--interiors.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(4),
.bb-gallery--interiors.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(5) {
	grid-column: span 2;
}
.bb-gallery--interiors.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: var(--bb-radius);
}
@media (max-width: 700px) {
	.bb-gallery--interiors.wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 31vw;
	}
}
.bb-gallery--interiors + .bb-fineprint { margin-top: 0.9rem; }

/* ---------- v1.1 additions ---------- */
.bb-fact__star { color: #E9A90E; font-size: 0.8em; vertical-align: 0.08em; }
.has-tint-background-color .bb-tile { background: #fff; }
.bb-reviews-section { border-bottom: 1px solid var(--wp--preset--color--line); }
#neighborhood .bb-map { margin-top: var(--wp--preset--spacing--50); }

/* Responsive photos: <picture> wrappers shouldn't affect layout */
.bb-picture { display: contents; }

/* ---------- v1.4: More features (from Buildium) ---------- */
.bb-more-features:not(:has(.bb-amenities)) { display: none; }
.bb-more-features h2 { margin-top: 0; }
.bb-more-features .bb-amenities { margin-top: 1rem; }
.bb-more-features .bb-amenities__list {
	column-count: 2;
	column-gap: var(--wp--preset--spacing--50);
	margin: 0;
}
.bb-more-features .bb-amenities__list li { break-inside: avoid; margin-top: 0; }
@media (max-width: 700px) {
	.bb-more-features .bb-amenities__list { column-count: 1; }
}

/* ---------- v1.5: Photos & Community layout ---------- */
.bb-gallery-section h1,
.bb-interiors--lead h1 { margin: 0.25rem 0 0.75rem; }

/* Community photo mosaic: one feature photo + five supporting */
.bb-gallery--mosaic.wp-block-gallery.has-nested-images {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: clamp(140px, 17vw, 240px);
	gap: clamp(0.5rem, 1.2vw, 0.9rem) !important;
}
.bb-gallery--mosaic.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto !important;
	margin: 0 !important;
}
.bb-gallery--mosaic.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child {
	grid-column: span 2;
	grid-row: span 2;
}
.bb-gallery--mosaic.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
}
@media (max-width: 700px) {
	.bb-gallery--mosaic.wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 34vw;
	}
	.bb-gallery--mosaic.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):last-child { grid-column: span 2; }
}

/* Click-to-enlarge on every gallery photo */
.bb-gallery img { cursor: zoom-in; transition: transform .35s ease, filter .35s ease; }
.bb-gallery figure.wp-block-image { overflow: hidden; border-radius: var(--bb-radius); }
@media (hover: hover) {
	.bb-gallery figure.wp-block-image:hover img { transform: scale(1.03); filter: brightness(1.04); }
}
.bb-gallery img:focus-visible { outline: 3px solid var(--wp--preset--color--royal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .bb-gallery img { transition: none; } }

/* Photo viewer */
html.bb-lightbox-open { overflow: hidden; }
.bb-lightbox {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(6, 22, 40, 0.94);
	display: flex; align-items: center; justify-content: center;
	padding: 3.5rem 4.5rem;
}
.bb-lightbox[hidden] { display: none; }
.bb-lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.bb-lightbox__figure img { max-width: min(1400px, 100%); max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.bb-lightbox__cap { color: #DCE6F0; font-size: 0.9375rem; margin-top: 0.85rem; text-align: center; max-width: 60ch; }
.bb-lightbox__count { position: absolute; top: 1.1rem; left: 1.4rem; margin: 0; color: #fff; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; }
.bb-lightbox__btn {
	position: absolute; border: 0; cursor: pointer; color: #fff;
	background: rgba(255,255,255,0.12); width: 3rem; height: 3rem; border-radius: 50%;
	font-size: 2rem; line-height: 1; display: grid; place-items: center; padding: 0;
}
.bb-lightbox__btn:hover, .bb-lightbox__btn:focus-visible { background: rgba(255,255,255,0.25); outline: none; }
.bb-lightbox__btn[hidden] { display: none; }
.bb-lightbox__close { top: 0.9rem; right: 1rem; font-size: 1.9rem; }
.bb-lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.bb-lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
	.bb-lightbox { padding: 3.5rem 0.5rem 4.5rem; }
	.bb-lightbox__prev, .bb-lightbox__next { top: auto; bottom: 1rem; transform: none; }
	.bb-lightbox__prev { left: calc(50% - 3.5rem); }
	.bb-lightbox__next { right: calc(50% - 3.5rem); }
}

/* Sticky mobile action bar */
.bb-mobilebar { display: none; }
@media (max-width: 781px) {
	.bb-mobilebar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
		background: #fff; border-top: 1px solid var(--wp--preset--color--line);
		box-shadow: 0 -6px 20px rgba(11,35,64,0.08);
		padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
		gap: 0.5rem;
	}
	.bb-mobilebar__item {
		flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
		min-height: 44px; border-radius: 999px; text-decoration: none;
		font-weight: 700; font-size: 0.875rem; color: var(--wp--preset--color--navy);
		border: 1.5px solid var(--wp--preset--color--navy); white-space: nowrap;
	}
	.bb-mobilebar__item svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
	.bb-mobilebar__item--primary { background: var(--wp--preset--color--sun); border-color: var(--wp--preset--color--sun); }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	html.bb-lightbox-open .bb-mobilebar { display: none; }
}

/* ---------- v1.7 additions: specials, prices, good-to-know, tour section, FAQ ---------- */
.bb-hero .bb-prices { margin: 0.25rem 0 1.25rem; }
.bb-hero .bb-special--hero { margin: 0 0 1.25rem; }
.bb-hero .bb-special--hero + .wp-block-buttons,
.bb-hero .bb-prices + .wp-block-buttons { margin-top: 0; }

.bb-goodtoknow__grid { margin-top: var(--wp--preset--spacing--40); }
.bb-goodtoknow__grid .bb-gtk {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bb-radius);
	padding: clamp(1.1rem, 2vw, 1.5rem);
}
.bb-gtk h3 { margin: 0 0 0.4rem; color: var(--wp--preset--color--navy); }
.bb-gtk p { margin: 0; color: var(--wp--preset--color--muted); }
.bb-gtk__more { margin-top: 1.25rem; color: var(--wp--preset--color--muted); }

.bb-tour-inline .has-tint-color a { color: var(--wp--preset--color--sun); }
.bb-tour-card {
	background: #fff;
	color: var(--wp--preset--color--ink);
	border-radius: var(--bb-radius-lg);
	padding: clamp(1.25rem, 3vw, 2rem) !important;
	box-shadow: 0 18px 40px rgba(4, 25, 50, 0.25);
}
.bb-tour-card .bb-field label { color: var(--wp--preset--color--ink); }

.bb-faq h2 { margin-bottom: var(--wp--preset--spacing--40); }
.bb-faq__item {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bb-radius);
	margin-top: 0.75rem !important;
}
.bb-faq__item summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 1rem 3.25rem 1rem 1.25rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.1875rem;
	color: var(--wp--preset--color--navy);
}
.bb-faq__item summary::-webkit-details-marker { display: none; }
.bb-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--wp--preset--color--royal);
}
.bb-faq__item[open] summary::after { content: "\2013"; }
.bb-faq__item summary:focus-visible { outline: 2px solid var(--wp--preset--color--royal); outline-offset: 2px; border-radius: var(--bb-radius); }
.bb-faq__item > p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--wp--preset--color--muted); }

.bb-spanish { margin: 0.25rem 0 1rem; }

/* ---------- v1.9 additions: Equal Housing logo, legal links and legal pages ---------- */
.bb-eho { margin: 0; }
.bb-eho__link { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit !important; text-decoration: none !important; }
.bb-eho__link:hover span, .bb-eho__link:focus-visible span { text-decoration: underline; }
.bb-eho__logo { flex: 0 0 auto; width: 28px; height: 28px; }
.bb-eho--badge { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; color: var(--wp--preset--color--navy); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
.bb-eho--badge .bb-eho__logo { width: 34px; height: 34px; }
.bb-legal-links { margin-top: 0.75rem !important; opacity: 0.9; }
.bb-legal-links a { color: inherit; }
.bb-legal h2 { margin-top: var(--wp--preset--spacing--50); margin-bottom: 0.5rem; }
.bb-legal p, .bb-legal li { line-height: 1.7; }
.bb-legal ul, .bb-legal ol { padding-left: 1.4rem; }
.bb-legal li + li { margin-top: 0.4rem; }

/* ---------- v1.10: one-row interior photo strip on Floor Plans ---------- */
.bb-strip-head { margin-bottom: var(--wp--preset--spacing--40); }
.bb-strip-head h2 { margin: 0; }
.bb-strip-head__link { margin: 0; font-weight: 600; }
.bb-strip-head__link a { color: var(--wp--preset--color--royal); text-decoration: none; }
.bb-strip-head__link a:hover { text-decoration: underline; }
.bb-gallery--strip.wp-block-gallery.has-nested-images {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.5rem, 1vw, 0.85rem) !important;
}
.bb-gallery--strip.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto !important;
	margin: 0 !important;
	height: clamp(260px, 26vw, 380px);
}
.bb-gallery--strip.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: var(--bb-radius);
}
.bb-gallery--strip + .bb-fineprint { margin-top: 0.9rem; }
/* Phones and small tablets: still one row, swipe sideways. */
@media (max-width: 900px) {
	.bb-gallery--strip.wp-block-gallery.has-nested-images {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.5rem;
		scrollbar-width: thin;
	}
	.bb-gallery--strip.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		flex: 0 0 72%;
		height: 300px;
		scroll-snap-align: start;
	}
}

/* ---------- v1.11: landing pages, blog ---------- */
.bb-fact__num { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
.bb-landing-actions { align-items: center; }
.bb-landing-actions .bb-topbar__phone { margin: 0; font-weight: 700; }
.bb-landing-actions .bb-topbar__phone a { color: var(--wp--preset--color--navy); text-decoration: none; }
@media (max-width: 600px) { .bb-landing-actions .bb-topbar__phone { display: none; } }
.bb-hero .bb-rent { color: var(--wp--preset--color--tint); font-size: 1.125rem; margin: 0.25rem 0 0.5rem; }
.bb-hero .bb-rent strong { color: #fff; font-size: 1.6em; font-family: var(--wp--preset--font-family--heading); }
.bb-hero .bb-avail { margin: 0 0 1.25rem; }
.bb-lp-other { margin-top: 1.25rem !important; color: var(--wp--preset--color--muted); }
.bb-lp-other a { color: var(--wp--preset--color--royal); }

.bb-posts .wp-block-post-template { gap: var(--wp--preset--spacing--40); }
.bb-post-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bb-radius);
	padding: clamp(1.1rem, 2vw, 1.5rem);
	box-shadow: 0 1px 2px rgba(11,35,64,0.05), 0 8px 22px rgba(11,35,64,0.06);
}
.bb-post-card .wp-block-post-title { margin: 0.25rem 0 0.4rem; }
.bb-post-card .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.bb-post-card .wp-block-post-title a:hover { text-decoration: underline; }
.bb-post-card__cat a, .bb-article .wp-block-post-terms a { color: var(--wp--preset--color--royal); text-decoration: none; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-post-card .wp-block-post-excerpt__more-link { font-weight: 700; color: var(--wp--preset--color--royal); }

.bb-article .wp-block-post-title { margin: 0.25rem 0 0.5rem; }
.bb-article__body { margin-top: var(--wp--preset--spacing--40); }
.bb-article__body p, .bb-article__body li { line-height: 1.75; }
.bb-article__body h2 { margin-top: var(--wp--preset--spacing--50); }
.bb-article-cta {
	margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--tint);
	border-radius: var(--bb-radius-lg);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.bb-article-cta p { margin: 0 0 0.75rem; }
.bb-article-cta__title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.6rem; color: #fff; }
.bb-article-cta .bb-prices { margin: 0 0 1rem; }
.bb-article-cta__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 !important; }
.bb-article-cta__btn { display: inline-block; padding: 0.65rem 1.2rem; border-radius: 999px; background: var(--wp--preset--color--sun); color: var(--wp--preset--color--navy) !important; font-weight: 700; text-decoration: none !important; border: 2px solid var(--wp--preset--color--sun); }
.bb-article-cta__btn--ghost { background: transparent; color: #fff !important; border-color: #fff; }
.bb-article__back a { color: var(--wp--preset--color--royal); }

/* ---------- v1.12: military landing page, Spanish page ---------- */
.bb-orders-card {
	background: var(--wp--preset--color--tint);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bb-radius);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	align-self: flex-start;
}
.bb-orders-card h3 { margin: 0 0 0.6rem; color: var(--wp--preset--color--navy); }
.bb-orders-card p { margin: 0 0 0.75rem; color: var(--wp--preset--color--ink); }
.bb-orders-card p:last-child { margin-bottom: 0; }
.bb-orders-card a { color: var(--wp--preset--color--royal); font-weight: 700; }
.bb-hero .bb-avail--under { margin-right: 0.4rem; }
.bb-hero .bb-pill { margin: 0 0 1.25rem; }
.bb-lang-switch { margin: 0; font-weight: 700; font-size: 0.9375rem; }
.bb-lang-switch a { color: var(--wp--preset--color--royal); text-decoration: none; }
.bb-lang-switch a:hover { text-decoration: underline; }
.bb-es-apply { margin-top: var(--wp--preset--spacing--50); }
.bb-es-apply h3 { margin: 0 0 0.4rem; color: var(--wp--preset--color--navy); }
.bb-es-apply p { color: var(--wp--preset--color--ink); }
.bb-es-apply .bb-fineprint a { color: var(--wp--preset--color--royal); }
.bb-goodtoknow .bb-special { margin-top: var(--wp--preset--spacing--40); }
.bb-topbar__note a { color: inherit !important; text-decoration: underline !important; text-underline-offset: 2px; font-weight: 600 !important; }
