/* Account actions belong outside Elementor's collapsed navigation.
 * Only the mobile container receiving our row is affected; desktop is untouched. */
.ocnc-mobile-auth-host > .e-con-inner,
.ocnc-mobile-auth-host.e-con-full {
  flex-wrap: wrap !important;
}
.ocnc-mobile-auth {
  display: flex;
  flex-direction: row;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 2px;
}
.ocnc-mobile-auth[hidden] { display: none !important; }
.ocnc-mobile-auth a {
  display: inline-flex;
  flex: 0 0 calc(50% - 4px);
  width: calc(50% - 4px);
  min-width: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #001233;
  border-radius: 5px;
  background: #f8f9fb;
  color: #001233;
  font: 500 13px/1.3 var(--e-global-typography-text-font-family, sans-serif);
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}
.ocnc-mobile-auth a[data-ocn-dashboard] {
  flex-basis: 100%;
  width: 100%;
}
.ocnc-mobile-auth a[data-ocn-mobile-kind="register"],
.ocnc-mobile-auth a[data-ocn-dashboard] {
  background: var(--e-global-color-accent, #b89b64);
}
.ocnc-mobile-auth a:hover { background: #e0e4eb; color: #001233; }
.ocnc-mobile-auth a:focus-visible { outline: 2px solid #001233; outline-offset: 3px; }

/* Keep the hero's existing Elementor button styling; only arrange the pair. */
.ocnc-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.ocnc-hero-actions > a {
  max-width: 100%;
  box-sizing: border-box;
}
/* Explicit shortcode only: never restyle Elementor buttons or page layout. */
[data-ocn-hero-buttons] {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  max-width: 100%;
}
[data-ocn-hero-buttons] > .ocnc-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid #b89b64;
  border-radius: 5px;
  background: #b89b64;
  color: #001233;
  font: 600 16px/1.35 var(--e-global-typography-text-font-family, sans-serif);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
[data-ocn-hero-buttons] > .ocnc-hero-button-secondary {
  background: #001233;
  color: #f8f9fb;
}
[data-ocn-hero-buttons] > .ocnc-hero-button:hover {
  background: #d0b681;
  color: #001233;
}
[data-ocn-hero-buttons] > .ocnc-hero-button:focus-visible {
  outline: 3px solid #b89b64;
  outline-offset: 4px;
}
[data-ocn-hero-buttons] > [hidden] { display: none !important; }
@media (max-width: 480px) {
  .ocnc-hero-actions { width: 100%; }
  .ocnc-hero-actions > a { flex: 1 1 160px; text-align: center; }
  [data-ocn-hero-buttons] > .ocnc-hero-button { flex: 1 1 100%; width: 100%; }
}
