/* ============================================================
   FINKI – Subject page ([finki_subject_details])
   Префрлено од PHP стрингови (css() + links_css()) во фајл.
   ============================================================ */

.finki-subject-wrap{
	max-width:1280px;
	margin:0 auto;
}

.page-content__title{
	display:none !important;
}

.finki-subject-title{
	font-size:24px;
	line-height:1.1;
	font-weight:500;
	color:#000;
	margin-bottom:18px;
}

.finki-table-scroll{
	width:100%;
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
}

.finki-subject-table{
	width:100%;
	min-width:900px;
	border-collapse:collapse;
	background:#fff;
	table-layout:fixed;
}

.finki-subject-table td{
	border:1px solid #d9d9d9;
	padding:10px 10px;
	vertical-align:top;
	font-size:15px;
	line-height:1.45;
	color:#222;
	word-break:break-word;
	overflow-wrap:anywhere;
}

.finki-num{
	width:60px;
	color:#333;
	white-space:nowrap;
}

.finki-label{
	width:320px;
	color:#222;
	font-weight:500;
}

.finki-value{
	color:#222;
}

.finki-long{
	padding-top:14px;
	padding-bottom:14px;
}

.finki-nopad{
	padding:0 !important;
}

.finki-inner-table{
	width:100%;
	border-collapse:collapse;
	table-layout:fixed;
}

.finki-inner-table td{
	border:1px solid #d9d9d9;
	padding:10px 10px;
	vertical-align:top;
	font-size:15px;
	line-height:1.45;
	word-break:break-word;
	overflow-wrap:anywhere;
}

.finki-inner-table tr:first-child td{
	border-top:none;
}

.finki-inner-table tr:last-child td{
	border-bottom:none;
}

.finki-inner-table td:first-child{
	border-left:none;
}

.finki-inner-table td:last-child{
	border-right:none;
}

.finki-subnum{
	width:80px;
	white-space:nowrap;
}

.finki-hours{
	width:180px;
	white-space:nowrap;
}

.finki-grade{
	width:220px;
	white-space:nowrap;
}

.finki-books-cell strong{
	display:block;
	margin-bottom:10px;
	font-weight:500;
}

.finki-books-list{
	color:#222;
}

.finki-subject-error{
	padding:14px 16px;
	border:1px solid #fecaca;
	background:#fff1f2;
	color:#7f1d1d;
}

@media (max-width: 900px){
	.finki-subject-title{
		font-size:28px;
	}

	.finki-subject-table{
		min-width:760px;
	}

	.finki-subject-table td,
	.finki-inner-table td{
		font-size:14px;
		padding:8px 8px;
	}

	.finki-num{
		width:52px;
	}

	.finki-label{
		width:260px;
	}

	.finki-subnum{
		width:70px;
	}

	.finki-hours{
		width:150px;
	}

	.finki-grade{
		width:180px;
	}
}

@media (max-width: 640px){
	.finki-subject-title{
		font-size:24px;
	}

	.finki-subject-table{
		min-width:680px;
	}

	.finki-subject-table td,
	.finki-inner-table td{
		font-size:13px;
		line-height:1.35;
		padding:7px 7px;
	}

	.finki-num{
		width:46px;
	}

	.finki-label{
		width:220px;
	}

	.finki-subnum{
		width:64px;
	}

	.finki-hours{
		width:135px;
	}

	.finki-grade{
		width:160px;
	}
}

/* Листи со линкови (професори, програми) */

.finki-subject-links{list-style:none;margin:0;padding:0}
.finki-subject-links li + li{margin-top:4px}
.finki-subject-links a{color:var(--finki-navy);text-decoration:none}
.finki-subject-links a:hover{color:var(--finki-blue);text-decoration:underline}
