/* ============================================================
   AKADEMIA NUSA PUBLIKA â€” PENERBITAN v4
   Target visual: Publishing Portal mockup
   Scope: only pages containing .anp-pub-v4
   ============================================================ */

/* ----- CLEAN DEFAULT OJS CUSTOM-PAGE CHROME ----- */
body:has(.anp-pub-v4) .cmp_breadcrumbs,
body:has(.anp-pub-v4) .pkp_structure_sidebar,
body:has(.anp-pub-v4) .page_custom > h1,
body:has(.anp-pub-v4) .page > h1,
body:has(.anp-pub-v4) .pkp_structure_main > h1 {
  display: none !important;
}

body:has(.anp-pub-v4) .pkp_structure_content,
body:has(.anp-pub-v4) .pkp_structure_main,
body:has(.anp-pub-v4) .page,
body:has(.anp-pub-v4) .page_custom,
body:has(.anp-pub-v4) .page_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(.anp-pub-v4) .pkp_structure_content,
body:has(.anp-pub-v4) .pkp_structure_main {
  float: none !important;
}

body:has(.anp-pub-v4) .pkp_structure_content {
  display: block !important;
}


/* ----- BASE ----- */
.anp-pub-v4 {
  --anp-navy: #0c3567;
  --anp-navy-deep: #06295a;
  --anp-blue: #1e6292;
  --anp-gold: #d8aa52;
  --anp-gold-soft: #f0cf83;
  --anp-text: #1f2935;
  --anp-muted: #65717d;
  --anp-line: #e4e8ed;
  --anp-soft: #f5f8fb;

  width: 100%;
  color: var(--anp-text);
  font-family: inherit;
}

.anp-pub-v4 * {
  box-sizing: border-box;
}


/* ----- HERO ----- */
.anp-pub-v4__hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: var(--anp-navy-deep);
}

.anp-pub-v4__hero-bg {
  position: absolute;
  inset: 0;
  opacity: .26;
  background:
    linear-gradient(90deg, rgba(6,41,90,.98) 0%, rgba(6,41,90,.88) 43%, rgba(6,41,90,.18) 75%, rgba(6,41,90,.06) 100%),
    repeating-linear-gradient(
      0deg,
      transparent 0 80px,
      rgba(255,255,255,.08) 81px 84px,
      transparent 85px 160px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.02) 0 62px,
      rgba(255,255,255,.075) 63px 66px,
      rgba(255,255,255,.02) 67px 130px
    ),
    radial-gradient(circle at 83% 44%, rgba(255,255,255,.22), transparent 25%);
  filter: blur(.15px);
}

.anp-pub-v4__hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-height: 460px;
  margin: 0 auto;
  padding: 54px 42px 58px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.anp-pub-v4__hero-copy {
  max-width: 660px;
}

.anp-pub-v4__crumb {
  margin-bottom: 24px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.4;
}

.anp-pub-v4__hero h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(38px, 4.4vw, 58px) !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  letter-spacing: -.025em;
}

.anp-pub-v4__gold-line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 22px 0 18px;
  background: var(--anp-gold);
}

.anp-pub-v4__hero h2 {
  margin: 0 0 16px !important;
  color: var(--anp-gold-soft) !important;
  font-size: 19px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

.anp-pub-v4__hero p {
  max-width: 600px;
  margin: 0 0 27px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.anp-pub-v4__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.anp-pub-v4__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 3px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.anp-pub-v4__btn--navy {
  background: #082f64;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff !important;
}

.anp-pub-v4__btn--navy:hover {
  background: #124b82;
}

.anp-pub-v4__btn--light {
  background: #fff;
  border: 1px solid #fff;
  color: #12365f !important;
}

.anp-pub-v4__btn--light:hover {
  background: #edf3f8;
}

.anp-pub-v4__hero-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 330px;
}

.anp-pub-v4__hero-art img {
  display: block;
  width: min(100%, 570px);
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.22));
}


/* ----- GENERIC SECTION HEAD ----- */
.anp-pub-v4__section-head h2 {
  margin: 0 !important;
  color: var(--anp-navy-deep) !important;
  font-size: 29px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.anp-pub-v4__section-head > span {
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 13px;
  background: var(--anp-gold);
}

.anp-pub-v4__section-head--center {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.anp-pub-v4__section-head--center > span {
  margin-left: auto;
  margin-right: auto;
}

.anp-pub-v4__section-head--center > p {
  margin: 17px auto 0 !important;
  color: var(--anp-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}


/* ----- ABOUT ----- */
.anp-pub-v4__about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 34px;
}

.anp-pub-v4__about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
  margin-top: 26px;
}

.anp-pub-v4__about-grid h3 {
  margin: 0 !important;
  color: var(--anp-text) !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.anp-pub-v4__about-grid p {
  margin: 0 !important;
  color: var(--anp-muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}


/* ----- SCOPE ----- */
.anp-pub-v4__scope {
  padding: 58px 34px 66px;
  border-top: 1px solid var(--anp-line);
  background: #fff;
}

.anp-pub-v4__cards {
  max-width: 1180px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.anp-pub-v4__card {
  min-height: 270px;
  padding: 25px 21px 23px;
  border: 1px solid var(--anp-line);
  background: #fff;
  text-align: center;
}

.anp-pub-v4__card-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 19px;
  border: 1px solid #ccd7e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anp-pub-v4__card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.anp-pub-v4__card h3 {
  margin: 0 0 13px !important;
  color: var(--anp-navy-deep) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.anp-pub-v4__card p {
  margin: 0 !important;
  color: var(--anp-muted) !important;
  font-size: 13px !important;
  line-height: 1.68 !important;
}


/* ----- CATALOG ----- */
.anp-pub-v4__catalog {
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  align-items: center;
  background: var(--anp-soft);
  border: 1px solid #e4e9ee;
}

.anp-pub-v4__catalog-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #cbd7e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anp-pub-v4__catalog-icon img {
  width: 34px;
  height: 34px;
}

.anp-pub-v4__catalog-copy h2 {
  margin: 0 0 7px !important;
  color: var(--anp-navy-deep) !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.anp-pub-v4__catalog-copy p {
  max-width: 720px;
  margin: 0 !important;
  color: var(--anp-muted) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}


/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .anp-pub-v4__hero-inner {
    grid-template-columns: 1fr;
  }

  .anp-pub-v4__hero-art {
    min-height: 250px;
    justify-content: center;
  }

  .anp-pub-v4__about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .anp-pub-v4__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anp-pub-v4__catalog {
    grid-template-columns: auto 1fr;
  }

  .anp-pub-v4__catalog > .anp-pub-v4__btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .anp-pub-v4__hero-inner,
  .anp-pub-v4__about,
  .anp-pub-v4__scope {
    padding-left: 20px;
    padding-right: 20px;
  }

  .anp-pub-v4__hero h1 {
    font-size: 39px !important;
  }

  .anp-pub-v4__cards {
    grid-template-columns: 1fr;
  }

  .anp-pub-v4__card {
    min-height: 0;
  }

  .anp-pub-v4__catalog {
    margin-left: 20px;
    margin-right: 20px;
    grid-template-columns: 1fr;
  }

  .anp-pub-v4__catalog-icon {
    display: none;
  }
}


/* ============================================================
   ANP PENERBITAN â€” OJS SHELL CLEANUP PATCH
   Append to the BOTTOM of anp-penerbitan-v4.css
   Only affects the page containing .anp-pub-v4
   ============================================================ */

/* Remove all remaining OJS frame / vertical separator lines */
body:has(.anp-pub-v4) .pkp_structure_page,
body:has(.anp-pub-v4) .pkp_structure_content,
body:has(.anp-pub-v4) .pkp_structure_main,
body:has(.anp-pub-v4) .page,
body:has(.anp-pub-v4) .page_custom,
body:has(.anp-pub-v4) .page_content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

/* Some Default Theme separators are drawn by pseudo-elements */
body:has(.anp-pub-v4) .pkp_structure_page::before,
body:has(.anp-pub-v4) .pkp_structure_page::after,
body:has(.anp-pub-v4) .pkp_structure_content::before,
body:has(.anp-pub-v4) .pkp_structure_content::after,
body:has(.anp-pub-v4) .pkp_structure_main::before,
body:has(.anp-pub-v4) .pkp_structure_main::after,
body:has(.anp-pub-v4) .page_custom::before,
body:has(.anp-pub-v4) .page_custom::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
}

/* Make the publishing landing feel standalone */
body:has(.anp-pub-v4) .pkp_structure_page {
    background: #fff !important;
}

/* Remove default OJS footer only from this landing page */
body:has(.anp-pub-v4) .pkp_structure_footer_wrapper,
body:has(.anp-pub-v4) .pkp_structure_footer,
body:has(.anp-pub-v4) .pkp_brand_footer {
    display: none !important;
}

/* Remove any remaining OJS breadcrumb/title chrome */
body:has(.anp-pub-v4) .cmp_breadcrumbs,
body:has(.anp-pub-v4) .page_custom > h1,
body:has(.anp-pub-v4) .page > h1,
body:has(.anp-pub-v4) .pkp_structure_main > h1 {
    display: none !important;
}

/* Ensure our page itself does not inherit OJS separators */
.anp-pub-v4,
.anp-pub-v4__hero,
.anp-pub-v4__about,
.anp-pub-v4__scope,
.anp-pub-v4__catalog {
    box-shadow: none !important;
}

/* The horizontal rules below are OUR layout choices.
   Keep section separation subtle, not frame-like. */
.anp-pub-v4__scope {
    border-top: 0 !important;
}



/* ============================================================
   AKADEMIA NUSA PUBLIKA â€” KATALOG BUKU v1
   Scoped only to pages containing .anp-cat-v1
   ============================================================ */

body:has(.anp-cat-v1) .pkp_structure_head,
body:has(.anp-cat-v1) .cmp_breadcrumbs,
body:has(.anp-cat-v1) .pkp_structure_sidebar,
body:has(.anp-cat-v1) .pkp_structure_footer_wrapper,
body:has(.anp-cat-v1) .pkp_structure_footer,
body:has(.anp-cat-v1) .pkp_brand_footer,
body:has(.anp-cat-v1) .page_custom > h1,
body:has(.anp-cat-v1) .page > h1,
body:has(.anp-cat-v1) .pkp_structure_main > h1 {
  display: none !important;
}

body:has(.anp-cat-v1) .pkp_structure_page,
body:has(.anp-cat-v1) .pkp_structure_content,
body:has(.anp-cat-v1) .pkp_structure_main,
body:has(.anp-cat-v1) .page,
body:has(.anp-cat-v1) .page_custom,
body:has(.anp-cat-v1) .page_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

body:has(.anp-cat-v1) .pkp_structure_page::before,
body:has(.anp-cat-v1) .pkp_structure_page::after,
body:has(.anp-cat-v1) .pkp_structure_content::before,
body:has(.anp-cat-v1) .pkp_structure_content::after,
body:has(.anp-cat-v1) .pkp_structure_main::before,
body:has(.anp-cat-v1) .pkp_structure_main::after {
  display: none !important;
  content: none !important;
}

.anp-cat-v1 {
  --navy: #0b315e;
  --blue: #1e6292;
  --ink: #1f2935;
  --muted: #6d7a88;
  --line: #e2e7ec;
  --soft: #f7f9fb;
  width: 100%;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
}

.anp-cat-v1 * { box-sizing: border-box; }

.anp-cat-v1__header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.anp-cat-v1__header-inner,
.anp-cat-v1__hero-inner,
.anp-cat-v1__filters-inner,
.anp-cat-v1__empty,
.anp-cat-v1__about-inner,
.anp-cat-v1__cta-inner,
.anp-cat-v1__footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.anp-cat-v1__header-inner {
  min-height: 82px;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 40px;
}

.anp-cat-v1__brand img {
  display: block;
  max-width: 235px;
  max-height: 54px;
  object-fit: contain;
}

.anp-cat-v1__nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  align-items: center;
}

.anp-cat-v1__nav a {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  padding: 28px 0 24px;
  border-bottom: 2px solid transparent;
}

.anp-cat-v1__nav a.is-active {
  font-weight: 700;
  border-bottom-color: var(--navy);
}

.anp-cat-v1__hero {
  background: linear-gradient(90deg, #fff 0%, #fff 55%, #f6f8fa 100%);
  border-bottom: 1px solid var(--line);
}

.anp-cat-v1__hero-inner {
  min-height: 360px;
  padding: 44px 28px 34px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 40px;
}

.anp-cat-v1__crumb {
  display: flex;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 12px;
}

.anp-cat-v1__crumb a {
  color: var(--blue) !important;
  text-decoration: none !important;
}

.anp-cat-v1__hero h1 {
  margin: 0 0 14px !important;
  color: var(--navy) !important;
  font-size: 54px !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
  font-weight: 700 !important;
}

.anp-cat-v1__hero p {
  max-width: 580px;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.anp-cat-v1__hero-art img {
  display: block;
  width: 100%;
  max-height: 285px;
  object-fit: contain;
}

.anp-cat-v1__filters {
  padding: 28px;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
}

.anp-cat-v1__filters-inner {
  display: grid;
  grid-template-columns: 1.8fr .8fr .8fr;
  gap: 14px;
}

.anp-cat-v1__search {
  display: grid;
  grid-template-columns: 42px 1fr 88px;
  border: 1px solid #d9e0e7;
  background: #fff;
  min-height: 52px;
}

.anp-cat-v1__search img {
  width: 22px;
  height: 22px;
  align-self: center;
  justify-self: center;
}

.anp-cat-v1__search input,
.anp-cat-v1__filters select {
  border: 0;
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
}

.anp-cat-v1__search input:disabled,
.anp-cat-v1__filters select:disabled,
.anp-cat-v1__search button:disabled {
  opacity: 1;
  cursor: default;
}

.anp-cat-v1__search button {
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.anp-cat-v1__filters select {
  min-height: 52px;
  border: 1px solid #d9e0e7;
}

.anp-cat-v1__empty {
  padding: 48px 28px 26px;
}

.anp-cat-v1__empty-inner {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--soft);
  border: 1px solid #eef1f4;
}

.anp-cat-v1__empty-inner img {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
}

.anp-cat-v1__empty h2 {
  margin: 0 0 12px !important;
  color: var(--navy) !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.anp-cat-v1__empty p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.anp-cat-v1__about-inner {
  margin-top: 8px;
  padding: 48px 28px 62px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}

.anp-cat-v1__about-title span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.anp-cat-v1__about-title h2 {
  margin: 15px 0 0 !important;
  color: var(--navy) !important;
  font-size: 34px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

.anp-cat-v1__about-copy {
  padding-left: 38px;
  border-left: 1px solid #cfd7df;
}

.anp-cat-v1__about-copy p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.anp-cat-v1__cta {
  padding: 0 28px 68px;
}

.anp-cat-v1__cta-inner {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--soft);
  border: 1px solid #eef1f4;
}

.anp-cat-v1__cta-inner > img {
  width: 58px;
  height: 58px;
}

.anp-cat-v1__cta h2 {
  margin: 0 0 5px !important;
  color: var(--navy) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.anp-cat-v1__cta p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.anp-cat-v1__cta a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.anp-cat-v1__footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.anp-cat-v1__footer-inner {
  padding: 20px 28px 22px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
}

.anp-cat-v1__footer-inner > img {
  max-width: 220px;
  max-height: 50px;
  object-fit: contain;
}

.anp-cat-v1__footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.anp-cat-v1__footer-links a {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 13px;
}

.anp-cat-v1__footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .anp-cat-v1__header-inner {
    grid-template-columns: 1fr;
  }
  .anp-cat-v1__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
  .anp-cat-v1__nav a {
    padding: 0 0 10px;
  }
  .anp-cat-v1__hero-inner {
    grid-template-columns: 1fr;
  }
  .anp-cat-v1__filters-inner {
    grid-template-columns: 1fr;
  }
  .anp-cat-v1__about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .anp-cat-v1__about-copy {
    padding-left: 0;
    border-left: 0;
  }
  .anp-cat-v1__cta-inner {
    grid-template-columns: 60px 1fr;
  }
  .anp-cat-v1__cta-inner > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .anp-cat-v1__footer-inner {
    grid-template-columns: 1fr;
  }
  .anp-cat-v1__footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .anp-cat-v1__hero-inner,
  .anp-cat-v1__filters,
  .anp-cat-v1__empty,
  .anp-cat-v1__about-inner,
  .anp-cat-v1__cta,
  .anp-cat-v1__header-inner,
  .anp-cat-v1__footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .anp-cat-v1__hero h1 {
    font-size: 40px !important;
  }
  .anp-cat-v1__search {
    grid-template-columns: 38px 1fr 72px;
  }
  .anp-cat-v1__footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}




/* ============================================================
   AKADEMIA NUSA PUBLIKA â€” PENERBITAN v5
   Visual language matched to Katalog Buku
   ============================================================ */

/* Hide ALL OJS chrome on Publishing page */
body:has(.anp-pub-v5) .pkp_structure_head,
body:has(.anp-pub-v5) .cmp_breadcrumbs,
body:has(.anp-pub-v5) .pkp_structure_sidebar,
body:has(.anp-pub-v5) .pkp_structure_footer_wrapper,
body:has(.anp-pub-v5) .pkp_structure_footer,
body:has(.anp-pub-v5) .pkp_brand_footer,
body:has(.anp-pub-v5) .page_custom > h1,
body:has(.anp-pub-v5) .page > h1,
body:has(.anp-pub-v5) .pkp_structure_main > h1 {
  display: none !important;
}

body:has(.anp-pub-v5) .pkp_structure_page,
body:has(.anp-pub-v5) .pkp_structure_content,
body:has(.anp-pub-v5) .pkp_structure_main,
body:has(.anp-pub-v5) .page,
body:has(.anp-pub-v5) .page_custom,
body:has(.anp-pub-v5) .page_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

body:has(.anp-pub-v5) .pkp_structure_page::before,
body:has(.anp-pub-v5) .pkp_structure_page::after,
body:has(.anp-pub-v5) .pkp_structure_content::before,
body:has(.anp-pub-v5) .pkp_structure_content::after,
body:has(.anp-pub-v5) .pkp_structure_main::before,
body:has(.anp-pub-v5) .pkp_structure_main::after {
  display: none !important;
  content: none !important;
}

/* Base */
.anp-pub-v5 {
  --navy: #0b315e;
  --blue: #1e6292;
  --ink: #1f2935;
  --muted: #6d7a88;
  --line: #e2e7ec;
  --soft: #f7f9fb;
  width: 100%;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
}

.anp-pub-v5 * {
  box-sizing: border-box;
}

/* Shared max width */
.anp-pub-v5__header-inner,
.anp-pub-v5__hero-inner,
.anp-pub-v5__about-inner,
.anp-pub-v5__scope-inner,
.anp-pub-v5__catalog-inner,
.anp-pub-v5__footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.anp-pub-v5__header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.anp-pub-v5__header-inner {
  min-height: 82px;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 40px;
}

.anp-pub-v5__brand img {
  display: block;
  max-width: 235px;
  max-height: 54px;
  object-fit: contain;
}

.anp-pub-v5__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
}

.anp-pub-v5__nav a {
  padding: 28px 0 24px;
  color: var(--navy) !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
}

.anp-pub-v5__nav a.is-active {
  border-bottom-color: var(--navy);
  font-weight: 700;
}

/* Hero */
.anp-pub-v5__hero {
  background: linear-gradient(90deg, #fff 0%, #fff 54%, #f6f8fa 100%);
  border-bottom: 1px solid var(--line);
}

.anp-pub-v5__hero-inner {
  min-height: 410px;
  padding: 46px 28px 40px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 48px;
}

.anp-pub-v5__crumb {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.anp-pub-v5__crumb a {
  color: var(--blue) !important;
  text-decoration: none !important;
}

.anp-pub-v5__hero h1 {
  max-width: 650px;
  margin: 0 0 15px !important;
  color: var(--navy) !important;
  font-size: 50px !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  font-weight: 700 !important;
}

.anp-pub-v5__hero h2 {
  margin: 0 0 15px !important;
  color: var(--ink) !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

.anp-pub-v5__hero p {
  max-width: 610px;
  margin: 0 0 26px !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.anp-pub-v5__hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.anp-pub-v5__btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.anp-pub-v5__btn:hover {
  background: var(--blue);
}

.anp-pub-v5__text-link {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.anp-pub-v5__hero-art {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.anp-pub-v5__hero-art img {
  display: block;
  width: 100%;
  max-width: 510px;
  max-height: 290px;
  object-fit: contain;
}

/* About */
.anp-pub-v5__about {
  background: #fff;
}

.anp-pub-v5__about-inner {
  padding: 62px 28px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 74px;
  border-bottom: 1px solid var(--line);
}

.anp-pub-v5__section-title > span,
.anp-pub-v5__scope-head > span,
.anp-pub-v5__catalog-inner > div:nth-child(2) > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.anp-pub-v5__section-title h2 {
  margin: 14px 0 0 !important;
  color: var(--navy) !important;
  font-size: 31px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

.anp-pub-v5__section-copy {
  padding-left: 38px;
  border-left: 1px solid #cfd7df;
}

.anp-pub-v5__section-copy p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.82 !important;
}

/* Scope */
.anp-pub-v5__scope {
  background: #fff;
}

.anp-pub-v5__scope-inner {
  padding: 62px 28px 70px;
}

.anp-pub-v5__scope-head {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.anp-pub-v5__scope-head h2 {
  margin: 11px 0 10px !important;
  color: var(--navy) !important;
  font-size: 32px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

.anp-pub-v5__scope-head p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.anp-pub-v5__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.anp-pub-v5__card {
  min-height: 275px;
  padding: 27px 22px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.anp-pub-v5__card > img {
  width: 62px;
  height: 62px;
  margin: 0 auto 19px;
  object-fit: contain;
}

.anp-pub-v5__card h3 {
  margin: 0 0 12px !important;
  color: var(--navy) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.anp-pub-v5__card p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* Catalog bridge */
.anp-pub-v5__catalog {
  padding: 0 28px 68px;
}

.anp-pub-v5__catalog-inner {
  padding: 27px 28px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--soft);
  border: 1px solid #eef1f4;
}

.anp-pub-v5__catalog-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.anp-pub-v5__catalog h2 {
  margin: 6px 0 5px !important;
  color: var(--navy) !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.anp-pub-v5__catalog p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Footer */
.anp-pub-v5__footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.anp-pub-v5__footer-inner {
  padding: 20px 28px 22px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
}

.anp-pub-v5__footer-inner > img {
  max-width: 220px;
  max-height: 50px;
  object-fit: contain;
}

.anp-pub-v5__footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 26px;
}

.anp-pub-v5__footer-links a {
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 13px;
}

.anp-pub-v5__footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .anp-pub-v5__header-inner {
    grid-template-columns: 1fr;
  }

  .anp-pub-v5__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .anp-pub-v5__nav a {
    padding: 0 0 10px;
  }

  .anp-pub-v5__hero-inner {
    grid-template-columns: 1fr;
  }

  .anp-pub-v5__about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .anp-pub-v5__section-copy {
    padding-left: 0;
    border-left: 0;
  }

  .anp-pub-v5__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anp-pub-v5__catalog-inner {
    grid-template-columns: 60px 1fr;
  }

  .anp-pub-v5__catalog-inner > .anp-pub-v5__btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .anp-pub-v5__footer-inner {
    grid-template-columns: 1fr;
  }

  .anp-pub-v5__footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .anp-pub-v5__header-inner,
  .anp-pub-v5__hero-inner,
  .anp-pub-v5__about-inner,
  .anp-pub-v5__scope-inner,
  .anp-pub-v5__catalog,
  .anp-pub-v5__footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .anp-pub-v5__hero h1 {
    font-size: 40px !important;
  }

  .anp-pub-v5__cards {
    grid-template-columns: 1fr;
  }

  .anp-pub-v5__catalog-inner {
    grid-template-columns: 1fr;
  }

  .anp-pub-v5__catalog-icon {
    display: none;
  }

  .anp-pub-v5__footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}


/* ============================================================
   BHUNGA AMATOR — LANDING PAGE v1
   Scoped only to pages containing .bha-page
   ============================================================ */

/* Hide OJS shell only on Bhunga Amator */
body:has(.bha-page) .cmp_breadcrumbs,
body:has(.bha-page) .pkp_structure_sidebar,
body:has(.bha-page) .page_custom > h1,
body:has(.bha-page) .page > h1,
body:has(.bha-page) .pkp_structure_main > h1 {
  display: none !important;
}

body:has(.bha-page) .pkp_structure_page,
body:has(.bha-page) .pkp_structure_content,
body:has(.bha-page) .pkp_structure_main,
body:has(.bha-page) .page,
body:has(.bha-page) .page_custom,
body:has(.bha-page) .page_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

body:has(.bha-page) .pkp_structure_page::before,
body:has(.bha-page) .pkp_structure_page::after,
body:has(.bha-page) .pkp_structure_content::before,
body:has(.bha-page) .pkp_structure_content::after,
body:has(.bha-page) .pkp_structure_main::before,
body:has(.bha-page) .pkp_structure_main::after,
body:has(.bha-page) .page_custom::before,
body:has(.bha-page) .page_custom::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* Base */
.bha-page {
  --navy: #0b315e;
  --navy-dark: #082744;
  --gold: #c7a56d;
  --gold-dark: #a98247;
  --ink: #1f2935;
  --muted: #6d7a88;
  --line: #e2e7ec;
  --soft: #f7f9fb;
  --warm: #fbf8f3;
  --white: #ffffff;

  width: 100%;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  line-height: 1.65;
}

.bha-page * {
  box-sizing: border-box;
}

.bha-page a {
  text-decoration: none !important;
}

.bha-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Navigation */
.bha-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.bha-nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.bha-brand {
  display: flex;
  flex-direction: column;
}

.bha-brand strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .03em;
}

.bha-brand span {
  margin-top: -3px;
  color: var(--gold-dark);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.bha-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.bha-nav-links a {
  color: var(--navy-dark) !important;
  font-size: 13px;
  font-weight: 600;
}

.bha-nav-links a:hover {
  color: var(--gold-dark) !important;
}

.bha-nav-links .bha-nav-cta {
  padding: 10px 18px;
  color: #fff !important;
  background: var(--gold);
  border-radius: 3px;
}

/* Hero */
.bha-hero {
  background: linear-gradient(90deg, #fff 0%, #fff 48%, #f8f5ef 100%);
  border-bottom: 1px solid var(--line);
}

.bha-hero-grid {
  min-height: 550px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
}

.bha-hero-copy {
  padding: 78px 56px 78px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bha-eyebrow {
  margin-bottom: 15px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.bha-hero h1,
.bha-page h2 {
  margin: 0 !important;
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400 !important;
}

.bha-hero h1 {
  max-width: 650px;
  font-size: clamp(42px, 4.2vw, 64px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.03em;
}

.bha-hero-copy > p {
  max-width: 570px;
  margin: 24px 0 0 !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.bha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.bha-btn {
  min-height: 48px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.bha-btn:hover {
  transform: translateY(-1px);
}

.bha-btn-primary {
  color: #fff !important;
  background: var(--gold);
  border: 1px solid var(--gold);
}

.bha-btn-primary:hover {
  background: var(--gold-dark);
}

.bha-btn-outline {
  color: var(--navy) !important;
  background: transparent;
  border: 1px solid var(--navy);
}

.bha-btn-outline:hover {
  color: #fff !important;
  background: var(--navy);
}

.bha-hero-media {
  min-height: 550px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f1e9, #ebe5da);
}

/* Temporary image placeholders */
.bha-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: #978b77;
  border: 1px dashed #cfbea0;
}

.bha-image-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

/* Highlights */
.bha-highlights {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.bha-highlight-grid {
  min-height: 130px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.bha-highlight {
  min-height: 76px;
  padding: 8px 26px;
  display: flex;
  gap: 17px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.bha-highlight:first-child {
  padding-left: 0;
}

.bha-highlight:last-child {
  border-right: 0;
}

.bha-highlight-icon {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.bha-highlight h3 {
  margin: 0 0 5px !important;
  color: var(--navy-dark) !important;
  font-size: 15px !important;
}

.bha-highlight p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* General sections */
.bha-section {
  padding: 88px 0;
}

.bha-section-soft {
  background: var(--soft);
}

.bha-page h2 {
  font-size: clamp(36px, 3.1vw, 48px) !important;
  line-height: 1.15 !important;
}

.bha-section-label {
  width: 44px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--gold);
}

.bha-two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.bha-content p {
  max-width: 590px;
  margin: 20px 0 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.bha-media {
  min-height: 450px;
  overflow: hidden;
  background: var(--warm);
}

.bha-heading-row {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 65px;
  align-items: end;
}

.bha-heading-row > p {
  max-width: 680px;
  margin: 0 !important;
  color: var(--muted) !important;
}

/* Program */
.bha-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bha-card {
  min-height: 270px;
  padding: 38px 32px;
  background: #fff;
  border: 1px solid #edf0f3;
  transition: .2s ease;
}

.bha-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(14,41,69,.07);
}

.bha-card-icon {
  margin-bottom: 25px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 37px;
}

.bha-card h3 {
  margin: 0 0 13px !important;
  color: var(--navy) !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

.bha-card p {
  margin: 0 !important;
  color: var(--muted) !important;
}

/* Gallery */
.bha-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bha-gallery-item {
  min-height: 255px;
  overflow: hidden;
  background: var(--soft);
}

/* Impact */
.bha-impact {
  text-align: center;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bha-impact-intro {
  max-width: 740px;
  margin: 0 auto 50px;
}

.bha-impact-intro .bha-section-label {
  margin-left: auto;
  margin-right: auto;
}

.bha-impact-intro p {
  margin: 18px auto 0 !important;
  color: var(--muted) !important;
}

.bha-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bha-impact-item {
  padding: 18px 32px;
  border-right: 1px solid var(--line);
}

.bha-impact-item:last-child {
  border-right: 0;
}

.bha-impact-symbol {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
}

.bha-impact-item h3 {
  margin: 0 0 9px !important;
  color: var(--navy) !important;
  font-size: 17px !important;
}

.bha-impact-item p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* Support */
.bha-support {
  background: linear-gradient(115deg, #fbf7ef 0%, #f5ecde 100%);
}

.bha-support-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
}

.bha-support-copy p {
  max-width: 650px;
  color: var(--muted) !important;
}

.bha-btn-saweria {
  margin-top: 18px;
  padding-left: 28px;
  padding-right: 28px;
  color: #45320b !important;
  background: #ffd45a;
  border: 1px solid #ffd45a;
}

.bha-btn-saweria:hover {
  background: #f3c53b;
}

.bha-support-note {
  margin-top: 10px !important;
  font-size: 12px !important;
}

.bha-quote {
  padding: 45px;
  border-left: 1px solid rgba(199,165,109,.55);
}

.bha-quote blockquote {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 39px);
  font-style: italic;
  line-height: 1.38;
}

/* Contact */
.bha-contact {
  padding: 58px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.bha-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 70px;
}

.bha-contact h2 {
  font-size: 31px !important;
}

.bha-contact h3 {
  margin: 0 0 14px !important;
  color: var(--navy) !important;
  font-size: 15px !important;
}

.bha-contact p {
  margin: 7px 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.bha-contact a {
  color: var(--navy) !important;
}

.bha-contact a:hover {
  text-decoration: underline !important;
}

/* Real image behaviour */
.bha-hero-media img,
.bha-media img,
.bha-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bha-hero-media img {
  min-height: 550px;
}

.bha-media img {
  min-height: 450px;
}

.bha-gallery-item img {
  min-height: 255px;
}

/* Responsive */
@media (max-width: 980px) {
  .bha-container {
    width: min(100% - 36px, 760px);
  }

  .bha-nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .bha-nav-links {
    gap: 16px;
  }

  .bha-hero-grid,
  .bha-two-col,
  .bha-support-grid {
    grid-template-columns: 1fr;
  }

  .bha-hero-copy {
    padding: 64px 0 48px;
  }

  .bha-hero-media {
    min-height: 420px;
  }

  .bha-highlight-grid,
  .bha-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bha-highlight {
    border-bottom: 1px solid var(--line);
  }

  .bha-program-grid {
    grid-template-columns: 1fr;
  }

  .bha-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bha-gallery {
    grid-template-columns: 1fr;
  }

  .bha-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bha-quote {
    border-left: 0;
    border-top: 1px solid rgba(199,165,109,.55);
  }
}

@media (max-width: 620px) {
  .bha-container {
    width: calc(100% - 28px);
  }

  .bha-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .bha-nav-links .bha-nav-cta {
    grid-column: 1 / -1;
    text-align: center;
  }

  .bha-hero h1 {
    font-size: 40px !important;
  }

  .bha-section {
    padding: 68px 0;
  }

  .bha-highlight-grid,
  .bha-impact-grid,
  .bha-contact-grid {
    grid-template-columns: 1fr;
  }

  .bha-highlight,
  .bha-highlight:first-child {
    padding: 23px 0;
    border-right: 0;
  }

  .bha-impact-item {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bha-impact-item:last-child {
    border-bottom: 0;
  }

  .bha-actions {
    flex-direction: column;
  }

  .bha-btn {
    width: 100%;
  }
}

/* ============================================================
   BHUNGA AMATOR — OJS HEADER CLEANUP PATCH
   Only affects pages containing .bha-page
   ============================================================ */

body:has(.bha-page) .pkp_structure_head {
  display: none !important;
}

/* Prevent leftover top spacing after the OJS header is removed */
body:has(.bha-page) .pkp_structure_page,
body:has(.bha-page) .pkp_structure_content,
body:has(.bha-page) .pkp_structure_main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ============================================================
   BHUNGA AMATOR — FIVE SUBPAGES v1
   Adds Tentang / Program / Kegiatan / Dampak / Dukungan.
   Does NOT change the existing .bha-page landing design.
   ============================================================ */

body:has(.bha-subpage) .pkp_structure_head,
body:has(.bha-subpage) .cmp_breadcrumbs,
body:has(.bha-subpage) .pkp_structure_sidebar,
body:has(.bha-subpage) .pkp_structure_footer_wrapper,
body:has(.bha-subpage) .pkp_structure_footer,
body:has(.bha-subpage) .pkp_brand_footer,
body:has(.bha-subpage) .page_custom > h1,
body:has(.bha-subpage) .page > h1,
body:has(.bha-subpage) .pkp_structure_main > h1 {
  display: none !important;
}

body:has(.bha-subpage) .pkp_structure_page,
body:has(.bha-subpage) .pkp_structure_content,
body:has(.bha-subpage) .pkp_structure_main,
body:has(.bha-subpage) .page,
body:has(.bha-subpage) .page_custom,
body:has(.bha-subpage) .page_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

body:has(.bha-subpage) .pkp_structure_page::before,
body:has(.bha-subpage) .pkp_structure_page::after,
body:has(.bha-subpage) .pkp_structure_content::before,
body:has(.bha-subpage) .pkp_structure_content::after,
body:has(.bha-subpage) .pkp_structure_main::before,
body:has(.bha-subpage) .pkp_structure_main::after {
  display: none !important;
  content: none !important;
}

.bha-subpage {
  --navy: #0b315e;
  --navy-deep: #082744;
  --blue: #1e6292;
  --gold: #c7a56d;
  --gold-dark: #a98247;
  --ink: #1f2935;
  --muted: #6d7a88;
  --line: #e2e7ec;
  --soft: #f7f9fb;
  --warm: #fbf8f3;
  width: 100%;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
}

.bha-subpage * { box-sizing: border-box; }
.bha-subpage a { text-decoration: none !important; }
.bha-subcontainer { max-width: 1180px; margin: 0 auto; }

/* shared header */
.bha-subheader { border-bottom: 1px solid var(--line); background: #fff; }
.bha-subheader-inner {
  min-height: 82px;
  padding: 12px 28px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  align-items: center;
}
.bha-subbrand { color: var(--navy) !important; display: flex; flex-direction: column; }
.bha-subbrand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}
.bha-subbrand-tag {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bha-subnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.bha-subnav a {
  padding: 27px 0 23px;
  color: var(--navy) !important;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 600;
}
.bha-subnav a.is-active { border-bottom-color: var(--gold); font-weight: 800; }
.bha-subnav a.bha-back-anp { color: var(--blue) !important; }
.bha-subnav a.bha-subnav-cta {
  padding: 11px 17px;
  color: #fff !important;
  background: var(--gold);
  border-bottom: 0;
  border-radius: 3px;
}

/* hero */
.bha-subhero {
  background: linear-gradient(90deg, #fff 0%, #fff 53%, #f7f3ec 100%);
  border-bottom: 1px solid var(--line);
}
.bha-subhero-inner {
  min-height: 390px;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: stretch;
}
.bha-subhero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bha-subeyebrow {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.bha-subhero h1 {
  max-width: 570px;
  margin: 13px 0 16px !important;
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.5vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.025em;
  font-weight: 400 !important;
}
.bha-subhero p {
  max-width: 590px;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}
.bha-subhero-media {
  min-height: 320px;
  overflow: hidden;
  background: var(--warm);
}
.bha-subhero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* sections */
.bha-subsection { padding: 64px 28px 70px; background: #fff; }
.bha-subsection-soft { background: var(--soft); }
.bha-subsection-head { max-width: 760px; margin-bottom: 28px; }
.bha-subsection-head.bha-left { margin-bottom: 22px; }
.bha-subsection-head > span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.bha-subsection-head h2,
.bha-subpage .bha-split h2,
.bha-subpage .bha-note-grid h2,
.bha-subpage .bha-subcta h2 {
  margin: 10px 0 10px !important;
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px !important;
  line-height: 1.22 !important;
  font-weight: 400 !important;
}
.bha-subsection-head p,
.bha-copy p,
.bha-note-grid p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

/* cards */
.bha-subcards { display: grid; gap: 16px; }
.bha-subcards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bha-subcards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bha-subcard {
  min-height: 235px;
  padding: 26px 23px;
  border: 1px solid var(--line);
  background: #fff;
}
.bha-subicon {
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
}
.bha-subcard h3 {
  margin: 0 0 10px !important;
  color: var(--navy) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
.bha-subcard p,
.bha-sublist {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}
.bha-sublist { padding-left: 18px; }
.bha-status {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 10px;
  background: var(--warm);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
}

/* text split */
.bha-split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: start;
}
.bha-copy {
  padding-left: 34px;
  border-left: 1px solid #cfd7df;
}
.bha-copy p + p { margin-top: 15px !important; }

/* note */
.bha-note-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
}
.bha-note-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #dbc69e;
  color: var(--gold-dark);
  font-size: 30px;
}

/* quote */
.bha-subquote { padding: 42px 28px; background: #eef5fa; }
.bha-subquote blockquote {
  max-width: 800px;
  margin: 0 auto;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.45;
  font-style: italic;
  text-align: center;
}

/* support */
.bha-support-columns {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 54px;
  align-items: start;
}
.bha-saweria-btn {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  background: #ffd45a;
  color: #3e300e !important;
  font-weight: 800;
  border-radius: 4px;
}
.bha-token-note {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}
.bha-token-note code { color: #8a4b2a; }
.bha-use-box {
  padding: 28px;
  background: var(--warm);
  border: 1px solid #eadfcd;
}
.bha-use-box h3 {
  margin: 0 0 15px !important;
  color: var(--navy) !important;
  font-size: 17px !important;
}
.bha-checklist { list-style: none; padding: 0; margin: 0; }
.bha-checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted);
  font-size: 13px;
}
.bha-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

/* CTA */
.bha-subcta { padding: 0 28px 68px; background: #fff; }
.bha-subcta-inner {
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: var(--warm);
  border: 1px solid #eee4d5;
}
.bha-subbtn {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
}
.bha-subbtn:hover { background: var(--blue); }

/* footer */
.bha-subfooter { border-top: 1px solid var(--line); background: #fff; }
.bha-subfooter-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 48px;
}
.bha-subfooter strong {
  color: var(--navy);
  font-size: 14px;
}
.bha-subfooter p {
  margin: 7px 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}
.bha-subfooter a { color: var(--navy) !important; }

/* responsive */
@media (max-width: 980px) {
  .bha-subheader-inner { grid-template-columns: 1fr; }
  .bha-subnav { justify-content: flex-start; gap: 16px; }
  .bha-subnav a { padding: 0 0 8px; }
  .bha-subhero-inner,
  .bha-split,
  .bha-support-columns { grid-template-columns: 1fr; }
  .bha-subhero-media { min-height: 300px; }
  .bha-subcards-4 { grid-template-columns: repeat(2, 1fr); }
  .bha-subcards-3 { grid-template-columns: 1fr; }
  .bha-copy { padding-left: 0; border-left: 0; }
  .bha-subcta-inner { grid-template-columns: 1fr; }
  .bha-subfooter-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .bha-subheader-inner,
  .bha-subhero-inner,
  .bha-subsection,
  .bha-subquote,
  .bha-subcta,
  .bha-subfooter-grid { padding-left: 18px; padding-right: 18px; }
  .bha-subnav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .bha-subnav .bha-back-anp,
  .bha-subnav .bha-subnav-cta { grid-column: 1 / -1; }
  .bha-subhero h1 { font-size: 40px !important; }
  .bha-subcards-4 { grid-template-columns: 1fr; }
  .bha-note-grid { grid-template-columns: 1fr; }
  .bha-subfooter-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BHUNGA AMATOR — HEADER CONSISTENCY PATCH v7.1
   Makes all .bha-subpage headers visually match the main .bha-page header.
   ============================================================ */

.bha-subpage .bha-subcontainer {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
}

.bha-subheader-inner {
  min-height: 78px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.bha-subbrand {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.bha-subbrand-name {
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: .03em;
}

.bha-subbrand-tag {
  margin-top: -3px;
  color: var(--gold-dark);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.bha-subnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 26px;
}

.bha-subnav a {
  padding: 0;
  color: var(--navy-deep) !important;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.bha-subnav a.is-active {
  padding-bottom: 6px;
  border-bottom-color: var(--gold);
  font-weight: 700;
}

.bha-subnav a.bha-back-anp {
  color: var(--navy-deep) !important;
}

.bha-subnav a.bha-subnav-cta {
  padding: 10px 18px;
  color: #fff !important;
  background: var(--gold);
  border-bottom: 0;
  border-radius: 3px;
}

@media (max-width: 980px) {
  .bha-subpage .bha-subcontainer {
    width: min(100% - 36px, 760px);
  }

  .bha-subheader-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .bha-subnav {
    justify-content: flex-start;
    gap: 16px;
  }

  .bha-subnav a {
    padding: 0 0 8px;
  }
}

@media (max-width: 620px) {
  .bha-subpage .bha-subcontainer {
    width: calc(100% - 28px);
  }

  .bha-subnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .bha-subnav .bha-back-anp,
  .bha-subnav .bha-subnav-cta {
    grid-column: 1 / -1;
  }

  .bha-subnav .bha-subnav-cta {
    text-align: center;
  }
}
