/* Shortcode: Author styles */
.bcbt-author-image.post-author-ava {
	width: 5rem;
}

.bcbt-author-name p {
    margin-bottom:0;
}

/* Blog Post Styles */
.single #page-content .post_image {
    margin-bottom:2rem;
}

/* Gutenberg Block: Inzichten */
.bcbt-insights {
	background-color:#f9f4e9;
	padding:1rem;
	margin-bottom:2rem;
}

.bcbt-insights__header {
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:1rem;
}

.bcbt-insights__title {
	margin-top:0;
	margin-bottom:0.75rem;
}

.bcbt-insights__badge {
	font-size:0.875rem;
	background:#efe7d6;
	padding:0.25rem 0.5rem;
	border-radius:999px;
	white-space:nowrap;
	display: inline-block;
}

.bcbt-insights__badge .fa-clock {
	margin-right:0.35rem;
}

/* Gutenberg Block: FAQ */
.bcbt-faq {
	margin-bottom:2rem;
}

.bcbt-faq h2.bcbt-faq__title {
	margin:0 0 1rem 0;
	font-size:1.75rem;
	line-height:1.25;
}

.bcbt-faq .bcbt-faq__items .wp-block-bcbt-faq {
	display:grid;
	gap:1rem;
}

.bcbt-faq .bcbt-faq__items .bcbt-faq__item {
	border:none;
	background:#fff;
	overflow:hidden;
}

/* Reset native marker and style header row */
.bcbt-faq .bcbt-faq__question {
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:1rem 1.25rem;
	margin:0;
	font-weight:700;
	font-size:18px;
	line-height:1.5;
	cursor:pointer;
	list-style:none;
}
.bcbt-faq .bcbt-faq__question::-webkit-details-marker { display:none; }

/* Chevron indicator */
.bcbt-faq .bcbt-faq__question::after {
	content:'\203A';
	display:inline-block;
	font-size:1.8rem;
	line-height:1;
	transform:rotate(0deg);
	transition:transform .2s ease;
}
.bcbt-faq .bcbt-faq__item[open] .bcbt-faq__question::after {
	transform:rotate(90deg);
}

.bcbt-faq .bcbt-faq__answer {
	padding:1.25rem;
	border-top:1px solid #e6e6e6;
}

/* Gutenberg Block: Stappenplan (Step Guide) */
.bcbt-stepguide {
	margin:2rem 0;
	padding:1.5rem 1.5rem;
	background:#eef4f7;
	border-radius:16px;
}
.bcbt-stepguide__title {
	margin:0 0 0.5rem 0;
	font-size:1.75rem;
	line-height:1.25;
}
.bcbt-stepguide__description {
	margin:0 0 1rem 0;
	color:#475569;
}
.bcbt-stepguide__list {
	list-style:none !important;
	list-style-type:none !important;
	margin:1.5rem 0 0 0;
	padding:0;
	display:grid;
	gap:1.5rem;
	counter-reset: bcbt-stepguide;
}
.bcbt-stepguide__item {
	position:relative;
	background:#fff;
	border-radius:16px;
	padding:1rem 1.25rem;
	counter-increment: bcbt-stepguide;
	box-shadow:0 2px 8px rgba(0,0,0,0.05);
}
.bcbt-stepguide__item::after {
	content: '';
    position: absolute;
    left: 2.2rem;
    bottom: -1.5rem;
    height: 1.5rem;
    width: 3px;
	background-color:var(--bcbt-stepguide-line-color, #000000);
}
.bcbt-stepguide__item:last-child::after {
	content:none;
}
.bcbt-stepguide__item-header {
	display:flex;
	align-items:center;
	gap:0.75rem;
	margin-bottom:0.5rem;
}
.bcbt-stepguide__item-number {
	width:32px;
	height:32px;
	min-width:32px;
	min-height:32px;
	flex-shrink:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	background:#000000;
	color:#fff;
	border-radius:50%;
	font-weight:700;
	font-size:14px;
}
.bcbt-stepguide__item-number::before {
	content: counter(bcbt-stepguide);
}
.bcbt-stepguide__item-title {
	margin:0;
	font-size:1.125rem;
	font-weight:700;
	line-height:1.3;
}
.bcbt-stepguide__item-content {
	margin:0;
}
.bcbt-stepguide__item-content .wp-block-image img {
	border-radius:0;
	display:block;
	max-width:100%;
	height:auto;
}

/* Gutenberg Block: Banner */
.bcbt-banner {
	background:#f5f6f7;
	border-radius:12px;
	padding:24px;
	margin:2rem 0;
}

.bcbt-banner__inner {
	display:flex;
	align-items:center;
	gap:28px;
}

.bcbt-banner__media {
	flex:0 0 auto;
}
.bcbt-banner__image {
	display:block;
	width:100%;
	max-width:240px;
	max-height:240px;
	height:auto;
    border-radius:var(--bcbt-banner-img-radius, 16px);
}

.bcbt-banner__body {
	flex:1 1 auto;
}
.bcbt-banner__title {
	margin:0 0 12px 0;
	font-size:clamp(1.5rem, 2.2vw, 2rem);
	line-height:1.2;
}
.bcbt-banner__content {
	margin:0 0 16px 0;
}

/* Banner button (theme independent) */
.bcbt-banner-btn {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	font-weight:700;
	text-decoration:none;
	background:var(--bcbt-banner-btn-bg, #FF6B35);
	color:var(--bcbt-banner-btn-text, #FFFFFF) !important;
	border:0;
	border-radius:var(--bcbt-banner-btn-radius, 16px);
	padding:0.9em 1.5em;
	line-height:1.2;
	transition:background-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.bcbt-banner-btn:hover,
.bcbt-banner-btn:focus,
.bcbt-banner-btn:active {
	background:var(--bcbt-banner-btn-bg-active, #E55720);
	color:var(--bcbt-banner-btn-text, #FFFFFF) !important;
	outline:none;
	box-shadow:none;
	text-decoration:none;
}

/* Gutenberg Block: Referenties */
.bcbt-references {
	margin:2rem 0;
	padding: 1rem 1.5rem 1rem 1.5rem;
}
.bcbt-references__title {
	margin:0 0 1rem 0;
	font-size:1.75rem;
	line-height:1.25;
}
.bcbt-references__content ul,
.bcbt-references__content ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 1.5rem;
}
.bcbt-references__content li {
	margin-bottom: 0.5rem;
}
.bcbt-references__content li:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.bcbt-banner {
		padding:20px;
	}
	.bcbt-banner__inner {
		flex-direction:column;
		text-align:center;
	}
	.bcbt-banner__media img {
		max-width: 240px;
		max-height: 240px;
	}
}

/* Gutenberg Block: Table of Contents */
#bcbt-toc {
    background:#eef4f7;
    padding:1.25rem 1.25rem;
    border-radius:16px;
    margin:2rem 0;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__title {
    margin:0 0 1rem 0;
	padding:0;
    line-height:1.2;
    font-weight:800;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list {
    list-style:none;
    margin:0;
    padding:0;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list .bcbt-toc__item {
    margin:0;
    border-bottom:1px solid #e5e7eb;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list .bcbt-toc__item:last-child {
    border-bottom:none;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list .bcbt-toc__link {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:0.3rem 0.25rem;
    text-decoration:none;
    color:#0f172a;
	text-decoration: none !important;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list .bcbt-toc__link::after {
    content:'\203A'; /* single right-pointing angle */
    display:inline-block;
    transform:rotate(0deg);
    font-size:1.25rem;
    color:#0f172a;
}
#bcbt-toc .bcbt-toc__inner .bcbt-toc__list .bcbt-toc__link:hover {
    text-decoration:none;
}

/* Sticky TOC bar */
.bcbt-toc-sticky {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none; /* enable click-through except on children */
}
.bcbt-toc-sticky.is-visible { pointer-events: auto; }

.bcbt-toc-sticky__inner {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none; /* let children receive events */
}

.bcbt-toc-sticky__bar {
    width: 100%;
    display: block;
    background: #eef4f7;
    color: #0f172a;
    border: 1px solid #e5e7eb;
	border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: .65rem 1rem;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
	text-align: center;
	font-size: 1rem;
    line-height: 1rem;
}

.bcbt-toc-sticky__bar svg {
	vertical-align: middle;
	margin-bottom: 2px;
	margin-right: 5px;
}

.bcbt-toc-sticky__panel {
	opacity: 0;
	transform: translateY(-8px);
	visibility: hidden;
	max-height: 0;
	overflow: hidden;
	transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease;
	background: #eef4f7;
	border-bottom: 1px solid #e5e7eb;
	box-shadow: 0 6px 16px rgba(0,0,0,0.08);
	padding: 0 1rem 0 1rem;
	pointer-events: auto;
	border-radius: 12px;
	margin-top:15px;
}

.bcbt-toc-sticky.is-open #bcbt-toc-sticky-panel {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	max-height: 70vh;
}

.bcbt-toc-sticky #bcbt-toc-sticky-panel .bcbt-toc__list {
	margin: 0;
	padding: 8px 0;
}

.bcbt-toc-sticky #bcbt-toc-sticky-panel .bcbt-toc__item {
	border-bottom: 1px solid #e5e7eb;
}

.bcbt-toc-sticky #bcbt-toc-sticky-panel .bcbt-toc__item:last-child {
	border-bottom: 0;
}

.bcbt-toc-sticky #bcbt-toc-sticky-panel .bcbt-toc__link {
	padding: .4rem;
	color:#0f172a;
	position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    text-decoration:none;
	text-decoration: none !important;
	font-size: 1rem;
}

.bcbt-toc-sticky #bcbt-toc-sticky-panel .bcbt-toc__link::after {
    content:'\203A'; /* single right-pointing angle */
    display:inline-block;
    transform:rotate(0deg);
    font-size:1.25rem;
    color:#0f172a;
}

/* Shortcode: About the Author */
.bcbt-about-author {
    background:#eef4f7;
    border-radius:16px;
    padding:24px;
    margin:2rem 0;
}
.bcbt-about-author__title {
    margin:0 0 1rem 0;
	font-size: 1.8rem;
    line-height:1.2;
    font-weight:800;
}
.bcbt-about-author__inner {
    display:grid;
    grid-template-columns: 3fr 1fr;
    gap:24px;
}
.bcbt-about-author__name {
    font-size:1.25rem;
    font-weight:700;
    margin:0 0 0.15rem 0;
}
.bcbt-about-author__role {
    color:#475569; /* slate-ish */
    margin:0 0 0.75rem 0;
	font-style: italic;
}
.bcbt-about-author__bio p:last-child {
    margin-bottom:0;
}
.bcbt-about-author__avatar {
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
}
.bcbt-about-author__avatar-img {
    width:160px;
    height:160px;
	max-width: 160px;
	max-height: 160px;
    border-radius:50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top center;
	display: block;
}
.bcbt-author-social-icons {
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:1rem;
}
.bcbt-author-social-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:color 0.2s ease, transform 0.2s ease;
}
.bcbt-author-social-icon:hover {
    transform:translateY(-2px);
}
.bcbt-author-social-icon .dashicons {
    width:24px;
    height:24px;
    font-size:24px;
}
.bcbt-author-social-icon .bcbt-icon-x {
    width:18px;
    height:18px;
    fill:currentColor;
}
@media (max-width: 768px) {
    .bcbt-about-author__inner {
        grid-template-columns: 1fr;
		gap: 14px;
    }
    .bcbt-about-author__bio {
        order: 2;
    }
    .bcbt-about-author__avatar {
        order: 1;
        justify-content:center;
    }
    .bcbt-about-author__avatar-img {
        width:96px;
        height:96px;
        max-width:96px;
        max-height:96px;
    }
	.bcbt-author-social-icons {
		justify-content: center;
	}
	.bcbt-about-author__title {
		text-align: center;
		margin-bottom: 0;
	}
	.bcbt-about-author__name {
		text-align: center;
	}
	.bcbt-about-author__role {
		text-align: center;
	}
}