/* v1.7.6 — graduate tables on phones: real horizontal scroll, every column kept (incl. «رسوم الفصل» / «نوع المقرر») */
@media (max-width:767px){
	.e-con.mjc-gtable,.e-con.mjc-cmpwrap{display:block!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;width:100%!important;max-width:100%!important;min-width:0!important;contain:none!important}
	/* the boxes around a table never grow wider than the screen */
	.e-con.mjc-half,.e-con:has(>.e-con.mjc-gtable),.e-con:has(>.e-con.mjc-cmpwrap){min-width:0!important;max-width:100%!important}
	/* course tables (code · name · hours · type) */
	.e-con.mjc-gtable>.e-con,.e-con.mjc-gtable>.elementor-widget{width:540px!important;min-width:540px!important;max-width:none!important}
	.e-con.mjc-gtable .e-con.mjc-grow,.e-con.mjc-gtable .e-con.mjc-gthead:not(.mjc-cmprow){grid-template-columns:96px minmax(0,1fr) 64px 92px!important}
	.e-con.mjc-gtable .mjc-g-type,.e-con.mjc-gtable .e-con.mjc-gthead>.elementor-element:last-child{display:block!important}
	.e-con.mjc-gtable .mjc-g-code .elementor-heading-title,.e-con.mjc-gtable .e-con.mjc-gthead .elementor-heading-title{white-space:nowrap}
	/* programs comparison (program · degree · duration · hours · fee · semester fee) */
	.e-con.mjc-cmpwrap>.e-con,.e-con.mjc-cmpwrap>.elementor-widget{width:720px!important;min-width:720px!important}
	.e-con.mjc-cmpwrap .e-con.mjc-cmprow{grid-template-columns:2fr 1fr 1fr 1fr 1.2fr 1.2fr!important}
	.e-con.mjc-cmpwrap .e-con.mjc-gthead>.elementor-element{display:block!important}
}
