/* GVP Site Style – clean & modern layer on top of the "personal-portfolio-freemium" theme.
   Everything is scoped to body.gvp-style so deactivating the plugin restores the old look. */

body.gvp-style {
	--gvp-blue: #1b3a8a;
	--gvp-blue-dark: #132a66;
	--gvp-blue-soft: #eef2fb;
	--gvp-red: #d62828;
	--gvp-yellow: #ffb703;
	--gvp-bg: #eef2f8;
	--gvp-text: #24292f;
	--gvp-muted: #5b6472;
	--gvp-border: #e3e8f2;
	--gvp-radius: 14px;
	--gvp-shadow: 0 8px 30px rgba(19, 42, 102, .10);
	--gvp-head: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
	--gvp-body: "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

	background: radial-gradient(1200px 500px at 10% -10%, #dfe7f7 0%, transparent 60%),
		radial-gradient(900px 400px at 110% 10%, #fdf1d6 0%, transparent 55%),
		var(--gvp-bg) !important;
	background-attachment: fixed !important;
	color: var(--gvp-text);
	font-family: var(--gvp-body);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Old cartoon background slideshow off */
body.gvp-style .vegas-slide,
body.gvp-style .vegas-overlay,
body.gvp-style .vegas-timer { display: none !important; }

body.gvp-style ::selection { background: var(--gvp-yellow); color: #111; }

/* ---------- Page frame ---------- */
body.gvp-style #page {
	max-width: 1200px;
	margin: 20px auto 28px;
	background: #fff;
	border-radius: var(--gvp-radius);
	box-shadow: var(--gvp-shadow);
}

/* ---------- Header ---------- */
body.gvp-style #masthead {
	background: #fff;
	padding: 12px 16px 12px;
	border-radius: var(--gvp-radius) var(--gvp-radius) 0 0;
}
body.gvp-style #masthead .site-branding { padding: 0; margin: 0; }
body.gvp-style .header-top {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 0;
	height: auto;
	margin: 0 0 8px;
	padding: 0;
}
body.gvp-style .header-top .site-description:empty { display: none; }
body.gvp-style .header-search { float: none; margin: 0; padding: 0; }
body.gvp-style .sm-header { display: flex; gap: 8px; }
body.gvp-style .sm-header a.sm-icon-header {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--gvp-blue-soft);
	color: var(--gvp-blue) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background .15s, color .15s;
}
body.gvp-style .sm-header a.sm-icon-header:hover { background: var(--gvp-blue); color: #fff !important; }
body.gvp-style .sm-header a.sm-icon-header i,
body.gvp-style .sm-header a.sm-icon-header span { font-size: 13px !important; line-height: 1.4; }
body.gvp-style .header-logo-image { margin: 0; padding: 0; }
body.gvp-style .header-logo-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 10px;
}

/* ---------- Main menu (desktop) ---------- */
body.gvp-style #site-navigation {
	background: var(--gvp-blue) !important;
	margin: 0;
	padding: 0 8px;
	box-shadow: 0 4px 14px rgba(19, 42, 102, .18);
	position: relative;
	z-index: 50;
}
body.gvp-style #site-navigation .nav-foot { display: none; }
/* theme gives the bar and links fixed heights / margins – let them size naturally */
body.gvp-style #site-navigation,
body.gvp-style #primary-menu,
body.gvp-style #primary-menu > ul,
body.gvp-style #primary-menu > ul > li { height: auto !important; min-height: 0 !important; line-height: normal; }
body.gvp-style #primary-menu li { background: transparent !important; }
body.gvp-style #primary-menu a { margin: 0 !important; height: auto !important; }
body.gvp-style #primary-menu > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
}
body.gvp-style #primary-menu > ul > li { float: none; position: relative; }
body.gvp-style #primary-menu > ul > li > a {
	display: block;
	color: #fff !important;
	font-family: var(--gvp-head);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 16px 11px !important;
	line-height: 1.2;
	background: transparent !important;
	text-shadow: none;
	transition: background .15s;
}
body.gvp-style #primary-menu > ul > li > a:hover,
body.gvp-style #primary-menu > ul > li:hover > a,
body.gvp-style #primary-menu > ul > li.focus > a { background: rgba(255, 255, 255, .12) !important; }
body.gvp-style #primary-menu > ul > li.current_page_item > a,
body.gvp-style #primary-menu > ul > li.current_page_ancestor > a,
body.gvp-style #primary-menu > ul > li.current_page_parent > a { box-shadow: inset 0 -3px 0 var(--gvp-yellow); }
/* hide theme's down-arrow pseudo icons, we use our own */
body.gvp-style #primary-menu > ul > li.page_item_has_children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 0 3px 6px;
	border-right: 2px solid rgba(255, 255, 255, .8);
	border-bottom: 2px solid rgba(255, 255, 255, .8);
	transform: rotate(45deg);
	vertical-align: middle;
	position: static;
	background: none;
}

/* Dropdowns: hidden until hover / keyboard focus (desktop) */
@media (min-width: 800px) {
	body.gvp-style #primary-menu ul.children { display: none !important; }
	body.gvp-style #primary-menu li:hover > ul.children,
	body.gvp-style #primary-menu li.focus > ul.children,
	body.gvp-style #primary-menu li:focus-within > ul.children {
		display: block !important;
		left: 0 !important;
		height: auto !important;
		width: auto !important;
		overflow: visible !important;
		clip: auto !important;
	}
	body.gvp-style #primary-menu ul.children ul.children { top: 0; left: 100% !important; }
}
body.gvp-style #primary-menu ul.children {
	background: #fff !important;
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(19, 42, 102, .18);
	padding: 6px !important;
	min-width: 230px;
	border: 1px solid var(--gvp-border);
	top: 100%;
}
body.gvp-style #primary-menu ul.children li { float: none; display: block; width: 100%; border: 0; }
body.gvp-style #primary-menu ul.children a {
	display: block;
	width: auto !important;
	color: var(--gvp-text) !important;
	background: transparent !important;
	font-family: var(--gvp-body);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	padding: 9px 12px !important;
	border-radius: 8px;
	border: 0 !important;
	line-height: 1.35;
	white-space: normal;
}
body.gvp-style #primary-menu ul.children a:hover,
body.gvp-style #primary-menu ul.children li.current_page_item > a { background: var(--gvp-blue-soft) !important; color: var(--gvp-blue) !important; }

/* Our mobile menu buttons are hidden on desktop; theme's <select> menu is never used */
body.gvp-style .gvp-menu-toggle,
body.gvp-style .gvp-sub-toggle { display: none; }
body.gvp-style #site-navigation select.mnav { display: none !important; }

/* ---------- Homepage slider ---------- */
body.gvp-style .site-slider { background: var(--gvp-blue-dark); overflow: hidden; }
body.gvp-style .site-slider .slider-cycle { overflow: hidden !important; }
body.gvp-style .site-slider .slider-image-wrap { margin: 0; }
body.gvp-style .site-slider .slider-image-wrap img {
	display: block;
	width: 100%;
	height: clamp(240px, 46vw, 540px);
	object-fit: cover;
	object-position: center 30%;
}
body.gvp-style #slider-text-box { line-height: 1.3; }
body.gvp-style #slider-title { margin: 0 0 6px; font-size: 16px; }
body.gvp-style #slider-title a {
	display: inline-block;
	background: var(--gvp-yellow) !important;
	color: #1a1a1a !important;
	font-family: var(--gvp-head);
	font-weight: 600;
	padding: 11px 20px;
	border-radius: 999px;
	line-height: 1.2;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	text-decoration: none;
}
body.gvp-style #slider-title a:hover { background: #fff !important; }
body.gvp-style #slider-content {
	background: rgba(19, 42, 102, .78) !important;
	color: #fff !important;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.3;
}

/* ---------- Content ---------- */
body.gvp-style #content {
	background: #fff;
	padding: 28px 32px 36px;
}
body.gvp-style .breadcrumbs:empty { display: none; }
body.gvp-style .entry-header { margin: 0 0 18px; }
body.gvp-style .entry-title {
	font-family: var(--gvp-head) !important;
	font-size: clamp(24px, 3vw, 32px) !important;
	font-weight: 700 !important;
	color: var(--gvp-blue-dark) !important;
	text-shadow: none !important;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.25;
	margin: 0;
	padding: 0 0 12px;
	position: relative;
}
body.gvp-style .entry-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 4px;
	background: var(--gvp-yellow);
}
body.gvp-style .entry-meta { font-size: 12px; color: var(--gvp-muted); }
/* No big "HOME" title on the homepage */
body.gvp-style.home .entry-header { display: none; }

body.gvp-style .entry-content h1,
body.gvp-style .entry-content h2,
body.gvp-style .entry-content h3,
body.gvp-style .entry-content h4,
body.gvp-style .entry-content .fl-heading,
body.gvp-style .entry-content .fl-heading-text {
	font-family: var(--gvp-head) !important;
	color: var(--gvp-blue-dark);
	text-shadow: none !important;
	letter-spacing: 0;
	line-height: 1.3;
}
body.gvp-style .entry-content h2,
body.gvp-style .entry-content .fl-heading { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; }
body.gvp-style .entry-content p,
body.gvp-style .entry-content li { color: var(--gvp-text); font-size: 15.5px; line-height: 1.75; }
body.gvp-style .entry-content a:not(.gvp-ql-card):not(.fl-button) { color: var(--gvp-blue); text-underline-offset: 3px; }
body.gvp-style .entry-content img { border-radius: 10px; }
body.gvp-style .entry-content .n2-section-smartslider img { border-radius: 0; }
body.gvp-style .entry-content iframe { border-radius: 10px; max-width: 100%; }
body.gvp-style .entry-content video { border-radius: 12px; }

/* ---------- Homepage quick links ---------- */
body.gvp-style .gvp-quick-links { margin: 0 0 30px; }
body.gvp-style .gvp-ql-title {
	font-family: var(--gvp-head);
	font-size: 20px !important;
	font-weight: 700;
	color: var(--gvp-blue-dark);
	margin: 0 0 14px;
}
body.gvp-style .gvp-ql-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
body.gvp-style .gvp-ql-title::before,
body.gvp-style .entry-content h2::before { display: none !important; }
body.gvp-style a.gvp-ql-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--gvp-border);
	border-radius: 12px;
	color: var(--gvp-text) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.3;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
body.gvp-style a.gvp-ql-card:hover,
body.gvp-style a.gvp-ql-card:focus-visible {
	transform: translateY(-2px);
	border-color: var(--gvp-blue);
	box-shadow: 0 10px 24px rgba(19, 42, 102, .12);
	outline: none;
}
body.gvp-style .gvp-ql-icon {
	flex: 0 0 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--gvp-blue-soft);
	color: var(--gvp-blue);
	font-size: 18px;
}
body.gvp-style .gvp-ql-label { flex: 1 1 auto; }
body.gvp-style .gvp-ql-arrow { color: #a3acbd; font-size: 18px; }
/* First card (admission) highlighted */
body.gvp-style a.gvp-ql-card:first-child { background: var(--gvp-blue); border-color: var(--gvp-blue); color: #fff !important; }
body.gvp-style a.gvp-ql-card:first-child .gvp-ql-icon { background: rgba(255, 255, 255, .16); color: var(--gvp-yellow); }
body.gvp-style a.gvp-ql-card:first-child .gvp-ql-arrow { color: rgba(255, 255, 255, .7); }

/* ---------- Footer ---------- */
body.gvp-style #colophon {
	background: var(--gvp-blue-dark) !important;
	color: rgba(255, 255, 255, .85) !important;
	border-radius: 0 0 var(--gvp-radius) var(--gvp-radius);
	padding: 26px 24px 22px;
	margin: 0;
}
body.gvp-style #colophon * { color: inherit; }
body.gvp-style #colophon a { color: #fff !important; }
body.gvp-style #colophon .site-info { padding: 0; margin: 0; background: none; }
body.gvp-style #colophon .site-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	font-size: 14px;
	margin: 0 0 12px;
}
body.gvp-style #colophon .site-contact span { display: inline-flex; align-items: center; gap: 8px; background: transparent !important; padding: 0; }
body.gvp-style #colophon .site-description,
body.gvp-style #colophon .footer-social-media { background: transparent !important; }
body.gvp-style #content,
body.gvp-style #primary,
body.gvp-style #main { border-radius: 0; }
body.gvp-style #colophon .site-contact i { color: var(--gvp-yellow) !important; font-size: 15px; }
body.gvp-style #colophon .copyright {
	text-align: center;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .6) !important;
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-top: 12px;
}

/* Back to top */
body.gvp-style #back_top {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gvp-blue) !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(19, 42, 102, .3);
	opacity: .95;
}
body.gvp-style #back_top i { color: #fff !important; font-size: 22px; line-height: 1; }

/* ---------- Tablets & phones ---------- */
@media (max-width: 799px) {
	body.gvp-style { font-size: 15px; background-attachment: scroll !important; }
	body.gvp-style #page { margin: 0; border-radius: 0; box-shadow: none; }
	body.gvp-style #masthead { padding: 10px 10px 10px; border-radius: 0; }
	body.gvp-style .header-top { justify-content: center; }
	body.gvp-style .header-logo-image img { border-radius: 6px; }

	body.gvp-style #site-navigation { padding: 0; }
	body.gvp-style .gvp-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 0;
		padding: 14px 16px;
		background: transparent;
		border: 0;
		border-radius: 0;
		color: #fff;
		font-family: var(--gvp-head);
		font-size: 15px;
		font-weight: 600;
		letter-spacing: .02em;
		cursor: pointer;
		box-shadow: none;
		text-transform: none;
	}
	body.gvp-style .gvp-menu-toggle:focus-visible { outline: 2px solid var(--gvp-yellow); outline-offset: -2px; }
	body.gvp-style .gvp-burger { position: relative; width: 22px; height: 16px; }
	body.gvp-style .gvp-burger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform .2s, opacity .2s, top .2s;
	}
	body.gvp-style .gvp-burger span:nth-child(1) { top: 0; }
	body.gvp-style .gvp-burger span:nth-child(2) { top: 7px; }
	body.gvp-style .gvp-burger span:nth-child(3) { top: 14px; }
	body.gvp-style #site-navigation.gvp-open .gvp-burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
	body.gvp-style #site-navigation.gvp-open .gvp-burger span:nth-child(2) { opacity: 0; }
	body.gvp-style #site-navigation.gvp-open .gvp-burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

	body.gvp-style #primary-menu > ul { display: none !important; }
	body.gvp-style #site-navigation.gvp-open #primary-menu > ul {
		display: block !important;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		padding: 0 0 8px;
		border-top: 1px solid rgba(255, 255, 255, .15);
	}
	body.gvp-style #primary-menu > ul > li { display: block; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	body.gvp-style #primary-menu > ul > li > a { padding: 14px 16px !important; font-size: 14.5px; }
	body.gvp-style #primary-menu > ul > li.page_item_has_children > a { padding-right: 56px !important; }
	body.gvp-style #primary-menu > ul > li.page_item_has_children > a::after { display: none; }
	body.gvp-style #primary-menu > ul > li.current_page_item > a { box-shadow: inset 4px 0 0 var(--gvp-yellow); }

	body.gvp-style .gvp-sub-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		right: 0;
		width: 52px;
		height: 47px;
		margin: 0;
		padding: 0;
		background: rgba(255, 255, 255, .06);
		border: 0;
		border-left: 1px solid rgba(255, 255, 255, .1);
		border-radius: 0;
		color: #fff;
		cursor: pointer;
		box-shadow: none;
	}
	body.gvp-style .gvp-sub-toggle::before {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg) translateY(-2px);
		transition: transform .2s;
	}
	body.gvp-style li.gvp-sub-open > .gvp-sub-toggle::before { transform: rotate(-135deg) translateY(-2px); }

	body.gvp-style #primary-menu ul.children {
		position: static !important;
		left: auto !important;
		float: none !important;
		display: none !important;
		width: auto !important;
		min-width: 0;
		height: auto !important;
		overflow: visible !important;
		clip: auto !important;
		background: rgba(0, 0, 0, .18) !important;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 4px 0 !important;
		margin: 0 !important;
	}
	body.gvp-style #primary-menu li.gvp-sub-open > ul.children { display: block !important; }
	body.gvp-style #primary-menu ul.children a {
		color: rgba(255, 255, 255, .92) !important;
		padding: 11px 16px 11px 30px !important;
		border-radius: 0;
		font-size: 14.5px;
	}
	body.gvp-style #primary-menu ul.children a:hover,
	body.gvp-style #primary-menu ul.children li.current_page_item > a { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }

	body.gvp-style #content { padding: 20px 16px 28px; }
	body.gvp-style .entry-content p,
	body.gvp-style .entry-content li { font-size: 15px; }
	body.gvp-style .gvp-ql-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	body.gvp-style a.gvp-ql-card { padding: 12px 10px; gap: 9px; font-size: 13.5px; }
	body.gvp-style .gvp-ql-icon { flex-basis: 34px; height: 34px; font-size: 16px; }
	body.gvp-style .gvp-ql-arrow { display: none; }
	body.gvp-style #slider-title a { padding: 8px 14px; font-size: 13px; }
	body.gvp-style #colophon { border-radius: 0; padding: 22px 16px; }
	body.gvp-style #colophon .site-contact { flex-direction: column; align-items: center; text-align: center; }
}
