/* Banana SEO — لبنات المحتوى (تتبع هوية Banana Pixels) */

:root {
	--bseo-banana: #F5D74E;
	--bseo-ink: #0B0B0B;
	--bseo-peel: #FFF4CC;
	--bseo-paper: #FFFDF5;
	--bseo-screen: #3DDC84;
}

/* ١) الإجابة المختصرة */
.bp-answer {
	background: var(--bseo-peel);
	border: 2px solid var(--bseo-ink);
	border-radius: 12px;
	box-shadow: 4px 4px 0 var(--bseo-ink);
	padding: 1rem 1.15rem;
	margin: 0 0 1.6rem;
}
.bp-answer-badge {
	display: inline-block;
	background: var(--bseo-ink);
	color: var(--bseo-banana);
	font-weight: 800;
	font-size: .8rem;
	padding: .15rem .65rem;
	border-radius: 99px;
	margin-bottom: .5rem;
}
.bp-answer p { margin: 0; font-size: 1.02rem; line-height: 1.85; font-weight: 500; }

/* ٢) جدول المحتويات */
.bp-toc {
	background: #fff;
	border: 2px solid var(--bseo-ink);
	border-radius: 12px;
	padding: .9rem 1.1rem;
	margin: 0 0 1.6rem;
	max-width: 460px;
}
.bp-toc-t { font-weight: 800; margin-bottom: .4rem; }
.bp-toc ol { margin: 0; padding-inline-start: 1.2rem; }
.bp-toc li { margin: .2rem 0; }
.bp-toc a { text-decoration: none; font-weight: 600; }
.bp-toc a:hover { text-decoration: underline; }

/* الجداول المشتركة */
.bp-tablewrap { overflow-x: auto; margin: 0 0 1.6rem; }
.bp-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 2px solid var(--bseo-ink);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-size: .95rem;
}
.bp-table caption {
	caption-side: top;
	text-align: start;
	font-weight: 800;
	font-size: 1.05rem;
	padding: 0 .15rem .5rem;
}
.bp-table thead th {
	background: var(--bseo-ink);
	color: var(--bseo-banana);
	font-weight: 800;
	padding: .6rem .8rem;
	text-align: start;
	white-space: nowrap;
}
.bp-table tbody th, .bp-table tbody td { padding: .6rem .8rem; border-top: 1px solid #eee; text-align: start; }
.bp-table tbody tr:nth-child(even) { background: var(--bseo-paper); }
.bp-table .bp-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-specs tbody th { width: 34%; background: var(--bseo-paper); font-weight: 700; }
.bp-table-note { color: #777; font-size: .8rem; margin: .4rem 0 0; }

/* الأسعار والمقارنة */
.bp-table tr.bp-best td { background: #FDF7DF; }
.bp-table tr.bp-current td { background: var(--bseo-peel); }
.bp-badge-best, .bp-badge-here {
	display: inline-block;
	font-size: .68rem;
	font-weight: 800;
	padding: .05rem .5rem;
	border-radius: 99px;
	vertical-align: middle;
	white-space: nowrap;
}
.bp-badge-best { background: var(--bseo-screen); color: var(--bseo-ink); }
.bp-badge-here { background: var(--bseo-ink); color: #fff; }
.bp-mini-btn {
	display: inline-block;
	background: var(--bseo-banana);
	color: var(--bseo-ink) !important;
	border: 2px solid var(--bseo-ink);
	border-radius: 8px;
	font-weight: 800;
	font-size: .8rem;
	padding: .2rem .7rem;
	text-decoration: none;
	white-space: nowrap;
}
.bp-mini-btn:hover { box-shadow: 2px 2px 0 var(--bseo-ink); transform: translate(-1px, -1px); }
.bp-compare-sec { margin: 2.2rem 0; }
.bp-compare-t { font-size: 1.3rem; font-weight: 900; margin-bottom: .9rem; }

/* ٤) سؤال وجواب */
.bp-qa { margin: 0 0 1.6rem; }
.bp-qa-t { font-size: 1.25rem; font-weight: 900; margin-bottom: .8rem; }
.bp-qa-section { font-weight: 900; margin: 1.2rem 0 .5rem; font-size: 1.05rem; }
.bp-qa-item {
	border: 2px solid var(--bseo-ink);
	border-radius: 10px;
	background: #fff;
	margin: 0 0 .6rem;
	overflow: hidden;
}
.bp-qa-item summary {
	cursor: pointer;
	font-weight: 700;
	padding: .7rem 1rem;
	list-style: none;
	position: relative;
	padding-inline-end: 2.2rem;
}
.bp-qa-item summary::-webkit-details-marker { display: none; }
.bp-qa-item summary::after {
	content: '+';
	position: absolute;
	inset-inline-end: .9rem;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 900;
	font-size: 1.1rem;
}
.bp-qa-item[open] summary { background: var(--bseo-peel); }
.bp-qa-item[open] summary::after { content: '−'; }
.bp-qa-a { padding: .2rem 1rem .8rem; }
.bp-qa-a p { margin: .4rem 0 0; line-height: 1.85; }

/* ٥) الخطوات */
.bp-howto {
	border: 2px dashed var(--bseo-ink);
	border-radius: 12px;
	background: var(--bseo-paper);
	padding: 1rem 1.2rem;
	margin: 0 0 1.6rem;
}
.bp-howto-t { margin: 0 0 .7rem; font-size: 1.1rem; font-weight: 900; }
.bp-howto-steps { margin: 0; padding: 0; list-style: none; counter-reset: bp-step; }
.bp-howto-steps li {
	counter-increment: bp-step;
	position: relative;
	padding: .35rem 0;
	padding-inline-start: 2.4rem;
	margin: 0 0 .35rem;
}
.bp-howto-steps li::before {
	content: counter(bp-step);
	position: absolute;
	inset-inline-start: 0;
	top: .35rem;
	width: 1.7rem;
	height: 1.7rem;
	background: var(--bseo-banana);
	border: 2px solid var(--bseo-ink);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-weight: 900;
	font-size: .85rem;
}
.bp-howto-steps strong { display: block; }
.bp-howto-steps span { color: #444; font-size: .92rem; line-height: 1.7; }

/* ٧) المسرد */
.bp-glossary dl { margin: 0; }
.bp-glossary dt { font-weight: 800; margin-top: .8rem; }
.bp-glossary dd { margin: .15rem 0 0; color: #444; }
a.bp-gloss {
	text-decoration: none;
	border-bottom: 2px dotted var(--bseo-ink);
	font-weight: 600;
	color: inherit;
}
a.bp-gloss:hover { background: var(--bseo-peel); }

/* ٨) اقرأ أيضاً */
.bp-further {
	background: #fff;
	border: 2px solid var(--bseo-ink);
	border-radius: 12px;
	box-shadow: 4px 4px 0 var(--bseo-ink);
	padding: .9rem 1.1rem;
	margin: 1.6rem 0;
}
.bp-further-t { font-weight: 900; margin-bottom: .5rem; }
.bp-further ul { margin: 0; padding: 0; list-style: none; }
.bp-further li { margin: .3rem 0; }
.bp-further a { font-weight: 700; text-decoration: none; }
.bp-further a:hover { text-decoration: underline; }

/* استجابة */
@media (max-width: 640px) {
	.bp-table { font-size: .85rem; }
	.bp-table thead th, .bp-table tbody td, .bp-table tbody th { padding: .45rem .55rem; }
	.bseo-checks { columns: 1; }
}
