

/* =========================================================
   Rekhatama Footer 2026 - Scoped CSS
   Tidak memengaruhi header / body / section lain
   ========================================================= */

#rk-footer-2026 {
  background: #071226;
  color: #eaf2ff;
  font-family: inherit;
  overflow: hidden;
}

#rk-footer-2026 *,
#rk-footer-2026 *::before,
#rk-footer-2026 *::after {
  box-sizing: border-box;
}

#rk-footer-2026 a {
  color: inherit;
  text-decoration: none;
}

#rk-footer-2026 a:hover {
  color: #7db7ff;
}

#rk-footer-2026 .rk-footer-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 24px;
}

#rk-footer-2026 .rk-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}

#rk-footer-2026 .rk-footer-brand {
  max-width: 390px;
}

#rk-footer-2026 .rk-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

#rk-footer-2026 .rk-footer-logo img {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 76px;
  object-fit: contain;
}

#rk-footer-2026 .rk-footer-brand p {
  margin: 0 0 22px;
  color: rgba(234, 242, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

#rk-footer-2026 .rk-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#rk-footer-2026 .rk-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

#rk-footer-2026 .rk-footer-btn-primary {
  background: #0b63e5;
  color: #ffffff;
}

#rk-footer-2026 .rk-footer-btn-primary:hover {
  background: #2f80ff;
  color: #ffffff;
}

#rk-footer-2026 .rk-footer-btn-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

#rk-footer-2026 .rk-footer-btn-outline:hover {
  color: #ffffff;
  border-color: rgba(125, 183, 255, 0.7);
  background: rgba(125, 183, 255, 0.12);
}

#rk-footer-2026 .rk-footer-col,
#rk-footer-2026 .rk-footer-contact {
  display: flex;
  flex-direction: column;
}

#rk-footer-2026 h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

#rk-footer-2026 .rk-footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(234, 242, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

#rk-footer-2026 .rk-contact-item {
  margin-bottom: 16px;
}

#rk-footer-2026 .rk-contact-item span {
  display: block;
  margin-bottom: 5px;
  color: #7db7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#rk-footer-2026 .rk-contact-item a,
#rk-footer-2026 .rk-contact-item p {
  margin: 0;
  color: rgba(234, 242, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

#rk-footer-2026 .rk-footer-location {
  display: grid;
  grid-template-columns: 0.95fr 1.4fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#rk-footer-2026 .rk-footer-address {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#rk-footer-2026 .rk-footer-address p {
  margin: 0;
  color: rgba(234, 242, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

#rk-footer-2026 .rk-footer-map {
  min-height: 230px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#rk-footer-2026 .rk-footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
}

#rk-footer-2026 .rk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  color: rgba(234, 242, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

#rk-footer-2026 .rk-footer-bottom p {
  margin: 0;
}

#rk-footer-2026 .rk-footer-bottom div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

#rk-footer-2026 .rk-footer-bottom a {
  color: rgba(234, 242, 255, 0.68);
}

/* Tablet */
@media (max-width: 1024px) {
  #rk-footer-2026 .rk-footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  #rk-footer-2026 .rk-footer-contact {
    grid-column: 1 / -1;
  }

  #rk-footer-2026 .rk-footer-location {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #rk-footer-2026 .rk-footer-wrap {
    width: min(100% - 28px, 1180px);
    padding-top: 42px;
  }

  #rk-footer-2026 .rk-footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #rk-footer-2026 .rk-footer-brand {
    max-width: 100%;
  }

  #rk-footer-2026 .rk-footer-logo img {
    max-width: 200px;
    max-height: 70px;
  }

  #rk-footer-2026 .rk-footer-location {
    margin-top: 34px;
  }

  #rk-footer-2026 .rk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  #rk-footer-2026 .rk-footer-actions {
    flex-direction: column;
  }

  #rk-footer-2026 .rk-footer-btn {
    width: 100%;
  }

  #rk-footer-2026 .rk-footer-map,
  #rk-footer-2026 .rk-footer-map iframe {
    min-height: 260px;
  }
}

/* Hide Drupal default powered by block if still visible */
.site-footer .block-system-powered-by-block,
.block-system-powered-by-block {
  display: none;
}

@media (max-width: 992px) {
  .rkh-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .rkh-footer {
    padding-top: 52px;
  }

  .rkh-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rkh-footer__bottom {
    display: block;
  }

  .rkh-footer__bottom-links {
    margin-top: 12px;
  }

  .rkh-footer__cta {
    display: block;
  }

  .rkh-footer__button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* =====================================================
   REKHATAMA MAIN CONTAINER WIDTH
===================================================== */

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1440px;
  }
}

/* Custom Rekhatama sections */
.rk-home-value__inner,
.rk-core-solutions__inner,
.rk-section-heading,
.rk-featured-courses-head,
.path-frontpage .view-featured-courses,
.rkh-footer__top,
.rkh-footer__address {
  max-width: 1320px;
}


/* =====================================================
   REKHATAMA RESPONSIVE CONTAINER WIDTH
===================================================== */

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: min(95%, 1440px);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* =====================================================
   REKHATAMA FULL WIDTH LAYOUT
   Make main layout align with full header/navigation width
===================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Make Bootstrap containers full width */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  max-width: 100%;
  /*padding-left: 40px;
  padding-right: 40px;
  margin-left: auto;
  margin-right: auto;*/
}

/* Main page regions */
.main-content,
.layout-main-wrapper,
.region-content,
.region-highlighted,
.region-featured-top,
.region-featured-bottom {
  width: 100%;
  max-width: 100%;
}

/* Custom Rekhatama homepage sections */
.rk-home-value__inner,
.rk-core-solutions__inner,
.rk-featured-courses-head,
.path-frontpage .view-featured-courses,
.rkh-footer__top,
.rkh-footer__address {
  width: 100%;
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel should follow full layout width */
.rkh-highlight-carousel {
  width: 100%;
  max-width: 100%;
 /* margin-left: auto;
  margin-right: auto;*/
}

/* Mobile spacing */
@media (max-width: 768px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .rk-home-value__inner,
  .rk-core-solutions__inner,
  .rk-featured-courses-head,
  .path-frontpage .view-featured-courses,
  .rkh-footer__top,
  .rkh-footer__address {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* =====================================================
   HOME - UPCOMING TRAINING SCHEDULE
===================================================== */

.rk-upcoming-head {
  width: 100%;
  max-width: 100%;
  padding: 84px 40px 28px;
  background: #f8fafc;
}

.rk-upcoming-head h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.rk-upcoming-head p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Upcoming view wrapper */
.path-frontpage .view-upcoming-training-schedule {
  width: 100%;
  max-width: 100%;
  padding: 0 40px 84px;
  background: #f8fafc;
}

/* Table style */
.path-frontpage .view-upcoming-training-schedule table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.path-frontpage .view-upcoming-training-schedule thead th {
  padding: 0 18px 10px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 0;
}

.path-frontpage .view-upcoming-training-schedule tbody tr {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.path-frontpage .view-upcoming-training-schedule tbody td {
  padding: 18px;
  color: #334155;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.path-frontpage .view-upcoming-training-schedule tbody td:first-child {
  border-left: 1px solid #e5e7eb;
  border-radius: 18px 0 0 18px;
  font-weight: 800;
  color: #0f172a;
}

.path-frontpage .view-upcoming-training-schedule tbody td:last-child {
  border-right: 1px solid #e5e7eb;
  border-radius: 0 18px 18px 0;
}

.path-frontpage .view-upcoming-training-schedule a {
  text-decoration: none;
}

/* Booking button */
.rk-schedule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #0057d9;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rk-schedule-btn:hover {
  background: #0046ad;
  color: #ffffff !important;
  text-decoration: none;
}

/* Schedule section CTA */
.rk-section-more--schedule {
  background: #f8fafc;
  margin-top: -54px;
  padding-bottom: 84px;
}

/* Mobile table */
@media (max-width: 700px) {
  .path-frontpage .view-upcoming-training-schedule {
    overflow-x: auto;
  }

  .path-frontpage .view-upcoming-training-schedule table {
    min-width: 860px;
  }
}

@media (max-width: 768px) {
  .rk-upcoming-head,
  .path-frontpage .view-upcoming-training-schedule,
  .rk-section-more--schedule {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* Booking product link as button */
.path-frontpage .view-upcoming-training-schedule .views-field-field-related-product a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #0057d9;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.path-frontpage .view-upcoming-training-schedule .views-field-field-related-product a:hover {
  background: #0046ad;
  color: #ffffff !important;
  text-decoration: none;
}


/* =====================================================
   UPCOMING TRAINING SCHEDULE - BOOKING BUTTON UNIFORM
===================================================== */

.view-upcoming-training-schedule table,
.view-training-calendar table {
  width: 100%;
  table-layout: fixed;
}

/* Kolom booking paling kanan */
.view-upcoming-training-schedule th:last-child,
.view-upcoming-training-schedule td:last-child,
.view-training-calendar th:last-child,
.view-training-calendar td:last-child {
  width: 230px;
  min-width: 230px;
  text-align: center;
  vertical-align: middle;
}

/* Link field product */
.view-upcoming-training-schedule td:last-child a,
.view-training-calendar td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #0057d9;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.18);
  transition: all 0.2s ease;
}

/* Kalau di dalam link ada span */
.view-upcoming-training-schedule td:last-child a .rk-booking-btn,
.view-training-calendar td:last-child a .rk-booking-btn {
  color: #ffffff !important;
  font-weight: 700;
}

/* Hover */
.view-upcoming-training-schedule td:last-child a:hover,
.view-training-calendar td:last-child a:hover {
  background: #0046ad;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
  .view-upcoming-training-schedule table,
  .view-training-calendar table {
    table-layout: auto;
  }

  .view-upcoming-training-schedule th:last-child,
  .view-upcoming-training-schedule td:last-child,
  .view-training-calendar th:last-child,
  .view-training-calendar td:last-child {
    width: auto;
    min-width: auto;
  }

  .view-upcoming-training-schedule td:last-child a,
  .view-training-calendar td:last-child a {
    width: 100%;
  }
}

/* =====================================================
   UPCOMING TRAINING SCHEDULE - ACTIVE BOOKING LINK
===================================================== */

/* Pastikan tabel tetap rapi */
.view-upcoming-training-schedule table,
.view-training-calendar table {
  width: 100%;
  table-layout: fixed;
}

/* Kolom terakhir = Booking */
.view-upcoming-training-schedule th:last-child,
.view-upcoming-training-schedule td:last-child,
.view-training-calendar th:last-child,
.view-training-calendar td:last-child {
  width: 230px;
  min-width: 230px;
  max-width: 230px;
  text-align: center;
  vertical-align: middle;
}

/* Link product asli tetap aktif */
.view-upcoming-training-schedule td:last-child a,
.view-training-calendar td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #0057d9;
  color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.18);
  transition: all 0.2s ease;

  /* Sembunyikan teks nama produk asli */
  font-size: 0 !important;
}

/* Ganti teks link menjadi Booking Seat */
.view-upcoming-training-schedule td:last-child a::before,
.view-training-calendar td:last-child a::before {
  content: "Booking Seat";
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
}

/* Hover */
.view-upcoming-training-schedule td:last-child a:hover,
.view-training-calendar td:last-child a:hover {
  background: #0046ad;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
  .view-upcoming-training-schedule table,
  .view-training-calendar table {
    table-layout: auto;
  }

  .view-upcoming-training-schedule th:last-child,
  .view-upcoming-training-schedule td:last-child,
  .view-training-calendar th:last-child,
  .view-training-calendar td:last-child {
    width: auto;
    min-width: auto;
    max-width: none;
  }

  .view-upcoming-training-schedule td:last-child a,
  .view-training-calendar td:last-child a {
    width: 100%;
  }
}



/* =====================================================
   FIX CORPORATE TRAINING CTA BUTTONS
===================================================== */

.rk-corporate-training-cta {
  margin: 56px 40px;
  padding: 54px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 36%),
    linear-gradient(135deg, #0f172a 0%, #123f74 100%);
  color: #ffffff;
  overflow: hidden;
}

.rk-corporate-training-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.rk-corporate-training-cta__content {
  max-width: 860px;
}

.rk-corporate-training-cta .rk-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rk-corporate-training-cta h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.rk-corporate-training-cta p {
  margin: 0;
  color: #dbeafe;
  font-size: 1.05rem;
  line-height: 1.75;
}

.rk-corporate-training-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

/* Reset button khusus di CTA ini */
.rk-corporate-training-cta__actions .rk-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 230px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Tombol utama: putih dengan teks gelap */
.rk-corporate-training-cta__actions .rk-btn--primary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 18px 38px rgba(255, 255, 255, 0.16);
}

.rk-corporate-training-cta__actions .rk-btn--primary:hover {
  background: #e0f2fe !important;
  color: #0f172a !important;
  border-color: #e0f2fe !important;
}

/* Tombol kedua: transparan dengan teks putih */
.rk-corporate-training-cta__actions .rk-btn--secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
}

.rk-corporate-training-cta__actions .rk-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 992px) {
  .rk-corporate-training-cta__inner {
    grid-template-columns: 1fr;
  }

  .rk-corporate-training-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .rk-corporate-training-cta {
    margin: 36px 18px;
    padding: 32px 24px;
    border-radius: 26px;
  }

  .rk-corporate-training-cta__actions {
    display: block;
  }

  .rk-corporate-training-cta__actions .rk-btn {
    width: 100%;
    min-width: 100%;
    margin-bottom: 12px;
  }
}




/* CSS sosmed */
.rk-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.rk-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.rk-social-links a:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #15396b;
  transform: translateY(-2px);
}

.rk-social-links i {
  font-size: 18px;
  line-height: 1;
}



/* Featured Programs: 4 kartu per baris */
.rk-course-list .view-content,
.view-training-certification .view-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px;
}


