/* ============================================================
   Mempercantik halaman Program Studi (publik)
   Dimuat setelah now-ui-kit + style.css pada layout prodi.
   ============================================================ */

/* ---- Kartu konten ---- */
.prodi-card {
	background: #fff; border-radius: 16px;
	box-shadow: 0 16px 44px -22px rgba(20, 40, 30, .28);
	padding: 34px 40px; margin-bottom: 46px;
}
@media (max-width: 767px) { .prodi-card { padding: 22px 20px; } }

/* ---- Header di dalam kartu (judul halaman) ---- */
.prodi-pagehead { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #eef1f5; }
.prodi-pagehead .eyebrow {
	display: inline-block; letter-spacing: .14em; text-transform: uppercase;
	font-size: 11.5px; font-weight: 700; color: #0f9d58; margin-bottom: 8px;
}
.prodi-pagehead h1 {
	font-family: 'Montserrat', sans-serif; font-weight: 700; color: #1f2d2a;
	font-size: 27px; line-height: 1.25; margin: 0; position: relative;
}
.prodi-pagehead h1::after {
	content: ""; display: block; width: 58px; height: 4px; border-radius: 3px;
	background: linear-gradient(90deg, #13b365, #0f9d58); margin-top: 14px;
}
.prodi-pagehead .meta { margin-top: 12px; color: #8a97a6; font-size: 13.5px; }
.prodi-pagehead .meta i { color: #0f9d58; }

/* ---- Tipografi isi (HTML dari admin) ---- */
.prodi-content { color: #2b3a46; font-size: 15.5px; line-height: 1.85; }
.prodi-content > *:first-child { margin-top: 0; }
.prodi-content h1, .prodi-content h2, .prodi-content h3,
.prodi-content h4, .prodi-content h5 {
	font-family: 'Montserrat', sans-serif; color: #0b6e3e;
	font-weight: 700; line-height: 1.3; margin: 1.5em 0 .5em;
}
.prodi-content h1 { font-size: 25px; }
.prodi-content h2 { font-size: 22px; border-left: 4px solid #0f9d58; padding-left: 12px; }
.prodi-content h3 { font-size: 19px; border-left: 4px solid #3dce87; padding-left: 12px; }
.prodi-content h4 { font-size: 17px; }
.prodi-content p { margin: 0 0 1.05em; }
.prodi-content a { color: #0f9d58; font-weight: 500; }
.prodi-content a:hover { text-decoration: underline; }
.prodi-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.prodi-content ul, .prodi-content ol { padding-left: 1.5em; margin: 0 0 1.1em; }
.prodi-content li { margin: .35em 0; }
.prodi-content hr { border-top: 1px solid #e6ebf0; margin: 1.5em 0; }
.prodi-content blockquote {
	border-left: 4px solid #3dce87; background: #f3faf6;
	margin: 18px 0; padding: 12px 20px; border-radius: 0 10px 10px 0; color: #3a4a44;
}

/* Tabel (mis. daftar dosen) */
.prodi-content table {
	width: 100% !important; border-collapse: collapse; margin: 18px 0;
	font-size: 14.5px; box-shadow: 0 0 0 1px #e6ebf0; border-radius: 10px; overflow: hidden;
}
.prodi-content table th {
	background: #0f9d58; color: #fff; text-align: left;
	padding: 11px 13px; font-weight: 600; border: 0;
}
.prodi-content table td {
	padding: 11px 13px; border: 0; border-top: 1px solid #eef1f5; vertical-align: top;
}
.prodi-content table tr:nth-child(even) td { background: #f7faf8; }
.prodi-content table img { border-radius: 8px; }
.prodi-content .table-responsive { border: 0; }

/* ---- Beranda prodi: judul seksi & kartu berita ---- */
.prodi-section-title {
	font-family: 'Montserrat', sans-serif; font-weight: 700; color: #0b6e3e;
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 4px;
}
.prodi-news .card {
	border: 0; border-radius: 14px; overflow: hidden; margin-bottom: 22px;
	box-shadow: 0 12px 34px -20px rgba(20, 40, 30, .3); transition: transform .18s, box-shadow .18s;
}
.prodi-news .card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(20, 40, 30, .4); }
.prodi-news .card-img-top { height: 190px; object-fit: cover; width: 100%; }
.prodi-news .card-block { padding: 18px 20px; }
.prodi-news .card-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 17px; color: #26313c; margin: 6px 0 8px; }
.prodi-news .stats-detail { color: #8a97a6; font-size: 12.5px; }
.prodi-news .stats-detail .details-title { color: #8a97a6; }
.prodi-empty { text-align: center; color: #8a97a6; padding: 30px 10px; }

/* ---- Grid Dosen ---- */
.dosen-grid { margin-top: 6px; }
.dosen-grid > [class*="col-"] { margin-bottom: 26px; display: flex; }
.dosen-card {
	width: 100%; background: #fff; border-radius: 14px; overflow: hidden;
	box-shadow: 0 12px 32px -18px rgba(20, 40, 30, .32);
	border: 1px solid #eef1f5; text-align: center;
	transition: transform .18s, box-shadow .18s;
	display: flex; flex-direction: column;
}
.dosen-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(15, 157, 88, .45); }
.dosen-foto {
	position: relative; padding: 24px 20px 0;
	background: linear-gradient(160deg, #f3faf6, #ffffff);
}
.dosen-foto img {
	width: 118px; height: 118px; object-fit: cover; border-radius: 50%;
	border: 4px solid #fff; box-shadow: 0 8px 20px -8px rgba(20, 40, 30, .4);
	background: #e9eef2;
}
.dosen-body { padding: 16px 18px 22px; }
.dosen-nama { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16.5px; color: #1f2d2a; margin: 4px 0 4px; line-height: 1.3; }
.dosen-jabatan {
	display: inline-block; font-size: 12px; font-weight: 600; color: #0b6e3e;
	background: #e7f7ee; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.dosen-meta { font-size: 13px; color: #6a7a89; margin-top: 4px; }
.dosen-meta i { color: #0f9d58; margin-right: 4px; }

/* ---- Kurikulum ---- */
.kur-semester { margin-bottom: 26px; }
.kur-semester-head {
	display: flex; align-items: center; justify-content: space-between;
	background: linear-gradient(135deg, #13b365, #0b6e3e); color: #fff;
	padding: 10px 18px; border-radius: 10px 10px 0 0;
}
.kur-semester-head h4 { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; }
.kur-semester-head h4 i { margin-right: 8px; opacity: .9; }
.kur-sks-badge { background: rgba(255, 255, 255, .22); padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.kur-table { width: 100%; border-collapse: collapse; font-size: 14.5px; box-shadow: 0 0 0 1px #e6ebf0; border-radius: 0 0 10px 10px; overflow: hidden; }
.kur-table th { background: #f3faf6; color: #0b6e3e; text-align: left; padding: 10px 14px; font-weight: 600; font-size: 13px; }
.kur-table td { padding: 11px 14px; border-top: 1px solid #eef1f5; color: #2b3a46; }
.kur-table tbody tr:hover td { background: #f7faf8; }
.kur-jenis { font-size: 12px; font-weight: 600; color: #0b6e3e; background: #e7f7ee; padding: 2px 10px; border-radius: 999px; }
.kur-total { text-align: right; margin-top: 10px; font-size: 15px; color: #26313c; padding: 12px 4px 0; border-top: 2px solid #0f9d58; }
.kur-total b { color: #0b6e3e; }

/* Daftar dokumen kurikulum */
.kur-doclist { list-style: none; margin: 10px 0 0; padding: 0; }
.kur-doclist li {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 13px 16px; border: 1px solid #eef1f5; border-radius: 10px; margin-bottom: 10px;
	background: #fcfdfe; transition: border-color .15s, box-shadow .15s;
}
.kur-doclist li:hover { border-color: #bfe9d1; box-shadow: 0 8px 20px -14px rgba(15, 157, 88, .5); }
.kur-doc-judul { color: #2b3a46; font-weight: 500; }
.kur-doc-judul i { color: #0f9d58; margin-right: 8px; }
.kur-doc-klik {
	flex: 0 0 auto; font-weight: 600; font-size: 13px; color: #fff !important;
	background: linear-gradient(135deg, #13b365, #0f9d58); padding: 7px 16px; border-radius: 999px;
	text-decoration: none !important; white-space: nowrap;
}
.kur-doc-klik:hover { filter: brightness(1.05); }


/* ---- Normalisasi konten tempelan Microsoft Word ----
   (semua-tebal, highlight merah, font Tahoma/ukuran aneh, indentasi) — tanpa ubah data. */
.prodi-content, .prodi-content * { font-family: inherit !important; }
.prodi-content span, .prodi-content font, .prodi-content p,
.prodi-content div, .prodi-content li, .prodi-content td {
	font-size: inherit !important;
	line-height: inherit !important;
}
.prodi-content b { font-weight: 400; }                 /* konten Word yang terlanjur SEMUA dibungkus <b> -> normal */
.prodi-content strong { font-weight: 600; }            /* penebalan asli (editor baru) tetap tampil */
.prodi-content [style*="background"] { background: transparent !important; } /* buang highlight (mis. merah) */
.prodi-content [style*="color"] { color: inherit !important; }               /* buang warna teks aneh */
.prodi-content [style*="text-indent"], .prodi-content p { text-indent: 0 !important; }
.prodi-content o\:p { display: none; }                 /* buang tag <o:p> Word */
