/* Overrides */			
.btn--red, .header__menu1__dropdown.products-menu .header__menu1__dropdown__info .product-categories--single:first-child>div:not(.carets):after {
	background: #EF3232;
}

.header__menu2 a.btn.btn--red {
	display: none;
}

.header--search-btn {
	display: none;
}

a.btn.btn--red-ghost {
	color: #143746;
	border-color: #143746;
	background: white;
}

a.btn.btn--red-ghost:hover {
	color: white;
	background: #143746;
}

.btn {
	font-weight: 400;
}

hr {
	max-width: 100%;
}

.header--search-btn {
	order: 1;
	margin-right: 15px;
	background: #F6F9FE;
	padding: 12px;
	border-radius: 7px;
}

ul.header__menu2 {
	order: 2;
}

.header--search-btn svg {
	height: 18px;
}

ul.header__menu1 {
	visibility: hidden;
}
	
.container--single-demo {
	padding-bottom: 100px;
}

.container--single-demo .demo-hero {
	border-top: 1px solid #70707030;
	border-bottom: 1px solid #70707030;
	padding-top: 60px;
	background: #F6F9FE;
	margin-bottom: 60px;
	padding-bottom: 60px;
}

.demo-hero .image {
	display: flex;
	margin-bottom: 15px;
}

.heading--lg {
	font-size: 3.2rem;
}

.copy .grid-container {
	max-width: 115rem;
}

/* Features Boxes */
.features--list--single {
	position: relative;
	margin-right: 70px;
	border: 1.5px solid #0071ce29;
	border-radius: 10px;
	margin-bottom: 20px;
	background: linear-gradient(315deg, #0071ce0a, white);
	padding: 25px;
	transition: 0.3s;
}

.demo-filter-toggle, .demo-filter-toggle-a, .demo-filter-toggle-a a {
	color: #00000054;
	transition: 0.3s;
}

.features--list--single:hover {
	background: linear-gradient(315deg, #0071ce17, white);
	border: 1.5px solid #0071CE;
}

.features--list--single:hover .demo-filter-toggle, .features--list--single:hover .demo-filter-toggle-a a, .features--list--single:hover .demo-filter-toggle-a {
	color: #000;
}
	
.features--list--single h3 {
	color: #00000054;
	transition: 0.3s;
}

.features--list--single:hover h3 {
	color: #000 !important;
}

.features--list--single ul {
	margin: 0;
}

.features--list--single h3.current-group {
  color: #000; /* override if any term below is active */
}

.features--list--single.current-section {
	border: 1.5px solid #0071CE;
}

.features--list .title span {
	color: #0071CE;
	text-align: left;
}

.features--list--single h3 {
	margin-bottom: 20px !important;
}

.demo-filter-item {
	border-bottom: 1px solid #ddd;
	padding-bottom: 12px;
	margin-bottom: 12px;
	list-style: none;
}

.demo-filter-toggle, .demo-filter-toggle-a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	font-size: 1rem;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.demo-filter-toggle .arrow {
	transition: transform 0.3s ease;
	margin-left: 8px;
	display: inline-block;
}

.demo-filter-toggle.expanded .arrow {
	transform: rotate(90deg); /* right ▶ to down ▼ */
}

/* Dropdown animation */
.demo-list {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	opacity: 0;
	padding-left: 15px;
}

.demo-list.active {
	max-height: 500px;
	opacity: 1;
	padding-top: 15px;
	padding-left: 0;
}

.demo-list a {
	color: black;
}

button.demo-filter-toggle.current-cat {
	color: black;
	font-weight: bold;
}

ul.demo-list {
	margin: 0;
}

.demo-list li {
	list-style: none;
}

.demo-list a {
	font-size: 16px;
}

.cell.small-12.medium-10.large-8.wysiwyg {
	font-size: 1.13rem;
	line-height: 2rem;
}

.wysiwyg h2 {
	font-size: 37px;
	margin-bottom: 20px;
}

.wysiwyg h3 {
	font-size: 27px;
	margin-bottom: 20px !important;
}

.demo-embed {
	border: 1.5px solid #0071CE;
	border-radius: 10px;
	margin-bottom: 20px;
	background: linear-gradient(315deg, #0071ce17, white);
	padding: 25px;
}

.demo-hero .cell.small-12.medium-12.large-12 {
	align-items: center;
	display: flex;
	flex-direction: column;
}

/* Hero */
.container--single-demo .hero {
	padding: 0 20px;
	border-top: 1px solid #70707030;
	background: url(https://learnosity.com/wp-content/themes/learnosity/assets/svg/hero.svg);
	position: relative;
	overflow: hidden;
	margin-bottom: 50px;
}

.hero .grid-container {
	background: url(https://learnosity.com/wp-content/themes/learnosity/assets/img/hero-middle-bg.png);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 75px 0 !important;
}

.container--single-demo .hero:after {
	content: "";
	display: block !important;
	background: linear-gradient(to bottom, transparent, white) !important;
	pointer-events: none;
	height: 100px;
	position: absolute;
	bottom: 0;
	width: 100%;
	left: 0;
}

.container--single-demo .hero h1 {
	font-size: 3.6rem;
}

.container--single-demo .image {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-bottom: 50px;
	align-content: center;
}

.hero .image {
	margin-bottom: 20px;
}

.container--single-demo .hero p {
	font-size: 1.2rem;
}

.floating-shapes-wrapper {
	position: relative;
	overflow: hidden;
}

.floating-shape {
	position: absolute;
	transition: transform 0.6s ease, scale 0.6s ease;
	will-change: transform;
	pointer-events: none;
	animation: float 6s ease-in-out infinite;
}

.shape-1 {
	top: -380%;
	left: -840px;
	animation-delay: 0s;
}

.shape-2 {
	bottom: -330%;
	right: -60%;
	animation-delay: 2s;
}

/* Floating keyframes */
@keyframes float {
	0%   { transform: translateY(0) rotate(0deg); }
	25%  { transform: translateY(-100px) rotate(20deg); }
	50%  { transform: translateY(0px) rotate(0deg); }
	75%  { transform: translateY(100px) rotate(-20deg); }
	100% { transform: translateY(0) rotate(0deg); }
}

.hero .section-divider {
	margin-bottom: 0;
}


ul.demo-list.current-ul {
	display: block !important;
	opacity: 1;
	max-height: unset !important;
}

a.current-post-id {
	font-weight: bold !important;
}

aside.header--banner.active {
	display: none;
}

.copy .wysiwyg a h3 {
	font-size: 1.3rem;
	color: #0071CE;
}

.wysiwyg hr, .wysiwyg__anchor {
	margin: 20px 0;
}