/* ==========================================================================
   Prerna Education - premium layer (v1.1)
   Boxed 1200px layout, cleaner type, cards, mega menu, blog sidebar.
   Loaded after prerna.css. Prerna colours are kept.
   ========================================================================== */

:root {
	--pe-box: 1200px;
	--pe-radius: 14px;
	--pe-shadow: 0 6px 24px rgba(1, 34, 132, .08);
	--pe-text: #1f2937;
}

/* ---------- Reading comfort ---------- */
body.pe-site { font-size: 16px; line-height: 1.75; color: var(--pe-text); }
.pe-site .elementor-widget-text-editor,
.pe-site .elementor-icon-list-text,
.pe-site .entry-content p:where(:not(.elementor-widget-text-editor *)),
.pe-site .entry-content li:where(:not(.elementor-widget-text-editor *)) { font-size: 16px; line-height: 1.75; }
.pe-site .entry-content p { margin-bottom: 1em; }
.pe-site h1, .pe-site h2, .pe-site h3, .pe-site h4 { letter-spacing: -.01em; }
.pe-site h2 { font-size: 30px; line-height: 1.25; }
.pe-site h3 { font-size: 22px; line-height: 1.3; }

/* ---------- Boxed width (content never edge to edge) ---------- */
.pe-site .ast-container,
.pe-site .site-content > .ast-container { max-width: var(--pe-box); }
.pe-site .e-con.pe-sec > .e-con-inner { max-width: var(--pe-box); width: 100%; margin-inline: auto; }
.pe-site .e-con.pe-sec { padding-inline: max(16px, 1.5vw); }
.pe-site .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--pe-box); }
.pe-site .entry-content > :not(.alignfull):not(.elementor):not(.pe-post-grid) { max-width: var(--pe-box); }
.pe-site .elementor-widget-container img { border-radius: 10px; }

/* ---------- Buttons ---------- */
.pe-site .elementor-button,
.pe-site .pe-btn {
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .01em;
	padding: 12px 26px;
	box-shadow: 0 4px 14px rgba(240, 154, 62, .28);
	transition: transform .15s ease, box-shadow .15s ease;
}
.pe-site .elementor-button:hover, .pe-site .pe-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(240, 154, 62, .35); }

/* ---------- Cards ---------- */
.pe-site .elementor-widget-icon-box .elementor-widget-container,
.pe-site .elementor-widget-image-box .elementor-widget-container,
.pe-site .elementor-widget-testimonial .elementor-widget-container,
.pe-site .elementor-widget-counter .elementor-widget-container {
	background: #fff;
	border: 1px solid var(--pe-line);
	border-radius: var(--pe-radius);
	box-shadow: var(--pe-shadow);
	padding: 22px;
	height: 100%;
	box-sizing: border-box;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pe-site .elementor-widget-icon-box .elementor-widget-container:hover,
.pe-site .elementor-widget-image-box .elementor-widget-container:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(1, 34, 132, .13); }

/* ---------- Tables (scroll on phones) ---------- */
.pe-site .entry-content table, .pe-site .elementor-widget-text-editor table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--pe-line);
	border-radius: 10px;
	overflow: hidden;
	font-size: 15px;
}
.pe-site .entry-content th, .pe-site .elementor-widget-text-editor th { background: var(--pe-blue); color: #fff; text-align: left; }
.pe-site .entry-content th, .pe-site .entry-content td, .pe-site .elementor-widget-text-editor th, .pe-site .elementor-widget-text-editor td { padding: 10px 14px; border-bottom: 1px solid var(--pe-line); }
.pe-site .entry-content tr:nth-child(even) td, .pe-site .elementor-widget-text-editor tr:nth-child(even) td { background: #f8f9fc; }
.pe-site .elementor-widget-text-editor, .pe-site .entry-content { overflow-wrap: anywhere; }

/* ---------- Accordion / FAQ / tabs ---------- */
.pe-site .elementor-accordion .elementor-accordion-item,
.pe-site .elementor-toggle .elementor-toggle-item,
.pe-faq details, .pe-accordion details {
	border: 1px solid var(--pe-line);
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
	background: #fff;
}
.pe-faq summary, .pe-accordion summary { padding: 14px 18px; font-weight: 700; cursor: pointer; color: var(--pe-dark); }
.pe-faq details[open] summary, .pe-accordion details[open] summary { background: #f4f6fd; color: var(--pe-blue); }
.pe-acc-body { padding: 4px 18px 16px; }

/* ---------- Share bar and table of contents ---------- */
.pe-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; }
.pe-share-label { font-weight: 700; color: var(--pe-dark); margin-right: 4px; }
.pe-share a {
	display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; line-height: 1.2;
	background: #eef1fb; color: var(--pe-blue); text-decoration: none; font-weight: 600;
}
.pe-share a:hover { background: var(--pe-blue); color: #fff; }
.pe-toc { background: #f6f8ff; border: 1px solid #dfe5fb; border-left: 4px solid var(--pe-orange); border-radius: 10px; padding: 14px 20px; margin: 18px 0; }
.pe-toc-title { margin: 0 0 6px; font-weight: 700; color: var(--pe-blue); }
.pe-toc ol { margin: 0; padding-left: 20px; }
.pe-toc li { margin: 3px 0; line-height: 1.5; }
.pe-toc li.pe-toc-sub { margin-left: 14px; list-style: circle; }
.pe-toc a { color: var(--pe-dark); text-decoration: none; }
.pe-toc a:hover { color: var(--pe-orange); }

/* ---------- Blog post: content + sticky sidebar ---------- */
.pe-post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; max-width: var(--pe-box); margin: 0 auto; }
.pe-post-side { position: sticky; top: calc(var(--pe-header-h) + 24px + var(--wp-admin--admin-bar--height, 0px)); display: grid; gap: 22px; }
.pe-box { background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-radius); box-shadow: var(--pe-shadow); padding: 20px; }
.pe-box-title { margin: 0 0 12px; font: 700 17px/1.3 var(--pe-head); color: var(--pe-blue); padding-bottom: 8px; border-bottom: 2px solid #eef1fb; }
.pe-box ul { list-style: none; margin: 0; padding: 0; }
.pe-box li { margin: 0; padding: 8px 0; border-bottom: 1px solid #f0f0f0; line-height: 1.45; font-size: 14px; }
.pe-box li:last-child { border-bottom: 0; }
.pe-box li a { color: var(--pe-dark); text-decoration: none; }
.pe-box li a:hover { color: var(--pe-orange); }
.pe-box-cta { background: linear-gradient(135deg, #012284, #1a3fb5); color: #fff; border: 0; }
.pe-box-cta .pe-box-title { color: #fff; border-color: rgba(255, 255, 255, .25); }
.pe-box-cta p { color: #e8edff; margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.pe-box-cta a.pe-btn { display: block; text-align: center; background: var(--pe-badge); color: #fff; text-decoration: none; margin-top: 8px; box-shadow: none; padding: 11px 16px; }
.pe-box-cta a.pe-btn.pe-btn-line { background: transparent; border: 1px solid rgba(255, 255, 255, .6); }
.pe-related { margin-top: 36px; }
.pe-related h2 { font-size: 24px; }
.pe-related-courses { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.pe-related-courses a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #eef1fb; color: var(--pe-blue); font-weight: 600; font-size: 14px; text-decoration: none; }
.pe-related-courses a:hover { background: var(--pe-blue); color: #fff; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
	.pe-post-grid { grid-template-columns: 1fr; gap: 28px; }
	.pe-post-side { position: static; }
	.pe-site h2 { font-size: 26px; }
}
@media (max-width: 767px) {
	body.pe-site, .pe-site .elementor-widget-text-editor, .pe-site .entry-content p:where(:not(.elementor-widget-text-editor *)) { font-size: 15.5px; line-height: 1.7; }
	.pe-site .e-con.pe-sec { padding-inline: 14px; }
	.pe-site .entry-content table:has(tr > :nth-child(4)), .pe-site .elementor-widget-text-editor table:has(tr > :nth-child(4)) { display: block; overflow-x: auto; white-space: nowrap; }
	.pe-site .elementor-button { width: 100%; text-align: center; justify-content: center; }
	.pe-site .elementor-widget-icon-box .elementor-widget-container,
	.pe-site .elementor-widget-image-box .elementor-widget-container { padding: 16px; }
	.pe-related h2 { font-size: 21px; }
}

/* ==========================================================================
   Page design layer (classes added by the migrator: pe-hero, pe-band-a/b)
   ========================================================================== */

/* Hero: first section of every converted page */
.pe-site .e-con.pe-hero {
	background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%, #fff6ea 100%);
	padding-block: 56px 44px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid #e6ebfa;
}
.pe-site .e-con.pe-hero::before {
	content: "";
	position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
	background: radial-gradient(circle, rgba(240, 154, 62, .22), rgba(240, 154, 62, 0) 70%);
	pointer-events: none;
}
.pe-site .pe-hero h1, .pe-site .pe-hero .elementor-widget-heading h1.elementor-heading-title {
	font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; color: var(--pe-blue); text-align: center; margin-bottom: 6px;
}
.pe-site .pe-hero h1::after, .pe-site .pe-hero .elementor-widget-heading h1.elementor-heading-title::after {
	content: ""; display: block; width: 72px; height: 4px; background: var(--pe-orange); border-radius: 4px; margin: 14px auto 0;
}
.pe-site .pe-hero .elementor-widget-text-editor { max-width: 920px; margin-inline: auto; font-size: 17px; line-height: 1.75; }

/* Sections: soft bands and generous spacing */
.pe-site .e-con.pe-band-a, .pe-site .e-con.pe-band-b { padding-block: 44px; }
.pe-site .e-con.pe-band-b { background: #f6f8ff; }
.pe-site .e-con.pe-band-a { background: #fff; }
.pe-site .e-con.pe-has-bg { padding-block: 44px; }

/* Headings inside sections: accent bar */
.pe-site .pe-sec .elementor-widget-heading h2.elementor-heading-title { color: var(--pe-blue); position: relative; padding-bottom: 14px; margin-bottom: 4px; }
.pe-site .pe-sec .elementor-widget-heading h2.elementor-heading-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--pe-orange);
}
.pe-site .pe-sec .elementor-align-center h2.elementor-heading-title::after,
.pe-site .pe-sec h2.elementor-heading-title[style*="center"]::after { left: 50%; transform: translateX(-50%); }
.pe-site .pe-sec .elementor-widget-heading h3.elementor-heading-title { color: var(--pe-dark); }

/* Icon lists become tick cards */
.pe-site .pe-sec .elementor-icon-list-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.pe-site .pe-sec .elementor-icon-list-item {
	background: #fff; border: 1px solid var(--pe-line); border-radius: 12px; padding: 12px 16px !important; box-shadow: 0 3px 12px rgba(1, 34, 132, .05);
	align-items: center;
}
.pe-site .pe-sec .elementor-icon-list-icon i { color: var(--pe-orange); }
.pe-site .pe-sec .elementor-icon-list-text { font-weight: 600; color: var(--pe-dark); }

/* Plain paragraph text readable in a column of about 75 characters */
.pe-site .pe-sec .elementor-widget-text-editor p { max-width: 78ch; }
.pe-site .pe-sec .e-con-inner > .e-con > .elementor-widget-text-editor p,
.pe-site .pe-sec .elementor-widget-text-editor table { max-width: none; }
.pe-site .pe-sec .elementor-widget-text-editor a { color: var(--pe-blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(240, 154, 62, .6); text-underline-offset: 3px; }
.pe-site .pe-sec .elementor-widget-text-editor a:hover { color: var(--pe-orange); }
.pe-site .pe-sec .elementor-widget-text-editor ul { padding-left: 1.2em; }
.pe-site .pe-sec .elementor-widget-text-editor li { margin-bottom: 6px; }

/* Forms (Fluent Forms, "Book Free Demo Class") as a card */
.pe-site .fluentform { background: #fff; border: 1px solid #e3e8f8; border-radius: 16px; box-shadow: 0 14px 40px rgba(1, 34, 132, .10); padding: 26px 28px; max-width: 820px; margin-inline: auto; }
.pe-site .fluentform .ff-el-form-control { border-radius: 10px; border: 1px solid #d8def0; padding: 11px 14px; background: #fbfcff; }
.pe-site .fluentform .ff-el-form-control:focus { border-color: var(--pe-blue); box-shadow: 0 0 0 3px rgba(1, 34, 132, .12); }
.pe-site .fluentform .ff-btn-submit { background: var(--pe-badge) !important; color: #fff !important; border-radius: 999px !important; padding: 12px 34px !important; font-weight: 700; box-shadow: 0 6px 18px rgba(240, 154, 62, .35); }
.pe-site .fluentform .ff-btn-submit:hover { background: #e08a2c !important; }

/* Images and tabs */
.pe-site .elementor-widget-image img { box-shadow: 0 10px 30px rgba(0, 0, 0, .10); }
.pe-site .elementor-tabs-wrapper .elementor-tab-title.elementor-active { color: var(--pe-blue); border-bottom: 3px solid var(--pe-orange); }
.pe-site .elementor-tab-content { padding: 18px 4px; }

@media (max-width: 767px) {
	.pe-site .e-con.pe-hero { padding-block: 34px 28px; }
	.pe-site .e-con.pe-band-a, .pe-site .e-con.pe-band-b, .pe-site .e-con.pe-has-bg { padding-block: 28px; }
	.pe-site .pe-hero .elementor-widget-text-editor { font-size: 15.5px; }
	.pe-site .fluentform { padding: 18px 16px; border-radius: 14px; }
	.pe-site .pe-sec .elementor-icon-list-items { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Header menu (desktop) - works like the old Avada site:
   COURSES = mega menu, every other parent (Student Corner, About,
   Admissions) = compact dropdown whose sub-levels open to the side.
   ========================================================================== */

/* Closed side menus must not make the page wider than the screen */
.pe-header { overflow-x: clip; }

/* A closed menu is invisible AND can not be hovered or clicked
   (before, the hidden lists still caught the mouse over the page). */
.pe-menu .sub-menu { pointer-events: none; }
.pe-menu li:hover > .sub-menu,
.pe-menu li.pe-open > .sub-menu { pointer-events: auto; }

/* With JavaScript (desktop mouse) the theme opens menus itself: a short
   delay before opening, so passing over the bar opens nothing, and a short
   delay before closing, so a shaky hand does not close the menu. */
.pe-menu.pe-js li:not(.pe-open) > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none; }
.pe-menu.pe-js li.pe-open > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* keyboard users */
.pe-menu li:has(:focus-visible) > .sub-menu,
.pe-menu.pe-js li:has(:focus-visible) > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

/* ---------- Dropdowns (same look as the old site) ---------- */
.pe-menu > li:not(.pe-mega) .sub-menu { min-width: 220px; }
.pe-menu .sub-menu li.menu-item-has-children > a { position: relative; padding-right: 36px; }
.pe-menu .sub-menu li.menu-item-has-children > a::after {
	content: ""; position: absolute; right: 16px; top: 50%;
	width: 6px; height: 6px; margin-top: -3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
}
.pe-menu .sub-menu li:hover > a,
.pe-menu .sub-menu li.pe-open > a { background: #fff; color: var(--pe-orange); }
.pe-menu .sub-menu .sub-menu { top: -3px; left: 100%; }
/* near the right edge the next level opens to the left (like Avada) */
.pe-menu > li.pe-flip > .sub-menu { left: auto; right: 0; }
.pe-menu .sub-menu li.pe-flip > .sub-menu { left: auto; right: 100%; }

/* ---------- COURSES mega menu ---------- */
.pe-menu > li.pe-mega { position: static; }
.pe-menu > li.pe-mega > .sub-menu {
	left: 0; right: 0; width: auto; min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0 28px;
	align-items: start;
	padding: 24px max(var(--pe-pad), calc((100% - var(--pe-box)) / 2)) 26px;
	background: #fff;
	border-top: 3px solid var(--pe-orange);
	box-shadow: 0 24px 40px rgba(1, 34, 132, .12);
}
.pe-menu > li.pe-mega > .sub-menu > li { border: 0; position: static; }
.pe-menu > li.pe-mega > .sub-menu > li > a {
	padding: 0 0 8px; margin-bottom: 10px;
	border-bottom: 2px solid #eef1fb;
	background: transparent !important;
	color: var(--pe-blue) !important;
	font: 700 13px/1.3 var(--pe-head);
	text-transform: uppercase; letter-spacing: .02em; white-space: normal;
}
.pe-menu > li.pe-mega > .sub-menu > li > a::after { content: none; }
/* the lists inside a column are part of the panel, not separate dropdowns */
.pe-menu > li.pe-mega > .sub-menu > li > .sub-menu,
.pe-menu.pe-js > li.pe-mega > .sub-menu > li > .sub-menu {
	position: static; display: block;
	opacity: 1; visibility: inherit; pointer-events: inherit; transform: none;
	min-width: 0; padding: 0; margin: 0;
	background: transparent; border: 0; box-shadow: none;
}
.pe-menu > li.pe-mega > .sub-menu > li > .sub-menu li { border: 0; }
.pe-menu > li.pe-mega > .sub-menu > li > .sub-menu a {
	display: block; padding: 5px 10px; margin: 0 -10px; border-radius: 8px;
	font-size: 12.5px; line-height: 1.45; color: var(--pe-text); white-space: normal; background: transparent;
}
.pe-menu > li.pe-mega > .sub-menu > li > .sub-menu a::before { content: "\203A"; color: var(--pe-orange); font-weight: 700; margin-right: 8px; }
.pe-menu > li.pe-mega > .sub-menu > li > .sub-menu a:hover { background: #fff4e5; color: var(--pe-blue); }
.pe-mega-img { display: block; margin: 0 0 10px; }
.pe-mega-img img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 300 / 193; object-fit: cover; border-radius: 10px; display: block; }
.pe-mmenu .pe-mega-img { display: none; }

/* ==========================================================================
   Latest posts: [pe_latest] and [pe_posts]
   The layout follows the space it gets (sidebar, half column, full width),
   so it looks right on desktop, tablet and phone.
   ========================================================================== */
.pe-pw { container-type: inline-size; width: 100%; }

/* Compact list: small picture + title + date */
.pe-latest { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pe-latest-item {
	display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center;
	margin: 0; padding: 8px; background: #fff;
	border: 1px solid var(--pe-line); border-radius: 12px;
	box-shadow: 0 3px 12px rgba(1, 34, 132, .05);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pe-latest-item:hover { border-color: #f6c48d; box-shadow: 0 8px 20px rgba(1, 34, 132, .10); transform: translateY(-1px); }
.pe-latest-media { display: block; width: 76px; height: 60px; border-radius: 8px; overflow: hidden; }
.pe-latest-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none !important; }
.pe-ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--pe-blue), #2f56d6); color: #fff;
	font: 700 22px/1 var(--pe-head); text-transform: uppercase;
}
.pe-latest-body { min-width: 0; }
.pe-latest-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin: 0 0 3px; font: 700 14px/1.35 var(--pe-head); color: var(--pe-dark); text-decoration: none;
	overflow-wrap: break-word;
}
a.pe-latest-title:hover { color: var(--pe-orange); }
.pe-latest-date { display: block; font-size: 12px; line-height: 1.3; color: var(--pe-grey); }
.pe-latest-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--pe-blue); text-decoration: none; }
.pe-latest-more:hover { color: var(--pe-orange); }

/* Cards grid */
.pe-posts { display: grid; grid-template-columns: repeat(var(--pe-cols, 3), minmax(0, 1fr)); gap: 22px; }
.pe-post { background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-radius); overflow: hidden; box-shadow: var(--pe-shadow); display: flex; flex-direction: column; margin: 0; }
.pe-post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.pe-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none !important; }
.pe-post-img .pe-ph { font-size: 40px; }
.pe-post-body { padding: 16px 18px 18px; min-width: 0; }
.pe-post-title { font-size: 17px; line-height: 1.35; margin: 0 0 6px; overflow-wrap: break-word; }
.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 6px; line-height: 1.4; }
.pe-post-ex { font-size: 14px; margin: 0; line-height: 1.6; }

/* Narrow space (sidebar or a third of the page): cards become the compact list */
@container (max-width: 560px) {
	.pe-pw .pe-posts { grid-template-columns: 1fr; gap: 10px; }
	.pe-pw .pe-post {
		display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center;
		padding: 8px; border-radius: 12px; box-shadow: 0 3px 12px rgba(1, 34, 132, .05);
	}
	.pe-pw .pe-post-img { width: 76px; height: 60px; aspect-ratio: auto; border-radius: 8px; }
	.pe-pw .pe-post-img .pe-ph { font-size: 22px; }
	.pe-pw .pe-post-body { padding: 0; }
	.pe-pw .pe-post-title { font-size: 14px; margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.pe-pw .pe-post-meta { margin: 0; }
	.pe-pw .pe-post-ex { display: none; }
	/* a sidebar shows the 6 newest, the rest stays on the blog page */
	.pe-pw .pe-post:nth-child(n+7) { display: none; }
}
@container (min-width: 561px) and (max-width: 880px) {
	.pe-pw .pe-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* old browsers without container queries: use the screen width */
@supports not (container-type: inline-size) {
	@media (max-width: 767px) { .pe-posts { grid-template-columns: 1fr; } }
}

/* Latest list inside a sidebar box: plain rows, no card-in-card */
.pe-box .pe-latest { gap: 0; }
.pe-box .pe-latest .pe-latest-item { border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; box-shadow: none; padding: 10px 0; background: transparent; transform: none; }
.pe-box .pe-latest .pe-latest-item:last-child { border-bottom: 0; }
.pe-box .pe-latest-more { margin-top: 8px; }

/* Links inside these blocks keep their own colours even inside article text */
.pe-site .entry-content .pe-latest a, .pe-site .entry-content .pe-posts a,
.pe-site .entry-content .pe-box a, .pe-site .elementor-widget-text-editor .pe-latest a,
.pe-site .elementor-widget-text-editor .pe-posts a { text-decoration: none; }
.pe-site .pe-latest a.pe-latest-title { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; color: var(--pe-dark); }
.pe-site .pe-latest a.pe-latest-title:hover { color: var(--pe-orange); }
.pe-site .pe-posts .pe-post-title a { color: var(--pe-dark); }
.pe-site .pe-posts .pe-post-title a:hover { color: var(--pe-orange); }
.pe-site .pe-latest a.pe-latest-more, .pe-site a.pe-latest-more { color: var(--pe-blue); }
.pe-site .entry-content .pe-related-courses a { color: var(--pe-blue); }
.pe-site .entry-content .pe-related-courses a:hover { color: #fff; }
.pe-site .entry-content .pe-box-cta a.pe-btn { color: #fff; }

/* Blog post layout never wider than the phone */
.pe-post-main, .pe-post-side { min-width: 0; }
@media (max-width: 1024px) {
	.pe-post-grid { grid-template-columns: minmax(0, 1fr); }
	/* blue top bar: links scroll inside the bar instead of widening the page */
	.pe-topbar { overflow-x: clip; }
	.pe-topnav { flex: 1 1 auto; min-width: 0; }
	.pe-topmenu { max-width: 100%; }
}

/* Phone menu: each deeper level is indented a little more */
.pe-mmenu .sub-menu .sub-menu { background: #e9e8e6; }
.pe-mmenu .sub-menu .sub-menu a { padding-left: 50px; }
.pe-mmenu .sub-menu .sub-menu .sub-menu { background: #e1e0de; }
.pe-mmenu .sub-menu .sub-menu .sub-menu a { padding-left: 64px; font-size: 13px; }

/* ==========================================================================
   Phone menu: slides in from the right, smooth lists, logo + actions
   ========================================================================== */
html.pe-lock, html.pe-lock body { overflow: hidden; }
.pe-mobile { background: transparent; }
.pe-mobile-backdrop {
	position: absolute; inset: 0;
	background: rgba(1, 16, 64, .45);
	-webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	opacity: 0; transition: opacity .3s ease;
}
.pe-mobile.is-open .pe-mobile-backdrop { opacity: 1; }
.pe-mobile-in {
	display: flex; flex-direction: column;
	width: min(380px, 88vw); padding: 0;
	animation: none;
	transform: translateX(104%);
	transition: transform .32s cubic-bezier(.22, .61, .36, 1);
	box-shadow: -12px 0 40px rgba(1, 34, 132, .22);
	border-radius: 18px 0 0 18px;
	overflow: hidden;
}
.pe-mobile.is-open .pe-mobile-in { transform: none; }
.pe-mobile-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--pe-line); background: #fff;
}
.pe-mobile-logo img { max-height: 34px; width: auto; display: block; }
.pe-mobile-head .pe-mobile-close {
	position: static; flex: 0 0 auto;
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #f1f4fd; color: var(--pe-blue); font-size: 26px; line-height: 1;
	transition: background .15s ease, transform .2s ease;
}
.pe-mobile-head .pe-mobile-close:hover, .pe-mobile-head .pe-mobile-close:focus-visible { background: #e3e9fb; transform: rotate(90deg); }
.pe-mobile-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 0 12px; }
.pe-mobile-foot {
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--pe-line); background: #fafbff;
}
.pe-mobile-foot .pe-social { grid-column: 1 / -1; justify-content: center; padding: 6px 0 0; color: var(--pe-dark); }
.pe-mcta {
	display: flex; align-items: center; justify-content: center;
	min-height: 46px; border-radius: 999px; text-decoration: none;
	font: 700 14px/1 var(--pe-font);
}
.pe-mcta-demo { background: var(--pe-badge); color: #fff; box-shadow: 0 6px 16px rgba(240, 154, 62, .35); }
.pe-mcta-call { background: var(--pe-blue); color: #fff; }
.pe-mcta:hover { color: #fff; filter: brightness(1.05); }

/* menu rows */
.pe-mmenu > li { border-bottom: 1px solid #eef0f5; }
.pe-mmenu a {
	min-height: 48px; display: flex; align-items: center;
	padding: 12px 58px 12px 20px;
	font: 600 15px/1.35 var(--pe-font); color: var(--pe-dark);
	transition: color .15s ease, background .15s ease;
}
.pe-mmenu > li > a { text-transform: uppercase; letter-spacing: .02em; font-size: 14px; }
.pe-mmenu a:active { background: #f4f6fd; }
.pe-mmenu li.pe-open > a,
.pe-mmenu .current-menu-item > a,
.pe-mmenu .current-menu-ancestor > a { color: var(--pe-blue); }
.pe-mmenu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--pe-orange); }
/* smooth lists (height is animated by the theme script) */
.pe-mmenu .sub-menu { display: block; height: 0; overflow: hidden; transition: height .28s cubic-bezier(.4, 0, .2, 1); background: #f6f7fb; }
.pe-mmenu li.pe-open > .sub-menu:not([style]) { height: auto; }
.pe-mmenu .sub-menu li { border-bottom: 1px solid #eceef4; }
.pe-mmenu .sub-menu li:last-child { border-bottom: 0; }
.pe-mmenu .sub-menu a { font-weight: 500; font-size: 14px; padding-left: 34px; min-height: 44px; }
.pe-mmenu .sub-menu .sub-menu { background: #eef0f6; }
.pe-mmenu .sub-menu .sub-menu a { padding-left: 48px; font-size: 13.5px; }
.pe-mmenu .sub-menu .sub-menu .sub-menu { background: #e7eaf2; }
.pe-mmenu .sub-menu .sub-menu .sub-menu a { padding-left: 62px; font-size: 13px; }
.pe-mmenu .pe-sub-toggle {
	top: 4px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s ease;
}
.pe-mmenu .pe-sub-toggle:hover { background: rgba(1, 34, 132, .06); }
.pe-mmenu .pe-sub-toggle::before { width: 8px; height: 8px; margin: -4px 0 0; transition: transform .25s ease; }
.pe-mmenu .sub-menu .pe-sub-toggle { top: 2px; }
.pe-mmenu-top { margin-top: 10px; border-top: 6px solid #f3f4f8; }
.pe-mmenu-top a { text-transform: none !important; font-weight: 500 !important; font-size: 14px !important; }

/* burger: three lines become a cross while the menu is open */
.pe-burger span { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
body.pe-menu-open .pe-burger span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
body.pe-menu-open .pe-burger span:nth-child(2) { opacity: 0; }
body.pe-menu-open .pe-burger span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
	.pe-mobile-in, .pe-mobile-backdrop, .pe-mmenu .sub-menu { transition: none; }
}

/* ==========================================================================
   Phone bottom bar: Course + Fees | Mock Tests | Call | Centers | WhatsApp
   ========================================================================== */
.pe-bbar { display: none; }
@media (max-width: 767px) {
	.pe-bbar {
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
		min-height: 64px;
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		background: #fff;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -6px 24px rgba(1, 34, 132, .12);
		transform: translateZ(0);
	}
	.pe-bbar-item {
		display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px;
		min-height: 52px; padding: 2px 2px 0;
		color: var(--pe-blue); text-decoration: none; -webkit-tap-highlight-color: transparent;
		font: 600 11.5px/1.15 var(--pe-font); text-align: center; letter-spacing: -.01em;
	}
	.pe-bbar-item:hover, .pe-bbar-item:focus { color: var(--pe-blue); }
	.pe-bbar-ic { display: flex; align-items: center; justify-content: center; width: 30px; height: 28px; transition: transform .15s ease; }
	.pe-bbar-item:active .pe-bbar-ic { transform: scale(.9); }
	.pe-bbar-svg { width: 25px; height: 25px; display: block; }
	.pe-bbar-lbl { white-space: nowrap; }
	.pe-bbar-item.is-current { color: var(--pe-orange); }

	/* centre Call button: raised red circle */
	.pe-bbar-call { position: relative; color: #e31e24; }
	.pe-bbar-call:hover, .pe-bbar-call:focus { color: #e31e24; }
	.pe-bbar-call .pe-bbar-ic {
		width: 60px; height: 60px; margin-top: -32px; border-radius: 50%;
		background: linear-gradient(180deg, #ee2a30 0%, #c4111a 100%); color: #fff;
		border: 4px solid #fff;
		box-shadow: 0 8px 20px rgba(196, 17, 26, .38);
	}
	.pe-bbar-call .pe-bbar-svg { width: 26px; height: 26px; fill: currentColor; stroke: none; animation: pe-ring 2.8s ease-in-out infinite; }
	.pe-bbar-call .pe-bbar-lbl { font-weight: 700; }
	.pe-bbar-wa .pe-bbar-ic { color: #25d366; }
	.pe-bbar-wa .pe-bbar-svg { width: 27px; height: 27px; }

	/* room for the bar at the end of every page */
	body.pe-has-bbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
	body.pe-has-bbar .pe-totop { bottom: calc(78px + env(safe-area-inset-bottom)); right: 12px; border-radius: 50%; width: 40px; height: 40px; line-height: 44px; }
	body.pe-menu-open .pe-bbar { visibility: hidden; }
}
@keyframes pe-ring {
	0%, 84%, 100% { transform: rotate(0); }
	87% { transform: rotate(-14deg); }
	90% { transform: rotate(12deg); }
	93% { transform: rotate(-10deg); }
	96% { transform: rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
	.pe-bbar-call .pe-bbar-svg { animation: none; }
}
.pe-mmenu .pe-sub-toggle::before {
	content: ""; flex: none; box-sizing: content-box;
	width: 7px; height: 7px; margin: -4px 0 0;
	border: solid var(--pe-dark); border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.pe-mmenu li.pe-open > .pe-sub-toggle::before { transform: rotate(-135deg); margin: 4px 0 0; border-color: var(--pe-blue); }

/* ==========================================================================
   Page header band (breadcrumbs + title) on every page and article
   ========================================================================== */
.pe-pagehead {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, #012284 0%, #12339e 55%, #2a52cf 100%);
	color: #fff;
}
.pe-pagehead::before, .pe-pagehead::after {
	content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.pe-pagehead::before { width: 340px; height: 340px; right: -90px; top: -170px; background: radial-gradient(circle, rgba(240, 154, 62, .35), rgba(240, 154, 62, 0) 70%); }
.pe-pagehead::after { width: 220px; height: 220px; left: -60px; bottom: -150px; background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%); }
.pe-pagehead-in { position: relative; z-index: 1; max-width: var(--pe-box); margin: 0 auto; padding: 30px 20px 34px; box-sizing: border-box; }
.pe-crumbs { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.pe-crumbs p { margin: 0; }
.pe-crumbs a { color: #fff; text-decoration: none; opacity: .9; }
.pe-crumbs a:hover { opacity: 1; text-decoration: underline; }
.pe-crumbs .separator { margin: 0 6px; opacity: .6; }
.pe-crumbs .last { color: #ffd39e; }
.pe-site .pe-pagehead-title {
	margin: 10px 0 0; color: #fff;
	font: 700 clamp(26px, 3.6vw, 40px)/1.18 var(--pe-head);
	letter-spacing: -.01em; max-width: 900px;
}
.pe-pagehead-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--pe-orange); }
.pe-pagehead-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.pe-pagehead-meta span + span::before { content: "•"; margin-right: 18px; opacity: .6; }
/* slim band: the page draws its own big title below */
.pe-pagehead-slim { background: #f4f6fd; color: var(--pe-dark); border-bottom: 1px solid #e3e8f6; }
.pe-pagehead-slim::before, .pe-pagehead-slim::after { display: none; }
.pe-pagehead-slim .pe-pagehead-in { padding-top: 11px; padding-bottom: 11px; }
.pe-pagehead-slim .pe-crumbs { color: var(--pe-grey); }
.pe-pagehead-slim .pe-crumbs a { color: var(--pe-blue); }
.pe-pagehead-slim .pe-crumbs .last { color: var(--pe-dark); }
/* the page content starts right under the band */
.pe-has-pagehead .site-content > .ast-container { padding-top: 0; }
.pe-has-pagehead.ast-separate-container .ast-article-single, .pe-has-pagehead.ast-separate-container .ast-article-post { padding-top: 32px; }
/* a demoted second H1 keeps a large size */
.pe-site h2.pe-was-h1 { font-size: 30px; }

/* ==========================================================================
   Hub pages: course cards (/courses/) and sub-page cards (/mock-tests/)
   ========================================================================== */
.pe-hub { margin: 10px 0 40px; }
.pe-hub-title { text-align: center; color: var(--pe-blue); margin: 10px 0 6px; }
.pe-hub-lead { text-align: center; color: var(--pe-grey); margin: 0 auto 26px; max-width: 640px; }
.pe-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pe-hub-grid-sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pe-hub-card {
	display: flex; flex-direction: column; overflow: hidden; margin: 0;
	background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-radius);
	box-shadow: var(--pe-shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.pe-hub-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1, 34, 132, .14); }
.pe-hub-img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 160; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; }
.pe-hub-img-ph, .pe-hub-media .pe-ph {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--pe-blue), #2f56d6); color: #fff; font: 700 28px/1 var(--pe-head);
}
.pe-hub-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.pe-hub-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; box-shadow: none !important; }
.pe-hub-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pe-hub-body h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; color: var(--pe-blue); }
.pe-hub-body h3 a { color: var(--pe-blue); text-decoration: none; }
.pe-hub-body h3 a:hover { color: var(--pe-orange); }
.pe-hub-body p { font-size: 14px; line-height: 1.6; margin: 0 0 12px; color: var(--pe-text); }
.pe-hub-body ul { list-style: none; margin: 0; padding: 0; }
.pe-hub-body li { margin: 0; border-top: 1px solid #f0f1f5; }
.pe-site .pe-hub-body li a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 9px 2px; color: var(--pe-dark); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.pe-site .pe-hub-body li a::after { content: "\2192"; color: var(--pe-orange); transition: transform .15s ease; }
.pe-site .pe-hub-body li a:hover { color: var(--pe-blue); }
.pe-site .pe-hub-body li a:hover::after { transform: translateX(3px); }
.pe-site a.pe-hub-go { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--pe-orange); text-decoration: none; }

@media (max-width: 767px) {
	.pe-pagehead-in { padding: 22px 16px 24px; }
	.pe-pagehead-slim .pe-pagehead-in { padding-top: 9px; padding-bottom: 9px; }
	.pe-crumbs { font-size: 12.5px; }
	.pe-site h2.pe-was-h1 { font-size: 24px; }
	.pe-hub-grid, .pe-hub-grid-sm { grid-template-columns: 1fr; gap: 16px; }
}
/* the band already shows author + date */
.pe-has-pagehead .entry-header .entry-meta, .pe-has-pagehead .ast-single-post-meta-wrap { display: none; }
.pe-has-pagehead .entry-header:not(:has(img)) { display: none; }
.pe-has-pagehead.ast-separate-container .ast-article-single { padding-top: 22px; }
/* hub card titles keep their own colours inside page text */
.pe-site .entry-content .pe-hub-body h3 a { color: var(--pe-blue); text-decoration: none; }
.pe-site .entry-content .pe-hub-body h3 a:hover { color: var(--pe-orange); }
.pe-site .entry-content a.pe-hub-go { color: var(--pe-orange); text-decoration: none; }
.pe-site .entry-content a.pe-hub-media, .pe-site .entry-content a.pe-post-img, .pe-site .entry-content a.pe-latest-media { text-decoration: none; }

/* Page-builder pages: section colours run edge to edge, content stays 1200px
   (the inner box of every boxed section does the limiting). */
.pe-site.ast-page-builder-template .site-content > .ast-container,
.pe-site.elementor-template-full-width .site-content > .ast-container,
.pe-site.page-template-elementor_header_footer .site-content > .ast-container {
	max-width: none; padding-left: 0; padding-right: 0;
}
/* a section that only holds phone pictures takes no room on a computer */
@media (min-width: 1025px) {
	.pe-site .e-con.e-parent:not(:has(.elementor-widget:not(.elementor-hidden-desktop))) { padding-block: 0; min-height: 0; }
}

/* ==========================================================================
   Official social logos (brand colours)
   ========================================================================== */
.pe-soc-fallback { display: none !important; }
.pe-social { gap: 8px; }
.pe-soc {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	color: #fff !important; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.pe-soc:hover, .pe-soc:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); filter: brightness(1.08); }
.pe-soc-svg { width: 15px; height: 15px; display: block; }
.pe-soc-facebook { background: #1877f2; }
.pe-soc-facebook .pe-soc-svg { width: 28px; height: 28px; }
.pe-soc-facebook { overflow: hidden; background: #fff; color: #1877f2 !important; }
.pe-soc-x { background: #000; }
.pe-soc-x .pe-soc-svg { width: 13px; height: 13px; }
.pe-soc-youtube { background: #ff0000; }
.pe-soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pe-soc-linkedin { background: #0a66c2; border-radius: 6px; }
.pe-soc-linkedin .pe-soc-svg { width: 28px; height: 28px; }
.pe-soc-linkedin { background: #fff; color: #0a66c2 !important; overflow: hidden; }
.pe-soc-whatsapp { background: #25d366; }
.pe-social-top { gap: 8px; }
.pe-social-top .pe-soc { width: 26px; height: 26px; }
.pe-social-top .pe-soc-facebook .pe-soc-svg, .pe-social-top .pe-soc-linkedin .pe-soc-svg { width: 26px; height: 26px; }
.pe-social-footer { gap: 12px; }
.pe-social-footer .pe-soc, .pe-social-mobile .pe-soc { width: 36px; height: 36px; }
.pe-social-footer .pe-soc-svg, .pe-social-mobile .pe-soc-svg { width: 18px; height: 18px; }
.pe-social-footer .pe-soc-facebook .pe-soc-svg, .pe-social-footer .pe-soc-linkedin .pe-soc-svg,
.pe-social-mobile .pe-soc-facebook .pe-soc-svg, .pe-social-mobile .pe-soc-linkedin .pe-soc-svg { width: 36px; height: 36px; }
.pe-mobile-foot .pe-social { gap: 12px; padding-top: 10px; }

/* ==========================================================================
   Page sections: side columns as cards, tick lists
   ========================================================================== */
.pe-site .e-con-inner:has(> .pe-col-wide) > .pe-col-narrow,
.pe-site .e-con:has(> .pe-col-wide) > .pe-col-narrow {
	align-self: flex-start;
	background: #fff; border: 1px solid #e6eaf5; border-radius: 16px;
	box-shadow: 0 10px 30px rgba(1, 34, 132, .07);
	padding: 20px !important; margin-top: 8px;
}
.pe-site :where(.pe-col-narrow) .elementor-heading-title { font-size: 18px; color: var(--pe-blue); text-align: left; }
.pe-site .pe-sec .pe-col-narrow .elementor-widget-heading h2.elementor-heading-title::after { display: none; }
.pe-site .pe-col-narrow .elementor-widget-text-editor p > strong:only-child { display: block; font: 700 17px/1.3 var(--pe-head); color: var(--pe-blue); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 2px solid #eef1fb; text-align: left; }
.pe-site .pe-col-narrow ul:not(.pe-latest) { list-style: none; margin: 0 0 10px; padding: 0 !important; }
.pe-site .pe-col-narrow ul:not(.pe-latest) > li { margin: 0 !important; border-bottom: 1px solid #f0f1f5; }
.pe-site .pe-col-narrow ul:not(.pe-latest) > li:last-child { border-bottom: 0; }
.pe-site .pe-col-narrow ul:not(.pe-latest) > li > a {
	display: block; position: relative; padding: 9px 4px 9px 18px;
	color: var(--pe-dark) !important; text-decoration: none !important; font-weight: 600; font-size: 14px; line-height: 1.45;
}
.pe-site .pe-col-narrow ul:not(.pe-latest) > li > a::before { content: "\203A"; position: absolute; left: 2px; top: 8px; color: var(--pe-orange); font-weight: 700; }
.pe-site .pe-col-narrow ul:not(.pe-latest) > li > a:hover { color: var(--pe-blue) !important; }
.pe-site .pe-col-narrow table { border: 0; box-shadow: none; font-size: 14px; }
.pe-site .pe-col-narrow table tr[style*="background"] { background: var(--pe-blue) !important; }
.pe-site .pe-col-narrow table tr[style*="background"] td { background: transparent !important; color: #fff; font-weight: 700; border-radius: 10px; }
.pe-site .pe-col-narrow table td { background: transparent !important; border-color: #f0f1f5; padding: 8px 10px; }
.pe-site .pe-col-narrow .elementor-widget-text-editor { font-size: 14.5px; }

/* bullet lists in the main text get blue ticks */
.pe-site .pe-sec .elementor-widget-text-editor ul:not([class]) { list-style: none; padding-left: 0; }
.pe-site .pe-sec .elementor-widget-text-editor ul:not([class]) > li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.pe-site .pe-sec .elementor-widget-text-editor ul:not([class]) > li::before {
	content: ""; position: absolute; left: 0; top: .32em;
	width: 19px; height: 19px; border-radius: 50%;
	background: #e9eefc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012284' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pe-site .pe-col-narrow .elementor-widget-text-editor ul:not([class]) > li { padding-left: 0; }
.pe-site .pe-col-narrow .elementor-widget-text-editor ul:not([class]) > li::before { display: none; }
.pe-site .pe-sec .elementor-widget-text-editor ol { padding-left: 1.3em; }
.pe-site .pe-sec .elementor-widget-text-editor ol > li { margin-bottom: 8px; padding-left: 4px; }
.pe-site .pe-sec .elementor-widget-text-editor ol > li::marker { color: var(--pe-orange); font-weight: 700; }
/* soften the decorative blobs of the hero */
.pe-site .e-con.pe-hero::before { opacity: .55; }

/* ==========================================================================
   "On this page" contents
   ========================================================================== */
.pe-toc-auto {
	margin: 6px 0 26px; padding: 0;
	background: #f7f9ff; border: 1px solid #dfe5fb; border-left: 4px solid var(--pe-orange); border-radius: 12px;
	max-width: 820px;
}
.pe-toc-auto summary {
	cursor: pointer; list-style: none; padding: 14px 18px;
	font: 700 16px/1.3 var(--pe-head); color: var(--pe-blue);
	display: flex; align-items: center; gap: 8px;
}
.pe-toc-auto summary::-webkit-details-marker { display: none; }
.pe-toc-auto summary span { font: 500 13px/1 var(--pe-font); color: var(--pe-grey); }
.pe-toc-auto summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--pe-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease; }
.pe-toc-auto[open] summary::after { transform: rotate(-135deg); }
.pe-toc-auto ol { margin: 0; padding: 0 22px 16px 40px; columns: 2 260px; column-gap: 30px; }
.pe-toc-auto li { margin: 0 0 7px; break-inside: avoid; font-size: 14.5px; line-height: 1.45; }
.pe-toc-auto li::marker { color: var(--pe-orange); font-weight: 700; }
.pe-site .pe-toc-auto a { color: var(--pe-dark) !important; text-decoration: none !important; font-weight: 500; }
.pe-site .pe-toc-auto a:hover { color: var(--pe-blue) !important; text-decoration: underline !important; }
.pe-site [id] { scroll-margin-top: calc(var(--pe-header-h, 80px) + 20px); }
html { scroll-behavior: smooth; }

/* page header: last updated */
.pe-pagehead-in { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 20px; }
.pe-pagehead-in > :not(.pe-updated) { grid-column: 1; }
.pe-updated { grid-column: 2; grid-row: 1; margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.pe-pagehead-slim .pe-updated { color: var(--pe-grey); }

/* ==========================================================================
   Admissions call-to-action at the end of pages
   ========================================================================== */
.pe-cta { padding: 46px 16px; background: linear-gradient(180deg, #fff 0%, #f4f6fd 100%); }
.pe-cta-in {
	max-width: var(--pe-box); margin: 0 auto; box-sizing: border-box;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center;
	padding: 34px 38px; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
	background: linear-gradient(120deg, #012284 0%, #1537a8 60%, #2a52cf 100%);
	box-shadow: 0 24px 50px rgba(1, 34, 132, .25);
}
.pe-cta-in::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 154, 62, .4), rgba(240, 154, 62, 0) 70%); pointer-events: none; }
.pe-cta-copy { position: relative; z-index: 1; }
.pe-cta-title { margin: 0 0 8px; font: 700 clamp(21px, 2.4vw, 28px)/1.25 var(--pe-head); color: #fff; }
.pe-cta-lead { margin: 0 0 14px; color: #dfe6ff; font-size: 15.5px; }
.pe-cta-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pe-cta-facts li { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; color: #fff; }
.pe-cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.pe-cta-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none !important;
	font: 700 15px/1 var(--pe-font); transition: transform .15s ease, box-shadow .15s ease;
}
.pe-cta-btn:hover { transform: translateY(-2px); }
.pe-cta-demo { background: var(--pe-badge); color: #fff !important; box-shadow: 0 8px 20px rgba(240, 154, 62, .4); }
.pe-cta-call { background: #fff; color: var(--pe-blue) !important; }
.pe-cta-wa { background: #25d366; color: #fff !important; }
.pe-cta-wa .pe-soc-svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
	.pe-site .e-con-inner:has(> .pe-col-wide) > .pe-col-narrow,
	.pe-site .e-con:has(> .pe-col-wide) > .pe-col-narrow { margin-top: 18px; }
}
@media (max-width: 767px) {
	.pe-pagehead-in { grid-template-columns: 1fr; }
	.pe-updated { grid-column: 1; grid-row: auto; margin-top: 6px; }
	.pe-pagehead-slim .pe-updated { display: none; }
	.pe-toc-auto ol { columns: 1; padding-left: 36px; }
	.pe-cta { padding: 28px 12px; }
	.pe-cta-in { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 18px; }
	.pe-cta-actions { min-width: 0; }
}
