/* ==========================================================================
   VeryBlue theme – component styles
   Colours/typography come from theme.json presets (var(--wp--preset--*)).
   ========================================================================== */

:root {
	--vb-navy: var(--wp--preset--color--navy);
	--vb-navy-deep: var(--wp--preset--color--navy-deep);
	--vb-blue: var(--wp--preset--color--blue);
	--vb-sky: var(--wp--preset--color--sky);
	--vb-ink: var(--wp--preset--color--ink);
	--vb-slate: var(--wp--preset--color--slate);
	--vb-line: var(--wp--preset--color--line);
	--vb-mist: var(--wp--preset--color--mist);
	--vb-gold: var(--wp--preset--color--gold);
	--vb-radius: 10px;
	--vb-shadow: 0 1px 2px rgba(11, 45, 91, .06), 0 8px 24px rgba(11, 45, 91, .06);
	--vb-shadow-lg: 0 2px 4px rgba(11, 45, 91, .06), 0 18px 40px rgba(11, 45, 91, .12);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }

/* Accessibility --------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--vb-sky);
	outline-offset: 2px;
	border-radius: 3px;
}
.skip-link.screen-reader-text:focus { z-index: 100000; }
.vb-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Top bar ---------------------------------------------------------------- */
.vb-topbar { font-size: .875rem; }
.vb-topbar a { color: inherit; text-decoration: none; }
.vb-topbar a:hover, .vb-topbar a:focus { text-decoration: underline; color: #fff; }
.vb-topbar .vb-contact-inline { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.vb-topbar .vb-contact-inline li { display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 781px) { .vb-topbar .vb-hide-mobile { display: none !important; } }

/* Header ----------------------------------------------------------------- */
.vb-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--vb-line);
	backdrop-filter: saturate(160%) blur(6px);
}
.admin-bar .vb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vb-header { top: 0; position: relative; } }
.vb-header .wp-block-site-logo img { width: auto; max-height: 52px; }
@media (max-width: 600px) { .vb-header .wp-block-site-logo img { max-height: 40px; } }
.vb-header .wp-block-navigation a { text-decoration: none; }
.vb-header .wp-block-navigation-item__content { padding: .35rem 0; }
.vb-header .wp-block-navigation .current-menu-item > a,
.vb-header .wp-block-navigation-item__content[aria-current="page"] { color: var(--vb-blue); box-shadow: inset 0 -2px 0 var(--vb-blue); }
.vb-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--vb-line) !important; border-radius: 8px; box-shadow: var(--vb-shadow-lg);
	padding: .4rem 0 !important; min-width: 270px !important;
}
.vb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1rem !important; font-weight: 500; }
.vb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--vb-mist); color: var(--vb-blue); }
.vb-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.vb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; font-size: 1.15rem; }
.vb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding-left: 1rem !important; font-size: 1rem; }
.vb-header-cta .wp-block-button__link { padding: .7rem 1.15rem; font-size: .95rem; white-space: nowrap; }
@media (max-width: 960px) { .vb-header-cta { display: none !important; } }

/* Eyebrow / section labels --------------------------------------------- */
.vb-eyebrow {
	display: flex; align-items: center; gap: .6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: .8rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--vb-blue);
	margin-bottom: .25rem !important;
}
.vb-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--vb-gold); }
.has-navy-background-color .vb-eyebrow, .vb-on-dark .vb-eyebrow { color: #9ccfff; }
.vb-lead { font-size: var(--wp--preset--font-size--medium); color: var(--vb-slate); }
.has-navy-background-color .vb-lead, .vb-on-dark .vb-lead { color: #d5e2f3; }

/* Hero --------------------------------------------------------------------- */
.vb-hero { position: relative; overflow: hidden; isolation: isolate; }
.vb-hero::after {
	/* subtle chevron motif drawn from the VeryBlue "V" */
	content: ""; position: absolute; z-index: -1; right: -6%; top: -12%; width: min(48vw, 640px); aspect-ratio: 1;
	background: url("../img/chevron-motif.svg") no-repeat center / contain; opacity: .14; pointer-events: none;
}
.vb-hero h1 { color: #fff; max-width: 15ch; }
.vb-hero .vb-hero-text { color: #d5e2f3; font-size: var(--wp--preset--font-size--medium); max-width: 56ch; }
.vb-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.vb-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.vb-hero .wp-block-button.is-style-outline .wp-block-button__link:focus { background: #fff; color: var(--vb-navy); border-color: #fff; }
.vb-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #fff; color: var(--vb-navy); }
.vb-hero-figure img { width: 100%; height: auto; }
.vb-trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 0; list-style: none; color: #d5e2f3; font-size: .95rem; }
.vb-trust-row li { display: inline-flex; align-items: center; gap: .5rem; }
.vb-trust-row li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--vb-sky); -webkit-mask: url("../icons/check.svg") center / contain no-repeat; mask: url("../icons/check.svg") center / contain no-repeat; }

/* Page hero (inner pages) ------------------------------------------------- */
.vb-page-hero { position: relative; overflow: hidden; isolation: isolate; }
.vb-page-hero::after {
	content: ""; position: absolute; z-index: -1; right: -60px; bottom: -120px; width: 360px; aspect-ratio: 1;
	background: url("../img/chevron-motif.svg") no-repeat center / contain; opacity: .12; pointer-events: none;
}
.vb-page-hero h1 { color: #fff; }
.vb-page-hero p { color: #d5e2f3; }
.vb-page-hero a { color: #fff; }

/* Cards -------------------------------------------------------------------- */
.vb-card {
	background: #fff; border: 1px solid var(--vb-line); border-radius: var(--vb-radius);
	box-shadow: var(--vb-shadow); height: 100%;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	position: relative;
}
.vb-card:hover, .vb-card:focus-within { transform: translateY(-3px); box-shadow: var(--vb-shadow-lg); border-color: #c9d6ea; }
.vb-card h3 { font-size: 1.2rem !important; margin-top: .9rem !important; }
.vb-card h3 a { color: inherit; text-decoration: none; }
.vb-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--vb-radius); } /* whole card clickable */
.vb-card p { color: var(--vb-slate); font-size: .98rem; }
.vb-card .vb-more { font-weight: 700; color: var(--vb-blue); font-size: .95rem; margin-top: auto !important; }
.vb-card .vb-more::after { content: " \2192"; }
.wp-block-columns.vb-grid > .wp-block-column { display: flex; }
.wp-block-columns.vb-grid > .wp-block-column > .vb-card { width: 100%; display: flex; flex-direction: column; }

/* Icons (CSS masks, so editors can swap with a class name) ---------------- */
.vb-icon {
	width: 56px; height: 56px; border-radius: 12px; background: #e9f1fc; position: relative; flex: none;
	margin: 0 !important;
}
.vb-icon::before {
	content: ""; position: absolute; inset: 13px; background: var(--vb-blue);
	-webkit-mask: var(--vb-icon-url) center / contain no-repeat; mask: var(--vb-icon-url) center / contain no-repeat;
}
.has-navy-background-color .vb-icon, .vb-on-dark .vb-icon { background: rgba(255, 255, 255, .1); }
.has-navy-background-color .vb-icon::before, .vb-on-dark .vb-icon::before { background: #9ccfff; }
.vb-icon-accounting { --vb-icon-url: url("../icons/ledger.svg"); }
.vb-icon-tax { --vb-icon-url: url("../icons/tax.svg"); }
.vb-icon-afs { --vb-icon-url: url("../icons/report.svg"); }
.vb-icon-bbbee { --vb-icon-url: url("../icons/shield.svg"); }
.vb-icon-payroll { --vb-icon-url: url("../icons/payroll.svg"); }
.vb-icon-assets { --vb-icon-url: url("../icons/assets.svg"); }
.vb-icon-safety { --vb-icon-url: url("../icons/hardhat.svg"); }
.vb-icon-registration { --vb-icon-url: url("../icons/building.svg"); }
.vb-icon-virtual { --vb-icon-url: url("../icons/laptop.svg"); }
.vb-icon-handshake { --vb-icon-url: url("../icons/handshake.svg"); }
.vb-icon-clock { --vb-icon-url: url("../icons/clock.svg"); }
.vb-icon-user { --vb-icon-url: url("../icons/user.svg"); }
.vb-icon-check { --vb-icon-url: url("../icons/check-circle.svg"); }
.vb-icon-growth { --vb-icon-url: url("../icons/growth.svg"); }
.vb-icon-target { --vb-icon-url: url("../icons/target.svg"); }
.vb-icon-graduation { --vb-icon-url: url("../icons/graduation.svg"); }
.vb-icon-badge { --vb-icon-url: url("../icons/badge.svg"); }
.vb-icon-phone { --vb-icon-url: url("../icons/phone.svg"); }
.vb-icon-mail { --vb-icon-url: url("../icons/mail.svg"); }
.vb-icon-pin { --vb-icon-url: url("../icons/pin.svg"); }

/* Feature rows ("Why choose") -------------------------------------------- */
.vb-feature { display: flex; gap: 1rem; align-items: flex-start; }
.vb-feature > *, .vb-cred > * { margin-block-start: 0 !important; }
.vb-feature h3 { font-size: 1.1rem !important; margin: .2rem 0 .3rem !important; }
.vb-feature p { margin: 0; color: var(--vb-slate); font-size: .98rem; }
.has-navy-background-color .vb-feature p { color: #c9d8ec; }
.has-navy-background-color .vb-feature h3 { color: #fff; }

/* Lists -------------------------------------------------------------------- */
ul.vb-check-list { list-style: none; padding-left: 0 !important; }
ul.vb-check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
ul.vb-check-list li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--vb-blue);
	-webkit-mask: url("../icons/check-circle.svg") center / contain no-repeat; mask: url("../icons/check-circle.svg") center / contain no-repeat;
}
.has-navy-background-color ul.vb-check-list li::before { background: var(--vb-sky); }

/* Steps -------------------------------------------------------------------- */
.vb-steps { counter-reset: vbstep; }
.vb-step { counter-increment: vbstep; position: relative; padding-top: 3.2rem !important; }
.vb-step::before {
	content: counter(vbstep, decimal-leading-zero); position: absolute; top: 0; left: 0;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 2rem; line-height: 1;
	color: var(--vb-blue); opacity: .25;
}

/* Panels ------------------------------------------------------------------ */
.vb-panel { border-radius: var(--vb-radius); }
.vb-aside { position: sticky; top: 110px; }
.vb-note { border-left: 3px solid var(--vb-gold); padding: .25rem 0 .25rem 1rem; color: var(--vb-slate); font-size: .95rem; }

/* Profile ---------------------------------------------------------------- */
.vb-profile-card img { border-radius: var(--vb-radius); }
.vb-cred { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--vb-line); }
.vb-cred:last-child { border-bottom: 0; }
.vb-cred h3 { font-size: 1.05rem !important; margin: 0 0 .2rem !important; }
.vb-cred p { margin: 0; color: var(--vb-slate); }

/* CTA band ---------------------------------------------------------------- */
.vb-cta { position: relative; overflow: hidden; isolation: isolate; }
.vb-cta::after {
	content: ""; position: absolute; z-index: -1; left: -80px; top: -90px; width: 380px; aspect-ratio: 1;
	background: url("../img/chevron-motif.svg") no-repeat center / contain; opacity: .1; transform: rotate(180deg);
}
.vb-cta h2 { color: #fff; }
.vb-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--vb-navy); }
.vb-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--vb-sky); color: var(--vb-navy-deep); }
.vb-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.vb-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }

/* Footer ------------------------------------------------------------------ */
.vb-footer { color: #c9d8ec; font-size: .95rem; }
.vb-footer h2, .vb-footer h3 { color: #fff; font-size: 1rem !important; letter-spacing: .06em; text-transform: uppercase; }
.vb-footer a { color: #e3ecf8; text-decoration: none; }
.vb-footer a:hover, .vb-footer a:focus { color: #fff; text-decoration: underline; }
.vb-footer ul { list-style: none; padding: 0 !important; margin: 0; }
.vb-footer li { margin-bottom: .55rem; }
.vb-footer .vb-footer-logo img { width: 230px; height: auto; }
.vb-footer .vb-contact-list li { display: flex; gap: .65rem; align-items: flex-start; }
.vb-footer .vb-contact-list .vb-ci { background: #8fc4ff; }
.vb-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: #a9bcd6; }

/* Contact details block ---------------------------------------------------- */
.vb-contact-list { list-style: none; padding: 0 !important; margin: 0; }
.vb-contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.vb-contact-list .vb-ci {
	width: 20px; height: 20px; flex: none; margin-top: .2rem; background: var(--vb-blue);
	-webkit-mask: var(--vb-icon-url) center / contain no-repeat; mask: var(--vb-icon-url) center / contain no-repeat;
}
.vb-ci-phone { --vb-icon-url: url("../icons/phone.svg"); }
.vb-ci-mail { --vb-icon-url: url("../icons/mail.svg"); }
.vb-ci-pin { --vb-icon-url: url("../icons/pin.svg"); }
.vb-ci-clock { --vb-icon-url: url("../icons/clock.svg"); }
.vb-ci-whatsapp { --vb-icon-url: url("../icons/whatsapp.svg"); }
.vb-contact-list strong { display: block; color: var(--vb-navy); font-family: var(--wp--preset--font-family--heading); }
.vb-footer .vb-contact-list strong { color: #fff; }
.vb-contact-inline .vb-ci { width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--vb-icon-url) center / contain no-repeat; mask: var(--vb-icon-url) center / contain no-repeat; }

/* Enquiry form ------------------------------------------------------------- */
.vb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.vb-form .vb-field { display: flex; flex-direction: column; gap: .35rem; }
.vb-form .vb-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .vb-form { grid-template-columns: 1fr; } }
.vb-form label { font-weight: 600; font-size: .95rem; color: var(--vb-navy); }
.vb-form .vb-req { color: #b42318; }
.vb-form input[type=text], .vb-form input[type=email], .vb-form input[type=tel], .vb-form select, .vb-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--vb-ink);
	padding: .75rem .9rem; border: 1px solid #b8c4d6; border-radius: 8px; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.vb-form textarea { min-height: 150px; resize: vertical; }
.vb-form input:focus, .vb-form select:focus, .vb-form textarea:focus { border-color: var(--vb-blue); box-shadow: 0 0 0 3px rgba(10, 88, 194, .18); outline: none; }
.vb-form [aria-invalid="true"] { border-color: #b42318 !important; }
.vb-form .vb-error-text { color: #b42318; font-size: .875rem; }
.vb-form .vb-consent { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; color: var(--vb-slate); font-size: .92rem; }
.vb-form .vb-consent input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--vb-blue); flex: none; }
.vb-form .vb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vb-form button {
	justify-self: start; cursor: pointer; border: 0; border-radius: 6px; background: var(--vb-blue); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1rem; padding: .9rem 1.6rem;
}
.vb-form button:hover, .vb-form button:focus { background: var(--vb-navy); }
.vb-alert { border-radius: 8px; padding: 1rem 1.15rem; margin-bottom: 1.25rem; font-size: .98rem; }
.vb-alert--ok { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.vb-alert--err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.vb-alert strong { display: block; margin-bottom: .2rem; }

/* Map --------------------------------------------------------------------- */
.vb-map { border-radius: var(--vb-radius); overflow: hidden; border: 1px solid var(--vb-line); background: var(--vb-mist); }
.vb-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.vb-map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; min-height: 260px; padding: 1.5rem; }
.vb-map-placeholder button { cursor: pointer; border: 1px solid var(--vb-blue); background: #fff; color: var(--vb-blue); border-radius: 6px; padding: .6rem 1.1rem; font-weight: 700; font: inherit; font-weight: 700; }
.vb-map-placeholder small { color: var(--vb-slate); }

/* WhatsApp floating button ------------------------------------------------ */
.vb-whatsapp {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	display: inline-flex; align-items: center; gap: .55rem;
	background: #1b7f45; color: #fff !important; text-decoration: none !important;
	padding: .75rem 1rem .75rem .85rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: .95rem;
}
.vb-whatsapp:hover, .vb-whatsapp:focus { background: #136236; }
.vb-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 600px) { .vb-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .vb-whatsapp { padding: .85rem; } }
@media print { .vb-whatsapp, .vb-header, .vb-footer, .vb-topbar { display: none !important; } }

/* Misc --------------------------------------------------------------------- */
.vb-divider-gold { width: 56px; height: 3px; background: var(--vb-gold); border: 0; margin-left: 0 !important; }
.wp-block-details { border: 1px solid var(--vb-line); border-radius: 8px; padding: 1rem 1.15rem; background: #fff; }
.wp-block-details summary { font-weight: 700; color: var(--vb-navy); cursor: pointer; font-family: var(--wp--preset--font-family--heading); }
.wp-block-details[open] summary { margin-bottom: .6rem; }
.vb-404 .wp-block-buttons { margin-top: 1.5rem; }

/* Breadcrumbs ------------------------------------------------------------- */
.vb-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; font-size: .9rem; color: #c9d8ec; }
.vb-breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.vb-breadcrumbs a { color: #e3ecf8; text-decoration: none; }
.vb-breadcrumbs a:hover, .vb-breadcrumbs a:focus { text-decoration: underline; color: #fff; }
.vb-page-hero .wp-block-post-excerpt__excerpt { max-width: 62ch; margin: 0; }
.vb-page-hero .wp-block-post-excerpt { margin-top: .75rem; }

/* Service links (sidebar) ---------------------------------------------- */
ul.vb-service-links { list-style: none; padding: 0; margin: 0; }
ul.vb-service-links li { border-bottom: 1px solid var(--vb-line); }
ul.vb-service-links li:last-child { border-bottom: 0; }
ul.vb-service-links a { display: block; padding: .6rem 0; text-decoration: none; color: var(--vb-ink); font-weight: 500; }
ul.vb-service-links a:hover, ul.vb-service-links a:focus { color: var(--vb-blue); }
ul.vb-service-links a[aria-current="page"] { color: var(--vb-blue); font-weight: 700; }

/* Block style variations ------------------------------------------------ */
.is-style-vb-card { background: #fff; border: 1px solid var(--vb-line); border-radius: var(--vb-radius); box-shadow: var(--vb-shadow); padding: 1.75rem; }
ul.is-style-vb-checks { list-style: none; padding-left: 0 !important; }
ul.is-style-vb-checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
ul.is-style-vb-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--vb-blue); -webkit-mask: url("../icons/check-circle.svg") center / contain no-repeat; mask: url("../icons/check-circle.svg") center / contain no-repeat; }

/* Service page body ----------------------------------------------------- */
.page-template-page-service .wp-block-post-content > h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.page-template-page-service .wp-block-post-content > h2:first-child { margin-top: 0; }
.vb-bodies { font-size: .9rem; color: #a9bcd6; }
.vb-social a { margin-right: .25rem; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; padding: calc(.85rem - 2px) calc(1.5rem - 2px); }
.vb-cta .wp-block-button.is-style-outline > .wp-block-button__link { border-color: rgba(255, 255, 255, .6); }
.vb-icon-shield { --vb-icon-url: url("../icons/shield.svg"); }
.vb-form .vb-field button { align-self: flex-start; }
.vb-card:not(:has(h3 a)):hover, .vb-card:not(:has(h3 a)):focus-within { transform: none; box-shadow: var(--vb-shadow); border-color: var(--vb-line); }
p + .vb-contact-list, .wp-block-paragraph + .vb-contact-list { margin-top: 1.5rem; }

/* Qualifications & professional bodies ---------------------------------- */
.vb-credentials { border-bottom: 1px solid var(--vb-line); }
.vb-cred-heading { font-size: 1.05rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--vb-slate) !important; margin-bottom: 1rem !important; }
.vb-bodies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.vb-body-card { background: #fff; border: 1px solid var(--vb-line); border-radius: var(--vb-radius); box-shadow: var(--vb-shadow); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.vb-body-logo { height: 96px; display: flex; align-items: center; justify-content: flex-start; padding-bottom: .75rem; border-bottom: 1px solid var(--vb-line); margin-bottom: .5rem; }
.vb-body-logo img { max-height: 84px; max-width: 220px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.vb-body-card h3 { font-size: 1.15rem !important; margin: 0 !important; }
.vb-body-card p { margin: 0; color: var(--vb-slate); font-size: .95rem; }
.vb-body-card .vb-body-no { font-weight: 600; color: var(--vb-navy); }
.vb-quals { background: var(--vb-mist); border-radius: var(--vb-radius); padding: .5rem 1.5rem; }
.vb-qual { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--vb-line); }
.vb-qual:last-child { border-bottom: 0; }
.vb-qual > * { margin-block-start: 0 !important; }
.vb-qual .vb-icon { width: 46px; height: 46px; background: #fff; }
.vb-qual .vb-icon::before { inset: 11px; }
.vb-qual p { margin: 0; line-height: 1.45; color: var(--vb-slate); font-size: .95rem; }
.vb-qual p strong { color: var(--vb-navy); font-family: var(--wp--preset--font-family--heading); font-size: 1rem; }

/* Tablet header: keep the menu on one line */
@media (min-width: 600px) and (max-width: 1100px) {
	.vb-header .wp-block-site-logo img { max-height: 44px; }
	.vb-header .wp-block-site-logo { width: 190px; }
	.vb-header .wp-block-navigation { font-size: .92rem; }
	.vb-header .wp-block-navigation__container, .vb-header .wp-block-navigation .wp-block-page-list { gap: 1.1rem !important; flex-wrap: nowrap; }
	.vb-header .wp-block-navigation-item { white-space: nowrap; }
}

/* Three membership cards side by side */
.vb-bodies-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.vb-body-card { padding: 1.25rem; }
.vb-body-logo { height: 88px; }
.vb-body-logo img { max-width: 100%; max-height: 80px; }
.vb-body-card p { font-size: .9rem; }
