/* ==========================================================================
   Sistem visual halaman Beranda STIKES (milik proyek, bukan aset
   Betheme/Elementor/WPBakery legacy).

   Dimuat hanya di / lewat @section('page_styles') pada
   resources/views/pages/home.blade.php. Seluruh aturan dilingkupi
   `body.site-home` (halaman ini juga membawa `body.site-page`, sehingga
   tipografi dasar - Poppins, warna teks, ukuran font - sudah dipulihkan
   oleh public/assets/css/site-pages.css; berkas ini menambah tata letak
   section yang khusus dipakai halaman Beranda).

   Menggantikan ketergantungan CSS legacy per-halaman (post-69144-*.css,
   slick, sbi-styles, sb-elementor, dan bundel Elementor/Betheme lain yang
   sebelumnya dimuat khusus di Beranda) dengan stylesheet bersih mengikuti
   pola yang sudah terbukti di site-profile.css / site-academic.css /
   site-registration.css.
   ========================================================================== */

body.site-home .home-hero {
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 32% 78%, rgba(66, 188, 209, 0.18) 0%, rgba(66, 188, 209, 0) 30%),
    linear-gradient(135deg, #004d68 0%, #0b7698 55%, #181a22 100%);
  min-height: clamp(36rem, 68svh, 44rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: left;
}

body.site-home .home-hero__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1260px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-hero__eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.12em;
  margin: 0;
  padding: 0.65rem 0.95rem;
  text-transform: uppercase;
}

body.site-home .home-hero__eyebrow-dot {
  background: #ff9a21;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 0.55rem;
  height: 0.55rem;
  width: 0.55rem;
}

body.site-home .home-hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 1rem 0 0;
  text-wrap: balance;
}

body.site-home .home-hero__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  margin: 1.1rem 0 0;
  max-width: 40rem;
}

body.site-home .home-hero__location {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
}

body.site-home .home-hero__location-marker {
  border: 2px solid #ff9a21;
  border-radius: 50% 50% 50% 0;
  display: inline-block;
  height: 0.78rem;
  transform: rotate(-45deg);
  width: 0.78rem;
}

body.site-home .home-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-start;
  margin-top: 2rem;
}

body.site-home .home-hero__cta {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.015em;
  line-height: 1.25;
  min-height: 3.1rem;
  padding: 0.8rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.site-home .home-hero__cta--primary {
  background: #ff9a21;
  color: #07162f;
}

body.site-home .home-hero__cta--primary:hover {
  background: #ffffff;
  color: #004d68;
  transform: translateY(-2px);
}

body.site-home .home-hero__cta--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

body.site-home .home-hero__cta--secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #004d68;
  transform: translateY(-2px);
}

body.site-home .home-hero__cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

body.site-home .home-intro {
  background: #ffffff;
  padding-block: clamp(3.5rem, 6vw, 4.5rem);
}

body.site-home .home-intro__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-intro__label {
  border-top: 3px solid #087ca2;
  color: #004d68;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  padding-top: 0.9rem;
  text-transform: uppercase;
  width: fit-content;
}

body.site-home .home-intro__title {
  color: #07162f;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 1rem 0 0;
}

body.site-home .home-intro__text {
  color: #40525e;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
  margin: 0.9rem 0 0;
  max-width: 48rem;
}

body.site-home .home-programs {
  background: #eef6f9;
  padding-block: clamp(4rem, 6vw, 5rem);
}

body.site-home .home-programs__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-programs__header {
  max-width: 44rem;
}

body.site-home .home-programs__title {
  color: #07162f;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

body.site-home .home-programs__lead {
  color: #40525e;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  margin: 0.9rem 0 0;
}

body.site-home .home-programs__grid {
  --home-programs-gap: clamp(1.15rem, 2vw, 1.5rem);
  display: grid;
  gap: var(--home-programs-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: clamp(2rem, 3vw, 2.5rem) 0 0;
  padding: 0;
}

body.site-home .home-programs__grid > li::before,
body.site-home .home-programs__grid > li::marker {
  content: none;
}

body.site-home .program-card {
  background: #ffffff;
  border: 1px solid #dbe9ee;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(7, 22, 47, 0.04);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  padding: clamp(1.5rem, 2.2vw, 1.9rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.site-home .program-card:hover,
body.site-home .program-card:focus-within {
  border-color: #9fcedb;
  box-shadow: 0 10px 24px rgba(7, 22, 47, 0.08);
  transform: translateY(-3px);
}

body.site-home .program-card__badge {
  align-self: flex-start;
  background: #e4f2f7;
  border-radius: 999px;
  color: #004d68;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0.55rem 0.85rem;
  text-transform: uppercase;
}

body.site-home .program-card__title {
  color: #07162f;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 1.1rem 0 0;
}

body.site-home .program-card__description {
  color: #4a5c68;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0.6rem 0 1.4rem;
}

body.site-home .program-card__cta {
  align-items: center;
  align-self: flex-start;
  border-radius: 0.5rem;
  color: #087ca2;
  display: inline-flex;
  font-size: 0.93rem;
  font-weight: 700;
  gap: 0.5rem;
  margin-top: auto;
  min-height: 2.6rem;
  text-decoration: none;
  transition: color 180ms ease;
}

body.site-home .program-card__cta:hover,
body.site-home .program-card:hover .program-card__cta {
  color: #004d68;
}

body.site-home .program-card__cta-arrow {
  transition: transform 180ms ease;
}

body.site-home .program-card:hover .program-card__cta-arrow,
body.site-home .program-card__cta:focus-visible .program-card__cta-arrow {
  transform: translateX(4px);
}

body.site-home .program-card__cta:focus-visible {
  outline: 3px solid #087ca2;
  outline-offset: 4px;
}

body.site-home .home-pmb {
  background: #ffffff;
  padding-block: clamp(3.5rem, 6vw, 4.5rem);
}

body.site-home .home-pmb__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-pmb__card {
  align-items: center;
  background: #f1f7fa;
  border: 1px solid #e1eef3;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  justify-content: space-between;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

body.site-home .home-pmb__content {
  flex: 1 1 20rem;
}

body.site-home .home-pmb__label {
  border-top: 3px solid #087ca2;
  color: #004d68;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  padding-top: 0.9rem;
  text-transform: uppercase;
  width: fit-content;
}

body.site-home .home-pmb__title {
  color: #07162f;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 1rem 0 0;
}

body.site-home .home-pmb__text {
  color: #40525e;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  margin: 0.9rem 0 0;
}

body.site-home .home-pmb__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.9rem;
}

body.site-home .home-pmb__cta {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  display: inline-flex;
  font-size: 0.93rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.015em;
  line-height: 1.25;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

body.site-home .home-pmb__cta--primary {
  background: #087ca2;
  color: #ffffff;
}

body.site-home .home-pmb__cta--primary:hover {
  background: #066583;
}

body.site-home .home-pmb__cta--secondary {
  background: #ffffff;
  border-color: #9fcedb;
  color: #07162f;
}

body.site-home .home-pmb__cta--secondary:hover {
  border-color: #087ca2;
  color: #087ca2;
}

body.site-home .home-pmb__cta:focus-visible {
  outline: 3px solid #07162f;
  outline-offset: 3px;
}

body.site-home .home-information {
  background: #ffffff;
  border-top: 1px solid #e1eef3;
  padding-block: clamp(4rem, 6vw, 5rem);
}

body.site-home .home-information__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-information__header {
  max-width: 48rem;
}

body.site-home .home-information__label {
  border-top: 3px solid #087ca2;
  color: #004d68;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  padding-top: 0.9rem;
  text-transform: uppercase;
  width: fit-content;
}

body.site-home .home-information__title {
  color: #07162f;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1rem 0 0;
}

body.site-home .home-information__lead,
body.site-home .home-information-card__text {
  color: #40525e;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

body.site-home .home-information__lead {
  margin: 0.9rem 0 0;
}

body.site-home .home-information__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 3vw, 2.5rem);
}

body.site-home .home-information-card {
  background: #f7fbfc;
  border: 1px solid #dbe9ee;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(7, 22, 47, 0.04);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

body.site-home .home-information-card--featured {
  background: #eef6f9;
  border-top: 3px solid #087ca2;
}

body.site-home .home-information-card--portal {
  background: #ffffff;
}

body.site-home .home-information-card__title {
  color: #07162f;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

body.site-home .home-information-card__text {
  font-size: 0.96rem;
  margin: 0.8rem 0 0;
}

/* FEATURE-7C — published-content shortlist inside the home information cards. */
body.site-home .home-information-card__list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.site-home .home-information-card__list-item {
  font-size: 0.95rem;
  line-height: 1.45;
}

body.site-home .home-information-card__list-item a {
  color: #07162f;
  font-weight: 600;
  text-decoration: none;
}

body.site-home .home-information-card__list-item a:hover {
  color: #004d68;
  text-decoration: underline;
}

body.site-home .home-information-card__list-meta {
  display: block;
  color: #4a5b74;
  font-size: 0.83rem;
  font-weight: 500;
  margin-top: 0.15rem;
}

body.site-home .home-information-card__link {
  align-self: flex-start;
  color: #087ca2;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: auto;
  padding-top: 1.5rem;
  text-decoration: none;
}

body.site-home .home-information-card__link:hover {
  color: #004d68;
  text-decoration: underline;
}

body.site-home .home-information-card__link:focus-visible {
  outline: 3px solid #087ca2;
  outline-offset: 4px;
}

body.site-home .home-facilities {
  background: #eef6f9;
  padding-block: clamp(3rem, 5vw, 4rem);
  text-align: center;
}

body.site-home .home-facilities__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 44rem;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-home .home-facilities__title {
  color: #07162f;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

body.site-home .home-facilities__text {
  color: #40525e;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  margin: 0.9rem 0 0;
}

body.site-home .home-cta {
  background: #07162f;
  padding-block: clamp(3.5rem, 6vw, 4.5rem);
  position: relative;
}

body.site-home .home-cta::before {
  background: #087ca2;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 64px;
}

body.site-home .home-cta__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 40rem;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  width: 100%;
}

body.site-home .home-cta__label {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

body.site-home .home-cta__title {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.9rem 0 0;
  text-wrap: balance;
}

body.site-home .home-cta__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  margin: 1rem 0 0;
}

body.site-home .home-cta__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2rem;
}

body.site-home .home-cta__button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.015em;
  line-height: 1.25;
  min-height: 3.1rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.site-home .home-cta__button--primary {
  background: #ffffff;
  color: #07162f;
}

body.site-home .home-cta__button--primary:hover {
  background: #087ca2;
  color: #ffffff;
}

body.site-home .home-cta__button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

body.site-home .home-cta__button--secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #07162f;
}

body.site-home .home-cta__button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

body.site-home .home-cta__meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 0.6rem;
  justify-content: center;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

body.site-home .home-cta__meta-item {
  margin: 0;
  padding: 0;
}

body.site-home .home-cta__meta-item:not(:last-child)::after {
  content: "\2022";
  margin-inline-start: 0.6rem;
}

@media only screen and (max-width: 1239px) {
  body.site-home .home-hero,
  body.site-home .home-intro,
  body.site-home .home-programs,
  body.site-home .home-pmb,
  body.site-home .home-information,
  body.site-home .home-facilities,
  body.site-home .home-cta {
    padding-block: clamp(3rem, 7vw, 3.75rem);
  }

  body.site-home .home-hero__inner,
  body.site-home .home-intro__inner,
  body.site-home .home-programs__inner,
  body.site-home .home-pmb__inner,
  body.site-home .home-information__inner,
  body.site-home .home-facilities__inner,
  body.site-home .home-cta__inner {
    padding-inline: clamp(1.5rem, 6vw, 3.5rem);
  }

  body.site-home .home-programs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-home .home-information__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Kartu ketiga menempati baris kedua, lebar dikunci sama dengan satu
     kolom baris pertama agar terbaca disengaja, bukan terdampar. */
  body.site-home .home-programs__grid > .program-card:nth-child(3) {
    grid-column: 1 / -1;
    margin-inline: auto;
    max-width: calc(50% - (var(--home-programs-gap) / 2));
    width: 100%;
  }

  body.site-home .home-hero {
    min-height: clamp(34rem, 62svh, 40rem);
  }
}

@media only screen and (max-width: 767px) {
  body.site-home .home-hero,
  body.site-home .home-intro,
  body.site-home .home-programs,
  body.site-home .home-pmb,
  body.site-home .home-information,
  body.site-home .home-facilities,
  body.site-home .home-cta {
    padding-block: clamp(2.5rem, 9vw, 3.25rem);
  }

  body.site-home .home-hero__inner,
  body.site-home .home-intro__inner,
  body.site-home .home-programs__inner,
  body.site-home .home-pmb__inner,
  body.site-home .home-information__inner,
  body.site-home .home-facilities__inner,
  body.site-home .home-cta__inner {
    padding-inline: 1.35rem;
  }

  body.site-home .home-hero__cta,
  body.site-home .home-pmb__cta,
  body.site-home .home-cta__button {
    width: 100%;
  }

  body.site-home .home-programs__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.site-home .home-information__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.site-home .home-programs__grid > .program-card:nth-child(3) {
    grid-column: auto;
    margin-inline: 0;
    max-width: none;
  }

  body.site-home .home-pmb__card {
    flex-direction: column;
  }

  body.site-home .home-pmb__actions {
    justify-content: center;
    width: 100%;
  }

  body.site-home .home-hero {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-home .home-hero__cta,
  body.site-home .home-pmb__cta,
  body.site-home .home-cta__button,
  body.site-home .program-card,
  body.site-home .program-card__cta,
  body.site-home .program-card__cta-arrow {
    transition: none;
  }

  body.site-home .home-hero__cta--primary:hover,
  body.site-home .home-hero__cta--secondary:hover {
    transform: none;
  }

  body.site-home .program-card:hover,
  body.site-home .program-card:focus-within {
    transform: none;
  }

  body.site-home .program-card:hover .program-card__cta-arrow,
  body.site-home .program-card__cta:focus-visible .program-card__cta-arrow {
    transform: none;
  }
}
