/* ==========================================================================
   DGT Karnal theme — main stylesheet
   Brand: navy / gold / cream, drawn from the college's result-poster identity
   ========================================================================== */

:root {
	--navy: #00284d;
	--navy-light: #0a3a68;
	--gold: #c9a227;
	--gold-light: #e0c05a;
	--cream: #f7efe1;
	--cream-dark: #efe2c8;
	--green: #1b7a3d;
	--text: #1c2430;
	--text-light: #5a6472;
	--white: #ffffff;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(0, 40, 77, 0.12);
	--font-heading: "Merriweather", Georgia, serif;
	--font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* Note: intentionally NOT setting `scroll-behavior: smooth` globally —
   combined with the sticky site-header below, some Chromium builds glitch
   the sticky element during wheel-driven smooth scrolling (it visually lags
   and "tears" away from the top). Anchor links get a smooth scroll via JS
   instead (see assets/js/main.js), which doesn't have this issue. */
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.65;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-title { text-align: center; margin-bottom: 40px; position: relative; }
.section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: var(--gold);
	margin: 14px auto 0;
}
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.eyebrow-gold { color: var(--gold-light); }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--navy); color: var(--white); padding: 10px 18px; z-index: 10000; }
.skip-link:focus { top: 0; }

/* Buttons ------------------------------------------------------------------ */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	border: 2px solid transparent;
	cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-admission { background: var(--navy); color: var(--white); padding: 10px 22px; margin-left: 12px; }
.btn-admission:hover { background: var(--gold); color: var(--navy); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* Top utility bar ------------------------------------------------------------------ */
.topbar { background: var(--navy); color: var(--cream); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 8px; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: var(--cream); }
.topbar-contact .ico { font-style: normal; margin-right: 4px; }
.ico { font-style: normal; margin-right: 4px; }
.page-content .ico { color: var(--gold); }
.topbar-address { opacity: .85; }
.utility-menu { display: flex; gap: 16px; }
.utility-menu a { color: var(--gold-light); font-weight: 600; }

/* Header / nav ------------------------------------------------------------------ */
.site-header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 14px; }
.site-logo img { max-height: 56px; width: auto; }
.site-title { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 1.15rem; color: var(--navy); line-height: 1.25; }
.site-motto { margin: 6px 0 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.site-naac-badge {
	display: inline-block; margin-top: 5px;
	font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--navy); background: var(--cream); border: 1px solid var(--gold);
	border-radius: 20px; padding: 3px 11px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Full-width nav bar (its own row below the logo, so top-level items never
   have to compete with the logo/CTA for space and don't wrap awkwardly). */
.nav-bar { background: var(--cream); border-top: 1px solid rgba(0,40,77,.08); border-bottom: 2px solid var(--gold); }
.main-navigation { display: flex; align-items: center; justify-content: center; }
.nav-menu { display: flex; flex-wrap: nowrap; gap: 2px; align-items: center; justify-content: center; }
.nav-menu li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 13px 15px; font-weight: 600; font-size: .88rem; color: var(--text); white-space: nowrap; }
.nav-menu a { color: var(--text); border-radius: 4px; }
.nav-menu a:hover { color: var(--navy); }
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current_page_parent > a { color: var(--navy); background: rgba(0,40,77,.08); }

/* Dropdown caret on items that have children (WP adds this class automatically) */
.nav-menu li.menu-item-has-children > a::after {
	content: "";
	width: 6px; height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -3px;
	opacity: .6;
}

.nav-menu ul {
	position: absolute; top: 100%; left: 0;
	background: var(--white); box-shadow: var(--shadow);
	min-width: 240px; padding: 8px; border-radius: 8px;
	border-top: 3px solid var(--gold);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 50;
}
.nav-menu li.menu-item-has-children:hover > ul,
.nav-menu li.menu-item-has-children.is-open > ul {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu ul li a { padding: 10px 12px; font-size: .87rem; font-weight: 500; border-radius: 6px; }
.nav-menu ul li a:hover { background: var(--cream); }
.nav-menu ul li.current-menu-item > a { background: var(--cream); color: var(--navy); font-weight: 700; }
.nav-menu ul li.menu-item-has-children > a::after { margin-top: 0; transform: rotate(-45deg); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle-bar { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-fallback-note { font-size: .75rem; color: var(--text-light); width: 100%; padding: 8px 15px; }

/* Hero slider ------------------------------------------------------------------ */
.hero-slider { position: relative; height: 520px; overflow: hidden; }
.hero-slides { position: relative; height: 100%; }
.hero-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; visibility: hidden; transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.hero-dot.is-active { background: var(--gold); border-color: var(--gold); }

/* Notice strip ------------------------------------------------------------------ */
.notice-strip { background: var(--cream-dark); border-bottom: 3px solid var(--gold); }
.notice-strip-inner { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.notice-label { background: var(--navy); color: var(--white); padding: 6px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.notice-scroll { overflow: hidden; flex: 1; }
.notice-scroll ul { display: flex; gap: 48px; white-space: nowrap; animation: dgt-scroll 24s linear infinite; }
.notice-scroll li a, .notice-scroll li { color: var(--navy); font-weight: 600; font-size: .92rem; }
@keyframes dgt-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* About snapshot ------------------------------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.vision-quote { border-left: 4px solid var(--gold); padding: 12px 20px; font-style: italic; color: var(--text-light); margin: 20px 0; }
.col-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--cream); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.stat-number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--navy); }
.stat-label { font-size: .85rem; color: var(--text-light); }

/* Card grids ------------------------------------------------------------------ */
.card-grid { display: grid; gap: 28px; }
.card-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.card-grid.five-col { grid-template-columns: repeat(5, 1fr); }
.programme-card, .post-card { background: var(--white); border: 1px solid #eee; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.programme-card h3 { margin-bottom: .4em; }
.facility-grid .facility-item { text-align: center; background: var(--white); border-radius: var(--radius); padding: 24px 12px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; }
.facility-icon { display: block; font-size: 2rem; margin-bottom: 10px; }

/* Principal section ------------------------------------------------------------------ */
.principal-inner { grid-template-columns: 320px 1fr; }
.principal-photo img { border-radius: var(--radius); border: 4px solid var(--gold); }
.principal-text p { font-size: 1.1rem; }
.principal-name { color: var(--gold-light); font-weight: 700; font-style: normal; }

/* Testimonial scroll ------------------------------------------------------------------ */
.testimonial-slider { max-width: 720px; margin: 0 auto; position: relative; text-align: center; }
.testimonial-slides { position: relative; min-height: 220px; }
.testimonial-slide {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden; transition: opacity .5s ease;
	display: flex; flex-direction: column; align-items: center;
}
.testimonial-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.testimonial-photo {
	width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
	border: 3px solid var(--gold); margin-bottom: 16px;
}
.testimonial-quote { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--text); line-height: 1.6; max-width: 620px; margin: 0 auto 16px; }
.testimonial-name { font-weight: 700; color: var(--navy); margin: 0; }
.testimonial-role { font-size: .88rem; color: var(--text-light); margin: 2px 0 0; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; cursor: pointer; padding: 0; opacity: .4; }
.testimonial-dot.is-active { background: var(--gold); border-color: var(--gold); opacity: 1; }

/* CTA strip ------------------------------------------------------------------ */
.cta-strip { background: linear-gradient(90deg, var(--navy), var(--navy-light)); color: var(--white); padding: 40px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h3 { color: var(--white); margin-bottom: .2em; }
.cta-strip p { opacity: .9; margin: 0; }

/* Inner pages ------------------------------------------------------------------ */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 32px; }
.page-hero h1 { color: var(--white); margin-bottom: .2em; }
.page-hero .breadcrumb, .page-hero .archive-description { color: var(--gold-light); font-size: .9rem; }
.two-col-page { display: grid; grid-template-columns: 2.3fr 1fr; gap: 48px; align-items: start; }
.page-content { max-width: 100%; }

/* Principal's Message — reserved photo, floated so the message text wraps
   beside it. Editors set it the same way as any other featured image
   (Set Featured Image on the page); a bundled placeholder shows until then. */
.principal-message-photo {
	float: left; margin: 4px 28px 16px 0; max-width: 260px;
}
.principal-message-photo img {
	width: 100%; height: auto; display: block; border-radius: var(--radius);
	box-shadow: var(--shadow); border: 4px solid var(--white); outline: 1px solid rgba(0,40,77,.1);
}
@media (max-width: 600px) {
	.principal-message-photo { float: none; max-width: 220px; margin: 0 auto 20px; }
}

/* Heading hierarchy inside page content — most editorial pages jump
   straight from the page-hero h1 to h3 subheadings, so h3 needs to read
   as a clear section divider rather than blend into body text. h2 is
   used rarely (kept for completeness); .dgt-doc-group-title is the
   shortcode's own pre-styled heading and is left untouched. */
.page-content h2 { font-size: 1.55rem; margin-top: 1.6em; }
.page-content h3:not(.dgt-doc-group-title) {
	font-size: 1.25rem;
	margin: 1.7em 0 .7em;
	padding-bottom: .35em;
	border-bottom: 2px solid var(--gold);
}
.page-content h4 { font-size: 1.05rem; margin-top: 1.4em; }
.page-content h2:first-child,
.page-content h3:not(.dgt-doc-group-title):first-child,
.page-content h4:first-child { margin-top: 0; }

/* Anchored headings (e.g. Courses page's #bed / #med jump targets from the
   homepage) need breathing room so the sticky site-header doesn't cover
   them when the browser jumps straight to the hash on page load. */
.page-content h2[id],
.page-content h3[id],
.page-content h4[id] { scroll-margin-top: 160px; }

/* Bullet / numbered lists typed into the editor (Do's & Don'ts, Leave
   Rules, committee rosters, instructions, etc.) were losing their
   markers and indent to the global `ul { list-style: none }` reset,
   making them look like an unbroken wall of text. Restore normal list
   styling here, but leave the shortcode-generated document list
   (.dgt-doc-group) exactly as designed — it already renders as
   linked rows, not a bulleted list. */
.page-content ul:not(.dgt-doc-group) { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content ul:not(.dgt-doc-group),
.page-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}
.page-content li:not(.dgt-doc-item) { margin-bottom: 8px; }
.page-content li:not(.dgt-doc-item):last-child { margin-bottom: 0; }
.page-content ul:not(.dgt-doc-group) ul,
.page-content ul:not(.dgt-doc-group) ol,
.page-content ol ul,
.page-content ol ol {
	margin: 8px 0 0;
}

.page-content blockquote {
	border-left: 4px solid var(--gold);
	padding: 10px 20px;
	margin: 1.4em 0;
	font-style: italic;
	color: var(--text-light);
}

.page-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.page-content table th, .page-content table td { border: 1px solid #e2e2e2; padding: 10px 14px; text-align: left; }
.page-content table th { background: var(--cream); }
.page-sidebar .widget { background: var(--cream); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.widget-title { font-size: 1rem; border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: 12px; }
.document-list li { border-bottom: 1px solid #eee; }
.document-list a { display: flex; align-items: center; gap: 10px; padding: 14px 4px; font-weight: 600; }
.doc-icon { font-style: normal; }
.widget_notice_board .document-list li:last-child { border-bottom: none; }
.widget-more { margin: 12px 0 0; text-align: right; }
.widget-more a { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.widget-more a:hover { color: var(--gold); }

/* ==========================================================================
   Staff / Faculty tables
   ========================================================================== */
.dgt-staff-table .dgt-staff-sno { width: 70px; text-align: center; }
.dgt-staff-empty { color: var(--text-light); font-style: italic; }
.dgt-holiday-table td:nth-child(3),
.dgt-holiday-table td:nth-child(4),
.dgt-holiday-table th:nth-child(3),
.dgt-holiday-table th:nth-child(4) { white-space: nowrap; }
.dgt-committee-table td:nth-child(2) { font-weight: 600; color: var(--navy); }
.dgt-committee-roles { margin: 0; padding: 0; list-style: none; }
.dgt-committee-roles li { padding: 2px 0; }

/* ==========================================================================
   Map embed (Contact Us)
   ========================================================================== */
.dgt-map-embed {
	margin: 24px 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	line-height: 0;
}
.dgt-map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ==========================================================================
   Photo Gallery — albums grid, photo grid, lightbox
   ========================================================================== */
.dgt-album-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin: 24px 0;
}
.dgt-album-card {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform .15s ease;
}
.dgt-album-card:hover { transform: translateY(-3px); }
.dgt-album-cover {
	height: 190px;
	background-size: cover;
	background-position: center;
	background-color: var(--cream);
}
.dgt-album-meta { padding: 14px 16px; border-top: 3px solid var(--gold); }
.dgt-album-title { display: block; font-weight: 700; color: var(--navy); }
.dgt-album-count { display: block; font-size: .85rem; color: var(--text-light); margin-top: 4px; }

.dgt-gallery-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	margin: 20px 0;
}
.dgt-gallery-photo {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	cursor: zoom-in;
}
.dgt-gallery-photo img { display: block; width: 100%; height: 160px; object-fit: cover; transition: transform .2s ease; }
.dgt-gallery-photo:hover img { transform: scale(1.06); }

.dgt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 60px 70px;
}
.dgt-lightbox.is-visible { display: flex; }
.dgt-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 40, .92); }
.dgt-lightbox-content { position: relative; z-index: 1; max-width: 100%; max-height: 100%; text-align: center; }
.dgt-lightbox-image { display: block; max-width: 100%; max-height: 76vh; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.dgt-lightbox-caption { color: #fff; margin: 14px 0 0; font-size: .95rem; }
.dgt-lightbox-counter { color: rgba(255, 255, 255, .7); font-size: .82rem; margin: 4px 0 0; }
.dgt-lightbox-close, .dgt-lightbox-prev, .dgt-lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	border: none;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}
.dgt-lightbox-close { top: -44px; right: -20px; width: 36px; height: 36px; font-size: 22px; }
.dgt-lightbox-prev, .dgt-lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 20px; }
.dgt-lightbox-prev { left: -64px; }
.dgt-lightbox-next { right: -64px; }
.dgt-lightbox-close:hover, .dgt-lightbox-prev:hover, .dgt-lightbox-next:hover { background: var(--gold); color: var(--navy); }
body.dgt-lightbox-open { overflow: hidden; }

@media (max-width: 780px) {
	.dgt-lightbox { padding: 20px 12px; }
	.dgt-lightbox-close { top: 4px; right: 4px; }
	.dgt-lightbox-prev { left: 4px; }
	.dgt-lightbox-next { right: 4px; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 24px; }
.footer-col h3 { color: var(--gold-light); font-size: 1.05rem; margin-bottom: .8em; }
.footer-motto { color: var(--gold-light); font-weight: 600; letter-spacing: .04em; }
.footer-menu li, .helpline-list li { margin-bottom: 8px; }
.footer-menu a, .helpline-list a, .footer-about a { color: rgba(255,255,255,.85); }
.footer-menu a:hover, .helpline-list a:hover, .footer-about a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: .82rem; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.two-col, .two-col-page, .principal-inner { grid-template-columns: 1fr; }
	.card-grid.three-col { grid-template-columns: 1fr 1fr; }
	.card-grid.five-col { grid-template-columns: 1fr 1fr 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1150px) and (min-width: 901px) {
	.nav-menu > li > a { padding: 13px 9px; font-size: .8rem; }
	.site-motto, .site-naac-badge { display: none; }
}

@media (max-width: 900px) {
	.topbar-address { display: none; }
	.menu-toggle { display: flex; }
	.header-actions { gap: 10px; }
	.btn-admission { padding: 9px 16px; font-size: .82rem; }

	.nav-bar { display: none; border-bottom: none; }
	.nav-bar.is-open { display: block; }
	.main-navigation { display: block; padding: 8px 0 16px; }
	.nav-menu { flex-direction: column; width: 100%; align-items: stretch; gap: 0; }
	.nav-menu li { border-bottom: 1px solid rgba(0,40,77,.08); }
	.nav-menu > li > a { padding: 13px 4px; justify-content: space-between; }
	.nav-menu li.menu-item-has-children > a::after { margin-right: 6px; }

	.nav-menu ul {
		position: static; box-shadow: none; border-top: 0; background: transparent;
		opacity: 1; visibility: visible; transform: none;
		display: none; padding: 0 0 8px 16px; min-width: 0;
	}
	.nav-menu li.is-open > ul { display: block; }
	.nav-menu ul li a { color: var(--text-light); }

	.hero-slider { height: 320px; }
	.card-grid.three-col, .card-grid.five-col { grid-template-columns: 1fr; }
	.cta-strip-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Homepage announcement popup
   ========================================================================== */
.dgt-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.dgt-popup.is-visible { display: flex; }

.dgt-popup-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 20, 40, .72);
	animation: dgtPopupFade .25s ease;
}

.dgt-popup-card {
	position: relative;
	max-width: min(480px, 100%);
	max-height: 88vh;
	background: var(--cream, #f7efe1);
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
	overflow: hidden;
	animation: dgtPopupPop .28s cubic-bezier(.2, .8, .3, 1.15);
}

.dgt-popup-card img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
}

.dgt-popup-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 40, 77, .85);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .15s ease;
}
.dgt-popup-close:hover { background: var(--gold, #c9a227); transform: scale(1.08); }

@keyframes dgtPopupFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes dgtPopupPop {
	from { opacity: 0; transform: scale(.92) translateY(10px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 600px) {
	.dgt-popup-card { max-width: 100%; }
	.dgt-popup-close { top: 6px; right: 6px; width: 32px; height: 32px; font-size: 1.3rem; }
}

/* ==========================================================================
   Document lists (Achievements, Downloads, IQAC, Mandatory Disclosure, etc)
   ========================================================================== */
.dgt-doc-list { margin: 20px 0 30px; }
.dgt-doc-group-title {
	font-size: 1.05rem;
	color: var(--navy);
	background: var(--cream);
	padding: 8px 14px;
	border-left: 4px solid var(--gold);
	margin: 24px 0 10px;
}
.dgt-doc-group-title:first-child { margin-top: 0; }
.dgt-doc-group { list-style: none; margin: 0 0 4px; padding: 0; }
.dgt-doc-item { border-bottom: 1px solid rgba(0,40,77,.08); }
.dgt-doc-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 6px;
	color: var(--text, #333);
}
.dgt-doc-item a:hover { color: var(--navy); background: rgba(201,162,39,.08); }
.dgt-doc-icon { font-size: 1.1rem; flex: 0 0 auto; }
.dgt-doc-title { flex: 1 1 auto; font-weight: 500; }
.dgt-doc-action {
	flex: 0 0 auto;
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--gold);
	white-space: nowrap;
}
.dgt-doc-empty { color: var(--text-light); font-style: italic; }

@media (max-width: 480px) {
	.dgt-doc-item a { flex-wrap: wrap; }
	.dgt-doc-action { order: 3; width: 100%; padding-left: 30px; }
	.site-naac-badge { display: none; }
}

/* ==========================================================================
   Gallery / holidays image blocks
   ========================================================================== */
.dgt-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 24px 0;
}
.dgt-photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dgt-photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dgt-holidays-image { margin: 20px 0; }
.dgt-holidays-image img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ==========================================================================
   College in News — press clipping grid
   ========================================================================== */
.dgt-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin: 24px 0;
}
.dgt-news-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.dgt-news-item a { display: block; }
.dgt-news-item img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: contain;
	object-position: top center;
	background: var(--cream);
}
.dgt-news-caption { padding: 14px 16px 16px; border-top: 3px solid var(--gold); }
.dgt-news-source { font-weight: 700; color: var(--navy); display: block; font-size: 0.95rem; }
.dgt-news-date { color: var(--text-light); font-size: 0.85rem; display: block; margin-top: 2px; }
.dgt-news-headline { margin: 8px 0 0; color: var(--text); font-size: 0.9rem; line-height: 1.5; }
