/* Ziebart UAE - new look for the inner pages, matching the new home page (HomeV03).
   Everything is scoped to html.zbfl, which inc/zb-inner-v3.php adds on every page except the home page.
   Xtreme IT Services, 2026-11-20. */

.zbfl {
	--zb-red: #dd0017;
	--zb-red-dark: #b10013;
	--zb-ink: #121417;
	--zb-text: #3b4046;
	--zb-muted: #676d74;
	--zb-line: #e3e5e8;
	--zb-soft: #f4f5f6;
	--zb-radius: 8px;
	--zb-shadow: 0 1px 2px rgba(18, 20, 23, .06), 0 8px 24px rgba(18, 20, 23, .08);
}
.zbfl .zbfl-ico { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }

/* ---------- Buttons (same as the home page) ---------- */
.zbfl .zbfl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.zbfl .zbfl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 26px; border-radius: 6px; border: 2px solid transparent;
	font-family: "Open Sans", Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2;
	text-decoration: none; text-transform: none; letter-spacing: 0; white-space: nowrap;
	transition: color .2s, background-color .2s, border-color .2s;
}
.zbfl .zbfl-btn--primary { background: var(--zb-red); color: #fff; }
.zbfl .zbfl-btn--primary:hover, .zbfl .zbfl-btn--primary:focus-visible { background: var(--zb-red-dark); color: #fff; }
.zbfl .zbfl-btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .85); color: #fff; }
.zbfl .zbfl-btn--ghost:hover, .zbfl .zbfl-btn--ghost:focus-visible { background: #fff; color: var(--zb-ink); }
.zbfl .zbfl-btn--white { background: #fff; color: var(--zb-red); }
.zbfl .zbfl-btn--white:hover, .zbfl .zbfl-btn--white:focus-visible { background: var(--zb-ink); color: #fff; }
.zbfl .zbfl-btn--outline { background: #fff; border-color: var(--zb-red); color: var(--zb-red); }
.zbfl .zbfl-btn--outline:hover, .zbfl .zbfl-btn--outline:focus-visible { background: var(--zb-red); color: #fff; }
.zbfl .zbfl-btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
/* Text for screen readers only (the theme has no rule for it, so it showed on screen) */
.zbfl .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Title area at the top of the page ---------- */
.zbfl .zbfl-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(221, 0, 23, .32) 0%, rgba(221, 0, 23, 0) 60%),
		radial-gradient(50% 90% at 0% 100%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, #1b1e22 0%, #111316 100%);
}
.zbfl--ar .zbfl-hero {
	background:
		radial-gradient(60% 120% at 0% 0%, rgba(221, 0, 23, .32) 0%, rgba(221, 0, 23, 0) 60%),
		radial-gradient(50% 90% at 100% 100%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, #1b1e22 0%, #111316 100%);
}
/* The site header is fixed over the top of the page. From 1081px wide its height is a share of the window height
   and its logo can make the white bar deeper still (about 85-180px), so the title area starts below the measured
   bar: --zb-head, set by the short script just before the title area (zbfl_hero_offset_script() in
   inc/zb-inner-v3.php). The values after it are close estimates used until the script has measured.
   Below 1081px it is a 72px phone header with the theme's own 40px spacer under it. */
.zbfl .zbfl-hero { padding-top: 32px; }
@media (min-width: 1081px) { .zbfl .zbfl-hero { padding-top: var(--zb-head, max(88px, 13.8vh)); } }
@media (min-width: 1081px) and (max-width: 1440px) and (max-height: 768px) { .zbfl .zbfl-hero { padding-top: var(--zb-head, max(88px, 17.2vh)); } }
.zbfl .zbfl-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 28px; padding-bottom: 40px; }
.zbfl .zbfl-hero__inner::before, .zbfl .zbfl-hero__inner::after { content: none; } /* bootstrap clearfix would add grid cells */
.zbfl .zbfl-hero__media { display: none; }
@media (min-width: 992px) {
	.zbfl .zbfl-hero__inner { padding-top: 40px; padding-bottom: 52px; }
	.zbfl .zbfl-hero--media .zbfl-hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; padding-top: 36px; padding-bottom: 44px; }
	.zbfl .zbfl-hero__media { display: block; }
	.zbfl .zbfl-hero__media img {
		display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
		border-radius: var(--zb-radius); box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
	}
}
.zbfl .zbfl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 18px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.zbfl .zbfl-crumbs a { color: #fff; text-decoration: none; opacity: .88; }
.zbfl .zbfl-crumbs a:hover, .zbfl .zbfl-crumbs a:focus-visible { opacity: 1; text-decoration: underline; }
.zbfl .zbfl-crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.zbfl .zbfl-crumbs__sep { opacity: .5; }
.zbfl .zbfl-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.zbfl .zbfl-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--zb-red); flex: 0 0 auto; }
.zbfl .zbfl-hero .zbfl-hero__title {
	margin: 0 0 26px; max-width: 22em; color: #fff; text-align: start; text-transform: none; letter-spacing: -0.01em;
	font-family: "Open Sans", Arial, sans-serif; font-size: clamp(28px, 1.6vw + 16px, 44px); font-weight: 800; line-height: 1.15; text-wrap: balance;
}

/* ---------- Page body ---------- */
/* div.page is the wrapper; the article inside also has the class "page" (WordPress adds it), so keep that one flat */
.zbfl div.page { margin-top: 0; padding: 44px 0 56px; color: var(--zb-text); }
.zbfl article.page { margin: 0; padding: 0; }
.zbfl .page .entry-header { display: none; } /* the title is shown in the title area */
.zbfl .entry-content { font-size: 16px; line-height: 1.7; color: var(--zb-text); }
.zbfl .entry-content p,
.zbfl .entry-content .insert-pages p { font-size: 16px; line-height: 1.7; margin: 0 0 18px; color: inherit; letter-spacing: 0; }
.zbfl .entry-content li { font-size: 16px; line-height: 1.65; }

/* Headings: dark, strong and in normal case, like the home page */
.zbfl .entry-content h1,
.zbfl .entry-content h2,
.zbfl .entry-content h3,
.zbfl .entry-content h4,
.zbfl .entry-content h5,
.zbfl .entry-content .vc_custom_heading {
	color: var(--zb-ink) !important; font-family: "Open Sans", Arial, sans-serif; font-weight: 700;
	text-transform: none !important; letter-spacing: -0.01em; text-align: start; text-wrap: balance;
}
.zbfl .entry-content h1 { font-size: clamp(26px, 1.2vw + 16px, 34px); line-height: 1.2; margin: 0 0 18px; }
.zbfl .entry-content h2,
.zbfl .entry-content .insert-pages h2 { font-size: clamp(24px, 1vw + 15px, 30px); line-height: 1.25; margin: 44px 0 16px; }
.zbfl .entry-content h3,
.zbfl .entry-content .insert-pages h3 { font-size: clamp(19px, .4vw + 15px, 22px); line-height: 1.35; margin: 28px 0 10px; }
.zbfl .entry-content h4 { font-size: 18px; line-height: 1.4; margin: 24px 0 8px; }
.zbfl .entry-content h5 { font-size: 16px; line-height: 1.4; margin: 20px 0 8px; }
.zbfl .entry-content :is(h1, h2, h3, h4, h5) strong,
.zbfl .entry-content :is(h1, h2, h3, h4, h5) b { font-weight: inherit; }
/* some pages colour or capitalise the words inside a heading on their own; the heading's look wins */
.zbfl .entry-content :is(h1, h2, h3, h4, h5) :is(strong, b, span, em) { color: inherit !important; text-transform: inherit !important; }
.zbfl .entry-content .wpb_wrapper > :is(h1, h2, h3, h4):first-child { margin-top: 0; }
/* a short red line under the main section headings */
.zbfl .entry-content .wpb_text_column h2::after {
	content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--zb-red);
}
.zbfl .entry-content h2:has(> img)::after, .zbfl .entry-content h2:empty::after { content: none; }

/* Text links */
.zbfl .entry-content p a:not([class]),
.zbfl .entry-content li a:not([class]),
.zbfl .entry-content td a:not([class]) {
	color: var(--zb-red); text-decoration: underline; text-decoration-color: rgba(221, 0, 23, .35); text-underline-offset: 3px;
}
.zbfl .entry-content p a:not([class]):hover,
.zbfl .entry-content li a:not([class]):hover { color: var(--zb-red-dark); text-decoration-color: currentColor; }
.zbfl .entry-content p a:has(> img) { text-decoration: none; }

/* Lists: small red dots */
.zbfl .entry-content .wpb_text_column ul:not([class]) { list-style: none; margin: 0 0 20px; padding: 0; }
.zbfl .entry-content .wpb_text_column ul:not([class]) > li { position: relative; padding-inline-start: 24px; margin: 0 0 8px; }
.zbfl .entry-content .wpb_text_column ul:not([class]) > li::before {
	content: ""; position: absolute; inset-inline-start: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--zb-red);
}
.zbfl .entry-content .wpb_text_column ol:not([class]) { margin: 0 0 20px; padding-inline-start: 22px; }
.zbfl .entry-content .wpb_text_column ol:not([class]) > li { margin: 0 0 8px; padding-inline-start: 4px; }
.zbfl .entry-content .wpb_text_column ol:not([class]) > li::marker { color: var(--zb-red); font-weight: 700; }

/* Pictures and videos: rounded corners and the soft card shadow */
.zbfl .entry-content .wpb_single_image img,
.zbfl .entry-content .wpb_text_column img.size-full,
.zbfl .entry-content .wpb_text_column img.size-large,
.zbfl .entry-content .wpb_text_column img.alignnone { border-radius: var(--zb-radius); }
.zbfl .entry-content .wpb_video_widget { box-shadow: var(--zb-shadow) !important; border-radius: var(--zb-radius); overflow: hidden; margin-bottom: 36px; }
.zbfl .entry-content .wpb_video_widget .wpb_video_wrapper iframe { border-radius: var(--zb-radius); }

/* Tables */
.zbfl .entry-content table {
	width: 100%; margin: 0 0 24px; border-collapse: separate; border-spacing: 0;
	border: 1px solid var(--zb-line); border-radius: var(--zb-radius); overflow: hidden; font-size: 15px; background: #fff;
}
.zbfl .entry-content th,
.zbfl .entry-content td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--zb-line); vertical-align: top; text-align: start; }
.zbfl .entry-content tr:last-child > td { border-bottom: 0; }
.zbfl .entry-content th,
.zbfl .entry-content thead td,
.zbfl .entry-content tbody tr:first-child > td > strong:only-child { color: var(--zb-ink); }
.zbfl .entry-content th,
.zbfl .entry-content thead td { background: var(--zb-soft); font-weight: 700; }
.zbfl .entry-content table td + td,
.zbfl .entry-content table th + th { border-inline-start: 1px solid var(--zb-line); }

/* Buttons that are part of the page content */
.zbfl .entry-content .vc_btn3,
.zbfl .entry-content a.gallerybutton,
.zbfl .entry-content a.insert-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px !important;
	border-radius: 6px !important; border: 2px solid var(--zb-red) !important; background: var(--zb-red) !important; color: #fff !important;
	font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; text-decoration: none !important;
	letter-spacing: 0 !important; box-shadow: none !important; background-image: none !important;
}
.zbfl .entry-content .vc_btn3:hover,
.zbfl .entry-content a.gallerybutton:hover,
.zbfl .entry-content a.insert-btn:hover { background: var(--zb-red-dark) !important; border-color: var(--zb-red-dark) !important; color: #fff !important; }

/* ---------- Forms ---------- */
.zbfl .wpcf7 label,
.zbfl .wpcf7 .wpcf7-form > p { font-size: 14px; font-weight: 600; color: var(--zb-ink); }
.zbfl .wpcf7 input[type="text"],
.zbfl .wpcf7 input[type="email"],
.zbfl .wpcf7 input[type="tel"],
.zbfl .wpcf7 input[type="number"],
.zbfl .wpcf7 input[type="date"],
.zbfl .wpcf7 select,
.zbfl .wpcf7 textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; margin-top: 6px;
	border: 1px solid #cfd4da; border-radius: 6px; background-color: #fff; color: var(--zb-ink);
	font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.4; box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.zbfl .wpcf7 textarea { min-height: 130px; resize: vertical; }
.zbfl .wpcf7 select { padding-inline-end: 36px; }
.zbfl .wpcf7 .iti { width: 100%; margin-top: 6px; }
.zbfl .wpcf7 .iti input[type="tel"] { margin-top: 0; padding-left: 52px; }
.zbfl .wpcf7 :is(input, select, textarea):focus {
	outline: none; border-color: var(--zb-red); box-shadow: 0 0 0 3px rgba(221, 0, 23, .15);
}
.zbfl .wpcf7 ::placeholder { color: #8a9097; opacity: 1; }
.zbfl .wpcf7 input[type="submit"],
.zbfl .wpcf7 .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 160px; padding: 12px 28px;
	border: 2px solid var(--zb-red); border-radius: 6px; background: var(--zb-red); color: #fff;
	font-family: inherit; font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none;
}
.zbfl .wpcf7 input[type="submit"]:hover,
.zbfl .wpcf7 .wpcf7-submit:hover { background: var(--zb-red-dark); border-color: var(--zb-red-dark); }
.zbfl .wpcf7 .wpcf7-not-valid-tip { font-size: 13px; font-weight: 600; margin-top: 4px; }
.zbfl .wpcf7 form .wpcf7-response-output { border-radius: 6px; padding: 12px 14px; font-size: 14px; }

/* ---------- Questions and answers block (same look as the home page) ---------- */
.zbfl .xpf-faq .xpf-faq__item { border-radius: var(--zb-radius); box-shadow: none; }
.zbfl .xpf-faq .xpf-faq__item[open] { box-shadow: var(--zb-shadow); border-color: transparent; }
.zbfl .xpf-faq .xpf-faq__q { color: var(--zb-ink); }

/* ---------- "Free quote" strip above the footer ---------- */
.zbfl .zbfl-cta {
	color: #fff;
	background:
		radial-gradient(50% 140% at 100% 50%, rgba(221, 0, 23, .38) 0%, rgba(221, 0, 23, 0) 70%),
		#16181b;
}
.zbfl--ar .zbfl-cta { background: radial-gradient(50% 140% at 0% 50%, rgba(221, 0, 23, .38) 0%, rgba(221, 0, 23, 0) 70%), #16181b; }
.zbfl .zbfl-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 52px; padding-bottom: 52px; }
.zbfl .zbfl-cta__inner::before, .zbfl .zbfl-cta__inner::after { content: none; }
.zbfl .zbfl-cta .zbfl-cta__title {
	margin: 0 0 8px; color: #fff; text-align: start; text-transform: none; letter-spacing: -0.01em;
	font-family: "Open Sans", Arial, sans-serif; font-size: clamp(24px, 1vw + 16px, 32px); font-weight: 700; line-height: 1.2;
}
.zbfl .zbfl-cta .zbfl-cta__text { margin: 0; max-width: 38em; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .85); }

/* ---------- Arabic ---------- */
.zbfl--ar .zbfl-hero .zbfl-hero__title,
.zbfl--ar .zbfl-cta .zbfl-cta__title,
.zbfl--ar .zbfl-btn,
.zbfl--ar .zbfl-eyebrow,
.zbfl--ar .entry-content :is(h1, h2, h3, h4, h5),
.zbfl--ar .wpcf7 .wpcf7-submit { font-family: "Changa", "Noto Sans Kufi Arabic", Tahoma, Arial, sans-serif; letter-spacing: 0; }
.zbfl--ar .zbfl-eyebrow { text-transform: none; font-size: 14px; }
.zbfl--ar .zbfl-hero .zbfl-hero__title { font-weight: 700; line-height: 1.3; }
.zbfl--ar .wpcf7 .iti input[type="tel"] { padding-left: 52px; padding-right: 14px; }

/* ---------- Article lists (blog categories, dates) and search results: cards ---------- */
.zbfl .zbfl-cards,
.zbfl .search-page .col-md-12 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) {
	.zbfl .zbfl-cards,
	.zbfl .search-page .col-md-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.zbfl .zbfl-card,
.zbfl .search-page article {
	position: relative; display: flex; flex-direction: column; margin: 0; padding: 22px 24px 20px;
	background: #fff; border: 1px solid var(--zb-line); border-radius: var(--zb-radius);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.zbfl .zbfl-card:hover,
.zbfl .search-page article:hover { border-color: rgba(221, 0, 23, .45); box-shadow: var(--zb-shadow); transform: translateY(-2px); }
.zbfl .zbfl-card:focus-within,
.zbfl .search-page article:focus-within { outline: 3px solid #ffbf47; outline-offset: 2px; }
.zbfl .zbfl-card__date { margin: 0 0 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--zb-muted); }
.zbfl .zbfl-card .zbfl-card__title,
.zbfl .search-page .entry-title {
	margin: 0 0 10px; font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.35;
	color: var(--zb-ink); text-transform: none; letter-spacing: 0;
}
.zbfl .zbfl-card__title a,
.zbfl .search-page .entry-title a { color: inherit; text-decoration: none; outline: 0; }
.zbfl .zbfl-card__title a::after,
.zbfl .search-page .entry-title a::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the article */
.zbfl .zbfl-card:hover .zbfl-card__title,
.zbfl .search-page article:hover .entry-title { color: var(--zb-red); }
.zbfl .zbfl-card__text,
.zbfl .search-page .entry-summary p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--zb-muted); }
.zbfl .zbfl-card__more { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--zb-red); }
.zbfl .zbfl-card__more::after { content: " \2192"; }
.zbfl--ar .zbfl-card__more::after { content: " \2190"; }
.zbfl .zbfl-empty { margin: 0; font-size: 17px; }
/* Page links under the list */
.zbfl .zbfl-list .pagination { display: block; margin: 36px 0 0; padding: 0; border-radius: 0; }
.zbfl .zbfl-list .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zbfl .zbfl-list .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	background: #fff; border: 1px solid var(--zb-line); border-radius: 6px;
	font-size: 15px; font-weight: 600; color: var(--zb-ink); text-decoration: none;
}
.zbfl .zbfl-list a.page-numbers:hover, .zbfl .zbfl-list a.page-numbers:focus-visible { border-color: var(--zb-red); color: var(--zb-red); }
.zbfl .zbfl-list .page-numbers.current { background: var(--zb-red); border-color: var(--zb-red); color: #fff; }
.zbfl .zbfl-list .page-numbers.dots { background: none; border: 0; min-width: 0; padding: 0 4px; }
/* Search results: the title area already says what was searched for */
.zbfl .search-page .page-title { display: none; }
.zbfl .search-page .entry-header { display: block; position: static; width: auto; height: auto; margin: 0; padding: 0; } /* the theme styles every <header> like the site header */
.zbfl .search-page .entry-summary { margin: 0; }
.zbfl .search-page .entry-summary p:last-child { margin-bottom: 0; }
.zbfl .search-page .entry-footer,
.zbfl .search-page .post-thumbnail,
.zbfl .search-page .more-link { display: none; }
/* Search with no results (the empty results block above it is hidden) */
.zbfl .search-page:not(:has(article)) { display: none; }
.zbfl .zbfl-noresults .zbfl-noresults__title { margin: 0 0 10px; font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 700; line-height: 1.3; color: var(--zb-ink); text-transform: none; }
.zbfl .zbfl-noresults p { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--zb-text); }
.zbfl .zbfl-search { display: flex; gap: 10px; max-width: 560px; margin: 0 0 20px; }
.zbfl .zbfl-search input[type="search"] {
	flex: 1 1 auto; width: auto; min-width: 0; height: 50px; margin: 0; padding: 0 16px; border: 1px solid var(--zb-line); border-radius: 6px;
	font-size: 16px; color: var(--zb-ink); background: #fff; box-shadow: none;
}
.zbfl .zbfl-search .zbfl-btn { flex: 0 0 auto; width: auto; margin: 0; }
.zbfl .zbfl-search input[type="search"]:focus { border-color: var(--zb-red); outline: 3px solid rgba(221, 0, 23, .18); outline-offset: 0; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.zbfl .zbfl-hero__inner { padding-top: 22px; padding-bottom: 32px; }
	.zbfl .zbfl-crumbs { margin-bottom: 14px; }
	.zbfl .zbfl-hero .zbfl-hero__title { margin-bottom: 20px; }
	.zbfl .zbfl-actions .zbfl-btn { flex: 1 1 100%; }
	.zbfl div.page { padding: 28px 0 40px; }
	.zbfl .entry-content h2, .zbfl .entry-content .insert-pages h2 { margin-top: 32px; }
	.zbfl .zbfl-cta__inner { padding-top: 40px; padding-bottom: 40px; }
	.zbfl .zbfl-cta__inner > .zbfl-actions { width: 100%; }
}

/* ---------- Services page (EN 5078, AR 5143) ---------- */
/* The old red "Services" banner: the title area above now does this job. */
.zbfl :is(.post-5078, .post-5143) .wpb-content-wrapper > .vc_row:first-child,
.zbfl :is(.post-5078, .post-5143) .wpb-content-wrapper > .vc_row:first-child + .vc_row-full-width { display: none; }
.zbfl :is(.post-5078, .post-5143) .entry-content h2 { margin-top: 8px; }
/* Service links: white cards with the icon beside the name */
.zbfl .entry-content .servicespage-icons {
	display: flex; align-items: center; gap: 14px; min-height: 76px; max-width: none; margin: 0 0 20px; padding: 14px 18px;
	background: #fff; border: 1px solid var(--zb-line); border-radius: var(--zb-radius); box-shadow: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.zbfl .entry-content .servicespage-icons:hover { border-color: rgba(221, 0, 23, .45); box-shadow: var(--zb-shadow); transform: translateY(-2px); }
.zbfl .entry-content .servicespage-icons p { margin: 0; flex: 0 0 auto; line-height: 0; }
.zbfl .entry-content .servicespage-icons img { width: 44px; height: auto; border-radius: 0; }
.zbfl .entry-content .servicespage-icons h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.zbfl .entry-content .servicespage-icons h3 a { color: var(--zb-ink); text-decoration: none; border: 0; }
.zbfl .entry-content .servicespage-icons h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.zbfl .entry-content .servicespage-icons { position: relative; }
.zbfl .entry-content .servicespage-icons:hover h3 a { color: var(--zb-red); }

/* ---------- Get a quote page (Offers template) ---------- */
.zbfl #get-a-quote ~ *, .zbfl .main-page-offer { position: relative; }
.zbfl .main-page-offer .featured-image-offer { display: none; } /* the title area replaces the banner picture */
.zbfl #get-a-quote h2.vc_custom_heading:not(#redcbg h2) { text-transform: lowercase !important; color: var(--zb-ink) !important; font-size: clamp(26px, 1.4vw + 14px, 36px); margin-bottom: 14px; }
.zbfl #get-a-quote h2.vc_custom_heading::first-letter { text-transform: uppercase; }
.zbfl #get-a-quote .single-content-clear p { text-transform: lowercase; font-size: 14px; font-weight: 700; color: var(--zb-ink); letter-spacing: .02em; }
.zbfl #get-a-quote .single-content-clear p::first-letter { text-transform: uppercase; }
/* Offer cards */
.zbfl #carbgtiny .vc_col-sm-4 > .vc_column-inner {
	height: 100%; padding: 0 0 22px; margin: 0 0 24px; background: #fff; border: 1px solid var(--zb-line);
	border-radius: var(--zb-radius); overflow: hidden; box-shadow: var(--zb-shadow);
}
.zbfl #carbgtiny .single-img-ofr { margin: 0 0 16px; }
.zbfl #carbgtiny .single-img-ofr .vc_single_image-wrapper,
.zbfl #carbgtiny .single-img-ofr img { display: block; width: 100%; border: 0; padding: 0; border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; }
.zbfl #carbgtiny .single-content-offer { padding: 0 22px; text-align: start; }
.zbfl #carbgtiny .single-content-offer h3 { margin: 0 0 8px; font-size: 20px; }
.zbfl #carbgtiny .single-content-offer p { font-size: 15px; color: var(--zb-muted); text-align: start; }
.zbfl #get-a-quote .redcinquirebutt { padding: 0 22px; margin: 0; text-align: start; }
.zbfl #get-a-quote .vc_col-sm-12 .redcinquirebutt { text-align: center; }
.zbfl #get-a-quote .redcinquirebutt p { margin: 0; }
.zbfl #get-a-quote .redcinquirebutt a {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px;
	border: 2px solid var(--zb-red); border-radius: 6px; background: transparent; color: var(--zb-red);
	font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; text-decoration: none;
}
.zbfl #get-a-quote .redcinquirebutt a:hover { background: var(--zb-red); color: #fff; }
@media (min-width: 768px) {
	.zbfl #carbgtiny .vc_inner:has(> .vc_col-sm-4) { display: flex; flex-wrap: wrap; }
	.zbfl #carbgtiny .vc_inner:has(> .vc_col-sm-4)::before, .zbfl #carbgtiny .vc_inner:has(> .vc_col-sm-4)::after { content: none; }
	.zbfl #carbgtiny .vc_col-sm-4 { float: none; display: flex; }
	.zbfl #carbgtiny .vc_col-sm-4 > .vc_column-inner { display: flex; flex-direction: column; width: 100%; }
	.zbfl #carbgtiny .vc_col-sm-4 .wpb_wrapper { display: flex; flex-direction: column; flex: 1; }
	.zbfl #carbgtiny .vc_col-sm-4 .redcinquirebutt { margin-top: auto; }
}

/* ---------- Locations page (EN 1021, AR 1164): one card per branch ---------- */
.zbfl :is(.post-1021, .post-1164) .insert-pages p {
	margin: 8px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zb-red);
}
.zbfl .vc_row.locations .vc_col-sm-4 > .vc_column-inner {
	height: 100%; margin: 0 0 24px; padding: 22px 22px 20px; background: #fff;
	border: 1px solid var(--zb-line); border-radius: var(--zb-radius); box-shadow: var(--zb-shadow);
}
.zbfl .vc_row.locations .wpb_text_column p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.zbfl .vc_row.locations .wpb_text_column:first-child p:first-child { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: var(--zb-ink); letter-spacing: 0; }
.zbfl .vc_row.locations .location-map { margin: 0; }
.zbfl .vc_row.locations .location-map p {
	display: inline-flex; align-items: center; min-height: 42px; margin: 6px 0 0; padding: 8px 18px; cursor: pointer;
	border: 2px solid var(--zb-red); border-radius: 6px; color: var(--zb-red); font-size: 15px; font-weight: 700; text-transform: none;
}
.zbfl .vc_row.locations .location-map p:hover { background: var(--zb-red); color: #fff; }
@media (min-width: 768px) {
	.zbfl .vc_row.locations { display: flex; flex-wrap: wrap; }
	.zbfl .vc_row.locations::before, .zbfl .vc_row.locations::after { content: none; }
	.zbfl .vc_row.locations > .vc_col-sm-4 { float: none; display: flex; }
	.zbfl .vc_row.locations > .vc_col-sm-4 > .vc_column-inner { display: flex; flex-direction: column; width: 100%; }
	.zbfl .vc_row.locations > .vc_col-sm-4 .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; flex: 1; }
	.zbfl .vc_row.locations .location-map { margin-top: auto; }
}

/* ---------- Blogs page (5313, Arabic 6671): every article as a card, two per row on wider screens ---------- */
.zbfl :is(.post-5313, .post-6671) .wpb-content-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .zbfl :is(.post-5313, .post-6671) .wpb-content-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zbfl :is(.post-5313, .post-6671) .wpb-content-wrapper > :first-child { grid-column: 1 / -1; margin-bottom: 8px; }
.zbfl :is(.post-5313, .post-6671) .wpb-content-wrapper > .vc_row-full-width { display: none; }
.zbfl :is(.post-5313, .post-6671) .mpc-link-wrapper { display: flex; }
.zbfl :is(.post-5313, .post-6671) .mpc-link-wrapper > a { display: flex; width: 100%; text-decoration: none; }
.zbfl :is(.post-5313, .post-6671) .insert-pages {
	position: relative; display: flex; width: 100%; height: 100%; margin: 0; padding: 22px 24px 18px;
	background: #fff; border: 1px solid var(--zb-line); border-radius: var(--zb-radius);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.zbfl :is(.post-5313, .post-6671) .insert-pages:hover { border-color: rgba(221, 0, 23, .45); box-shadow: var(--zb-shadow); transform: translateY(-2px); }
.zbfl :is(.post-5313, .post-6671) .insert-pages::before, .zbfl :is(.post-5313, .post-6671) .insert-pages::after { content: none; }
.zbfl :is(.post-5313, .post-6671) .insert-pages > .vc_column_container { float: none; width: 100%; padding: 0; }
.zbfl :is(.post-5313, .post-6671) .insert-pages .vc_column-inner { padding: 0 !important; }
.zbfl :is(.post-5313, .post-6671) .insert-pages .wpb_content_element { margin-bottom: 0; }
.zbfl :is(.post-5313, .post-6671) .entry-content .insert-pages h1 { margin: 0 0 10px !important; font-size: 19px !important; line-height: 1.35; } /* the page's own CSS forces 2em */
.zbfl :is(.post-5313, .post-6671) .insert-pages h1 a { color: inherit; text-decoration: none; }
.zbfl :is(.post-5313, .post-6671) .insert-pages h1 a::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the article */
.zbfl :is(.post-5313, .post-6671) .insert-pages:hover h1 { color: var(--zb-red) !important; }
.zbfl :is(.post-5313, .post-6671) .entry-content .insert-pages p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--zb-muted); }
.zbfl :is(.post-5313, .post-6671) .entry-content .insert-pages p a { color: inherit; text-decoration: none; }
.zbfl :is(.post-5313, .post-6671) .entry-content .insert-pages p::after {
	content: "Read more \2192"; display: block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--zb-red);
}

/* ---------- Blog posts and the privacy, terms and cookie pages: comfortable reading width ---------- */
.zbfl div.page.single-page { margin-top: 0 !important; }
.zbfl .single-page .entry-content,
.zbfl :is(.post-3569, .post-5703, .post-4398, .post-5676) .entry-content { max-width: 860px; }
.zbfl .single-page .entry-content > :first-child { margin-top: 0; }
.zbfl .single-page .entry-footer { display: none; }

/* Arabic pages at tablet widths (about 710-985px): the theme's right-to-left sheet gives the page text wide side margins that the English pages do not have. */
html.zbfl--ar .entry-content { margin-left: 0; margin-right: 0; }
/* Arabic articles: the text column sits on the right, under the title (the theme's rtl.css floats it to the left on wide screens). */
html.zbfl--ar .single-page article.post .entry-content { float: none; margin-left: auto; margin-right: 0; }

/* Contact page: the contact details have their own round icons, so no red dots beside them */
.zbfl .entry-content .wpb_text_column .contact-details ul:not([class]) > li { padding-inline-start: 0; }
.zbfl .entry-content .wpb_text_column .contact-details ul:not([class]) > li::before { content: none; }
