/*
Theme Name: Cipla Africa (Salient Child)
Theme URI: https://cipla.africa/
Description: Salient child theme for Cipla Africa.
Author: Polar Bear
Author URI: https://polarbear.digital/
Template: salient
Version: 1.0.0
*/

.nectar-social a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.secondary-menu {
  border-top: 1px solid #e6e6e6;
}

.secondary-menu nav, .secondary-menu nav > ul, .secondary-menu nav > ul > li, .secondary-menu .row, .secondary-menu .row .col {
  display: flex!important;
}

.secondary-menu .sf-menu, .secondary-menu .sf-menu * {
  z-index: unset!important;
}

#logo .secondary-logo {
  height: 35px!important;
}

.secondary-menu .row .col {
  height: 60px;
}

.secondary-menu #logo {
  margin: 0!important;
}

.secondary-menu-mobile {
  display: none;
  height: 100%;
  width: 22px;
  justify-content: center;
  align-items: center;
}

.secondary-menu .mobile-nav.closed {
  display: none;
  grid-template-rows: 0fr;
  overflow: hidden;
}

.secondary-menu .mobile-nav {
  display: none;
  grid-template-rows: 1fr;
  position: absolute;
  top: calc(100%);
  left: 0;
  right: 0;
  width: 100vw;
  background-color: #f6f9fc;
  overflow: hidden;
  transition: grid-template-rows 500ms ease;
}

.secondary-menu .mobile-nav .mobile-nav-inner, .secondary-menu .sub-menu .sub-menu-inner {
  overflow: hidden;
  width: var(--mobile-container-width);
  margin: 0 auto;
}

.secondary-menu .mobile-nav .sub-menu {
  overflow: hidden;
  padding-left: 20px;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 500ms ease;
  width: 100%;
}

.secondary-menu .mobile-nav .sub-menu.closed {
  grid-template-rows: 0fr;
}

.secondary-menu .sub-menu .sub-menu-inner {
  width: 100%;
}

.secondary-menu .mobile-nav ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.secondary-menu .mobile-nav ul li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.secondary-menu > .mobile-nav > ul > li > a {
  max-width: var(--mobile-container-width);
}

.secondary-menu .mobile-nav ul > li > a {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e6e6e6;
  padding-left: 10px;
}

.secondary-menu .mobile-nav ul > li:has(.sub-menu:not(.closed)) > a {
  border-bottom: 1px solid #e6e6e6;
}

.secondary-menu .mobile-nav ul > li:first-child > a {
  border-top: none;
}

.secondary-menu .mobile-nav ul li:has(.sub-menu:not(.closed)) .sf-sub-indicator {
  transform: rotate(180deg);
}

.secondary-menu .mobile-nav ul li a .menu-title-text {
  flex: 1;
}

.secondary-menu .mobile-nav ul li a .sf-sub-indicator {
  position: relative;
}

.secondary-menu .mobile-nav li a span {
  line-height: 1;
}

#secondary-menu-mobile-toggle {
  transform: rotate(180deg);
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-left: 5px;
  cursor: pointer;
  width: 30px;
  z-index: 10;
}

#secondary-menu-mobile-toggle.closed {
  transform: rotate(0deg);
}

@media screen and (max-width: 1200px) {
  
  .secondary-menu .mobile-nav {
    display: grid!important;
  }
  
  #secondary-menu-mobile-toggle {
    display: flex;
  }
  
}

@media screen and (max-width: 1000px) {
  
  .secondary-menu .mobile-nav {
    top: calc(100% + 12px);
  }

  .secondary-menu {
    padding-top: 10px;
    margin-top: 10px;
  }
  
  .secondary-menu .row .col {
    height: 30px;
  }
  
}

li, ol {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.therapy-posts {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.therapy-posts .title {
	font-size: 30px;
	letter-spacing: -0.02em;
	margin: 0;
	margin-top: 24px;
}

.therapy-list,
.therapy-posts-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}

@media (min-width: 1024px) {
.therapy-posts-list .therapy-post:nth-child(1),
.therapy-posts-list:has(.therapy-post:nth-child(6):last-child) .therapy-post:nth-child(6), 
.therapy-posts-list:has(.therapy-post:nth-child(10):last-child) .therapy-post:nth-child(10) {
	grid-column: span 2;
}
}

@media (max-width: 1023px) {
	.therapy-list {
		grid-template-columns: repeat(3, 1fr);
	}
	.therapy-posts-list {
		grid-template-columns: repeat(1, 1fr);
	}
	.therapy-posts-list .therapy-post:nth-child(1),
	.therapy-posts-list .therapy-post:nth-child(6) {
		grid-column: span 1;
	}
}

@media (max-width: 767px) {
	.therapy-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.therapy-list {
		grid-template-columns: 1fr;
	}
}

.therapy-list .therapy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 10% 15%;
	overflow: hidden;
	transition: border-color 350ms ease;
}

.therapy-list .therapy .content {
	min-height: 70px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.therapy-list .therapy .content .title {
	margin: 0 !important;
	text-align: center;
	color: #444;
	transition: color 350ms ease;
	font-size: 24px;
	font-weight: 400;
}

.therapy-list .therapy .background {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition:
		opacity 350ms ease,
		transform 350ms ease;
}

.therapy-list .therapy .background::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #000;
	opacity: 0.5;
}

.therapy-list .therapy .item-link {
	position: absolute;
	inset: 0;
	z-index: 100;
}

.therapy-list .therapy:hover {
	border-color: transparent;
}

.therapy-list .therapy:hover .background {
	opacity: 1;
	transform: scale(1.1);
}

.therapy-list .therapy:hover .content .title {
	color: #fff;
}

.therapy-posts-list .therapy-post {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	padding: 24px;
	overflow: hidden;
	background-color: #f5f8ff;
	transition: border-color 350ms ease;
	min-height: 300px;
}

.therapy-posts-list .therapy-post .content {
	min-height: 50px;
	display: flex;
	flex-direction: column;
	z-index: 10;
}

.therapy-posts-list .therapy-post .content .title {
	color: #fff;
	font-size: 21px;
	line-height: 1.18;
	margin: 12px 0 8px 0;
}

.therapy-posts-list .therapy-post .background {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 350ms ease;
}

.therapy-posts-list .therapy-post .background::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(14, 27, 58, 0) 34%, rgba(14, 27, 58, 0.85) 100%);
	opacity: 1;
	transition: opacity 350ms ease;
}

.therapy-posts-list .therapy-post .background::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 350ms ease;
}

.therapy-posts-list .therapy-post .min-read {
	font-size: 12.5px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.8);
}

.therapy-posts-list .therapy-post .tags {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.therapy-posts-list .therapy-post .tags .tag {
	display: inline-block;
	background: #dbe7ff;
	color: #1653d6;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 11px;
	border-radius: 20px;
}

.therapy-posts-list .therapy-post .item-link {
	position: absolute;
	inset: 0;
	z-index: 100;
}

.therapy-posts-list .therapy-post:hover .background {
	transform: scale(1.1);
}

.therapy-posts-list .therapy-post:hover .background::before {
	opacity: 0;
}

.therapy-posts-list .therapy-post:hover .background::after {
	opacity: 1;
}

.therapy-single {
	padding-top: 0 !important;
}

.therapy-single .post-hero {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.therapy-single .post-hero-content {
	margin: 0 auto !important;
	max-width: 1550px;
	padding: calc(100vw * 0.08) 90px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media (max-width: 999px) {
	.therapy-single .post-hero-content {
		max-width: var(--mobile-container-width);
		padding: calc(100vw * 0.08) 0;
	}
}

.therapy-single .post-hero-content .breadcrumbs {
	display: flex;
	gap: 6px;
}

.therapy-single .post-hero-content .breadcrumbs a,
.therapy-single .post-hero-content .breadcrumbs span {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
}

.therapy-single .post-hero-content .breadcrumbs > *:hover,
.therapy-single .post-hero-content .breadcrumbs .current {
	color: #fff;
	text-decoration: underline;
}

.therapy-single .post-hero-content .post-title {
	color: #fff;
}

.therapy-single .post-hero-content .post-excerpt {
	color: #fff;
	max-width: 665px;
}

.therapy-post-single {
	padding-top: 0 !important;
	background-color: rgb(237, 246, 255) !important;
}

.therapy-post-single .post-hero {
	margin: 0 auto !important;
	max-width: 1550px;
	padding: 22px 40px 44px 40px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media (max-width: 999px) {
	.therapy-post-single .post-hero {
		max-width: var(--mobile-container-width);
		padding: 22px 0 44px 0;
	}
}

.therapy-post-single .post-hero .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 50px;
	overflow: hidden;
}

@media (max-width: 999px) {
	.therapy-post-single .post-hero .breadcrumbs {
		padding: 0;
	}
}

.therapy-post-single .post-hero .breadcrumbs a,
.therapy-post-single .post-hero .breadcrumbs span {
	font-size: 12.5px;
	color: #6a7893;
	min-width: max-content;
}

.therapy-post-single .post-hero .breadcrumbs > a:hover,
.therapy-post-single .post-hero .breadcrumbs .current {
	color: #0e1b3a;
	font-weight: 600;
}

.therapy-post-single .post-hero .post-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 50px;
}

.therapy-post-single .post-hero .post-hero-content .tags {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.therapy-post-single .post-hero .post-hero-content .tags .tag {
	background: rgb(255, 255, 255);
	color: #1653d6;
	font-size: 11.5px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	line-height: 1;
	min-width: max-content;
	transition:
		background 250ms ease,
		color 250ms ease;
}

.therapy-post-single .post-hero .post-hero-content .tags .tag:hover {
	background: #1653d6;
	color: rgb(255, 255, 255);
}

.therapy-post-single .post-hero .post-hero-content .post-title {
	font-weight: 600;
	font-size: clamp(28px, 5vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 20px 0px 14px;
	text-align: center;
}

.therapy-post-single .post-hero .post-hero-content .post-excerpt {
	font-size: 16px;
	max-width: 585px;
	text-align: center;
}

.therapy-post-single .post-hero .post-hero-content .min-read {
	font-size: 13px;
	color: #6a7893;
}

.therapy-post-single .post-hero .post-image-wrapper {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 6;
}

.therapy-post-single .post-hero .post-image-wrapper .post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media only screen and (min-width: 1000px) {
	.therapy-post-single .post-area .nectar-social.vertical {
		margin-left: 0 !important;
	}
}

.therapy-single .post-content .content-inner, .therapy-post-single .post-content .content-inner {
	width: 100%;
}

.therapy-posts .pagination {
	margin-top: 20px;
	display: flex;
	align-items: center;
}

.therapy-posts .pagination .pagination-link {
	padding: 11px 13px 10px 13px;
	border-radius: 8px;
	color: #0c1532;
	line-height: 1;
	font-size: 12px;
	font-weight: 700;
	transition:
		color 350ms ease,
		background-color 350ms ease;
}

.therapy-posts .pagination .pagination-link.current {
	background-color: #0055b8;
	color: #fff;
}

.therapy-posts .pagination a.pagination-link:hover {
	background-color: #0056b82a;
	color: #0055b8;
}

.therapy-posts.loading .therapy-posts-list .therapy-post {
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.5;
}

.therapy-posts {
	position: relative;
}

.therapy-posts .spinner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.therapy-posts .spinner-overlay .spinner {
	background-color: #fff;
	color: #000;
	padding: 8px 12px;
	font-weight: bold;
	font-size: 14px;
	line-height: 1;
	border-radius: 8px;
	box-shadow:
		rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
		rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.therapy-posts.loading .pagination .pagination-link {
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.5;
}

.page-id-10743 .container-wrap *, .parent-pageid-10743 .container-wrap *, .single-therapy .container-wrap *, .single-therapy_post .container-wrap * {
  font-family: Poppins!important;
}

.page-id-10743 .container-wrap .icon-salient-x-twitter, .parent-pageid-10743 .container-wrap .icon-salient-x-twitter, .single-therapy .container-wrap .icon-salient-x-twitter, .single-therapy_post .container-wrap .icon-salient-x-twitter {
    font-family: icomoon !important;
}

/* Menu Item visibility */

.off-canvas-menu-container-only {
  display: none !important;
}

.off-canvas-menu-container .off-canvas-menu-container-only {
	display: list-item !important;
}

