/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");


/* ---------------------------------------------------------------------------
   Client feedback, 14 Sep 2026
   --------------------------------------------------------------------------- */

/* Larger main navigation labels (was 13px) */
nav.main_menu > ul > li > a,
nav.main_menu > ul > li > a > span:not(.plus) {
	font-size: 16px;
	letter-spacing: 0.4px;
}

/* Keep the sticky header menu in step with the main one */
.sticky_header nav.main_menu > ul > li > a,
.sticky_header nav.main_menu > ul > li > a > span:not(.plus) {
	font-size: 16px;
}

/* Product child pages (children of Our Products).
   No page title band — a Revolution Slider hero goes here once brand imagery is
   available. Until then the page starts on the content, so the transparent
   header needs dark menu text (it is white by default, for use over a slider)
   and the content needs clearing below it. Remove this block when a slider is
   added to these pages. */
.parent-pageid-136 .title {
	display: none;
}

/* No slider behind the header on these pages, and the header is transparent and
   sticky — so content shows straight through it. Give it the brand navy, which
   also matches the logo's own background and keeps the theme's white menu text. */
.parent-pageid-136 .header_top_bottom_holder,
.parent-pageid-136 .header_bottom,
.parent-pageid-136 .fixed_top_header .bottom_header {
	background-color: #051c3c;
}

/* The theme pulls .content up by -200px so it sits beneath the transparent
   header. With no slider there is nothing to sit beneath, so cancel the pull
   rather than padding against it — padding alone left the top of the page
   permanently hidden behind the header, with no way to scroll to it. */
.parent-pageid-136 .content {
	margin-top: 0;
	padding-top: 40px;
}

/* Brand names are lowercase (go dose, d3); the theme capitalises page titles. */
.parent-pageid-136 .title h1 {
	text-transform: none;
}

/* Tab blocks. The theme ships no tab chrome, so the two labels read as headings
   rather than tabs. Give the strip a light surface, with the active tab sharing
   the panel's background so the two connect. */
.q_tabs .tabs-nav {
	border: 0;
	background: none;
	margin: 0;
	padding: 0;
}

.q_tabs .tabs-nav li {
	display: inline-block;
	float: none;
	margin: 0 3px 0 0;
	padding: 0;
	border: 0;
	background: none;
}

.q_tabs .tabs-nav li a {
	display: block;
	padding: 14px 26px;
	background-color: #fafafa;
	border-top: 3px solid transparent;
	color: #8c8c8c;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.q_tabs .tabs-nav li a:hover {
	background-color: #f0f0f0;
	color: #051c3c;
}

.q_tabs .tabs-nav li.ui-tabs-active a,
.q_tabs .tabs-nav li.active a {
	background-color: #f5f5f5;
	border-top-color: #4c87ca;
	color: #051c3c;
}

.q_tabs .tab-content {
	background-color: #f5f5f5;
	padding: 28px 26px;
	border: 0;
}

/* The theme strips the left padding off the first tab to align it flush; with a
   background on the tab that clips the label, so put it back. */
.q_tabs.horizontal .tabs-nav li:first-child a {
	padding-left: 26px;
}

/* Narrow screens: stack the tabs rather than letting the labels wrap mid-tab. */
@media (max-width: 600px) {

	.q_tabs .tabs-nav li {
		display: block;
		margin: 0 0 2px 0;
	}

	.q_tabs .tabs-nav li a,
	.q_tabs.horizontal .tabs-nav li:first-child a {
		padding: 12px 18px;
	}

	.q_tabs .tab-content {
		padding: 20px 18px;
	}
}

/* Data tables inside tab panels read better left-aligned and not full-bleed. */
.q_tabs .tab-content table {
	width: auto;
	min-width: 320px;
	margin: 0 0 10px 0;
}

.q_tabs .tab-content th,
.q_tabs .tab-content td {
	text-align: left;
	padding: 7px 32px 7px 0;
	border: 0;
}

.q_tabs .tab-content thead th {
	border-bottom: 1px solid #e0e0e0;
	color: #051c3c;
}

.q_tabs .tab-content h5 {
	margin: 26px 0 8px 0;
}

/* Tighten the header on product pages. The theme's 200px header is sized for a
   slider sitting behind it; against the solid navy band it reads as dead space
   under the logo. Height comes from the menu line-height, with the logo centred
   off a top offset of half the header. */
.parent-pageid-136 .header_inner,
.parent-pageid-136 .header_top_bottom_holder,
.parent-pageid-136 .header_bottom,
.parent-pageid-136 .header_inner_left,
.parent-pageid-136 nav.main_menu,
.parent-pageid-136 nav.main_menu > ul > li,
.parent-pageid-136 nav.main_menu > ul > li > a {
	height: 150px;
	line-height: 150px;
}

.parent-pageid-136 .q_logo {
	top: 75px;
}

.parent-pageid-136 header .q_logo img {
	height: 100px;
	width: auto;
}


/* Gallery strip: keep the product shots even and let them breathe. */
.parent-pageid-136 .content .product-gallery .wpb_single_image {
	margin-bottom: 30px;
}

.parent-pageid-136 .content .product-gallery .wpb_single_image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background-color: #fafafa;
}

/* Brand names are typed, never transformed. d3 and go dose are lowercase by
   brand rule, so any uppercase transform on a heading would render them wrong.
   Applies to every heading level used in product page copy. */
.parent-pageid-136 .content h2,
.parent-pageid-136 .content h3,
.parent-pageid-136 .content h4,
.parent-pageid-136 .content h5,
.parent-pageid-136 .content .q_tabs .tabs-nav li a {
	text-transform: none;
}

/* Group headings inside a product range, set apart from the product names. */
.parent-pageid-136 .content .wpb_text_column h4 {
	color: #4c87ca;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	font-size: 14px;
}

/* d3 page: use the brand orange for those group headings. */
.page-id-637 .content .wpb_text_column h4 {
	color: #f26522;
}

/* Copy rhythm across product pages. Headings and paragraphs share one scale so
   blocks read consistently whether they hold one paragraph or several. */
.content .wpb_text_column h3 {
	margin: 0 0 12px 0;
}

.parent-pageid-136 .content .wpb_text_column h4 {
	margin: 0 0 16px 0;
}

.content .wpb_text_column h5 {
	margin: 26px 0 8px 0;
}

.content .wpb_text_column h3:first-child,
.content .wpb_text_column h4:first-child,
.content .wpb_text_column h5:first-child {
	margin-top: 0;
}

.content .wpb_text_column p {
	margin: 0 0 14px 0;
}

.content .wpb_text_column ul {
	margin: 0 0 14px 18px;
}

.content .wpb_text_column li {
	margin-bottom: 4px;
}

.content .wpb_text_column > *:last-child {
	margin-bottom: 0;
}

/* About intro: centre the copy against the taller image rather than letting it
   sit top-aligned with a gap beneath. The builder's own content-placement
   setting is ignored by this theme, so do it here. */
.about-intro {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

@media (max-width: 1000px) {

	.about-intro {
		display: block;
	}
}


/* ---- Footer: 3-column layout ---- */
.footer_top .column_inner .textwidget img { max-width: 240px; height: auto; }
.footer_top .footer-address,
.footer_top .footer-contact { margin: 0 0 12px; line-height: 1.75; }
.footer_top .footer-address { color: rgba(255,255,255,.75); }
.footer_top .footer-contact a { color: #fff; }
.footer_top .footer-contact a:hover { color: #4c87ca; }
.footer_top .wp-block-social-links { margin: 0; padding: 0; }


/* ---- Buttons: one size site-wide ---- */
.qbutton,
.qbutton.small,
.qbutton.medium,
.qbutton.large,
.qbutton.extra_large,
input[type="submit"].qbutton,
.wpcf7 input.wpcf7-form-control.wpcf7-submit {
    font-size: 14px;
    line-height: 42px;
    height: 42px;
    padding: 0 22px;
}


/* ---- About: team names ---- */
/* The theme capitalises h4, which turns "du Plessis" into "Du Plessis"
   and "Head of Operations" into "Head Of Operations". */
.page-id-143 .content h4 { text-transform: none; }


/* ---- Body copy: a shade darker (client feedback 17 Sep) ---- */
/* Was #3e3e3e at weight 300; the thin weight is what read as pale. */
.content .wpb_text_column p,
.content .wpb_text_column li { color: #222; font-weight: 400; }

/* ---- go dose page: product sections ---- */
.page-id-652 .gd-intro { text-align: center; }
.page-id-652 .gd-intro h1 { text-transform: none; text-align: center; margin-bottom: 18px; }
.page-id-652 .gd-intro p { text-align: center; }
.page-id-652 .gd-intro p { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-id-652 .gd-jump { margin-top: 24px; }
.page-id-652 .gd-jump a { display: inline-block; margin: 0 6px 8px; padding: 9px 20px; border: 1px solid #4c87ca; color: #4c87ca; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.page-id-652 .gd-jump a:hover { background: #4c87ca; color: #fff; }
.page-id-652 .gd-product { margin-top: 56px; padding-top: 56px; border-top: 1px solid #e3e7ed; scroll-margin-top: 170px; }
.page-id-652 .gd-product .section_inner_margin { display: flex; align-items: center; flex-wrap: wrap; }
.page-id-652 .gd-tagline { color: #4c87ca; font-size: 20px; margin: 0 0 16px; }
.page-id-652 .gd-strap { margin-top: 22px; }
.page-id-652 .gd-placeholder { aspect-ratio: 16 / 9; background: #f5f6f8; border: 1px dashed #c6cfdb; display: flex; align-items: center; justify-content: center; text-align: center; color: #8793a5; font-size: 14px; letter-spacing: .03em; }
.page-id-652 .gd-info-row { padding-top: 28px; }
.page-id-652 details.gd-info { border: 1px solid #e1e5eb; background: #fafafa; margin: 0 0 10px; }
.page-id-652 details.gd-info summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 22px; font-weight: 600; color: #051c3c; font-size: 15px; position: relative; }
.page-id-652 details.gd-info summary::-webkit-details-marker { display: none; }
.page-id-652 details.gd-info summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; line-height: 1; color: #4c87ca; }
.page-id-652 details.gd-info[open] summary::after { content: "\2212"; }
.page-id-652 details.gd-info summary:hover { background: #f2f4f7; }
.page-id-652 details.gd-info[open] summary { border-bottom: 1px solid #e1e5eb; }
.page-id-652 .gd-info-body { padding: 22px 22px 6px; background: #fff; }
.page-id-652 .gd-info-body table { width: auto; margin: 0 0 16px; border-collapse: collapse; }
.page-id-652 .gd-info-body th,
.page-id-652 .gd-info-body td { padding: 6px 18px 6px 0; text-align: left; border-bottom: 1px solid #eef0f3; }
@media (max-width: 1000px) {
  .page-id-652 .gd-product .section_inner_margin { display: block; }
  .page-id-652 .gd-product .wpb_column { margin-bottom: 24px; }
}


/* ---- Product-area buttons: no forced capitals ---- */
/* d3 and go dose are always lowercase; the theme's uppercase buttons broke that. */
.page-id-136 .qbutton,
.parent-pageid-136 .qbutton { text-transform: none; }


/* ---- Mobile header logo (9 Oct 2026) ---- */
/* The navy mobile logo rendered 401px wide on a 375px screen and sat over the
   hamburger. Capped by height so the aspect ratio is kept. */
@media only screen and (max-width: 1000px) {
    .q_logo img,
    .q_logo img.mobile,
    .q_logo img.normal { height: 46px !important; width: auto !important; max-width: 58vw !important; }
    .q_logo a { height: auto !important; }
}


/* ---- Mobile spacing (9 Oct 2026) ---- */
@media only screen and (max-width: 768px) {
    /* Spacers are sized for desktop — 130 to 150px of dead space under the header */
    .content .vc_empty_space { height: 40px !important; }

    /* Accreditation badges stacked at 300 x 200 each ran to 840px of page */
    .content img[src*="SAHPRA"],
    .content img[src*="DOH"],
    .content img[src*="South-African-PC"],
    .content img[src*="LEVEL-1-B-BBEE"] { max-width: 150px; height: auto; }
}


/* ---- Sticky header logo (9 Oct 2026) ---- */
/* Sticky bar is 100px and the logo was 90px, so the lockup touched both edges. */
@media only screen and (min-width: 1001px) {
    header.sticky .q_logo img,
    header.sticky .q_logo img.sticky { height: 62px !important; width: auto !important; }
}


/* ---- Desktop header logo (9 Oct 2026) ---- */
/* Was 120px in a 200px bar. 100px matches the product pages and leaves more air. */
@media only screen and (min-width: 1001px) {
    header:not(.sticky) .q_logo img { height: 100px !important; width: auto !important; }
}


/* ---- Mobile hero (9 Oct 2026) ---- */
/* The Revolution Slider renders an empty navy band on phones, so the hero is
   swapped for a cropped still below 1000px. Remove this block once the slider
   itself is set up for mobile. */
.mobile-hero { display: none; }
@media only screen and (max-width: 1000px) {
    .desktop-hero { display: none !important; }
    .mobile-hero { display: block !important; background-color: #0F1F3A; text-align: center; }
    .mobile-hero .mobile-hero-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 72% center; display: block; }
    .mobile-hero .wpb_text_column { padding: 24px 20px 0; }
    .mobile-hero .mobile-hero-title { color: #ffffff !important; font-size: 26px; line-height: 1.25; text-transform: none; margin: 0 0 20px; }
    .mobile-hero .qbutton { margin-bottom: 6px; }
}


/* ---------------------------------------------------------------------------
   Policy pages (Privacy, Terms, Legal Disclaimer, Product Safety, PAIA, Cookie)
   Content is wrapped in <div class="bp-legal">. Readable column, clear section
   headings, normal list bullets. Added 2 Nov 2026.
   --------------------------------------------------------------------------- */
.bp-legal {
	max-width: 860px;
	margin: 0 auto;
	padding: 50px 0 80px;
}
.bp-legal p,
.bp-legal li {
	font-size: 16px;
	line-height: 1.7;
	color: #222;
	font-weight: 400;
}
.bp-legal p {
	margin: 0 0 14px;
}
.bp-legal h2 {
	font-size: 24px;
	line-height: 1.3;
	color: #051c3c;
	text-transform: none;
	letter-spacing: 0;
	margin: 40px 0 14px;
	padding-top: 22px;
	border-top: 1px solid #e3e7ee;
}
.bp-legal h2:first-of-type {
	margin-top: 10px;
}
.bp-legal h3 {
	font-size: 18px;
	line-height: 1.4;
	color: #051c3c;
	text-transform: none;
	letter-spacing: 0;
	margin: 26px 0 10px;
}
.bp-legal ul {
	list-style: disc;
	margin: 0 0 18px 22px;
	padding: 0;
}
.bp-legal li {
	margin-bottom: 6px;
}
.bp-legal li p {
	margin: 0;
}
.bp-legal a {
	color: #0b5ea8;
	text-decoration: underline;
	word-break: break-word;
}
.bp-legal .bp-legal-meta {
	font-size: 14px;
	color: #555;
	margin-bottom: 26px;
}
@media only screen and (max-width: 768px) {
	.bp-legal { padding: 30px 0 50px; }
	.bp-legal h2 { font-size: 21px; margin-top: 30px; }
}


/* Policy pages: generic brand-navy title band instead of the theme's default
   stock photo. Page IDs: 3 Privacy, 774 Disclaimer, 775 Product Safety,
   776 Terms, 778 PAIA, 779 Cookie. */
.page-id-3 .title,
.page-id-774 .title,
.page-id-775 .title,
.page-id-776 .title,
.page-id-778 .title,
.page-id-779 .title {
	background-image: none !important;
	background: linear-gradient(135deg, #051c3c 0%, #0a2f5c 60%, #0d3d75 100%) !important;
}
.page-id-3 .title .image,
.page-id-774 .title .image,
.page-id-775 .title .image,
.page-id-776 .title .image,
.page-id-778 .title .image,
.page-id-779 .title .image {
	display: none !important;
}


/* Policy pages: tables (PAIA records). Added 3 Nov 2026. */
.bp-legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 6px 0 22px;
	font-size: 15px;
}
.bp-legal th,
.bp-legal td {
	border: 1px solid #dfe4ec;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
	line-height: 1.55;
	color: #222;
	font-weight: 400;
}
.bp-legal th {
	background: #f1f4f9;
	color: #051c3c;
}
.bp-legal td:first-child {
	width: 28%;
	font-weight: 600;
}
@media only screen and (max-width: 600px) {
	.bp-legal th, .bp-legal td { padding: 8px; font-size: 14px; }
}


/* ---------------------------------------------------------------------------
   Cookie notice (markup in functions.php, bp_cookie_notice). 3 Nov 2026.
   --------------------------------------------------------------------------- */
#bp-cookie-notice {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 100000;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 20px;
	background: #051c3c;
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(5, 28, 60, 0.28);
}
#bp-cookie-notice[hidden] {
	display: none;
}
#bp-cookie-notice p {
	margin: 0;
	flex: 1;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 400;
	color: #fff;
}
#bp-cookie-notice a {
	color: #fff;
	text-decoration: underline;
	white-space: nowrap;
}
#bp-cookie-notice button {
	flex-shrink: 0;
	min-width: 88px;
	padding: 10px 22px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #051c3c;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3px;
	cursor: pointer;
}
#bp-cookie-notice button:hover,
#bp-cookie-notice button:focus-visible {
	background: #dfe8f5;
	outline: 2px solid #fff;
	outline-offset: 2px;
}
@media only screen and (max-width: 600px) {
	#bp-cookie-notice {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		left: 12px;
		right: 12px;
		bottom: 12px;
	}
	#bp-cookie-notice button {
		width: 100%;
	}
}


/* ---- Product page CTA band (9 Nov 2026) ---- */
/* The spacing above this band used to come from the Patient/Professional
   Information rows, which are hidden for now, so it is set on the band itself. */
.cta-band { margin-top: 70px; }
@media only screen and (max-width: 768px) {
    .cta-band { margin-top: 40px; }
}

/* Band background and padding kept in the child theme so every product page
   renders it, independent of WPBakery's per-page custom CSS. */
.cta-band > .full_section_inner > .wpb_column > .vc_column-inner,
.cta-band > .wpb_column > .vc_column-inner {
	padding-top: 50px;
	padding-bottom: 50px;
	background-image: url(/wp-content/uploads/2026/08/bg_1920x990.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
