/* =========================================================
   REKHATAMA CERTIFICATION LANDING PAGE
   International Certification & National BNSP
========================================================= */

:root {
  --rk-cert-navy: #0b2859;
  --rk-cert-navy-dark: #071d42;
  --rk-cert-blue: #0878e8;
  --rk-cert-blue-dark: #0563c8;
  --rk-cert-sky: #eaf4ff;
  --rk-cert-soft: #f5f8fc;
  --rk-cert-border: #d6e2f1;
  --rk-cert-text: #415775;
  --rk-cert-white: #ffffff;
  --rk-cert-green: #087a4d;
  --rk-cert-green-soft: #eafaf3;
  --rk-cert-shadow: 0 18px 45px rgba(10, 40, 89, 0.09);
}

/* Prevent Layout Builder blocks from adding excessive spacing */
.node--type-rekhatama-landing-page .layout__region--content {
  min-width: 0;
}

.node--type-rekhatama-landing-page
.layout__region--content
> .block-layout-builder {
  margin: 0;
}

.rk-cert-page {
  width: 100%;
  margin: 0;
  color: var(--rk-cert-navy-dark);
  font-family: var(--bs-body-font-family, Inter, sans-serif);
}

.rk-cert-page *,
.rk-cert-page *::before,
.rk-cert-page *::after {
  box-sizing: border-box;
}

.rk-cert-page h1,
.rk-cert-page h2,
.rk-cert-page h3,
.rk-cert-page strong,
.rk-cert-page .rk-cert-btn {
  font-family: Poppins, var(--bs-body-font-family, sans-serif);
}

.rk-cert-page p {
  color: var(--rk-cert-text);
}

.rk-cert-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #075bb7;
  background: #e8f3ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rk-cert-eyebrow--light {
  color: #bdddff;
  background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.rk-cert-actions,
.rk-cert-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rk-cert-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rk-cert-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.rk-cert-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #086ce0, #079cea);
  box-shadow: 0 12px 25px rgba(8, 120, 232, 0.22);
}

.rk-cert-btn--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #055fc9, #078bd2);
}

.rk-cert-btn--secondary {
  color: var(--rk-cert-navy);
  background: #fff;
  border-color: var(--rk-cert-border);
}

.rk-cert-btn--secondary:hover {
  color: var(--rk-cert-blue);
  border-color: #9bc8f6;
}

.rk-cert-btn--dark {
  color: #fff;
  background: var(--rk-cert-navy);
}

.rk-cert-btn--dark:hover {
  color: #fff;
  background: var(--rk-cert-navy-dark);
}

.rk-cert-btn--white {
  color: var(--rk-cert-navy);
  background: #fff;
}

.rk-cert-btn--white:hover {
  color: var(--rk-cert-blue);
  background: #f3f8ff;
}

.rk-cert-btn--outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.rk-cert-btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Hero */
.rk-cert-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  min-height: 560px;
  padding: clamp(44px, 6vw, 88px);
  overflow: hidden;
  border: 1px solid #cfe0f3;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 92% 6%,
      rgba(8, 120, 232, 0.17) 0,
      rgba(8, 120, 232, 0) 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.rk-cert-hero::before {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 45px solid rgba(8, 120, 232, 0.055);
  border-radius: 50%;
  content: "";
}

.rk-cert-hero__content,
.rk-cert-hero__panel {
  position: relative;
  z-index: 1;
}

.rk-cert-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--rk-cert-navy);
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.rk-cert-hero__lead {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.rk-cert-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #315276;
  font-size: 14px;
  font-weight: 600;
}

.rk-cert-hero__panel {
  display: grid;
  gap: 16px;
}

.rk-cert-credential {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 21px;
  box-shadow: var(--rk-cert-shadow);
}

.rk-cert-credential--international {
  color: #fff;
  background: linear-gradient(135deg, #102d66, #086fcf);
}

.rk-cert-credential--bnsp {
  color: var(--rk-cert-navy);
  background: #fff;
  border-color: var(--rk-cert-border);
}

.rk-cert-credential__mark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.rk-cert-credential--bnsp .rk-cert-credential__mark {
  color: var(--rk-cert-green);
  background: var(--rk-cert-green-soft);
}

.rk-cert-credential__label {
  display: block;
  margin-bottom: 5px;
  opacity: 0.78;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rk-cert-credential strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.rk-cert-credential p {
  margin: 0;
  color: inherit;
  opacity: 0.83;
  font-size: 13px;
  line-height: 1.55;
}

/* Section heading */
.rk-cert-section-heading {
  max-width: 820px;
}

.rk-cert-section-heading h2 {
  margin: 0 0 15px;
  color: var(--rk-cert-navy);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rk-cert-section-heading > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

/* Certification paths */
.rk-cert-paths {
  padding: clamp(60px, 7vw, 96px) clamp(22px, 4vw, 64px);
}

.rk-cert-paths > .rk-cert-section-heading {
  margin-bottom: 38px;
}

.rk-cert-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rk-cert-path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--rk-cert-border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--rk-cert-shadow);
}

.rk-cert-path-card--international {
  border-top: 5px solid var(--rk-cert-blue);
}

.rk-cert-path-card--bnsp {
  border-top: 5px solid var(--rk-cert-green);
}

.rk-cert-path-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.rk-cert-path-card__number {
  color: var(--rk-cert-blue);
  font-size: 14px;
  font-weight: 900;
}

.rk-cert-path-card--bnsp .rk-cert-path-card__number {
  color: var(--rk-cert-green);
}

.rk-cert-path-card__type {
  padding: 7px 11px;
  border-radius: 999px;
  color: #276197;
  background: #eef6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rk-cert-path-card--bnsp .rk-cert-path-card__type {
  color: var(--rk-cert-green);
  background: var(--rk-cert-green-soft);
}

.rk-cert-path-card h3 {
  margin: 0 0 13px;
  color: var(--rk-cert-navy);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.25;
}

.rk-cert-path-card__intro {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
}

.rk-cert-path-card__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #e1eaf5;
  border-radius: 15px;
  background: #f8fbff;
}

.rk-cert-path-card__info > div {
  padding: 16px 18px;
}

.rk-cert-path-card__info > div + div {
  border-left: 1px solid #e1eaf5;
}

.rk-cert-path-card__info span,
.rk-cert-path-card__info strong {
  display: block;
}

.rk-cert-path-card__info span {
  margin-bottom: 5px;
  color: #70829a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.rk-cert-path-card__info strong {
  color: var(--rk-cert-navy);
  font-size: 13px;
}

.rk-cert-check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.rk-cert-check-list li {
  position: relative;
  padding-left: 28px;
  color: #344e70;
  font-size: 14px;
  line-height: 1.5;
}

.rk-cert-check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #076bd5;
  background: #e6f2ff;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.rk-cert-path-card--bnsp .rk-cert-check-list li::before {
  color: var(--rk-cert-green);
  background: var(--rk-cert-green-soft);
}

.rk-cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.rk-cert-tags span {
  padding: 7px 11px;
  border: 1px solid #d5e3f2;
  border-radius: 999px;
  color: #345677;
  background: #f8fbff;
  font-size: 11px;
  font-weight: 700;
}

/* Informasi penyelenggara pada card sertifikasi */
.rk-cert-path-card .rk-cert-path-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  width: 100%;
  min-height: 0;
  margin-top: auto;
  margin-bottom: 22px;
  padding: 18px 0 0;
  color: #657d9b;
  background: transparent;
  border: 0;
  border-top: 1px solid #e1eaf4;
  border-radius: 0;
  box-shadow: none;
}

.rk-cert-path-card .rk-cert-path-meta span {
  color: #657d9b;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.rk-cert-path-card .rk-cert-path-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  color: #123b6d;
  background: #edf6ff;
  border: 1px solid #cee3f8;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

/* Warna khusus card BNSP */
.rk-cert-path-card--bnsp .rk-cert-path-meta strong {
  color: #087a4d;
  background: #eafaf3;
  border-color: #bfe9d5;
}

.rk-cert-path-card > .rk-cert-btn {
  align-self: flex-start;
}

.rk-cert-advisor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid #cfe1f5;
  border-radius: 20px;
  background: #edf6ff;
}

.rk-cert-advisor strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rk-cert-navy);
  font-size: 18px;
}

.rk-cert-advisor p {
  margin: 0;
  font-size: 14px;
}

/* Program heading */
.rk-cert-program-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding: 58px clamp(22px, 4vw, 64px) 30px;
  background: #f5f9fe;
}

.rk-cert-text-link {
  flex-shrink: 0;
  color: var(--rk-cert-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.rk-cert-text-link:hover {
  color: var(--rk-cert-blue-dark);
  text-decoration: none;
}

/* Certification Views */
.view.rk-certification-programs,
.rk-certification-programs {
  padding: 0 clamp(22px, 4vw, 64px) 64px;
  background: #f5f9fe;
}

.rk-certification-programs .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.rk-certification-programs .views-row {
  display: flex;
  min-width: 0;
}

.rk-certification-programs .rk-course-card {
  width: 100%;
  border-color: #d7e2ef;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(9, 39, 84, 0.08);
}

.rk-certification-programs .rk-course-card__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rk-certification-programs .rk-course-card__body {
  padding: 20px;
}

.rk-certification-programs .rk-course-card__description {
  display: none;
}

.rk-certification-programs .rk-course-card__title {
  min-height: 51px;
  font-size: 18px;
}

/* Process */
.rk-cert-process {
  padding: clamp(60px, 7vw, 94px) clamp(22px, 4vw, 64px);
}

.rk-cert-process > .rk-cert-section-heading {
  margin-bottom: 34px;
}

.rk-cert-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rk-cert-process-card {
  padding: 24px;
  border: 1px solid var(--rk-cert-border);
  border-radius: 18px;
  background: #fff;
}

.rk-cert-process-card > span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--rk-cert-blue);
  font-size: 13px;
  font-weight: 900;
}

.rk-cert-process-card h3 {
  margin: 0 0 9px;
  color: var(--rk-cert-navy);
  font-size: 18px;
}

.rk-cert-process-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.rk-cert-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 0,
      rgba(22, 137, 242, 0.45),
      transparent 38%),
    linear-gradient(135deg, #09234f, #0b3978);
}

.rk-cert-final-cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.2;
}

.rk-cert-final-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 991.98px) {
  .rk-cert-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rk-cert-hero__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-cert-paths__grid {
    grid-template-columns: 1fr;
  }

  .rk-certification-programs .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-cert-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-cert-final-cta {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .rk-cert-hero {
    padding: 38px 20px;
    border-radius: 0 0 24px 24px;
  }

  .rk-cert-hero h1 {
    font-size: 38px;
  }

  .rk-cert-hero__panel {
    grid-template-columns: 1fr;
  }

  .rk-cert-credential {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 20px;
  }

  .rk-cert-credential__mark {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 12px;
  }

  .rk-cert-actions,
  .rk-cert-final-cta__actions {
    flex-direction: column;
  }

  .rk-cert-actions .rk-cert-btn,
  .rk-cert-final-cta__actions .rk-cert-btn {
    width: 100%;
  }

  .rk-cert-path-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .rk-cert-path-card__info {
    grid-template-columns: 1fr;
  }

  .rk-cert-path-card__info > div + div {
    border-top: 1px solid #e1eaf5;
    border-left: 0;
  }

  .rk-cert-path-card > .rk-cert-btn {
    width: 100%;
  }

  .rk-cert-advisor {
    flex-direction: column;
    align-items: stretch;
    padding: 23px 20px;
  }

  .rk-cert-advisor .rk-cert-btn {
    width: 100%;
  }

  .rk-cert-program-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .rk-certification-programs .view-content {
    grid-template-columns: 1fr;
  }

  .rk-cert-process__grid {
    grid-template-columns: 1fr;
  }

  .rk-cert-final-cta {
    padding: 32px 22px;
    border-radius: 22px;
  }
}


.rk-cert-path-card > .rk-cert-partners {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 14px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: auto 0 22px !important;
  padding: 18px 0 0 !important;
  color: #657d9b !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #e1eaf4 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rk-cert-path-card > .rk-cert-partners span {
  color: #657d9b !important;
}

.rk-cert-path-card > .rk-cert-partners strong {
  color: #123b6d !important;
}

/* =========================================================
   CERTIFICATION SPACING & ALIGNMENT FIX
   Letakkan paling bawah certification.css
========================================================= */

.node--type-rekhatama-landing-page {
  --rk-cert-space-x: clamp(22px, 4vw, 52px);
  --rk-cert-space-y: clamp(46px, 5vw, 64px);
}

/* Hilangkan spacing bawaan block Layout Builder */
.node--type-rekhatama-landing-page
.layout__region--content
> .block-layout-builder {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Semua section tetap rata dengan lebar halaman */
.node--type-rekhatama-landing-page .rk-cert-page {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Hero: samakan garis awal konten dengan section lainnya */
.node--type-rekhatama-landing-page .rk-cert-hero {
  min-height: 520px;
  padding:
    clamp(48px, 5vw, 66px)
    var(--rk-cert-space-x) !important;
}

/* Section pilihan sertifikasi */
.node--type-rekhatama-landing-page .rk-cert-paths {
  padding:
    var(--rk-cert-space-y)
    var(--rk-cert-space-x) !important;
}

/* Kurangi jarak antara heading dan dua card */
.node--type-rekhatama-landing-page
.rk-cert-paths
> .rk-cert-section-heading {
  margin-bottom: 28px !important;
}

/* Card tidak perlu terlalu tinggi */
.node--type-rekhatama-landing-page .rk-cert-path-card {
  padding: clamp(26px, 3vw, 38px) !important;
}

.node--type-rekhatama-landing-page .rk-cert-path-card__top {
  margin-bottom: 18px !important;
}

.node--type-rekhatama-landing-page .rk-cert-path-card__intro {
  margin-bottom: 19px !important;
}

.node--type-rekhatama-landing-page .rk-cert-path-card__info {
  margin-bottom: 19px !important;
}

.node--type-rekhatama-landing-page .rk-cert-check-list {
  margin-bottom: 19px !important;
}

.node--type-rekhatama-landing-page .rk-cert-tags {
  margin-bottom: 18px !important;
}

.node--type-rekhatama-landing-page .rk-cert-path-meta {
  margin-bottom: 18px !important;
  padding-top: 16px !important;
}

/* Konsultasi di bawah card */
.node--type-rekhatama-landing-page .rk-cert-advisor {
  margin-top: 20px !important;
  padding: 22px 26px !important;
}

/* Heading program: sebelumnya terlalu tinggi */
.node--type-rekhatama-landing-page .rk-cert-program-heading {
  padding:
    42px
    var(--rk-cert-space-x)
    24px !important;
}

/* View program harus mengikuti garis section */
.node--type-rekhatama-landing-page
.view.rk-certification-programs,
.node--type-rekhatama-landing-page
.rk-certification-programs {
  padding:
    0
    var(--rk-cert-space-x)
    54px !important;
}

/* Section proses */
.node--type-rekhatama-landing-page .rk-cert-process {
  padding:
    var(--rk-cert-space-y)
    var(--rk-cert-space-x)
    64px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-process
> .rk-cert-section-heading {
  margin-bottom: 27px !important;
}

.node--type-rekhatama-landing-page .rk-cert-process-card > span {
  margin-bottom: 20px !important;
}

/*
 * Penting:
 * CSS lama masih memberikan margin kanan-kiri 40px
 * pada final CTA.
 */
.node--type-rekhatama-landing-page .rk-cert-final-cta {
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  padding: clamp(32px, 4vw, 50px) !important;
}

/* =========================================================
   TEXT LINK MENJADI BUTTON
========================================================= */

.node--type-rekhatama-landing-page .rk-cert-text-link {
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 19px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #086ce0, #079cea);
  border: 1px solid #0878e8;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(8, 120, 232, 0.2);
  font-family: Poppins, var(--bs-body-font-family, sans-serif);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.node--type-rekhatama-landing-page .rk-cert-text-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #055fc9, #078bd2);
  box-shadow: 0 14px 27px rgba(8, 120, 232, 0.27);
  transform: translateY(-2px);
}

/* Ukuran tombol compact jika dibutuhkan */
.node--type-rekhatama-landing-page .rk-cert-btn--compact {
  min-height: 48px;
  padding: 12px 19px;
  font-size: 13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
  .node--type-rekhatama-landing-page .rk-cert-hero {
    min-height: auto;
  }

  .node--type-rekhatama-landing-page .rk-cert-program-heading {
    align-items: center;
  }

  .node--type-rekhatama-landing-page .rk-cert-final-cta {
    margin-top: 24px !important;
  }
}

@media (max-width: 640px) {
  .node--type-rekhatama-landing-page {
    --rk-cert-space-x: 18px;
    --rk-cert-space-y: 42px;
  }

  .node--type-rekhatama-landing-page .rk-cert-hero {
    padding:
      42px
      var(--rk-cert-space-x) !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-path-card {
    padding: 24px 20px !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-advisor {
    padding: 21px 19px !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-program-heading {
    align-items: stretch;
    padding:
      38px
      var(--rk-cert-space-x)
      21px !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-text-link {
    width: 100%;
  }

  .node--type-rekhatama-landing-page .rk-cert-final-cta {
    margin-top: 22px !important;
    padding: 28px 21px !important;
  }
}

/* =========================================================
   COMPACT VERTICAL SPACING
   Letakkan paling bawah certification.css
========================================================= */

/* Pilihan sertifikasi */
.node--type-rekhatama-landing-page .rk-cert-paths {
  padding:
    48px
    var(--rk-cert-space-x, clamp(22px, 4vw, 52px))
    24px !important;
}

/* Kurangi jarak heading terhadap card */
.node--type-rekhatama-landing-page
.rk-cert-paths
> .rk-cert-section-heading {
  margin-bottom: 24px !important;
}

/* Card jalur sertifikasi */
.node--type-rekhatama-landing-page .rk-cert-paths__grid {
  gap: 20px !important;
}

/* Kotak konsultasi */
.node--type-rekhatama-landing-page .rk-cert-advisor {
  margin-top: 18px !important;
  padding: 20px 24px !important;
}

/* Heading program dibuat lebih compact */
.node--type-rekhatama-landing-page .rk-cert-program-heading {
  display: flex;
  align-items: center;
  min-height: 0 !important;
  padding:
    28px
    var(--rk-cert-space-x, clamp(22px, 4vw, 52px))
    24px !important;
}

/* Batasi lebar dan spacing heading */
.node--type-rekhatama-landing-page
.rk-cert-program-heading
.rk-cert-section-heading {
  max-width: 760px;
}

.node--type-rekhatama-landing-page
.rk-cert-program-heading
.rk-cert-eyebrow {
  margin-bottom: 12px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-program-heading
h2 {
  margin-bottom: 10px !important;
  font-size: clamp(29px, 3vw, 40px) !important;
  line-height: 1.2 !important;
}

.node--type-rekhatama-landing-page
.rk-cert-program-heading
p {
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* Section proses dirapatkan */
.node--type-rekhatama-landing-page .rk-cert-process {
  padding:
    36px
    var(--rk-cert-space-x, clamp(22px, 4vw, 52px))
    52px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-process
> .rk-cert-section-heading {
  margin-bottom: 24px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-process
.rk-cert-eyebrow {
  margin-bottom: 12px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-process
.rk-cert-section-heading h2 {
  margin-bottom: 10px !important;
}

/* Card proses sedikit lebih compact */
.node--type-rekhatama-landing-page .rk-cert-process-card {
  padding: 21px !important;
}

.node--type-rekhatama-landing-page
.rk-cert-process-card
> span {
  margin-bottom: 16px !important;
}

/* CTA terakhir */
.node--type-rekhatama-landing-page .rk-cert-final-cta {
  margin: 24px 0 0 !important;
  padding: clamp(30px, 4vw, 46px) !important;
}

/* Mobile */
@media (max-width: 640px) {
  .node--type-rekhatama-landing-page .rk-cert-paths {
    padding:
      38px
      18px
      20px !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-program-heading {
    gap: 20px;
    padding:
      26px
      18px
      22px !important;
  }

  .node--type-rekhatama-landing-page
  .rk-cert-program-heading h2 {
    font-size: 29px !important;
  }

  .node--type-rekhatama-landing-page .rk-cert-process {
    padding:
      30px
      18px
      42px !important;
  }
}