/* Capital CMS overrides — keep theme look, CMS pages and home slider */
.home-slider.owl-carousel {
  width: 100%;
  display: block;
}
.home-slider,
.home-slider .owl-stage-outer,
.home-slider .owl-item,
.home-slide {
  height: 600px;
}
.home-slider .owl-stage-outer {
  overflow: hidden !important;
}
.home-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.home-slider .owl-item img,
.home-slide img {
  width: 100% !important;
  height: 600px !important;
  object-fit: cover;
  display: block !important;
}
.home-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
}
.home-slide-kicker {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
}
.home-slide:hover .home-slide-kicker {
  color: #957746;
}
.home-slide-title {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.home-slider .owl-nav {
  margin: 0;
}
.home-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #fff !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.home-slider .owl-nav .owl-prev {
  left: 16px;
}
.home-slider .owl-nav .owl-next {
  right: 16px;
}
@media (max-width: 1024px) {
  .home-slider,
  .home-slider .owl-stage-outer,
  .home-slider .owl-item,
  .home-slide,
  .home-slide img,
  .home-slider .owl-item img {
    height: 520px !important;
  }
  .home-slide-title {
    font-size: 2rem;
  }
}
@media (max-width: 778px) {
  .home-slider,
  .home-slider .owl-stage-outer,
  .home-slider .owl-item,
  .home-slide,
  .home-slide img,
  .home-slider .owl-item img {
    height: 420px !important;
  }
  .home-slide-title {
    font-size: 1.5rem;
  }
}
.news-info {
  position: relative;
  padding: 1rem 0 0;
}
.news-date {
  display: inline-block;
  background: #3d5896;
  color: #fff;
  text-align: center;
  padding: .4rem .7rem;
  margin-bottom: .75rem;
}
.page-title-section {
  min-height: 220px;
  display: flex;
  align-items: center;
}
.x-social {
  display: inline-block;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 28px;
  width: 1em;
  text-align: center;
  vertical-align: middle;
}
header #top-bar .top-social-icon li a .x-social,
footer .x-social {
  font-size: 16px;
  line-height: 1;
}
.investia-disclaimer p {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.card-style8 .icon-box {
  width: 80px;
}
.card-style8 .icon-box img {
  max-height: 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
header .navbar .navbar-brand img {
  max-height: 72px;
  width: auto;
}
header .investia-logo img {
  max-height: 54px;
}
footer .logo-footer {
  max-height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Dropdown: white panel needs dark text; theme hover was white-on-white */
@media screen and (min-width: 992px) {
  header .navbar-nav li > ul a,
  header .navbar ul ul li a {
    color: #002a5c !important;
  }
  header .navbar-nav li.has-sub > ul a:hover,
  header .navbar ul ul li a:hover,
  header .navbar ul ul li.active > a {
    color: #3d5896 !important;
    background: #f3f5f8;
  }
}

.title-style2 span:before,
.title-style2.white span:before,
.title-style2.white span:after {
  background: url("/images/gold-house.svg") no-repeat center / contain !important;
  border: none !important;
}
.title-style2.white span:after {
  display: none;
}
.why-choose-title {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  padding: 4px 0 0 56px;
  max-width: 100%;
}
.why-choose-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 40px;
  height: 36px;
  background: url("/images/gold-house.svg") no-repeat center / contain;
}

.testimonials-home {
  padding-bottom: 4rem;
}
.testimonials-home-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.cms-page-body {
  overflow: hidden;
}
.cms-page-body-img,
.cms-page-content img.cms-page-body-img {
  float: right;
  width: 38%;
  max-width: 340px;
  max-height: 240px;
  object-fit: cover;
  object-position: center;
  margin: 0 0 1.25rem 1.5rem;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .cms-page-body-img,
  .cms-page-content img.cms-page-body-img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    margin: 0 0 1.25rem 0;
  }
}

.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eef1f6;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

