/*
Theme Name: Foundation
Theme URI: 
Author: Jamie Calder
Author URI: 
Description: A short description
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 
Version: 1.0
License: MIT
License URI: http://opensource.org/licenses/MIT
Text Domain: foundation2
Tags: foundation, responsive, mobile-first
*/

.home .home-hero{
    min-height: 60vh;
  }

  .page .page-hero{
    min-height: 60vh;
  }

button {
  transition: background-color 0.1s ease-in-out;
}

body .wp-block-navigation .wp-block-navigation-item__content {
    font-weight: 700 !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem!important;
}

.wp-block-cover.page-hero {
  padding-top: 50px!important;
  padding-bottom: 50px!important;
}

.page-hero p.eyebrow-text {
  margin-bottom: 0;
  font-weight: 600
  ;
}

p{
  margin-bottom: 1.5rem;
}

footer ul.wp-block-list{
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  li{
    margin-bottom: 0.5rem;

    a{
      text-decoration: none;

      &:hover{
        text-decoration: underline;
      }
    }
  }


}

nav a {
 white-space: nowrap;
 color: #fff;
}

.balanced-text {
  text-wrap: balance;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{
  color: #fff;
}

header ul li ul{
  a {
    color: #333!important;
  }
}

.team h3{
  margin-bottom: 0.25rem!important;
  margin-top: 0.5rem;
}

blockquote {
	margin-top: 30px;
	color: $secondary-text;
	border-left-color: $primary;
	padding: 0 20px;
}

.date {
	background: $accent;
	display: inline-block;
	color: $text;
	padding: 10px;
	position: absolute;
	top: 0;
	right: 0;
}



@property --color-start {
  syntax: '<color>';
  initial-value: #ff5733;
  inherits: false;
}

@property --color-end {
  syntax: '<color>';
  initial-value: #ff5733;
  inherits: false;
}

.wp-block-button .wp-block-button__link,
.wp-block-buttons .wp-block-button__link{

  background: linear-gradient(to right, var(--color-start), var(--color-end));
  transition: --color-start 0.5s, --color-end 0.5s;
 
  &:hover{
    --color-end: #00498D;
   
    
  }
}

@media screen and (min-width: 769px) {

   .page-hero__container-inner{
      max-width: 60%;
    }

  .home .wp-block-cover__inner-container{
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: center;
      min-height: 90vh;
    
  }

  .home .logo-bar{
    max-width: 100%;
  }

  .home .swiper-slide figure{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page .page-hero{
    min-height: 600px;
  }

  .home .logo-bar{
    width: 100%;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
  }

  header{
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;

    &.scrolled{
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      background: rgba(6,32,58);
      transition: all 0.3s ease-in-out;
    }
  }

  ul.wp-block-navigation__submenu-container{
    right: unset!important;
    left: 0;
    padding: 10px 0!important;
    background: rgba(6, 32, 58)!important;
    border: none!important;
    border-radius: 4px;

    li{
      background: transparent!important;
      a{
        color: #fff!important;
      }
    }
   }
}

.wp-block-media-text img{
  border-radius: 12px;
}

