/* GENESIS homepage only: Elementor widgets remain directly editable. */
body.home .gx-landing,
body.home .elementor-page-399,
.gx-landing {
  --gx-purple: #892573;
  --gx-green: #1bae49;
  --gx-green-dark: #116b35;
  --gx-ink: #26242a;
  --gx-muted: #5d5b62;
  --gx-soft: #f7f5f8;
  --gx-line: #e9e3eb;
  color: var(--gx-ink);
  font-size: 16px;
  line-height: 1.65;
}
.gx-landing *, .elementor-page-399 .gx-section * { box-sizing: border-box; }
.gx-landing .gx-section, .elementor-page-399 .gx-section {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 80px);
}
.elementor-page-399 .gx-hero { padding-top: clamp(32px, 5vw, 68px); }
.elementor-page-399 .gx-hero-grid { align-items: stretch; gap: clamp(16px, 2vw, 24px); }
.elementor-page-399 .gx-hero-main { flex: 1 1 68%; min-width: 0; min-height: clamp(430px, 49vw, 600px); position: relative; overflow: hidden; border-radius: 22px; background: #4b3148; }
.elementor-page-399 .gx-hero-main:after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(180deg, transparent 0%, rgb(22 19 25 / 78%) 100%); pointer-events: none; }
.elementor-page-399 .gx-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.elementor-page-399 .gx-hero-image .elementor-widget-container, .elementor-page-399 .gx-hero-image img { width: 100%; height: 100%; }
.elementor-page-399 .gx-hero-image img { display: block; object-fit: cover; }
.elementor-page-399 .gx-hero-copy { position: absolute; z-index: 2; left: 5%; bottom: 6%; width: min(82%, 700px); gap: 12px; }
.elementor-page-399 .gx-hero-copy h1 { color: #fff; font-size: clamp(2.5rem, 4.8vw, 4.1rem); line-height: 1.08; margin: 0; max-width: 14ch; text-shadow: 0 2px 16px rgb(0 0 0 / 24%); }
.elementor-page-399 .gx-hero-copy p:not(.gx-eyebrow) { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #fff; margin: 0; text-shadow: 0 1px 10px rgb(0 0 0 / 24%); }
.elementor-page-399 .gx-eyebrow { color: var(--gx-green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.elementor-page-399 .gx-hero-copy .gx-eyebrow { display: inline-block; width: fit-content; max-width: 100%; color: #fff; background: rgb(0 0 0 / 78%); border-radius: 999px; padding: 6px 10px; margin: 0; text-shadow: none; }
.elementor-page-399 .gx-admission-card { flex: 0 1 32%; align-self: stretch; min-width: 0; padding: 14px; border-radius: 22px; background: #f4f8f3; border: 1px solid #deeadf; gap: 12px; }
.elementor-page-399 .gx-admission-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.elementor-page-399 .gx-admission-card h2 { color: var(--gx-purple); font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.14; margin: 4px 0 0; }
.elementor-page-399 .gx-admission-card p { margin: 3px 0; }
.elementor-page-399 .gx-button .elementor-button { border-radius: 999px; font-weight: 750; padding: 14px 22px; transition: background-color .2s ease, color .2s ease; }
.elementor-page-399 .gx-button-primary .elementor-button { background: var(--gx-green-dark); color: #fff; }
.elementor-page-399 .gx-button-primary .elementor-button:hover { background: #0b5429; }
.elementor-page-399 .gx-button-secondary .elementor-button { background: var(--gx-purple); color: #fff; }
.elementor-page-399 .gx-button-light .elementor-button { background: #fff; color: var(--gx-purple); border: 1px solid var(--gx-line); }
.elementor-page-399 .gx-button-outline .elementor-button { background: transparent; color: var(--gx-green-dark); border: 1px solid var(--gx-green-dark); }
.elementor-page-399 .gx-text-link .elementor-button { min-height: 44px; padding: 12px 20px; border: 2px solid #892573 !important; border-radius: 999px; color: #892573 !important; background: #fff !important; }
.elementor-page-399 .gx-text-link .elementor-button:hover { color: #fff !important; background: #892573 !important; }
.elementor-page-399 .gx-text-link .elementor-button:focus-visible { outline: 3px solid #1bae49; outline-offset: 3px; }
.elementor-page-399 .gx-admission-card { align-items: flex-start; justify-content: flex-start; padding: 24px; border-radius: 18px; background: #f4f8f3; border: 1px solid #deeadf; gap: 12px; }
.elementor-page-399 .gx-admission-card h2 { color: var(--gx-purple); font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 4px; }
.elementor-page-399 .gx-admission-card p { margin: 3px 0; }
.elementor-page-399 .gx-info { padding-top: 0; }
.elementor-page-399 .gx-info-strip { align-items: center; justify-content: space-between; background: var(--gx-soft); border-radius: 16px; padding: 20px 28px; gap: 20px; }
.elementor-page-399 .gx-info-strip p { margin: 0; font-weight: 650; }
.elementor-page-399 .gx-info-strip .elementor-button { color: var(--gx-green-dark); background: transparent; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.elementor-page-399 h2 { color: var(--gx-purple); font-size: clamp(1.8rem,3.2vw,2.7rem); line-height: 1.16; margin: 0 0 16px; }
.elementor-page-399 h3 { color: var(--gx-purple); line-height: 1.25; margin: 0 0 8px; }
.elementor-page-399 .gx-why-genesis { padding-bottom: 54px; }
.elementor-page-399 .gx-content-grid { align-items: start; gap: clamp(28px,6vw,76px); }
.elementor-page-399 .gx-section-intro { flex: 1 1 55%; }
.elementor-page-399 .gx-features { flex: 1 1 40%; }
.elementor-page-399 .gx-feature-list ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; list-style: none; padding: 0; margin: 8px 0 0; }
.elementor-page-399 .gx-feature-list li { padding: 18px 18px 18px 48px; border: 1px solid var(--gx-line); border-radius: 14px; position: relative; font-weight: 700; background: #fff; }
.elementor-page-399 .gx-feature-list li:before { content: "✓"; position: absolute; left: 17px; top: 17px; color: var(--gx-green-dark); font-weight: 900; }
.elementor-page-399 .gx-mission { padding-top: 20px; }
.elementor-page-399 .gx-mission-card { background: var(--gx-purple); color: #fff; border-radius: 22px; padding: clamp(28px,5vw,52px); text-align: center; max-width: 920px; margin-inline: auto; }
.elementor-page-399 .gx-mission-card h2 { color: #fff; }
.elementor-page-399 .gx-mission-card p { font-size: clamp(1.1rem,1.8vw,1.35rem); max-width: 760px; margin: 0 auto; }
.elementor-page-399 .gx-about-copy { flex: 1 1 58%; }
.elementor-page-399 .gx-about-links { flex: 1 1 34%; background: var(--gx-soft); padding: 24px; border-radius: 18px; }
.elementor-page-399 .gx-link-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.elementor-page-399 .gx-link-list li { padding-bottom: 10px; border-bottom: 1px solid var(--gx-line); }
.elementor-page-399 .gx-landing a, .elementor-page-399 .gx-section a:not(.elementor-button) { color: var(--gx-green-dark); font-weight: 700; text-underline-offset: 3px; }
.elementor-page-399 .gx-landing a:focus-visible, .elementor-page-399 .gx-section a:focus-visible { outline: 3px solid #892573; outline-offset: 3px; }
.elementor-page-399 .gx-facts { flex: 1 1 58%; }
.elementor-page-399 .gx-quicklinks { flex: 1 1 34%; background: var(--gx-soft); padding: 24px; border-radius: 18px; }
.elementor-page-399 .gx-facts-list dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.elementor-page-399 .gx-facts-list dl>div { padding: 16px; background: #fff; border: 1px solid var(--gx-line); border-radius: 12px; }
.elementor-page-399 .gx-facts-list dt { color: var(--gx-muted); font-size: .82rem; font-weight: 700; }
.elementor-page-399 .gx-facts-list dd { margin: 4px 0 0; font-weight: 750; }
.elementor-page-399 .gx-campus-grid { gap: 20px; }
.elementor-page-399 .gx-campus-card { flex: 1 1 48%; min-width: 0; padding: 26px; border: 1px solid var(--gx-line); border-radius: 18px; box-shadow: 0 8px 30px rgb(38 36 42 / 5%); }
.elementor-page-399 .gx-campus-card h3 { font-size: 1.3rem; }
.elementor-page-399 .gx-campus-actions { flex-wrap: wrap; gap: 10px; }
.elementor-page-399 .gx-campus-actions .elementor-widget-button { width: auto; }
.elementor-page-399 .gx-learning-activities { background: #fbfafb; width: 100%; padding-inline: max(24px, calc((100vw - 1160px)/2)); }
.elementor-page-399 .gx-learning-activities>.e-con-inner { width: 100%; max-width: 1160px; margin-inline: auto; }
.elementor-page-399 .gx-gallery-grid { flex-wrap: wrap; gap: 16px; }
.elementor-page-399 .gx-photo-card { flex: 1 1 calc(25% - 16px); min-width: 180px; }
.elementor-page-399 .gx-photo-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.elementor-page-399 .gx-photo-card p { color: var(--gx-muted); font-size: .9rem; margin: 8px 0 0; }
.elementor-page-399 .gx-school-moments { padding-top: 24px; }
.elementor-page-399 .gx-enquiry { padding-top: 24px; }
.elementor-page-399 .gx-enquiry-card { align-items: center; text-align: center; padding: clamp(30px,5vw,54px); border-radius: 22px; background: #f4f8f3; }
.elementor-page-399 .gx-enquiry-card p { max-width: 620px; margin: 0 auto; }
.elementor-page-399 .gx-enquiry-card .elementor-widget-button { display: inline-block; margin: 10px 6px 0; }
@media (max-width: 767px) {
  .elementor-page-399 .gx-landing { width: 100%; max-width: 100%; padding-left: 0 !important; padding-right: 0 !important; }
  .elementor-page-399 .gx-landing .e-con { padding-left: 0 !important; padding-right: 0 !important; }
  .elementor-page-399 .gx-section { width: 100%; padding: 38px 0; }
  .elementor-page-399 .gx-hero-copy { padding: 20px !important; }
  .elementor-page-399 .gx-admission-card { padding: 14px !important; }
  .elementor-page-399 .gx-info-strip { padding: 16px !important; }
  .elementor-page-399 .gx-mission-card { padding: 28px 20px !important; }
  .elementor-page-399 .gx-about-links, .elementor-page-399 .gx-quicklinks { padding: 20px !important; }
  .elementor-page-399 .gx-campus-card { padding: 20px !important; }
  .elementor-page-399 .gx-enquiry-card { padding: 30px 20px !important; }
  .elementor-page-399 .gx-hero-grid, .elementor-page-399 .gx-content-grid { flex-direction: column; }
  .elementor-page-399 .gx-hero-main { min-height: 0; aspect-ratio: auto; overflow: hidden; background: var(--gx-purple); }
  .elementor-page-399 .gx-hero-main:after { display: none; }
  .elementor-page-399 .gx-hero-image { position: relative; height: auto; inset: auto; }
  .elementor-page-399 .gx-hero-image .elementor-widget-container { height: auto; }
  .elementor-page-399 .gx-hero-image img { height: auto; aspect-ratio: 16 / 9; }
  .elementor-page-399 .gx-hero-copy { position: relative; z-index: 1; left: auto; bottom: auto; width: 100%; padding: 20px; gap: 8px; }
  .elementor-page-399 .gx-hero-copy h1 { max-width: 14ch; font-size: clamp(1.75rem,8vw,2.8rem); }
  .elementor-page-399 .gx-hero-copy p:not(.gx-eyebrow) { font-size: 1rem; }
  .elementor-page-399 .gx-hero-copy .gx-eyebrow { font-size: .65rem; }
  .elementor-page-399 .gx-admission-card { flex-basis: auto; }
  .elementor-page-399 .gx-info-strip { align-items: flex-start; flex-direction: column; }
  .elementor-page-399 .gx-feature-list ul, .elementor-page-399 .gx-facts-list dl { grid-template-columns: 1fr; }
  .elementor-page-399 .gx-campus-grid { flex-direction: column; }
  .elementor-page-399 .gx-campus-actions { flex-direction: column; align-items: stretch; }
  .elementor-page-399 .gx-campus-actions .elementor-widget-button { width: 100%; }
  .elementor-page-399 .gx-campus-actions .elementor-button { width: 100%; text-align: center; }
  .elementor-page-399 .gx-photo-card { flex: 1 1 calc(50% - 10px); min-width: 0; }
}
@media (max-width: 359px) {
  .elementor-page-399 .gx-section { width: 100%; }
  .elementor-page-399 .gx-section h2 { font-size: 1.5rem; overflow-wrap: normal; word-break: normal; }
  .elementor-page-399 .gx-photo-card { flex-basis: 100%; }
}
