/* Final feedback pass, shared across canonical and flat service routes. */
body[data-page="home"] .about-copy>.btn{margin-top:32px!important}
.rg-index__num,.rg-knowledge__number,.e6-n,.e6-num,.rp-count,.rp-marker,.rg-journey__eyebrow,.rg-journey__node{display:none!important}
.rg-journey__status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.rg-index__item{grid-template-columns:minmax(0,1fr)!important}
.rg-index__row{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important}
body[data-page="transport-intermodalny"] #kiedy .rg-index-layout{display:block}
body[data-page="transport-intermodalny"] #kiedy .section-head{max-width:960px;margin-bottom:24px}
body[data-page="transport-intermodalny"] #kiedy .rg-index__row{grid-template-columns:48px minmax(0,1fr)!important;gap:24px!important;align-items:center;padding-block:20px}
body[data-page="transport-intermodalny"] #kiedy .rg-index__num{display:grid!important;place-items:center;width:48px;height:48px}
body[data-page="transport-intermodalny"] #kiedy .rg-index__num svg{width:48px;height:48px}
body[data-page="transport-intermodalny"] #kiedy .rg-index__row p{grid-column:2!important;max-width:none;font-size:16px;line-height:1.6}
.rp-panel-top{display:none!important}
.rp-step-meta,.rp-step-output,.rg-flow__meta>span[aria-hidden="true"]{display:none!important}
body[data-page="transport-morski"] #kierunki .rg-map-legend{display:none!important}
body[data-page="transport-morski"] #gdansk .network-dot text{display:block!important;font-size:28px!important;stroke-width:3px}
@media(min-width:811px){body[data-page="transport-morski"] #gdansk .network-layout{grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:center!important;gap:40px}body[data-page="transport-morski"] #gdansk .network-map svg{aspect-ratio:650/570}}
@media(max-width:810px){body[data-page="transport-morski"] #gdansk .network-dot text{font-size:36px!important}}
.rg-rating--score-only{display:block!important;width:min(100%,420px);box-sizing:border-box;padding:24px!important}
@media(max-width:760px){.rg-index__row{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.rg-index__row h3,.rg-index__row p{grid-column:1!important}}
.rg-knowledge__index>a:not(.rg-knowledge__all){grid-template-columns:minmax(0,1fr) 24px!important}
:is(.rg-knowledge__meta,.rg-knowledge__index small){color:var(--brand)}
body[data-page="transport-drogowy"] .rgf-cta .sp-footer-photo{display:none!important}
body[data-page="transport-drogowy"] #bazy .network-dot text{display:block!important;font-size:28px!important;stroke-width:3px}
body[data-page="flota"] #zaplecze .network-dot text{display:block!important;font-size:28px!important;stroke-width:3px}
body[data-page="flota"] #zaplecze .network-dot[data-location="Pińczów"] text{text-anchor:start;transform:translate(20px,-7px)}
@media(max-width:810px){body[data-page="flota"] #zaplecze .network-dot text{font-size:36px!important}}
@media(max-width:810px){body[data-page="transport-drogowy"] #bazy .network-dot text{font-size:36px!important}}
body #kontakt-form{padding-block:32px!important}
body #kontakt-form .form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body #kontakt-form .form-mode-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body #kontakt-form .form-mode-panel[hidden]{display:none!important}
body #kontakt-form .field{gap:4px!important}
body #kontakt-form .field.full:has(select),body #kontakt-form .field.full:has(input){grid-column:auto!important}
body #kontakt-form .form-tabs{margin-bottom:12px!important}
body #kontakt-form textarea{height:96px!important;min-height:96px!important}
body #kontakt-form .prototype-note{margin:0!important;font-size:14px!important;line-height:1.5!important}
body #kontakt-form .consent input{min-height:0!important;padding:0!important;width:18px!important;height:18px!important;flex:none}
@media(max-width:760px){body #kontakt-form .form-mode-panel{grid-template-columns:1fr!important}body #kontakt-form .form-tabs{display:flex!important;flex-wrap:wrap!important}body #kontakt-form .form-tab{display:block!important;min-height:44px;font-size:15px!important}}

/* Photography galleries occupy their own area, without another image behind them. */
.rg-hero:has(.hp-triptych) .rg-hero__image{display:none!important}
.contact-home:has(img)::before,.contact-home:has(img)::after{display:none!important}
.rg-chapters__toggle,.award-trigger{font-size:15px!important}
.decision-number,.process-index{display:none!important}
.process-steps>li{grid-template-columns:minmax(0,1fr)!important}
.astra-process li>span[aria-hidden="true"]{display:none!important}
.astra-process li{grid-template-columns:minmax(0,1fr)!important}
.rg-fleet-video__toggle{font-size:15px!important}
[data-country-route] svg text{display:none!important}
.astra-route-map{border:0!important;background:none!important;padding:0!important}
/* Specializations: keep meaningful diagram labels readable after SVG scaling. */
body[data-page="specjalizacje"] #fmcg svg .e6-tx--s,
body[data-page="specjalizacje"] #fmcg svg rect.e6-own[y="316"],
body[data-page="specjalizacje"] #cold-chain svg text[y="28"],
body[data-page="specjalizacje"] #cold-chain svg text[y="112"]{display:none!important}
body[data-page="specjalizacje"] #fmcg svg text.e6-tx:not(.e6-tx--s),
body[data-page="specjalizacje"] #cold-chain svg text[y="284"]{display:block!important;font-size:calc(14.5px * var(--d5px,2))!important;letter-spacing:0}
body[data-page="specjalizacje"] #inne-branze .cta-strip>img{display:none!important}
body[data-page="specjalizacje"] #inne-branze .transport-advisor-contacts{padding:0!important;align-self:start;align-content:start;gap:16px}
body[data-page="specjalizacje"] #inne-branze .transport-advisor-photo{position:static!important;width:100%;height:auto!important;object-fit:contain;z-index:auto;border-radius:4px}
@media(max-width:640px){body[data-page="specjalizacje"] #sektor-obronny svg text.e6-tx--k{font-size:calc(14.5px * var(--d5px,2))!important;letter-spacing:0}}
@media(max-width:640px){body[data-page="specjalizacje"] #cold-chain svg text[y="284"]{display:none!important}}
@media(max-width:360px){body[data-page="specjalizacje"] #sektor-obronny svg text.e6-tx--k{font-size:34px!important}}
/* Mobile navigation uses one shared 44px icon column and 56px row rhythm. */
.rg-playback-icon{width:18px;height:18px;fill:currentColor;flex:none}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-refresh{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:32px 40px;align-items:stretch}
body[data-page="centrum-logistyczne"] #magazyn-transport .section-head{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px 40px;margin:0!important;width:100%;max-width:none!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .section-head .kicker{grid-column:1/-1;margin:0}
body[data-page="centrum-logistyczne"] #magazyn-transport .section-head .h2{margin:0!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .section-head .lead{margin:0;align-self:center;max-width:60ch}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-photo{margin:0;min-height:340px;border-radius:8px;overflow:hidden}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-photo img{width:100%;height:100%;min-height:340px;object-fit:cover;object-position:50% 55%;display:block}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey{display:block!important;min-width:0}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__navigation{padding:0!important;border:0!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;padding:0!important;border:0!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__track{display:none!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__stop{width:auto!important;min-height:48px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:4px;color:var(--ink);font-size:16px!important;line-height:1.4;display:flex!important;align-items:center;justify-content:center;text-align:center}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__stop[aria-selected="true"]{background:var(--brand,#d71920)!important;color:#fff!important;border-color:var(--brand,#d71920)!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__panels{height:160px!important;margin-top:20px;border-top:2px solid var(--brand,#d71920)}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__panel{padding:24px 0!important;min-height:0!important}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__copy h3{font-size:24px;line-height:1.25;margin-bottom:12px}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__controls{display:flex!important;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:16px 0 0!important;align-items:center}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey-autoplay-toggle{margin-left:0!important;display:flex;gap:8px;align-items:center}
body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey-autoplay-toggle[hidden]{display:none!important}
@media(max-width:810px){
 body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-refresh{grid-template-columns:1fr!important;gap:24px}
 body[data-page="centrum-logistyczne"] #magazyn-transport .section-head{grid-template-columns:1fr;gap:16px}
 body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-photo,body[data-page="centrum-logistyczne"] #magazyn-transport .rg-chain-photo img{height:220px;min-height:0}
 body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-page="centrum-logistyczne"] #magazyn-transport .rg-journey__panels{height:180px!important}
}
body[data-page="spedycja"] #lokalizacje .network-dot text{font-size:24px!important}
body[data-page="centrum-logistyczne"] #pomoc-w-doborze .cta-strip::before,
body[data-page="centrum-logistyczne"] #pomoc-w-doborze .cta-strip::after{display:none!important}
body[data-page="centrum-logistyczne"] #pomoc-w-doborze .rg-centre-advisor{position:relative;isolation:isolate;min-height:480px;padding:0!important;align-content:end;gap:12px}
body[data-page="centrum-logistyczne"] #pomoc-w-doborze .rg-centre-advisor__photo{position:absolute!important;inset:0!important;width:100%!important;height:480px!important;max-height:none!important;margin:0!important;z-index:0;object-fit:contain!important;object-position:center bottom!important;pointer-events:none}
body[data-page="centrum-logistyczne"] #pomoc-w-doborze .copy-contact{position:relative;z-index:1;background:#fff!important}
@media(max-width:810px){
 body[data-page="centrum-logistyczne"] #pomoc-w-doborze .rg-centre-advisor{min-height:420px}
 body[data-page="centrum-logistyczne"] #pomoc-w-doborze .rg-centre-advisor__photo{height:420px!important}
}
body[data-page="centrum-logistyczne"] #wms svg text.e6-tx--s{font-size:calc(14.5px * var(--d5px,2))!important;letter-spacing:0}
body[data-page="centrum-logistyczne"] #lokalizacja .rg-map--zoomed text{font-size:16px!important}
body[data-page="centrum-logistyczne"] #lokalizacja .network-dot[data-location="Krajków"] text{transform:translate(-8px,10px)}
body[data-page="centrum-logistyczne"] #lokalizacja .rg-map-city[transform="translate(329.5,332.6)"] text{transform:translate(3px,8px)}
body[data-page="centrum-logistyczne"] #lokalizacja .rg-map-city[transform="translate(428.8,401.1)"] text{text-anchor:end;transform:translate(-6px,0)}
@media(max-width:810px){
 body[data-page="centrum-logistyczne"] #wms .rg-viz{height:auto!important;aspect-ratio:auto!important;max-height:none!important;display:block!important;padding:24px!important}
 body[data-page="centrum-logistyczne"] #wms .d5{height:auto!important;width:100%}
 body[data-page="centrum-logistyczne"] #wms .d5-replay{position:static!important;min-height:44px;margin:16px 0 0 auto}
 body[data-page="centrum-logistyczne"] #wms figcaption{position:static!important;margin-top:16px;padding:16px 0 0!important;width:100%!important;max-width:none!important;line-height:1.5}
}
@media(max-width:640px){body[data-page="centrum-logistyczne"] #wms svg text.e6-tx--m{display:none!important}}
@media(max-width:810px){
 body[data-page="spedycja"] #jak-dziala .rp-track{overflow:visible!important;padding-bottom:0!important}
 body[data-page="spedycja"] #jak-dziala .rp-stops{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%!important}
 body[data-page="spedycja"] #jak-dziala .rp-stops button{width:100%!important;min-height:44px!important;padding:8px!important;display:flex;justify-content:center;font-size:16px!important;border:1px solid var(--line);border-radius:4px}
 body[data-page="spedycja"] #jak-dziala .rp-stops button[aria-selected="true"]{border-color:var(--red,#d71920);color:var(--ink);background:#d7192018}
 body[data-page="spedycja"] #jak-dziala .rp-rail,body[data-page="spedycja"] #jak-dziala .rp-dot{display:none!important}
}
@media(max-width:810px){
 #mobileMenu>a{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;align-items:center;min-height:56px;box-sizing:border-box;padding:0!important;font-size:16px!important;line-height:1.5;border-bottom:1px solid var(--line)!important}
 #mobileMenu>a>span{display:grid;place-items:center;width:44px;height:55px;font-size:18px;line-height:1}
 #mobileMenu .mobile-nav-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;min-height:56px;box-sizing:border-box;border-bottom:1px solid var(--line)}
 #mobileMenu .mobile-nav-row>a{display:flex;align-items:center;min-height:55px;padding:0!important;border:0!important;font-size:16px!important;line-height:1.5}
 #mobileMenu .mobile-nav-expand{width:44px;height:55px;padding:0;justify-self:end}
 #mobileMenu>a.btn{padding-left:16px!important;border:0!important}
}
body[data-page="logistyka"] #model .e6-top{display:none!important}
body.rg-service[data-page="logistyka"] #wzrost .cta-strip{grid-template-columns:1.2fr 1fr;gap:24px 40px;min-height:0!important}
body.rg-service[data-page="logistyka"] #wzrost .cta-strip::after{display:none!important}
body.rg-service[data-page="logistyka"] #wzrost .cta-main{grid-column:1;grid-row:1/3}
body.rg-service[data-page="logistyka"] #wzrost .log-consultant-photo{position:static!important;grid-column:2;grid-row:1;width:100%!important;height:250px!important;object-position:50% 25%!important;border-radius:4px}
body.rg-service[data-page="logistyka"] #wzrost .cta-contacts{grid-column:2;grid-row:2;padding-top:0!important;align-self:start}
@media(max-width:810px){
 body.rg-service[data-page="logistyka"] #wzrost .cta-strip{grid-template-columns:1fr}
 body.rg-service[data-page="logistyka"] #wzrost .cta-main{grid-column:1;grid-row:1}
 body.rg-service[data-page="logistyka"] #wzrost .log-consultant-photo{grid-column:1;grid-row:2;height:240px!important}
 body.rg-service[data-page="logistyka"] #wzrost .cta-contacts{grid-column:1;grid-row:3}
}
