/* Core Elements content fits within the existing Yogava Home 01 layout. */
.core-elements-index2 .core-elements-logo {
  width: 178px;
  max-width: 100%;
  height: auto;
}

.core-elements-index2 .preloader:after {
  width: 220px;
  height: 74px;
  margin-top: -37px;
  margin-left: -110px;
  background-image: url(../images/core-elements/logo.png);
  background-size: contain;
}

.core-elements-index2 .header-style-one .main-menu .navigation > li > a,
.core-elements-index2 .header-style-one .main-menu .navigation > li.dropdown > a:after,
.core-elements-index2 .header-style-one .sticky-header .main-menu .navigation > li > a {
  color: #fff !important;
}

.core-elements-index2 .header-style-one .main-menu .navigation > li > a:hover {
  color: #b8e4e2 !important;
}

.core-elements-index2 .mobile-menu .core-elements-logo,
.core-elements-index2 .sticky-header .core-elements-logo {
  width: 150px;
}

.core-elements-index2 .main-footer .core-elements-logo {
  width: 190px;
}

.core-elements-index2 .banner-section .content-box > .h5.text {
  display: none;
}

.core-elements-index2 .core-hero-copy {
  margin-bottom: 30px;
  color: var(--text-color);
  font-family: var(--heading-font-family);
  font-size: 18px;
  line-height: 1.6;
  text-transform: none;
}

.core-elements-index2 .footer-widget.links-widget.style-two .widget-content .text:nth-child(2) {
  display: none;
}

.core-elements-index2 .footer-widget.links-widget.style-two .widget-content::after {
  content: "Training courses in Swindon, Liverpool and online";
  display: block;
  margin-top: 14px;
  color: var(--text-color);
}

/* Full-width Core Elements hero slider. */
.core-elements-index2 .core-hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #173f40;
}

.core-elements-index2 .core-hero-slides,
.core-elements-index2 .core-hero-slide {
  min-height: 720px;
}

.core-elements-index2 .core-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
  transition: opacity 700ms ease, visibility 700ms ease, transform 6s ease;
}

.core-elements-index2 .core-hero-slide:nth-child(1) {
  background-position: center 38%;
}

.core-elements-index2 .core-hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.core-elements-index2 .core-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 32, .86) 0%, rgba(8, 31, 32, .64) 43%, rgba(8, 31, 32, .2) 78%, rgba(8, 31, 32, .14) 100%);
}

.core-elements-index2 .core-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  padding-top: 85px;
  padding-bottom: 118px;
  color: #fff;
}

.core-elements-index2 .core-hero-eyebrow {
  margin: 0 0 18px;
  color: #b8e4e2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.core-elements-index2 .core-hero-content h1,
.core-elements-index2 .core-hero-content h2 {
  max-width: 690px;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--title-font-family);
  font-size: clamp(48px, 6.1vw, 96px);
  font-weight: 400;
  line-height: .95;
}

.core-elements-index2 .core-hero-content h1 {
  max-width: 650px;
  font-size: clamp(48px, 5.4vw, 82px);
  letter-spacing: -.02em;
}

.core-elements-index2 .core-hero-content p:not(.core-hero-eyebrow) {
  max-width: 590px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .94);
  font-family: var(--heading-font-family);
  font-size: 20px;
  line-height: 1.55;
}

.core-elements-index2 .core-hero-content .theme-btn {
  background-color: #fff;
  color: #1d504e;
}

.core-elements-index2 .core-hero-content .theme-btn:hover {
  color: #fff;
}

.core-elements-index2 .core-hero-controls {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.core-elements-index2 .core-hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.core-elements-index2 .core-hero-arrow:hover {
  background: #fff;
  color: #1d504e;
}

.core-elements-index2 .core-hero-dots {
  display: flex;
  gap: 9px;
}

.core-elements-index2 .core-hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: width 180ms ease, background-color 180ms ease;
}

.core-elements-index2 .core-hero-dots button.is-active {
  width: 30px;
  border-radius: 12px;
  background: #fff;
}

/* Keep every service-tab visual at the same landscape size. */
.core-elements-index2 .services-section .outer-box .content-box .inner-box .image {
  height: auto;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.core-elements-index2 .services-section .outer-box .content-box .inner-box .image img {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .core-elements-index2 .core-hero-slider,
  .core-elements-index2 .core-hero-slides,
  .core-elements-index2 .core-hero-slide {
    min-height: 630px;
  }

  .core-elements-index2 .core-hero-slide,
  .core-elements-index2 .core-hero-slide:nth-child(1) {
    background-position: 60% center;
  }

  .core-elements-index2 .core-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 31, 32, .86), rgba(8, 31, 32, .42));
  }

  .core-elements-index2 .core-hero-content {
    padding-top: 78px;
    padding-bottom: 108px;
  }

  .core-elements-index2 .core-hero-content p:not(.core-hero-eyebrow) {
    font-size: 17px;
  }

  .core-elements-index2 .services-section .outer-box .content-box .inner-box .image {
    height: 280px;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-elements-index2 .core-hero-slide {
    transition: none;
  }
}
