/* WRT classic look: Woffice 2 layout on Woffice 5 markup. Values measured off the Woffice 2 site. */

/* Base */
body {
	background: #e8e8e8;
	color: #444;
	font-size: 14px;
	line-height: 21px;
}
#page-wrapper, .is-center-content, #main-content, #left-content { background: #e8e8e8; }

/* Header: white fixed logo bar (100px) over a dark centered menu bar (76px) */
body #page-wrapper .is-left-sidebar #navigation {
	display: block !important;
	position: relative;
	padding: 100px 0 0 !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	width: 100% !important;
	background: #3a4349;
	box-shadow: 0 16px 64px rgba(0, 0, 0, .15);
	text-align: center;
}
#navigation .stellar-nav-logo {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 100px;
	margin: 0;
	padding: 0;
	width: auto;
	background: #fff;
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, .2);
	display: flex;
	align-items: center;
	justify-content: center;
}
#navigation .stellar-nav-logo #nav-logo { position: static; display: block; width: 460px; margin-left: -180px; text-align: center; }
#navigation .stellar-nav-logo #nav-logo img { width: 450px; max-width: 100%; height: auto; max-height: none; }
body.admin-bar #navigation .stellar-nav-logo { top: 32px; }

body #page-wrapper .is-left-sidebar #main-modern-menu {
	display: block;
	width: 100% !important;
	height: auto !important;
	position: static !important;
	max-width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: 0;
}
#main-modern-menu > li { display: inline-block; float: none; margin: 0; vertical-align: top; }
#main-modern-menu > li > a {
	display: block;
	padding: 31px 10px 32px;
	margin: 0;
	border-radius: 0;
	background: none;
	color: #fff;
	font-size: 12.6px;
	font-weight: 700;
	line-height: 12.6px;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(0, 0, 0, .15);
}
#main-modern-menu > li.current-menu-item > a,
#main-modern-menu > li.current-menu-ancestor > a,
#main-modern-menu > li.current-menu-parent > a,
#main-modern-menu > li > a:hover {
	background: linear-gradient(-30deg, #408cce, #54a0e2);
	color: #fff;
}
#main-modern-menu .menu-icon { display: none; }
#main-modern-menu .sub-menu { text-align: left; line-height: 21px; }

/* Icons sit in the white bar, top right: sign-in | search, cart */
#navigation .horizontal_menu_icons_wrapper {
	position: fixed;
	top: 0;
	right: 109px;
	z-index: 1001;
	height: 100px;
	margin: 0;
	display: flex;
	align-items: center;
	border-left: 1px solid #e8e8e8;
	padding-left: 0;
}
body.admin-bar #navigation .horizontal_menu_icons_wrapper, body.admin-bar #wrt-user-login { top: 32px; }
#wrt-user-login {
	position: fixed;
	top: 0;
	right: 232px;
	z-index: 1001;
	height: 100px;
	line-height: 100px;
	padding: 0 10px;
	color: #9e9e9e;
	font-size: 28px;
}
#wrt-user-login:hover { color: #f4f4f4; }

/* Title box: 140px + 6px green rule, content card overlaps it */
#featuredbox.centered { position: relative; z-index: 1; border-bottom: 6px solid #82b440; height: 146px !important; min-height: 0 !important; overflow: hidden; }
#featuredbox.centered .featured-background, #featuredbox.centered .featured-layer { height: 140px !important; min-height: 0 !important; }
#featuredbox .pagetitle { height: 196px; display: table; position: absolute; top: 0; left: 0; width: 100%; padding: 0 40px; z-index: 20; }
#featuredbox .pagetitle h1 { display: table-cell; position: relative; z-index: 3; vertical-align: middle; }
#featuredbox .pagetitle h1, #featuredbox .entry-title {
	font-size: 56px;
	font-weight: 300;
	text-transform: none;
	color: #fff;
}

/* Boxed white content card, 5% gutters */
#main-content #content-container { margin: -50px 0 0 !important; padding: 0 !important; position: relative; z-index: 2; }
#main-content #content-container #content {
	margin: 0 5% !important;
	padding: 0 0 1px !important;
	width: auto !important;
	max-width: none !important;
}
#content-container #content > article,
#content-container #content > .box {
	background: #fff;
	margin: 0 0 30px;
	box-shadow: 0 6.4px 12.8px rgba(0, 0, 0, .08);
	border-radius: 0;
}

/* Back-to-top arrow above the footer */
#wrt-scroll-top { text-align: center; padding: 0 0 50px; height: 134px; display: flex; align-items: center; justify-content: center; }
#wrt-scroll-top a { color: #d0d0d0; font-size: 56px; line-height: 1; }
#wrt-scroll-top a:hover { color: #4a96d8; }

/* Footer: copyright bar only, blue rule on top */
#main-footer { background: none; padding: 0; }
#main-footer #widgets { display: none; }
#main-footer #copyright {
	background: #3a4349;
	border-top: 6px solid #4a96d8;
	color: #e8e8e8;
	text-transform: uppercase;
	text-align: center;
	font-family: Lato, sans-serif;
	font-size: 14px;
	line-height: 21px;
	padding: 20px 0;
	margin: 0;
}

/* Banner is 240px when the page shows its title, 140px when hidden */
#featuredbox.centered:has(.pagetitle h1) { height: 246px !important; }
#featuredbox.centered:has(.pagetitle h1) .featured-background,
#featuredbox.centered:has(.pagetitle h1) .featured-layer { height: 240px !important; }
#featuredbox.centered .pagetitle h1 { line-height: 67.2px; padding: 0 40px; margin: 0; text-shadow: 0 .1rem 2rem rgba(0, 0, 0, .2); }

/* Card inner padding and Woffice 2 typography */
#content-container .intern-padding { padding: 30px 40px; }
#page-wrapper #content-container p {
	font-family: Lato, helvetica, arial, sans-serif;
	font-size: 14px;
	line-height: 21px;
	color: #444;
	margin: 0 0 16px;
}
/* Woffice 5 sets word-break: break-all on every heading; Woffice 2 never split words */
#page-wrapper h1, #page-wrapper h2, #page-wrapper h3, #page-wrapper h4, #page-wrapper h5, #page-wrapper h6 { word-break: normal; overflow-wrap: break-word; }
/* h3 is styled per-element by the page builder, leave it alone */
#page-wrapper #content-container h1, #page-wrapper #content-container h2, #page-wrapper #content-container h4,
#page-wrapper #content-container h5, #page-wrapper #content-container h6 {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	line-height: 1.2;
	color: #444;
}
#page-wrapper #content-container h2 { font-size: 32px; }

/* Members: "Hi <name>" + avatar in the logo bar, opens the user panel */
#wrt-user-thumb {
	position: fixed;
	top: 0;
	right: 231px;
	z-index: 1001;
	height: 100px;
	line-height: 100px;
	padding: 0 10px;
	color: #9e9e9e;
	font-size: 14px;
	white-space: nowrap;
}
#wrt-user-thumb b { color: #444; font-weight: 700; }
#wrt-user-thumb img { width: 50px; height: 50px; border-radius: 50%; margin-left: 10px; vertical-align: middle; display: inline-block; }
body.admin-bar #wrt-user-thumb { top: 32px; }

body > #user-sidebar {
	display: block !important;
	visibility: visible !important;
	position: fixed;
	top: 100px !important;
	right: 0;
	left: auto;
	z-index: 999;
	width: 35%;
	min-width: 300px;
	height: calc(100vh - 100px);
	padding: 0 0 40px;
	background: #e8e8e8;
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, .2);
	overflow-y: auto;
	transform: translateX(110%);
	transition: transform .4s ease;
}
body.wrt-user-open > #user-sidebar { transform: none; }
body.admin-bar > #user-sidebar { top: 132px !important; height: calc(100vh - 132px) !important; }
body > #user-sidebar #closer-usersidebar { display: none; }
body > #user-sidebar .mCSB_container, body > #user-sidebar .sidebar-wrapper { padding: 0; margin: 0; }
/* Woffice 2 panel: grey Profile row with icon + caret, tall white rows, Log Out with icon */
body > #user-sidebar nav ul#menu-bp, body > #user-sidebar nav ul#dropdown-user-menu { list-style: none; margin: 0; padding: 0; }
body > #user-sidebar nav li, body > #user-sidebar nav li a {
	background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; width: auto;
}
body > #user-sidebar nav ul#menu-bp > li > a,
body > #user-sidebar nav ul#dropdown-user-menu > li > a {
	display: block !important; position: relative; padding: 13px 37px !important; background: #fff !important; color: #444 !important;
	font-size: 14px !important; line-height: 21px !important; font-weight: 400 !important; text-align: left !important;
}
body > #user-sidebar nav ul#menu-bp > li > a:hover,
body > #user-sidebar nav ul#dropdown-user-menu > li > a:hover { background: #f4f4f4 !important; color: #444 !important; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > a { background: #e8e8e8 !important; padding-left: 53px !important; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > a::before,
body > #user-sidebar nav ul#menu-bp > li#logout-li > a::before {
	position: absolute; left: 33px; top: 13px; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 14px; color: #000;
}
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > a::before { content: "\f007"; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > a::after {
	content: "\f0d7"; position: absolute; right: 27px; top: 13px; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #9e9e9e;
}
body > #user-sidebar nav ul#menu-bp > li#logout-li > a { padding-left: 57px !important; }
body > #user-sidebar nav ul#menu-bp > li#logout-li > a::before { content: "\f2f5"; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > .sub-menu { display: none; list-style: none; margin: 0; padding: 0; background: #f4f4f4; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li.wrt-open > .sub-menu { display: block; }
body > #user-sidebar nav ul#menu-bp > li#xprofile-personal-li > .sub-menu a { display: block; padding: 10px 37px 10px 53px; color: #444 !important; font-size: 13px; }

#navigation .horizontal_menu_icons_wrapper .active_search { display: none !important; }
/* Search + cart: Woffice 2 used grey Font Awesome glyphs, 100px tall hit areas */
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-buttons { display: flex; align-items: stretch; height: 100px; }
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search {
	display: flex; align-items: center; position: static; width: auto; height: 100px; padding: 0 15px; margin: 0;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search .horizontal_menu_search_icon {
	display: inline-block; position: relative; width: 22px; height: 22px; cursor: pointer;
}
body.menu-is-horizontal #page-wrapper .is-left-sidebar #navigation .horizontal_menu_icons_wrapper #nav-buttons #main-search .horizontal_menu_search_icon::before,
body #page-wrapper .is-left-sidebar #navigation .horizontal_menu_icons_wrapper #nav-buttons #main-search .horizontal_menu_search_icon::before {
	content: "\f002"; font-family: "Font Awesome 5 Free" !important; font-weight: 900;
	position: absolute; top: 0; left: 0; font-size: 22.4px; line-height: 22px; color: #9e9e9e;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger {
	display: flex; align-items: center; height: 100px; padding: 0 15px; color: #9e9e9e;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger p.stellar-mini-cart {
	margin: 0 !important; width: auto !important; min-width: 0 !important; height: auto !important;
	background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger p.stellar-mini-cart svg { display: none; }
/* Cart count is a badge on the icon (Woffice 2), not an inline element that widens the cart and pushes the icons */
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger { position: relative; }
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger .woocommerce-cart-count {
	position: absolute; top: 62px; left: 50%; transform: translateX(-50%); margin: 0;
	padding: 1px 6px; border-radius: 3px; background: #82b440; color: #fff; font-size: 11px; font-weight: 700; line-height: 16px;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger:not(.cart-content) .woocommerce-cart-count { display: none; }
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #nav-cart-trigger p.stellar-mini-cart::before {
	content: "\f07a"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 22.4px; color: #9e9e9e;
}
/* Mini cart: look.js moves it to <body> and sets top to the icon row's bottom edge */
body > #woffice-minicart-top { display: none !important; height: auto; max-height: calc(100vh - 100px); overflow-y: auto; z-index: 1000; }
body.wrt-cart-open > #woffice-minicart-top { display: block !important; }

/* Desktop dropdown (Upcoming Trainings > FAQ): Woffice 2 dark box under the tab, white uppercase items */
@media only screen and (min-width: 1025px) {
	body #page-wrapper #navigation #main-modern-menu > li { position: relative; }
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu {
		display: none !important; position: absolute !important; top: 100% !important; left: 0 !important; right: auto !important;
		width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
		background: #3a4349 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
		opacity: 1 !important; visibility: visible !important; transform: none !important; z-index: 20; text-align: left;
	}
	body #page-wrapper #navigation #main-modern-menu > li:hover > .sub-menu,
	body #page-wrapper #navigation #main-modern-menu > li:focus-within > .sub-menu { display: block !important; }
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li { display: block; width: 100%; margin: 0; padding: 0; background: none; border: 0; }
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li > a {
		display: block; padding: 15px 10px 14px 15px !important; margin: 0; background: #3a4349 !important; color: #fff !important;
		font-size: 12.6px !important; font-weight: 700 !important; line-height: 12.6px !important; text-transform: uppercase;
		text-align: left; border: 0; border-radius: 0 !important;
	}
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li > a::before,
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li > a::after { content: none !important; display: none !important; }
	/* Hover stays in the dark family; Woffice 2's blue hover vanished into the blue banner below */
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li > a:hover,
	body #page-wrapper #navigation #main-modern-menu > li > .sub-menu > li.current-menu-item > a { background: #4b565d !important; }
}

/* Search: the icon opens a full-width bar under the logo bar (Woffice 2). Woffice 5 only styles its open
   state while the body has .menu-is-horizontal, which it drops on narrower screens. */
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form {
	display: none !important; position: fixed !important; top: 100px; left: 0; right: 0; width: 100% !important;
	height: 76px; min-height: 0 !important; margin: 0; padding: 0 !important; z-index: 1003;
	background: rgba(255, 255, 255, .9); box-shadow: 0 0 30px rgba(0, 0, 0, .05); visibility: visible !important;
}
body.admin-bar #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form { top: 132px; }
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search .horizontal_menu_search_icon_active ~ form,
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form.form_active { display: block !important; }
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form input[type=text] {
	display: block; width: 100% !important; height: 76px !important; margin: 0; padding: 12px 70px 12px 12px !important;
	font-size: 32px; line-height: 48px; color: #000; background: transparent; border: 0;
	border-top: 2px solid #e0e0ec; border-bottom: 2px solid #e0e0ec; border-radius: 0; box-shadow: inset 0 4px 2px rgba(0, 0, 0, .05);
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form button {
	position: absolute; top: 16px; right: 30px; width: 40px; height: 44px; background: none; border: 0; font-size: 28px; color: #000;
}
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form button::before,
body #page-wrapper #navigation .horizontal_menu_icons_wrapper #main-search form .wo-search-icon { display: none !important; }

/* Keep the Woffice 2 header at every width: Woffice 5 turns the nav into a fixed side column below 1024px
   and swaps in its own mobile bar; neither existed on the old site. */
#main-header, #mobile-menu-canvas-close { display: none !important; }
body #page-wrapper .is-left-sidebar,
body #page-wrapper .is-left-sidebar.has-navigation-show {
	position: relative !important; left: auto !important; top: auto !important; transform: none !important;
	width: 100% !important; max-width: none !important; height: auto !important; box-shadow: none; z-index: 30;
	display: block !important; visibility: visible !important;
}
body #page-wrapper .is-left-sidebar #navigation,
body #page-wrapper .is-left-sidebar #navigation .stellar-nav-logo,
body #page-wrapper .is-left-sidebar #navigation #wrt-menu-toggle,
body #page-wrapper .is-left-sidebar #navigation .horizontal_menu_icons_wrapper,
body #page-wrapper .is-left-sidebar #navigation .horizontal_menu_icons_wrapper *:not(form):not(form *) { visibility: visible !important; }
body #page-wrapper .is-left-sidebar #navigation { left: auto !important; transform: none !important; }
body #page-wrapper .is-left-sidebar #navigation .horizontal_menu_icons_wrapper { display: flex !important; }
body #page-wrapper .is-left-sidebar #navigation { display: block !important; padding-top: 100px !important; overflow: visible; }
body #page-wrapper .is-left-sidebar #navigation .mCustomScrollBox,
body #page-wrapper .is-left-sidebar #navigation .mCSB_container { overflow: visible !important; max-height: none !important; }


/* ---- Phones and tablets (where Woffice 5 switches to its hamburger, 1024px): white logo bar, dark bar with centred hamburger, stacked menu ---- */
#wrt-menu-toggle { display: none; }
@media only screen and (max-width: 1024px) {
	#navigation .stellar-nav-logo { justify-content: flex-start; }
	#navigation .stellar-nav-logo #nav-logo { width: 180px; margin-left: 36px; }
	#navigation .stellar-nav-logo #nav-logo img { max-width: 180px; height: auto; }

	#navigation .horizontal_menu_icons_wrapper { right: 0; border-left: 0; padding-left: 0; }
	#wrt-user-login { right: 109px; padding: 0 10px; font-size: 24px; }
	#wrt-user-thumb { right: 109px; padding: 0 6px; }
	#wrt-user-thumb > :not(img) { display: none; }
	#wrt-user-thumb { font-size: 0; }

	#wrt-menu-toggle {
		display: block; width: 100%; height: 52px; margin: 0; padding: 0; border: 0; border-radius: 0;
		background: none; color: #fff; font-size: 20px; line-height: 52px; text-align: center; cursor: pointer;
	}
	#navigation.wrt-menu-open #wrt-menu-toggle { background: linear-gradient(-30deg, #408cce, #54a0e2); }

	body #page-wrapper .is-left-sidebar #main-modern-menu { display: none !important; }
	body #page-wrapper .is-left-sidebar #navigation.wrt-menu-open #main-modern-menu { display: block !important; }
	body #page-wrapper .is-left-sidebar #navigation.wrt-menu-open #main-modern-menu,
	body #page-wrapper .is-left-sidebar #navigation.wrt-menu-open #main-modern-menu * { visibility: visible !important; }
	#navigation.wrt-menu-open #main-modern-menu > li { display: block; width: 100%; }
	#navigation.wrt-menu-open #main-modern-menu li > a {
		display: block; padding: 15px 10px; line-height: 12.6px; font-size: 12.6px; font-weight: 700;
		text-transform: uppercase; text-align: center; color: #fff;
		border-bottom: 1px solid rgba(0, 0, 0, .15); border-radius: 0; background: none;
	}
	#navigation.wrt-menu-open #main-modern-menu > li.current-menu-item > a { background: linear-gradient(-30deg, #408cce, #54a0e2); }
	#navigation.wrt-menu-open #main-modern-menu > li.menu-item-has-children > a { padding-top: 18px; padding-bottom: 18px; }
	#navigation.wrt-menu-open #main-modern-menu > li.menu-item-has-children > a::after {
		content: "\f0d7"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-left: 10px; font-size: 14px;
	}
	#navigation.wrt-menu-open #main-modern-menu .sub-menu {
		display: none; position: static; width: 100%; margin: 0; padding: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none; background: rgba(0, 0, 0, .15);
	}
	#navigation.wrt-menu-open #main-modern-menu li.wrt-sub-open > .sub-menu { display: block; }

	/* Open menu covers the page like Woffice 2 did */
	body #page-wrapper .is-left-sidebar #navigation.wrt-menu-open #main-modern-menu {
		position: fixed !important; top: 152px; bottom: 0; left: 0; right: 0; z-index: 1002;
		overflow-y: auto; background: #3a4349;
	}
	body.admin-bar #page-wrapper .is-left-sidebar #navigation.wrt-menu-open #main-modern-menu { top: 198px; }
	#navigation .horizontal_menu_icons_wrapper #main-search { display: flex !important; }
	/* Woffice 5's own submenu arrows; the caret on the parent link does that job here */
	#navigation.wrt-menu-open #main-modern-menu li > :not(a):not(ul) { display: none !important; }

	body > #user-sidebar { width: 350px; max-width: 100%; min-width: 0; }
}

/* Sign-in / user button lives inside #nav-buttons (moved by look.js); divider sits between it and search */
body #page-wrapper #navigation .horizontal_menu_icons_wrapper { border-left: 0 !important; padding-left: 0 !important; }
body #page-wrapper #navigation #nav-buttons #wrt-user-login,
body #page-wrapper #navigation #nav-buttons #wrt-user-thumb {
	position: static !important; display: flex; align-items: center; height: 100px; margin: 0 15px 0 0; top: auto; right: auto;
}
body #page-wrapper #navigation #nav-buttons #main-search { border-left: 1px solid #e8e8e8; }
@media only screen and (max-width: 1024px) {
	body #page-wrapper #navigation #nav-buttons #wrt-user-login,
	body #page-wrapper #navigation #nav-buttons #wrt-user-thumb { margin-right: 0; }
	body #page-wrapper #navigation #nav-buttons #main-search { border-left: 0; }
}

/* ---------- Client Testimonials: each [vc_column_text el_class="wrt-testimonial"] is a card ---------- */
#content .wrt-testimonials { margin: 0 !important; }
#content .wrt-testimonials > .wpb_column > .vc_column-inner > .wpb_wrapper { column-count: 2; column-gap: 28px; }
#content .wrt-testimonial {
	display: inline-block; width: 100%; break-inside: avoid; position: relative; margin: 0 0 28px;
	background: #fff; border: 1px solid #e3e8ee; border-top: 3px solid #4f9bdd; border-radius: 10px;
	padding: 38px 32px 26px; box-shadow: 0 6px 24px rgba(58, 67, 73, .06);
}
#content .wrt-testimonial::before {
	content: "\201C"; position: absolute; top: 4px; left: 24px;
	font: 700 64px/1 Georgia, "Times New Roman", serif; color: #4f9bdd; opacity: .22;
}
#content .wrt-testimonial > .wpb_wrapper { display: grid; grid-template-columns: auto 1fr; align-items: center; }
#content .wrt-testimonial p { grid-column: 1 / -1; }
#content .wrt-testimonial p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: #4a4f55; }
#content .wrt-testimonial a { color: #4f9bdd; }
/* Photo and name sit together at the foot of the card */
#content .wrt-testimonial > .wpb_wrapper::after { content: ""; display: block; order: 9; grid-column: 1 / -1; height: 1px; margin: 6px 0 16px; background: #eef1f4; }
#content .wrt-testimonial p:has(> img), #content .wrt-testimonial p:has(em strong) { margin: 0; }
#content .wrt-testimonial p:has(> img) { order: 10; grid-column: 1; line-height: 0; padding-right: 14px; }
#content .wrt-testimonial p:has(> img) img {
	width: 56px; height: 56px; margin: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #dfe6ee;
}
#content .wrt-testimonial p:has(em strong) { order: 11; font-size: 13.5px; line-height: 1.5; color: #8a9199; }
#content .wrt-testimonial:has(img) p:has(em strong) { grid-column: 2; }
#content .wrt-testimonial p:has(em strong) em,
#content .wrt-testimonial p:has(em strong) strong { font-style: normal; font-weight: inherit; }
#content .wrt-testimonial p:has(em strong)::first-line { font-size: 15px; font-weight: 700; color: #3a4349; }

/* ---------- WRT Board of Directors (page 725): each member row is a card ---------- */
body.page-id-725 #content .vc_row:has(.vc_separator) { display: none; }
body.page-id-725 #content .vc_row:has(.wpb_single_image):not(:has(.vc_hidden-xs.vc_hidden-sm.vc_hidden-md.vc_hidden-lg)) {
	display: grid; grid-template-columns: 190px 1fr; column-gap: 44px; align-items: start;
	margin: 0 0 28px !important; padding: 40px 44px;
	background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 6px 24px rgba(58, 67, 73, .06);
}
body.page-id-725 #content .vc_row:has(.wpb_single_image)::before,
body.page-id-725 #content .vc_row:has(.wpb_single_image)::after { display: none; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) > .wpb_column { width: auto; float: none; padding: 0; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) > .wpb_column > .vc_column-inner { padding: 0; }
body.page-id-725 #content .vc_row .wpb_single_image { margin: 0; text-align: center; }
body.page-id-725 #content .vc_row .wpb_single_image .vc_single_image-wrapper { border: 0; padding: 0; background: none; }
body.page-id-725 #content .vc_row .wpb_single_image img {
	width: 170px; height: 170px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 0 0 6px #dfe6ee, 0 10px 24px rgba(58, 67, 73, .12);
}
body.page-id-725 #content .vc_row .wpb_single_image .vc_figure-caption { display: none; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) .wpb_text_column { margin: 0; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) h3 {
	margin: 0 0 18px; font-family: "Open Sans", sans-serif; font-size: 22px; line-height: 1.35; font-weight: 700; color: #3a4349;
}
body.page-id-725 #content .vc_row:has(.wpb_single_image) h3 :is(strong, b, span) { font-weight: inherit; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) h3::after {
	content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; border-radius: 2px; background: #82b440;
}
body.page-id-725 #content .vc_row:has(.wpb_single_image) :is(p, li) { margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; color: #4a4f55; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) a { color: #4f9bdd; overflow-wrap: anywhere; }
body.page-id-725 #content .vc_row:has(.wpb_single_image) a:hover { color: #3a4349; }
/* Dedication row at the end of the page */
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) {
	margin: 12px 0 0 !important; padding: 36px 44px; background: #f3f8fd; border: 1px solid #dbe8f5; border-left: 4px solid #4f9bdd; border-radius: 12px;
}
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) p { font-size: 15.5px; line-height: 1.75; color: #4a4f55; }

@media only screen and (max-width: 900px) {
	#content .wrt-testimonials > .wpb_column > .vc_column-inner > .wpb_wrapper { column-count: 1; }
}
@media only screen and (max-width: 767px) {
	#content .wrt-testimonial { padding: 34px 22px 22px; margin-bottom: 20px; }
	#content .wrt-testimonial p { font-size: 15px; }
	body.page-id-725 #content .vc_row:has(.wpb_single_image):not(:has(.vc_hidden-xs.vc_hidden-sm.vc_hidden-md.vc_hidden-lg)) {
		grid-template-columns: 1fr; row-gap: 22px; padding: 30px 22px; margin-bottom: 20px !important;
	}
	body.page-id-725 #content .vc_row .wpb_single_image img { width: 132px; height: 132px; }
	body.page-id-725 #content .vc_row:has(.wpb_single_image) h3 { text-align: center; font-size: 20px; }
	body.page-id-725 #content .vc_row:has(.wpb_single_image) h3::after { margin: 14px auto 0; }
	body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) { padding: 26px 22px; }
}
/* Phones: the theme's 40px content padding plus WPBakery's 15px leaves the cards too narrow on these two pages */
@media only screen and (max-width: 767px) {
	#content .intern-padding:has(.wrt-testimonials),
	body.page-id-725 #content .intern-padding { padding-left: 14px; padding-right: 14px; }
	#content .wrt-testimonials > .wpb_column > .vc_column-inner,
	body.page-id-725 #content .vc_row > .wpb_column > .vc_column-inner { padding-left: 0; padding-right: 0; }
}
/* Dedication photo: round, like the member photos above it */
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption { background: none; border: 0; padding: 0; margin: 0 auto 10px; text-align: center; }
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption img {
	width: 170px; height: 170px; border-radius: 50%; object-fit: cover; object-position: center 20%;
	box-shadow: 0 0 0 5px #fff, 0 0 0 6px #dfe6ee, 0 10px 24px rgba(58, 67, 73, .12);
}
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption-text { margin-top: 14px; font-size: 13px; color: #8a9199; }
body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption.alignleft { margin: 0 36px 10px 0; }
@media only screen and (max-width: 767px) {
	body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption { float: none; width: auto !important; margin: 0 auto 22px !important; }
	body.page-id-725 #content .vc_row:not(:has(.wpb_single_image)):not(:has(.vc_separator)) .wp-caption img { width: 140px; height: 140px; }
}

/* ---------- Blog grid (/news, WPBakery basic grid): equal-height cards, 16:10 photo, clamped text ---------- */
#content .vc_basic_grid .vc_pageable-slide-wrapper { display: flex; flex-wrap: wrap; }
#content .vc_basic_grid .vc_pageable-slide-wrapper::before,
#content .vc_basic_grid .vc_pageable-slide-wrapper::after { display: none; }
#content .vc_basic_grid .vc_grid-item { display: flex; float: none; margin-bottom: 30px; }
#content .vc_basic_grid .vc_grid-item-mini {
	display: flex; flex-direction: column; width: 100%; overflow: hidden;
	background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 6px 24px rgba(58, 67, 73, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}
#content .vc_basic_grid .vc_grid-item-mini:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(58, 67, 73, .12); }
#content .vc_basic_grid .vc_gitem-zone-a { background-size: cover !important; background-position: center !important; }
#content .vc_basic_grid .vc_gitem-zone-a.vc-gitem-zone-height-mode-auto::before { padding-top: 62.5% !important; }
#content .vc_basic_grid .vc_gitem-zone-c { flex: 1; display: flex; background: none !important; }
#content .vc_basic_grid .vc_gitem-zone-c > .vc_gitem-zone-mini { display: flex; flex-direction: column; width: 100%; padding: 22px 24px 24px; }
#content .vc_basic_grid .vc_gitem-zone-c .vc_gitem_row,
#content .vc_basic_grid .vc_gitem-zone-c .vc_gitem-col { display: flex; flex-direction: column; flex: 1; width: 100%; margin: 0; padding: 0; float: none; }
#content .vc_basic_grid .vc_gitem-post-data-source-post_title h4 {
	margin: 0 0 10px; font-family: "Open Sans", sans-serif; font-size: 19px; line-height: 1.35; font-weight: 700; color: #3a4349;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
#content .vc_basic_grid .vc_gitem-post-data-source-post_excerpt { margin: 0 0 18px; }
#content .vc_basic_grid .vc_gitem-post-data-source-post_excerpt p:empty { display: none; }
#content .vc_basic_grid .vc_gitem-post-data-source-post_excerpt p {
	margin: 0; font-size: 15px; line-height: 1.7; color: #5b6168;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
#content .vc_basic_grid .vc_btn3-container { margin: auto 0 0; }
#content .vc_basic_grid .vc_btn3-container .vc_btn3 {
	padding: 0; background: none !important; border: 0; box-shadow: none; color: #4f9bdd !important; font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
#content .vc_basic_grid .vc_btn3-container .vc_btn3::after { content: " \2192"; transition: margin .2s ease; }
#content .vc_basic_grid .vc_grid-item-mini:hover .vc_btn3::after { margin-left: 4px; }

/* ---------- Single blog post: sentence case, readable text, comfortable measure ---------- */
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content :is(p, li, b, strong, span) { text-transform: none; }
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content :is(p, li) { font-size: 16.5px; line-height: 1.8; color: #4a4f55; }
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content a { color: #4f9bdd; text-transform: none; overflow-wrap: anywhere; }
#content-container #content .blog-single-col .blog_card .card-body { max-width: 820px; margin: 0 auto; }
#content-container #content .blog-single-col .blog_card .card-body .blog-content img { border-radius: 8px; }
#content-container #content .blog-single-col .blog_card .card-body .blog-content img.alignleft { margin: 6px 28px 16px 0; }
#content-container #content .blog-single-col .blog_card .card-body .blog-content img.alignright { margin: 6px 0 16px 28px; }
#content-container #content .blog-single-col .post-metadatas { margin: 0 0 26px; padding: 0 0 18px; border-bottom: 1px solid #eef1f4; }
@media only screen and (max-width: 767px) {
	#content-container #content .blog-single-col .blog_card .card-body .blog-content img:is(.alignleft, .alignright) { float: none; display: block; margin: 0 auto 18px; max-width: 100%; height: auto; }
	#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content :is(p, li) { font-size: 16px; }
}
/* The title already sits in the banner; Woffice's empty title block above the meta only adds a blank band */
#content-container #content .blog-single-col .blog-title .heading-container:not(:has(*:not(:empty))) { display: none; }
#content-container #content .blog-single-col .blog-title { display: block; padding: 0; }
#content-container #content .blog-single-col .blog-title .post-meta { width: 100%; }
#content-container #content .blog-single-col .blog-thumb:empty { display: none; }
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body { margin-left: auto !important; margin-right: auto !important; margin-top: 10px !important; }
#content-container #content .blog-single-col .post-metadatas { display: flex; flex-wrap: wrap; gap: 6px 22px; }
#content-container #content .blog-single-col .post-metadatas li { margin: 0; padding: 0; }
/* Headings inside posts (some posts set every poem line as an h3) */
#content-container #content .blog-single-col .blog-content :is(h2, h3, h4) {
	margin: 0 0 10px; font-family: "Open Sans", sans-serif; font-size: 19px; line-height: 1.55; font-weight: 600; color: #3a4349; text-transform: none;
}
#content-container #content .blog-single-col .blog-content :is(h2, h3, h4) :is(b, strong) { font-weight: inherit; }
/* Comment form: same width and card look as the post */
#content-container #content .blog-single-comment .box {
	max-width: 880px; margin: 0 auto 40px; padding: 0; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 6px 24px rgba(58, 67, 73, .06);
}
#content-container #content .blog-single-comment .box > .intern-padding { padding: 32px 30px; }
#content-container #content .blog-single-comment #respond .comment-reply-title { margin: 0 0 16px; font-size: 20px; color: #3a4349; }
#content-container #content .blog-single-comment #respond textarea { height: 150px; min-height: 0; }
#content-container #content .blog-single-comment #respond :is(textarea, input[type="text"], input[type="email"], input[type="url"]) { border-radius: 8px; border: 1px solid #d9e0e7; background: #fff; }
/* Grid titles: theme h4 rules win without !important */
#content .vc_basic_grid .vc_gitem-post-data-source-post_title h4 { font-weight: 700 !important; color: #3a4349 !important; font-size: 19px !important; }
@media only screen and (max-width: 767px) {
	#content-container #content .blog-single-comment .box > .intern-padding { padding: 24px 18px; }
	#content-container #content .blog-single-col .blog-content :is(h2, h3, h4) { font-size: 17.5px; }
}
#content-container #content .blog-single-col .blog-card-wrapper > .blog_card { width: 100%; }
#content-container #content .blog-single-col .post-metadatas { justify-content: flex-start; text-align: left; }
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content :is(h2, h3, h4) {
	font-size: 19px !important; line-height: 1.55 !important; font-weight: 600 !important; margin: 0 0 10px !important;
}
#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content a { color: #4f9bdd !important; }
#content-container #content .blog-single-comment { margin-top: 30px; }
@media only screen and (max-width: 767px) {
	#content-container #content .blog-single-col .blog-card-wrapper .blog_card .card-body .blog-content :is(h2, h3, h4) { font-size: 17.5px !important; }
}
#content-container #content .blog-single-col .post-meta .post-metadatas { justify-content: flex-start !important; margin-left: 0 !important; float: none !important; }
