
/* AKKITA Site Core v07 */

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

#page-container,
#et-main-area,
#main-content,
.akkita-starter-wrap,
.akkita-v04 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Header spacing */
#main-header,
#main-header.et-fixed-header {
  background: #0E1828 !important;
  background-color: #0E1828 !important;
  box-shadow: none !important;
  border-bottom: 10px solid #0E1828 !important;
}

#main-header .container,
#main-header.et-fixed-header .container {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  min-height: 86px !important;
  display: flex !important;
  align-items: center !important;
}

#main-header .logo_container {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  padding-top: 8px !important;
  padding-bottom: 10px !important;
  flex: 0 0 auto !important;
}

#main-header #logo {
  max-height: 64px !important;
  width: auto !important;
  margin-bottom: 0 !important;
}

#et-top-navigation {
  margin-left: auto !important;
  padding-top: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Hero alignment */
.akkita-hero-v02 {
  min-height: calc(100vh - 104px) !important;
  padding-top: 18px !important;
  padding-bottom: 34px !important;
  align-items: center !important;
}

.akkita-hero-v02 .akkita-container {
  width: min(1180px, calc(100% - 80px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.akkita-hero-v02 .akkita-hero-copy {
  max-width: 620px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* Section rhythm */
.akkita-section,
.ak-section {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

.akkita-hero-v02 + .akkita-section,
.akkita-hero-v02 + .ak-section {
  padding-top: 50px !important;
}

.akkita-stats,
.akkita-section-dark {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

.akkita-stats + .akkita-section,
.akkita-stats + .ak-section,
.akkita-section-dark + .ak-section {
  padding-top: 52px !important;
}

.ak-title,
.akkita-title,
.akkita-section-title {
  margin-bottom: 26px !important;
}

/* Footer bottom cleanup */
.akkita-footer-block {
  padding-top: 54px !important;
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}

#main-footer,
#footer-bottom {
  min-height: 0 !important;
  margin-top: 0 !important;
}

/* If browser supports has(), hide default Divi footer when custom AKKITA footer exists */
body:has(.akkita-footer-block) #main-footer {
  display: none !important;
}

/* Page/sidebar cleanup */
body.page .entry-title,
body.page h1.entry-title,
body.page .main_title,
body.page .et_post_meta_wrapper {
  display: none !important;
}

body.page #sidebar,
body.error404 #sidebar {
  display: none !important;
}

body.page #main-content .container:before,
body.error404 #main-content .container:before {
  display: none !important;
}

body.page #left-area,
body.error404 #left-area {
  width: 100% !important;
  padding: 0 !important;
}

body.page #main-content .container,
body.error404 #main-content .container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 980px) {
  #main-header .container,
  #main-header.et-fixed-header .container {
    width: calc(100% - 32px) !important;
    min-height: 76px !important;
  }

  #main-header #logo {
    max-height: 52px !important;
  }

  .akkita-hero-v02 .akkita-container {
    width: calc(100% - 42px) !important;
  }

  .akkita-section,
  .ak-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
}
