/*
Theme Name: HMR
Theme URI:
Author: Hoverboard
Author URI:
Description:
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: hmr
Tags:
*/

.bg-footer {
	margin-bottom: 0;
}

.home .bg-header {
  display: none;
}

.bg-footer img {
	width: 100%;
	height: 55px;
	object-fit: fill !important;
}

.bg-header img {
	width: 100%;
	height: 55px !important;
	object-fit: fill !important;
}

.page-hero {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.home .page-hero {
  justify-content: flex-start;
}

.page-title-override {
  font-family: "'Buenard', Georgia, 'Times New Roman', serif";
  font-weight: bold;
  text-align: center;
  font-size: 80px;
  line-height: 1;
}

.page-excerpt-override {
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
}

.alignfull + .alignfull {
  margin-top: 0;
}

.services-buttons svg {
  width: 100px;
	height: 100px;
	margin-bottom: 10px;
}

.services-buttons .wp-block-button {
	flex: 1;
}

.gfield--type-name {
	position: relative;
	top: 6px;
}

.services-buttons svg {
  width: 100px;
	height: 100px;
	margin-bottom: 10px;
}

.services-buttons .wp-block-button {
	flex: 1;
}

.gfield--type-name {
	position: relative;
	top: 6px;
}

.page-template-wp-custom-template-med-cred .page-title-override {
	font-size: 55px;
	text-align: left;
}

.page-template-wp-custom-template-med-cred .page-excerpt-override {
	text-align: left;
}

.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	min-width: 300px;
}

.staff-list {
  display: grid;
  grid-template: auto / 1fr;
  grid-gap: 10px;
}

@media (min-width: 768px) {
  .staff-list {
    grid-template: auto / repeat(3, 1fr);
    grid-gap: 20px;
  }
}

.staff-list__member {
  background-color: #ccc;
  position: relative;
  aspect-ratio: 378 / 672;
  overflow: hidden;
}

.staff-list__image {
  height: 100%;
}

.staff-list__image img {
  max-width: 100%;
  object-fit: cover;
  max-height: 100%;
}

.staff-list__text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 40px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  transition: .3s bottom ease-in-out;
  min-height: 160px;
}

.staff-list__member:hover,
.staff-list__member:focus {
  .staff-list__text {
    bottom: -100%;
  }
}

.staff-list__title {
  color: #299929;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0;
}

.staff-list__title::after {
  content: "";
  display: block;
  height: 4px;
  width: 33px;
  background-color: #0053a0;
  margin: 8px auto 0;
}

.staff-list__position {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  margin: 20px 0;
}

.staff-list__more {
  text-transform: uppercase;
  text-decoration: underline;
  color: #0053a0;
  font-size: 16px;
  margin: 0;
}

.position-field {
  text-align: center;
  font-size: 28px;
}

@media (min-width: 1280px) {
  .staff-image {
    margin-top: -220px !important;
  }
}

.staff-cta + .alignfull {
  margin-top: 0;
}

.home-taglines .pipe {
  margin-left: 10px;
  margin-right: 10px;
}
