/* ==========================================================================
   Dr. Nobin Bordoloi College — Department Profile Pages
   Extends theme-pro.css (uses the same --pro-* tokens). Loaded after it.
   ========================================================================== */

.dept-page{ background:var(--pro-bg); }

/* ---- Hero ---- */
.dept-hero{
	position:relative;
	background:
		radial-gradient(1100px 420px at 15% -10%, rgba(212,168,58,.18), transparent 60%),
		linear-gradient(120deg,var(--pro-navy-dark) 0%,var(--pro-navy) 55%,var(--pro-royal-2) 100%);
	color:#fff;
	padding:46px 24px 34px;
	overflow:hidden;
}
.dept-hero::after{
	content:"";
	position:absolute; left:0; right:0; bottom:0;
	height:4px;
	background:linear-gradient(90deg,transparent,var(--pro-gold) 25%,var(--pro-gold-light) 50%,var(--pro-gold) 75%,transparent);
}
.dept-hero-inner{ width:100%; }
.dept-crumb{
	display:flex; flex-wrap:wrap; align-items:center; gap:6px;
	font-size:12.5px; color:rgba(255,255,255,.65); margin:0 0 16px;
}
.dept-crumb a{ color:rgba(255,255,255,.8); text-decoration:none; }
.dept-crumb a:hover{ color:var(--pro-gold-light); }
.dept-crumb .sep{ opacity:.5; }
.dept-crumb .cur{ color:var(--pro-gold-light); }

.dept-hero-kicker{
	display:inline-flex; align-items:center; gap:8px;
	font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
	color:var(--pro-gold-light);
	background:rgba(212,168,58,.12);
	border:1px solid rgba(212,168,58,.35);
	padding:5px 14px; border-radius:99px; margin-bottom:14px;
}
.dept-hero-title{
	font-family:var(--pro-font-head);
	font-size:clamp(28px,4vw,44px);
	line-height:1.15;
	margin:0 0 10px;
}
.dept-hero-tagline{
	font-size:16px;
	color:rgba(255,255,255,.82);
	font-style:italic;
	max-width:680px;
	margin:0;
}

/* ---- Quick facts strip ---- */
.dept-facts{
	width:100%; margin:-26px 0 0; padding:0 24px 0;
	position:relative; z-index:2;
}
.dept-facts-inner{
	background:var(--pro-white);
	border-radius:var(--pro-radius);
	box-shadow:var(--pro-shadow-lg);
	display:flex; flex-wrap:wrap;
	padding:6px;
}
.dept-fact{
	flex:1 1 160px; min-width:0;
	display:flex; align-items:center; gap:12px;
	padding:14px 16px;
	border-right:1px solid var(--pro-border);
}
.dept-fact:last-child{ border-right:none; }
.dept-fact-icon{
	width:38px; height:38px; flex-shrink:0;
	border-radius:10px;
	background:linear-gradient(135deg,var(--pro-navy),var(--pro-royal-2));
	color:var(--pro-gold-light);
	display:flex; align-items:center; justify-content:center;
	font-size:15px;
}
.dept-fact-label{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--pro-slate); }
.dept-fact-value{ display:block; font-size:14px; font-weight:600; color:var(--pro-ink); overflow-wrap:break-word; }
.dept-fact > span{ min-width:0; }

/* ---- Jump nav ---- */
.dept-jumpnav{
	width:100%; margin:22px 0 0; padding:0 24px;
}
.dept-jumpnav-inner{
	display:flex; flex-wrap:wrap; gap:8px;
	justify-content:center;
}
.dept-jumpnav a{
	font-size:13px; font-weight:600; color:var(--pro-navy);
	background:var(--pro-white);
	border:1px solid var(--pro-border);
	padding:8px 16px; border-radius:99px;
	text-decoration:none;
	transition:var(--pro-transition);
	white-space:nowrap;
}
.dept-jumpnav a:hover{
	background:var(--pro-navy); color:#fff; border-color:var(--pro-navy);
	transform:translateY(-1px);
}

/* ---- Body shell ---- */
.dept-shell{ width:100%; margin:0; padding:36px 24px 70px; }
.dept-grid{ display:grid; grid-template-columns:minmax(0,2.1fr) minmax(0,1fr); gap:26px; align-items:start; }
.dept-main{ min-width:0; }
.dept-side{ min-width:0; }

.dept-section{
	background:var(--pro-white);
	border:1px solid var(--pro-border);
	border-radius:var(--pro-radius);
	box-shadow:var(--pro-shadow-sm);
	padding:26px 28px;
	margin-bottom:24px;
	scroll-margin-top:96px;
}
.dept-section-eyebrow{
	font-size:11px; letter-spacing:.14em; text-transform:uppercase;
	color:var(--pro-gold-dark); font-weight:700; margin:0 0 4px;
}
.dept-section-title{
	font-family:var(--pro-font-head);
	font-size:24px; color:var(--pro-navy); margin:0 0 16px;
	padding-bottom:12px; border-bottom:2px solid var(--pro-cream-2);
	position:relative;
}
.dept-section-title::after{
	content:""; position:absolute; left:0; bottom:-2px;
	width:52px; height:2px; background:var(--pro-gold);
}
.dept-section p{ color:var(--pro-warm-text); line-height:1.75; margin:0 0 12px; }
.dept-section p:last-child{ margin-bottom:0; }

/* ---- Sidebar ---- */
.dept-side-card{
	background:var(--pro-white);
	border:1px solid var(--pro-border);
	border-radius:var(--pro-radius);
	box-shadow:var(--pro-shadow-sm);
	padding:22px;
	margin-bottom:22px;
	scroll-margin-top:96px;
}
.dept-side-card h4{
	font-family:var(--pro-font-head);
	color:var(--pro-navy); font-size:17px; margin:0 0 14px;
}

/* ---- Notice board widget ---- */
.dept-notice-list{ list-style:none; margin:0; padding:0; max-height:420px; overflow-y:auto; }
.dept-notice-list li{ padding:10px 0; border-bottom:1px dashed var(--pro-border); }
.dept-notice-list li:last-child{ border-bottom:none; }
.dept-notice-date{ display:block; font-size:11px; font-weight:700; color:var(--pro-gold-dark); text-transform:uppercase; letter-spacing:.03em; margin-bottom:3px; }
.dept-notice-title{ font-size:13.5px; font-weight:600; color:var(--pro-ink); text-decoration:none; }
a.dept-notice-title:hover{ color:var(--pro-navy); text-decoration:underline; }
.dept-notice-list li p{ font-size:12.5px; color:var(--pro-warm-text); margin:4px 0 0; line-height:1.5; }
.dept-glance-list{ list-style:none; margin:0; padding:0; }
.dept-glance-list li{
	display:flex; justify-content:space-between; gap:10px;
	font-size:13px; padding:8px 0; border-bottom:1px dashed var(--pro-border);
	color:var(--pro-warm-text);
}
.dept-glance-list li:last-child{ border-bottom:none; }
.dept-glance-list span.k{ color:var(--pro-slate); }
.dept-glance-list span.v{ font-weight:600; color:var(--pro-ink); text-align:right; }

.dept-contact-list{ list-style:none; margin:0; padding:0; }
.dept-contact-list li{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; padding:8px 0; color:var(--pro-warm-text); }
.dept-contact-list li i{ color:var(--pro-gold-dark); margin-top:2px; width:16px; text-align:center; flex-shrink:0; }
.dept-contact-list li span,
.dept-contact-list li a{ min-width:0; overflow-wrap:break-word; }
.dept-contact-list a{ color:var(--pro-warm-text); text-decoration:none; }
.dept-contact-list a:hover{ color:var(--pro-navy); }

.dept-back-link{
	display:inline-flex; align-items:center; gap:8px;
	font-size:13px; font-weight:600; color:var(--pro-navy);
	background:var(--pro-cream); border:1px solid var(--pro-cream-2);
	padding:9px 16px; border-radius:99px; text-decoration:none; width:100%;
	justify-content:center;
}
.dept-back-link:hover{ background:var(--pro-cream-2); }

/* ---- Facilities grid ---- */
.dept-facility-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; }
.dept-facility-item{
	display:flex; align-items:flex-start; gap:10px;
	background:var(--pro-cream); border:1px solid var(--pro-cream-2);
	border-radius:10px; padding:12px 14px;
	font-size:13.5px; color:var(--pro-ink);
	min-width:0;
}
.dept-facility-item i{ color:var(--pro-gold-dark); margin-top:3px; flex-shrink:0; }
.dept-facility-item span{ min-width:0; overflow-wrap:break-word; }

/* ---- Vision / Mission ---- */
.dept-vm-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; }
.dept-vm-card{ border-radius:12px; padding:20px 22px; color:#fff; }
.dept-vm-card.is-vision{ background:linear-gradient(135deg,var(--pro-navy),var(--pro-royal-2)); }
.dept-vm-card.is-mission{ background:linear-gradient(135deg,var(--pro-maroon),var(--pro-maroon-2)); }
.dept-vm-card h5{ font-family:var(--pro-font-head); font-size:16px; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
.dept-vm-card p{ color:rgba(255,255,255,.9); font-size:13.5px; margin:0 0 8px; }
.dept-vm-card ul{ margin:0; padding-left:18px; color:rgba(255,255,255,.9); font-size:13.5px; }
.dept-vm-card li{ margin-bottom:6px; }

/* ---- Timeline ---- */
.dept-timeline{ position:relative; margin:0; padding:0; list-style:none; max-height:560px; overflow-y:auto; padding-right:6px; }
.dept-timeline::-webkit-scrollbar{ width:6px; }
.dept-timeline::-webkit-scrollbar-thumb{ background:var(--pro-cream-2); border-radius:6px; }
.dept-timeline li{ position:relative; padding:0 0 22px 30px; border-left:2px solid var(--pro-cream-2); }
.dept-timeline li:last-child{ padding-bottom:2px; }
.dept-timeline li::before{
	content:""; position:absolute; left:-7px; top:2px;
	width:12px; height:12px; border-radius:50%;
	background:var(--pro-gold); border:2px solid var(--pro-white); box-shadow:0 0 0 2px var(--pro-gold);
}
.dept-tl-date{ display:inline-block; font-size:11.5px; font-weight:700; color:var(--pro-navy); background:var(--pro-cream); border:1px solid var(--pro-cream-2); padding:2px 10px; border-radius:99px; margin-bottom:6px; }
.dept-tl-title{ font-size:14.5px; font-weight:700; color:var(--pro-ink); margin:0 0 4px; }
.dept-tl-desc{ font-size:13px; color:var(--pro-warm-text); line-height:1.6; margin:0; }

/* ---- Alumni table ---- */
.dept-table-wrap{ width:100%; }
.dept-table-wrap.is-scroll{ max-height:520px; overflow-y:auto; }
.dept-table-wrap.is-scroll thead th{ position:sticky; top:0; z-index:1; }
.dept-table{ table-layout:fixed; width:100%; border-collapse:collapse; font-size:13.5px; }
.dept-table td{ overflow-wrap:break-word; word-break:break-word; }
.dept-table th{
	text-align:left; background:var(--pro-navy); color:#fff;
	padding:10px 12px; font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:.04em;
}
.dept-table th:first-child{ border-radius:8px 0 0 0; }
.dept-table th:last-child{ border-radius:0 8px 0 0; }
.dept-table td{ padding:10px 12px; border-bottom:1px solid var(--pro-border); color:var(--pro-warm-text); }
.dept-table tr:nth-child(even) td{ background:var(--pro-cream); }
.dept-table tr:hover td{ background:var(--pro-cream-2); }

/* ---- Magazines / future plan ---- */
.dept-list-clean{ list-style:none; margin:0; padding:0; }
.dept-list-clean li{ display:flex; align-items:flex-start; gap:10px; padding:9px 0; border-bottom:1px dashed var(--pro-border); font-size:13.5px; color:var(--pro-ink); min-width:0; }
.dept-list-clean li:last-child{ border-bottom:none; }
.dept-list-clean li i{ color:var(--pro-gold-dark); margin-top:2px; flex-shrink:0; }
.dept-list-clean li span{ min-width:0; overflow-wrap:break-word; }

.dept-check-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.dept-check-list li{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--pro-ink); background:var(--pro-cream); border:1px solid var(--pro-cream-2); border-radius:10px; padding:10px 12px; min-width:0; }
.dept-check-list li i{ color:var(--pro-green); margin-top:2px; flex-shrink:0; }
.dept-check-list li span{ min-width:0; overflow-wrap:break-word; }

/* ---- Closing CTA ---- */
.dept-cta{
	width:100%; margin:0; padding:0 24px 60px;
}
.dept-cta-inner{
	background:linear-gradient(120deg,var(--pro-navy-dark),var(--pro-navy) 60%,var(--pro-royal-2));
	border-radius:var(--pro-radius);
	padding:30px 32px;
	color:#fff;
	display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px;
	position:relative; overflow:hidden;
}
.dept-cta-inner::before{
	content:""; position:absolute; inset:0;
	background:radial-gradient(600px 200px at 90% 0%, rgba(212,168,58,.2), transparent 60%);
}
.dept-cta-text{ position:relative; z-index:1; max-width:560px; }
.dept-cta-text .tag{ font-family:var(--pro-font-head); font-size:19px; color:var(--pro-gold-light); margin:0 0 6px; font-style:italic; }
.dept-cta-text p{ margin:0; color:rgba(255,255,255,.78); font-size:13.5px; }
.dept-cta-actions{ position:relative; z-index:1; display:flex; gap:10px; flex-wrap:wrap; }
.dept-cta-actions a{
	display:inline-flex; align-items:center; gap:8px;
	font-size:13.5px; font-weight:600; text-decoration:none;
	padding:11px 20px; border-radius:99px;
	transition:var(--pro-transition);
}
.dept-cta-actions a.solid{ background:var(--pro-gold); color:var(--pro-navy-dark); }
.dept-cta-actions a.solid:hover{ background:var(--pro-gold-light); }
.dept-cta-actions a.outline{ border:1px solid rgba(255,255,255,.4); color:#fff; }
.dept-cta-actions a.outline:hover{ background:rgba(255,255,255,.12); }

/* ---- Empty state (no profile data yet) ---- */
.dept-empty{
	max-width:720px; margin:60px auto; text-align:center;
	background:var(--pro-white); border:1px solid var(--pro-border);
	border-radius:var(--pro-radius); padding:50px 30px; box-shadow:var(--pro-shadow-sm);
}
.dept-empty i{ font-size:34px; color:var(--pro-gold-dark); margin-bottom:14px; }
.dept-empty h2{ font-family:var(--pro-font-head); color:var(--pro-navy); margin:0 0 10px; }
.dept-empty p{ color:var(--pro-warm-text); margin:0 0 20px; }

@media (max-width:960px){
	.dept-grid{ grid-template-columns:minmax(0,1fr); }
	.dept-vm-grid{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:600px){
	.dept-fact{ flex:1 1 100%; border-right:none; border-bottom:1px solid var(--pro-border); }
	.dept-fact:last-child{ border-bottom:none; }
	.dept-cta-inner{ flex-direction:column; align-items:flex-start; }
}
