/* Little Bicep — block styles and small layout helpers.
   Loaded on the front end and inside the editor so what you see is what you get. */

html { scroll-behavior: smooth; }
:where(section, .wp-block-group)[id] { scroll-margin-top: 84px; }
body { -webkit-font-smoothing: antialiased; }

/* Sections butt up against each other — no gaps between header, main and footer */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* The homepage sections stack edge to edge */
.lb-onepage > * { margin-block-start: 0 !important; margin-block-end: 0; }

/* ---------- Sticky header ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.lb-header { backdrop-filter: blur(8px); }
.lb-header .wp-block-site-title a { text-decoration: none; }
.lb-header .wp-block-navigation a { opacity: .82; text-decoration: none; }
.lb-header .wp-block-navigation a:hover { opacity: 1; color: inherit; }
.lb-header .wp-block-button__link { padding: .7rem 1.25rem; font-size: .75rem; }
@media (max-width: 781px) { .lb-header .lb-header-cta { display: none; } }

/* ---------- Paragraph styles ---------- */
.is-style-lb-kicker {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
}
.is-style-lb-kicker:not(.has-text-color) { color: var(--wp--preset--color--burgundy); }

.is-style-lb-tag {
	display: inline-block; align-self: flex-start;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
	padding: .35rem .8rem; border-radius: 999px; line-height: 1.4;
}
.is-style-lb-tag:not(.has-background) { background: var(--wp--preset--color--ivory); }
.is-style-lb-tag:not(.has-text-color) { color: var(--wp--preset--color--burgundy); }

.is-style-lb-pull {
	font-family: var(--wp--preset--font-family--fraunces); font-style: italic;
	font-size: var(--wp--preset--font-size--x-large); line-height: 1.3;
	padding-left: 1.25rem; border-left: 3px solid var(--wp--preset--color--gold);
}

.is-style-lb-price {
	font-family: var(--wp--preset--font-family--montserrat); font-weight: 600;
	font-size: .9375rem; color: var(--wp--preset--color--grey); margin-top: auto !important;
}
.is-style-lb-price strong { font-weight: 800; font-size: 2.125rem; color: var(--wp--preset--color--charcoal); margin-right: .25rem; }
.has-ivory-color .is-style-lb-price, .is-style-lb-price.has-text-color { color: inherit; }
.has-ivory-color .is-style-lb-price strong { color: var(--wp--preset--color--ivory); }

/* ---------- Group styles ---------- */
.is-style-lb-card {
	border-radius: 20px; padding: 2rem;
	border: 1px solid rgba(32,35,34,.08);
}
.is-style-lb-card:not(.has-background) { background: var(--wp--preset--color--white); }
.is-style-lb-card.has-background { border-color: transparent; }

.is-style-lb-card-glass {
	border-radius: 18px; padding: 1.75rem;
	background: rgba(245,238,223,.07); border: 1px solid rgba(245,238,223,.18);
}

.is-style-lb-cred {
	padding: 1.75rem; background: var(--wp--preset--color--white);
	border-top: 3px solid var(--wp--preset--color--burgundy); border-radius: 0 0 16px 16px;
}

/* Cards stretch so prices line up at the bottom */
.lb-cards > .wp-block-group { height: 100%; }
.lb-cards .wp-block-list { flex-grow: 1; }

/* ---------- Button styles ---------- */
.wp-block-button.is-style-lb-outline-light .wp-block-button__link {
	background: transparent; border-color: rgba(245,238,223,.5); color: var(--wp--preset--color--ivory);
}
.wp-block-button.is-style-lb-outline-light .wp-block-button__link:hover { background: rgba(245,238,223,.08); }
.wp-block-button__link { transition: background .2s, transform .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* ---------- List styles ---------- */
.is-style-lb-dash { list-style: none; padding-left: 0; font-size: .9375rem; }
.is-style-lb-dash li { position: relative; padding: .3rem 0 .3rem 1.5rem; }
.is-style-lb-dash li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 12px; height: 2px; background: var(--wp--preset--color--gold); }

.is-style-lb-proof {
	list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
	font-family: var(--wp--preset--font-family--montserrat); font-weight: 700;
	font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.is-style-lb-proof li { display: flex; align-items: center; }
.is-style-lb-proof li::before {
	flex-shrink: 0;
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
	background: var(--wp--preset--color--burgundy); margin-right: .6rem; vertical-align: middle;
	box-shadow: 0 0 0 3px rgba(117,20,26,.35);
}

/* ---------- Hero ---------- */
.lb-hero h1 em, .lb-hero h1 i { font-family: var(--wp--preset--font-family--fraunces); font-weight: 600; color: var(--wp--preset--color--beige); }
.lb-hero-media { position: relative; }
.lb-hero-media .wp-block-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lb-badge {
	position: absolute; left: -1.75rem; top: 2.5rem; max-width: 240px; z-index: 2;
	border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
@media (max-width: 781px) { .lb-badge { left: 1rem; } }

/* ---------- Myths ---------- */
.lb-myths s { font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: .875rem; opacity: .7; text-decoration-color: var(--wp--preset--color--beige); }

/* ---------- Hypermobility price rows ---------- */
.lb-row { border-bottom: 1px solid rgba(245,238,223,.16); padding: 1rem 0; font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; }
.lb-row:last-of-type { border-bottom: 0; }
.lb-row strong { font-weight: 800; font-size: 1.375rem; }

/* ---------- Founding ---------- */
.lb-founding .wp-block-image { flex-shrink: 0; }

/* Editor nicety: keep absolute badge visible while editing */
.editor-styles-wrapper .lb-badge { position: absolute; }
@media (max-width: 600px) { .lb-founding { flex-wrap: wrap !important; } }
