/* =========================================================
   KHUSUS: /jadwalkan-demo/ (template page-demo.php)
   ========================================================= */

/* 1) Matikan header Astra */
body.page-template-page-demo header.site-header,
body.page-template-page-demo .site-primary-header-wrap,
body.page-template-page-demo .ast-primary-header-bar,
body.page-template-page-demo .ast-mobile-header-wrap,
body.page-template-page-demo #masthead,
body.page-template-page-demo-php header.site-header,
body.page-template-page-demo-php .site-primary-header-wrap,
body.page-template-page-demo-php .ast-primary-header-bar,
body.page-template-page-demo-php .ast-mobile-header-wrap,
body.page-template-page-demo-php #masthead {
  display: none !important;
}

/* 2) Paksa wrapper Astra full width + hilangin padding bawaan */
body.page-template-page-demo .ast-container,
body.page-template-page-demo-php .ast-container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3) SUPER FIX: bikin halaman selalu center saat zoom out */
body.page-template-page-demo .site-content,
body.page-template-page-demo-php .site-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;

  /* ini kuncinya */
  display: flex !important;
  justify-content: center !important;
}

/* Pastikan area konten tidak “ngecil” */
body.page-template-page-demo #content,
body.page-template-page-demo-php #content {
  width: 100% !important;
}

/* 4) Main jangan punya max-width */
body.page-template-page-demo main,
body.page-template-page-demo-php main {
  width: 100% !important;
  max-width: none !important;
}

/* 5) Container kamu (bounded center) */
body.page-template-page-demo .ak-demo-container,
body.page-template-page-demo-php .ak-demo-container {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

body.page-template-page-demo .ak-demo-inner,
body.page-template-page-demo-php .ak-demo-inner {
  width: 100% !important;
  max-width: 1520px !important;
  margin: 0 auto !important;
  padding: 32px 16px !important;
}

@media (min-width: 640px){
  body.page-template-page-demo .ak-demo-inner,
  body.page-template-page-demo-php .ak-demo-inner {
    padding: 40px 24px !important;
  }
}

@media (min-width: 1024px){
  body.page-template-page-demo .ak-demo-inner,
  body.page-template-page-demo-php .ak-demo-inner {
    padding: 56px 24px !important;
  }
}

/* 6) Navbar custom kamu harus di atas */
body.page-template-page-demo header.absolute,
body.page-template-page-demo header.fixed,
body.page-template-page-demo-php header.absolute,
body.page-template-page-demo-php header.fixed {
  z-index: 9999 !important;
}

/* Kill semua footer astra (fallback) */
body.page-template-page-demo footer#colophon,
body.page-template-page-demo .site-footer,
body.page-template-page-demo .site-below-footer-wrap,
body.page-template-page-demo .ast-footer-copyright,
body.page-template-page-demo .ast-footer-bar {
  display: none !important;
}

/* ===================================
   DEMO PAGE - FULL WIDTH + NO PADDING
   =================================== */
body.akademis-demo-page .site-content,
body.akademis-demo-page #content,
body.akademis-demo-page .ast-container,
body.akademis-demo-page .content-area,
body.akademis-demo-page .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.akademis-demo-page .site-content {
  padding-top: 0 !important;
}

.ak-demo-contact-primary,
.ak-demo-contact-secondary {
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: #334155;
}

.ak-demo-contact-primary {
  line-height: 180%;
  text-align: center;
}

.ak-demo-contact-primary--left {
  text-align: left;
}

.ak-demo-contact-secondary {
  line-height: 160%;
}

.ak-demo-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.ak-demo-next-btn:hover,
.ak-demo-next-btn:focus-visible {
  background-color: #014a74 !important;
  color: var(--Misc-bg-white, #FFFFFF);
}

.ak-demo-next-btn__text,
.ak-demo-next-btn__icon {
  pointer-events: none;
}

.ak-demo-next-btn__text {
  font-family: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: capitalize;
  color: var(--Misc-bg-white, #FFFFFF);
}

.ak-demo-next-btn__icon {
  position: relative;
  top: 0px;
  left: -2px;
  width: 16px;
  height: 16px;
  opacity: 1;
  flex: 0 0 auto;
}
