/* ==========================================================================
   Prerna Education – Astra child theme
   Values measured on the Avada site (Dec 2026).
   ========================================================================== */

:root {
	--pe-blue: #012284;
	--pe-dark: #333c4e;
	--pe-orange: #f09a3e;
	--pe-badge: #ff9800;
	--pe-grey: #7e8890;
	--pe-line: #e7e4e2;
	--pe-light: #f2f1f0;
	--pe-pad: 30px;
	--pe-header-h: 65px;
	--pe-font: "Open Sans", Arial, Helvetica, sans-serif;
	--pe-head: "Roboto Slab", Arial, Helvetica, sans-serif;
}

/* ---------- Base typography ---------- */
body.pe-site {
	font-family: var(--pe-font);
	font-size: 15px;
	line-height: 2.1;
	color: #000;
	background: #fff;
}
.pe-site h1, .pe-site h2, .pe-site h3, .pe-site h4, .pe-site h5, .pe-site h6,
.pe-site .elementor-widget-heading .elementor-heading-title {
	font-family: var(--pe-head);
	color: var(--pe-dark);
	font-weight: 700;
	line-height: 1.35;
}
.pe-site h1 { font-size: 35px; line-height: 1.15; }
.pe-site h2 { font-size: 28px; }
.pe-site h3 { font-size: 22px; }
.pe-site h4 { font-size: 18px; }
.pe-site h5 { font-size: 16px; }
.pe-site h6 { font-size: 14px; }
.pe-site .entry-content a,
.pe-site .elementor-widget-text-editor a,
.pe-site .elementor-icon-list-text a { color: var(--pe-orange); }
.pe-site .entry-content a:hover,
.pe-site .elementor-widget-text-editor a:hover { color: var(--pe-blue); }
.pe-site .elementor-widget-text-editor,
.pe-site .elementor-icon-list-text { font-family: var(--pe-font); font-size: 15px; color: #000; }
.pe-site img { height: auto; max-width: 100%; }

.pe-wrap {
	width: 100%;
	padding-left: var(--pe-pad);
	padding-right: var(--pe-pad);
	box-sizing: border-box;
}

/* ---------- Top bar ---------- */
.pe-topbar {
	background: var(--pe-blue);
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
}
.pe-topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 43px;
	gap: 20px;
}
.pe-topmenu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pe-topmenu a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	white-space: nowrap;
}
.pe-topmenu a:hover { color: var(--pe-badge); }
.pe-mi { font-size: 13px; width: 16px; text-align: center; }
.pe-badge {
	display: inline-block;
	background: var(--pe-badge);
	color: #fff;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 1px 5px;
	font-size: 8px;
	line-height: 1.6;
	font-weight: 600;
	vertical-align: middle;
}

/* Social icons */
.pe-social { display: flex; align-items: center; gap: 18px; }
.pe-soc { color: inherit; font-size: 16px; line-height: 1; text-decoration: none; display: inline-flex; }
.pe-social-top .pe-soc { color: #fff; }
.pe-social-top .pe-soc:hover { color: var(--pe-badge); }
.pe-soc-fallback { display: none; font-weight: 700; font-size: 13px; }
.pe-no-fa .pe-soc i { display: none; }
.pe-no-fa .pe-soc-fallback { display: inline; }

/* ---------- Main header ---------- */
.pe-header {
	background: #fff;
	position: relative;
	z-index: 999;
	transition: box-shadow .2s ease;
}
.pe-has-sticky .pe-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}
.pe-header.pe-scrolled { box-shadow: 0 1px 10px rgba(0, 0, 0, .08); }
.pe-header-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--pe-header-h);
	gap: 24px;
}
.pe-logo { flex: 0 0 auto; line-height: 0; margin: 10px 0; }
.pe-logo img { max-height: 44px; width: auto; }
.pe-logo-text { font: 700 22px/1 var(--pe-head); color: var(--pe-blue); }

.pe-menu {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pe-menu > li { position: relative; padding-right: 20px; }
.pe-menu > li:last-child { padding-right: 0; }
.pe-menu > li > a {
	display: flex;
	align-items: center;
	min-height: var(--pe-header-h);
	color: var(--pe-dark);
	font: 700 12px/1 var(--pe-font);
	text-decoration: none;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	box-sizing: border-box;
}
.pe-menu > li > a:hover,
.pe-menu > li.current-menu-item > a,
.pe-menu > li.current-menu-ancestor > a,
.pe-menu > li.current_page_item > a { color: var(--pe-orange); }
.pe-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.pe-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--pe-light);
	border-top: 3px solid var(--pe-orange);
	box-shadow: 1px 1px 30px rgba(0, 0, 0, .06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 1000;
}
.pe-menu .sub-menu .sub-menu { top: -3px; left: 100%; }
.pe-menu li:hover > .sub-menu,
.pe-menu li.pe-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pe-menu .sub-menu li { position: relative; border-bottom: 1px solid #dcdadb; }
.pe-menu .sub-menu li:last-child { border-bottom: 0; }
.pe-menu .sub-menu a {
	display: block;
	padding: 7px 20px;
	color: var(--pe-dark);
	font: 400 12px/1.6 var(--pe-font);
	text-decoration: none;
	white-space: nowrap;
}
.pe-menu .sub-menu a:hover,
.pe-menu .sub-menu .current-menu-item > a { background: #f8f8f8; color: var(--pe-orange); }
.pe-menu .pe-sub-toggle { display: none; }

/* Burger (hidden on desktop) */
.pe-burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 9px;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-between;
}
.pe-burger span { display: block; height: 3px; border-radius: 2px; background: var(--pe-dark); }

/* ---------- Mobile menu panel ---------- */
.pe-mobile {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, .45);
}
.pe-mobile[hidden] { display: none; }
.pe-mobile-in {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: #fff;
	overflow-y: auto;
	padding: 56px 0 30px;
	box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
	animation: pe-slide .2s ease;
}
@keyframes pe-slide { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.pe-mobile-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 32px;
	line-height: 1;
	background: none;
	border: 0;
	color: var(--pe-dark);
	cursor: pointer;
}
.pe-mmenu { list-style: none; margin: 0; padding: 0; }
.pe-mmenu li { position: relative; border-bottom: 1px solid var(--pe-line); }
.pe-mmenu a {
	display: block;
	padding: 12px 56px 12px 22px;
	color: var(--pe-dark);
	font: 600 14px/1.4 var(--pe-font);
	text-decoration: none;
}
.pe-mmenu .sub-menu { display: none; list-style: none; margin: 0; padding: 0; background: var(--pe-light); }
.pe-mmenu .sub-menu a { font-weight: 400; padding-left: 36px; }
.pe-mmenu li.pe-open > .sub-menu { display: block; }
.pe-mmenu .pe-sub-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 46px;
	border: 0;
	border-left: 1px solid var(--pe-line);
	background: transparent;
	cursor: pointer;
}
.pe-mmenu .pe-sub-toggle::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	margin: auto;
	border-right: 2px solid var(--pe-dark);
	border-bottom: 2px solid var(--pe-dark);
	transform: rotate(45deg);
	transition: transform .15s;
}
.pe-mmenu li.pe-open > .pe-sub-toggle::before { transform: rotate(-135deg); }
.pe-mmenu-top { margin-top: 18px; }
.pe-mmenu-top a { font-size: 13px; font-weight: 400; }
.pe-social-mobile { padding: 20px 22px; color: var(--pe-dark); }
body.pe-menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.pe-footer-widgets {
	background: #fff var(--pe-footer-bg, none) no-repeat center center;
	background-size: contain;
	border-top: 1px solid var(--pe-line);
	padding: 60px 0 35px;
	color: var(--pe-grey);
	font-size: 13px;
	line-height: 1.8;
}
.pe-fcols {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 30px;
	padding-left: calc(var(--pe-pad) + 34px);
	padding-right: calc(var(--pe-pad) + 34px);
}
.pe-fcols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pe-fcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pe-fcols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pe-fcols-1 { grid-template-columns: 1fr; }
.pe-ftitle,
.pe-footer .widget-title {
	font: 700 14px/1.5 var(--pe-font);
	text-transform: uppercase;
	color: var(--pe-dark);
	margin: 0 0 25px;
}
.pe-fwidget { margin-bottom: 30px; }
.pe-fwidget ul { list-style: none; margin: 0; padding: 0; }
.pe-fwidget li { margin: 0 0 10px; line-height: 1.6; }
.pe-fwidget a { color: var(--pe-dark); text-decoration: none; }
.pe-fwidget a:hover { color: var(--pe-orange); }
.pe-fwidget p { margin: 0 0 10px; }
.pe-fwidget strong { color: var(--pe-grey); }
.pe-copy {
	border-top: 1px solid var(--pe-line);
	padding: 30px 0;
	text-align: center;
	color: var(--pe-grey);
	font-size: 13px;
	background: #fff;
}
.pe-copy a { color: var(--pe-grey); }
.pe-copy-text { margin-bottom: 18px; }
.pe-social-footer { justify-content: center; color: #a0a7ad; gap: 22px; }
.pe-social-footer .pe-soc:hover { color: var(--pe-dark); }

/* Back to top + sliding bar */
.pe-totop {
	position: fixed;
	right: 75px;
	bottom: 0;
	width: 48px;
	height: 35px;
	background: #333;
	color: #fff;
	text-align: center;
	line-height: 40px;
	font-size: 20px;
	border-radius: 4px 4px 0 0;
	text-decoration: none;
	z-index: 9990;
	opacity: .85;
}
.pe-totop:hover { opacity: 1; color: #fff; }


/* ---------- Content blocks made by the migrator (blog posts in HTML) ---------- */
.pe-section { padding-left: var(--pe-pad); padding-right: var(--pe-pad); }
.entry-content .pe-section { padding-left: 0; padding-right: 0; }
.pe-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.pe-col { width: var(--pe-w, 100%); padding: 0 15px; box-sizing: border-box; margin-bottom: 20px; }
.pe-checklist { list-style: none; margin: 0 0 20px; padding: 0; }
.pe-checklist li { position: relative; padding-left: 30px; margin-bottom: 6px; }
.pe-checklist li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .55em;
	width: 14px;
	height: 7px;
	border-left: 3px solid var(--pe-blue);
	border-bottom: 3px solid var(--pe-blue);
	transform: rotate(-45deg);
}
.pe-accordion details { border: 1px solid var(--pe-line); border-radius: 4px; margin: 0 0 10px; background: #fff; }
.pe-accordion summary {
	cursor: pointer;
	padding: 12px 44px 12px 16px;
	font-weight: 700;
	color: var(--pe-dark);
	position: relative;
	list-style: none;
	line-height: 1.5;
}
.pe-accordion summary::-webkit-details-marker { display: none; }
.pe-accordion summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-size: 22px; color: var(--pe-orange); }
.pe-accordion details[open] summary::after { content: "−"; }
.pe-acc-body { padding: 0 16px 12px; }
.pe-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.pe-table, .elementor-widget-text-editor table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.6;
}
.pe-table th, .pe-table td,
.elementor-widget-text-editor table th, .elementor-widget-text-editor table td { border: 1px solid var(--pe-line); padding: 8px 12px; text-align: left; }
.pe-table th, .elementor-widget-text-editor table th { background: var(--pe-blue); color: #fff; }
.pe-table tr:nth-child(even) td { background: #fafafa; }
.pe-btn, .pe-tagline .pe-btn {
	display: inline-block;
	background: var(--pe-orange);
	color: #fff !important;
	padding: 10px 26px;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.5;
}
.pe-btn:hover { background: var(--pe-blue); }
.pe-boxes { display: grid; grid-template-columns: repeat(var(--pe-cols, 3), minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.pe-box h3 { margin-top: 10px; }
.pe-highlight { padding: 0 4px; border-radius: 3px; background: #ffe600; }
.pe-dropcap { float: left; font-size: 3em; line-height: 1; margin: 4px 8px 0 0; color: var(--pe-orange); font-family: var(--pe-head); }
.pe-tagline { border-left: 4px solid var(--pe-orange); background: var(--pe-light); padding: 20px 24px; margin-bottom: 24px; }
.pe-image { margin: 0 0 20px; }
.pe-image.aligncenter, .pe-image.aligncenter img { margin-left: auto; margin-right: auto; display: block; }
.pe-sep { border: 0; border-top: 1px solid var(--pe-line); margin: 20px 0; }
.pe-spacer { height: 30px; }

/* [pe_posts] */
.pe-posts { display: grid; grid-template-columns: repeat(var(--pe-cols, 3), minmax(0, 1fr)); gap: 24px; }
.pe-post { background: #fff; border: 1px solid var(--pe-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.pe-post-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pe-post-body { padding: 14px 16px 18px; line-height: 1.6; }
.pe-post-title { font-size: 17px !important; margin: 0 0 6px; }
.pe-post-title a { color: var(--pe-dark); text-decoration: none; }
.pe-post-title a:hover { color: var(--pe-orange); }
.pe-post-meta { font-size: 12px; color: var(--pe-grey); margin: 0 0 8px; }
.pe-post-ex { font-size: 14px; margin: 0; }

/* Elementor containers made by the migrator keep Avada's spacing */
.pe-site .elementor-widget:not(:last-child) { margin-block-end: 20px; }
.pe-site .elementor-icon-list-items .elementor-icon-list-item { align-items: flex-start; }
.pe-site .elementor-icon-list-icon { padding-top: .45em; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.pe-menu > li { padding-right: 14px; }
	.pe-fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: var(--pe-pad); padding-right: var(--pe-pad); }
}
@media (max-width: 1024px) {
	:root { --pe-pad: 20px; }
	.pe-mainnav { display: none; }
	.pe-burger { display: flex; }
	.pe-topbar-in { min-height: 38px; }
	.pe-topmenu { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; padding: 6px 0; }
	.pe-topmenu::-webkit-scrollbar { display: none; }
	.pe-social-top { display: none; }
	.pe-fcols, .pe-fcols-4, .pe-fcols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pe-posts, .pe-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	:root { --pe-pad: 15px; --pe-header-h: 60px; }
	body.pe-site { line-height: 1.85; }
	.pe-site h1 { font-size: 27px; }
	.pe-site h2 { font-size: 23px; }
	.pe-site h3 { font-size: 19px; }
	.pe-logo img { max-height: 36px; }
	.pe-fcols, .pe-fcols-2, .pe-fcols-3, .pe-fcols-4, .pe-fcols-5 { grid-template-columns: 1fr; gap: 0; }
	.pe-footer-widgets { padding: 40px 0 10px; }
	.pe-col { width: 100%; }
	.pe-posts, .pe-boxes { grid-template-columns: 1fr; }
	.pe-totop { right: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.pe-mobile-in { animation: none; }
	.pe-menu .sub-menu { transition: none; }
}
