/* Elementor Hero Card Widget Styles */
.ehc-hero-card { position:relative; border-radius:16px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.12); font-family:'Inter',sans-serif; }
.ehc-bg { position:absolute; inset:0; background-size:cover; background-position:center; border-radius:16px; }
.ehc-overlay { position:absolute; top:0; left:0; right:0; height:48%; border-radius:16px 16px 0 0; pointer-events:none; transition:background .3s; }
.ehc-content { position:absolute; inset:16px; display:flex; flex-direction:column; justify-content:space-between; z-index:3; }
.ehc-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 120%;
}
.ehc-footer { margin-top:auto; }
.ehc-learn-btn { display: inline-flex
;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: none;
    border-radius: 28px;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    justify-content: space-between; }
.ehc-learn-icon { border:2px solid #0b84ff; border-radius:50%; width:22px; height:22px; line-height:17px; font-size:12px; color:#0b84ff; text-align:center; }
.ehc-detail-panel { position: absolute;
    left: 0;
    right: 0;
    top: 0;
    /* transform: translateY(100%); */
    transition: transform 0.4s 
ease;
    z-index: 4;
	display:none;
    height: 100%; }
.ehc-detail-panel.open { /*transform: translateY(calc(-100% - 20px)); */
    display: block; transition: transform 0.4s 
ease; }
.ehc-panel-inner { background:#000; color:#ffd800; padding:22px; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,0.35); height: 100%; }
.ehc-panel-inner h3
 {
    margin: 0 0 4px;
    color: #ffd800;
    font-size: 16px !important;
    line-height: 120%;
}
.ehc-panel-inner p { color:#fff; margin: 0 0 10px 0; font-size: 15px; }
/* Overlay styles */ 
.overlay-gray .ehc-overlay { background:linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(128,128,128,0) 100%); }
.overlay-teal .ehc-overlay { background:linear-gradient(180deg, rgba(0,150,136,0.9) 0%, rgba(0,150,136,0) 100%); }
.overlay-blue .ehc-overlay { background:linear-gradient(180deg, rgba(33,150,243,0.9) 0%, rgba(33,150,243,0) 100%); }
.overlay-orange .ehc-overlay { background:linear-gradient(180deg, rgba(255,152,0,0.9) 0%, rgba(255,152,0,0) 100%); }



/* Program Carousel styles */
.ehc-program-carousel {
  position: relative;
  overflow: hidden;
}

.ehc-program-inner {
  display: flex;
  gap: 0; /* biar Swiper yang atur space antar slide */
  scroll-behavior: smooth;
  padding: 0; /* penting: hapus padding kiri-kanan */
  box-sizing: border-box;
}

.ehc-prog-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .ehc-prog-slide { flex: 0 0 50%; }
}
@media (max-width: 768px) {
  .ehc-prog-slide { flex: 0 0 50%; }
  .ehc-prog-card {
        height: 300px !important;
    }
    
    .ehc-prog-btn {
    display: inline-block;
    padding: 5px 5px !important;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #111;
    font-weight: 600;
    width: 100%;
    text-align: center;
    font-size: 15px;
}
}
@media (max-width: 768px) {
  .ehc-program-inner {
    padding-right: 0 !important; /* hapus padding kanan */
  }
}

.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: rgb(0 0 0 / 70%) !important;
    padding: 1em 1em !important;
}

.ehc-prog-card { background:#f6f6f6; border-radius:10px; padding:18px; height:400px; box-shadow:0 2px 0 rgba(0,0,0,0.04) inset, 0 6px 16px rgba(0,0,0,0.06); border:1px solid rgba(0,0,0,0.06); display:flex; flex-direction:column; }
.ehc-prog-icon img {
    /*width: 180px;*/
    height: 34px !important;
    margin-bottom: .5em;
    display: block;
    border-radius: 0;
}
.ehc-prog-body { margin-top:0; flex:1; display:flex; flex-direction:column; }
.ehc-prog-title { font-size:33px; margin:0 0 6px 0; font-weight:700; color:#111; letter-spacing:0.3px; }
.ehc-prog-desc { font-size:16px; color:#333; flex:1; line-height:1.45; margin-top: 1em;  }
.ehc-prog-footer { margin-top:14px; }
.ehc-prog-btn { display: inline-block;
    padding: 10px 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #111;
    font-weight: 600;
    width: 100%;
    text-align: center; }

/* navigation */
.ehc-prog-nav { position:absolute; top:50%; transform:translateY(-50%); background:transparent; border:none; font-size:22px; z-index:5; cursor:pointer; }
.ehc-prog-prev { left:6px; }
.ehc-prog-next { right:6px; }
.ehc-prog-pagination {
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    bottom: -40px !important;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev
{
    right: -2.5em !important;
    left: auto;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: -2.5em !important;
    right: auto;
}

.ehc-prog-slide .ehc-prog-card {
    max-height: 280px !important;
}

@media only screen and (max-width: 768px) {
	
	.ehc-prog-slide .ehc-prog-card {
        max-height: 380px !important;
    }
    
}

/* partial cut effect on right edge (to show next card partly) */
.ehc-program-carousel { overflow:visible; }
.ehc-program-inner { padding-right:36px; }

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 30px !important;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.custom-tabs-wrapper {
  display: flex;
  gap: 20px;
}

.custom-tabs-left {
  flex: 0 0 60%;
  border-right: 1px solid #EFEFEF;
}

.custom-tab-title {
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-tab-title h6 {
    font-size: 18px !important;
    line-height: 120%;
    margin: 0 !important;
}

.custom-tab-title:hover {
  background: #f0f0f0;
}

.custom-tab-title h4 {
  margin: 0;
  font-size: 16px;
}

.custom-tab-title p {
  margin: 5px 0 !important; 
  line-height: 140% !important;
}

.custom-tabs-right {
  flex: 1;
  padding-left: 20px;
}

.custom-tab-content {
  display: none;
}

/* ========================= */
/*        RESPONSIVE         */
/* ========================= */

/* Tablet breakpoint */
@media (max-width: 991px) {
  .custom-tabs-wrapper {
    flex-direction: column;
  }

  .custom-tabs-left {
    flex: 100%;
    border-right: none;
    border-bottom: 1px solid #EFEFEF;
    padding-right: 0;
    padding-bottom: 15px;
  }

  .custom-tabs-right {
    flex: 100%;
    padding-left: 0;
    padding-top: 15px;
  }

  .custom-tab-title {
    padding: 12px 8px;
  }

  .custom-tab-title h6 {
    font-size: 16px !important;
  }

  .custom-tab-title p {
    font-size: 14px;
  }
}

/* Mobile breakpoint */
@media (max-width: 576px) {
  .custom-tabs-wrapper {
    gap: 10px;
  }

  .custom-tab-title {
    padding: 10px;
  }

  .custom-tab-title h6 {
    font-size: 15px !important;
  }

  .custom-tab-title p {
    font-size: 13px;
    line-height: 130% !important;
  }

  .custom-tabs-right {
    padding-top: 10px;
  }
}
