/* ==========================================================================
   Prerna Education - home page (loaded on the home page only)
   ========================================================================== */

/* ---------- Existing home sections ---------- */
/* one accent line under section titles (they have their own) */
.pe-home .pe-v2 .elementor-widget-heading h2.elementor-heading-title::after { display: none !important; }
/* "Why choose": five cards fill the row evenly */
.pe-home .pe-why-grid ul { display: grid !important; gap: 22px !important; }
@media (min-width: 1025px) {
	.pe-home .pe-why-grid ul { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
	.pe-home .pe-why-grid ul > li { grid-column: span 2; }
	.pe-home .pe-why-grid ul > li:nth-child(4):nth-last-child(2),
	.pe-home .pe-why-grid ul > li:nth-child(5):nth-last-child(1) { grid-column: span 3; }
}
.pe-home .pe-why-grid li { transition: transform .16s ease, box-shadow .16s ease; }
.pe-home .pe-why-grid li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(1, 34, 132, .12); }
/* course tabs: links as clear rows */
.pe-home .pe-courses .elementor-tab-content a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 12px 14px; margin: 0 0 8px; border: 1px solid var(--pe-line); border-radius: 12px; background: #fff;
	font-size: 15.5px !important; font-weight: 600; color: var(--pe-dark) !important; text-decoration: none !important;
	transition: border-color .15s ease, transform .15s ease;
}
.pe-home .pe-courses .elementor-tab-content a::after { content: "\2192"; color: var(--pe-orange); }
.pe-home .pe-courses .elementor-tab-content a:hover { border-color: #f6c48d; transform: translateX(3px); color: var(--pe-blue) !important; }
.pe-home .pe-courses .elementor-tab-title { font-size: 15.5px !important; font-weight: 700; }
/* news: the video column does not stretch into a tall empty box */
.pe-home .pe-news-video { align-self: flex-start !important; height: auto !important; min-height: 0 !important; }
.pe-home .pe-news-video iframe, .pe-home .pe-news-video img { border-radius: 14px; }
/* readable text: no justified paragraphs */
.pe-home #content .elementor-widget-text-editor, .pe-home #content .elementor-widget-text-editor p, .pe-home #content .pe-why-grid li, .pe-home #content .pe-advantages p { text-align: left !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.pe-home .pe-why-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pe-home .pe-why-grid ul > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.pe-home .pe-why-grid ul { grid-template-columns: 1fr !important; gap: 14px !important; }
	.pe-home .pe-why-grid ul > li:last-child:nth-child(odd) { grid-column: auto; }
}

/* advantages: a little larger text */
.pe-home #content .pe-advantages :is(p, li) { font-size: 15px !important; line-height: 1.65 !important; }
