/* MDIX audit — template-specific fixes (mdix-sekolah-sentosa). */

/* Hero photos are almost white, so the white headline and menu disappeared; darken the slides. */
.slider-section .slider-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 45, 0.55);
  pointer-events: none;
}
.slider-section .slider-text {
  position: relative;
  z-index: 2;
}

/* Jarallax moves these backgrounds into a fixed layer that does not render in full-page captures,
   leaving white text on white (Alasan Memilih Kami, testimoni, pengajar). Use a plain cover background. */
.why-choose-us-section .jarallax,
.course-teacher-section .jarallax {
  background-size: cover !important;
  background-position: center !important;
}
.why-choose-us-section .jarallax {
  background-image: url(assets/img/banner/tesit-b-1.jpg) !important;
}
.course-teacher-section .jarallax {
  background-image: url(assets/img/banner/teacher-b.jpg) !important;
}
.why-choose-us-section .jarallax,
.course-teacher-section .jarallax {
  position: relative;
}
.why-choose-us-section .jarallax::before,
.course-teacher-section .jarallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 45, 0.65);
  pointer-events: none;
}
.why-choose-us-section .jarallax > *,
.course-teacher-section .jarallax > * {
  position: relative;
  z-index: 1;
}
[id^="jarallax-container"] {
  display: none !important;
}

/* Sponsor carousel only had grey "150x103" placeholder boxes; hide it until real partner logos exist. */
#sponsor {
  display: none !important;
}

/* ---------------------------------------------------------------- design-QA round 2026-10-12 */

/* Header: a soft dark band keeps the white menu/MASUK readable on bright hero and banner photos. */
.main-menu-container:not(.menu-bg-overlay) .main-menu {
  background: linear-gradient(rgba(7, 20, 45, 0.55), rgba(7, 20, 45, 0));
}

/* AA contrast on white: grey subtitle, counter labels, cyan category links, card meta chips, badge. */
.section-title .subtitle {
  color: #6b6b6b;
}
.counter-number p {
  color: #595959;
}
.course-meta .course-category,
.course-meta .course-category a,
.latest-events .course-meta .course-author a,
.price-start span,
.b-price {
  color: #0b6e72;
}
.course-viewer li a,
.course-viewer li {
  color: #4a4a4a;
}
.trend-badge {
  font-size: 12px;
  background-color: #d9480f;
}
.trend-badge-2 {
  background-color: #d9480f;
}

/* Touch targets: text links in cards and meta rows reach 24px; header icons and social icons 44px. */
.course-meta a,
.price-start,
.latest-title a,
.view-all-btn a,
.course-viewer li a,
.footer-menu li a,
.cat-item a,
.tag-clouds li a {
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 4px;
}
.cart-search li a,
.cart-search li button.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.footer-social li,
.subscribe-form li {
  height: 44px;
  width: 44px;
  line-height: 44px;
  border-width: 1px;
}
.footer-social li a {
  display: block;
  width: 100%;
  height: 100%;
}
.teacher-img-content .teacher-social-name li,
.teacher-social-name li a {
  min-width: 40px;
  min-height: 40px;
}
.pop-up-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.mean-container a.meanmenu-reveal {
  width: 44px !important;
  height: 44px !important;
  padding: 11px 11px !important;
  box-sizing: border-box;
  top: 12px !important;
}
.mean-container a.meanmenu-reveal span {
  margin-top: 4px;
}

/* Hero button: keep the caret on the same line as the label. */
.slider-text .genius-btn a,
.genius-btn a {
  white-space: nowrap;
}

/* Section subtitles on phones: the decorative dots sat on top of the wrapped text. */
@media (max-width: 767px) {
  .section-title .subtitle {
    letter-spacing: 3px;
  }
  .section-title .subtitle::before,
  .section-title .subtitle::after {
    display: none;
  }
}

/* Agenda date box: "24 Okt 2026" was 3px wider than its 95px box. */
.events-date {
  width: 100px;
  white-space: nowrap;
}

/* Product cards: equal image height so the slide cards line up. */
.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  max-height: 100%;
  width: auto;
}

/* Contact block: text no longer wraps under the floated icon. */
.contact-address-details .address-details {
  overflow: hidden;
}

/* Tablet / landscape phone (768–991px): 4-column rows were cramped, names overlapped subjects,
   the last teacher card poked out of the viewport, and the footer gallery became one narrow column. */
@media (max-width: 991px) {
  .search-counter-up .col-md-3,
  .best-course-section .col-md-3,
  .category-item .col-md-3,
  .teacher-list .col-md-3,
  .footer-content .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer-content .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .search-counter-up .counter-icon-number {
    margin-bottom: 24px;
  }
  .latest-area-section .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .latest-area-section .col-md-4 + .col-md-4 {
    margin-top: 40px;
  }
  .teacher-img-content {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer-content .photo-list li {
    width: 31%;
    margin: 0 2% 2% 0;
  }
  .footer-social-subscribe .col-md-3,
  .footer-social-subscribe .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-social {
    margin-bottom: 30px;
  }
}

/* Course list view / checkout thumbnails: cropped photos instead of grey 70×70 boxes. */
.course-list-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

/* ---------------------------------------------------------------- design-QA resume 2026-10-12 */

/* Language picker sits on the dark header band: white text (the dark teal from the WIP vanished). */
.select-lang select {
  color: #fff;
}
.select-lang select option {
  color: #333;
}

/* Section subtitles on dark/photo sections stay light; the grey from the WIP made them unreadable. */
.slider-section .section-title .subtitle,
.contact-area-section .section-title .subtitle,
.why-choose-us-section .section-title .subtitle,
.course-teacher-section .section-title .subtitle {
  color: #fff;
}

/* Hero slide 4 repeated slide 2 (same scrabble photo): use the school corridor instead. */
.slider-bg-4 {
  background-image: url(assets/img/banner/cb-2.jpg);
}

/* Footer gallery: fixed square grid. The WIP pointed three thumbnails at 270px course photos,
   which grew the gallery (and every page) by ~600px at 1440. */
.footer-widget .photo-list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.footer-widget .photo-list li {
  margin: 0 !important;
  width: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
}
.footer-widget .photo-list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-widget .photo-list li .pop-up-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* Free-class form: its own solid card instead of white text over a bright sky photo. */
.bg-mockup {
  display: none !important;
}
.about-resigter-form {
  background-color: #0a4a78 !important;
  background-image: none !important;
  border-radius: 6px;
  margin-top: 40px;
}
.register-form-area button {
  background-color: #c2410c;
}
.register-form-area button:hover,
.register-form-area button:focus-visible {
  background-color: #9a3412;
}

/* AA contrast: theme orange badges and cyan text on white/light grey. */
.course-title h3 span.trend-badge,
span.trend-badge {
  background-color: #c2410c !important;
  font-size: 12px !important;
}
.trend-badge-2 {
  background-color: #c2410c !important;
}
.best-product-section .price-start span,
.price-start span,
.b-price,
.in-total span,
.save-credit b,
.student-number,
.teacher-designation,
.terms-text b,
.course-by b,
.avrg-rate,
.course-side-bar-widget h3 span,
.teacher-deg span,
.author-name span,
.author-designation-comment span,
.panel-title .btn-link,
.course-meta .course-category a {
  color: #0b6e72 !important;
}
.price-start,
.course-meta .course-author a,
.best-course-pic-text .best-course-text .course-meta span,
.blog-category li a,
.price-range .inner-title,
.vidoe-text p,
.blog-content,
.panel-body,
.teacher-deg,
.rating-overview span,
.avrg-rating b,
.avrg-rating > span,
.terms-text p,
.faq-tab-ques .product-tab li,
.course-by,
.review-stars-item span,
.copy-right-text p,
.ques-ans p,
.shorting-filter b,
.check-out-section td,
table.table td,
.author-designation-comment,
.author-designation-comment p,
.author-name,
.time-comment,
.course-details-category li a,
.post-categori .cat-item a,
.purchase-list li,
.date-meta,
.date-meta span,
.copy-right-menu-item li a,
.check-out-form .control-label,
.leanth-course span,
.couse-feature li,
.couse-feature li span,
.couse-pagination li,
.couse-pagination li a,
.tag-clouds li a {
  color: #595959 !important;
}
.couse-pagination li.active,
.couse-pagination li.active a {
  color: #222 !important;
}
.course-advantage .service-text p {
  color: #4a4a4a;
}
.testimonial-slide .student-name-designation .st-designation,
.student-name-designation .st-designation {
  color: #d6eef5;
}

/* Breadcrumb pills: white on dark teal; the active pill light on charcoal; the link fills the pill. */
.breadcrumb-section .breadcrumb-item {
  background-color: #0b6e72;
}
.breadcrumb-section .breadcrumb-item:not(.active) {
  padding: 0;
}
.breadcrumb-section .breadcrumb-item:not(.active) a {
  display: inline-block;
  padding: 5px 15px;
  line-height: 16px;
  color: #fff;
}
.breadcrumb-section .breadcrumb-item.active {
  background-color: #3b3b3b;
  color: #e0e0e0;
}
.course-page-section .course-type-list span,
.course-type-list span {
  background-color: #0b6e72;
}

/* Touch targets (≥24px): footer legal links, card titles, pagination, tags, chapter tabs, socials. */
.copy-right-menu-item li a,
.course-title h3 a,
.best-title-price .course-title h3 a,
.blog-category li a,
.next-prev-post a,
.course-details-category li a,
.purchase-list a,
.course-list-text h3 a {
  display: inline-block;
  padding-top: 3px;
  padding-bottom: 3px;
}
.couse-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
}
.teacher-img-content .teacher-social-name li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Agenda date box fits "24 Okt 2026"; the gradient ring is drawn as the box border instead of a
   scaled layer that stuck out of the box. */
.events-date {
  width: auto !important;
  min-width: 100px;
  padding: 0 6px;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(21deg, #10abff, #1beabd) border-box !important;
}
.events-date .gradient-bdr {
  display: none;
}

/* Product cards: title and cart button side by side, equal photo area, same height in a row. */
.product-text-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.product-text-content .best-title-price {
  float: none;
  flex: 1 1 auto;
  min-width: 0;
}
.product-text-content .add-cart {
  float: none;
  flex: 0 0 40px;
  margin-top: 0;
}
.product-img img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 3px;
}
.product-text-content .course-title h3 {
  line-height: 1.35;
  min-height: 2.7em;
}
.product-text-content .course-title h3 a {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 24px;
}
/* Price filter label: Rupiah range sits above the slider inside the sidebar (was pushed 60px outside). */
.price-range input {
  right: 0;
  left: auto;
  top: -24px;
  width: 70%;
  text-align: right;
  color: #595959;
  background: transparent;
}

/* Program cards: the photo fills the card width at every size. */
.best-course-pic-text .best-course-pic img {
  width: 100%;
  aspect-ratio: 270 / 220;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  /* Footer: full-width blocks; link lists side by side; gallery as one row of six. */
  .footer-content .row > [class*="col-md"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .footer-menu {
    margin-left: 0 !important;
    margin-right: 40px;
  }
  .footer-widget .photo-list ul {
    grid-template-columns: repeat(6, 1fr);
    max-width: 480px;
  }
  .footer-content .col-md-3 .footer-widget {
    margin-bottom: 30px;
  }
  .footer-content .col-md-6::after {
    content: "";
    display: table;
    clear: both;
  }
  .footer-content .col-md-6 {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .popular-course-section .section-title .subtitle {
    margin-left: 0;
  }
  /* Program cards: stars to the top-right of the photo so they no longer sit under the price. */
  .best-course-pic-text .course-rate {
    top: 10px;
    right: 10px;
    bottom: auto;
  }
  /* Category tiles: words no longer broken ("Pemrogram/an", "Kewirausah/aan"). */
  .category-icon-title {
    padding: 24px 8px;
  }
  .category-icon-title .category-title h4 {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .about-resigter-form {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .footer-widget .photo-list ul {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  .footer-menu {
    margin-right: 24px;
  }
  .faq-tab-ques .product-tab li {
    margin: 0 8px 8px;
  }
  .footer-widget .photo-list ul {
    max-width: 300px;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .teacher-list .col-md-3 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
}

/* Sidebar "Program Unggulan": white text sat straight on the photo; give it a dark readable panel. */
.side-bar-widget .best-course-pic-text .best-course-text {
  left: 12px;
  right: 12px;
  padding: 14px 12px;
  background-color: rgba(10, 40, 70, 0.92);
  border-radius: 4px;
}
.side-bar-widget .best-course-text .course-title h3 a,
.side-bar-widget .best-course-pic-text .best-course-text .course-meta span,
.side-bar-widget .best-course-text .course-meta .course-category a,
.side-bar-widget .best-course-text .course-meta .course-author a {
  color: #fff !important;
}
.side-bar-widget .best-course-text .course-title {
  margin-bottom: 8px !important;
}

/* Course chapter meta ("60 Menit", "Modul PDF") was #ccc on light grey. */
.panel-title .ac-head .leanth-course span,
.leanth-course span {
  color: #595959 !important;
}
/* Sidebar best-seller titles and blog share icons reach 24px. */
.best-sellers-item a,
.share-social li a,
.blog-share li a,
.like-course a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
  justify-content: center;
}

/* Map column: the theme map was 940px wide and ran past the screen edge (clipped, scrollable by focus). */
@media (min-width: 768px) {
  #google-map {
    width: calc(50vw - 15px);
  }
}

@media (max-width: 575px) {
  /* Checkout card form: labels above the fields (were squeezed into 20% columns: "Nama / di Kartu / :"). */
  .payment-info label {
    width: 100%;
    float: none;
    margin: 0 0 6px;
  }
  .payment-info input {
    width: 100% !important;
  }
  .payment-info.input-2 input {
    width: calc(50% - 6px) !important;
    margin-right: 8px;
  }
  .payment-info.input-2 input:last-child {
    margin-right: 0;
  }
  /* Syllabus answers: theme indent of 80px left a narrow text column. */
  .affiliate-market-accordion .panel-group .panel-body {
    padding: 8px 16px 20px;
  }
  /* Star rows in the cart list stay on one line. */
  .course-list-text .course-rate li {
    margin: 0 1px;
  }
  .course-list-text .course-rate ul {
    white-space: nowrap;
  }
}

/* Contact band: white text sat on a light grey photo; add the same dark wash as the other photo bands. */
.contact-area-section {
  position: relative;
}
.contact-area-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 45, 0.55);
  pointer-events: none;
}
.contact-area-section > .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .subscribe-form {
    margin-left: 0 !important;
  }
}
@media (max-width: 767px) {
  .section-title .subtitle.ml42 {
    margin-left: 0;
  }
}

/* Teacher cards (≤1199px): stack photo, name, subject and social icons instead of the absolute desktop
   collage (photo poked out of the card and the screen at 768–1199px, icons sat on top of names). */
@media (max-width: 1199px) {
  /* Teacher cards: stack photo, name, subject and social icons instead of the absolute desktop collage
     (photo poked out of the card and the screen, icons sat on top of names). */
  .teacher-img-content {
    max-width: none !important;
    margin-left: 0 !important;
    padding: 16px;
  }
  .teacher-img-content .teacher-cntent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .teacher-img-content .teacher-social-name,
  .teacher-img-content .teacher-img-category {
    display: contents;
  }
  .teacher-img-content .teacher-img {
    order: 1;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 12px;
  }
  .teacher-img-content .teacher-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .teacher-img-content .teacher-img::after,
  .teacher-img-content .teacher-img .course-price {
    display: none;
  }
  .teacher-img-content .teacher-name {
    order: 2;
  }
  .teacher-img-content .teacher-category {
    order: 3;
    float: none !important;
    position: static !important;
    margin: 2px 0 12px;
  }
  .teacher-img-content .teacher-social-name ul {
    order: 4;
    display: flex;
    gap: 8px;
    margin: 0 !important;
  }
  .teacher-img-content .teacher-social-name li {
    margin: 0;
  }

}

/* Program cards ≤1199px: stars to the top-right of the photo so they no longer sit on the price. */
@media (max-width: 1199px) {
  .best-course-pic-text .course-rate {
    top: 10px;
    right: 10px;
    bottom: auto;
  }
  .course-meta .course-rate li {
    font-size: 12px;
  }
}

/* Hero on short landscape phones (100vh = 390px) clipped the countdown slide and put the pager on the button. */
.slider-bg-1,
.slider-bg-2,
.slider-bg-3,
.slider-bg-4 {
  min-height: 560px;
}

/* AA: white labels on the theme's bright cyan/blue gradient (buttons, price badges, search/subscribe
   buttons) were 1.9–2.7:1. Same gradient, darker shades (white ≥ 5.4:1). */
.gradient-bg,
.modal-body .nws-button button,
.course-details-category li:hover,
.category-icon-title::after,
.add-cart::after {
  background: linear-gradient(to right, #0369a1 0%, #0b6e72 51%, #0369a1 100%) !important;
  background-size: 200% auto !important;
}
.gradient-bg:hover,
.modal-body .nws-button button:hover {
  background-position: right center !important;
}
.genius-btn a i,
.gradient-bg a i {
  color: #fff;
}

/* Verifikasi ulang akhir 2026-10-13: catatan "data contoh" di bawah baris angka statistik. */
.search-counter-up .mdix-sample-note { margin: 16px 0 0; text-align: center; font-size: 14px; color: #4b5563; }
