/**
 * 360 Broadway - Nova Child: Hero Slider layout.
 * Loaded only on pages that use it (see bw_css_components() in inc/enqueue.php).
 * Loads after style.css; rules keep their original order.
 */

.carousel {
  position: relative;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

@media (prefers-reduced-motion: reduce) {
	.carousel-control-prev, .carousel-control-next {
	    transition: none;
	  }
}

.carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus {
  color: var(--bw-white);
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}
.carousel-control-prev {
  left: 0;
}
.carousel-control-next {
  right: 0;
}
.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
	.carousel-indicators li {
	    transition: none;
	  }
}

.header_content {
    flex-wrap: wrap;
    padding: 150px 12% 150px 12%;
    background: rgb(0 0 0 / 40%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.header_content_inner {
    display: flex;
    flex-wrap: wrap;
}
.header_content_box {
    color: var(--bw-white);
}
span.headerslidertext {
    background: rgb(255 255 255 / 36%);
    color: var(--bw-white);
    letter-spacing: 5px;
    text-align: center;
    padding: 5px 40px 5px 50px;
    display: block;
    transform: rotate(90deg);
    transition: all 0.3s;
    width: 150px;
    font-size: 11px;
}
span.headerslidertext:hover {
    background: var(--bw-white);
    color: var(--bw-c-1d6167);
}
.carousel-indicators {
    display: none;
}

@media all and (min-width:  768px) {
	.header_content_box {
		    height: 360px;
		    display: flex;
		    align-items: center;
		}
}

@media all and (max-width:  767px) {
	.header_content {
		    padding: 140px 15px;
		}
	.header_content_inner {
		    display: block;
		    text-align: center;
		    padding-left: 0 !important;
		}
	.header_content {
		    padding: calc(50vh - 133.5px) 15px;
		}
	.carousel-control-next,
		.carousel-control-prev {
		    display: none;
		}
	ol.carousel-indicators {
		    display: block;
		    text-align: center;
		}
	.header_content {
		    padding: 0;
		    height: calc(100vh - 103px);
		    display: flex;
		    align-items: center;
		}
}

.header_content {
	min-height: calc(100vh - 132px);
}
/* Subheading renders as its own <p> (not inside the H1). */
.header_content_box .subheading,
.header_content_box .bw-hero-subheading {
	font-size: 32px;
	line-height: 1.5; /* 2026-10-27: wrapped lines were touching at the inherited 1.0 leading. */
	display: block;
	font-family: var(--bw-font-heading);
	margin: 10px 0 0;
}

@media (max-width: 1580px) {
	.header_content_box .subheading,
	.header_content_box .bw-hero-subheading {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.header_content_box .subheading,
	.header_content_box .bw-hero-subheading {
		font-size: 20px;
	}
}

.carousel-indicators {
	display: none!important;
}
.header_content_box h1,
.header_content_box .bw-hero-title {
	text-transform: none; /* render headings as entered (base style is uppercase) */
	letter-spacing: 0;
}
/* Phones: shrink the H1 and clear the header logo so they don't overlap. */
@media (max-width: 480px) {
	.header_content_box h1,
	.header_content_box .bw-hero-title {
		font-size: 33px;
		line-height: 1.15;
	}
	.header_content {
		padding-top: 90px;
	}
	.header_content_box .subheading,
	.header_content_box .bw-hero-subheading {
		font-size: 18px;
	}
}
.mobile-hero-video-wrapper .header_content {
	position: relative;
	z-index: 2;
	width: 100%;
}
.bw-hero {
	position: relative;
}
.bw-hero .carousel-item {
	position: relative;
	height: auto;
}
.bw-hero .header_content {
	position: relative;
	z-index: 1;
}
.header_content_inner.is-center {
	justify-content: center;
	text-align: center;
}
.bw-hero .carousel-control-prev,
.bw-hero .carousel-control-next {
	z-index: 2;
}
.bw-hero .carousel-indicators {
	position: absolute;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
}
.bw-hero .carousel-indicators .swiper-pagination-bullet {
	width: 30px;
	height: 3px;
	border-radius: 0;
	background: var(--bw-white);
	opacity: .5;
	margin: 0 !important;
}
.bw-hero .carousel-indicators .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.has-mobile-hero-video .bw-hero-slider {
			display: none;
		}
}

.bw-hero-slider .swiper-wrapper.carousel-inner {
	overflow: visible;
}

/* Slide buttons (primary/secondary): stacked under the title, light on the photo. */
.header_content_box {
	flex-direction: column;
	justify-content: center;
}
.header_content_inner.is-left .header_content_box {
	align-items: flex-start;
}
.bw-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px 40px;
	margin: 30px 0 0;
}
.header_content_inner.is-left .bw-hero-buttons {
	justify-content: flex-start;
}
.bw-hero .btn-line-light {
	color: var(--bw-white);
	font-size: 18px;
	text-decoration: none;
}
.bw-hero .btn-line-light::before {
	background: var(--bw-white);
}
