/* Stage 3B: selectors verified against public homepage HTML, 2026-09-15.
 * See HOMEPAGE.md for evidence and limitations. No generated layout hashes.
 * !important is limited to overriding existing inline/preset presentation.
 * Native course grid/list states and FAQ visibility remain untouched.
 */
body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) {
	--grea-home-navy:#0b1426;
	--grea-home-gold:#e4bf73;
	box-sizing:border-box;
	width:100%;
	max-width:100%;
	margin:0;
	padding:clamp(48px, 6vw, 88px) clamp(16px, 4vw, 48px) !important;
	background:#fff !important;
	color:#0b1426;
	font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height:1.65;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) > .wp-block-columns {
	width:100%;
	max-width:1200px;
	margin:0 auto;
	gap:clamp(24px, 4vw, 56px);
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) :is(.wp-block-column, .wp-block-group, .wp-block-buttons) {
	box-sizing:border-box;
	min-width:0;
	max-width:100%;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-heading {
	color:#0b1426 !important;
	font-family:inherit;
	font-weight:700;
	line-height:1.2;
	overflow-wrap:anywhere;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) h2.wp-block-heading {
	font-size:clamp(30px, 3.4vw, 44px) !important;
	letter-spacing:-0.025em;
	margin-block:0 20px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-heading mark {
	background:transparent !important;
	color:#806020 !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-paragraph {
	color:#475569 !important;
	font-size:16px;
	line-height:1.75;
	overflow-wrap:anywhere;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-image img {
	max-width:100%;
	height:auto;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-button__link,
body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-btn-primary {
	box-sizing:border-box;
	min-height:48px;
	padding:12px 22px !important;
	border:1px solid #e4bf73 !important;
	border-radius:10px !important;
	background:#e4bf73 !important;
	color:#0b1426 !important;
	font-size:16px !important;
	font-weight:700 !important;
	line-height:1.5 !important;
	white-space:normal;
	overflow-wrap:anywhere;
	text-align:center;
	text-decoration:none;
	filter:none;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) .wp-block-button__link:hover,
body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-btn-primary:hover {
	background:#f1d49a !important;
	color:#0b1426 !important;
	filter:none;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) :is(a, button, input):focus-visible {
	outline:3px solid #806020;
	outline-offset:4px;
	box-shadow:0 0 0 2px #fff;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) {
	background:#0b1426 !important;
	border-bottom:3px solid #e4bf73;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) #master-real-estate-build-a-career-that-lasts {
	color:#fff !important;
	font-size:clamp(34px, 4.2vw, 58px) !important;
	letter-spacing:-0.035em;
	line-height:1.12;
	margin:0;
	max-width:18ch;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-paragraph {
	color:#d6dce5 !important;
	max-width:58ch;
	font-size:18px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-buttons {
	gap:12px;
	flex-wrap:wrap;
	margin-block:28px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .is-style-outline .wp-block-button__link {
	background:transparent !important;
	color:#e4bf73 !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .is-style-outline .wp-block-button__link:hover {
	background:#e4bf73 !important;
	color:#0b1426 !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) :is(a, button):focus-visible {
	outline-color:#e4bf73;
	box-shadow:0 0 0 2px #0b1426;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) {
	background:#fff;
	border:1px solid #d6dce5;
	border-radius:12px;
	padding:20px;
	gap:16px;
	margin-block-start:32px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) #trusted-by {
	font-size:14px;
	letter-spacing:0.08em;
	margin:0;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) > .wp-block-columns {
	display:flex;
	flex-wrap:wrap !important;
	gap:20px;
	width:100%;
	margin:0;
	align-items:center;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) .wp-block-column {
	flex:0 1 88px !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) .wp-block-image {
	margin:0;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-group:has(> #trusted-by) img {
	width:auto;
	max-width:100%;
	height:27px;
	object-fit:contain;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) > .wp-block-columns {
	align-items:stretch !important;
	gap:20px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) > .wp-block-columns > .wp-block-column {
	align-self:stretch;
	background:#f8f7f3;
	border:1px solid #dedfdc;
	border-top:3px solid #e4bf73;
	border-radius:16px;
	padding:28px 20px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) .wp-block-image img {
	box-sizing:content-box;
	width:54px;
	height:55px;
	object-fit:contain;
	padding:12px;
	background:#fff;
	border:1px solid #dedfdc;
	border-radius:16px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) h5.wp-block-heading {
	font-size:20px;
	margin-block:20px 8px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) {
	background:#f4f6f9 !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .wp-block-group.is-horizontal {
	flex-wrap:wrap;
	gap:24px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course--card {
	border:1px solid #d6dce5;
	border-radius:16px;
	background:#fff;
	box-shadow:0 6px 20px #0b142608;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course--content {
	padding:24px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course--content__title {
	font-family:inherit;
	font-size:22px !important;
	font-weight:700;
	line-height:1.35;
	overflow-wrap:anywhere;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course--content__title a {
	color:#0b1426;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course--content__category a {
	background:#f5f1e8;
	color:#624919;
	border-radius:6px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course-card-footer {
	border-top:1px solid #d6dce5;
	gap:16px;
	flex-wrap:wrap;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-course-price {
	color:#0b1426;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) {
	background:#f8f7f3 !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) .wp-block-column > .wp-block-group.has-white-background-color {
	padding:28px !important;
	border:1px solid #d6dce5 !important;
	border-top:3px solid #e4bf73 !important;
	border-radius:16px !important;
	height:100%;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) h5.wp-block-heading {
	font-size:18px;
	margin-block:0 4px;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) .wp-block-image.is-resized img {
	border-radius:50%;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#frequently-asked-questions) .wp-block-group:has(> .wp-block-group > h5.wp-block-heading) {
	gap:0;
	border:1px solid #d6dce5;
	border-radius:12px;
	background:#fff;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#frequently-asked-questions) .wp-block-group:has(> h5.wp-block-heading) {
	background:#f5f1e8 !important;
	padding:20px !important;
	border:0 !important;
	border-radius:12px 12px 0 0;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#frequently-asked-questions) h5.wp-block-heading {
	font-size:17px !important;
	font-weight:700 !important;
	margin:0;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#frequently-asked-questions) .wp-block-group:has(> h5.wp-block-heading) + .wp-block-group {
	border:0 !important;
	padding:20px !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#frequently-asked-questions) .wp-block-group:has(> h5.wp-block-heading) + .wp-block-group p {
	margin:0;
}

@media (max-width: 1024px) {

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) > .wp-block-columns {
	flex-wrap:wrap !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#online-classes) > .wp-block-columns > .wp-block-column {
	flex:1 1 calc(50% - 20px) !important;
}

}
@media (max-width: 768px) {

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) > .wp-block-columns {
	flex-direction:column;
	align-items:stretch !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(:is(#master-real-estate-build-a-career-that-lasts, #online-classes, #popular-courses, #our-student-s-voices, #frequently-asked-questions)) > .wp-block-columns > .wp-block-column {
	width:100%;
	flex-basis:auto !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) .wp-block-columns {
	flex-wrap:wrap !important;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#our-student-s-voices) .wp-block-columns > .wp-block-column {
	flex-basis:100% !important;
}

}
@media (max-width: 480px) {

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-button {
	width:100%;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#master-real-estate-build-a-career-that-lasts) .wp-block-button__link {
	width:100%;
}

}

/* Active view selector verified in the fetched course toolbar. */
body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-courses-view-mode-item.active .view-mode {
	background:#e4bf73;
	color:#0b1426;
	border-color:#806020;
}

body.grea-v2-home #primary.pagebuilder-content > .wp-block-group.alignfull:has(#popular-courses) .masteriyo-courses-view-mode-item.active .view-mode svg path {
	fill:#0b1426;
}
