@media only screen and (max-width: 480px) {
    .container {
        width: 100% !Important;
    }
}

.iht-course-hero{
  max-width:100%;
  margin:0 auto;
  padding:20px 15px 30px;
  font-family:Arial, sans-serif;
  color:#1c1c1c;
}

.iht-course-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.iht-breadcrumb{
  font-size:13px;
  color:#666;
}

.iht-breadcrumb a{
  color:#666;
  text-decoration:none;
}

.iht-breadcrumb span{
  margin:0 6px;
}

.iht-training-calendar{
  background:#8e201d;
  color:#fff !important;
  text-decoration:none;
  padding:12px 20px;
  border-radius:6px;
  font-size:15px;
  font-weight:600;
  display:inline-block;
}

.iht-course-main{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:28px;
  align-items:start;
}

.iht-course-title{
  font-size:34px;
  line-height:1.15;
  font-weight:700;
  margin:0 0 14px;
  color:#183422;
}

.iht-course-reviews{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.iht-stars{
  color:#f2b01e;
  font-size:22px;
  letter-spacing:2px;
}

.iht-course-reviews a{
  color:#8e201d;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
}

.iht-course-desc{
  font-size:17px;
  line-height:1.65;
  color:#333;
  margin:0 0 22px;
  max-width:680px;
}

.iht-course-info-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:25px;
}

.iht-info-box{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:180px;
  padding:10px 14px;
  border-right:1px solid #ddd;
}

.iht-info-box:last-child{
  border-right:none;
}

.iht-info-icon{
  font-size:22px;
}

.iht-info-label{
  font-size:13px;
  color:#666;
  margin-bottom:4px;
}

.iht-info-value{
  font-size:16px;
  font-weight:700;
  color:#1e1e1e;
}

.iht-course-learn h3{
  margin:0 0 14px;
  font-size: 22px;
  color:#183422;
  font-weight: 600;
}

.iht-learn-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:10px;
}

.iht-learn-grid ul{
  list-style:none;
  margin:0;
  padding:0;
}

.iht-learn-grid li{
  position:relative;
  padding-left:22px;
  margin-bottom:10px;
  font-size:15px;
  line-height:1.5;
  color:#333;
}

.iht-learn-grid li:before{
  content:"✓";
  color:#5b9e2f;
  font-weight:700;
  position:absolute;
  left:0;
  top:0;
}

.iht-course-fee-wrap{
  margin-bottom:18px;
}

.iht-fee-label{
  font-size:15px;
  color:#444;
  margin-bottom:6px;
  font-weight: 600;
}

.iht-course-fee{
  font-size:40px;
  font-weight:600;
  color:#8e201d;
  line-height:1.1;
  display: table-caption;
  width: 200px;
}

.iht-course-fee span{
  font-size:15px;
  color:#444;
  font-weight:500;
  margin-left:10px;
  position: relative;
  top: -12px;
}

.iht-course-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.iht-btn{
  min-width:150px;
  text-align:center;
  padding: 10px 27px 11px 20px;
  border-radius:8px;
  font-size:16px;
  font-weight:700;
  text-decoration:none !important;
  display:inline-block;
  transition:0.3s ease;
}

.iht-btn-outline{
  border:2px solid #8e201d;
  color:#8e201d !important;
  background:#fff;
}

.iht-btn-solid{
  background:#8e201d;
  border:2px solid #8e201d;
  color:#fff !important;
}

.iht-course-right{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  align-items:start;
}

.iht-video-card{
  position:relative;
}

.iht-video-thumb{
  position:relative;
  width:100%;
  height:365px;
  background-size:cover;
  background-position:center;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
}

.iht-video-thumb:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:40%;
  background:linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.iht-play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:64px;
  height:64px;
  border-radius:50%;
  border:3px solid #fff;
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  z-index:2;
}

.iht-video-duration{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:2;
  background:rgba(0,0,0,0.6);
  color:#fff;
  font-size:13px;
  padding:5px 8px;
  border-radius:20px;
}

.iht-course-features{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  background:#f4f5ec;
  padding:18px;
  border-radius:12px;
}

.iht-feature-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.iht-feature-icon{
  font-size:26px;
  color:#5b9e2f;
  line-height:1;
}

.iht-feature-item strong{
  display:block;
  font-size:15px;
  color:#1f1f1f;
  margin-bottom:4px;
}

.iht-feature-item span{
  display:block;
  font-size:13px;
  color:#555;
  line-height:1.5;
}

/* popup */
.iht-video-popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:99999;
}

.iht-video-popup.active{
  display:block;
}

.iht-video-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.75);
}

.iht-video-popup-content{
  position:relative;
  width:min(900px, 92%);
  margin:60px auto;
  z-index:2;
  background:#000;
  border-radius:12px;
  overflow:hidden;
}

.iht-video-iframe-wrap{
  position:relative;
  width:100%;
  padding-top:56.25%;
}

.iht-video-iframe-wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.iht-video-close{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  z-index:5;
  padding: 8px 13px;
}

.course_fee {
    padding-top: 10px;
    display: flex;
    gap: 28px;
    align-items: center;
}

@media (max-width: 1199px){
  .iht-course-main{
    grid-template-columns:1fr;
  }

  .iht-course-right{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 767px){
  .iht-course-title{
    font-size:28px;
  }

  .iht-learn-grid{
    grid-template-columns:1fr;
  }

  .iht-course-right{
    grid-template-columns:1fr;
  }

  .iht-video-thumb{
    height:280px;
  }

  .iht-course-features{
    grid-template-columns:1fr;
  }

  .iht-course-fee{
    font-size:32px;
  }
}


/* ==================================
   YouTube & WordPress Video Support
================================== */

.iht-video-thumb {
    background-color: #1c1c1c;
}

/* WordPress Video Thumbnail */
.iht-video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    display: block;
}

/* Gradient Overlay */
.iht-video-thumb::after {
    z-index: 1;
    pointer-events: none;
}

/* Play Button */
.iht-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 3;
    transition: background 0.3s ease;
}

.iht-video-card:hover .iht-play-btn {
    background: rgba(0, 0, 0, 0.5);
}

/* Video Duration */
.iht-video-duration {
    z-index: 3;
}

.iht-video-duration:empty {
    display: none;
}

/* Popup Video Support */
.iht-video-iframe-wrap iframe,
.iht-video-iframe-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    object-fit: contain;
}

/* Prevent Background Scrolling */
body.iht-popup-open {
    overflow: hidden;
}

/* Keep Popup Centered */
.iht-video-popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.iht-video-popup-content {
    margin: 0 auto;
}

/* Mobile Popup */
@media (max-width: 767px) {

    .iht-video-popup-content {
        width: 94%;
    }

    .iht-play-btn {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

}


.iht-training-calendar i{
    padding: 0 !important; 
    font-size: inherit !important; 
    width: inherit !important; 
    margin: inherit !important; 
}
.iht-course-buttons i{
    padding: 0 !important;
    font-size: 19px !important;
    width: 30px!important;
    x: inherit !important;
}
.iht-info-icon i{
    padding:0 !important;
}