/* Mobile presentation layer. Desktop styling remains in the existing stylesheets. */
.mobile-submenu-toggle{display:none}
@media(max-width:1100px){
 body .prpi-menu-toggle{display:flex;align-items:center;min-height:48px;padding:12px 5%;font:500 16px/1.4 Inter,Arial,sans-serif}
 body .prpi-navigation{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0 4% 12px;max-height:75dvh;overflow-y:auto;overscroll-behavior:contain}
 body .prpi-navigation:not([data-expanded=true]){display:none}
 body .prpi-navigation>a,body .prpi-navigation>button{min-height:48px;display:flex;align-items:center;padding:12px;font-size:16px;text-align:left;white-space:normal}
 body .prpi-navigation .about-menu{display:grid!important;grid-template-columns:minmax(0,1fr) 48px;grid-column:1/-1;width:100%;border-top:1px solid #31535e}
 body .prpi-navigation .about-link{padding:12px!important;min-height:48px;display:flex;align-items:center;font-size:16px}
 body .prpi-navigation .mobile-submenu-toggle{display:grid;place-items:center;min-height:48px;width:48px;padding:8px;background:transparent;color:#edf5f3;border:0;font-size:22px}
 body .prpi-navigation .about-menu>.about-dropdown{display:none!important;position:static;grid-column:1/-1;min-width:0;width:100%;padding:0 8px 8px;margin:0;box-shadow:none;border:0;background:#153b49}
 body .prpi-navigation .about-menu.is-mobile-open>.about-dropdown{display:grid!important}
 body .prpi-navigation .about-dropdown a{display:flex;align-items:center;min-height:48px;padding:10px 14px;color:#edf5f3;font-size:15px;white-space:normal}
 body .prpi-navigation>#search-open{grid-column:1/-1;width:100%}
}
@media(max-width:760px){
 body{min-width:0}
 body main,body main.explore-main,body main.tracker-main,body main.collection-main,body main.media-main{width:100%;max-width:100%;box-sizing:border-box;padding-left:18px!important;padding-right:18px!important}
 body main>*,body main .cards>*,body main .venture-grid>*{min-width:0}
 body main .aligned-resource-intro{width:100%!important;max-width:none!important;padding-inline:0!important}
 body main .page-heading,body main .explore-intro,body main .media-intro{padding-top:28px;padding-bottom:26px;margin-bottom:20px}
 body main .page-heading h1,body main .explore-intro h1,body main .media-intro h1{font-size:clamp(34px,8vw,46px)!important;line-height:1.1;overflow-wrap:break-word}
 body .prpi-masthead{display:flex!important;flex-direction:column;gap:12px!important;min-height:0!important;padding:18px 18px 14px!important}
 body .prpi-masthead .prpi-lockup{order:0;width:100%;max-width:520px!important;align-self:center;margin:0}
 body .prpi-masthead .prpi-lockup img{width:100%!important;max-width:100%;height:auto!important}
 body .prpi-masthead .prpi-logo-tagline{font-size:clamp(10px,2.8vw,14px);line-height:1.4;white-space:normal;margin-top:6px;text-align:center}
 body .prpi-masthead .prpi-masthead-identity{order:1;display:flex;flex-direction:column;gap:3px;align-items:center;width:100%}
 body .prpi-masthead .masthead-home{font-size:12px!important;line-height:1.5!important;max-width:none;margin:0;text-align:center}
 body .prpi-masthead .masthead-home br{display:none}
 body .prpi-masthead .prpi-social-links{display:flex;gap:4px;margin:0}
 body .prpi-masthead .prpi-social-links a{width:40px!important;height:40px!important;display:grid;place-items:center}
 body .prpi-masthead .prpi-social-links svg{width:17px;height:17px}
 body .prpi-masthead .prpi-masthead-actions{order:2;display:grid!important;grid-template-columns:1fr 1fr;gap:7px;width:100%;max-width:440px;align-self:center;margin:0}
 body .prpi-masthead-actions>a{display:flex;justify-content:center;align-items:center;min-height:44px;width:100%!important;box-sizing:border-box;padding:7px!important;font-size:12px!important;text-align:center;white-space:normal}
 body .prpi-masthead-actions .prpi-hotline-box{grid-column:1/-1;display:grid;grid-template-columns:1fr 80px;width:100%!important;min-height:44px}
 body .prpi-hotline-box a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px!important;font-size:13px!important}
 body .build-note,body .preview-strip,body .development{padding:6px 18px;font-size:9px;gap:8px;flex-wrap:wrap}
 body .news-home .lead h2{font-size:clamp(29px,7vw,37px);line-height:1.15}
 body .news-home .lead>a{height:230px}
 body .news-home .lead-copy{padding:24px 20px}
 body .section{padding:32px 0}
 body .section-head{gap:14px;align-items:flex-start}
 body .section-head h2{font-size:clamp(29px,7vw,38px);line-height:1.15}
 body .cards,body .networks-section .cards,body .news-home .venture-grid,body .venture-grid{grid-template-columns:1fr!important}
 body .card-content{padding:20px}
 body .news-home .venture-card img{height:190px}
 body .news-home .venture-card h2{font-size:24px}
 body .news-home #featured-analysis,body .news-home .observatory-section{margin-inline:0}
 body .journal-grid{grid-template-columns:1fr}
 body .journal-story{grid-template-columns:90px minmax(0,1fr);gap:14px}
 body .journal-story h3{font-size:23px;overflow-wrap:break-word}
 body main input:not([type=checkbox]):not([type=radio]),body main select,body main textarea{font-size:16px!important;max-width:100%;min-width:0;box-sizing:border-box}
 body main select,body main input:not([type=checkbox]):not([type=radio]):not([type=file]){min-height:44px}
 body .toolbar,body .analysis-page .toolbar,body .collection-main #project-overview .toolbar,body #event-filters,body .media-main .media-filters{grid-template-columns:1fr!important}
 body .toolbar>*,body .analysis-page .toolbar label:first-child,body .media-filters .media-group-control{grid-column:auto!important}
 body .media-tabs{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:4px}
 body .media-tabs button{flex:0 0 auto;min-height:44px;padding:10px 13px;font-size:14px;white-space:nowrap}
 body .media-main .media-row{grid-template-columns:1fr;padding:18px;gap:12px}
 body .media-main .media-row h2{font-size:23px;line-height:1.25;overflow-wrap:anywhere}
 body .media-main .media-row aside{border-right:0;border-bottom:1px solid #d5dfdc;padding:0 0 10px}
 body .media-main .media-results-bar{align-items:flex-start;flex-direction:column}
 body .media-order{width:100%;flex-wrap:wrap}
 body .media-order select{width:100%;max-width:none}
 body .media-main #major-outlets,body #featured-publications{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .pagination,body .gallery-pages,body .people-tabs,body .collection-tabs{flex-wrap:wrap;gap:7px}
 body .pagination button,body .gallery-pages button,body .people-tabs a,body .collection-tabs a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 body .atlas-layout{grid-template-columns:1fr}
 body .atlas-layout .atlas-map{position:static;min-width:0}
 body .atlas-layout #real-map{width:100%;height:auto;max-height:360px}
 body .atlas-layout .place-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 body .atlas-layout .place-list button{min-height:44px;padding:9px;font-size:13px}
 body .atlas-layout .entry-panel{padding:24px 16px}
 body .atlas-facts{gap:8px}
 body .atlas-facts dd{overflow-wrap:anywhere;font-size:20px}
 body .screening-room{padding:24px 12px 28px;margin-inline:-6px}
 body .screening-copy{display:block;padding-top:20px}
 body #film-title{font-size:26px;line-height:1.2;overflow-wrap:break-word}
 body #film-notes{margin-top:14px}
 body #screen-container,body #screen-container iframe,body #screen-container video{width:100%;min-width:0;aspect-ratio:16/9}
 body .film-selector{max-width:100%;-webkit-overflow-scrolling:touch}
 body .channel-tabs{gap:7px}
 body .channel-tabs button{min-height:44px;padding:9px 11px;font-size:13px}
 body .channel-browser{padding:16px}
 body .channel-films,body .partner-options{grid-template-columns:1fr!important}
 body .cinema-partners{padding:24px 18px}
 body .cinema-partners h2{font-size:32px}
 body .reader-tabs{flex-wrap:nowrap;overflow-x:auto;gap:5px;padding-bottom:5px}
 body .reader-tabs button{flex:0 0 auto;min-height:44px;font-size:14px;padding:10px 12px}
 body .reader-room{padding:18px 12px}
 body .reader-room iframe{height:70dvh;min-height:360px}
 body .alliance-invitation,body .lounge-media.alliance-invitation{padding:22px 18px}
 body .gallery-screen{padding:18px 12px}
 body .gallery-screen img{height:240px!important;max-height:45dvh;object-fit:contain}
 body .gallery-screen-controls{display:flex;flex-wrap:wrap;gap:8px}
 body .gallery-screen-controls button{min-height:44px;padding:9px 12px}
 body .gallery-tools,body .gallery-upload,body .polar-gallery{grid-template-columns:1fr!important}
 body .gallery-submit{padding:22px 16px}
 body #gallery-view{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:90dvh;padding:14px;box-sizing:border-box}
 body #gallery-close{min-height:44px}
 body .article-body,body .reading-body{min-width:0;overflow-wrap:anywhere}
 body .article-body img,body .reading-body img{max-width:100%;height:auto}
 body .article-body table{display:block;max-width:100%;overflow-x:auto}
 body .page-journeys{padding:24px 18px;gap:8px}
 body .page-journeys a,body .page-journeys button{min-height:44px;font-size:14px}
 body dialog{max-width:calc(100vw - 24px);box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Four mobile masthead elements in two compact rows. */
@media(max-width:760px){
 body .prpi-masthead{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:center}
 body .prpi-masthead .prpi-masthead-identity,body .prpi-masthead .prpi-masthead-actions{display:contents!important}
 body .prpi-masthead .prpi-lockup{grid-column:1/-1;grid-row:1;justify-self:center}
 body .prpi-masthead .masthead-home{grid-column:1/-1;grid-row:2;padding-bottom:3px}
 body .prpi-masthead .prpi-social-links{grid-column:1;grid-row:3;justify-content:center;gap:3px;width:100%;min-width:0}
 body .prpi-masthead .prpi-social-links a{width:36px!important;height:44px!important;flex:0 1 36px}
 body .prpi-masthead-actions>.prpi-support-button{grid-column:2;grid-row:3}
 body .prpi-masthead-actions>.masthead-email-updates{grid-column:1;grid-row:4}
 body .prpi-masthead-actions .prpi-hotline-box{grid-column:2;grid-row:4;grid-template-columns:minmax(0,1fr) 45px;min-width:0}
 body .prpi-masthead-actions .prpi-hotline-box a{padding:6px 3px!important;font-size:11px!important;gap:2px;min-width:0}
 body .prpi-masthead-actions>a{font-size:11px!important;line-height:1.35;min-height:44px}
}
@media(max-width:360px){body .prpi-masthead .prpi-social-links{gap:0}body .prpi-masthead .prpi-social-links a{width:32px!important;flex-basis:32px}body .prpi-masthead-actions .prpi-hotline-box{grid-template-columns:minmax(0,1fr) 38px}body .prpi-masthead-actions .prpi-hotline-box a{font-size:10px!important}}

@media(max-width:760px){
 body .prpi-masthead-actions>a,body .prpi-masthead-actions .prpi-hotline-box{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;margin:0;align-self:center}
 body .prpi-masthead-actions .prpi-hotline-box a{box-sizing:border-box;height:100%;min-height:0;max-height:100%;line-height:1.35}
}
