/* Global Styles for Burrows Capital Block Patterns (Short Term) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* .wp-block-navigation-item__content {
  color: #ffffff !important;
} */

.wp-block-navigation__responsive-container {
  background-color: #516474 !important;
}

.navbar-btn {
  a {
    font-family: 'Segoe', serif !important;
  }
}

.landing-navbar {
  /* position: absolute; */
  width: 100%;
  left: 0;
  z-index: 9;
  background: rgba(255, 255, 255, 0.25) !important;
  border-bottom: 1px solid #fff;

  ul {
    margin-right: 30px;
    li {
      &:not(:last-of-type) {
        margin-right: 30px !important;
      }
      a {
        span {
          color: #fff;
        }
      }
    }
  }
}

.yd-burrows-capital-block-patterns {
  /* Put Global Styles for Typography and general styles here cna be nested if needed
  */
  font-family: 'Playfair Display', serif;

  h1 {
    font-size: 50px;
    line-height: 66.65px;
  }

  h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 63.98px;
  }

  h3 {
    font-size: 36px;
    font-weight: 600 !important;
    line-height: 47.99px;
  }

  p {
    font-size: 18px;
    line-height: 23.99px;
  }

  a {
    text-decoration: none;
  }
}

.bg-with-shadow {
  background: #fff;
  box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.35);
}

.no-gap {
  gap: 0;
}

.image-offset {
  position: relative;
  left: 75px;
}

.landing-hero {
  background-image: url('./images/bcapital-hero-lrg.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;

  &:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.team-hero {
  figure {
    img {
      max-width: 100%;
      min-height: 430px !important;
    }
  }
}

.history {
  h1 {
    font-weight: 600;
  }
  p {
    font-size: 20px;
    line-height: 26.66px;
  }
}

.img-text-block {
  figure {
    img {
      width: 100% !important;
    }
  }
}

.committee-main-img {
  img {
    max-height: 900px;
    height: 100%;
  }
}

.wp-block-post-content,
.wp-block-template-part {
  margin-top: 0;
}

.hover-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 3px solid #516474;
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  &::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
  }

  &.resilience {
    background-image: url('./images/pillar-img-1.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }

  &.adaptation {
    background-image: url('./images/pillar-img-2.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }

  &.perseverance {
    background-image: url('./images/pillar-img-3.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }

  &.strength {
    background-image: url('./images/pillar-img-4.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #fff;
  }

  .card-content {
    padding: 20px;
    position: relative;
    z-index: 2;

    h3 {
      margin-top: 0;
    }
  }

  .hover-tab {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #516474;
    color: #fff;
    box-sizing: border-box;
    transition: bottom 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 0px 7.5px;
    justify-content: center;
    align-items: center;
    z-index: 3;
    h3 {
      margin-bottom: 0;
      margin-top: 0;
    }

    p {
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
    }
  }

  &:hover {
    cursor: pointer;
    .hover-tab {
      bottom: 0;
    }
  }
}

@media screen and (min-width: 450px) {
  .yd-burrows-capital-block-patterns {
    h1 {
      font-size: 42px;
    }

    p {
      font-size: 16px;
    }
  }
}
