body {
  font-family: "Noto Sans Arabic", "Segoe UI", sans-serif;
}

/* CARD */
.course-card-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

.course-card {
  max-width: 370px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.card-image {
  position: relative;
	height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.card-content {
  padding: 26px;
}

.card-content h3 {
  font-size: 23px;
  color: #222;
}

.card-content p {
  color: #666;
  line-height: 1.9;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 10px;
/*   background: #d89b17; */
	 background: linear-gradient(135deg, #D4A017, #F2C94C);
  color: #fff;
  text-align: center;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(180deg, #F2C94C, #D4A017);
  transform: translateY(-2px);
	color : white !important;
}

/* DETAIL PAGE */
#detailPage {
  display: none;
  /* max-width: 1140px; */
  /* margin: 0 auto; */
}

.single-hero {
  text-align: center;
  color: #fff;
		background-repeat : no-repeat !important;
	background-size : cover !important;
	height : 600px !important;
}

.single-course-image img{
	width : 100% !important;
	height : 100% !important;
}


.single-hero h1{
	    color: white;
    font-size: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.course_detail {
  display: flex;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  margin-top: 40px;
	margin-bottom : 40px;
	padding : 0 20px;
}

@media screen and (max-width: 1024px){
	.course_detail{
		display : block ;
	}
	.box{
		width : 100%;
		max-width : 100%;
	}
	.info-box{
		width : 70% !important;
		max-width : 70% !important;
	}
}

@media screen and (max-width: 768px){
	.info-box{
		width : 100% !important;
		max-width : 100% !important;
	}
}
.course-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.box {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 700px;
	width  : 100%;

}/* ===== FORCE FIX FOR WP EDITOR CONTENT ===== */
.course-detail,
.course-detail * {
    all: revert !important;
    box-sizing: border-box;
}

.course-detail {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #222 !important;
}

/* Headings */
.course-detail h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
}
.course-detail h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
}
.course-detail h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* Paragraphs */
.course-detail p {
    margin: 0 0 12px !important;
}

/* Lists */
.course-detail ul {
    list-style: disc !important;
    margin: 12px 0 12px 22px !important;
    padding: 0 !important;
}

.course-detail ol {
    list-style: decimal !important;
    margin: 12px 0 12px 22px !important;
    padding: 0 !important;
}

.course-detail li {
    display: list-item !important;
    margin-bottom: 6px !important;
}

/* Strong / Bold */
.course-detail strong,
.course-detail b {
    font-weight: 700 !important;
}


.box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #222;
  font-size: 30px;
}

.box ul {
  padding: 0 0 0 20px;
}

.box ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-box {
  background: #fff3d8;
  padding: 20px;
  border-radius: 14px;
  width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-box div {
  display: flex;
  justify-content: space-between;
}



.info-btn {
    background: linear-gradient(135deg, #D4A017, #F2C94C);
    color: #0F2A44;
    border-radius: 50px;
    font-weight: 600;
	font-size : 16px;
	cursor : pointer;
	 border: none;
	padding: 12px;
	text-align : center;
}

.info-btn:hover {
   background: linear-gradient(180deg, #F2C94C, #D4A017) !important;
   color: white !important;
}


.flex-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
	padding : 0 20px;
}

@media (max-width: 768px) {
  .course-layout,
  .flex-row {
    flex-direction: column;
    align-items: center;
  }
}








/* Make cards and single course content RTL for Urdu */
body, .course-card-wrapper, .course-card, .course-detail, .course-layout, .box, .info-box {
    direction: rtl; 
    text-align: right;
}

/* Optional: fix bullet points for RTL */
.course-detail ul, .box ul {
    padding-right: 20px; 
    padding-left: 10px;
    list-style-position: inside;
}
