html.show-mcom-top-colleges #mcom-top-colleges{display:block!important}
html.show-mbbs-top-colleges #mbbs-top-colleges{display:block!important}
/* B.Com directory sections: responsive layout and reliable course visibility. */
html.show-bcom-top-colleges #bcom-top-colleges{display:block!important}
html.show-bcom-exams #bcom-top-exams-cards{display:block!important}
:is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges),#bcom-top-exams-cards{min-width:0;max-width:100%}
#bcom-top-exams-cards .sa-exams-track{min-width:0;max-width:100%}
@media(max-width:640px){
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-content-section{min-width:0;padding:17px 14px}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .engineering-top-college-nav{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .engineering-top-college-tabs{overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .engineering-top-college-arrow{width:30px;height:30px}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table-wrap{overflow:visible;border:0}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table{display:block;width:100%;min-width:0;font-size:13px}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table thead{display:none}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody{display:grid;gap:11px}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody tr{display:block;padding:7px 12px;border:1px solid #e5ddd8;border-radius:8px;background:#fff}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody td{display:grid;grid-template-columns:minmax(105px,40%) minmax(0,1fr);gap:9px;padding:8px 0;border-bottom:1px solid #eee;text-align:left;overflow-wrap:anywhere}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody td:last-child{border-bottom:0}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody td[data-label]::before{content:attr(data-label);color:#315c88;font-weight:700}
  :is(#bcom-top-colleges,#mcom-top-colleges,#mbbs-top-colleges,#pgmedical-top-colleges) .cs-college-table tbody td.cs-college-table-empty{display:block;text-align:center!important}
  #bcom-top-exams-cards{padding:30px 0}
  #bcom-top-exams-cards .sa-exams-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:18px}
  #bcom-top-exams-cards .sa-exams-heading>div:first-child{min-width:0;flex:1 1 190px}
  #bcom-top-exams-cards .sa-exams-heading h2{font-size:23px}
  #bcom-top-exams-cards .sa-exams-heading p{max-width:100%}
  #bcom-top-exams-cards .sa-exams-controls{margin-left:auto}
  #bcom-top-exams-cards .sa-exam-card{flex-basis:min(86%,310px);min-width:0}
  #bcom-top-exams-cards .sa-exams-viewport{min-width:0;max-width:100%;overflow:hidden}
  #bcom-top-exams-cards .sa-exams-track{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
}
