/* ===== أقسام المجلة — قائمة مرقّمة (نسخة فاتحة) ===== */
.home-sections-list {
	--hsl-navy: #16305A;
	--hsl-brown: #BD8F49;
	--hsl-muted: #5a6d86;
	--hsl-line: #e1e6ee;
	--hsl-feature: #eef2f8;
	background-color: #0c1b3a !important;
	background-image:
		linear-gradient(rgba(12, 27, 58, 0.88), rgba(12, 27, 58, 0.88)),
		url("../images/sections-bg-circles.jpg") !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.home-sections-list .hsl-layout {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	gap: 56px;
	align-items: start;
}

.home-sections-list .hsl-head {
	text-align: start;
	position: sticky;
	top: 110px;
}

.home-sections-list .hsl-title {
	font-family: var(--font-heading);
	font-size: clamp(1.7rem, 2.4vw, 2.3rem);
	font-weight: 800;
	line-height: 1.3;
	white-space: nowrap;
	color: #ffffff;
	margin: 0 0 18px;
}

.home-sections-list .hsl-subtitle {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 28px;
}

.home-sections-list .hsl-rule {
	display: block;
	width: 170px;
	height: 1px;
	background: #ffffff;
	opacity: 0.3;
	margin-bottom: 14px;
}

.home-sections-list .hsl-count {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--hsl-muted);
	margin: 0;
}

.home-sections-list .hsl-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-sections-list .hsl-list li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-sections-list .hsl-row {
	display: grid;
	grid-template-columns: 42px 52px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 18px;
	padding: 26px 22px;
	text-decoration: none !important;
	color: #ffffff;
	border-radius: 10px;
	transition: background 0.25s ease;
}

.home-sections-list .hsl-row:hover,
.home-sections-list .hsl-row:focus-visible {
	background: #16284f;
}

.home-sections-list .hsl-num {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.6);
}

.home-sections-list .hsl-icon {
	display: inline-flex;
	width: 46px;
	height: 46px;
	color: var(--hsl-brown);
}

.home-sections-list .hsl-icon img,
.home-sections-list .hsl-icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.home-sections-list .hsl-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.home-sections-list .hsl-tag {
	font-family: var(--font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--hsl-brown);
}

.home-sections-list .hsl-text strong {
	font-family: var(--font-heading);
	font-size: clamp(1.1rem, 1.7vw, 1.55rem);
	font-weight: 800;
	line-height: 1.3;
	white-space: nowrap;
}

.home-sections-list .hsl-desc {
	font-family: var(--font-heading);
	font-size: 0.98rem;
	color: var(--hsl-muted);
	line-height: 1.6;
}

.home-sections-list .hsl-arrow {
	color: #ffffff;
	opacity: 0;
	transform: translateX(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-sections-list .hsl-row:hover .hsl-arrow,
.home-sections-list .hsl-row:focus-visible .hsl-arrow {
	opacity: 1;
	transform: none;
}

@media (max-width: 900px) {
	.home-sections-list .hsl-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.home-sections-list .hsl-head {
		position: static;
	}

	.home-sections-list .hsl-row {
		grid-template-columns: 30px 40px minmax(0, 1fr) 18px;
		gap: 12px;
		padding: 20px 12px;
	}

	.home-sections-list .hsl-icon {
		width: 38px;
		height: 38px;
	}

	.home-sections-list .hsl-desc {
		grid-column: 3 / 4;
		grid-row: 2;
		font-size: 0.88rem;
	}

	.home-sections-list .hsl-arrow {
		grid-column: 4;
		grid-row: 1;
	}
}

@media (max-width: 600px) {
	.home-sections-list .hsl-text strong {
		white-space: normal;
		font-size: 1.05rem;
	}
}

/* ===== حركة تفاعل عند تمرير الماوس ===== */
.home-sections-list .hsl-row {
	position: relative;
	overflow: hidden;
	transition: background 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

/* شريط ذهبي يظهر على جانب السطر */
.home-sections-list .hsl-row::before {
	content: '';
	position: absolute;
	inset-block: 18%;
	inset-inline-start: 0;
	width: 4px;
	border-radius: 4px;
	background: #e8a020;
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.home-sections-list .hsl-row:hover,
.home-sections-list .hsl-row:focus-visible {
	transform: translateX(-10px);
}

.home-sections-list .hsl-row:hover::before,
.home-sections-list .hsl-row:focus-visible::before {
	transform: scaleY(1);
}

.home-sections-list .hsl-icon {
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-sections-list .hsl-row:hover .hsl-icon,
.home-sections-list .hsl-row:focus-visible .hsl-icon {
	transform: scale(1.15) rotate(-6deg);
}

.home-sections-list .hsl-num,
.home-sections-list .hsl-text strong {
	transition: color 0.3s ease;
}

.home-sections-list .hsl-row:hover .hsl-num,
.home-sections-list .hsl-row:hover .hsl-text strong,
.home-sections-list .hsl-row:focus-visible .hsl-num,
.home-sections-list .hsl-row:focus-visible .hsl-text strong {
	color: #e8a020;
}

.home-sections-list .hsl-row:hover .hsl-arrow,
.home-sections-list .hsl-row:focus-visible .hsl-arrow {
	color: #e8a020;
	transform: translateX(-6px);
}

@media (prefers-reduced-motion: reduce) {
	.home-sections-list .hsl-row,
	.home-sections-list .hsl-icon,
	.home-sections-list .hsl-row::before {
		transition: none;
	}

	.home-sections-list .hsl-row:hover {
		transform: none;
	}
}

