/* Bosla feature chunk: base — conditional bundle (audit P1-A). */

.bosla-author-box {
	display: flex;
	gap: 1rem;
	margin-block: 2rem;
	padding: 1.25rem;
	background: var(--bosla-color-surface, #fff);
	border: 1px solid var(--bosla-color-border, #e2e5e9);
	border-radius: var(--bosla-radius, 14px);
}

.bosla-author-avatar { border-radius: 50%; flex: none; }
.bosla-author-name { margin: 0 0 0.3rem; font-size: 1.05rem; }
.bosla-author-bio { margin: 0; color: var(--bosla-color-muted, #646970); font-size: 0.92rem; }

.bosla-author-socials { list-style: none; display: flex; gap: 0.6rem; margin: 0.6rem 0 0; padding: 0; }
.bosla-author-socials a { font-size: 0.82rem; font-weight: 700; text-decoration: none; color: var(--bosla-color-accent, #3858e9); }

.bosla-social-counter { list-style: none; margin: 0; padding: 0; }
.bosla-social-counter li { border-block-end: 1px solid var(--bosla-color-border, #e2e5e9); }
.bosla-social-counter a { display: flex; justify-content: space-between; padding: 0.6rem 0.1rem; text-decoration: none; color: inherit; font-weight: 600; font-size: 0.9rem; }
.bosla-sc-count { color: var(--bosla-color-muted, #646970); }

.bosla-tabbed-tabs { display: flex; gap: 0.25rem; margin-block-end: 0.75rem; }
.bosla-tabbed-tab { flex: 1; border: 1px solid var(--bosla-color-border, #e2e5e9); background: none; border-radius: 999px; padding: 0.35rem 0.4rem; font-size: 0.78rem; font-weight: 700; cursor: pointer; color: inherit; }
.bosla-tabbed-tab[aria-selected="true"] { background: var(--bosla-color-accent, #3858e9); color: #fff; border-color: var(--bosla-color-accent, #3858e9); }
.bosla-tabbed-pane { list-style: none; margin: 0; padding: 0; }
.bosla-tabbed-pane li { padding-block: 0.5rem; border-block-end: 1px solid var(--bosla-color-border, #e2e5e9); font-size: 0.9rem; }
.bosla-tabbed-pane a { text-decoration: none; color: inherit; }

.bosla-inline-related {
	display: flex;
	margin-block: 1.5rem;
	border: 1px solid var(--bosla-color-border, #e2e5e9);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.bosla-inline-related img { inline-size: 7rem; block-size: auto; object-fit: cover; flex: none; }
.bosla-inline-related-text { padding: 0.8rem 1rem; display: grid; }
.bosla-inline-related-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--bosla-color-accent, #3858e9); }
.bosla-inline-related-title { font-weight: 700; font-size: 0.95rem; }

.bosla-smart-list { margin-block: 2rem; display: grid; gap: 1.25rem; }
.bosla-smart-item { display: flex; gap: 1rem; }
.bosla-smart-num {
	flex: none;
	inline-size: 2.2rem;
	block-size: 2.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bosla-color-accent, #3858e9);
	color: #fff;
	font-weight: 800;
}
.bosla-smart-title { margin: 0.2rem 0 0.3rem; font-size: 1.05rem; }
.bosla-smart-text { margin: 0; color: var(--bosla-color-muted, #646970); }

.bosla-ai-summary {
	margin-block-end: 1.5rem;
	padding: 1.25rem;
	background: var(--bosla-accent-soft, rgb(56 88 233 / 0.07));
	border: 1px solid var(--bosla-color-border, #e2e5e9);
	border-radius: var(--bosla-radius, 14px);
}

.bosla-ai-summary-title { margin: 0 0 0.5rem; font-size: 1rem; }
.bosla-ai-summary ul { margin: 0; padding-inline-start: 1.2rem; }
.bosla-ai-summary-note { display: block; margin-block-start: 0.5rem; font-size: 0.78rem; color: var(--bosla-color-muted, #646970); }

.bosla-ad-slot--sticky_bottom {
	position: fixed;
	inset-block-end: 0;
	inset-inline: 0;
	z-index: 9980;
	display: flex;
	justify-content: center;
	padding: 0.4rem;
	background: var(--bosla-color-surface, #fff);
	border-block-start: 1px solid var(--bosla-color-border, #e2e5e9);
}

.bosla-disclosure {
	font-size: 0.82rem;
	color: var(--bosla-color-muted, #646970);
	border: 1px dashed var(--bosla-color-border, #e2e5e9);
	border-radius: 8px;
	padding: 0.6rem 0.9rem;
}

.bosla-episode { margin-block-end: 1.5rem; padding: 1rem; background: var(--bosla-color-surface, #fff); border: 1px solid var(--bosla-color-border, #e2e5e9); border-radius: var(--bosla-radius, 14px); }
.bosla-episode-label { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-block-end: 0.5rem; }
.bosla-episode-notes { font-size: 0.85rem; color: var(--bosla-color-muted, #646970); }
.bosla-episodes { list-style: none; margin: 0; padding: 0; }
.bosla-episodes li { padding-block: 0.55rem; border-block-end: 1px solid var(--bosla-color-border, #e2e5e9); display: grid; }
.bosla-episodes a { text-decoration: none; color: inherit; font-weight: 600; font-size: 0.9rem; }
.bosla-episode-date { font-size: 0.78rem; color: var(--bosla-color-muted, #646970); }

.bosla-a11y :focus-visible {
	outline: 3px solid var(--bosla-color-accent, #3858e9) !important;
	outline-offset: 2px;
}

 * 0.15: article extras, new widgets, custom ad positions, style extras.
 * ------------------------------------------------------------------ */

.bosla-subtitle {
	color: var(--bosla-color-muted, #646970);
	font-size: 1.12rem;
	margin-block: 0.25rem 0.75rem;
}

.bosla-source {
	font-size: 0.85rem;
	color: var(--bosla-color-muted, #646970);
	border-block-start: 1px solid var(--bosla-color-border, #e2e5e9);
	padding-block-start: 0.75rem;
}

.bosla-editor-pick {
	position: relative;
}

.bosla-editor-pick::before {
	content: "★";
	position: absolute;
	inset-block-start: 0.5rem;
	inset-inline-end: 0.5rem;
	z-index: 2;
	inline-size: 1.6rem;
	block-size: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f5a623;
	color: #fff;
	font-size: 0.9rem;
}

.bosla-about-img { inline-size: 100%; border-radius: var(--bosla-radius, 14px); margin-block-end: 0.6rem; }
.bosla-about-text { color: var(--bosla-color-muted, #646970); font-size: 0.92rem; }
.bosla-about-btn, .bosla-cta-btn {
	display: inline-block;
	margin-block-start: 0.5rem;
	background: var(--bosla-color-accent, #3858e9);
	color: #fff;
	border-radius: var(--bosla-btn-radius, var(--bosla-radius, 10px));
	padding: 0.5rem 1.3rem;
	font-weight: 700;
	text-decoration: none;
}

.bosla-cta-text { color: var(--bosla-color-muted, #646970); font-size: 0.92rem; }

.bosla-cat-posts { list-style: none; margin: 0; padding: 0; }
.bosla-cat-posts li { display: flex; gap: 0.6rem; align-items: center; padding-block: 0.5rem; border-block-end: 1px solid var(--bosla-color-border, #e2e5e9); }
.bosla-cat-posts img { inline-size: 3.6rem; block-size: 2.7rem; object-fit: cover; border-radius: 8px; flex: none; }
.bosla-cat-posts a { text-decoration: none; color: inherit; font-weight: 600; font-size: 0.92rem; }

/* Card style variants (design.card_style token-driven). */
.bosla-card-style-target, .bosla-post-card, article.bosla-card {
	box-shadow: var(--bosla-card-shadow, initial);
	border: var(--bosla-card-border, initial);
}

/* Image hover variants. */
.bosla-img-hover-fade .bosla-post-card img { transition: opacity 0.25s ease; }
.bosla-img-hover-fade .bosla-post-card:hover img { opacity: 0.75; }
.bosla-img-hover-none .bosla-post-card img { transition: none; }

/* Custom ad positions. */
.bosla-ad-pos {
	margin-block: 1.25rem;
	text-align: center;
	overflow: hidden;
}

.bosla-ad-pos--sidebar_top, .bosla-ad-pos--after_title {
	margin-block: 0.75rem;
}
