/* Inner public pages that sit inside the EduEx chrome */
.dembo-page {
  color: #27282C;
  padding: 48px 0 80px;
}
.dembo-page .kicker {
  color: #5F8F12;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dembo-page .lead { font-size: 18px; color: #6b7280; max-width: 58ch; }
.dembo-page .card, .dembo-page .panel {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(7, 17, 31, .05);
}
.dembo-page .pad { padding: 20px; }
.dembo-page .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dembo-page .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dembo-page .form-shell { width: min(760px, calc(100% - 32px)); margin: 40px auto 80px; padding: 32px; }
.dembo-page .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dembo-page .field { display: flex; flex-direction: column; gap: 7px; }
.dembo-page .full { grid-column: 1 / -1; }
.dembo-page label { font-weight: 600; font-size: 13px; }
.dembo-page input, .dembo-page select, .dembo-page textarea {
  width: 100%; border: 1px solid rgba(17, 24, 39, 0.09); border-radius: 8px; padding: 9px 11px; font: inherit; background: #fff;
}
.dembo-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; background: #5F8F12; color: #fff;
}
.dembo-page .btn.gold, .dembo-page .btn.teal { background: #5F8F12; color: #fff; }
.dembo-page .btn.ghost { background: transparent; color: #111827; border: 1px solid rgba(17, 24, 39, 0.09); }
.dembo-page .flash { padding: 12px 14px; border-radius: 12px; background: #e5f7f2; color: #0b5c53; }
.dembo-page .flash.bad { background: #fde8e4; color: #9b2c1a; }
.dembo-page .error { color: #b42318; font-size: 13px; }
.dembo-page .hero, .dembo-page .page-hero { padding: 24px 0 12px; }
.dembo-page-banner {
  position: relative;
  isolation: isolate;
  margin: -48px 0 36px;
  min-height: 280px;
  padding: 72px 0 80px;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.dembo-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,50,43,.78) 0%, rgba(0,79,68,.42) 50%, rgba(0,79,68,.12) 100%);
}
.dembo-page-banner .kicker {
  color: #ffc533;
}
.dembo-page-banner h1 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: -.04em;
  margin: 10px 0 12px;
  max-width: 16ch;
}
.dembo-page-banner p {
  color: rgba(255,255,255,.86);
  font-size: 18px;
  max-width: 52ch;
  margin: 0;
}
.dembo-visual-card {
  overflow: hidden;
  border-radius: 18px;
  min-height: 240px;
}
.dembo-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.news-card-photo {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: -20px -20px 16px;
  width: calc(100% + 40px);
  max-width: none;
}
.dembo-page .section { padding: 40px 0; }
.dembo-page .section.alt { background: #fff; }
.dembo-page .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
@media (max-width: 900px) {
  .dembo-page .grid-2, .dembo-page .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 1199px) {
  .main-menu.is-open { display: block !important; }
  .header-1 .mean__menu-wrapper .main-menu.is-open nav ul {
    display: block;
    background: #fff;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
}

/* Green contact bar */
.header-top-section .container-fluid {
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.header-top-section .header-top-wrapper ul li,
.header-top-section .header-top-wrapper ul li a {
  color: #fff !important;
}
.header-top-section .header-top-wrapper ul li:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.28);
}
.header-top-section .header-top-wrapper .social-icon a {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.header-top-section .header-top-wrapper .social-icon a:hover {
  background-color: #E8C42D;
  border-color: #E8C42D;
  color: #5F8F12;
}
.header-top-section select {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}
.header-top-section select option {
  color: #5F8F12;
}
@media (max-width: 1199px) {
  .header-top-section { display: block !important; }
  .header-top-section .header-top-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Dark green footer */
.mhq-footer-section.footer-bg-2,
.mhq-footer-bottom.footer-bg-2 {
  background-color: #5F8F12 !important;
}
.mhq-footer-wrapper.style-2 .mhq-footer-widget-items .list-items li a,
.mhq-footer-wrapper.style-2 .mhq-footer-widget-items .mhq-widget-head h3,
.mhq-footer-wrapper.style-2 .mhq-footer-widget-items .mhq-footer-content p,
.mhq-footer-section .contact-info li,
.mhq-footer-section .contact-info li a,
.mhq-footer-bottom .text-color-2 {
  color: #fff !important;
}
.mhq-footer-section .list-items li a:hover {
  color: #E8C42D !important;
}

.mhq-hero-section .hero-shape-1,
.mhq-hero-section .hero-shape-2,
.mhq-hero-section .hero-shape-3,
.mhq-hero-section .hero-shape-4,
.mhq-hero-section .hero-shape-5,
.mhq-cta-shape-1,
.mhq-cta-shape-2,
.mhq-cta-shape-3,
.category-shape-1 {
  display: none !important;
}
.mhq-hero-1 {
  background-size: cover !important;
  background-position: center 28% !important;
  position: relative;
}
.mhq-hero-1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,251,249,.94) 0%, rgba(247,251,249,.4) 42%, rgba(247,251,249,0) 68%);
  pointer-events: none;
}
.mhq-hero-1 .mhq-right-items .mhq-hero-image,
.mhq-hero-1 .mhq-right-items .mhq-hero-imag-2 {
  max-width: none !important;
  margin-top: 0 !important;
}
.mhq-hero-1 .mhq-right-items .mhq-hero-image img,
.mhq-hero-1 .mhq-right-items .mhq-hero-imag-2 img {
  height: 430px;
  box-shadow: 0 28px 60px rgba(0, 79, 68, .18);
}
.mhq-hero-1 .client-counter-box .image {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
}
.mhq-hero-1 .client-counter-box .image img {
  width: 92px !important;
  height: 92px !important;
  object-fit: cover;
}
.mhq-hero-content, .mhq-right-items, .mhq-hero-section .container {
  position: relative;
  z-index: 2;
}
.mhq-hero-content,
.mhq-courses-box-items,
.header-1,
.theme-btn {
  position: relative;
  z-index: 2;
}
.mhq-top-category-section,
.mhq-team-section {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.mhq-top-category-section::before,
.mhq-team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 79, 68, .78);
  pointer-events: none;
}
.mhq-top-category-section .container,
.mhq-team-section .container {
  position: relative;
  z-index: 2;
}
.mhq-discount-section,
.mhq-cta-new-wrapper {
  background-size: cover !important;
  background-position: center !important;
}
.mhq-hero-image img,
.mhq-hero-imag-2 img,
.mhq-about-image > img,
.mhq-about-image-2 img,
.mhq-about-image-3 img,
.mhq-courses-image img,
.mhq-choose-image > img,
.mhq-choose-image-2 img,
.mhq-choose-image-3 img,
.mhq-team-box-items img,
.mhq-news-box-items .mhq-image img,
.client-image img,
.mhq-author-image img,
.client-info .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #e7f3ee;
}
.mhq-courses-image {
  overflow: hidden;
  border-radius: 16px;
}
.mhq-courses-image img { min-height: 210px; }
.dembo-page .records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 12px 0 40px;
}
.dembo-page .record-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.dembo-page .record-card span { display: block; color: #6b7280; font-size: 13px; }
