/* Syllabus page styling (syllabus.html). */

article {
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 20px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #334155;
	line-height: 1.65;
	font-size: 0.98rem;
}

article > section {
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid #e2e8f0;
}

article > section:first-of-type {
	border-top: none;
	padding-top: 0.5rem;
	margin-top: 0;
}

article h1 {
	font-size: 1.35rem;
	color: #0f172a;
	margin: 0 0 1rem;
	padding-left: 14px;
	border-left: 4px solid #1d4ed8;
	scroll-margin-top: 110px;
}

article h2 {
	font-size: 1.05rem;
	color: #0f172a;
	margin: 2rem 0 0.75rem;
}

article p {
	margin: 0 0 1rem;
}

article ul, article ol {
	margin: 0 0 1rem;
	padding-left: 1.5rem;
}

article li {
	margin-bottom: 0.4rem;
}

article li ul, article li ol {
	margin-top: 0.4rem;
}

article a {
	color: #1d4ed8;
	text-decoration: none;
}

article a:hover {
	text-decoration: underline;
}

article em {
	color: #b91c1c;
	font-style: italic;
}

.code {
	font-family: "Lucida Console", "Courier New", monospace;
	background: #eff6ff;
	color: #1d4ed8;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.88em;
}

.table-wrap {
	overflow-x: auto;
	margin: 1.25rem 0;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

article table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

article table th {
	background: #0f172a;
	color: #f8fafc;
	text-align: left;
	padding: 10px 14px;
	font-weight: 600;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

article table td {
	padding: 9px 14px;
	border-top: 1px solid #e2e8f0;
}

article table tbody tr:nth-child(even) td {
	background: #f8fafc;
}

table.rubric {
	min-width: 1000px;
	font-size: 0.85rem;
}

table.rubric th {
	text-align: center;
	font-size: 0.78rem;
}

table.rubric thead tr:nth-child(2) th {
	background-color: #1e293b;
}

table.rubric th[colspan] {
	background-color: #eff6ff;
	color: #1d4ed8;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	font-size: 0.9rem;
	padding: 10px 14px;
}

table.rubric td {
	text-align: left;
	vertical-align: top;
	background-color: #ffffff;
}

table.rubric td p {
	margin: 0 0 0.6rem;
}

table.rubric td p:last-child {
	margin-bottom: 0;
}
