/* English reading library with the Filipino site's existing brand and navigation. */
/* Reading pages render their final geometry immediately; no replay on refresh. */
html:has(body.ph-guides-page){scroll-behavior:auto!important}
.ph-guides-page main,.ph-guides-page main *{animation:none!important}
.ph-guides-page main :is(.entrance-pending,.global-reveal){opacity:1!important;translate:none!important;transform:none!important;filter:none!important;transition:none!important}
.ph-guides-page>header,.ph-guides-page>header .header,.ph-guides-page>header .brand{transition:none!important}
.ph-guides-page main .global-motion-hero h1{opacity:1!important;transform:none!important;filter:none!important}
body.ph-guides-page{font-family:Arial,"Segoe UI",sans-serif;line-height:1.7}
.ph-guides-page>header .brand,.ph-guides-page>footer .brand{width:250px;max-width:100%;height:auto!important;overflow:visible;transform:none!important;flex:0 0 250px}
.ph-guides-page>header .brand .brand-logo,.ph-guides-page>footer .brand .brand-logo{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;padding:0;aspect-ratio:4.7/1!important;object-fit:contain;transform:none!important}
.ph-guides-page>header nav{font-size:14px;gap:16px;line-height:1.5}
.ph-guides-page>header nav>a,.ph-guides-page>header nav>details>summary{white-space:nowrap}
.ph-guides-page>header #mega-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:20px;width:min(900px,calc(100vw - 60px));max-height:calc(100vh - 130px);overflow:auto}
.ph-guides-page>header #mega-links>a{min-width:0;padding:12px 14px;background:#f7f5ef;border-radius:6px;font-size:14px;line-height:1.45;min-height:54px;display:flex;align-items:center}
.ph-guides-page>footer .footer-section-title{font-size:18px;line-height:1.4;letter-spacing:0;margin-bottom:20px}
.ph-guides-page>footer .ph-footer-description{font-size:14px;line-height:1.7;max-width:34ch;margin:18px 0 0}
.ph-guides-page>footer .footer-services>a{line-height:1.65}
.ph-guides-page .ph-mobile-contact{display:none}
.ph-guides-page main :is(h1,h2,h3,h4,p,li,a,td,th){word-break:normal;overflow-wrap:break-word}
.ph-guides-page main :is(img,video,iframe){max-width:100%}
.ph-guides-page main :is(.entrance-pending,.global-reveal){opacity:1!important;translate:none!important;filter:none!important;clip-path:none!important;transform:none!important}
@media(max-width:1100px){.ph-guides-page>header nav{gap:11px;font-size:13px}.ph-guides-page>header .brand{width:240px;flex-basis:240px}}
@media(max-width:950px){
 .ph-guides-page>.floating{display:none}
 .ph-guides-page .ph-mobile-contact{display:block;padding:24px 22px;background:#faf9f6;border-top:1px solid #e7ddc8}
 .ph-guides-page .ph-mobile-contact .button{display:flex;width:100%;min-height:48px;margin:0;border-radius:12px;white-space:normal}
 .ph-guides-page main :is(input,select,textarea){font-size:16px!important;min-width:0;max-width:100%}
}
@media(max-width:650px){
 .ph-guides-page>header .header{gap:12px;padding-left:16px;padding-right:16px;min-height:76px}
 .ph-guides-page>header .brand{width:220px;flex-basis:220px;max-width:calc(100% - 58px)}
 .ph-guides-page>header #mega-links{grid-template-columns:minmax(0,1fr)}
 .ph-guides-page .utility-slogan{display:none}
 .ph-guides-page .top-contacts>.top-contact-link:not(.top-whatsapp){display:none}
 .ph-guides-page .top-contacts{align-items:center}
 .ph-guides-page>footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .ph-guides-page main h1{font-size:30px!important;line-height:1.3!important}
 .ph-guides-page main h2{font-size:25px;line-height:1.35}
}
