/* ==========================================================================
   Ovalete Design — قسم «فروعنا» (branches.php)
   يعتمد على متغيرات الألوان و .ovd-sec / .ovd-wrap / .ovd-btn من ovalete.css.
   ========================================================================== */

.ovd .ovd-br {
	padding-block: clamp(48px, 6.4vw, 96px);
	background: #fff;
}

.ovd .ovd-br__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
	gap: 40px clamp(36px, 6vw, 96px);
}

/* المقدمة ------------------------------------------------------------------ */

.ovd .ovd-br__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--ovd-gold-deep);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}

.ovd .ovd-br__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--ovd-gold);
	border-radius: 2px;
}

.ovd .ovd-br[dir="ltr"] .ovd-br__eyebrow {
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ovd .ovd-br__title {
	margin: 0;
	color: var(--ovd-ink);
	font-size: clamp(28px, 3.3vw, 44px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-wrap: balance;
}

.ovd .ovd-br__text {
	max-width: 46ch;
	margin: 16px 0 0;
	color: var(--ovd-text);
	font-size: 17px;
	line-height: 1.9;
}

.ovd .ovd-br__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 30px;
}

.ovd .ovd-br__wa {
	gap: 10px;
	background: var(--ovd-choco);
	color: #fff;
}

.ovd .ovd-br__wa:hover {
	background: var(--ovd-choco-deep);
	color: #fff;
}

.ovd .ovd-br__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	min-height: 44px;
	color: var(--ovd-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s;
}

/* الخط تحت النص مباشرة، ومساحة اللمس تبقى 44px */
.ovd .ovd-br__more::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 5px;
	height: 1.5px;
	background: currentColor;
}

.ovd .ovd-br__more:hover {
	color: var(--ovd-gold-deep);
}

.ovd .ovd-br__more .ovd-icon {
	transition: transform 0.2s var(--ovd-ease);
}

.ovd .ovd-br__more:hover .ovd-icon {
	translate: 4px 0;
}

.ovd .ovd-br[dir="rtl"] .ovd-br__more:hover .ovd-icon {
	translate: -4px 0;
}

/* القائمة ------------------------------------------------------------------ */

.ovd .ovd-br__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ovd-line);
	list-style: none;
}

/* فرع أو فرعان: صفّ لكل فرع بعرض القائمة، فيتوازن ارتفاعها مع المقدمة */
.ovd .ovd-br__list--stack {
	grid-template-columns: minmax(0, 1fr);
}

.ovd .ovd-br__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	column-gap: 22px;
	margin: 0;
	padding-block: 28px;
	padding-inline-end: 28px;
	border-top: 1px solid var(--ovd-line);
}

/* فرع أخير وحيد في صفّه: يمتد على العمودين حتى لا ينقطع الخط الفاصل */
.ovd .ovd-br__item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.ovd .ovd-br__num {
	color: var(--ovd-gold);
	font-size: 22px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.45;
}

.ovd .ovd-br__name {
	margin: 0;
	color: var(--ovd-ink);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0;
}

.ovd .ovd-br__address {
	margin: 6px 0 0;
	color: var(--ovd-text);
	font-size: 15.5px;
	line-height: 1.85;
}

.ovd .ovd-br__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-top: 10px;
}

.ovd .ovd-br__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	color: var(--ovd-choco);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s;
}

.ovd .ovd-br__link:hover {
	color: var(--ovd-gold-deep);
}

.ovd .ovd-br__icon {
	flex-shrink: 0;
}

.ovd .ovd-br__link .ovd-br__icon {
	color: var(--ovd-gold-deep);
}

/* الشاشات الأصغر ----------------------------------------------------------- */

@media (max-width: 999.98px) {
	.ovd .ovd-br__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ovd .ovd-br__text {
		font-size: 16px;
	}

	.ovd .ovd-br__actions {
		margin-top: 24px;
	}
}

@media (max-width: 689.98px) {
	.ovd .ovd-br__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ovd .ovd-br__item {
		column-gap: 16px;
		padding-block: 22px;
		padding-inline-end: 0;
	}

	.ovd .ovd-br__num {
		font-size: 20px;
	}

	.ovd .ovd-br__name {
		font-size: 18px;
	}

	.ovd .ovd-br__link {
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ovd .ovd-br__more .ovd-icon {
		transition: none;
	}
}
