/* Beyond Colonial Borders — styles theme.json can't express. */

/* Eyebrow labels (small tracked caps, echoing the logo's "COLONIAL BORDERS" line). */
.is-style-bcb-eyebrow {
	font-family: var(--wp--preset--font-family--lato) !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1.4 !important;
}

/* Episode cards. */
.is-style-bcb-card {
	background: var(--wp--preset--color--white);
	border-radius: 14px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 1px 0 rgba(27, 33, 80, 0.06), 0 10px 30px -18px rgba(27, 33, 80, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.is-style-bcb-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 1px 0 rgba(27, 33, 80, 0.06), 0 18px 36px -18px rgba(27, 33, 80, 0.45);
}
.is-style-bcb-card .wp-block-post-featured-image {
	margin: 0;
}
.is-style-bcb-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}
.wp-block-post-template .is-style-bcb-card { display: flex; flex-direction: column; }

/* Sunset rule: short, thick orange bar. */
.bcb-rule {
	width: 64px;
	height: 4px;
	background: var(--wp--preset--color--sunset);
	border: 0;
	margin-left: 0;
}

/* Hero painting — soft halo so the circle sits on the prairie green. */
.bcb-hero-art img {
	border-radius: 50%;
	box-shadow: 0 0 0 10px rgba(247, 243, 236, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

/* Media embeds: anything pasted from a podcast host stretches to the content width. */
.bcb-audio-embed iframe,
.bcb-video-embed iframe,
.wp-block-html iframe {
	width: 100% !important;
	max-width: 100%;
	border: 0;
}
.bcb-audio-embed iframe { border-radius: 12px; }
.bcb-video-embed .wp-block-embed__wrapper,
.bcb-video-embed iframe {
	border-radius: 12px;
	overflow: hidden;
}

/* Header: keep the logo crisp and the nav from wrapping awkwardly. */
.bcb-header .bcb-logo img { width: auto; height: clamp(48px, 6vw, 72px); }
.bcb-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--prairie) !important;
	color: var(--wp--preset--color--cream) !important;
}

/* Footer wordmark in tracked caps. */
.bcb-wordmark {
	font-family: var(--wp--preset--font-family--lato);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1.15;
}

/* Links in dark sections. */
.has-prairie-background-color a:not(.wp-element-button),
.has-prairie-deep-background-color a:not(.wp-element-button),
.has-sky-background-color a:not(.wp-element-button) { color: inherit; }

/* Outline buttons inherit the section's text colour. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--cream);
}

/* Pagination. */
.wp-block-query-pagination { font-weight: 700; }

/* Footer. */
.bcb-footer-links { list-style: none; }
.bcb-footer-links a { text-decoration: none; }
.bcb-footer-links a:hover { text-decoration: underline; }
hr.bcb-footer-rule {
	border: 0;
	width: 100%;
	max-width: var(--wp--style--global--wide-size) !important;
	height: 1px;
	background: rgba(247, 243, 236, 0.18) !important;
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--20);
}

/* "Watch & listen" read-more styled as a button. */
.wp-block-read-more.bcb-read-more {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sunset);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	font-size: 1.1875rem;
	line-height: 1.2;
	text-decoration: none;
}
.wp-block-read-more.bcb-read-more:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }

/* Screen-reader text (block themes don't ship this). */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 781px) {
	.bcb-hero-art img { max-width: 300px; margin-inline: auto; display: block; }
}

/* Tighter pullquote. */
.wp-block-pullquote { padding: var(--wp--preset--spacing--30) 0; }
