/* Only the four institutional routes assembled from existing content. */
html[data-product] .ri-route-hero { margin-top:var(--ri-header-height,84px); }

html[data-product] .ri-contact-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html[data-product] .ri-contact-grid p { overflow-wrap:anywhere; }
html[data-product] .ri-professores-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
html[data-product] .ri-professores-grid .teacher-card { min-width:0; width:auto; }
@media(max-width:1023px){html[data-product] .ri-professores-grid {grid-template-columns:repeat(3,minmax(0,1fr));}html[data-product] .ri-contact-grid{grid-template-columns:1fr;}}
@media(max-width:767px){html[data-product] .ri-professores-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}html[data-product] .ri-route-hero h1{overflow-wrap:anywhere;}}
@media(max-width:420px){html[data-product] .ri-professores-grid {grid-template-columns:1fr;}}
