/* BigOffGrid Header Pro */
.bog-header-pro,
.bog-header-pro * {
  box-sizing: border-box;
}

.bog-header-pro {
  width: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  z-index: 9990;
  position: relative;
}

.bog-header-pro.is-sticky {
  position: sticky;
  top: 0;
}

body.admin-bar .bog-header-pro.is-sticky {
  top: 32px;
}

.bog-container {
  width: min(var(--bog-container, 1180px), calc(100% - 32px));
  margin: 0 auto;
}

.bog-topbar {
  background: var(--bog-primary, #071f3d);
  color: #e7f6ff;
  font-size: 13px;
  letter-spacing: .01em;
}

.bog-topbar-inner {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 22px;
}

.bog-dot {
  width: 10px;
  height: 10px;
  background: var(--bog-accent, #12b7e8);
  border-radius: 999px;
  display: inline-block;
  margin-right: 9px;
  box-shadow: 0 0 0 5px rgba(18, 183, 232, .14);
}

.bog-topbar-left,
.bog-topbar-company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bog-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bog-topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.bog-brand-row {
  background: #f9fdff;
  border-bottom: 1px solid rgba(7, 31, 61, .08);
}

.bog-brand-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.bog-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--bog-primary, #071f3d);
  text-decoration: none;
  min-width: 260px;
}

.bog-logo-desktop,
.bog-logo-mobile {
  max-height: 62px;
  width: auto;
  display: block;
}

.bog-logo-mobile {
  display: none;
}

.bog-logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: radial-gradient(circle at 30% 30%, #1fc6f5, #084b72 56%, #052743);
  color: #fff;
  border: 4px solid rgba(18,183,232,.25);
}

.bog-wordmark {
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -.04em;
}

.bog-brand-pill {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(7, 31, 61, .14);
  background: #f2f8fc;
  border-radius: 999px;
  color: #557089;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bog-brand-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bog-language {
  border: 1px solid rgba(7,31,61,.18);
  background: #fff;
  color: var(--bog-primary, #071f3d);
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.bog-cta,
.bog-nav-cta,
.bog-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bog-accent, #12b7e8), #0999c7);
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 12px 34px rgba(18,183,232,.25);
  white-space: nowrap;
}

.bog-nav-row {
  background: var(--bog-primary, #071f3d);
  box-shadow: 0 18px 46px rgba(7, 31, 61, .16);
}

.bog-nav-inner {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 18px;
}

.bog-main-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.bog-menu-item {
  position: relative;
}

.bog-menu-item > a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-left: 1px solid rgba(255,255,255,.06);
}

.bog-menu-item > a:hover {
  background: rgba(255,255,255,.08);
}

.bog-chevron {
  margin-left: 7px;
  color: var(--bog-accent, #12b7e8);
}

.bog-mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: min(620px, 92vw);
  background: #ffffff;
  color: var(--bog-primary, #071f3d);
  border: 1px solid rgba(7,31,61,.10);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 30px 60px rgba(7,31,61,.20);
  padding: 22px;
  display: none;
}

.bog-menu-item:hover .bog-mega-panel,
.bog-menu-item:focus-within .bog-mega-panel {
  display: block;
}

.bog-mega-title {
  font-weight: 950;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.bog-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.bog-mega-grid a {
  color: #23435d;
  text-decoration: none;
  font-weight: 750;
  background: #f4f8fb;
  border: 1px solid rgba(7,31,61,.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.bog-mega-grid a:hover {
  color: var(--bog-primary, #071f3d);
  border-color: rgba(18,183,232,.45);
  background: #ecfaff;
}

.bog-nav-cta {
  padding: 10px 17px;
  font-size: 13px;
}

.bog-search-row {
  background: #eef8fc;
  border-bottom: 1px solid rgba(7,31,61,.08);
  padding: 12px 0;
}

.bog-property-search {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr auto;
  gap: 10px;
}

.bog-property-search input,
.bog-property-search select {
  border: 1px solid rgba(7,31,61,.14);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: var(--bog-primary, #071f3d);
  font-weight: 700;
}

.bog-property-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--bog-primary, #071f3d);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.bog-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(7,31,61,.16);
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.bog-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bog-primary, #071f3d);
  margin: 5px 0;
}

.bog-mobile-panel,
.bog-mobile-backdrop {
  display: none;
}

@media (max-width: 1160px) {
  .bog-topbar-inner {
    grid-template-columns: 1fr auto;
  }
  .bog-topbar-company {
    display: none;
  }
  .bog-menu-item > a {
    padding: 0 11px;
    font-size: 13px;
  }
  .bog-nav-cta {
    display: none;
  }
}

@media (max-width: 920px) {
  body.admin-bar .bog-header-pro.is-sticky {
    top: 46px;
  }

  .bog-topbar-links,
  .bog-nav-row {
    display: none;
  }

  .bog-topbar-inner {
    min-height: 32px;
    display: flex;
  }

  .bog-brand-inner {
    min-height: 78px;
    gap: 14px;
  }

  .bog-brand {
    min-width: 0;
    flex: 1;
  }

  .bog-logo-desktop {
    display: none;
  }

  .bog-logo-mobile {
    display: block;
    max-height: 54px;
  }

  .bog-brand-pill,
  .bog-language,
  .bog-cta {
    display: none;
  }

  .bog-mobile-toggle {
    display: inline-block;
  }

  .bog-property-search {
    grid-template-columns: 1fr;
  }

  .bog-mobile-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 13, 27, .58);
    z-index: 9997;
  }

  .bog-mobile-panel {
    display: block;
    position: fixed;
    top: 0;
    right: -390px;
    width: min(390px, 92vw);
    height: 100vh;
    background: #061d36;
    color: #fff;
    z-index: 9998;
    transition: right .22s ease;
    box-shadow: -24px 0 50px rgba(0,0,0,.28);
  }

  .bog-mobile-panel.is-open {
    right: 0;
  }

  .bog-mobile-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .bog-mobile-panel-head strong {
    font-size: 22px;
    letter-spacing: -.03em;
  }

  .bog-mobile-panel-head button {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    width: 38px;
    height: 38px;
    font-size: 28px;
    cursor: pointer;
  }

  .bog-mobile-scroll {
    height: calc(100vh - 75px);
    overflow: auto;
    padding: 18px;
  }

  .bog-mobile-cta {
    display: flex;
    margin-bottom: 16px;
  }

  .bog-mobile-section {
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 5px 0;
  }

  .bog-mobile-section summary {
    cursor: pointer;
    font-weight: 900;
    padding: 13px 0;
  }

  .bog-mobile-section a {
    display: block;
    padding: 9px 0 9px 14px;
    color: #cde5f2;
    text-decoration: none;
    font-weight: 700;
  }
}


/* v1.0.1 layout refinements based on live BigOffGrid screenshot */
.bog-brand-actions .bog-cta {
  display: none !important;
}

.bog-main-menu {
  min-width: 0;
}

.bog-menu-item > a {
  white-space: nowrap;
  padding-left: 14px;
  padding-right: 14px;
}

.bog-nav-inner {
  overflow: visible;
}

.bog-main-menu .bog-menu-item:last-child .bog-mega-panel,
.bog-main-menu .bog-menu-item:nth-last-child(2) .bog-mega-panel {
  left: auto;
  right: 0;
}

.bog-nav-cta {
  margin-left: auto;
  flex: 0 0 auto;
}

.bog-brand {
  min-width: 230px;
}

.bog-logo-desktop {
  max-height: 66px;
}

.bog-search-row {
  padding: 14px 0;
}

.bog-property-search input,
.bog-property-search select {
  min-height: 58px;
}

.bog-property-search button {
  min-height: 58px;
  min-width: 110px;
}

@media (max-width: 1280px) {
  .bog-container {
    width: min(1220px, calc(100% - 28px));
  }
  .bog-menu-item > a {
    padding-left: 11px;
    padding-right: 11px;
    font-size: 13px;
  }
}

@media (max-width: 1040px) {
  .bog-nav-cta {
    display: none;
  }
}


/* v1.0.2 Bigmedia24-style visual refinements */
.bog-header-pro {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
}

.bog-container {
  width: min(1240px, calc(100% - 40px));
}

.bog-topbar {
  min-height: 35px;
}

.bog-topbar-inner {
  min-height: 35px;
}

.bog-brand-row {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.bog-brand-inner {
  min-height: 96px;
  gap: 34px;
}

.bog-brand {
  min-width: 310px;
}

.bog-logo-desktop {
  max-height: 70px;
}

.bog-brand-pill {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-color: rgba(7,31,61,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.bog-brand-actions {
  min-width: 80px;
  justify-content: flex-end;
}

.bog-nav-row {
  min-height: 58px;
}

.bog-nav-inner {
  min-height: 58px;
  border-left: 1px solid rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.05);
}

.bog-main-menu {
  flex: 1 1 auto;
}

.bog-menu-item > a {
  min-height: 58px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
  letter-spacing: .005em;
}

.bog-nav-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  min-height: 58px;
  padding: 0 18px;
  font-weight: 900;
}

.bog-nav-cta {
  margin-left: 18px;
  margin-right: 0;
  padding: 13px 22px;
}

.bog-language {
  display: none !important;
}

.bog-search-row {
  display: none !important;
}

@media (max-width: 1280px) {
  .bog-container {
    width: min(1180px, calc(100% - 32px));
  }
  .bog-brand {
    min-width: 260px;
  }
  .bog-menu-item > a {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .bog-menu-item > a {
    padding-left: 11px;
    padding-right: 11px;
  }
  .bog-nav-language,
  .bog-nav-cta {
    display: none;
  }
}

@media (max-width: 920px) {
  .bog-header-pro {
    margin-left: calc(50% - 50vw);
  }
  .bog-brand-inner {
    min-height: 78px;
  }
  .bog-brand {
    min-width: 0;
  }
}


/* v1.0.3 BigOffGrid nature / pastel green design system */
.bog-header-pro {
  background: #f7fcf6;
}

.bog-topbar {
  background: linear-gradient(90deg, #173826 0%, #214B35 52%, #2E6748 100%) !important;
  color: #eef8ef;
}

.bog-dot {
  background: #BFE8C5 !important;
  box-shadow: 0 0 0 5px rgba(191, 232, 197, .20) !important;
}

.bog-brand-row {
  background: linear-gradient(180deg, #fbfffb 0%, #eff8ef 100%) !important;
  border-bottom-color: rgba(33, 75, 53, .13) !important;
}

.bog-brand-pill {
  background: #f1faf1 !important;
  border-color: rgba(33, 75, 53, .18) !important;
  color: #426B4D !important;
}

.bog-nav-row {
  background: linear-gradient(90deg, #183A28 0%, #214B35 58%, #2B6043 100%) !important;
  box-shadow: 0 18px 46px rgba(33, 75, 53, .18) !important;
}

.bog-menu-item > a {
  color: #fbfffb !important;
  border-left-color: rgba(255,255,255,.08) !important;
}

.bog-menu-item > a:hover {
  background: rgba(191,232,197,.13) !important;
}

.bog-chevron {
  color: #BFE8C5 !important;
}

.bog-nav-language {
  color: #fbfffb !important;
  border-left-color: rgba(255,255,255,.10) !important;
  border-right-color: rgba(255,255,255,.10) !important;
}

.bog-cta,
.bog-nav-cta,
.bog-mobile-cta {
  background: linear-gradient(135deg, #A9DFB0 0%, #77C487 100%) !important;
  color: #143322 !important;
  box-shadow: 0 12px 34px rgba(119,196,135,.28) !important;
}

.bog-mega-panel {
  border-color: rgba(33,75,53,.14) !important;
}

.bog-mega-title {
  color: #214B35 !important;
}

.bog-mega-grid a {
  background: #f2faf2 !important;
  border-color: rgba(33,75,53,.08) !important;
  color: #315C40 !important;
}

.bog-mega-grid a:hover {
  border-color: rgba(119,196,135,.55) !important;
  background: #e8f7e9 !important;
  color: #183A28 !important;
}

.bog-mobile-panel {
  background: linear-gradient(180deg, #173826 0%, #214B35 100%) !important;
}

.bog-mobile-panel-head button {
  background: rgba(191,232,197,.10) !important;
  border-color: rgba(191,232,197,.22) !important;
}

.bog-mobile-section a {
  color: #d9f1dc !important;
}
