/* Shared visual system for every public page. Keep page-specific layouts intact. */
body.po-site.po-design-2026 {
    --po-surface: #f5f7fa;
    --po-border: #dfe7ee;
    --po-shadow: 0 8px 28px rgba(15, 42, 65, .055);
    background: var(--po-surface);
    color: #405569;
    -webkit-font-smoothing: antialiased;
}
body.po-site.po-design-2026 h1 {
    font-size: clamp(36px, 4.2vw, 62px) !important;
    line-height: 1.13 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance !important;
    text-shadow: none !important;
    font-weight: 750 !important;
}
body.po-site.po-design-2026 :is(h2,h3,h4) { text-wrap: balance; letter-spacing: -.025em; }
body.po-site.po-design-2026 p { text-wrap: pretty; }
html[dir="rtl"] body.po-site.po-design-2026 :is(h1,h2,h3,h4,h5,h6) {
    letter-spacing: 0 !important;
    line-height: 1.65 !important;
}
body.po-site.po-design-2026 :is(a,button,input,select,textarea):focus-visible {
    outline: 3px solid #ec8d40 !important;
    outline-offset: 4px;
}
body.po-site.po-design-2026 :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    border-radius: 12px;
    border-color: #ced9e3;
    font-size: 16px;
}
body.po-site.po-design-2026 textarea { line-height: 1.7; }
body.po-site.po-design-2026 :is(button,a.btn,[class$="-button"],[class$="-btn"]) {
    transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
body.po-site.po-design-2026 :is(.pharmaone-nav,.po-nav-inner) { background: #fff !important; }
body.po-site.po-design-2026 .pharmaone-nav { box-shadow: 0 2px 18px rgba(6,42,70,.045) !important; }
body.po-site.po-design-2026 .pharmaone-nav::before,
body.po-site.po-design-2026 .pharmaone-nav::after { display: none !important; }

/* One clear visual rhythm, with room for the original photography. */
body.po-site.po-design-2026 :is(.about-hero,.po-mfg-hero,.gallery-premium-hero,.career-hero,.contact-hero,.onegroup-hero,.profile-hero,.po-products-hero,.po-price-hero,.po-news-public-hero,.po-team-hero,.poql-hero,.po-pl-hero,.tp-hero,.factory-hero,.po-awards-hero,.po-branches-hero,.po-verify-hero) {
    min-height: 520px !important;
    height: auto !important;
    border-radius: 0 0 24px 24px !important;
}
body.po-site.po-design-2026 :is(.about-hero-content,.po-mfg-hero-content,.gallery-premium-hero-content,.career-hero-content,.contact-hero-content,.onegroup-hero-content,.profile-hero-content,.po-products-hero-copy,.po-price-hero-content,.po-news-public-copy,.poql-hero-inner,.tp-hero-content) {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
}
body.po-site.po-design-2026 :is(.about-hero,.po-mfg-hero,.gallery-premium-hero,.career-hero,.contact-hero,.onegroup-hero,.profile-hero,.po-products-hero,.po-price-hero,.po-news-public-hero,.poql-hero,.tp-hero) { padding-block: 0 !important; }
body.po-site.po-design-2026 .factory-hero-grid { padding-block: 12px !important; gap: 48px !important; }
body.po-site.po-design-2026 .factory-hero-visual { min-height: 0 !important; display:block !important; }
body.po-site.po-design-2026 .factory-hero-photo { width:100%; height:300px; object-fit:cover; border-radius:18px; border:1px solid rgba(255,255,255,.2); margin-bottom:16px; }
body.po-site.po-design-2026 .factory-orbit { display:grid; grid-template-columns:1fr 1fr; gap:10px; width:100%; height:auto; min-width:0; aspect-ratio:auto; place-items:stretch; border:0; border-radius:0; background:none; box-shadow:none; animation:none; }
body.po-site.po-design-2026 .factory-orbit::before,
body.po-site.po-design-2026 .factory-orbit::after,
body.po-site.po-design-2026 .factory-orbit-core { display:none; }
body.po-site.po-design-2026 .factory-orbit-label { position:static; transform:none !important; animation:none !important; padding:13px; border-radius:12px; font-size:12px; width:auto; min-width:0; white-space:normal; box-shadow:none; }
body.po-site.po-design-2026 :is(.po-branches-hero,.po-verify-hero,.po-team-hero,.po-awards-hero,.po-pl-hero,.factory-hero) {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}
body.po-site.po-design-2026 :is(.hero-media-slide,.hero-media-content) {
    min-height: 670px !important;
}
body.po-site.po-design-2026 .hero-media-content { padding-top: 65px !important; padding-bottom: 65px !important; }
body.po-site.po-design-2026 .hero-media-content-inner { max-width: 850px; }
body.po-site.po-design-2026 .hero-media-description { max-width: 640px; font-size: 18px !important; line-height: 1.75 !important; }
body.po-site.po-design-2026 :is(.about-hero-lead,.po-mfg-hero-lead,.po-products-hero-copy>p,.po-price-hero-content>p,.po-news-public-lead,.profile-hero-content>p) {
    font-size: 18px !important; line-height: 1.75 !important; max-width: 760px;
}
body.po-site.po-design-2026 :is(.hero-media-badge,.about-badge,.po-mfg-badge,.gallery-premium-badge,.career-badge,.po-products-eyebrow) {
    box-shadow: none !important; letter-spacing: .08em; font-size: 11px !important;
}
body.po-site.po-design-2026 :is(.hero-action-row,.po-products-hero-actions,.po-price-hero-actions) { gap: 12px !important; }
body.po-site.po-design-2026 :is(.hero-action-row,.po-products-hero-actions,.po-price-hero-actions) :is(a,button) {
    min-height: 48px; border-radius: 12px !important; box-shadow: none !important;
}
body.po-site.po-design-2026 :is(.po-card,.home-capability-card,.home-production-card,.home-quality-card,.po-profile-card,.po-credential-card,.po-news-public-card,.po-team-card,.po-price-highlight-card,.po-mfg-card,.po-stat-link.home-stat-card) {
    background: #fff !important;
    border: 1px solid var(--po-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--po-shadow) !important;
}
body.po-site.po-design-2026 :is(.home-capability-card,.home-production-card,.home-quality-card,.po-profile-card,.po-credential-card,.po-team-card,.po-price-highlight-card)::after {
    opacity: .25 !important;
}
body.po-site.po-design-2026 :is(.po-card,.home-capability-card,.home-production-card,.po-profile-card,.po-team-card,.po-stat-link.home-stat-card):hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(15,42,65,.09) !important;
}
body.po-site.po-design-2026 :is(.home-hero-metric,.po-hero-proof-item) { box-shadow: none !important; }
body.po-site.po-design-2026 .po-news-public-card h3 a { color: #102f4c; text-decoration: none; }
body.po-site.po-design-2026 .po-news-public-card h3 a:hover { color: #b6530b; }
body.po-site.po-design-2026 .po-price-unavailable {
    display: inline-flex; align-items:center; padding: 12px 16px;
    color: #e2eaf0 !important; border: 1px dashed rgba(255,255,255,.4);
    border-radius: 12px; font-size:14px; background: rgba(8,32,52,.35) !important;
    box-shadow:none !important; cursor:default;
}
body.po-site.po-design-2026.po-page-apply_distribution .page-title-big-typography { height: 480px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-hero { padding-top: 42px !important; padding-bottom: 32px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-hero-title { font-size: 21px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-hero-tagline { font-size: 14px !important; line-height: 1.8 !important; max-width: 760px; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-heading { font-size: 14px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-contact-label { font-size: 11px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 :is(.p1f26-contact-value,.p1f26-contact-value a) { font-size: 13px !important; line-height: 1.7 !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-contact-copy>span { font-size:11px !important; }
body.po-site.po-design-2026 #pharmaOneFooter2026 .p1f26-contact-copy :is(a,p) { font-size:13px !important; line-height:1.8 !important; }

@media (max-width: 767px) {
    body.po-site.po-design-2026 h1 { font-size: 34px !important; line-height: 1.18 !important; }
    html[dir="rtl"] body.po-site.po-design-2026 h1 { font-size: 30px !important; line-height:1.65 !important; }
    body.po-site.po-design-2026 :is(.about-hero,.po-mfg-hero,.gallery-premium-hero,.career-hero,.contact-hero,.onegroup-hero,.profile-hero,.po-products-hero,.po-price-hero,.po-news-public-hero,.po-team-hero,.poql-hero,.po-pl-hero,.tp-hero,.factory-hero,.po-awards-hero,.po-branches-hero,.po-verify-hero) {
        min-height: 0 !important; border-radius: 0 0 18px 18px !important;
        padding-top: 0 !important; padding-bottom: 0 !important;
    }
    body.po-site.po-design-2026 :is(.about-hero-content,.po-mfg-hero-content,.gallery-premium-hero-content,.career-hero-content,.contact-hero-content,.onegroup-hero-content,.profile-hero-content,.po-products-hero-copy,.po-price-hero-content,.po-news-public-copy,.poql-hero-inner,.tp-hero-content) {
        padding-top: 48px !important; padding-bottom: 48px !important;
    }
    body.po-site.po-design-2026 :is(.po-branches-hero,.po-verify-hero,.po-team-hero,.po-awards-hero,.po-pl-hero,.factory-hero) {
        padding-top: 42px !important; padding-bottom: 42px !important;
    }
    body.po-site.po-design-2026 :is(.hero-media-slide,.hero-media-content) { min-height: 0 !important; }
    body.po-site.po-design-2026 .hero-media-content { padding-top: 48px !important; padding-bottom: 48px !important; }
    body.po-site.po-design-2026 :is(.hero-media-description,.about-hero-lead,.po-mfg-hero-lead,.po-products-hero-copy>p,.po-price-hero-content>p,.po-news-public-lead,.profile-hero-content>p) {
        font-size: 16px !important; line-height: 1.8 !important;
    }
    body.po-site.po-design-2026 :is(.hero-media-badge,.about-badge,.po-mfg-badge,.gallery-premium-badge,.career-badge,.po-products-eyebrow) {
        align-self: flex-start; width:fit-content !important; letter-spacing: .03em;
    }
    body.po-site.po-design-2026 .home-hero-metrics { gap: 8px !important; }
    body.po-site.po-design-2026 .home-hero-metric { padding: 12px !important; }
    body.po-site.po-design-2026 .home-hero-metric strong { font-size: 23px !important; }
    body.po-site.po-design-2026.po-page-apply_distribution .page-title-big-typography { height: 330px !important; }
    body.po-site.po-design-2026 .po-mobile-menu a { min-height:44px; }
}
@media (prefers-reduced-motion: reduce) {
    body.po-site.po-design-2026 *, body.po-site.po-design-2026 *::before, body.po-site.po-design-2026 *::after {
        animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important;
    }
}
@media (max-width:1199px) {
    body.po-site.po-design-2026.po-menu-open .navbar-brand,
    body.po-site.po-design-2026.po-menu-open .navbar-brand img,
    body.po-site.po-design-2026.po-menu-open .navbar-toggler { visibility:hidden !important; }
    body.po-site.po-design-2026 .po-mobile-menu-head {
        display:flex !important; align-items:center !important; justify-content:space-between !important;
        gap:16px; padding:16px !important; min-height:86px !important; height:auto !important;
        background:#fff !important; border-bottom:1px solid #e2e9ef;
    }
    body.po-site.po-design-2026 .po-mobile-menu-title { flex:1; min-width:0; }
    body.po-site.po-design-2026 .po-mobile-menu-title strong { display:block; font-size:17px !important; line-height:1.5; }
    body.po-site.po-design-2026 .po-mobile-menu-title small { display:block; font-size:12px !important; line-height:1.6; color:#617487; }
    body.po-site.po-design-2026 .po-mobile-close { flex:0 0 42px; align-self:center; }
    body.po-site.po-design-2026 .navbar-collapse .nav-link { font-size:15px !important; min-height:48px; }
    body.po-site.po-design-2026 .navbar-collapse .po-menu-copy strong { font-size:14px !important; }
    body.po-site.po-design-2026 .navbar-collapse .po-menu-copy small { font-size:11px !important; line-height:1.7; }
}
