
/* AKKITA Starter Polish v05 */

/* Prevent horizontal scrollbars */
html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

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

/* Keep Divi header dark and give it breathing room */
#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 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Remove default page title/meta if still visible */
body.page .entry-title,
body.page h1.entry-title,
body.page .main_title,
body.page .et_post_meta_wrapper {
  display: none !important;
}

/* Full-width content without sidebar */
body.page #main-content .container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

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

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

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

/* Hero must be edge-to-edge, no white gutters */
body.page .akkita-starter-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Hero text position: left aligned, not centered */
.akkita-hero-v02 {
  justify-content: flex-start !important;
}

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

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

/* Better hero spacing below fixed header */
.akkita-hero-v02 {
  min-height: calc(100vh - 110px) !important;
  padding-top: 38px !important;
}

/* If any duplicate v04 section appears after footer, keep layout sane */
.akkita-footer-block + .ak-section {
  margin-top: 0 !important;
}

/* Menu dropdown polish after scroll */
#main-header.et-fixed-header #top-menu li a,
#main-header.et-fixed-header .et_search_icon:before {
  color: #ffffff !important;
}

#main-header.et-fixed-header #top-menu li.current-menu-item > a,
#main-header.et-fixed-header #top-menu li a:hover {
  color: #269AAB !important;
}
