﻿/**
 * HB Denktank — deel- & uitnodigkanalen (v3)
 * Gecentreerd tegelcluster; geen volle-breedte spreiding.
 */

.hb-share {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.4;
}

.hb-share *,
.hb-share *::before,
.hb-share *::after {
	box-sizing: border-box;
}

.hb-share__panel {
	border-radius: 14px;
	padding: 24px 22px;
	margin: 0;
	max-width: 100%;
	text-align: left;
}

.hb-share--matrix .hb-share__panel {
	background: rgba(26, 36, 50, 0.45);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
	border-top: 4px solid var(--hb-share-accent, #139fd4);
}

.hb-share--light .hb-share__panel {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 15px rgba(29, 42, 59, 0.03);
}

.hb-share--bare .hb-share__panel {
	background: transparent;
	border: none;
	box-shadow: none;
	border-top: none;
	padding: 0;
}

/* Vraagstuk: rustig blok, tekst gecentreerd boven het cluster */
.hb-share--case .hb-share__panel {
	text-align: center;
	padding: 26px 24px 28px;
}

.hb-share--case .hb-share__kicker,
.hb-share--case .hb-share__intro {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.hb-share--home .hb-share__panel {
	padding: 12px 20px 28px;
}

.hb-share__kicker {
	display: block;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.55px;
	color: #64748b;
}

.hb-share__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	color: #ffffff;
}

.hb-share--light .hb-share__title {
	color: #1d2a3b;
}

.hb-share__intro {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.55;
	color: #94a3b8;
}

.hb-share--light .hb-share__intro {
	color: #64748b;
}

/* Gecentreerd cluster — geen 1fr over volle kaartbreedte */
.hb-share__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: flex-start;
	gap: 14px 18px;
	width: 100%;
	max-width: 26rem;
	margin: 0 auto;
	padding: 6px 0 2px;
	list-style: none;
}

.hb-share--home .hb-share__grid {
	max-width: 30rem;
	gap: 18px 22px;
	padding: 16px 8px 4px;
}

.hb-share__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	text-decoration: none;
	color: #94a3b8;
	font-size: 10px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	width: 4.25rem;
	flex: 0 0 4.25rem;
	max-width: 4.25rem;
	text-align: center;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.15s ease, color 0.15s ease;
}

.hb-share--home .hb-share__item {
	width: 4.75rem;
	flex: 0 0 4.75rem;
	max-width: 4.75rem;
	font-size: 10.5px;
	gap: 8px;
}

.hb-share__item:hover,
.hb-share__item:focus-visible {
	transform: translateY(-2px);
	color: #ffffff;
	outline: none;
}

.hb-share--light .hb-share__item:hover,
.hb-share--light .hb-share__item:focus-visible {
	color: #1d2a3b;
}

.hb-share__glyph {
	display: block;
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	max-width: 46px;
	max-height: 46px;
	border-radius: 11px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 22px 22px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
	flex: 0 0 46px;
	overflow: hidden;
}

.hb-share--home .hb-share__glyph {
	width: 50px;
	height: 50px;
	min-width: 50px;
	min-height: 50px;
	max-width: 50px;
	max-height: 50px;
	flex-basis: 50px;
	background-size: 24px 24px;
}

.hb-share__name {
	display: block;
	width: 100%;
	max-width: 100%;
	line-height: 1.2;
	word-break: break-word;
	hyphens: auto;
}

.hb-share__toast {
	display: none;
	margin: 16px auto 0;
	max-width: 26rem;
	padding: 12px 14px;
	background: rgba(19, 159, 212, 0.15);
	border: 1px solid rgba(19, 159, 212, 0.35);
	color: #e2e8f0;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

body .entry-content .hb-share .hb-share__glyph,
body .site-content .hb-share .hb-share__glyph,
body .hb-vs-shell .hb-share .hb-share__glyph {
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	min-height: 46px !important;
	max-width: 46px !important;
	max-height: 46px !important;
}

body .entry-content .hb-share--home .hb-share__glyph,
body .site-content .hb-share--home .hb-share__glyph,
body .hb-vs-shell .hb-share--home .hb-share__glyph {
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	min-height: 50px !important;
	max-width: 50px !important;
	max-height: 50px !important;
}

/* Kanaalkleuren + iconen */
.hb-share__item--wa .hb-share__glyph {
	background-color: #25d366;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.06 5.348 5.397.01 12.008.01c3.202.001 6.212 1.246 8.477 3.513 2.266 2.268 3.507 5.28 3.505 8.484-.004 6.657-5.34 11.997-11.953 11.997-2.005-.001-3.973-.502-5.713-1.457L0 24zm6.59-4.846c1.66.986 3.288 1.474 4.912 1.474 5.334 0 9.676-4.322 9.679-9.638.001-2.574-1.002-4.994-2.825-6.814-1.821-1.821-4.237-2.822-6.812-2.822-5.34 0-9.68 4.322-9.684 9.639-.001 1.714.469 3.391 1.357 4.877L2.125 21.99l4.522-1.836z'/%3E%3C/svg%3E");
}

.hb-share__item--sig .hb-share__glyph {
	background-color: #3a76f0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5zm.25-4.25c-.25-.4-.25-.85-.25-1.5V9.5c0-.55.45-1 1-1s1 .45 1 1V11c0 .4.1.65.25.9l1.5 2.5c.2.3.2.7 0 1-.2.3-.5.5-.9.5h-2.2c-.4 0-.7-.2-.9-.5l-1-1.65z'/%3E%3C/svg%3E");
}

.hb-share__item--tg .hb-share__glyph {
	background-color: #26a5e4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.417 15.181l-.397 5.584c.568 0 .814-.244 1.109-.537l2.663-2.545 5.518 4.041c1.012.564 1.725.267 1.998-.931L23.93 3.821c.321-1.496-.541-2.081-1.527-1.714l-21.29 8.151c-1.453.564-1.431 1.374-.247 1.741l5.443 1.693 12.643-7.911c.595-.394 1.136-.176.691.218z'/%3E%3C/svg%3E");
}

.hb-share__item--li .hb-share__glyph {
	background-color: #0a66c2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a-1.5 1.5 0 110-3 1.5 1.5 0 010 3zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.hb-share__item--fb .hb-share__glyph {
	background-color: #1877f2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.hb-share__item--ig .hb-share__glyph {
	background-color: #e1306c;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E");
}

.hb-share__item--pin .hb-share__glyph {
	background-color: #bd081c;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E");
}

.hb-share__item--x .hb-share__glyph {
	background-color: #111827;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.hb-share__item--mail .hb-share__glyph {
	background-color: #1d2a3b;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.hb-share__item--copy .hb-share__glyph {
	background-color: var(--hb-share-accent, #139fd4);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E");
}

/* Fellow-uitnodigen modal — kleuren via matrix-thema (CSS-variabelen op overlay) */
.hb-fellow-invite-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000030;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--hb-invite-scrim, rgba(29, 42, 59, 0.72));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hb-fellow-invite-overlay.is-open {
	display: flex;
}

body.hb-fellow-invite-open {
	overflow: hidden;
}

.hb-fellow-invite-dialog {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: min(90vh, 720px);
	overflow-y: auto;
	background: var(--hb-invite-dialog-bg, rgba(29, 42, 59, 0.96));
	border: 1px solid var(--hb-invite-border, rgba(255, 255, 255, 0.1));
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	border-top: 4px solid var(--hb-invite-primary, var(--hb-share-accent, #139fd4));
	padding: 28px 22px 24px;
	color: #f8fafc;
}

.hb-fellow-invite-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #f8fafc;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.hb-fellow-invite-close:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.hb-fellow-invite-dialog .hb-share--modal .hb-share__panel {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-top: none;
}

.hb-fellow-invite-dialog .hb-share__title,
.hb-fellow-invite-overlay .hb-share__title {
	color: #ffffff !important;
	font-size: 20px;
	margin-bottom: 10px;
}

.hb-fellow-invite-dialog .hb-share__intro,
.hb-fellow-invite-overlay .hb-share__intro {
	color: var(--hb-invite-glow, #e2e8f0) !important;
	margin-bottom: 20px;
}

.hb-fellow-invite-dialog .hb-share__name,
.hb-fellow-invite-overlay .hb-share__name {
	color: #cbd5e1 !important;
}

.hb-fellow-invite-dialog .hb-share__item,
.hb-fellow-invite-overlay .hb-share__item {
	color: #e2e8f0 !important;
}

.hb-fellow-invite-dialog .hb-share__item:hover,
.hb-fellow-invite-dialog .hb-share__item:focus-visible,
.hb-fellow-invite-overlay .hb-share__item:hover,
.hb-fellow-invite-overlay .hb-share__item:focus-visible {
	color: #ffffff !important;
}

.hb-fellow-invite-dialog .hb-share__item--copy .hb-share__glyph,
.hb-fellow-invite-overlay .hb-share__item--copy .hb-share__glyph {
	background-color: var(--hb-invite-primary, var(--hb-share-accent, #139fd4));
}

.hb-fellow-invite-dialog .hb-share__toast,
.hb-fellow-invite-overlay .hb-share__toast {
	background: var(--hb-invite-toast-bg, rgba(19, 159, 212, 0.22));
	border: 1px solid var(--hb-invite-toast-border, rgba(19, 159, 212, 0.45));
	color: #ffffff;
}

.hb-share--invite-page .hb-share__panel {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

.hb-share-open-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.hb-share-open-wrap a.hb-js-share-open {
	text-decoration: none !important;
}

.hb-share-open-wrap a.hb-mijn-btn,
.hb-share-open-wrap a.hb-tactical-btn {
	display: inline-block;
}

.hb-share__app-qr {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hb-share__app-qr-canvas-wrap {
	flex-shrink: 0;
	padding: 8px;
	background: #ffffff;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hb-share__app-qr-canvas {
	width: 148px;
	height: 148px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hb-share__app-qr-canvas img {
	display: block;
}

.hb-share__app-qr-copy strong {
	display: block;
	color: #ffffff;
	font-size: 14px;
	margin-bottom: 6px;
}

.hb-share__app-qr-copy p {
	margin: 0;
	color: #94a3b8;
	font-size: 12.5px;
	line-height: 1.45;
}

.hb-app-qr-card .hb-share__app-qr,
.hb-guide-card--app-qr .hb-share__app-qr {
	margin-top: 12px;
	padding-top: 0;
	border-top: none;
	justify-content: center;
}

.hb-app-qr-card .hb-share__app-qr-copy,
.hb-guide-card--app-qr .hb-share__app-qr-copy {
	text-align: center;
	max-width: 320px;
}

.hb-guide-card--app-qr .hb-share__app-qr-copy strong {
	color: #ffffff;
}

.hb-share-modal-body {
	min-height: 120px;
}

.hb-share-modal-loading,
.hb-share-modal-error {
	margin: 24px 8px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #e2e8f0;
}

.hb-share-modal-error {
	color: #fca5a5;
}

.hb-share-modal-retry-btn {
	display: inline-block;
	margin-top: 4px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(15, 22, 31, 0.45);
	color: #e2e8f0;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.hb-share-modal-retry-btn:hover {
	background: rgba(19, 159, 212, 0.18);
	border-color: rgba(19, 159, 212, 0.45);
}

@media (max-width: 767px) {
	.hb-fellow-invite-overlay {
		inset: auto;
		top: var(--hb-mobile-menu-top, 96px);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10000018;
		align-items: flex-start;
		justify-content: center;
		padding: 10px 12px 16px;
	}

	.hb-fellow-invite-dialog {
		max-width: min(100%, 360px);
		max-height: calc(100dvh - var(--hb-mobile-menu-top, 96px) - 26px);
		padding: 16px 14px 14px;
		border-radius: 12px;
	}

	.hb-fellow-invite-close {
		top: 6px;
		right: 8px;
		width: 32px;
		height: 32px;
		font-size: 20px;
	}

	.hb-fellow-invite-dialog .hb-share__title,
	.hb-fellow-invite-overlay .hb-share__title {
		font-size: 16px;
		margin-bottom: 6px;
		padding-right: 28px;
	}

	.hb-fellow-invite-dialog .hb-share__intro,
	.hb-fellow-invite-overlay .hb-share__intro {
		font-size: 12px;
		margin-bottom: 12px;
		line-height: 1.45;
	}

	.hb-fellow-invite-dialog .hb-share__grid,
	.hb-fellow-invite-overlay .hb-share__grid {
		gap: 10px 12px;
		max-width: 100%;
		padding-top: 2px;
	}

	.hb-fellow-invite-dialog .hb-share__item,
	.hb-fellow-invite-overlay .hb-share__item {
		width: 3.25rem;
		flex: 0 0 3.25rem;
		max-width: 3.25rem;
		font-size: 9px;
		gap: 5px;
	}

	.hb-fellow-invite-dialog .hb-share__glyph,
	.hb-fellow-invite-overlay .hb-share__glyph {
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
		max-width: 38px;
		max-height: 38px;
		flex-basis: 38px;
		background-size: 18px 18px;
		border-radius: 9px;
	}
}

@media (max-width: 480px) {
	.hb-share__app-qr {
		flex-direction: column;
		text-align: center;
	}

	.hb-share__grid,
	.hb-share--home .hb-share__grid {
		max-width: 100%;
		gap: 12px 14px;
	}

	.hb-share__item,
	.hb-share--home .hb-share__item {
		width: 3.75rem;
		flex: 0 0 3.75rem;
		max-width: 3.75rem;
	}
}
