/* P120 — Projects governed-card legibility and controlled-routes authority */
body.projects-authority .projects-shared-hero .p35-media-card{
  background:linear-gradient(145deg,rgba(8,28,24,.97),rgba(14,43,37,.96))!important;
  border-color:rgba(255,255,255,.24)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.30)!important;
}
body.projects-authority .projects-shared-hero .p35-media-card h2,
body.projects-authority .projects-shared-hero .p35-media-card h2 *{
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 2px 18px rgba(0,0,0,.42)!important;
}
body.projects-authority .projects-shared-hero .p35-media-card p{
  color:#dce9e5!important;
  opacity:1!important;
}
body.projects-authority #routes .pr-shell{
  width:min(1480px,calc(100% - 56px));
}
body.projects-authority #routes{
  background:linear-gradient(180deg,#fff,#f5f8f7);
}
body.projects-authority #routes .pr-heading{
  grid-template-columns:minmax(0,.82fr) minmax(440px,1.18fr);
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}
body.projects-authority #routes .pr-heading h2{
  max-width:760px;
  font-size:clamp(2.6rem,4.7vw,5.2rem);
  line-height:1;
}
body.font-arabic.projects-authority #routes .pr-heading h2{
  line-height:1.16;
  letter-spacing:0;
}
body.projects-authority #routes .pr-heading p{
  font-size:1.08rem;
  max-width:760px;
}
body.projects-authority #routes .pr-filterbar{
  padding:10px;
  width:max-content;
  max-width:100%;
  border:1px solid var(--pr-line);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  box-shadow:0 14px 38px rgba(7,26,32,.06);
}
body.projects-authority #routes .pr-route-grid{
  gap:26px;
}
body.projects-authority #routes .pr-route{
  border-radius:30px;
  box-shadow:0 20px 55px rgba(7,26,32,.09);
}
body.projects-authority #routes .pr-route-media{
  aspect-ratio:16/11;
}
body.projects-authority #routes .pr-route-media:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,transparent 48%,rgba(4,20,24,.74));
  pointer-events:none;
}
body.projects-authority #routes .pr-route-media:after{
  z-index:2;
  inset:auto 16px 16px 16px;
  padding:10px 12px;
  background:rgba(5,24,29,.88);
  backdrop-filter:blur(10px);
}
body.projects-authority #routes .pr-route-body{
  padding:28px;
}
body.projects-authority #routes .pr-route h3{
  font-size:clamp(1.35rem,1.8vw,1.65rem);
  line-height:1.25;
}
body.projects-authority #routes .pr-route li{
  font-size:.9rem;
}
html.dark body.projects-authority #routes,
html[data-theme="dark"] body.projects-authority #routes{
  background:linear-gradient(180deg,#102328,#132a2f);
}
html.dark body.projects-authority #routes .pr-filterbar,
html[data-theme="dark"] body.projects-authority #routes .pr-filterbar{
  background:rgba(18,45,49,.82);
}
@media(max-width:1100px){
  body.projects-authority #routes .pr-heading{grid-template-columns:1fr;gap:22px}
  body.projects-authority #routes .pr-route-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  body.projects-authority #routes .pr-shell{width:min(100% - 28px,1480px)}
  body.projects-authority #routes .pr-route-grid{grid-template-columns:1fr}
  body.projects-authority #routes .pr-filterbar{width:100%;border-radius:24px}
  body.projects-authority #routes .pr-filter{flex:1}
  body.projects-authority .projects-shared-hero .p35-media-card{inset-inline:18px!important;bottom:18px!important;padding:22px!important}
  body.projects-authority .projects-shared-hero .p35-media-card h2{font-size:1.45rem!important;line-height:1.35!important}
}
