/*
 * GHI redesign: overrides for pages rendered by Total + WPBakery.
 * Loaded on every page except the standalone homepage template, after Total's CSS.
 * Tokens (--ghi-*) come from ghi-home.css.
 */

/* Base type */
body.ghi-site {
	font-family: var(--ghi-body);
	color: var(--ghi-fg);
	background: #fff;
	--wpex-body-color: var(--ghi-fg);
	--wpex-accent: var(--ghi-navy);
	--wpex-accent-alt: var(--ghi-orange);
	--wpex-link-color: var(--ghi-link);
	--wpex-heading-color: var(--ghi-fg);
}
body.ghi-site #wrap { overflow: visible; }
body.ghi-site .skip-to-content { display: none; }
body.ghi-site #ghi-main { display: block; height: 0; scroll-margin-top: 90px; }

body.ghi-site :is(h1, h2, h3, h4, h5, h6, .wpex-h1, .wpex-h2, .wpex-h3, .wpex-h4, .entry-title, .vcex-heading, .staff-entry-title, .single-post-title) {
	font-family: var(--ghi-display);
	text-transform: none;
	letter-spacing: -.01em;
	text-wrap: balance;
}
body.ghi-site :is(h1, .wpex-h1, .single-post-title) { font-weight: 700; line-height: 1.08; }
body.ghi-site :is(h2, h3, .wpex-h2, .wpex-h3) { font-weight: 700; line-height: 1.15; }
body.ghi-site .single-post-title { font-size: clamp(2rem, 4.5vw, 3rem); }

body.ghi-site .entry a:not(.theme-button):not(.vcex-button):not(.wpex-social-btn) { color: var(--ghi-link); }

/* Page banners: the first section of each page (.image-header) and staff profiles */
body.ghi-site .vc_section:has(> .vc_row.image-header),
body.ghi-site .vc_section:has(.image-header) {
	background-color: var(--ghi-board) !important;
	background-image:
		linear-gradient(rgba(247, 247, 247, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(247, 247, 247, .05) 1px, transparent 1px) !important;
	background-size: 48px 48px !important;
	background-position: -1px -1px !important;
	border-bottom: 3px solid var(--ghi-orange);
}
body.ghi-site .vc_section:has(.image-header) > .vc_parallax-inner,
body.ghi-site .vc_section:has(.image-header) > .wpex-bg-overlay-wrap { display: none !important; }

/* Eyebrow ("The Ginger Hacker Initiative") */
body.ghi-site .image-header .vcex-heading.wpex-h4 {
	font-family: var(--ghi-mono) !important;
	font-size: .8rem !important;
	font-weight: 500 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
	color: var(--ghi-orange) !important;
	margin-bottom: 14px !important;
}
/* Page title */
body.ghi-site .image-header .vcex-heading.wpex-h1 {
	font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
}
@media only screen and (min-width: 767px) {
	body.ghi-site .image-header { padding-top: 72px; padding-bottom: 64px; }
}

/* Buttons */
body.ghi-site :is(.theme-button, .vcex-button, button.theme-button, input[type=submit].theme-button) {
	font-family: var(--ghi-body);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	border-radius: 8px;
}
body.ghi-site .vcex-multi-buttons .theme-button:first-child,
body.ghi-site .theme-button.ghi-primary {
	background: var(--ghi-orange);
	color: var(--ghi-board);
}

/* Cards and boxed modules */
body.ghi-site :is(.vcex-icon-box, .vcex-post-type-entry-inner, .staff-entry-inner, .vcex-image-grid-entry img) { border-radius: 12px; }
body.ghi-site .contact-form { border-radius: 14px; border: 1px solid var(--ghi-line); }

/* Blog post meta and share */
body.ghi-site .meta { font-family: var(--ghi-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ghi-muted); }

/* Gravity Forms: see ghi-forms.css */

/* Blog post banner (added by inc/ghi-site.php) */
.ghi-post-banner {
	background-color: var(--ghi-board);
	background-image:
		linear-gradient(rgba(244, 247, 250, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(244, 247, 250, .04) 1px, transparent 1px);
	background-size: 48px 48px;
	color: #fff;
	padding-block: 72px 64px;
	border-bottom: 3px solid var(--ghi-orange);
	margin-bottom: 48px;
}
.ghi-post-banner .ghi-wrap { max-width: 960px; display: grid; gap: 16px; }
.ghi-post-banner .ghi-eyebrow { color: var(--ghi-orange-text); margin: 0; }
body.ghi-site .ghi-post-banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0; }
body.single-post .single-blog-article { max-width: 760px; margin-inline: auto; }
body.single-post .single-blog-article :is(p, li) { font-size: 1.06rem; line-height: 1.75; }
body.single-post .single-blog-article h2 { font-size: 1.5rem; color: var(--ghi-navy); }
body.single-post .single-blog-header, body.single-post .single-post-title { display: none; }

/* Contact Us page: the banner already titles the page */
body.page-id-49182 .contact-form { max-width: 820px; margin-inline: auto; border: 1px solid var(--ghi-line); box-shadow: var(--ghi-shadow); background: #fff !important; }
body.page-id-49182 .contact-form .vc_column-inner { background: #fff !important; }
body.page-id-49182 .vc_section:not(:has(.image-header)) .vcex-heading.wpex-h2 { display: none; }
body.page-id-49182 .vc_section:not(:has(.image-header)) .vcex-spacing:first-of-type { display: none; }

/* Banner sizing */
@media only screen and (min-width: 767px) {
	body.ghi-site .image-header { padding-top: 64px !important; padding-bottom: 56px !important; min-height: 0 !important; }
}
body.ghi-site .vc_section:has(.image-header) { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Footer headings keep their label style on Total pages */
body.ghi-site .ghi-footer .ghi-foot h2 { font-family: var(--ghi-mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ghi-orange-text); margin: 0 0 14px; line-height: 1.3; }
body.ghi-site .ghi-footer p:not(.ghi-copy) { margin: 0; }

/* ---------------------------------------------------------------
 * Resources page ([ghi_resources] shortcodes, inc/ghi-resources.php)
 * ------------------------------------------------------------- */
.ghi-res-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 56px; align-items: start; margin: 56px 0 40px; }
.ghi-res-intro > * { margin: 0 !important; min-width: 0; }
.ghi-res-lead { font-family: var(--ghi-display); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.4; color: var(--ghi-fg); }
.ghi-res-note { background: var(--ghi-bg); border-left: 3px solid var(--ghi-orange); border-radius: 0 10px 10px 0; padding: 16px 20px; color: var(--ghi-muted); font-size: .94rem; line-height: 1.55; }
.ghi-res-note strong { color: var(--ghi-fg); }
@media (max-width: 800px) { .ghi-res-intro { grid-template-columns: 1fr; margin-top: 36px; } }

.ghi-res { margin-bottom: 72px; }
.ghi-res-toolbar { position: sticky; top: 66px; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px 24px; align-items: center; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--ghi-line); }
body.admin-bar .ghi-res-toolbar { top: 98px; }
.ghi-res-nav { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
body.ghi-site .ghi-res-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--ghi-line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ghi-fg); text-decoration: none; background: #fff; transition: border-color .15s, color .15s; }
body.ghi-site .ghi-res-nav a:hover { border-color: var(--ghi-navy); color: var(--ghi-navy); }
.ghi-res-nav a span { font-family: var(--ghi-mono); font-size: .72rem; color: var(--ghi-muted); background: var(--ghi-chip); border-radius: 999px; padding: 1px 7px; }
.ghi-res-search { position: relative; display: flex; align-items: center; margin: 0; }
.ghi-res-search svg { position: absolute; left: 12px; color: var(--ghi-muted); pointer-events: none; }
body.ghi-site .ghi-res-search input { width: 100%; padding: 10px 12px 10px 38px; border: 1.5px solid var(--ghi-line-strong); border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; color: var(--ghi-fg); }
body.ghi-site .ghi-res-search input:focus { outline: none; border-color: var(--ghi-navy); box-shadow: 0 0 0 3px rgba(0, 64, 123, .15); }
@media (max-width: 760px) {
	.ghi-res-toolbar { position: static; grid-template-columns: 1fr; }
	.ghi-res-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; scrollbar-width: none; }
	.ghi-res-nav a { flex: none; }
}

.ghi-res-group { padding-top: 48px; scroll-margin-top: 150px; }
.ghi-res-group[hidden], .ghi-res-card[hidden] { display: none !important; }
.ghi-res-group-head { display: grid; gap: 6px; margin-bottom: 20px; }
body.ghi-site .ghi-res-group-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 0; color: var(--ghi-fg); }
.ghi-res-group-head p { margin: 0; color: var(--ghi-muted); }
.ghi-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .ghi-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ghi-res-grid { grid-template-columns: 1fr; } }

.ghi-res-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--ghi-line); border-radius: 12px; padding: 22px; box-shadow: var(--ghi-shadow); transition: border-color .15s, transform .15s; min-width: 0; }
.ghi-res-card:hover { border-color: var(--ghi-line-strong); transform: translateY(-2px); }
.ghi-res-card-top { display: grid; gap: 2px; }
body.ghi-site .ghi-res-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.25; color: var(--ghi-fg); }
.ghi-res-host { font-family: var(--ghi-mono); font-size: .74rem; color: var(--ghi-muted); }
.ghi-res-tags { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.ghi-res-tag { margin: 0 !important; font-size: .76rem; font-weight: 600; color: var(--ghi-navy); background: var(--ghi-tint); border-radius: 999px; padding: 3px 10px; }
.ghi-res-tag.is-free { color: #0f6b3a; background: #e3f4ea; }
.ghi-res-desc { color: var(--ghi-muted); font-size: .95rem; line-height: 1.6; flex: 1; }
.ghi-res-desc p { margin: 0 0 8px; }
.ghi-res-desc p:last-child { margin: 0; }
.ghi-res-codes { display: grid; gap: 8px; padding: 14px; background: #fff7f1; border: 1px dashed #efb48a; border-radius: 10px; }
.ghi-res-codes-label { margin: 0 !important; font-family: var(--ghi-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #9a4512; font-weight: 500; }
.ghi-res-code { display: grid; gap: 4px; }
body.ghi-site .ghi-res-copy { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 8px 7px 12px; background: #fff; border: 1px solid #efc9ad; border-radius: 8px; cursor: pointer; font: inherit; color: var(--ghi-fg); text-align: left; transition: border-color .15s; }
body.ghi-site .ghi-res-copy:hover { border-color: var(--ghi-orange); }
.ghi-res-copy code { font-family: var(--ghi-mono); font-size: .9rem; font-weight: 500; background: none; padding: 0; color: var(--ghi-fg); word-break: break-all; }
.ghi-res-copy-label { flex: none; font-size: .76rem; font-weight: 700; color: #fff; background: var(--ghi-navy); border-radius: 6px; padding: 4px 9px; }
.ghi-res-copy.is-copied .ghi-res-copy-label { background: #1f9d55; }
.ghi-res-code-note { font-size: .84rem; color: var(--ghi-muted); line-height: 1.4; }
body.ghi-site .ghi-res-link { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; padding: 9px 16px; border-radius: 8px; background: var(--ghi-navy); color: #fff !important; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .15s; }
body.ghi-site .ghi-res-link:hover { background: var(--ghi-board); }
.ghi-res-empty { padding: 32px 0; color: var(--ghi-muted); }

.ghi-res-cta { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; background: var(--ghi-board); color: var(--ghi-on-board); border-radius: 16px; padding: 40px; margin-bottom: 80px;
	background-image: linear-gradient(rgba(244, 247, 250, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 247, 250, .04) 1px, transparent 1px); background-size: 48px 48px; }
.ghi-res-cta > div:first-child { flex: 1 1 420px; min-width: 0; }
body.ghi-site .ghi-res-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 10px; }
.ghi-res-cta p { margin: 0; color: var(--ghi-on-board-muted); max-width: 56ch; }
.ghi-res-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ghi-res-cta-actions p { display: contents; }
@media (max-width: 560px) { .ghi-res-cta { padding: 28px 22px; } }

/* ---------------------------------------------------------------
 * Button system (inner pages)
 * Primary = orange with dark navy text. Secondary = navy outline.
 * ------------------------------------------------------------- */
body.ghi-site :is(.theme-button, .vcex-button, a.theme-button, button.theme-button, input[type=submit].theme-button) {
	background: var(--ghi-orange) !important;
	color: var(--ghi-board) !important;
	border: 2px solid var(--ghi-orange) !important;
	border-radius: 8px;
	padding: 12px 22px;
	box-shadow: none;
	transition: background-color .15s, border-color .15s, transform .15s;
}
body.ghi-site :is(.theme-button, .vcex-button):hover {
	background: var(--ghi-orange-hover) !important;
	border-color: var(--ghi-orange-hover) !important;
	transform: translateY(-1px);
}
body.ghi-site .vcex-multi-buttons .theme-button:not(:first-child) {
	background: transparent !important;
	color: var(--ghi-navy) !important;
	border-color: var(--ghi-navy) !important;
}
body.ghi-site .vcex-multi-buttons .theme-button:not(:first-child):hover { background: var(--ghi-navy) !important; color: #fff !important; }

/* Gravity Forms submit matches the homepage form */
body.ghi-site .gform_wrapper :is(.gform_footer input[type=submit], .gform_page_footer input[type=submit], .gform-button) { background: var(--ghi-orange) !important; color: var(--ghi-board) !important; }
body.ghi-site .gform_wrapper :is(.gform_footer input[type=submit], .gform-button):hover { background: var(--ghi-orange-hover) !important; }

/* Resources: lighter card buttons, orange copy buttons */
body.ghi-site .ghi-res-link { background: #fff; color: var(--ghi-navy) !important; border: 1.5px solid var(--ghi-navy); padding: 8px 15px; }
body.ghi-site .ghi-res-link:hover { background: var(--ghi-navy); color: #fff !important; }
.ghi-res-copy-label { background: var(--ghi-orange); color: var(--ghi-board); }
body.ghi-site .ghi-res-copy:hover .ghi-res-copy-label { background: var(--ghi-orange-hover); }
.ghi-res-copy.is-copied .ghi-res-copy-label { background: #1f9d55; color: #fff; }
.ghi-res-cta .ghi-btn-ghost { color: #fff !important; }

/* ---------------------------------------------------------------
 * Mobile refinements for Total-rendered pages
 * ------------------------------------------------------------- */
/* Banners never fade out (WPBakery parallax fade) */
body.ghi-site .image-header { opacity: 1 !important; transform: none !important; }

/* Gravity Forms renders <button> submits too */
body.ghi-site .gform_wrapper .gform_footer :is(button, .gform_button) {
	background: var(--ghi-orange) !important; color: var(--ghi-board) !important; border: 0 !important; border-radius: 8px !important;
	font-family: var(--ghi-body) !important; font-weight: 700 !important; font-size: 1rem !important; text-transform: none !important; letter-spacing: 0 !important;
	padding: 13px 26px !important; cursor: pointer;
}
body.ghi-site .gform_wrapper .gform_footer :is(button, .gform_button):hover { background: var(--ghi-orange-hover) !important; }

@media (max-width: 767px) {
	body.ghi-site .image-header { padding-top: 36px !important; padding-bottom: 32px !important; }
	body.ghi-site .image-header .vcex-heading.wpex-h1 { font-size: 2.2rem !important; }
	body.ghi-site .page-block { padding-top: 36px; padding-bottom: 12px; }
	body.ghi-site .vc_section:has(.image-header) { padding-top: 0 !important; padding-bottom: 0 !important; }

	/* Past events photo grids: two per row */
	body.ghi-site .vcex-image-grid .vcex-grid-item { width: 50% !important; float: left; padding-left: 5px !important; padding-right: 5px !important; }
	body.ghi-site .vcex-image-grid .vcex-image-grid-entry-img { margin-bottom: 10px !important; }
	body.ghi-site .vcex-image-grid.wpex-row { margin-left: -5px !important; margin-right: -5px !important; }
	body.ghi-site .vcex-image-grid img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }

	/* Contact page: remove double padding around the form */
	body.page-id-49182 .contact-form .vc_column-inner { padding: 18px !important; }
	body.page-id-49182 .vcex-spacing { display: none; }
	body.ghi-site .gform_wrapper .gform_footer :is(button, .gform_button, input[type=submit]) { width: 100%; }

	/* Blog post */
	.ghi-post-banner { padding-block: 40px 36px; margin-bottom: 28px; }
	body.single-post .single-blog-article :is(p, li) { font-size: 1rem; }

	/* Staff profile */

	/* Resources */
	.ghi-res-intro { margin: 32px 0 24px; gap: 18px; }
	.ghi-res-lead { font-size: 1.18rem; }
	.ghi-res-nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.ghi-res-group { padding-top: 36px; }
	.ghi-res-card { padding: 18px; }
	body.ghi-site .ghi-res-link { align-self: stretch; justify-content: center; }
	.ghi-res-cta { padding: 26px 20px; margin-bottom: 48px; }
	.ghi-res-cta-actions .ghi-btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------
 * Staff profile (Total template "Post Type- Staff Single", inc/ghi-staff.php)
 * Matches staff-*.html in the static export.
 * ------------------------------------------------------------- */
body.single-staff #content-wrap,
body.single-staff #primary,
body.single-staff #content { padding-top: 0 !important; padding-bottom: 0 !important; }
.ghi-staff .vc_column-inner { padding-top: 0 !important; }
.ghi-staff .wpb_content_element,
.ghi-staff .vcex-module:not(.vcex-button) { margin-bottom: 0; }
.ghi-staff .vc_row { margin-bottom: 0; }
.ghi-staff .wpb_text_column p:last-child { margin-bottom: 0; }

.ghi-staff-banner {
	background-color: var(--ghi-board) !important; color: #fff; border-bottom: 3px solid var(--ghi-orange); padding-block: 64px;
	background-image: linear-gradient(rgba(244, 247, 250, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 247, 250, .04) 1px, transparent 1px);
	background-size: 48px 48px;
}
.ghi-staff__photo-col { flex: 0 0 auto; }
@media (min-width: 768px) {
	.ghi-staff__photo-col.vc_col-sm-3 { width: 330px; }
	.ghi-staff__intro.vc_col-sm-9 { width: calc(100% - 330px); padding-left: 26px; }
}
.ghi-staff__photo .vcex-image-inner,
.ghi-staff__photo figure { margin: 0; }
body.ghi-site .ghi-staff__photo img {
	width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
	border: 6px solid #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.ghi-staff__group { font-family: var(--ghi-mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ghi-orange-text); margin-bottom: 12px !important; }
body.ghi-site .ghi-staff__name { font-family: var(--ghi-display); font-size: clamp(2.4rem, 5vw, 3.8rem) !important; font-weight: 700 !important; line-height: 1.05; letter-spacing: -.02em; color: #fff !important; }
.ghi-staff__role { margin-top: 10px !important; font-family: var(--ghi-mono); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ghi-orange-text); }
.ghi-staff__links { margin-top: 26px !important; }
.ghi-profile__links { display: flex; flex-wrap: wrap; gap: 10px; }
body.ghi-site .ghi-profile__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ghi-board-line); border-radius: 8px; color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; transition: border-color .15s, color .15s; color: #fff !important; }
body.ghi-site .ghi-profile__links a:hover { border-color: var(--ghi-orange); color: var(--ghi-orange-text) !important; }

.ghi-staff-body { padding-block: 96px; }
body.ghi-staff-no-bio .ghi-staff-body { padding-block: 48px; }
.ghi-staff__bio-col > .vc_column-inner > .wpb_wrapper { max-width: 760px; margin-inline: auto; }
body.ghi-site .ghi-staff__about h2 { font-family: var(--ghi-display); font-size: 1.6rem; font-weight: 700; color: var(--ghi-navy); margin: 0 0 16px; }
.ghi-staff__bio p,
.ghi-staff__bio .wpb_text_column { font-size: 1.08rem; line-height: 1.75; color: var(--ghi-fg); }
.ghi-staff__bio .vc_row, .ghi-staff__bio .wpb_column, .ghi-staff__bio .vc_column-inner { margin: 0 !important; padding: 0 !important; width: 100%; }
body.ghi-site .vcex-button.ghi-staff__back { margin-top: 36px; }
body.ghi-staff-no-bio .vcex-button.ghi-staff__back { margin-top: 0; }

@media (max-width: 767px) {
	.ghi-staff-banner { padding-block: 36px; }
	.ghi-staff__photo-col { width: 200px !important; margin-bottom: 24px; }
	body.ghi-site .ghi-staff__name { font-size: 2.4rem !important; }
	body.ghi-site .ghi-profile__links a { flex: 1 1 100%; justify-content: center; }
	.ghi-staff-body { padding-block: 56px; }
	body.ghi-site .vcex-button.ghi-staff__back { display: flex; width: 100%; justify-content: center; }
}
.ghi-staff__about { margin-bottom: 16px !important; }
body.ghi-staff-no-group .ghi-staff__group,
body.ghi-staff-no-role .ghi-staff__role { display: none !important; }

/* ---------------------------------------------------------------
 * Even spacing above the footer on every inner page
 * Total adds a 30px bottom margin to WPBakery columns, which stacks up
 * differently on each page. The last row drops it and the last section
 * sets one bottom padding for all pages.
 * ------------------------------------------------------------- */
.ghi-staff .vc_column-inner { margin-bottom: 0 !important; }
body.ghi-site .entry .vc_section .vc_row:last-child > .wpb_column:last-child > .vc_column-inner,
body.ghi-site .entry > .wpb-content-wrapper > .vc_row:last-child > .wpb_column:last-child > .vc_column-inner { margin-bottom: 0 !important; }
body.ghi-site .entry .vc_section.page-block:last-child { padding-bottom: 80px !important; }
body.ghi-site .entry .vc_section.page-block .vc_section.page-block:last-child { padding-bottom: 0 !important; }
body.page-id-49182 .gform_wrapper .gform_footer { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body.ghi-site .vcex-image-grid .vcex-image-grid-entry-img { margin-bottom: 0 !important; }
@media (min-width: 768px) {
	body.ghi-site .entry .vc_section .vc_row:last-child > .wpb_column > .vc_column-inner { margin-bottom: 0 !important; }
}
@media (max-width: 767px) {
	body.ghi-site .entry .vc_section.page-block:last-child { padding-bottom: 56px !important; }
	body.ghi-site .entry .vc_section.page-block .vc_section.page-block:last-child { padding-bottom: 0 !important; }
	body.ghi-site .vcex-image-grid .vcex-grid-item { margin-bottom: 10px !important; }
}
@media (max-width: 767px) {
	body.ghi-site .vcex-image-grid.wpex-row { margin-bottom: -10px !important; }
}
