/*
 * Ziebart UAE - "Locations" page, new layout (see inc/zb-locations.php).
 * Some headings and buttons carry !important because older site-wide styles force sizes, margins and link looks.
 * Xtreme IT Services, 2026-11-20.
 */

html.zbfl .entry-content .zbloc {
	margin: 56px 0 8px;
	color: var(--zb-text);
}

html.zbfl .entry-content .zbloc ul,
html.zbfl .entry-content .zbloc dl {
	margin: 0;
	padding: 0;
	list-style: none;
}

html.zbfl .entry-content .zbloc li {
	margin: 0;
	padding: 0;
}

html.zbfl .entry-content .zbloc li::before {
	content: none;
}

html.zbfl .entry-content .zbloc dt,
html.zbfl .entry-content .zbloc dd {
	margin: 0;
}

html.zbfl .entry-content .zbloc a {
	text-decoration: none;
}

html.zbfl .entry-content .zbloc__icon {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Heading row ---------- */

html.zbfl .entry-content .zbloc__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

html.zbfl .entry-content .zbloc__lead {
	max-width: 660px;
}

html.zbfl .entry-content .zbloc__kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--zb-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

html.zbfl .entry-content .zbloc__kicker::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: var(--zb-red);
}

html.zbfl--ar .entry-content .zbloc__kicker {
	font-size: 15px;
	letter-spacing: 0;
}

html.zbfl .entry-content .zbloc__title {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--zb-ink) !important;
	font-size: clamp(26px, 1.2vw + 16px, 34px) !important;
	font-weight: 800;
	line-height: 1.2 !important;
}

html.zbfl .entry-content .zbloc__title::after,
html.zbfl .entry-content .zbloc__name::after,
html.zbfl .entry-content .zbloc__help-title::after {
	content: none !important;
}

html.zbfl .entry-content .zbloc__intro {
	margin: 0;
	color: var(--zb-muted);
	font-size: 16.5px;
	line-height: 1.6;
}

/* ---------- Buttons ---------- */

html.zbfl .entry-content .zbloc__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid transparent !important;
	border-radius: 10px !important;
	font-family: inherit !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

html.zbfl .entry-content .zbloc__btn .zbloc__icon {
	width: 17px;
	height: 17px;
	stroke-width: 2.1;
}

html.zbfl .entry-content .zbloc__btn--red {
	background: var(--zb-red) !important;
	color: #fff !important;
}

html.zbfl .entry-content .zbloc__btn--red:hover,
html.zbfl .entry-content .zbloc__btn--red:focus-visible {
	background: var(--zb-red-dark) !important;
}

html.zbfl .entry-content .zbloc__btn--line {
	border-color: #c9ced4 !important;
	background: #fff !important;
	color: var(--zb-ink) !important;
}

html.zbfl .entry-content .zbloc__btn--line:hover,
html.zbfl .entry-content .zbloc__btn--line:focus-visible {
	border-color: var(--zb-ink) !important;
}

html.zbfl .entry-content .zbloc__btn--line .zbloc__icon {
	color: var(--zb-red);
}

html.zbfl .entry-content .zbloc__btn--white {
	background: #fff !important;
	color: var(--zb-red) !important;
}

html.zbfl .entry-content .zbloc__btn--white:hover,
html.zbfl .entry-content .zbloc__btn--white:focus-visible {
	background: #f3f4f6 !important;
}

html.zbfl .entry-content .zbloc__btn--ghost {
	border-color: rgba(255, 255, 255, .55) !important;
	background: transparent !important;
	color: #fff !important;
}

html.zbfl .entry-content .zbloc__btn--ghost:hover,
html.zbfl .entry-content .zbloc__btn--ghost:focus-visible {
	border-color: #fff !important;
	background: rgba(255, 255, 255, .08) !important;
}

html.zbfl--ar .entry-content .zbloc__icon--arrow {
	transform: scaleX(-1);
}

html.zbfl .entry-content .zbloc__btn:focus-visible {
	outline: 2px solid var(--zb-ink);
	outline-offset: 2px;
}

html.zbfl .entry-content .zbloc__all {
	flex: none;
}

/* ---------- Branch cards ---------- */

html.zbfl .entry-content .zbloc__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

html.zbfl .entry-content .zbloc__item {
	display: flex;
	min-width: 0;
}

html.zbfl .entry-content .zbloc__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 26px 24px 24px;
	border: 1px solid var(--zb-line);
	border-radius: 18px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

html.zbfl .entry-content .zbloc__card:hover {
	border-color: rgba(221, 0, 23, .35);
	box-shadow: 0 16px 34px -22px rgba(18, 20, 23, .45);
}

html.zbfl .entry-content .zbloc__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 6px;
}

html.zbfl .entry-content .zbloc__pin {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fdeef0;
	color: var(--zb-red);
}

html.zbfl .entry-content .zbloc__pin .zbloc__icon {
	width: 22px;
	height: 22px;
}

html.zbfl .entry-content .zbloc__name {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--zb-ink) !important;
	font-size: 20px !important;
	font-weight: 800;
	line-height: 1.3 !important;
	text-transform: none !important;
}

/* Phone and branch contact */
html.zbfl .entry-content .zbloc__rows {
	margin-top: 10px;
}

html.zbfl .entry-content .zbloc__row {
	padding: 12px 0;
	border-top: 1px solid var(--zb-line);
}

html.zbfl .entry-content .zbloc__row dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--zb-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}

html.zbfl--ar .entry-content .zbloc__row dt {
	font-size: 14px;
	letter-spacing: 0;
}

html.zbfl .entry-content .zbloc__row dt .zbloc__icon {
	width: 16px;
	height: 16px;
	color: var(--zb-red);
}

html.zbfl .entry-content .zbloc__row dd {
	margin-top: 5px;
	margin-inline-start: 24px;
	color: var(--zb-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

html.zbfl .entry-content .zbloc__person {
	display: block;
	color: var(--zb-text);
	font-weight: 600;
}

html.zbfl .entry-content .zbloc__tel {
	color: var(--zb-ink) !important;
	font-weight: 700;
	unicode-bidi: isolate;
	white-space: nowrap;
}

html.zbfl .entry-content .zbloc__tel:hover,
html.zbfl .entry-content .zbloc__tel:focus-visible {
	color: var(--zb-red) !important;
}

html.zbfl .entry-content .zbloc__sep {
	color: var(--zb-muted);
	font-weight: 400;
}

/* Working hours */
html.zbfl .entry-content .zbloc__hours {
	margin-top: 4px;
	padding: 14px 16px 10px;
	border-radius: 12px;
	background: var(--zb-soft);
}

html.zbfl .entry-content .zbloc__hours-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	color: var(--zb-ink);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
}

html.zbfl .entry-content .zbloc__hours-title .zbloc__icon {
	width: 17px;
	height: 17px;
	color: var(--zb-red);
}

html.zbfl .entry-content .zbloc__day {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-top: 1px dashed #d9dde2;
	font-size: 14px;
	line-height: 1.45;
}

html.zbfl .entry-content .zbloc__day:first-child {
	border-top: 0;
}

html.zbfl .entry-content .zbloc__day dt {
	flex: none;
	color: var(--zb-muted);
	font-weight: 600;
}

html.zbfl .entry-content .zbloc__day dd {
	color: var(--zb-ink);
	font-weight: 600;
	text-align: end;
}

html.zbfl .entry-content .zbloc__day dd span {
	display: block;
	white-space: nowrap;
}

html.zbfl .entry-content .zbloc__day--closed dd {
	color: var(--zb-red);
}

/* PO box and fax */
html.zbfl .entry-content .zbloc__small {
	margin: 12px 0 0;
	color: var(--zb-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

html.zbfl .entry-content .zbloc__dot {
	margin: 0 8px;
}

html.zbfl .entry-content .zbloc__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;
	padding-top: 18px;
}

/* ---------- "Not sure which branch?" card ---------- */

html.zbfl .entry-content .zbloc__help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: 28px 26px 26px;
	border-radius: 18px;
	background: radial-gradient(120% 90% at 100% 0%, rgba(221, 0, 23, .38) 0%, rgba(221, 0, 23, 0) 60%), #17191c;
	color: #fff;
}

html.zbfl--ar .entry-content .zbloc__help {
	background: radial-gradient(120% 90% at 0% 0%, rgba(221, 0, 23, .38) 0%, rgba(221, 0, 23, 0) 60%), #17191c;
}

html.zbfl .entry-content .zbloc__help-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--zb-red);
	color: #fff;
}

html.zbfl .entry-content .zbloc__help-title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 800;
	line-height: 1.25 !important;
	text-transform: none !important;
}

html.zbfl .entry-content .zbloc__help-text {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .78);
	font-size: 15.5px;
	line-height: 1.6;
}

html.zbfl .entry-content .zbloc__help-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 991px) {
	html.zbfl .entry-content .zbloc {
		margin-top: 40px;
	}

	html.zbfl .entry-content .zbloc__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 767px) {
	html.zbfl .entry-content .zbloc__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		margin-bottom: 24px;
	}

	html.zbfl .entry-content .zbloc__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 575px) {
	html.zbfl .entry-content .zbloc {
		margin-top: 32px;
	}

	html.zbfl .entry-content .zbloc__intro {
		font-size: 15.5px;
	}

	html.zbfl .entry-content .zbloc__all {
		width: 100%;
	}

	html.zbfl .entry-content .zbloc__card {
		padding: 22px 18px 20px;
		border-radius: 16px;
	}

	html.zbfl .entry-content .zbloc__help {
		padding: 24px 20px 22px;
		border-radius: 16px;
	}

	html.zbfl .entry-content .zbloc__help-actions .zbloc__btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.zbfl .entry-content .zbloc__card,
	html.zbfl .entry-content .zbloc__btn {
		transition: none;
	}
}
