/* =========================================================
   REKHATAMA PUBLIC TRAINING
   File: css/pages/public-training.css
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */

.rk-pt,
.rk-pt-page,
.rk-pt-hero,
.rk-pt-section,
.rk-pt-featured,
.rk-pt-schedule,
.rk-pt-how,
.rk-pt-final {
  --rk-pt-navy: #102a5e;
  --rk-pt-navy-dark: #081d42;
  --rk-pt-blue: #0875e1;
  --rk-pt-blue-dark: #0561bd;
  --rk-pt-sky: #079bea;
  --rk-pt-text: #17223b;
  --rk-pt-muted: #536681;
  --rk-pt-border: #d7e3f1;
  --rk-pt-border-strong: #bfd4eb;
  --rk-pt-soft: #f3f8fe;
  --rk-pt-soft-blue: #e8f3ff;
  --rk-pt-white: #ffffff;
  --rk-pt-success: #15803d;
  --rk-pt-success-bg: #ecfdf3;
  --rk-pt-warning: #a84b08;
  --rk-pt-warning-bg: #fff7ed;
  --rk-pt-radius: 20px;
  --rk-pt-shadow: 0 18px 45px rgba(16, 42, 94, 0.09);

  color: var(--rk-pt-text);
  font-family: var(--bs-body-font-family);
}

.rk-pt *,
.rk-pt *::before,
.rk-pt *::after,
.rk-pt-page *,
.rk-pt-page *::before,
.rk-pt-page *::after {
  box-sizing: border-box;
}

/* =========================
   FULL-WIDTH CONTAINER
   ========================= */

.rk-pt-container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(18px, 2vw, 32px);
}

/*
 * Gunakan class ini hanya jika parent Bootstrap
 * masih membatasi lebar halaman.
 */
.rk-pt-fullwidth {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
}

/* =========================
   COMMON TYPOGRAPHY
   ========================= */

.rk-pt-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 14px;
  color: #075aa9;
  background: var(--rk-pt-soft-blue);
  border: 1px solid #d5e8fb;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rk-pt-section {
  padding: 48px 0;
}

.rk-pt-section--soft {
  background: linear-gradient(180deg, #f7faff 0%, #eef5fd 100%);
}

.rk-pt-section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.rk-pt-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rk-pt-section-head h2 {
  margin: 0 0 12px;
  color: var(--rk-pt-navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rk-pt-section-head > p:last-child {
  margin: 0;
  color: var(--rk-pt-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================
   BUTTONS
   ========================= */

.rk-pt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rk-pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.rk-pt-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.rk-pt-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rk-pt-blue), var(--rk-pt-sky));
  border-color: var(--rk-pt-blue);
  box-shadow: 0 12px 26px rgba(8, 117, 225, 0.22);
}

.rk-pt-btn--primary:hover,
.rk-pt-btn--primary:focus {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rk-pt-blue-dark), #087fcf);
  border-color: var(--rk-pt-blue-dark);
}

.rk-pt-btn--secondary {
  color: var(--rk-pt-navy);
  background: #ffffff;
  border-color: var(--rk-pt-border);
}

.rk-pt-btn--secondary:hover,
.rk-pt-btn--secondary:focus {
  color: var(--rk-pt-blue-dark);
  background: #f8fbff;
  border-color: #9fc8f3;
}

/* =========================================================
   SECTION 1 — HERO
   ========================================================= */

.rk-pt-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 44px;
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(8, 117, 225, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 4% 90%,
      rgba(7, 155, 234, 0.08),
      transparent 20%
    ),
    linear-gradient(135deg, #f8fbff 0%, #edf5ff 100%);
  border-bottom: 1px solid var(--rk-pt-border);
}

.rk-pt-hero__box {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(350px, 0.7fr);
  align-items: center;
  gap: clamp(34px, 4vw, 64px);
  width: 100%;
  max-width: none;
  padding: clamp(38px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--rk-pt-border);
  border-radius: 28px;
  box-shadow: 0 24px 58px rgba(17, 42, 91, 0.1);
  backdrop-filter: blur(8px);
}

.rk-pt-hero__content {
  min-width: 0;
}

.rk-pt-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--rk-pt-navy);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.rk-pt-hero__lead {
  max-width: 780px;
  margin: 0;
  color: var(--rk-pt-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Hero benefits */

.rk-pt-hero__benefits {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rk-pt-hero__benefits li {
  position: relative;
  min-height: 86px;
  padding: 17px 18px 17px 58px;
  background: #ffffff;
  border: 1px solid var(--rk-pt-border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(16, 42, 94, 0.035);
}

.rk-pt-hero__benefits li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #0769cf;
  background: #e5f2ff;
  border-radius: 50%;
  content: "✓";
  font-size: 15px;
  font-weight: 900;
}

.rk-pt-hero__benefits strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rk-pt-navy);
  font-size: 15px;
  line-height: 1.35;
}

.rk-pt-hero__benefits span {
  display: block;
  color: var(--rk-pt-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================================
   SECTION 2 — FEATURED PROGRAM
   ========================================================= */

.rk-pt-featured {
  padding: 48px 0;
  background: #ffffff;
}

/*
 * Tambahkan class "rk-pt-featured-view"
 * pada View Featured Public Training.
 */

.rk-pt-featured-view .view-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.rk-pt-featured-view .views-row {
  display: flex;
  min-width: 0;
  margin: 0;
}

.rk-pt-featured-view .rk-course-card,
.rk-pt-featured-view article {
  width: 100%;
  height: 100%;
}

/* Card course lebih ringkas */

.rk-pt-featured-view .rk-course-card {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 42, 94, 0.08);
}

.rk-pt-featured-view .rk-course-card__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rk-pt-featured-view .rk-course-card__body {
  padding: 18px;
}

.rk-pt-featured-view .rk-course-card__title {
  min-height: 50px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

/* Deskripsi disembunyikan agar halaman lebih pendek */

.rk-pt-featured-view .rk-course-card__description {
  display: none;
}

.rk-pt-featured-view .rk-course-card__badges {
  margin-bottom: 10px;
}

.rk-pt-featured-view .rk-course-card__categories {
  margin-bottom: 10px;
}

.rk-pt-featured-view .rk-course-card__meta {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-top: 12px;
}

.rk-pt-featured-view .rk-course-card__price {
  margin-bottom: 12px;
  font-size: 15px;
}

.rk-pt-featured-view .rk-course-card__actions {
  gap: 8px;
}

.rk-pt-featured-view .rk-course-btn {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
}

/* =========================================================
   SECTION 3 — UPCOMING SCHEDULE
   ========================================================= */

.rk-pt-schedule {
  padding: 48px 0;
  background: linear-gradient(180deg, #f6faff 0%, #edf5fd 100%);
}

/*
 * Tambahkan class "rk-pt-schedule-view"
 * pada View Upcoming Schedule.
 */

.rk-pt-schedule-view {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--rk-pt-border);
  border-radius: 20px;
  box-shadow: var(--rk-pt-shadow);
}

.rk-pt-schedule-view .view-content {
  width: 100%;
  overflow-x: auto;
}

.rk-pt-schedule-view table {
  width: 100%;
  min-width: 900px;
  margin: 0;
  border-collapse: collapse;
}

.rk-pt-schedule-view thead {
  background: var(--rk-pt-navy);
}

.rk-pt-schedule-view th {
  padding: 16px 18px;
  color: #ffffff;
  border: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.rk-pt-schedule-view td {
  padding: 17px 18px;
  color: var(--rk-pt-text);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e6edf6;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}

.rk-pt-schedule-view tbody tr:last-child td {
  border-bottom: 0;
}

.rk-pt-schedule-view tbody tr:hover td {
  background: #f7fbff;
}

.rk-pt-schedule-view td:first-child {
  color: var(--rk-pt-navy);
  font-weight: 700;
}

.rk-pt-schedule-view td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #ffffff;
  background: var(--rk-pt-blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rk-pt-schedule-view td a:hover {
  color: #ffffff;
  background: var(--rk-pt-blue-dark);
}

/* Empty view */

.rk-pt-schedule-view .view-empty {
  padding: 34px;
  color: var(--rk-pt-muted);
  text-align: center;
}

/* =========================================================
   SECTION 4 — HOW TO REGISTER
   ========================================================= */

.rk-pt-how {
  padding: 48px 0;
  background: #ffffff;
}

.rk-pt-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rk-pt-step {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--rk-pt-border);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 42, 94, 0.055);
}

.rk-pt-step::after {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  background: rgba(8, 117, 225, 0.06);
  border-radius: 50%;
  content: "";
}

.rk-pt-step__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--rk-pt-blue);
  background: var(--rk-pt-soft-blue);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.rk-pt-step h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--rk-pt-navy);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

.rk-pt-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rk-pt-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* CKEditor may wrap span inside paragraph */

.rk-pt-step > p:first-child {
  margin: 0;
  line-height: 1;
}

.rk-pt-step > p:first-child .rk-pt-step__number {
  margin-bottom: 18px;
}

/* =========================================================
   SECTION 5 — FINAL CTA
   ========================================================= */

.rk-pt-final {
  padding: 32px 0 48px;
  background: #ffffff;
}

.rk-pt-final__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 34px 38px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 92% 20%,
      rgba(34, 163, 255, 0.28),
      transparent 26%
    ),
    linear-gradient(135deg, #102a5e 0%, #0b407f 100%);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(16, 42, 94, 0.18);
}

.rk-pt-final__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.rk-pt-final__box .rk-pt-eyebrow {
  color: #bfe3ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.rk-pt-final h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rk-pt-final__content > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.rk-pt-final__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rk-pt-final .rk-pt-btn--primary {
  color: var(--rk-pt-navy);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

.rk-pt-final .rk-pt-btn--primary:hover {
  color: var(--rk-pt-blue-dark);
  background: #f3f8fe;
}

.rk-pt-final .rk-pt-btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.rk-pt-final .rk-pt-btn--secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   DRUPAL / LAYOUT BUILDER FIXES
   ========================================================= */

.rk-pt p:last-child,
.rk-pt-page p:last-child {
  margin-bottom: 0;
}

.rk-pt .field,
.rk-pt .field__item,
.rk-pt-page .field,
.rk-pt-page .field__item {
  margin: 0;
  padding: 0;
}

/* Menghilangkan ruang tambahan dari layout one-column */

.rk-pt-layout-section.layout,
.rk-pt-layout-section .layout__region {
  margin: 0;
  padding: 0;
}

/* View pager */

.rk-pt-featured-view .pager,
.rk-pt-schedule-view .pager {
  margin-top: 24px;
}

.rk-pt-featured-view .pagination,
.rk-pt-schedule-view .pagination {
  margin-bottom: 0;
}

/* =========================================================
   LARGE SCREEN
   ========================================================= */

@media (min-width: 1600px) {
  .rk-pt-container {
    padding-inline: 32px;
  }

  .rk-pt-hero__box {
    padding: 58px 64px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {
  .rk-pt-hero__box {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }

  .rk-pt-featured-view .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .rk-pt-section,
  .rk-pt-featured,
  .rk-pt-schedule,
  .rk-pt-how {
    padding: 42px 0;
  }

  .rk-pt-hero__box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 32px;
  }

  .rk-pt-hero__benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rk-pt-hero__benefits li {
    min-height: 150px;
    padding: 54px 16px 16px;
  }

  .rk-pt-hero__benefits li::before {
    top: 17px;
    left: 16px;
  }

  .rk-pt-how__grid {
    grid-template-columns: 1fr;
  }

  .rk-pt-step {
    min-height: 0;
  }

  .rk-pt-final__box {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
  .rk-pt-container {
    width: 100%;
    padding-inline: 14px;
  }

  .rk-pt-hero {
    padding: 18px 0 30px;
  }

  .rk-pt-hero__box {
    gap: 26px;
    padding: 30px 22px;
    border-radius: 20px;
  }

  .rk-pt-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .rk-pt-hero__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .rk-pt-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rk-pt-btn {
    width: 100%;
  }

  .rk-pt-hero__benefits {
    grid-template-columns: 1fr;
  }

  .rk-pt-hero__benefits li {
    min-height: 0;
    padding: 17px 17px 17px 56px;
  }

  .rk-pt-hero__benefits li::before {
    top: 18px;
    left: 17px;
  }

  .rk-pt-section,
  .rk-pt-featured,
  .rk-pt-schedule,
  .rk-pt-how {
    padding: 34px 0;
  }

  .rk-pt-section-head {
    margin-bottom: 22px;
  }

  .rk-pt-section-head h2 {
    font-size: 30px;
  }

  .rk-pt-featured-view .view-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rk-pt-final {
    padding: 24px 0 34px;
  }

  .rk-pt-final__box {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .rk-pt-final__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
  .rk-pt-hero h1 {
    font-size: 32px;
  }

  .rk-pt-eyebrow {
    font-size: 11px;
  }

  .rk-pt-hero__box {
    padding: 26px 18px;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rk-pt-btn,
  .rk-course-card,
  .rk-pt-step {
    transition: none;
  }

  .rk-pt-btn:hover {
    transform: none;
  }
}

/* =========================================================
   SECTION 2 — FEATURED PROGRAM LAYOUT
   ========================================================= */

.rk-pt-featured-head {
  padding: 48px 0 22px;
  background: #ffffff;
}

.rk-pt-featured-head .rk-pt-section-head {
  margin-bottom: 0;
}

/* View diberi padding sendiri karena terpisah dari heading block */
.rk-pt-featured-view {
  width: 100%;
  max-width: none;
  padding: 0 clamp(18px, 2vw, 32px) 48px;
  background: #ffffff;
}

.rk-pt-featured-view .view-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.rk-pt-featured-view .views-row {
  display: flex;
  min-width: 0;
  margin: 0;
}

.rk-pt-featured-view .rk-course-card {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 42, 94, 0.08);
}

.rk-pt-featured-view .rk-course-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rk-pt-featured-view .rk-course-card__body {
  padding: 18px;
}

.rk-pt-featured-view .rk-course-card__title {
  min-height: 50px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

/* Mengurangi tinggi kartu */
.rk-pt-featured-view .rk-course-card__description {
  display: none;
}

.rk-pt-featured-view .rk-course-card__badges,
.rk-pt-featured-view .rk-course-card__categories {
  margin-bottom: 10px;
}

.rk-pt-featured-view .rk-course-card__meta {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-top: 12px;
}

.rk-pt-featured-view .rk-course-card__price {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.rk-pt-featured-view .rk-course-card__actions {
  gap: 8px;
  margin-top: auto;
}

.rk-pt-featured-view .rk-course-btn {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
}

/* Tablet */
@media (max-width: 1199.98px) {
  .rk-pt-featured-view .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .rk-pt-featured-head {
    padding: 36px 0 20px;
  }

  .rk-pt-featured-view {
    padding: 0 14px 36px;
  }

  .rk-pt-featured-view .view-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rk-pt-featured-view .rk-course-card__title {
    min-height: 0;
  }
}

/* =========================================================
   SECTION 3 — UPCOMING SCHEDULE LAYOUT
   ========================================================= */

.rk-pt-schedule-head {
  padding: 48px 0 22px;
  background: linear-gradient(180deg, #f6faff 0%, #eef5fd 100%);
}

.rk-pt-schedule-head .rk-pt-section-head {
  margin-bottom: 0;
}

.rk-pt-schedule-view {
  width: calc(100% - clamp(36px, 4vw, 64px));
  max-width: none;
  margin: 0 auto 48px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--rk-pt-border);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(16, 42, 94, 0.09);
}

.rk-pt-schedule-view .view-content {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rk-pt-schedule-view table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.rk-pt-schedule-view caption {
  display: none;
}

/* Table heading */

.rk-pt-schedule-view thead {
  background: #102a5e;
}

.rk-pt-schedule-view th {
  padding: 16px 18px;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Table content */

.rk-pt-schedule-view td {
  padding: 17px 18px;
  color: #17223b;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e4edf7;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}

.rk-pt-schedule-view tbody tr:last-child td {
  border-bottom: 0;
}

.rk-pt-schedule-view tbody tr:hover td {
  background: #f7fbff;
}

.rk-pt-schedule-view td:first-child {
  min-width: 250px;
  color: #102a5e;
  font-weight: 700;
}

/* Mode */

.rk-pt-schedule-view td:nth-child(4) {
  font-weight: 700;
}

/* Available seat */

.rk-pt-schedule-view td:nth-child(5) {
  color: #15803d;
  font-weight: 800;
}

/* Booking button */

.rk-pt-schedule-view td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0875e1, #079bea);
  border: 1px solid #0875e1;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.rk-pt-schedule-view td:last-child a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0561bd, #087fcf);
  border-color: #0561bd;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Empty result */

.rk-pt-schedule-view .view-empty {
  padding: 38px 24px;
  color: #536681;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

/* More link */

.rk-pt-schedule-view .more-link {
  padding: 18px;
  background: #f8fbff;
  border-top: 1px solid #e4edf7;
  text-align: center;
}

.rk-pt-schedule-view .more-link a {
  color: #0875e1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rk-pt-schedule-view .more-link a:hover {
  color: #0561bd;
  text-decoration: underline;
}

/* Mobile */

@media (max-width: 767.98px) {
  .rk-pt-schedule-head {
    padding: 36px 0 20px;
  }

  .rk-pt-schedule-view {
    width: calc(100% - 28px);
    margin-bottom: 36px;
    border-radius: 16px;
  }

  .rk-pt-schedule-view th,
  .rk-pt-schedule-view td {
    padding: 14px;
  }
}

/* Menyembunyikan judul produk pada tombol */
.rk-pt-schedule-view td:last-child a {
  min-width: 132px;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0;
  line-height: 1;
  text-align: center;
}

/* Menggantinya secara visual */
.rk-pt-schedule-view td:last-child a::before {
  content: "Booking Seat";
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

/* Menyamakan tinggi dan posisi isi kartu langkah */
.rk-pt-how__grid {
  align-items: stretch;
}

.rk-pt-step {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rk-pt-step h3 {
  min-height: 26px;
}

.rk-pt-step p {
  flex: 1;
}

/* =========================================================
   PUBLIC TRAINING — HORIZONTAL ALIGNMENT FIX
========================================================= */

html {
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

.rk-pt,
.rk-pt *,
.rk-pt-featured-view,
.rk-pt-schedule-view {
  box-sizing: border-box;
}

.rk-pt-container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 32px);
}

/* Views mengikuti garis konten section */
.rk-pt-featured-view {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 32px);
}

.rk-pt-schedule-view {
  width: auto;
  margin-left: clamp(16px, 2vw, 32px);
  margin-right: clamp(16px, 2vw, 32px);
}

/* Hindari elemen melewati lebar halaman */
.rk-pt img,
.rk-pt-featured-view img,
.rk-pt-schedule-view img {
  max-width: 100%;
}