/* KC Contact Access — keeps the existing button design; only adds what the new markup needs. */

/* DirectoryPress makes every span inside .number-main small (11px label style).
   The value span must keep the big number style the bare text node had before. */
.author-phone.style2 a .number-main span.kc-ca-value {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: 1px;
}

/* Same for the spans inside the masked number (dots + last digits). */
.author-phone.style2 a .number-main span.kc-ca-value span {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
}

/* Masked number "XXXXXXX220": one run of text in the button's own font; capital X matches the digit height. */
.kc-ca-masked {
	white-space: nowrap;
	/* Keep the mask exactly as written whatever the button's own text-transform is. */
	text-transform: none !important;
}

/* Mobile sticky bar: masked number in place of the "Call" label. */
.mobile-author-phone a .kc-ca-value {
	letter-spacing: 1px;
	white-space: nowrap;
}

/* Contact Access phone bar: three equal buttons that say what they do (Call / WhatsApp / Enquiry). */
.kc-ca-mobile-bar .mobile-author-btn-panel ul {
	display: flex !important;
	gap: 8px;
}
.kc-ca-mobile-bar .mobile-author-btn-panel li {
	flex: 1 1 auto !important; /* sized to their labels, spare room shared; very narrow screens shorten the number with "…" */
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	height: 50px !important; /* the theme gives the Call button its own, smaller height */
	margin: 0 !important;
}
.kc-ca-mobile-bar .mobile-author-btn-panel li a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 100% !important;
	padding: 0 6px !important;
	line-height: normal !important; /* the theme's 46px line height would push the two-line label apart */
	text-decoration: none;
}
.kc-ca-mobile-bar .kc-ca-mtext {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	line-height: 1.15;
}
.kc-ca-mobile-bar .kc-ca-mlabel {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	text-transform: none;
}
.kc-ca-mobile-bar .kc-ca-mtext .kc-ca-value {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0 !important;
	opacity: 0.85;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.kc-ca-mobile-bar .mobile-author-whatsapp a,
.kc-ca-mobile-bar .mobile-author-whatsapp a .kc-ca-mlabel {
	color: #fff;
}

.kc-ca-trigger.kc-ca-busy {
	cursor: progress;
	opacity: 0.75;
}

/* Briefly highlights the button that was resumed after login / profile completion. */
.kc-ca-trigger.kc-ca-resumed {
	animation: kc-ca-pulse 1.2s ease-out 2;
}

@keyframes kc-ca-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.55); }
	100% { box-shadow: 0 0 0 14px rgba(198, 40, 40, 0); }
}

/* Privacy notice under the sidebar contact buttons. */
.kc-ca-privacy {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #6b7280;
}

.kc-ca-privacy a {
	color: inherit;
	text-decoration: underline;
}

.kc-ca-note {
	margin: 6px 0 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #b42318;
}
