/**
 * AI Visibility Booster — public styles (expert card + FAQ accordion).
 * RTL-first, LTR-safe. No JavaScript required.
 */

/* ---------- Expert card ---------- */
.avb-card {
	max-width: 560px;
	margin: 24px auto;
	padding: 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0b6e5f 0%, #0f8a74 55%, #14907a 100%);
	color: #f2fbf8;
	box-shadow: 0 12px 32px rgba(11, 110, 95, 0.28);
	font-family: inherit;
	line-height: 1.9;
	direction: rtl;
}

.avb-card__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.avb-card__avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	color: #0b6e5f;
	background: #eafff9;
	border: 3px solid rgba(255, 255, 255, 0.65);
}

.avb-card__identity {
	flex: 1 1 auto;
	min-width: 0;
}

.avb-card__name {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.5;
}

.avb-card__title {
	margin: 0 0 6px;
	font-size: 14px;
	opacity: 0.92;
}

.avb-card__stars {
	margin: 0;
	font-size: 14px;
}

.avb-star {
	color: #f6c344;
	letter-spacing: 2px;
	font-size: 17px;
}

.avb-rating-text {
	opacity: 0.9;
	font-size: 13px;
}

.avb-card__meta {
	list-style: none;
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.10);
}

.avb-card__meta li {
	margin: 6px 0;
	font-size: 14px;
}

.avb-card__meta li strong {
	color: #ffffff;
	font-weight: 700;
}

.avb-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.avb-chip {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #f2fbf8;
	white-space: nowrap;
}

.avb-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.avb-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	direction: rtl;
}

.avb-btn:hover,
.avb-btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
	color: #fff;
}

.avb-btn--tel {
	background: #ffffff;
	color: #0b6e5f;
}

.avb-btn--book {
	background: #f6c344;
	color: #123c34;
}

/* ---------- FAQ accordion ---------- */
.avb-faq {
	max-width: 720px;
	margin: 24px auto;
	direction: rtl;
}

.avb-faq__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
	color: #0b6e5f;
}

.avb-faq__item {
	background: #ffffff;
	border: 1px solid #d9ece7;
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.avb-faq__item[open] {
	box-shadow: 0 6px 18px rgba(11, 110, 95, 0.12);
	border-color: #9fd6c9;
}

.avb-faq__q {
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 700;
	color: #0f5347;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-inline-end: 42px;
}

.avb-faq__q::-webkit-details-marker {
	display: none;
}

.avb-faq__q::after {
	content: "+";
	position: absolute;
	inset-inline-end: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 700;
	color: #14907a;
	line-height: 1;
}

.avb-faq__item[open] .avb-faq__q::after {
	content: "−";
}

.avb-faq__a {
	padding: 0 18px 16px;
	font-size: 14.5px;
	line-height: 2;
	color: #2b3f3b;
}

.avb-faq__a p {
	margin: 0 0 10px;
}

.avb-faq__a p:last-child {
	margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
	.avb-card {
		padding: 18px;
		border-radius: 12px;
	}

	.avb-card__head {
		flex-direction: column;
		text-align: center;
	}

	.avb-card__actions {
		flex-direction: column;
	}

	.avb-btn {
		text-align: center;
	}
}
