/* Case Study CSS Starts */
.case-study-bg-parent {
  background-image: url("https://xlogicsolutions.com/wp-content/uploads/2025/03/BG.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -110px;
  padding-top: 110px;
  border-radius: 0 0 32px 32px;
}
.case-study-container {
  padding: 80px 0 !important;
  display: flex;
  justify-content: space-between;
  max-width: 1366px;
  margin: auto;
}
.case-study-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-study-feature-image {
  width: 1100px !important;
  height: 390px !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
	border-radius: 10px !important;
}
.case-study-title p {
  margin-bottom: 0;
  color: #EF6742;
  font-family: 'open Sans' !important;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}
.case-study-post-title h2 {
  margin: 0 0 10px 0;
  color: #252525;
  font-family: Nohemi;
  font-weight: 600;
  font-size: 60px;
  line-height: 80px
}
.case-study-post-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.case-study-post-tags button {
  font-family: 'Open Sans' !important;
  font-weight: 400;
  font-size: 12px;
  padding: 5px 15px;
  border: 1px solid #EF6742;
  border-radius: 100px;
  color: #EF6742;
}
.case-study-post-tags button:hover, .case-study-post-tags button:active, .case-study-post-tags button:focus {
  background: #EF6742;
}
.post-excerpt p, .case-study-content p {
  font-family: 'Plus Jakarta Sans' !important;
  color: #252525;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.post-excerpt p {
	width: 80%;
}
.case-study-meta {
  margin-top: 44px;
  display: flex;
  gap: 30px;
}
.case-study-meta .meta-item {
  display: flex;
  flex-direction: column;
}
.case-study-meta .meta-item strong {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #252525;
}
.case-study-meta .meta-item span {
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  color: #EF6742;
}
.case-study-content {
  padding: 60px 0;
  max-width: 1366px;
  margin: auto;
}
.case-study-content h2.wp-block-heading {
  font-family: Nohemi;
  font-weight: 600;
  font-size: 52px !important;
  line-height: 67px;
  color: #252525;
  margin: 0 0 14px 0;
}
.case-study-content h3.wp-block-heading {
  font-size: 34px !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  color: #252525 !important;
}
.case-study-content .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) h3.wp-block-heading {
  font-family: Nohemi !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 34px !important;
  color: #EF6742 !important;
}
/* .case-study-content p {
  font-family: 'open sans' !important;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: #666;
  padding: 0 !important;
} */
.wp-block-separator {
  border-top: 1px solid #666;
	margin-bottom: 50px !important;
}
.case-study-content .wp-block-columns {
	margin-bottom: 0;
}
.case-study-content .wp-block-columns:has(> .wp-block-column:nth-child(2):last-child) {
	gap: 60px;
}
.case-study-content .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) {
	gap: 30px;
}
.wp-block-columns.pt-80 {
  padding-top: 80px;
}
.case-study-content .mt-30 {
	margin-top: 30px;
	margin-bottom: 50px !important;
}
.case-study-content .conclusion{
	margin-top: 50px !important;
}
.border-left-right {
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
}
.case-study-content .border-roundered {
  border: 1px solid #EF6742;
  padding: 44px 38px !important;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
}
.three-columns .wp-block-column:nth-child(1) p {
  padding-right: 30px !important;
}
.three-columns .wp-block-column:nth-child(2) p {
  padding: 0 30px;
}
/* .three-columns .wp-block-column:nth-child(3) p {
  padding-left: 30px !important;
} */
.second-two-columns .wp-block-column:nth-child(1) p {
  padding-right: 100px;
}
.first-two-columns .wp-block-column:nth-child(2) p {
  padding-left: 100px;
}


/* Case Study CSS End */

/* Case Study Popup CSS Start */
#portfolio-popup {
  width: 100% !important;
  padding: 0 !important;
}
#portfolio-popup-content-wrapper {
  width: 100% !important;
  max-width: 1366px !important;
}
/* Case Study Popup CSS End */

@media (max-width: 1367px) {
	.case-study-content {
	 	padding: 60px 40px !important;
	}
	.case-study-container {
	 	padding: 60px 40px !important;
	}
	.case-study-post-title h2 {
		font-size: 30px;
	}
	.case-study-feature-image {
		height: 240px !important;
	}
}

/* Case Popup Responsive */
@media only screen and (max-width: 767px){
	#portfolio-popup {
		padding: 0 16px;
	}
	.case-study-post-title h2 {
		line-height: unset;
	}
	.case-study-meta {
	  margin-top: 20px;
	  display: flex;
	  gap: 20px 0;
	  flex-wrap: wrap;
	}
	.case-study-meta .meta-item {
	  flex: 0 0 50%;
	}
	.case-study-feature-image {
		background-size: cover;
	}
	.case-study-content h2.wp-block-heading {
	  font-size: 28px !important;
	  line-height: 32px;
	}
	.case-study-content .wp-block-columns .wp-block-column {
/* 	  margin-bottom: 20px; */
	  padding-top: 0 !important;
  	  padding-bottom: 0 !important;
	}
	.case-study-content .wp-block-columns {
	  margin-block-start: 0 !important;
	}
	.case-study-content h3.wp-block-heading {
	  padding-top: 0 !important;
	  font-size: 28px !important;
      line-height: 32px !important;
	}
	.wp-block-column h3.wp-block-heading:not(.wp-elements-b4a3e70955c37c167857471c8ae0f908) {
	  margin-top: 20px;
	}
}