/* نتائج الكنيست الـ26 */
.k26-page {
	max-width: 980px;
	margin: 0 auto;
	padding: 1.25rem 1rem 3.5rem;
	font-family: Cairo, sans-serif;
	color: #0f172a;
}

.k26-kicker {
	margin: 0 0 0.25rem;
	color: #e3000f;
	font-size: 0.78rem;
	font-weight: 800;
}

.k26-hero h1,
.k26-page h2,
.k26-page h3 {
	margin: 0 0 0.45rem;
	font-weight: 900;
}

.k26-hero__row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.3rem;
	margin: 0 0 0.85rem;
}

.k26-hero__row h1 {
	margin: 0;
}

.k26-fresh {
	margin: 0;
	color: #e3000f;
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1.35;
}

@media (min-width: 720px) {
	.k26-hero__row {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 1rem;
	}

	.k26-fresh {
		font-size: 1.25rem;
		white-space: nowrap;
	}
}

.k26-note,
.k26-negev__line,
.k26-negev__rest {
	line-height: 1.75;
	font-weight: 700;
}

.k26-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
}

.k26-fact,
.k26-negev__box {
	border-radius: 1rem;
	padding: 0.9rem 0.95rem 0.85rem;
	color: #fff;
}

.k26-fact__k,
.k26-negev__label {
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.4;
}

.k26-fact__n,
.k26-negev__n {
	display: block;
	margin: 0.2rem 0 0.15rem;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 0;
}

.k26-fact__n {
	font-size: 1.65rem;
}

.k26-fact__s,
.k26-negev__s {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.k26-fact--turn { background: #e3000f; }
.k26-fact--valid { background: #0f2744; }
.k26-fact--until { background: #9a3412; }

.k26-negev {
	margin: 1rem 0 0.2rem;
}

.k26-negev__line,
.k26-negev__rest {
	margin: 0.35rem 0;
	color: #334155;
	font-size: 0.92rem;
}

.k26-negev__when {
	margin: 0 0 0.75rem;
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 600;
}

.k26-negev__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

.k26-negev__n {
	font-size: 2.35rem;
}

.k26-negev__box--raam { background: #0d5c32; }
.k26-negev__box--joint { background: #1e3a8a; }

@media (max-width: 720px) {
	.k26-facts,
	.k26-negev__grid {
		grid-template-columns: 1fr;
	}
}

.k26-page section {
	margin: 1.4rem 0;
}

.k26-camps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: start;
}

.k26-camp {
	border: 2px solid #e2e8f0;
	border-radius: 1rem;
	background: #fff;
	padding: 0.7rem;
	transition: background 0.16s ease, box-shadow 0.16s ease;
}

.k26-camp--netanyahu { border-color: #9a3412; }
.k26-camp--change { border-color: #0f2744; }
.k26-camp--arab { border-color: #0d5c32; }

.k26-camp__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
}

.k26-camp__head h3 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 900;
}

.k26-camp__total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	min-width: 2.4rem;
}

.k26-camp__sum {
	font-size: 1.8rem;
	font-weight: 900;
	line-height: 1;
}

.k26-camp--netanyahu .k26-camp__sum { color: #9a3412; }
.k26-camp--change .k26-camp__sum { color: #0f2744; }
.k26-camp--arab .k26-camp__sum { color: #0d5c32; }

.k26-camp__mark {
	min-height: 1em;
	color: #e3000f;
	font-size: 0.72rem;
	font-weight: 800;
}

.k26-camp.is-enough {
	box-shadow: inset 0 0 0 2px #e3000f;
}

.k26-camp.is-enough .k26-camp__sum { color: #e3000f; }

.k26-camp.is-over { background: #f8fafc; }

.k26-camp__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-height: 2.4rem;
}

.k26-camp.is-empty .k26-camp__body { min-height: 2.4rem; }

.k26-camp-reset {
	margin-top: 0.75rem;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

@media (max-width: 800px) {
	.k26-camps { grid-template-columns: 1fr; }
}

.k26-seat,
.k26-place {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.95rem;
	padding: 0.75rem 0.85rem;
}

.k26-seat {
	position: relative;
	cursor: grab;
	touch-action: none;
	user-select: none;
	border-inline-start-width: 5px;
	border-inline-start-style: solid;
}

.k26-seat[data-home="netanyahu"] {
	border-inline-start-color: #9a3412;
	--k26-wash: #fff1e8;
	--k26-glow: rgba(154, 52, 18, 0.5);
}
.k26-seat[data-home="change"] {
	border-inline-start-color: #0f2744;
	--k26-wash: #e8eef6;
	--k26-glow: rgba(15, 39, 68, 0.45);
}
.k26-seat[data-home="arab"] {
	border-inline-start-color: #0d5c32;
	--k26-wash: #e7f6ee;
	--k26-glow: rgba(13, 92, 50, 0.45);
}

.k26-seat {
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.k26-seat.is-hot,
.k26-seat:focus-visible {
	background: var(--k26-wash, #f8fafc);
	box-shadow: 0 0 0 2px var(--k26-glow, rgba(15, 23, 42, 0.2));
	outline: none;
}

@media (hover: hover) and (pointer: fine) {
	.k26-seat:hover:not(.is-dragging) {
		background: var(--k26-wash, #f8fafc);
		box-shadow: 0 0 0 2px var(--k26-glow, rgba(15, 23, 42, 0.2));
	}
}

.k26-seat.is-dragging {
	opacity: 0.28;
	pointer-events: none;
}

.k26-seat-ghost {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 80;
	margin: 0;
	pointer-events: none;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
	cursor: grabbing;
}

.k26-seat.is-picked {
	outline: 2px solid #e3000f;
}

.k26-seat.is-settling {
	animation: k26-seat-in 0.22s ease;
}

@keyframes k26-seat-in {
	from { transform: translateY(-12px); }
	to { transform: none; }
}

.k26-seat__n {
	display: block;
	color: #e3000f;
	font-size: 1.7rem;
	font-weight: 900;
	line-height: 1;
}

.k26-seat__name,
.k26-row__name {
	display: block;
	font-weight: 900;
	line-height: 1.35;
}

.k26-seat__meta {
	display: block;
	margin-top: 0.25rem;
}

.k26-seat__meta,
.k26-he,
.k26-count,
.k26-note,
.k26-zero {
	color: #475569;
	font-size: 0.84rem;
}

.k26-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.k26-jump a,
.k26-guide-link {
	display: inline-flex;
	border-radius: 999px;
	background: #e3000f;
	color: #fff;
	text-decoration: none;
	font-weight: 900;
	font-size: 0.82rem;
	padding: 0.4rem 0.75rem;
}

.k26-lists {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
}

.k26-row {
	display: grid;
	grid-template-columns: minmax(8rem, 1.4fr) auto auto auto;
	gap: 0.35rem 0.6rem;
	align-items: center;
	padding: 0.38rem 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.86rem;
}

.k26-row__letter {
	font-weight: 800;
	color: #64748b;
}

.k26-row__votes small {
	color: #64748b;
	font-weight: 700;
}

.k26-row__pct {
	font-weight: 900;
}

.k26-track {
	grid-column: 1 / -1;
	height: 6px;
	background: #f1f5f9;
	border-radius: 99px;
	overflow: hidden;
}

.k26-bar {
	display: block;
	height: 100%;
	background: #e3000f;
	border-radius: 99px;
}

.k26-place {
	margin: 0 0 0.7rem;
}

.k26-place h3 {
	font-size: 1.05rem;
}

.k26-zero {
	margin: 0.7rem 0 0;
	padding: 0 1rem 0 0;
}

@media (max-width: 640px) {
	.k26-row {
		grid-template-columns: 1fr auto;
	}
	.k26-row__letter,
	.k26-row__votes {
		grid-column: 1 / -1;
	}
}

.k26-band {
	margin: 1.35rem 0;
}

.k26-band__h {
	margin: 0;
	padding: 0.75rem 0.95rem;
	color: #fff;
	border-radius: 0.9rem 0.9rem 0 0;
	font-size: 1.05rem;
}

.k26-band__h span {
	font-size: 0.82rem;
	font-weight: 800;
	opacity: 0.88;
}

.k26-band__body {
	border: 1px solid #e2e8f0;
	border-top: 0;
	border-radius: 0 0 0.9rem 0.9rem;
	padding: 0.65rem;
	background: #f8fafc;
}

.k26-band--spot .k26-band__h { background: #0f2744; }
.k26-band--arab .k26-band__h { background: #c4232e; }
.k26-band--jewish .k26-band__h { background: #475569; }

.k26-band--spot { --k26-edge: #0f2744; }
.k26-band--arab { --k26-edge: #e3000f; }
.k26-band--jewish { --k26-edge: #64748b; }

.k26-group {
	margin: 0.85rem 0.15rem 0.4rem;
	padding-inline-start: 0.5rem;
	border-inline-start: 3px solid #0f2744;
	color: #0f2744;
	font-size: 0.95rem;
}

.k26-acc {
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	background: #fff;
	margin: 0 0 0.4rem;
}

.k26-band--spot .k26-acc,
.k26-band--arab .k26-acc,
.k26-band--jewish .k26-acc {
	border-inline-start: 4px solid var(--k26-edge);
}

.k26-acc > summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.08rem 0.7rem;
	align-items: center;
	padding: 0.68rem 0.8rem;
	cursor: pointer;
	list-style: none;
}

.k26-acc > summary::-webkit-details-marker {
	display: none;
}

.k26-acc__title {
	grid-column: 1;
	font-weight: 900;
	line-height: 1.35;
}

.k26-acc__he,
.k26-acc__meta {
	grid-column: 1;
}

.k26-acc__he {
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 700;
}

.k26-acc__meta {
	color: #334155;
	font-size: 0.82rem;
	font-weight: 800;
}

.k26-acc > summary::after {
	content: "";
	grid-column: 2;
	grid-row: 1 / span 3;
	width: 0.42rem;
	height: 0.42rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	justify-self: center;
}

.k26-acc[open] > summary::after {
	transform: rotate(-135deg);
	margin-top: 0.28rem;
}

.k26-band--spot .k26-acc[open] > summary,
.k26-band--arab .k26-acc[open] > summary,
.k26-band--jewish .k26-acc[open] > summary {
	border-bottom: 1px solid #e2e8f0;
}

.k26-acc__body {
	padding: 0.35rem 0.8rem 0.75rem;
}

.k26-band--lists .k26-acc {
	border-color: #e3000f;
	overflow: hidden;
}

.k26-band--lists .k26-acc > summary {
	background: #e3000f;
	color: #fff;
}

.k26-band--lists .k26-acc__meta {
	color: rgba(255, 255, 255, 0.92);
}

@media print {
	.k26-acc::details-content {
		content-visibility: visible;
		display: block;
	}
}
