/* ===================================================================================

* Theme Name: Eduka Child
* Theme URI: https://wp.themewild.com/eduka/
* Author: ThemesLand
* Author URI: https://www.templatemonster.com/authors/themesland/
* Description: School, College, University And Courses WordPress Theme  
* Version: 1.0.4
* Template: eduka
* Text Domain: eduka-child
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

====================================================================================== */

/* REACH mobile layout repair — 2026-09-14 */
@media (max-width: 767px) {
  /* About: keep the portrait above the founder record */
  .page-id-29 .elementor-element-3b64f16 > .e-2b521d5-5c8a6c2 {
    margin-top: 0 !important;
  }

  /* Compact mobile navigation; keep all Programs choices accessible */
  .navbar-collapse .navbar-nav > .nav-item > .nav-link {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    line-height: 1.25 !important;
  }
  .navbar-collapse .dropdown-menu .dropdown-item {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    line-height: 1.25 !important;
    font-size: 15px !important;
    white-space: normal !important;
  }
  .navbar-collapse {
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
  }

  /* Programs Overview: one full-width track per row */
  .page-id-1964 .elementor-element-96ec610 {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .page-id-1964 .elementor-element-96ec610 > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  /* Foundations hero: stack text and image */
  .page-id-1968 .elementor-element-b104f4f {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .page-id-1968 .elementor-element-b104f4f > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .page-id-1968 .elementor-element-54187a2 .site-title {
    font-size: 42px !important;
    line-height: 1.08 !important;
  }

  /* Foundations process cards: remove compressed fixed heights */
  .page-id-1968 .elementor-element-365c03e,
  .page-id-1968 .elementor-element-106d2b5 {
    height: auto !important;
    min-height: 0 !important;
    gap: 18px !important;
  }
  .page-id-1968 .elementor-element-0973367,
  .page-id-1968 .elementor-element-8aef137,
  .page-id-1968 .elementor-element-0bca266,
  .page-id-1968 .elementor-element-d20509a {
    height: auto !important;
    min-height: 0 !important;
    padding: 24px !important;
    overflow: visible !important;
  }
  .page-id-1968 .elementor-element-0973367 > .elementor-widget,
  .page-id-1968 .elementor-element-8aef137 > .elementor-widget,
  .page-id-1968 .elementor-element-0bca266 > .elementor-widget,
  .page-id-1968 .elementor-element-d20509a > .elementor-widget {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Foundations four-step and takeaway grids: one readable card per row */
  .page-id-1968 .elementor-element-0517037,
  .page-id-1968 .elementor-element-f692962 {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .page-id-1968 .elementor-element-0517037 > .e-con,
  .page-id-1968 .elementor-element-f692962 > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 767px) {
  /* Home: place the REACH expansion below the fixed mobile header */
  body.page-id-1824 .elementor.elementor-1824 .elementor-element.elementor-element-0f79282 {
    padding-top: 80px !important;
  }

  /* Foundations — What Students Build */
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-c4b3c0b,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-365c03e,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-106d2b5 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-365c03e,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-106d2b5 {
    gap: 18px !important;
    padding: 9px 18px !important;
  }
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-0973367,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-8aef137,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-0bca266,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-d20509a {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px !important;
    overflow: visible !important;
  }
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-0973367 > .elementor-widget,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-8aef137 > .elementor-widget,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-0bca266 > .elementor-widget,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-d20509a > .elementor-widget {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 767px) {
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-365c03e,
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-106d2b5 {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
  }
}


/* Mobile final alignment fixes — 2026-09-14 */
@media (max-width: 767px) {
  body.page-id-1968 .elementor.elementor-1968 .elementor-element.elementor-element-c4b3c0b {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.page-id-91 .elementor.elementor-91 .elementor-element.elementor-element-7a74606 {
    padding-top: 80px !important;
  }

  body.page-id-91 .reach-contact-info .row {
    flex-direction: column !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.page-id-91 .reach-contact-info .col-md-3 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.page-id-91 .reach-contact-info .contact-info,
  body.page-id-91 .reach-contact-info .contact-info-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.page-id-91 .reach-contact-info .el-rep-des {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.page-id-1824 .hero-single {
    padding-top: 60px !important;
    padding-bottom: 90px !important;
    min-height: 0 !important;
  }
}


/* Programs desktop final alignment — 2026-09-14 */
body.page-id-1964 .elementor-element-3a7c125 .el-content::before {
  content: "P";
}
@media (min-width: 768px) {
  body.page-id-1964 .elementor-element-96ec610 {
    align-items: stretch !important;
  }
  body.page-id-1964 .elementor-element-0cc2ff6,
  body.page-id-1964 .elementor-element-03fbcc5,
  body.page-id-1964 .elementor-element-9e70a3d {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.page-id-1964 .elementor-element-0cc2ff6 > .elementor-widget-tw-heading,
  body.page-id-1964 .elementor-element-03fbcc5 > .elementor-widget-tw-heading,
  body.page-id-1964 .elementor-element-9e70a3d > .elementor-widget-tw-heading {
    flex: 1 1 auto !important;
  }
}


/* Programs desktop final alignment — 2026-09-14 */
body.page-id-1964 .elementor-element-3a7c125 .el-content::before {
  content: "P";
}
@media (min-width: 768px) {
  body.page-id-1964 .elementor-element-96ec610 {
    align-items: stretch !important;
  }
  body.page-id-1964 .elementor-element-0cc2ff6,
  body.page-id-1964 .elementor-element-03fbcc5,
  body.page-id-1964 .elementor-element-9e70a3d {
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.page-id-1964 .elementor-element-0cc2ff6 > .elementor-widget-tw-heading,
  body.page-id-1964 .elementor-element-03fbcc5 > .elementor-widget-tw-heading,
  body.page-id-1964 .elementor-element-9e70a3d > .elementor-widget-tw-heading {
    flex: 1 1 auto !important;
  }
}
