/* Scoped municipal information layout; sections share a single flat surface. */
html body.pinarabong-page { background: #f5f7f8 !important; }
html body.pinarabong-page main { color: #46545f; font: 400 14px/1.75 "Inter", "Segoe UI", Arial, sans-serif; }
html body.pinarabong-page main * { box-sizing: border-box; letter-spacing: 0 !important; }
html body.pinarabong-page main :is(h1,h2,h3,strong,a,select) { font-family: "Inter", "Segoe UI", Arial, sans-serif !important; }
.pina-container { width: calc(100% - 64px); max-width: 1160px; margin-inline: auto; }
.pina-program-header { background: #edf2f5; border-bottom: 1px solid #dce3e8; padding: 24px 0 32px; }
.pina-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 11px; color: #5c6d79; }
.pina-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #8a969e; }
.pina-breadcrumb a:hover { text-decoration: underline; }
.pina-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.pina-heading-row > div { min-width: 0; max-width: 760px; }
.pina-category { margin: 0 0 8px; font-size: 11px; color: #326751; font-weight: 600; }
html body.pinarabong-page .pina-heading-row h1 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; color: #183d58; overflow-wrap: anywhere; }
.pina-description { margin: 12px 0 0; max-width: 66ch; font-size: 14px; }
.pina-identification { margin: 16px 0 0; font-size: 11px; color: #697984; }
.pina-seal { width: 88px; height: 88px; flex: 0 0 88px; object-fit: contain; }
.pina-layout { display: grid; grid-template-columns: 192px minmax(0,1fr); gap: 32px; align-items: start; padding-block: 32px 48px; }
.pina-sidebar { min-width: 0; position: sticky; top: 24px; }
.pina-desktop-nav { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; border-right: 1px solid #dce3e8; }
.pina-desktop-nav p { margin: 0 0 12px; padding-left: 12px; color: #75818a; font-size: 10px; text-transform: uppercase; font-weight: 600; }
.pina-desktop-nav a { padding: 9px 12px; min-height: 36px; color: #526371; font-size: 12px; border-left: 2px solid transparent; }
.pina-desktop-nav a[aria-current] { background: #e9f0f4; color: #174465; border-color: #39755b; font-weight: 600; }
.pina-desktop-nav a:hover { background: #edf1f4; }
.pina-mobile-nav { display: none; }
.pina-mobile-nav > span { display: block; margin-bottom: 6px; font-size: 11px; color: #647580; }
.pina-section-picker { position: relative; min-width: 0; }
.pina-section-picker summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 20px 10px 14px; list-style: none;
  background: #fff; border: 1px solid #ced9e1; border-radius: 8px;
  color: #00365f; font-size: 13px; cursor: pointer;
}
.pina-section-picker summary::-webkit-details-marker { display: none; }
.pina-section-picker summary i { width: 7px; height: 7px; flex-shrink: 0; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.pina-section-picker[open] summary i { transform: rotate(225deg); }
.pina-section-picker > nav {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0;
  max-height: min(300px, 50vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px; background: #fff; border: 1px solid #dce3e8; border-radius: 8px;
  box-shadow: 0 5px 16px rgba(0,30,65,.08);
}
.pina-section-picker:not([open]) > nav { display: none; }
.pina-section-picker > nav a { display: block; padding: 10px 14px; min-height: 40px; color: #00365f; font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; text-decoration: none; }
.pina-section-picker > nav a:is(:hover,:focus-visible,[aria-current]) { background: #eaf3f8; border-radius: 4px; }
.pina-section-picker summary:focus-visible { outline: 2px solid #7b909e; outline-offset: 2px; }
html body.pinarabong-page .pina-content { min-width: 0; background: #fff !important; border: 1px solid #e2e7eb; border-radius: 4px; padding: 0 32px; box-shadow: none !important; }
html body.pinarabong-page .pina-content > section { margin: 0; padding: 28px 0; border: 0; border-bottom: 1px solid #e5e9ec; border-radius: 0; background: transparent !important; box-shadow: none !important; scroll-margin-top: 24px; }
html body.pinarabong-page .pina-content > section:last-child { border-bottom: 0; }
html body.pinarabong-page .pina-content h2 { font-size: 19px; line-height: 1.4; font-weight: 600; color: #243f53; margin: 0 0 16px; }
html body.pinarabong-page .pina-content h3 { font-size: 13px; line-height: 1.6; font-weight: 600; color: #3a5060; margin: 20px 0 8px; }
.pina-content :is(p,.pina-prose,li,dd) { max-width: 74ch; overflow-wrap: anywhere; }
.pina-content p { margin: 0 0 12px; }
.pina-content p:last-child { margin-bottom: 0; }
.pina-content ul,.pina-content ol { margin: 0; padding-left: 20px; }
.pina-content li { padding: 0 0 6px 4px; }
.pina-content li::marker { color: #6a7f8d; }
.pina-content .pina-empty { font-size: 13px; color: #6b7780; margin: 0; }
.pina-focus { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pina-facts { margin: 0; }
.pina-facts > div { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 16px; padding: 8px 0; }
.pina-facts dt { font-size: 12px; font-weight: 500; color: #6a7882; }
.pina-facts dd { margin: 0; font-size: 13px; }
.pina-facts a { color: #315d7a; text-decoration: underline; text-underline-offset: 3px; }
.pina-resources,.pina-updates { list-style: none; padding: 0 !important; }
.pina-resources li { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #e5e9ec; padding: 12px 0; }
.pina-resources li > div { min-width: 0; }
.pina-resources strong { font-size: 13px; font-weight: 500; }
.pina-resources small { display: block; color: #73818a; font-size: 11px; margin-top: 4px; }
html body.pinarabong-page .pina-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: 8px 12px; border: 1px solid #d0dde6 !important; border-radius: 4px; background: #edf3f7 !important; color: #345770 !important; font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; box-shadow: none !important; transform: none !important; }
html body.pinarabong-page .pina-button:hover { background: #e4edf3 !important; box-shadow: none !important; transform: none !important; }
html body.pinarabong-page .pina-button::before,html body.pinarabong-page .pina-button::after { content: none !important; }
.pina-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pina-updates li { padding: 12px 0; border-bottom: 1px solid #e5e9ec; }
.pina-updates time { display: block; font-size: 11px; color: #73818a; }
.pina-updates a { color: #2c5572; font-weight: 500; }
.pina-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.pina-gallery figure { margin: 0; }
.pina-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.pina-gallery figcaption { font-size: 12px; margin-top: 8px; overflow-wrap: anywhere; }
.pina-footer { background: #173b54; color: #e2e9ee; padding: 24px 0; font: 400 12px/1.6 "Inter",Arial,sans-serif; }
.pina-footer > div { display: flex; justify-content: space-between; gap: 24px; }
.pina-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.pinarabong-page :is(main,.pina-footer) :is(a,select):focus-visible { outline: 2px solid #3a7359; outline-offset: 3px; }
@media(max-width: 900px) {
  .pina-layout { grid-template-columns: 168px minmax(0,1fr); gap: 24px; }
  html body.pinarabong-page .pina-content { padding-inline: 24px; }
  .pina-facts > div { grid-template-columns: 120px minmax(0,1fr); }
}
@media(max-width: 767.98px) {
  .pina-container { width: calc(100% - 32px); }
  .pina-program-header { padding: 16px 0 24px; }
  .pina-breadcrumb ol { font-size: 10px; margin-bottom: 20px; }
  .pina-heading-row { gap: 16px; align-items: flex-start; }
  html body.pinarabong-page .pina-heading-row h1 { font-size: 26px; }
  .pina-seal { width: 56px; height: 56px; flex-basis: 56px; }
  .pina-description { font-size: 13px; }
  .pina-layout { display: block; padding-block: 20px 32px; }
  .pina-sidebar { position: static; margin-bottom: 20px; }
  .pina-desktop-nav { display: none; }
  .pina-mobile-nav { display: block; }
  .pina-mobile-nav label { display: block; font-size: 11px; color: #647580; margin-bottom: 6px; }
  .pina-mobile-nav select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ced9e1; border-radius: 4px; background: #fff; color: #354e61; font-size: 13px; }
  html body.pinarabong-page .pina-content { padding-inline: 20px; }
  html body.pinarabong-page .pina-content > section { padding-block: 24px; }
  html body.pinarabong-page .pina-content h2 { font-size: 18px; }
  .pina-focus { display: block; }
  .pina-facts > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .pina-resources li { align-items: flex-start; flex-direction: column; }
  html body.pinarabong-page .pina-button { min-height: 44px; }
  .pina-gallery { grid-template-columns: minmax(0,1fr); }
  .pina-footer > div { flex-direction: column; gap: 12px; }
}
@media(prefers-reduced-motion: reduce) { .pinarabong-page { scroll-behavior: auto; } }
